]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
NaCl: Fix libc.abilist missing GLIBC_2.24 A.
[thirdparty/glibc.git] / ChangeLog
1 2016-09-02 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.24 A.
4
5 * sysdeps/nacl/dup.c: Add libc_hidden_def.
6
7 2016-09-02 Roland McGrath <roland@hack.frob.com>
8
9 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
10 not any more.
11
12 2016-09-02 Roland McGrath <roland@hack.frob.com>
13
14 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
15
16 2016-08-17 Florian Weimer <fweimer@redhat.com>
17
18 Reduce time to expected nptl/tst-once5 failure.
19 * nptl/tst-once5.cc (TIMEOUT): Define.
20
21 2016-08-18 Florian Weimer <fweimer@redhat.com>
22
23 [BZ #16907]
24 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
25 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
26 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
27 (__attribute__): Remove definition.
28
29 2016-08-15 Andreas Schwab <schwab@suse.de>
30
31 [BZ #20435]
32 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
33 as .cantunwind.
34
35 2016-08-17 Florian Weimer <fweimer@redhat.com>
36
37 [BZ #20452]
38 Avoid additional copies of objects in libc.a in static libraries.
39 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
40 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
41 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
42 rt-sysdep.
43 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
44 Add nptl-sysdep.
45 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
46 Add ptw-sysdep.
47 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
48 rt-sysdep.
49 * sysdeps/unix/sysv/linux/alpha/Makefile
50 (libpthread-shared-only-routines): Add ptw-sysdep,
51 ptw-sigprocmask, ptw-rt_sigaction.
52 * sysdeps/unix/sysv/linux/ia64/Makefile
53 (librt-shared-only-routines): Add rt-sysdep.
54 * sysdeps/unix/sysv/linux/i386/Makefile
55 (libpthread-shared-only-routines): Add libc-do-syscall.
56 * sysdeps/unix/sysv/linux/microblaze/Makefile
57 (libpthread-shared-only-routines): Add sysdep.
58 * sysdeps/unix/sysv/linux/powerpc/Makefile
59 (librt-shared-only-routines): Add rt-sysdep.
60 (libpthread-shared-only-routines): Add sysdep.
61 * sysdeps/unix/sysv/linux/s390/Makefile
62 (librt-shared-only-routines): Add rt-sysdep.
63 * sysdeps/unix/sysv/linux/sparc/Makefile
64 (librt-shared-only-routines): Add rt-sysdep.
65 (libpthread-shared-only-routines): Add sysdep.
66 * sysdeps/unix/sysv/linux/tile/Makefile
67 (libpthread-shared-only-routines): Likewise.
68
69 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
70
71 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
72 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
73 Remove s_fdimf-vis3, s_fdim-vis3.
74 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
75 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
76 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
77 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
78 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
79 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
80 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
81 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
82 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
83 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
84
85 2016-08-02 David S. Miller <davem@davemloft.net>
86
87 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
88 (__nearbyint_vis3): Don't check for sNaN before float register is
89 loaded with the incoming argument.
90 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
91 (__nearbyintf_vis3): Likewise.
92 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
93 Likewise.
94 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
95 Likewise.
96
97 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
98
99 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
100 by beq instructions jumping to the end of the function.
101 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
102 clobber list. Use "i" constraint instead of "X".
103 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
104 of "X".
105
106 2016-08-04 Carlos O'Donell <carlos@redhat.com>
107
108 * po/de.po: Update from Translation Project.
109 * po/fi.po: Likewise.
110 * po/sv.po: Likewise.
111
112 2016-08-02 Florian Weimer <fweimer@redhat.com>
113
114 [BZ #20370]
115 * malloc/arena.c (get_free_list): Update comment. Assert that
116 arenas on the free list have no attached threads.
117 (remove_from_free_list): New function.
118 (reused_arena): Call it.
119
120 2016-08-04 Florian Weimer <fweimer@redhat.com>
121
122 Use sysdep.o from libc.a in static libraries.
123 * sysdeps/unix/sysv/linux/i386/Makefile
124 (libpthread-shared-only-routines): Add sysdep.
125 (librt-shared-only-routines): Likewise.
126
127 2016-08-01 Carlos O'Donell <carlos@redhat.com>
128
129 * version.h (RELEASE): Set to "stable"
130 (VERSION): Set to 2.24.
131 * include/features.h (__GLIBC_MINOR__): Set to 24.
132
133 * NEWS: Add 2.24 fixed bugs.
134 * po/libc.pot: Regenerate.
135
136 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
137
138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
139 [$(subdir) = math] (libm-sysdep_routines): Remove.
140 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
141 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
142 s_truncf-vis3, s_trunc-vis3.
143 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
145 file.
146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
168 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
169 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
172 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
179 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
180 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
181 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
182 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
183 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
184 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
185 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
186 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
187 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
188 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
189
190 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
191
192 [BZ #20384]
193 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
194 test-double-libmvec-sincos-avx-main.o,
195 test-double-libmvec-sincos-avx2-main.o,
196 test-double-libmvec-sincos-main.o,
197 test-float-libmvec-sincosf-avx-main.o,
198 test-float-libmvec-sincosf-avx2-main.o and
199 test-float-libmvec-sincosf-main.o.
200 test-float-libmvec-sincosf-avx512-main.o.
201 ($(objpfx)test-double-libmvec-sincos): Also link with
202 $(objpfx)test-double-libmvec-sincos-main.o.
203 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
204 $(objpfx)test-double-libmvec-sincos-avx-main.o.
205 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
206 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
207 ($(objpfx)test-float-libmvec-sincosf): Also link with
208 $(objpfx)test-float-libmvec-sincosf-main.o.
209 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
210 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
211 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
212 test-double-libmvec-sincos-avx512-main.o and
213 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
214 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
215 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
216 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
217 (CFLAGS-test-double-libmvec-sincos.c): Removed.
218 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
219 (CFLAGS-test-double-libmvec-sincos-main.c): New.
220 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
221 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
222 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
223 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
224 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
225 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
226 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
227 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
228 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
229 -DREQUIRE_AVX2.
230 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
231 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
232 -DREQUIRE_AVX512F.
233 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
234 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
235 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
236 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
237 file.
238 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
239 Likewise.
240 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
241 Likewise.
242 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
243 Likewise.
244 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
245 Likewise.
246 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
247 Likewise.
248 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
249 Likewise.
250 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
251 Likewise.
252
253 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
254
255 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
256
257 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
258
259 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
260 and typo in a comment about AT_HWCAP entry.
261
262 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
263
264 * sysdeps/aarch64/libm-test-ulps: Updated.
265
266 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
267
268 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
269 of r13 as it is not restored in mvcle case.
270
271 2016-07-19 Mike Frysinger <vapier@gentoo.org>
272
273 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
274 Rename "ret" to "__ret".
275 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
276 inline_syscall5, inline_syscall6): Likewise.
277
278 2016-07-19 Will Newton <will.newton@gmail.com>
279
280 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
281 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
282 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
283 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
284 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
285
286 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
287
288 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
289 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
290 -mfpmath=387 with $(rtld-CFLAGS).
291 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
292 $(rtld-CFLAGS).
293
294 2016-07-18 Ross Burton <ross.burton@intel.com>
295 Khem Raj <raj.khem@gmail.com>
296
297 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
298 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
299 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
300 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
301 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
302 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
303 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
304 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
305 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
306 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
307 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
308 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
309 R_METAG_TLS_DTPOFF): New.
310
311 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
312 Matt Clay <mclay@lycos.com>
313
314 [BZ #20357]
315 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
316 to call __mpsin/__mpcos and to negate values.
317 * math/auto-libm-test-in: Add test.
318 * math/auto-libm-test-out: Regenerate.
319
320 2016-07-18 Zack Weinberg <zackw@panix.com>
321
322 * grp/Makefile: Don't install the internal header grp-merge.h.
323
324 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
325
326 * sysdeps/aarch64/libm-test-ulps: Regenerated.
327
328 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
329
330 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
331
332 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
333
334 [BZ #15368]
335 * sysdeps/unix/sysv/linux/nptl-signals.h
336 (__nptl_clear_internal_signals): New function.
337 (__libc_signal_block_all): Likewise.
338 (__libc_signal_block_app): Likewise.
339 (__libc_signal_restore_set): Likewise.
340 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
341 implementation.
342 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
343 the cached pid/tid value in pthread structure.
344
345 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
346
347 [BZ #20347]
348 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
349
350 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
351
352 [BZ #20348]
353 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
354 preadv64, pwrite64 and pwritev64.
355
356 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
357
358 [BZ #20350]
359 * posix/tst-preadwrite.c: Renamed to ...
360 * posix/tst-preadwrite-common.c: This.
361 (PREAD): Removed.
362 (PWRITE): Likewise.
363 (STRINGIFY): Likewise.
364 (STRINGIFY2): Likewise.
365 (do_prepare): Make it static and remove function arguments.
366 (do_test): Likewise.
367 (PREPARE): Updated.
368 (TEST_FUNCTION): New.
369 (name): Make it static.
370 (fd): Likewise.
371 (do_prepare): Use create_temp_file.
372 (do_test): Renamed to ...
373 (do_test_with_offset): This. Make it static and accept offset.
374 Properly check return value of PWRITE and PREAD. Return bytes
375 read. Don't close fd nor unlink name.
376 * posix/tst-preadwrite.c: Rewrite.
377 * posix/tst-preadwrite64.c: Likewise.
378
379 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
380
381 [BZ #20309]
382 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
383 -mtls-dialect=gnu2 works.
384 * configure: Regenerated.
385 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
386 (tests): Add tst-gnu2-tls1.
387 (modules-names): Add tst-gnu2-tls1mod.
388 ($(objpfx)tst-gnu2-tls1): New.
389 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
390 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
391 * elf/tst-gnu2-tls1.c: New file.
392 * elf/tst-gnu2-tls1mod.c: Likewise.
393 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
394 bytes for push in the PLT entry to align the stack.
395
396 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
397
398 [BZ #20349]
399 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
400
401 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
402
403 [BZ #18707]
404 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
405 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
406
407 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
408
409 * sysdeps/unix/sysv/linux/sysdep.h
410 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
411 guards.
412 * misc/tst-preadvwritev-common.c: New file.
413 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
414 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
415 a check for files larger than 2GB.
416
417 * sysdeps/unix/sysv/linux/mips/kernel-features.h
418 (__ASSUME_OFF_DIFF_OFF64): Remove define.
419 * sysdeps/unix/sysv/linux/pread.c
420 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
421 __OFF_T_MATCHES_OFF64_T.
422 * sysdeps/unix/sysv/linux/pread64.c
423 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
424 * sysdeps/unix/sysv/linux/preadv.c
425 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
426 * sysdeps/unix/sysv/linux/preadv64.c
427 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
428 * sysdeps/unix/sysv/linux/pwrite.c
429 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
430 * sysdeps/unix/sysv/linux/pwrite64.c
431 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
432 * sysdeps/unix/sysv/linux/pwritev.c
433 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
434 * sysdeps/unix/sysv/linux/pwritev64.c
435 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
436
437 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
438
439 * sysdeps/unix/sysv/linux/tile/kernel-features.h
440 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
441
442 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
443
444 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
445
446 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
447
448 [BZ #20240]
449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
450 (CFLAGS-s_modf-ppc32.c): New variable.
451 (CFLAGS-s_modff-ppc32.c): Likewise.
452 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
453 (CFLAGS-s_modf-ppc64.c): Likewise.
454 (CFLAGS-s_modff-ppc64.c): Likewise.
455
456 2016-07-07 Andreas Schwab <schwab@suse.de>
457
458 [BZ #20263]
459 * nptl/tst-robust10.c: New test.
460 * nptl/Makefile (tests): Add tst-robust10.
461
462 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
463
464 [BZ #20263]
465 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
466
467 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
468
469 * sysdeps/s390/linkmap.h (struct link_map_machine):
470 Remove member gotplt and add member jmprel.
471 * sysdeps/s390/s390-32/dl-machine.h
472 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
473 instead of gotplt with &got[3].
474 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
475 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
476
477 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
478
479 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
480
481 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
482
483 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
484 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
485 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
486 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
487 * libio/vtables.c (_IO_vtable_check)
488 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
489 * libio/libioP.h (IO_set_accept_foreign_vtables)
490 [!PTR_MANGLE]: Do not call PTR_MANGLE.
491
492 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
493
494 [BZ #20314]
495 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
496 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
497 $(common-objpfx)cmath.
498 ($(common-objpfx)cstdlib): New target.
499 ($(common-objpfx)cmath): Likewise.
500
501 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
502
503 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
504
505 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
506
507 [BZ #20327]
508 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
509 are not part of the string.
510
511 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
512
513 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
514 * nptl/tst-cancel4-common.h (fifoname): New variable.
515 (fifofd): Likewise.
516 (cl_fifo): New function.
517 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
518 SIGINT.
519 (tf_open): Add early cancel test.
520
521 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
522
523 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
524
525 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
526
527 * sysdeps/generic/ldsodefs.h
528 (dl_symbol_visibility_binds_local_p): New inline function.
529 * elf/dl-addr.c (determine_info): Treat hidden and internal
530 symbols as local.
531 * elf/dl-lookup.c (do_lookup_x): Likewise.
532 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
533
534 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
535
536 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
537 invalid exception for a sNaN input.
538 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
539 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
540 (__nearbyint_vis3): Likewise
541 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
542 (__nearbyintf_vis3): Likewise
543 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
544 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
545 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
546 Likewise.
547 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
548 Likewise.
549
550 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
551
552 [BZ #20139]
553 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
554 (HAVE_AVX512DQ_ASM_SUPPORT): This.
555 * sysdeps/x86_64/configure.ac: Require assembler from binutils
556 2.24 or above.
557 (HAVE_AVX512_ASM_SUPPORT): Removed.
558 (HAVE_AVX512DQ_ASM_SUPPORT): New.
559 * sysdeps/x86_64/configure: Regenerated.
560 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
561 check unconditional.
562 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
563 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
564 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
565 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
566 Likewise.
567 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
568 Likewise.
569 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
570 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
571 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
572 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
573 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
574 Likewise.
575 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
576 Likewise.
577 * sysdeps/x86_64/multiarch/memset.S: Likewise.
578 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
579 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
580 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
581 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
582 Likewise.
583 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
584 Likewise.
585 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
586 Likewise.
587 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
588 Likewise.
589 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
590 Likewise.
591 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
592 Likewise.
593 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
594 Likewise.
595 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
596 Likewise.
597 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
598 Likewise.
599 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
600 Likewise.
601 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
602 Likewise.
603
604 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
605
606 [BZ #20024]
607 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
608 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
609 of this implementation of vector function.
610 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
611 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
612 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
613 Likewise.
614 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
615 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
616 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
617 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
618 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
619 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
620 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
621 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
622 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
623 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
624 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
625 for testing vector sincos with fixed ABI.
626 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
627 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
628 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
629 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
630 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
631 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
632 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
633 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
634 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
635 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
636 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
637 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
638 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
639 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
640 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
641 * sysdeps/x86_64/fpu/Makefile: Added new tests.
642
643 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
644
645 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
646
647 2016-06-30 Anton Blanchard <anton@samba.org>
648
649 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
650 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
651 s_sinf-ppc64.
652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
655 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
656
657 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
658
659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
660 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
661 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
662 e_expf-ppc64.
663 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
664 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
665 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
666 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
667
668 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
669
670 [BZ #20277]
671 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
672 when SHARED is defined.
673
674 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
675
676 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
677 (index_arch_Prefer_ERMS): Likewise.
678 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
679 __memcpy_erms for Prefer_ERMS.
680 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
681 (__memmove_erms): Enabled for libc.a.
682 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
683 __memmove_erms or Prefer_ERMS.
684 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
685 __mempcpy_erms for Prefer_ERMS.
686 * sysdeps/x86_64/multiarch/memset.S (memset): Return
687 __memset_erms for Prefer_ERMS.
688
689 2016-06-30 Andreas Schwab <schwab@suse.de>
690
691 [BZ #20262]
692 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
693 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
694 of memory.
695
696 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
697
698 [BZ #18645]
699 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
700 (test-extras): Add tst-cleanupx4aux.
701 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
702 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
703 tst-cleanupx4aux.o.
704 * nptl/tst-cleanupx4aux.c: New file.
705
706 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
707
708 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
709
710 2016-06-29 Andreas Schwab <schwab@suse.de>
711
712 [BZ #20260]
713 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
714 address before the beginning of the string as an integer to avoid
715 array-bounds warning.
716
717 2016-06-28 Richard Henderson <rth@redhat.com>
718
719 * elf/elf.h (EM_BPF): New.
720 (EM_NUM): Update.
721 (R_BPF_NONE, R_BPF_MAP_FD): New.
722
723 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
724 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
725 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
726 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
727 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
728 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
729 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
730 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
731 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
732 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
733 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
734 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
735 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
736 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
737 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
738 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
739 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
740 (EM_NUM): Update.
741
742 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
743
744 [BZ #18960]
745 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
746 Set _nl_current_LC_CATEGORY_used to two instead of one.
747
748 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
749
750 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
751 (do_test): ... this.
752 (TEST_FUNCTION): New macro.
753 Include test-skeleton.c.
754 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
755 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
756
757 2016-06-27 Joseph Myers <joseph@codesourcery.com>
758
759 [BZ #15479]
760 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
761 floating-point environment rather than just control word.
762 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
763 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
764 floating-point environment, with "invalid" exceptions merged in,
765 rather than just control word.
766 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
767 * math/libm-test.inc (trunc_test_data): Do not allow spurious
768 "inexact" exceptions.
769
770 [BZ #15479]
771 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
772 floating-point environment rather than just control word.
773 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
774 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
775 floating-point environment, with "invalid" exceptions merged in,
776 rather than just control word.
777 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
778 * math/libm-test.inc (floor_test_data): Do not allow spurious
779 "inexact" exceptions.
780
781 [BZ #15479]
782 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
783 floating-point environment rather than just control word.
784 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
785 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
786 floating-point environment, with "invalid" exceptions merged in,
787 rather than just control word.
788 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
789 * math/libm-test.inc (ceil_test_data): Do not allow spurious
790 "inexact" exceptions.
791
792 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
793
794 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
795 __libc_vfork.
796 (__vfork) [IS_IN (libc)]: Remove alias.
797 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
798 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
799 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
800
801 2016-06-24 Torvald Riegel <triegel@redhat.com>
802
803 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
804 of atomic_compare_and_exchange_bool_rel.
805 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
806 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
807 catomic_compare_and_exchange_bool_rel): Remove.
808 * sysdeps/aarch64/atomic-machine.h
809 (atomic_compare_and_exchange_bool_rel): Likewise.
810 * sysdeps/alpha/atomic-machine.h
811 (atomic_compare_and_exchange_bool_rel): Likewise.
812 * sysdeps/arm/atomic-machine.h
813 (atomic_compare_and_exchange_bool_rel): Likewise.
814 * sysdeps/mips/atomic-machine.h
815 (atomic_compare_and_exchange_bool_rel): Likewise.
816 * sysdeps/microblaze/atomic-machine.h
817 ( __arch_compare_and_exchange_bool_8_rel,
818 __arch_compare_and_exchange_bool_16_rel): Likewise.
819 * sysdeps/powerpc/atomic-machine.h
820 ( __arch_compare_and_exchange_bool_8_rel,
821 __arch_compare_and_exchange_bool_16_rel): Likewise.
822 * sysdeps/powerpc/powerpc32/atomic-machine.h
823 ( __arch_compare_and_exchange_bool_32_rel,
824 __arch_compare_and_exchange_bool_64_rel): Likewise.
825 * sysdeps/powerpc/powerpc64/atomic-machine.h
826 ( __arch_compare_and_exchange_bool_32_rel,
827 __arch_compare_and_exchange_bool_64_rel): Likewise.
828 * sysdeps/tile/atomic-machine.h
829 (atomic_compare_and_exchange_bool_rel): Likewise.
830
831 2016-06-23 Joseph Myers <joseph@codesourcery.com>
832
833 [BZ #20296]
834 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
835 when either argument is a NaN.
836 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
837 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
838
839 * math/libm-test.inc (snan_value_ld): New macro.
840 (isgreater_test_data): Add sNaN tests.
841 (isgreaterequal_test_data): Likewise.
842 (isless_test_data): Likewise.
843 (islessequal_test_data): Likewise.
844 (islessgreater_test_data): Likewise.
845 (isunordered_test_data): Likewise.
846 (nextafter_test_data): Likewise.
847 (nexttoward_test_data): Likewise.
848 (remainder_test_data): Likewise.
849 (remquo_test_data): Likewise.
850 (significand_test_data): Likewise.
851 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
852
853 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
854
855 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
856 environment macros are defined.
857 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
858
859 2016-06-23 Florian Weimer <fweimer@redhat.com>
860
861 [BZ #20191]
862 Implement vtable verification in libio.
863 * Makerules (shlib.lds): Place __libc_IO_vtables section.
864 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
865 * debug/vdprintf_chk.c (__vdprintf_chk): Call
866 _IO_new_file_init_internal instead of _IO_file_init.
867 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
868 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
869 * libio/Makefile (routines): Add vtables.
870 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
871 (_IO_init): Remove, not for internal use.
872 (_IO_init_internal): Declare, internal replacement for _IO_init.
873 (_IO_file_init): Remove, not for internal use.
874 (_IO_new_file_init): Remove, not for internal use.
875 (_IO_new_file_init_internal): Declare, internal replacement for
876 _IO_new_file_init.
877 (_IO_old_file_init): Remove, not for internal use.
878 (_IO_old_file_init_internal): Declare, internal replacement for
879 _IO_old_file_init.
880 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
881 internal use.
882 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
883 Declare.
884 (libio_vtable): New macro.
885 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
886 functions.
887 * libio/fileops.c (_IO_new_file_init_internal): Rename from
888 _IO_new_file_init.
889 (_IO_new_file_init): New externally visible wrapper which disables
890 vtable verification.
891 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
892 Define as vtables.
893 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
894 (_IO_init): New externally visible wrapper which disables
895 vtable verification.
896 * libio/iofdopen.c (_IO_new_fdopen): Call
897 _IO_new_file_init_internal instead of _IO_file_init. Adjust
898 comment.
899 * libio/iofopen.c (__fopen_internal): Call
900 _IO_new_file_init_internal instead of _IO_file_init.
901 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
902 Define as vtables.
903 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
904 _IO_new_file_init_internal instead of _IO_file_init.
905 * libio/iopopen.c (_IO_new_popen): Likewise.
906 (_IO_proc_jumps): Define as vtable.
907 * libio/iovdprintf.c (_IO_vdprintf): Call
908 _IO_new_file_init_internal instead of _IO_file_init.
909 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
910 (__open_memstream): Call _IO_init_internal instead of _IO_init.
911 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
912 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
913 _IO_old_file_init.
914 (_IO_old_file_init): New externally visible wrapper which disables
915 vtable verification.
916 (_IO_old_file_jumps): Define as vtable.
917 * libio/oldiofdopen.c (_IO_old_fdopen): Call
918 _IO_old_file_init_internal instead of _IO_old_file_init.
919 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
920 * libio/oldiopopen.c (_IO_old_popen): Likewise.
921 (_IO_old_proc_jumps): Define as vtable.
922 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
923 Define as vtables.
924 * libio/vtables.c: New file.
925 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
926 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
927 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
928 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
929 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
930 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
931 instead of _IO_init.
932
933 2016-06-23 Florian Weimer <fweimer@redhat.com>
934
935 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
936
937 2016-06-23 Florian Weimer <fweimer@redhat.com>
938
939 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
940 potentially unused.
941
942 2016-06-22 Florian Weimer <fweimer@redhat.com>
943
944 * test-skeleton.c (write_message): New function.
945 * malloc/tst-mallocfork2.c (write_message): Remove.
946 * debug/tst-longjmp_chk2.c (write_indented): New function.
947 (write_message): Remove.
948 (stackoverflow_handler): Call write_indented.
949
950 2016-06-22 Joseph Myers <joseph@codesourcery.com>
951
952 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
953 "inexact" exceptions after fnstenv.
954 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
955 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
956 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
957
958 2015-06-22 Zack Weinberg <zackw@panix.com>
959
960 * sysdeps/generic/bits/hwcap.h: Moved to ...
961 * bits/hwcap.h: Here.
962
963 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
964
965 * sysdeps/aarch64/memcpy.S (memcpy):
966 Further tuning for performance.
967
968 2016-06-21 Florian Weimer <fweimer@redhat.com>
969
970 [BZ #20284]
971 * malloc/arena.c (reused_arena): Do not return NULL if we start
972 out with a non-corrupted arena.
973
974 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
975
976 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
977 * misc/tst-preadvwritev.c: New file.
978 * misc/tst-preadvwritev64.c: Likewise.
979 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
980 usage.
981 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
982 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
983 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
984 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
985
986 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
987
988 [BZ #19654]
989 * sysdeps/x86_64/fpu/Makefile: Added new tests.
990 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
991 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
992 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
993 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
994 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
995 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
996 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
997 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
998 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
999 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1000 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1001 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1002 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1003 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1004 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1005 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1006 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1007 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1008 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1009 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1010 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1011 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1012 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
1013 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
1014 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
1015
1016 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1017
1018 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
1019 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
1020
1021 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1022
1023 * sysdeps/aarch64/memcpy.S (memcpy):
1024 Rewrite of optimized memcpy and memmove.
1025 * sysdeps/aarch64/memmove.S (memmove): Remove
1026 memmove code (merged into memcpy.S).
1027
1028 2016-06-20 Florian Weimer <fweimer@redhat.com>
1029
1030 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
1031 * sysdeps/generic/dl-dtv.h: New file.
1032 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1033 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
1034 (dtv_t): Remove.
1035 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1036 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
1037 (dtv_t): Remove.
1038 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1039 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
1040 (dtv_t): Remove.
1041 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1042 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
1043 (dtv_t): Remove.
1044 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1045 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
1046 (dtv_t): Remove.
1047 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1048 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
1049 (dtv_t): Remove.
1050 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1051 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
1052 (dtv_t): Remove.
1053 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
1054 (dtv_t): Remove.
1055 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1056 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
1057 (dtv_t): Remove.
1058 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1059 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
1060 (dtv_t): Remove.
1061 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1062 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
1063 (dtv_t): Remove.
1064 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1065 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
1066 (dtv_t): Remove.
1067 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1068 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
1069 (dtv_t): Remove.
1070 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1071 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
1072 (dtv_t): Remove.
1073 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1074 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
1075 (dtv_t): Remove.
1076 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1077 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
1078 (dtv_t): Remove.
1079
1080 2016-06-20 Florian Weimer <fweimer@redhat.com>
1081
1082 Revert symbol poisoning of __malloc_initialize_hook.
1083 * include/stdc-predef.h (__malloc_initialize_hook): Remove
1084 poisoning.
1085 * malloc/Makefile: Remove un-poisoning.
1086 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
1087 instead of old__malloc_initialize_hook.
1088 * malloc/malloc-hooks.h: Likewise.
1089 * malloc/malloc.c: Likewise.
1090 * malloc/mcheck-init.c: Likewise.
1091
1092 2016-06-19 Carlos O'Donell <carlos@redhat.com>
1093
1094 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
1095
1096 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
1097
1098 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
1099 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
1100 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1101 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1102
1103 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1104
1105 * NEWS: Mention addition of nextup and nextdown.
1106 * manual/arith.texi: Document nextup and nextdown.
1107 * manual/libm-err-tab.pl: Add nextup and nextdown.
1108 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
1109 * math/Versions (libm): Add GLIBC_2.24.
1110 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
1111 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1112 Add new test.
1113 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
1114 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
1115 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
1116 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
1117 (nextup_test_data): Likewise.
1118 (nextdown_test_data): Likewise.
1119 * math/s_nextdown.c: New file.
1120 * math/s_nextdownf.c: Likewise.
1121 * math/s_nextdownl.c: Likewise.
1122 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
1123 F(nextup): New function.
1124 F(nextdown): Likewise.
1125 * math/tgmath.h: Add nextup and nextdown.
1126 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1127 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1128 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1129 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1130 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1131 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1132 Add nextup and nextdown.
1133 (CFLAGS-nldbl-nextup.c): New variable.
1134 (CFLAGS-nldbl-nextdown.c): Likewise.
1135 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1136 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1137 * sysdeps/nacl/libm.abilist: Update.
1138 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1139 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1140 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1141 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1142 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1143 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1144 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1145 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1146 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1147 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1148 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1149 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1152 Likewise.
1153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1155 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1156 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1157 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1158 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1159 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1162 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1163 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1164 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1165 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1166
1167 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1168
1169 * manual/pattern.texi: Fix typos & grammar errors.
1170
1171 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1172
1173 * manual/search.texi: Fix typos & grammar errors.
1174
1175 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1176
1177 * manual/message.texi: Fix typos & grammar errors.
1178
1179 2016-06-16 Mike Frysinger <vapier@gentoo.org>
1180
1181 * manual/contrib.texi: Fix spelling typos.
1182 * manual/crypt.texi: Likewise.
1183 * manual/filesys.texi: Likewise.
1184 * manual/locale.texi: Likewise.
1185 * manual/message.texi: Likewise.
1186 * manual/nss.texi: Likewise.
1187 * manual/string.texi: Likewise.
1188
1189 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1190
1191 * manual/locale.texi: Fix typos & grammar errors.
1192
1193 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1194
1195 * manual/charset.texi: Fix typos & grammar errors.
1196
1197 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1198
1199 * manual/string.texi: Fix typos.
1200
1201 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1202
1203 * manual/ctype.texi: Fix typos.
1204
1205 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1206
1207 * manual/memory.texi: Fix various typos & grammar errors.
1208
1209 2016-06-14 Joseph Myers <joseph@codesourcery.com>
1210
1211 [BZ #20255]
1212 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
1213 * math/libm-test.inc (fdim_test_data): Add another test.
1214
1215 [BZ #6796]
1216 [BZ #20255]
1217 [BZ #20256]
1218 * math/s_fdim.c: Include <math_private.h>.
1219 (__fdim): Use math_narrow_eval on result.
1220 * math/s_fdimf.c: Include <math_private.h>.
1221 (__fdimf): Use math_narrow_eval on result.
1222 * sysdeps/i386/fpu/s_fdim.S: Remove file.
1223 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1224 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1225 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1226 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1227 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1228 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1229 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1230 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1231 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1232 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1233 * math/libm-test.inc (fdim_test_data): Expect errno setting on
1234 overflow. Add sNaN tests.
1235
1236 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1237 fpclassify.
1238 * math/s_fdimf.c (__fdimf): Likewise.
1239 * math/s_fdiml.c (__fdiml): Likewise.
1240
1241 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1242
1243 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1244 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1246 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1247 ifunc'ed strcasecmp/strncasecmp.
1248 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1249 [EALIGN]: Removed.
1250 [END]: Likewise.
1251 [__strcasecmp]: Define instead of the above to control symbol name.
1252 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1253 for __strcasecmp_power8.
1254 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1255 for __strncasecmp_power8.
1256 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1257 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1258 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1259 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1260 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1261 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1262
1263 2016-06-13 Joseph Myers <joseph@codesourcery.com>
1264
1265 [BZ #20252]
1266 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1267 arguments when second argument is a NaN.
1268 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1269 qNaN tests.
1270
1271 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1272 (conj_test_data): Likewise.
1273 (copysign_test_data): Likewise.
1274 (creal_test_data): Likewise.
1275 (fma_test_data): Likewise.
1276 (fmod_test_data): Likewise.
1277
1278 [BZ #20250]
1279 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
1280 itself.
1281 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
1282 zero input to itself.
1283 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
1284 Likewise.
1285 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
1286 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
1287 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1288 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
1289 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
1290
1291 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1292
1293 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
1294 * nptl/tst-cancel4-common.c: New file.
1295 * nptl/tst-cancel4-common.h: Likewise.
1296 * nptl/tst-cancel4.c: Move common definitions to
1297 tst-cancel4-common.{c,h} file.
1298 * nptl/tst-cancel4_1.c: New test.
1299 * nptl/tst-cancel4_2.c: New test.
1300
1301 2016-06-13 Florian Weimer <fweimer@redhat.com>
1302
1303 [BZ #20248]
1304 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
1305 (write_message): New function.
1306 (stackoverflow_handler): Call it instead of printf, to avoid
1307 excessive stack usage by printf.
1308 (do_test): Restore SIGSEGV, SIGBUS default handlers.
1309
1310 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1311
1312 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
1313 (prio_inherit_missing): Remove define.
1314 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1315 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1316 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
1317 Likewise.
1318 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1319 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1320 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1321 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1322 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1323 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1324
1325 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1326
1327 [BZ #19670]
1328 [BZ #19672]
1329
1330 * io/test-lfs.c (do_prepare): Use xmalloc.
1331 * io/tst-fcntl.c (do_prepare): Likewise.
1332 * libio/tst-fopenloc.c (do_bz17916): Likewise.
1333 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
1334 * login/tst-utmp.c (do_prepare): Likewise.
1335 * posix/tst-exec.c (do_prepare): Likewise.
1336 * posix/tst-pathconf.c (prepare): Likewise.
1337 * posix/tst-spawn.c (do_prepare): Likewise.
1338 * posix/tst-truncate.c (do_prepare): Likewise.
1339 * rt/tst-aio.c (do_prepare): Likewise.
1340 * rt/tst-aio64.c (do_prepare): Likewise.
1341
1342 2016-06-11 Florian Weimer <fweimer@redhat.com>
1343
1344 [BZ #20237]
1345 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
1346 (get*ent): Set entidx to NULL during initialization. If entidx is
1347 NULL, start iteration from the beginning.
1348
1349 2016-06-11 Florian Weimer <fweimer@redhat.com>
1350
1351 * malloc/malloc.c (musable): Return correct size for dumped fake
1352 mmapped chunk.
1353
1354 2016-06-11 Florian Weimer <fweimer@redhat.com>
1355
1356 [BZ #20222]
1357 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
1358 (_IO_cookie_write): Likewise.
1359 (_IO_cookie_seek): Likewise.
1360 (_IO_cookie_close): Likewise.
1361 (_IO_old_cookie_seek): Likewise.
1362 (set_callbacks): New function.
1363 (_IO_cookie_init): Call set_callbacks to copy callbacks.
1364
1365 2016-06-11 Marko Myllynen <myllynen@redhat.com>
1366
1367 * locale/programs/localedef.c (oldstyle_tables): Remove.
1368 * locale/programs/localedef.h (oldstyle_tables): Likewise.
1369
1370 2016-06-10 Joseph Myers <joseph@codesourcery.com>
1371
1372 [BZ #20240]
1373 * math/Makefile (CFLAGS-s_modf.c): New variable.
1374 (CFLAGS-s_modff.c): Likewise.
1375 (CFLAGS-s_modfl.c): Likewise.
1376 * math/libm-test.inc (modf_test_data): Add sNaN tests.
1377
1378 2016-06-09 Carlos O'Donell <carlos@redhat.com>
1379
1380 [BZ #20215]
1381 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1382 [!__GNUC_PREREQ (3,2)]: Likewise.
1383
1384 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
1385
1386 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1387 (msghdr.msg_controllen): Likewise.
1388 (cmsghdr.cmsg_len): Likewise.
1389 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1390 ptw-oldsendmsg.
1391 (CFLAGS-oldrecvmsg.c): Remove rule.
1392 (CFLAGS-oldsendmsg.c): Likewise.
1393 (CFLAGS-recvmsg.c): Add rule.
1394 (CFLAGS-sendmsg.c): Likewise.
1395 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1396 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1397 (CFLAGS-recvmsg.c): Remove rule.
1398 (CFLAGS-sendmsg.c): Likewise.
1399 (CFLAGS-oldrecvmsg.c): Likewise.
1400 (CFLAGS-oldsendmsg.c): Likewise.
1401 (CFLAGS-recvmmsg.c): Likewise.
1402 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1403 to kernel defined interfaces.
1404 (msghdr.msg_controllen): Likewise.
1405 (cmsghdr.cmsg_len): Likewise.
1406 (msghdr.__glibc_reserved1): Remove member.
1407 (msghdr.__glibc_reserved2): Likewise.
1408 (cmsghdr.__glibc_reserved1): Likewise.
1409 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1410 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1411 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1412 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1413 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1414 version.
1415 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1416 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1417 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1418 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1419 Remove recvmsg and sendmsg.
1420 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1421 Likewise.
1422 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1423 Likewise.
1424 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1425 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1426 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1427 Likewise.
1428 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1429 Likewise.
1430 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1431 [libc] (GLIBC_2.24): Likewise.
1432 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1433 Likewise.
1434 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1435 Likewise.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1437 [libc] (GLIBC_2.24): Likewise.
1438 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1439 Likewise.
1440 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1441 Likewise.
1442 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1443 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1444 Likewise.
1445 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1446 Likewise.
1447 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1448 Likewise.
1449 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1450 Likewise.
1451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1452 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1453 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1454 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1455 version for {recv,send,recm,sendm}msg.
1456 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1457 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1458 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1459 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1460 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1461 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1462 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1463 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1464 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1465 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1466 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1467 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1469 Likewise.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1471 Likewise.
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1474 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1475 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1476 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1477 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1478 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1479 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1482 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1483 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1484 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1485
1486 2016-06-10 Florian Weimer <fweimer@redhat.com>
1487
1488 [BZ #19564]
1489 Remove __malloc_initialize_hook from the API.
1490 * malloc/malloc.h (__malloc_initialize_hook): Remove.
1491 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1492 #pragma GCC poison.
1493 * malloc/malloc-hooks.h: New file.
1494 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1495 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1496 (old__malloc_initialize_hook): Rename from
1497 __malloc_initialize_hook to evade poisoning. Turn into compat
1498 symbol.
1499 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1500 __malloc_initialize_hook.
1501 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1502 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1503 * manual/memory.texi (Hooks for Malloc): Remove
1504 __malloc_initialize_hook. Adjust hook example.
1505
1506 2016-06-09 Joseph Myers <joseph@codesourcery.com>
1507
1508 [BZ #20235]
1509 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1510 itself.
1511 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1512 * math/libm-test.inc (log2_test_data): Add sNaN tests.
1513
1514 [BZ #20234]
1515 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1516 infinity or NaN input to itself.
1517
1518 [BZ #20233]
1519 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1520 to itself.
1521
1522 [BZ #20232]
1523 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1524 itself.
1525
1526 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
1527
1528 * sysdeps/x86_64/start.S (_start): Always indirect branch to
1529 __libc_start_main via GOT.
1530
1531 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
1532
1533 * sysdeps/x86_64/memcopy.h: New file.
1534 * sysdeps/x86_64/wordcopy.c: Likewise.
1535
1536 2016-06-09 Florian Weimer <fweimer@redhat.com>
1537
1538 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1539 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1540 <cstdlib>.
1541 (optimization_barrier): New.
1542 (do_test): Use it. Call quick_exit in the global namespace.
1543 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1544 instead of <cstdlib>, <thread>.
1545 (optimization_barrier): New.
1546 (non_main_thread): Adjust declaration. Call optimization_barrier.
1547 Call quick_exit in the global namespace.
1548 (do_test): Call optimization_barrier. Use pthread_create,
1549 pthread_join instead of std::thread.
1550
1551 2016-06-09 Andreas Schwab <schwab@suse.de>
1552
1553 [BZ #19755]
1554 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1555 new entries in auto-propagate mode.
1556 * nscd/grpcache.c (cache_addgr): Likewise.
1557
1558 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1559
1560 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1561 New functions.
1562 (add_temp_file): Use them.
1563
1564 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
1565
1566 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1567
1568 2016-06-08 Joseph Myers <joseph@codesourcery.com>
1569
1570 [BZ #20229]
1571 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1572 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1573 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1574
1575 [BZ #20228]
1576 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1577 itself.
1578 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1579 * math/libm-test.inc (log10_test_data): Add sNaN tests.
1580
1581 [BZ #20227]
1582 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1583 itself.
1584 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1585 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1586 * math/libm-test.inc (log_test_data): Add sNaN tests.
1587
1588 [BZ #20226]
1589 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1590 itself.
1591 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1592 * math/libm-test.inc (exp_test_data): Add sNaN tests.
1593 (exp10_test_data): Likewise.
1594 (expm1_test_data): Likewise.
1595
1596 [BZ #20225]
1597 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1598 itself.
1599 * math/s_ldexpf.c (__ldexpf): Likewise.
1600 * math/s_ldexpl.c (__ldexpl): Likewise.
1601 * math/w_scalbln.c (__w_scalbln): Likewise.
1602 * math/w_scalblnf.c (__w_scalblnf): Likewise.
1603 * math/w_scalblnl.c (__w_scalblnl): Likewise.
1604 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1605 (scalbln_test_data): Likewise.
1606
1607 [BZ #20224]
1608 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1609 argument to itself.
1610 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1611
1612 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1613
1614 [BZ #19776]
1615 * sysdeps/x86_64/memcpy.S: Make it dummy.
1616 * sysdeps/x86_64/mempcpy.S: Likewise.
1617 * sysdeps/x86_64/memmove.S: New file.
1618 * sysdeps/x86_64/memmove_chk.S: Likewise.
1619 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1620 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1621 * sysdeps/x86_64/memmove.c: Removed.
1622 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1623 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1624 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1625 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1626 Likewise.
1627 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1628 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1630 memcpy-sse2-unaligned, memmove-avx-unaligned,
1631 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1633 (__libc_ifunc_impl_list): Replace
1634 __memmove_chk_avx512_unaligned_2 with
1635 __memmove_chk_avx512_unaligned. Remove
1636 __memmove_chk_avx_unaligned_2. Replace
1637 __memmove_chk_sse2_unaligned_2 with
1638 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
1639 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
1640 with __memmove_avx512_unaligned. Replace
1641 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1642 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
1643 with __memcpy_chk_avx512_unaligned. Remove
1644 __memcpy_chk_avx_unaligned_2. Replace
1645 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1646 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
1647 Replace __memcpy_avx512_unaligned_2 with
1648 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
1649 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
1650 with __mempcpy_chk_avx512_unaligned. Remove
1651 __mempcpy_chk_avx_unaligned_2. Replace
1652 __mempcpy_chk_sse2_unaligned_2 with
1653 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
1654 Replace __mempcpy_avx512_unaligned_2 with
1655 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
1656 Replace __mempcpy_sse2_unaligned_2 with
1657 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
1658 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1659 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1660 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1661 if processor has ERMS. Default to __memcpy_sse2_unaligned.
1662 (ENTRY): Removed.
1663 (END): Likewise.
1664 (ENTRY_CHK): Likewise.
1665 (libc_hidden_builtin_def): Likewise.
1666 Don't include ../memcpy.S.
1667 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1668 __memcpy_chk_avx512_unaligned_erms and
1669 __memcpy_chk_avx512_unaligned. Use
1670 __memcpy_chk_avx_unaligned_erms and
1671 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1672 Default to __memcpy_chk_sse2_unaligned.
1673 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1674 Change function suffix from unaligned_2 to unaligned.
1675 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1676 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1677 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1678 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
1679 (ENTRY): Removed.
1680 (END): Likewise.
1681 (ENTRY_CHK): Likewise.
1682 (libc_hidden_builtin_def): Likewise.
1683 Don't include ../mempcpy.S.
1684 (mempcpy): New. Add a weak alias.
1685 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1686 __mempcpy_chk_avx512_unaligned_erms and
1687 __mempcpy_chk_avx512_unaligned. Use
1688 __mempcpy_chk_avx_unaligned_erms and
1689 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1690 Default to __mempcpy_chk_sse2_unaligned.
1691
1692 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1693
1694 [BZ #19881]
1695 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1696 into ...
1697 * sysdeps/x86_64/memset.S: This.
1698 (__bzero): Removed.
1699 (__memset_tail): Likewise.
1700 (__memset_chk): Likewise.
1701 (memset): Likewise.
1702 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1703 defined.
1704 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1705 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1706 (__memset_zero_constant_len_parameter): Check SHARED instead of
1707 PIC.
1708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1709 memset-avx2 and memset-sse2-unaligned-erms.
1710 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1711 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1712 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1713 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1714 (__bzero): Enabled.
1715 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1716 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1717 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
1718 or __memset_avx2_unaligned_erms if processor has ERMS. Support
1719 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1720 (memset): Removed.
1721 (__memset_chk): Likewise.
1722 (MEMSET_SYMBOL): New.
1723 (libc_hidden_builtin_def): Replace __memset_sse2 with
1724 __memset_sse2_unaligned.
1725 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1726 __memset_chk_sse2 and __memset_chk_avx2 with
1727 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1728 Use __memset_chk_sse2_unaligned_erms or
1729 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
1730 __memset_chk_avx512_unaligned_erms and
1731 __memset_chk_avx512_unaligned.
1732
1733 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1734
1735 * math/gen-auto-libm-test.c (fp_format_desc): remove
1736 suffix member.
1737 (output_generic_value): Remove usage of suffix member,
1738 and the resulting unuse of the fp_format argument.
1739 (output_for_one_input_case): Remove unused fp_format
1740 parameter.
1741
1742 * math/auto-libm-test-out: Regenerate.
1743
1744 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1745 usage with TEST_COND_ibm128.
1746 (TEST_COND_flt_32): Remove.
1747 (TEST_COND_dbl_64): Remove.
1748 (TEST_COND_ldbl_96_intel): Remove.
1749 (TEST_COND_ldbl_96_m68k): Remove.
1750 (TEST_COND_ldbl_128): Remove.
1751
1752 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1753
1754 * auto-libm-test-in:
1755 Replace flt-32 usage with binary32.
1756 Replace dbl-64 usage with binary64.
1757 Replace ldbl-intel-96 usage with intel96.
1758 Replace ldbl-m68k-96 usage with m68k96.
1759 Replace ldbl-128ibm usage with ibm128.
1760 Replace ldbl-128 usage with binary128.
1761
1762 * auto-libm-test-out: Regenerate.
1763
1764 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1765
1766 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1767 (parse_ulps): Dynamically generate type name matching
1768 string from all_floats.
1769 (get_ulps): Generate the ulps as an array instead.
1770 (output_ulps): Dynamically compose the type based
1771 on the number of supported formats, and print
1772 the indices as type specific helper macros.
1773
1774 * math/libm-test.inc: Remove comment about CHOOSE.
1775 (ulp_data): Generate the type in libm-test-ulps.h.
1776 (ULP_IDX): New macro.
1777 (find_ulps): Update usage of max_ulp.
1778
1779 * math/test-double-vlen2.h (CHOOSE): Remove.
1780 * math/test-double-vlen4.h (CHOOSE): Likewise.
1781 * math/test-double-vlen8.h (CHOOSE): Likewise.
1782 * math/test-float.c (CHOOSE): Likewise.
1783 * math/test-float-finite.c (CHOOSE): Likewise.
1784 * math/test-double.c (CHOOSE): Likewise.
1785 * math/test-double-finite.c (CHOOSE): Likewise.
1786 * math/test-idouble.c (CHOOSE): Likewise.
1787 * math/test-ifloat.c (CHOOSE): Likewise.
1788 * math/test-ildoubl.c (CHOOSE): Likewise.
1789 * math/test-ldouble-finite.c (CHOOSE): Likewise.
1790 * math/test-ldouble.c (CHOOSE): Likewise.
1791
1792 * math/test-float.h (TEST_FLOAT): Remove.
1793 * math/test-double.h (TEST_DOUBLE): Likewise.
1794 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1795
1796 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1797
1798 * math/gen-libm-test.pl: (apply_lit): New subroutine.
1799 (parse_args): Strip C suffix from floating point literals
1800 typed with 'f' and wrap them with LIT().
1801
1802 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1803 (test_ff_f_data_nexttoward): Rename to
1804 (test_fj_f_data): New struct.
1805 (nexttoward_test_data): Relabel tests as
1806 TEST_fj_f instead of TEST_ff_f.
1807
1808 2016-06-08 Florian Weimer <fweimer@redhat.com>
1809
1810 Emacs bug 23726.
1811 * malloc/malloc.c (dumped_main_arena_start): Update comment.
1812 (__libc_realloc): Correct size computation for dumped fake mmapped
1813 chunks.
1814
1815 2016-06-07 Joseph Myers <joseph@codesourcery.com>
1816
1817 [BZ #20219]
1818 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1819 to itself.
1820 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1821
1822 [BZ #20218]
1823 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1824 to itself.
1825 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1826
1827 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
1828
1829 [BZ #20195]
1830 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1831 check to ...
1832 (init_cpu_features): Here.
1833
1834 2016-06-07 Carlos O'Donell <carlos@redhat.com>
1835
1836 [BZ #20214]
1837 * sysdeps/unix/sysv/linux/bits/in.h
1838 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1839 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1840 Define to 1.
1841 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1842 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1843 Define to 0.
1844 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1845 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1846
1847 2016-06-06 Carlos O'Donell <carlos@redhat.com>
1848
1849 [BZ #20198]
1850 * stdlib/Makefile (tests): Add tst-quick_exit, and
1851 tst-thread-quick_exit.
1852 [ifeq ($(have-cxx-thread_local),yes)]
1853 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1854 (CFLAGS-tst-thread-quick_exit.o): Likewise.
1855 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1856 (LDLIBS-tst-thread-quick_exit): Likewise.
1857 [ifneq ($(have-cxx-thread_local),yes)]
1858 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1859 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1860 If run_dtors is true call __call_tls_dtors.
1861 (exit): Call __run_exit_handlers with run_dtors set to true.
1862 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1863 definition.
1864 * stdlib/quick_exit.c (quick_exit): Remove function.
1865 (__new_quick_exit): New function.
1866 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1867 function.
1868 * stdlib/tst-quick_exit.cc: New file.
1869 * stdlib/tst-thread-quick_exit.cc: New file.
1870 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1871 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1872 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1873 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1874 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1875 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1876 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1877 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1878 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1879 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1880 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1881 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1882 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1883 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1884 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1885 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1890 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1891 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1892 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1893 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1894 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1897 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1898 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1899 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1900
1901 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
1902
1903 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1904 a typo in comments.
1905
1906 2016-06-06 Joseph Myers <joseph@codesourcery.com>
1907
1908 [BZ #20213]
1909 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1910 argument to itself.
1911 * math/libm-test.inc (asin_test_data): Add sNaN tests.
1912
1913 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1914
1915 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1916 required flags.
1917 (CFLAGS-pwritev64.c): Likewise.
1918 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1919 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1920 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1921 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1922 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1923 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1924 syscall from auto-generation.
1925 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1926 [WORDSIZE == 64] (pwritev64): Remove macro.
1927 [!PWRITEV] (PWRITEV): Likewise.
1928 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1929 [!PWRITEV] (PWRITE): Likewise.
1930 [!PWRITEV] (OFF_T): Likewise.
1931 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1932 (LO_HI_LONG): Remove macro.
1933 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1934 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1935 (PWRITEV): Remove macro.
1936 (PWRITEV_REPLACEMENTE): Likewise.
1937 (PWRITE): Likewise.
1938 (OFF_T): Likewise.
1939 (pwritev64): New function.
1940 * nptl/tst-cancel4.c (tf_writev): Add test.
1941
1942 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1943 required flags.
1944 (CFLAGS-preadv64.c): Likewise.
1945 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1946 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1947 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1948 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1949 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1950 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1951 syscall from auto-generation.
1952 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1953 [WORDSIZE == 64] (preadv64): Remove macro.
1954 [!PREADV] (PREADV): Likewise.
1955 [!PREADV] (PREADV_REPLACEMENT): Likewise.
1956 [!PREADV] (PREAD): Likewise.
1957 [!PREADV] (OFF_T): Likewise.
1958 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1959 (LO_HI_LONG): Remove macro.
1960 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1961 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1962 (PREADV): Remove macro.
1963 (PREADV_REPLACEMENTE): Likewise.
1964 (PREAD): Likewise.
1965 (OFF_T): Likewise.
1966 (preadv64): New function.
1967 * nptl/tst-cancel4.c (tf_preadv): Add test.
1968
1969 2016-06-06 Joseph Myers <joseph@codesourcery.com>
1970
1971 [BZ #20212]
1972 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1973 argument to itself.
1974 * math/libm-test.inc (acos_test_data): Add sNaN tests.
1975
1976 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1977
1978 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1979 New symbol defined as libc_hidden_def.
1980 (strcasestr): Became a weak alias to __strcasestr.
1981 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1982 according to multi-arch support. Move __stpncpy hidden
1983 definition from here to...
1984 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
1985 symbol stpncpy.
1986 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1987 libc_hidden_builtin_def.
1988 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1989 memset symbol to use when multi-arch support is available.
1990
1991 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
1992
1993 * dlfcn/tst-rec-dlopen.c: Include string.h.
1994
1995 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1996
1997 * manual/install.texi: Remove mention of --without-tls
1998 * INSTALL: Regenerate.
1999
2000 2016-06-05 Florian Weimer <fweimer@redhat.com>
2001
2002 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2003 Remove.
2004 (call_function, interposed_malloc_called): New variables.
2005 (malloc): New function.
2006 (do_test): Do not change malloc hooks. Initialize malloc. Set
2007 and clear call_function as needed.
2008
2009 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
2010
2011 * include/wchar.h (__wmemset): Use __typeof.
2012
2013 2016-06-03 Carlos O'Donell <carlos@redhat.com>
2014
2015 * include/wchar.h (__wmemset): Declare function without typeof.
2016
2017 2016-06-03 Joseph Myers <joseph@codesourcery.com>
2018
2019 [BZ #20205]
2020 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
2021 exponent when incrementing negative subnormal with low mantissa
2022 word zero.
2023 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2024 Add another test.
2025
2026 2016-06-03 Florian Weimer <fweimer@redhat.com>
2027
2028 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
2029 __wmemset instead of wmemset.
2030
2031 2016-06-02 Carlos O'Donell <carlos@redhat.com>
2032
2033 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
2034 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
2035 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
2036 __USE_KERNEL_IPV6_DEFS to 0.
2037 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
2038 Update comment.
2039
2040 2016-06-01 Florian Weimer <fweimer@redhat.com>
2041
2042 [BZ #19861]
2043 Do not use IFUNC resolver with potentially unrelocated symbol.
2044 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
2045 (DEFINE_FORK): Remove macro and inline definition.
2046 (fork_alias): Renamed from fork_ifunc.
2047 (__fork_alias): Renamed from __fork_ifunc.
2048
2049 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
2050
2051 [BZ 19653]
2052 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
2053 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
2054
2055 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2056
2057 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
2058 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
2059 i386-linux-gnu).
2060 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
2061 Set to no.
2062 * sysdeps/mach/hurd/configure: Refresh.
2063
2064 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2065
2066 [BZ #20178]
2067 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
2068 on failure instead of exit.
2069
2070 2016-05-30 Roland McGrath <roland@hack.frob.com>
2071
2072 [BZ #3629]
2073 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
2074 of POSIX.1-2008.
2075
2076 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2077
2078 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
2079 Use PLT entry for calling _hurd_self_sigstate.
2080
2081 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2082
2083 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
2084 available logical processors with SMT level type sharing L2
2085 cache for Intel processors.
2086
2087 2016-05-27 Joseph Myers <joseph@codesourcery.com>
2088
2089 [BZ #20160]
2090 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
2091 argument to itself before returning the result.
2092 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2093 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2094 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2095 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2096 Likewise.
2097 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2098 Likewise.
2099 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
2100 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
2101 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2102 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2103 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2104 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2105
2106 [BZ #20160]
2107 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
2108 argument to itself before returning the result.
2109 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2110 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2111 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2112 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
2113 Likewise.
2114 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2115 Likewise.
2116 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
2117 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
2118 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
2119 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2120 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2121 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2122
2123 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2124
2125 * libm-test.inc: Replace usage of M_El with
2126 (lit_e): New macro.
2127
2128 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2129
2130 * libm-test.inc: Replace usage of M_PI_4l with
2131 (lit_pi_4_d): New macro.
2132
2133 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2134
2135 * libm-test.inc: Replace usage of M_PIl with
2136 (lit_pi): New macro.
2137
2138 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2139
2140 * libm-test.inc: Replace usage of M_PI2l with
2141 (lit_pi_2_d): New macro.
2142
2143 * math/test-double.h (LITM): New macro.
2144 * math/test-float.h (LITM): Likewise.
2145 * math/test-ldouble.h (LITM): Likewise.
2146
2147 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2148
2149 * libm-test.inc (M_PI_34l): Rename to
2150 (lit_pi_3_m_4_d): New Macro.
2151 (M_PI_34_LOG10El): Rename to
2152 (lit_pi_3_m_4_ln10_m_d): New Macro.
2153 (M_PI2_LOG10El): Rename to
2154 (lit_pi_2_ln10_m_d): New Macro.
2155 (M_PI4_LOG10El): Rename to
2156 (lit_pi_4_ln10_m_d): New Macro.
2157 (M_PI_LOG10El): Rename to
2158 (lit_pi_ln10_d): New Macro.
2159
2160 2016-05-27 Joseph Myers <joseph@codesourcery.com>
2161
2162 [BZ #20157]
2163 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2164 determine whether to negate low half if [_ARCH_PPCGR], and integer
2165 comparison otherwise.
2166 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2167 determine whether to negate low half.
2168
2169 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2170 (NO_TEST_INLINE_DOUBLE): Likewise.
2171 (TEST_COND_x86_64): Likewise.
2172 (TEST_COND_x86): Likewise.
2173 (M_PI_6l): Likewise.
2174
2175 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2176
2177 * math/libm-test.inc:
2178 (TEST_FLOAT): Change usage to TEST_COND_binary32.
2179 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2180 (TEST_LDOUBLE): Update usage to evaluate as true if
2181 the guarded tests match the property being tested.
2182 (LDBL_MAX_EXP): Change to MAX_EXP.
2183 (LDBL_MIN_EXP): Change to MIN_EXP.
2184 (LDBL_MANT_DIG): Change to MANT_DIG, except for
2185 nexttoward tests.
2186
2187 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2188
2189 * math/libm-test.inc:
2190 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2191 (TYPE_MIN): Likewise.
2192 (TYPE_TRUE_MIN): Likewise.
2193 (TYPE_MAX): Likewise.
2194 (MIN_EXP): Likewise.
2195 (MAX_EXP): Likewise.
2196 (MANT_DIG): Likewise.
2197
2198 (FSTR_MAX): New macro.
2199 (__CONCATX): Likewise.
2200 (QTYPE_STR): Likewise.
2201 (TEST_COND_binary32): Likewise.
2202 (TEST_COND_binary64): Likewise.
2203 (TEST_COND_binary128): Likewise.
2204 (TEST_COND_ibm128): Likewise.
2205 (TEST_COND_intel96): Likewise.
2206 (TEST_COND_m68k96): Likewise.
2207
2208 (TEST_COND_flt_32): Redefine as equivalent format test macro.
2209 (TEST_COND_dbl_64): Likewise.
2210 (TEST_COND_ldbl_96_intel): Likewise.
2211 (TEST_COND_ldbl_96_m68k): Likewise.
2212 (TEST_COND_ldbl_128): Likewise.
2213 (TEST_COND_ldbl_128ibm): Likewise.
2214
2215 (plus_zero): Redefine using LIT macro.
2216 (minus_zero): Likewise.
2217 (plus_infty): Redefine as (INF).
2218 (minux_infty): Redefine as (-INF).
2219 (max_value): Redefine as TYPE_MAX.
2220 (min_value): Redefine as TYPE_MIN.
2221 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2222
2223 (print_float): Refactor to use snprintf to convert FLOAT values
2224 to string. This brings it closer to dropin replacement of strtof
2225 for the TS 18661 defined types.
2226 (update_stats): Likewise.
2227 (print_complex_function_ulps): Likewise.
2228 (print_max_error): Likewise.
2229 (print_complex_max_error): Likewise.
2230 (check_float_internal): Likewise.
2231
2232 * math/test-float.h (PREFIX): New macro.
2233 (LIT): Likewise.
2234 (TYPE_STR): Likewise.
2235 (FTOSTR): Likewise.
2236
2237 * math/test-double.h (PREFIX): New macro.
2238 (LIT): Likewise.
2239 (TYPE_STR): Likewise.
2240 (FTOSTR): Likewise.
2241
2242 * math/test-ldouble.h (PREFIX): New macro.
2243 (LIT): Likewise.
2244 (TYPE_STR): Likewise.
2245 (FTOSTR): Likewise.
2246
2247 2016-05-27 Joseph Myers <joseph@codesourcery.com>
2248
2249 [BZ #20156]
2250 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2251 to itself when zero or not finite.
2252 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2253 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2254 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2255 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2256
2257 2016-05-26 Joseph Myers <joseph@codesourcery.com>
2258
2259 [BZ #20153]
2260 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2261 x * x + x for infinities and NaNs.
2262
2263 [BZ #20151]
2264 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2265 argument to itself before returning result.
2266 (__ieee754_y0l): Likewise.
2267 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2268 (__ieee754_y1l).
2269
2270 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2271 (atan_test_data): Likewise.
2272 (ceil_test_data): Likewise.
2273 (cos_test_data): Likewise.
2274 (cosh_test_data): Likewise.
2275 (erf_test_data): Likewise.
2276 (exp2_test_data): Likewise.
2277 (fabs_test_data): Likewise.
2278 (floor_test_data): Likewise.
2279 (ilogb_test_data): Likewise.
2280 (j0_test_data): Likewise.
2281 (j1_test_data): Likewise.
2282 (jn_test_data): Likewise.
2283 (lgamma_test_data): Likewise.
2284 (lrint_test_data): Likewise.
2285 (llrint_test_data): Likewise.
2286 (logb_test_data): Likewise.
2287 (lround_test_data): Likewise.
2288 (llround_test_data): Likewise.
2289 (nearbyint_test_data): Likewise.
2290 (rint_test_data): Likewise.
2291 (round_test_data): Likewise.
2292 (sin_test_data): Likewise.
2293 (sincos_test_data): Likewise.
2294 (sinh_test_data): Likewise.
2295 (sqrt_test_data): Likewise.
2296 (tan_test_data): Likewise.
2297 (tanh_test_data): Likewise.
2298 (tgamma_test_data): Likewise.
2299 (trunc_test_data): Likewise.
2300 (y0_test_data): Likewise.
2301 (y1_test_data): Likewise.
2302 (yn_test_data): Likewise.
2303
2304 * math/libm-test.inc: Update comment about NaN testing.
2305 (TEST_SNAN): New macro.
2306 (snan_value): Likewise.
2307 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
2308 (fpclassify_test_data): Add sNaN tests.
2309 (isfinite_test_data): Likewise.
2310 (isinf_test_data): Likewise.
2311 (isnan_test_data): Likewise.
2312 (isnormal_test_data): Likewise.
2313 (issignaling_test_data): Likewise.
2314 (signbit_test_data): Likewise.
2315 * math/gen-libm-test.pl (%beautify): Add snan_value.
2316 (show_exceptions): Add argument $test_snan.
2317 (parse_args): Handle snan_value as non-finite. Update call to
2318 show_exceptions.
2319 * math/Makefile (libm-test-no-inline-cflags): Add
2320 -fsignaling-nans.
2321
2322 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2323
2324 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
2325 (CFLAGS-oldsendmsg.c): Add rule.
2326 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2327 Correct recvmsg symbol name.
2328 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
2329 Likewise.
2330
2331 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2332
2333 * sysdeps/unix/sysv/linux/Makefile
2334 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
2335 oldsendmmsg.
2336 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
2337 sendmmsg.
2338 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2339 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2340 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2341 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2343 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2344 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2346 Likewise.
2347 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2348 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
2349 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2350 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
2351 iovlen and controllen fields to adjust to POSIX specification.
2352 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2353
2354 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
2355 and change to correct expected type.
2356 (msghdr.msg_controllen): Likewise.
2357 (cmsghdr.cmsg_len): Likewise.
2358 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
2359 expected POSIX assumption about the size.
2360 (msghdr.msg_controllen): Likewise.
2361 (msghdr.__glibc_reserved1): Likewise.
2362 (msghdr.__glibc_reserved2): Likewise.
2363 (cmsghdr.cmsg_len): Likewise.
2364 (cmsghdr.__glibc_reserved1): Likewise.
2365 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
2366 Add ptw-oldrecvmsg and ptw-oldsendmsg.
2367 (CFLAGS-sendmsg.c): Remove rule.
2368 (CFLAGS-recvmsg.c): Likewise.
2369 (CFLAGS-oldsendmsg.c): Add rule.
2370 (CFLAGS-oldrecvmsg.c): Likewise.
2371 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
2372 recvmsg and sendmsg.
2373 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2374 Likewise.
2375 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2376 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2377 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2378 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2379 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2380 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2381 Likewise.
2382 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2383 Likewise.
2384 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2385 Likewise.
2386 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2387 Likewise.
2388 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2389 Likewise.
2390 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2391 Likewise.
2392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2393 (GLIBC_2.24): Likewise.
2394 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2395 Likewise.
2396 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2397 Likewise.
2398 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2399 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2400 Likewise.
2401 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2402 Likewise.
2403 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2404 Likewise.
2405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2406 (GLIBC_2.24): Likewise.
2407 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2408 Likewise.
2409 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2410 Likewise.
2411 * sysdeps/unix/sysv/linux/Makefile
2412 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2413 (CFLAGS-sendmsg.c): Add rule.
2414 (CFLAGS-recvmsg.c): Likewise.
2415 (CFLAGS-oldsendmsg.c): Likewise.
2416 (CFLAGS-oldrecvmsg.c): Likewise.
2417 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2418 initialization.
2419 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2420 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2421 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2422 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2423 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2424 iovlen and controllen fields to adjust to POSIX specification.
2425 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2426 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2427 added recvmsg and sendmsg.
2428 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2429 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2430 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2431 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2432 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2433 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2434 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2435 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2436 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2437 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2438 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2439 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2441 Likewise.
2442 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2444 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2445 Likewise.
2446 Likewise.
2447 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2448 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2449 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2450 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2451 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2452 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2454 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2456 Likewise.
2457 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2458 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2459
2460 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2461 from auto-generation.
2462 (sendmsg): Likewise.
2463 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2464 (sendmsg): Likewise.
2465 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2466 (sendmsg): Likewise.
2467 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2468 (sendmsg): Likewise.
2469 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2470 (sendmsg): Likewise.
2471 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2472 (sendmsg): Likewise.
2473 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2474 Likewise.
2475 (sendmsg): Likewise.
2476 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2477 (sendmsg): Likewise.
2478 * sysdeps/unix/sysv/linux/i386/kernel-features.h
2479 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2480 Remove.
2481 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2482 Likewise.
2483 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2484 Undefine.
2485 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2486 Likewise.
2487 * sysdeps/unix/sysv/linux/kernel-features.h
2488 (__ASSUME_SENDMSG_SYSCALL): Define.
2489 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2490 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2491 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2492 Remove.
2493 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2494 Likewise.
2495 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2496 Undefine.
2497 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2498 Likewise.
2499 * sysdeps/unix/sysv/linux/s390/kernel-features.h
2500 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2501 Remove.
2502 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2503 Likewise.
2504 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2505 Undefine.
2506 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2507 Likewise.
2508 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2509 (__ASSUME_SENDMSG_SYSCALL): Undefine.
2510 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2511 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2512 (__ASSUME_SENDMSG_SYSCALL): Likewise.
2513 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2514 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2515 (__ASSUME_SENDMSG_SYSCALL): Likewise.
2516 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2517
2518 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2519
2520 * stdlib/gen-tst-strtod-round.c: Add backslash to
2521 compile command in comment.
2522 (printfp): Remove the literal suffix, and define an infinite
2523 value as INF to avoid expansion clash with INFINITY.
2524 (round_str): Remove the literal suffix.
2525 (round_for_all): Likewise, remove the now duplicate ldbl-64
2526 entry, and remove some magic constants.
2527
2528 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2529 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
2530 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2531 (_CONCAT): New macro.
2532 (CONCAT): Likewise.
2533 (CHOOSE_ld): Likewise.
2534 (CHOOSE_f): Likewise.
2535 (CHOOSE_d): Likewise.
2536 (FTYPE_MEMBER): Likewise.
2537 (BOOL_MEMBER): Likewise.
2538 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2539 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2540 (_XNTRY): Likewise.
2541 (XNTRY): Likewise.
2542 (_ENTRY): Likewise.
2543 (ENTRY): Likewise.
2544 (test_exactness): Generate members via macro.
2545 (test_results): Likewise.
2546 (test): Update members.
2547 (TEST): Redefine using new macros.
2548 (INF): New macro.
2549 (fetestmodes): New structure.
2550 (do_test): Refactor to be type generic.
2551 (test_in_one_mode): Refactor duplicate code into
2552 (GEN_ONE_TEST): New macro.
2553
2554 * stdlib/tst-strtod-round-data.h: Regenerate.
2555
2556 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2557 Extend to pass additional arbitrary parameters to
2558 generators.
2559
2560 2016-05-25 Joseph Myers <joseph@codesourcery.com>
2561
2562 [BZ #15479]
2563 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2564 floating-point state after first floating-point operation on
2565 input. Restore full floating-point state instead of just rounding
2566 mode.
2567 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2568 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2569 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2570 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2571 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2572
2573 [BZ #15479]
2574 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2575 floating-point state after first floating-point operation on
2576 input. Restore full floating-point state instead of just rounding
2577 mode.
2578 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2579 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2580 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2581 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2582 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2583
2584 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2585
2586 [BZ #19727]
2587 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2588 valid high surrogate.
2589 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2590 of an utf16 surrogate.
2591 * iconv/gconv_simple.c (BODY): Likewise.
2592 * iconvdata/bug-iconv12.c: New file.
2593 * iconvdata/Makefile (tests): Add bug-iconv12.
2594
2595 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2596
2597 [BZ #19726]
2598 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2599 outptrp in case of an illegal input.
2600 * iconv/tst-iconv6.c: New file.
2601 * iconv/Makefile (tests): Add tst-iconv6.
2602
2603 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2604
2605 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2606 an error in case of a value in range of an utf16 low surrogate.
2607
2608 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2609
2610 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2611 an error in case of a value in range of an utf16 low surrogate.
2612
2613 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2614
2615 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2616 Move to ...
2617 * sysdeps/s390/Makefile: ... here.
2618 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2619 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2620 (BRANCH_ON_COUNT): New define.
2621 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2622 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2623 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2624 run on s390-32, too.
2625 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2626 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2627 run on s390-32, too.
2628 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2629 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2630 run on s390-32, too.
2631
2632 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2633
2634 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2635 etf3eh or new vector loop-variant.
2636
2637 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2638
2639 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2640 etf3eh or new vector loop-variant.
2641
2642 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2643
2644 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2645 or new vector loop-variant.
2646
2647 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2648
2649 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2650 Rename to TR_LOOP and usage of tr instead of troo instruction.
2651
2652 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2653
2654 * sysdeps/s390/multiarch/gconv_simple.c: New File.
2655 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2656
2657 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2658
2659 * sysdeps/s390/multiarch/8bit-generic.c: New File.
2660 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2661 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2662 New override define.
2663 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2664
2665 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2666
2667 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2668 * sysdeps/s390/configure.ac: Add test for S390 vector register
2669 support in gcc.
2670 * sysdeps/s390/configure: Regenerated.
2671
2672 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2673
2674 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2675 Install file from $(objpfx)gconv-modules.
2676 ($(objpfx)gconv-modules): Concatenate architecture specific file
2677 in variable sysdeps-gconv-modules and gconv-modules in src dir.
2678 * sysdeps/s390/gconv-modules: New file.
2679 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2680 Deleted.
2681 ($(objpfx)gconv-modules-s390): Deleted.
2682 (sysdeps-gconv-modules): New variable.
2683
2684 2016-05-24 Joseph Myers <joseph@codesourcery.com>
2685
2686 [BZ #15479]
2687 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2688 of immediate operand to rounding instruction.
2689 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2690 Likewise.
2691 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2692 Likewise.
2693 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2694 Likewise.
2695
2696 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2697
2698 * math/libm-test.inc (MIN_EXP): Directly define as
2699 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2700
2701 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2702
2703 * math/libm-test.inc (MANT_DIG): Directly define as
2704 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2705
2706 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2707
2708 * stdlib/gen-tst-strtod-round.c (main):
2709 Change usage to more closely match the generated
2710 output. Add usage and compilation instructions.
2711 (string_to_fp): Add and use FILE* parameter as
2712 output target.
2713 (print_fp): Likewise.
2714 (round_str): Likewise.
2715 (round_for_all): Likewise.
2716 * stdlib/tst-strtod-round.c (tests): Move into
2717 * stdlib/tst-strtod-round-data.h: New file.
2718
2719 2016-05-24 Joseph Myers <joseph@codesourcery.com>
2720
2721 [BZ #15479]
2722 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2723 (__round): Do not force "inexact" exception.
2724 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2725 variable.
2726 (__round): Do not force "inexact" exception.
2727 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2728 (__roundf): Do not force "inexact" exception.
2729 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2730 (__roundl): Do not force "inexact" exception.
2731 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2732 (__roundl): Do not force "inexact" exception.
2733 * math/libm-test.inc (round_test_data): Do not allow spurious
2734 "inexact" exceptions.
2735
2736 [BZ #15479]
2737 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2738 exception in comment.
2739 (huge): Remove variable.
2740 (__floor): Do not force "inexact" exception.
2741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2742 "inexact" exception in comment.
2743 (huge): Remove variable.
2744 (__floor): Do not force "inexact" exception.
2745 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2746 exception in comment.
2747 (huge): Remove variable.
2748 (__floorf): Do not force "inexact" exception.
2749 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2750 exception in comment.
2751 (huge): Remove variable.
2752 (__floorl): Do not force "inexact" exception.
2753
2754 [BZ #15479]
2755 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2756 exception in comment.
2757 (huge): Remove variable.
2758 (__ceil): Do not force "inexact" exception.
2759 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2760 "inexact" exception in comment.
2761 (huge): Remove variable.
2762 (__ceil): Do not force "inexact" exception.
2763 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2764 (__ceilf): Do not force "inexact" exception.
2765 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2766 exception in comment.
2767 (huge): Remove variable.
2768 (__ceill): Do not force "inexact" exception.
2769
2770 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
2771
2772 * config.h.in (BIND_NOW): New.
2773 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
2774 * configure: Regenerated.
2775 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2776 indirect branch via the GOT slot.
2777
2778 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2779
2780 [BZ #19765]
2781 * sysdeps/s390/mempcpy.S: New File.
2782 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2783 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2784 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2785 Add mempcpy variants.
2786 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2787 (memcpy): Adjust to be usable from mempcpy entry point.
2788 (__memcpy_mvcle): Likewise.
2789 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2790 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2791 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2792 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2793 (__memcpy_z10): Likewise.
2794 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2795
2796 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2797
2798 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2799 Remove __GI_ symbol.
2800 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2801 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2802 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2803 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2804 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2805 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2806
2807 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2808
2809 * sysdeps/s390/s390-64/memcpy.S (memcpy):
2810 Use cghi instead of chi to compare 64bit value.
2811
2812 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2813
2814 * sysdeps/s390/s390-32/memcpy.S (memcpy):
2815 Jump to 1MB check before executing mvc-loop.
2816
2817 2016-05-24 Florian Weimer <fweimer@redhat.com>
2818
2819 [BZ #6527]
2820 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2821 unconditionally.
2822 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2823
2824 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2825
2826 * stdlib/tst-strtod6.c (do_test): Use new type generic
2827 invocation of the test function.
2828 (test): Refactor into ...
2829 (TEST_STRTOD): New macro base function.
2830
2831 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2832
2833 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2834 (TEST_STRTOD): New macro.
2835 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2836
2837 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2838
2839 * stdlib/tst-strtod6.c (do_test): Use new type generic
2840 invocation of the test function.
2841 (test): Refactor into ...
2842 (TEST_STRTOD): New macro base function.
2843
2844 2016-05-23 Florian Weimer <fweimer@redhat.com>
2845
2846 CVE-2016-4429
2847 [BZ #20112]
2848 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2849 payload.
2850
2851 2016-05-23 Florian Weimer <fweimer@redhat.com>
2852
2853 [BZ #20111]
2854 * bits/sockaddr.h (_SS_SIZE): Define.
2855 * bits/socket.h (_SS_SIZE): Remove.
2856 (_SS_PADSIZE): Adjust to account for all padding.
2857 (struct sockaddr_storage): Update comment. Avoid implicit
2858 padding.
2859 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2860 (_SS_PADSIZE): Adjust to account for all padding.
2861 (struct sockaddr_storage): Update comment. Avoid implicit
2862 padding.
2863 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2864 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2865 (_SS_PADSIZE): Adjust to account for all padding.
2866 (struct sockaddr_storage): Update comment. Avoid implicit
2867 padding.
2868 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2869 __SS_SIZE is 126 in this version.
2870 * inet/tst-sockaddr.c: New file.
2871 * inet/Makefile (tests): Add tst-sockaddr.c
2872 (tst-sockaddr.c): Compile with non-strict aliasing.
2873
2874 2016-05-23 Joseph Myers <joseph@codesourcery.com>
2875
2876 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2877 [XPG3 || XPG4].
2878 (NL_ARGMAX): Also expect for [XPG3].
2879 (NL_LANGMAX): Likewise.
2880 (NL_MSGMAX): Likewise.
2881 (NL_NMAX): Likewise.
2882 (NL_SETMAX): Likewise.
2883 (NL_TEXTMAX): Likewise.
2884 (NZERO): Likewise.
2885 (TMP_MAX): Likewise.
2886 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2887 variable.
2888
2889 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2890 (PF_MAX): Update value.
2891 (AF_KCM): New macro.
2892 (SOL_NETBEUI): Likewise.
2893 (SOL_LLC): Likewise.
2894 (SOL_DCCP): Likewise.
2895 (SOL_NETLINK): Likewise.
2896 (SOL_TIPC): Likewise.
2897 (SOL_RXRPC): Likewise.
2898 (SOL_PPPOL2TP): Likewise.
2899 (SOL_BLUETOOTH): Likewise.
2900 (SOL_PNPIPE): Likewise.
2901 (SOL_RDS): Likewise.
2902 (SOL_IUCV): Likewise.
2903 (SOL_CAIF): Likewise.
2904 (SOL_ALG): Likewise.
2905 (SOL_NFC): Likewise.
2906 (SOL_KCM): Likewise.
2907 (MSG_BATCH): New enum value and macro.
2908
2909 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
2910
2911 [BZ #18185]
2912 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2913 sharing L2 cache to 2 for Knights Landing.
2914
2915 2016-05-20 Joseph Myers <joseph@codesourcery.com>
2916
2917 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2918 (FTW_DP): Do not expect for [XPG3 || XPG4].
2919 (FTW_SL): Do not expect for [XPG3].
2920 (FTW_SLN): Likewise.
2921 (FTW_PHYS): Likewise.
2922 (FTW_MOUNT): Likewise.
2923 (FTW_DEPTH): Likewise.
2924 (FTW_CHDIR): Likewise.
2925 (nftw): Likewise.
2926 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2927 variable.
2928
2929 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
2930
2931 * manual/errno.texi: Fix various typos & grammar errors.
2932
2933 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
2934
2935 * manual/intro.texi: Fix duplicated typo.
2936
2937 2016-05-19 Joseph Myers <joseph@codesourcery.com>
2938
2939 [BZ #13304]
2940 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2941 <float.h>, <math_private.h> and <stdlib.h>.
2942 (add_split): New function.
2943 (mul_split): Likewise.
2944 (ext_val): New typedef.
2945 (store_ext_val): New function.
2946 (mul_ext_val): New function.
2947 (compare): New function.
2948 (add_split_ext): New function.
2949 (__fmal): After checking for Inf, NaN and zero, compute result as
2950 an exact sum of scaled double values in round-to-nearest before
2951 adding those up and adjusting for other rounding modes.
2952 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2953 tests of fma.
2954 * math/auto-libm-test-out: Regenerated.
2955
2956 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2957
2958 [BZ #20119]
2959 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2960 processor level type mask for CPUID with EAX == 11.
2961
2962 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2963
2964 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2965 logical threads if the HTT bit is 0.
2966 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2967 (index_cpu_HTT): Likewise.
2968 (reg_HTT): Likewise.
2969
2970 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2971
2972 [BZ #20115]
2973 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2974 Remove alignments on jump targets.
2975
2976 2016-05-19 Joseph Myers <joseph@codesourcery.com>
2977
2978 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2979 (getpwent): Likewise.
2980 (setpwent): Likewise.
2981 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2982 variable.
2983
2984 * conform/data/search.h-data (insque): Do not expect for [XPG3].
2985 (remque): Likewise.
2986 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2987 variable.
2988
2989 2016-05-18 Joseph Myers <joseph@codesourcery.com>
2990
2991 * math/libm-test.inc: Update comment not to refer to signs of NaNs
2992 not being tested.
2993
2994 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
2995
2996 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2997 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
2998 call.
2999 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3000 (__condvar_cleanup1): Likewise.
3001
3002 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
3003
3004 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3005 New
3006 (__pthread_unwind): Renamed to ...
3007 (PTHREAD_UNWIND): This.
3008 (__pthread_enable_asynccancel): Replace
3009 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3010
3011 2016-05-18 Joseph Myers <joseph@codesourcery.com>
3012
3013 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
3014 (CLONE_NEWCGROUP): New macro.
3015
3016 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
3017 (Q_GETNEXTQUOTA): New macro.
3018
3019 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
3020
3021 [BZ #19907]
3022 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
3023 buffer updated by the previous run.
3024 * string/test-memcpy.c (do_one_test): Likewise.
3025 * benchtests/bench-memmove.c (do_one_test): Add a comment.
3026 * string/test-memmove.c (do_one_test): Likewise.
3027
3028 2016-05-17 Joseph Myers <joseph@codesourcery.com>
3029
3030 [BZ #20094]
3031 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
3032 not [__USE_XOPEN].
3033 (unlockpt): Likewise.
3034 (ptsname): Likewise.
3035 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
3036 variable.
3037
3038 [BZ #20076]
3039 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
3040 instead of [__USE_UNIX98].
3041 (S_ISSOCK): Likewise.
3042 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
3043 variable.
3044
3045 [BZ #20074]
3046 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
3047 [__USE_POSIX].
3048 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
3049 variable.
3050
3051 [BZ #20051]
3052 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
3053 (ttyslot): Do not declare.
3054 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
3055 (ttyslot): New prototype.
3056 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
3057 variable.
3058 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3059
3060 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3061
3062 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
3063
3064 2016-05-13 Florian Weimer <fweimer@redhat.com>
3065
3066 Fix race condition in tst-mallocfork2, use fewer resources.
3067 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
3068 to current process group.
3069 (signal_sender): Yield in the non-sleeping case.
3070
3071 2016-05-13 Joseph Myers <joseph@codesourcery.com>
3072
3073 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
3074 (ecvt): Likewise.
3075 (fcvt): Likewise.
3076 (gcvt): Likewise.
3077 (getsubopt): Likewise.
3078 (grantpt): Likewise.
3079 (initstate): Likewise.
3080 (l64a): Likewise.
3081 (mktemp): Likewise.
3082 (mkstemp): Likewise.
3083 (ptsname): Likewise.
3084 (random): Likewise.
3085 (realpath): Likewise.
3086 (setstate): Likewise.
3087 (srandom): Likewise.
3088 (ttyslot): Likewise.
3089 (unlockpt): Likewise.
3090 (valloc): Likewise.
3091
3092 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
3093 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
3094 variable.
3095
3096 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
3097
3098 [BZ #20072]
3099 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
3100 init_cpu_features only if SHARED is defined.
3101 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3102
3103 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
3104
3105 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
3106 non-inclusive caches on Intel processors.
3107
3108 2016-05-13 Florian Weimer <fweimer@redhat.com>
3109
3110 * malloc/malloc.c (dumped_main_arena_start)
3111 (dumped_main_arena_end): New variables.
3112 (DUMPED_MAIN_ARENA_CHUNK): New macro.
3113 (do_check_chunk): Skip dumped fake mmapped chunks.
3114 (munmap_chunk): Likewise.
3115 (__libc_free): Do not adjust statistics for fake mmapped chunks.
3116 (__libc_realloc): Adjust hardening check. Always copy dumped fake
3117 mmapped chunks.
3118 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
3119 Mark dumped chunks as using mmap. Update dumped_main_arena_start
3120 and dumped_main_arena_end to cover the dumped heap.
3121
3122 2016-05-12 Joseph Myers <joseph@codesourcery.com>
3123
3124 * conform/data/time.h-data (getdate_err): Do not expect for
3125 [XPG3].
3126 (getdate): Likewise.
3127 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3128 variable.
3129
3130 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3131 (F_ULOCK): Likewise.
3132 (F_TEST): Likewise.
3133 (F_TLOCK): Likewise.
3134 (useconds_t): Likewise.
3135 (intptr_t): Do not expect for [XPG3] or [XPG4].
3136 (brk): Do not expect for [XPG3]
3137 (fchown): Likewise.
3138 (fchdir): Likewise.
3139 (ftruncate): Likewise.
3140 (getdtablesize): Likewise.
3141 (gethostid): Likewise.
3142 (getpagesize): Likewise.
3143 (getpgid): Likewise.
3144 (getsid): Likewise.
3145 (getwd): Likewise.
3146 (lchown): Likewise.
3147 (lockf): Likewise.
3148 (readlink): Likewise.
3149 (sbrk): Likewise.
3150 (setpgrp): Likewise.
3151 (setregid): Likewise.
3152 (setreuid): Likewise.
3153 (symlink): Likewise.
3154 (sync): Likewise.
3155 (truncate): Likewise.
3156 (ualarm): Likewise.
3157 (usleep): Likewise.
3158 (vfork): Likewise.
3159 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3160 variable.
3161
3162 [BZ #20054]
3163 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3164 not [__USE_UNIX98].
3165 * conform/data/unistd.h-data (gethostname): Do not expect for
3166 [XPG3].
3167
3168 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3169 [!POSIX] (S_IFBLK): Likewise.
3170 [!POSIX] (S_IFCHR): Likewise.
3171 [!POSIX] (S_IFIFO): Likewise.
3172 [!POSIX] (S_IFREG): Likewise.
3173 [!POSIX] (S_IFDIR): Likewise.
3174 [!POSIX] (S_IFLNK): Likewise.
3175 [!POSIX] (S_IFSOCK): Likewise.
3176 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3177 variable.
3178 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3179
3180 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
3181
3182 * sysdeps/aarch64/memset.S (__memset):
3183 Rewrite of optimized memset.
3184
3185 2016-05-12 Florian Weimer <fweimer@redhat.com>
3186
3187 [BZ #19703]
3188 Partially async-signal-safe fork for single-threaded processes.
3189 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3190 variable. Do not acquire and reset/release malloc and libio locks
3191 in single-threaded processes.
3192 * malloc/tst-mallocfork2.c: New file.
3193 * malloc/Makefile (tests): Add it.
3194
3195 2016-05-12 Florian Weimer <fweimer@redhat.com>
3196
3197 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3198 argument. Use scratch buffer instead of extend_alloca.
3199 (gethosts): Use scratch buffer instead of extend_alloca.
3200 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
3201 extend_alloca.
3202 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3203
3204 2016-05-11 Joseph Myers <joseph@codesourcery.com>
3205
3206 [BZ #20055]
3207 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3208 instead of [__USE_UNIX98].
3209 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3210 [__USE_UNIX98].
3211 * conform/data/termios.h-data (tcgetsid): Do not expect for
3212 [XPG3].
3213 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3214 variable.
3215 (test-xfail-XPG4/termios.h/conform): Likewise.
3216
3217 2016-05-11 Florian Weimer <fweimer@redhat.com>
3218
3219 Do not use mcheck in localedef.
3220 * locale/programs/localedef.c (turn_on_mcheck)
3221 (__malloc_initialize_hook): Remove.
3222
3223 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3224
3225 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3226 * sysdeps/s390/s390-64/Makefile: Likewise.
3227
3228 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
3229
3230 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3231 Remove ifunc-defines.sym.
3232 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3233 Likewise.
3234 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3235 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3236 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3237 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3238 rtld-global-offsets.sym.
3239 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3240 * sysdeps/x86/cpu-features-offsets.sym: This.
3241 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3242 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3243
3244 2016-05-10 Joseph Myers <joseph@codesourcery.com>
3245
3246 [BZ #20073]
3247 * io/sys/stat.h (fchmod): Declare for
3248 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3249 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3250 variable.
3251
3252 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3253 [XPG3] (S_IFSOCK): Likewise.
3254 [XPG3] (S_ISVTX): Likewise.
3255 [XPG3] (S_ISLNK): Likewise.
3256 [XPG3] (S_ISSOCK): Likewise.
3257 [XPG3] (fchmod): Likewise.
3258 [XPG3] (lstat): Likewise.
3259 [XPG3] (mknod): Likewise.
3260
3261 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3262 [XPG3]. Expect type long and XFAIL for [XPG4].
3263 (st_blocks): Likewise.
3264
3265 [BZ #20044]
3266 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3267 (pthread_atfork): New prototype.
3268 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3269 variable.
3270
3271 [BZ #20043]
3272 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3273 prototype.
3274
3275 2016-05-10 Florian Weimer <fweimer@redhat.com>
3276
3277 [BZ #20017]
3278 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
3279 gmtime.
3280
3281 2016-05-10 Florian Weimer <fweimer@redhat.com>
3282
3283 [BZ #19994]
3284 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
3285 flag in _res.options.
3286
3287 2016-05-09 Joseph Myers <joseph@codesourcery.com>
3288
3289 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
3290 [XPG3 || XPG4].
3291 (blksize_t): Likewise.
3292 (clockid_t): Likewise.
3293 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
3294 variable.
3295 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3296
3297 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
3298
3299 * sysdeps/unix/sysv/linux/s390/init-first.c:
3300 Add VDSO_SYMBOL(getcpu).
3301 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
3302 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
3303 Add VDSO_SYMBOL(getcpu).
3304 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
3305 New define HAVE_GETCPU_VSYSCALL.
3306 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3307
3308 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
3309
3310 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
3311 instead of <sysdeps/x86_64/cacheinfo.c>.
3312 * sysdeps/x86_64/cacheinfo.c: Moved to ...
3313 * sysdeps/x86/cacheinfo.c: Here.
3314
3315 2016-05-04 Florian Weimer <fweimer@redhat.com>
3316
3317 * malloc/malloc-internal.h: Adjust header file guard.
3318
3319 2016-05-04 Florian Weimer <fweimer@redhat.com>
3320
3321 [BZ #19787]
3322 * inet/getnameinfo.c (check_sprintf_result): New function.
3323 (CHECKED_SNPRINTF): New macro.
3324 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
3325 to the host buffer.
3326 (gni_host_local): Use checked_copy to copy the host name.
3327 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
3328 (gni_serv_local): Use checked_copy to copy the service name.
3329 (getnameinfo): Remove unnecessary truncation of result buffers.
3330
3331 2016-05-04 Florian Weimer <fweimer@redhat.com>
3332
3333 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
3334 in case of inet_ntop failure.
3335
3336 2016-05-04 Florian Weimer <fweimer@redhat.com>
3337
3338 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
3339 avoid long lines.
3340 (gni_host_inet_numeric): Likewise. Reduce scope of local
3341 variables.
3342 (gni_host_inet, gni_host_local): Add comment.
3343 (gni_host): Add comment. Use temporary to avoid long lines.
3344
3345 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3346
3347 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
3348 registers specifiers where general purpose registers specifiers should
3349 have been used.
3350
3351 2016-05-04 Florian Weimer <fweimer@redhat.com>
3352
3353 [BZ #19779]
3354 CVE-2016-1234
3355 Avoid copying names of directory entries.
3356 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
3357 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
3358 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
3359 (struct readdir_result): New type.
3360 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
3361 (GL_READDIR): New macros.
3362 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
3363 (convert_dirent, convert_dirent64): New functions.
3364 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
3365 convert_dirent64. Adjust references to the readdir result.
3366 * sysdeps/unix/sysv/linux/i386/glob64.c:
3367 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
3368 * posix/bug-glob2.c (LONG_NAME): Define.
3369 (filesystem): Add LONG_NAME.
3370 (my_DIR): Increase the size of room_for_dirent.
3371
3372 2016-05-03 Joseph Myers <joseph@codesourcery.com>
3373
3374 [BZ #20041]
3375 * misc/sys/select.h (__need_timespec): Only define if
3376 [__USE_XOPEN2K].
3377 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3378 variable.
3379 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3380 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3381 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3382
3383 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3384 Segher Boessenkool <segher@gcc.gnu.org>
3385
3386 [BZ #20004]
3387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3388 (__novec_swapcontext): Add missing load.
3389
3390 2016-05-02 Joseph Myers <joseph@codesourcery.com>
3391
3392 [BZ #20023]
3393 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3394 <time.h>.
3395 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3396 variable.
3397 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3398
3399 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3400
3401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3402 flags CLONE_VM compare.
3403
3404 2016-05-02 Florian Weimer <fweimer@redhat.com>
3405
3406 [BZ #20031]
3407 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3408 completely empty.
3409
3410 2016-05-02 Florian Weimer <fweimer@redhat.com>
3411
3412 [BZ #19573]
3413 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3414 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3415 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3416 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3417 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3418 (hesiod_free_list): Mark as hidden.
3419 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3420 res_set, res_get.
3421 * hesiod/hesiod.c: Remove unnecessary forward declarations.
3422 (init, __hesiod_res_get, __hesiod_res_set): Remove.
3423 (hesiod_init): Remove obsolete res_ninit call.
3424 (hesiod_end): Do not free resolver state. Do not invoke callback.
3425 (hesiod_bind): Do not call init.
3426 (get_txt_records): Use res_mkquery, res_send instead of
3427 res_nmkquery, res_nsend.
3428 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3429 instead of _nss_hesiod_init.
3430 (_nss_hesiod_initgroups_dyn): Likewise.
3431 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3432 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3433 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3434
3435 2016-05-02 Florian Weimer <fweimer@redhat.com>
3436
3437 * hesiod/hesiod_p.h (DEF_RHS): Remove.
3438 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3439
3440 2016-05-02 Florian Weimer <fweimer@redhat.com>
3441
3442 * hesiod/hesiod.h: Remove RCS keyword.
3443 * hesiod/hesiod_p.h: Likewise.
3444
3445 * hesiod/hesiod.c: Likewise.
3446
3447 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
3448
3449 [BZ #12450]
3450 * locale/iso-639.def: Add Samogitian/sgs.
3451
3452 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
3453
3454 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3455
3456 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3457
3458 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
3459 Carlos O'Donell <carlos@redhat.com>
3460
3461 [BZ #19072]
3462 * grp/Makefile (headers): Add grp-merge.h
3463 (routines): Add grp-merge.
3464 * grp/getgrgid_r.c: Include grp-merge.h.
3465 (DEEPCOPY_FN): Define.
3466 (MERGE_FN): Define.
3467 * grp/getgrname_r.c: Include grp-merge.h.
3468 (DEEPCOPY_FN): Define.
3469 (MERGE_FN): Define.
3470 * grp/grp-merge.c: New file.
3471 * grp/grp-merge.h: New file.
3472 * include/grp-merge.h: New file.
3473 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3474 __copy_grp@GLIBC_PRIVATE.
3475 * manual/nss.texi (Actions in the NSS configuration): Describe
3476 return, continue, and merge.
3477 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3478 (DEEPCOPY_FN): Define.
3479 (MERGE_FN): Define.
3480 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3481 (DEEPCOPY_FN): Define.
3482 (MERGE_FN): Define.
3483 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3484 [!MERGE_FN]: Define __merge_einval.
3485 (CHECK_MERGE): Define.
3486 (REENTRANT_NAME): Process merge if do_merge is true.
3487 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3488 (__nss_getent_r): Likewise.
3489 * nss/nsswitch.c (nss_parse_service_list): Likewise.
3490 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3491
3492 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3493
3494 [BZ #20012]
3495 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3496 length to calculate the buffer to read.
3497 (fmemopen_write): Set the buffer position based on bytes written.
3498 (fmemopen_seek): Return EINVAL for invalid whence modes.
3499
3500 [BZ #19957]
3501 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3502 tst-getpid2.
3503 (test): Add tst-clone2.
3504 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3505 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3506 pid/tid fields for CLONE_VM.
3507 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3508 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3509 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3510 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3511 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3512 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3513 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3514 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3516 Likewise.
3517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3518 Likewise.
3519 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3520 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3521 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3522 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3523 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3524 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3525 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3526 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3527
3528 2016-04-29 Florian Weimer <fweimer@redhat.com>
3529
3530 [BZ #19642]
3531 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3532 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3533 (gni_serv_local, gni_serv): New functions extracted from
3534 getnameinfo.
3535 (getnameinfo): Call gni_host and gni_serv to perform the
3536 processing. Always free scratch buffer.
3537
3538 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3539
3540 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3541 remaining bytes in the dest string, with zeros.
3542
3543 2016-04-29 Florian Weimer <fweimer@redhat.com>
3544
3545 [BZ #20010]
3546 CVE-2016-3706
3547 * sysdeps/posix/getaddrinfo.c
3548 (convert_hostent_to_gaih_addrtuple): New function.
3549 (gethosts): Call convert_hostent_to_gaih_addrtuple.
3550 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3551 AF_INET data.
3552
3553 2016-04-29 Florian Weimer <fweimer@redhat.com>
3554
3555 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3556 callback function gl_readdir.
3557 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3558 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3559 (glob_in_dir): Remove len. Use strdup instead of malloc and
3560 memcpy to copy the name.
3561 * manual/pattern.texi (Calling Glob): Document requirements for
3562 implementations of the gl_readdir callback function.
3563 * manual/examples/mkdirent.c: New example.
3564 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3565 per the manual guidance.
3566 * posix/tst-gnuglob.c (my_readdir): Likewise.
3567
3568 2016-04-28 Joseph Myers <joseph@codesourcery.com>
3569
3570 [BZ #20014]
3571 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3572 not [__USE_POSIX].
3573 (getchar_unlocked): Likewise.
3574 (putc_unlocked): Likewise.
3575 (putchar_unlocked): Likewise.
3576 (flockfile): Likewise.
3577 (ftrylockfile): Likewise.
3578 (funlockfile): Likewise.
3579 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3580 variable.
3581 (test-xfail-XPG4/stdio.h/conform): Likewise.
3582
3583 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3584 Expect constant.
3585 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3586 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3587 variable.
3588 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3589 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3590
3591 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3592 [__USE_LARGEFILE64] (off64_t): Likewise.
3593 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3594 variable.
3595
3596 2016-04-28 Florian Weimer <fweimer@redhat.com>
3597
3598 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3599
3600 2016-04-28 Florian Weimer <fweimer@redhat.com>
3601
3602 * resolv/inet_addr.c: Reindent preprocessor conditionals.
3603 * resolv/res_init.c: Likewise.
3604 * resolv/res_mkquery.c: Likewise.
3605
3606 2016-04-28 Florian Weimer <fweimer@redhat.com>
3607
3608 * resolv/res_init.c (isascii): Do not define. Use definition in
3609 <ctype.h>.
3610 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3611 (LOG_AUTH): Remove.
3612 (SPRINTF): Remove, adjust caller.
3613 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3614
3615 2016-04-28 Florian Weimer <fweimer@redhat.com>
3616
3617 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3618 SUNSECURITY conditional.
3619 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3620
3621 2016-04-28 Florian Weimer <fweimer@redhat.com>
3622
3623 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3624 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3625 Remove BSD-related preprocessor conditionals.
3626 * conf/portability.h: Remove.
3627
3628 2016-04-28 Florian Weimer <fweimer@redhat.com>
3629
3630 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3631 * resolv/res_data.c: Likewise.
3632
3633 2016-04-28 Florian Weimer <fweimer@redhat.com>
3634
3635 * resolv/res_comp.c: Remove code conditional on __ultrix__.
3636 * resolv/res_data.c: Remove code conditional on ultrix.
3637
3638 2016-04-28 Florian Weimer <fweimer@redhat.com>
3639
3640 * resolv/res_init.c (RFC1535): Do not define. Remove
3641 RFC1535 preprocessor conditionals.
3642 * resolv/README: Update. Do not claim strict RFC 1535 compliance
3643 because there configuration options which make the resolver
3644 behavior different.
3645
3646 2016-04-28 Florian Weimer <fweimer@redhat.com>
3647
3648 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
3649 RESOLVSORT preprocessor conditionals.
3650 * resolv/nss_dns/dns-host.c: Likewise.
3651 * resolv/res_init.c: Likewise.
3652
3653 2016-04-28 Florian Weimer <fweimer@redhat.com>
3654
3655 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
3656 is never defined.
3657
3658 2016-04-28 Florian Weimer <fweimer@redhat.com>
3659
3660 * inet/inet_lnaof.c: Remove SCSS keyword.
3661 * inet/inet_mkadr.c: Likewise.
3662 * inet/inet_net.c: Likewise.
3663 * inet/inet_netof.c: Likewise.
3664 * inet/rcmd.c: Likewise.
3665 * inet/rexec.c: Likewise.
3666 * inet/ruserpass.c: Likewise.
3667
3668 2016-04-28 Florian Weimer <fweimer@redhat.com>
3669
3670 * resolv/inet_addr.c: Remove _LIBC conditionals.
3671 * resolv/res_data.c: Likewise.
3672 * resolv/res_init.c: Likewise.
3673 * resolv/res_mkquery.c: Likewise.
3674 * resolv/res_libc.c: Update comment.
3675 * resolv/README: Update.
3676
3677 2016-04-28 Florian Weimer <fweimer@redhat.com>
3678
3679 * resolv/gethnamaddr.c: Remove SCSS keyword.
3680 * resolv/herror.c: Likewise.
3681 * resolv/inet_addr.c: Likewise.
3682 * resolv/inet_net_ntop.c: Likewise.
3683 * resolv/inet_net_pton.c: Likewise.
3684 * resolv/inet_neta.c: Likewise.
3685 * resolv/inet_ntop.c: Likewise.
3686 * resolv/inet_pton.c: Likewise.
3687 * resolv/ns_date.c: Remove RCS keyword.
3688 * resolv/ns_name.c: Likewise.
3689 * resolv/ns_netint.c: Likewise.
3690 * resolv/ns_parse.c: Likewise.
3691 * resolv/ns_print.c: Likewise.
3692 * resolv/ns_samedomain.c: Likewise.
3693 * resolv/ns_ttl.c: Likewise.
3694 * resolv/nsap_addr.c: Likewise.
3695 * resolv/res_comp.c: Remove SCSS and RCS keyword.
3696 * resolv/res_data.c: Remove RCS keyword.
3697 * resolv/res_debug.c: Remove SCSS and RCS keyword.
3698 * resolv/res_init.c: Likewise.
3699 * resolv/res_mkquery.c: Likewise.
3700 * resolv/res_query.c: Likewise.
3701 * resolv/res_send.c: Likewise.
3702
3703 2016-04-27 Joseph Myers <joseph@codesourcery.com>
3704
3705 * conform/data/stdio.h-data (fdopen): Expect also for
3706 [XPG3 || XPG4].
3707
3708 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3709 (fseeko): Likewise.
3710 (ftello): Likewise.
3711 (ftrylockfile): Likewise.
3712 (funlockfile): Likewise.
3713 (getc_unlocked): Likewise.
3714 (getchar_unlocked): Likewise.
3715 (putc_unlocked): Likewise.
3716 (putchar_unlocked): Likewise.
3717
3718 2016-04-27 Florian Weimer <fweimer@redhat.com>
3719
3720 [BZ #19868]
3721 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3722 DNS packet syntax checks (which were not needed before). Skip
3723 over non-PTR records.
3724
3725 2016-04-27 Florian Weimer <fweimer@redhat.com>
3726
3727 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3728 definition. Include <stddef.h> instead.
3729
3730 2016-04-27 Florian Weimer <fweimer@redhat.com>
3731
3732 [BZ #19831]
3733 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3734 function.
3735 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3736 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3737
3738 2016-04-27 Florian Weimer <fweimer@redhat.com>
3739
3740 [BZ #19862]
3741 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3742 (getanswer_r): Do not call syslog.
3743 (gaih_getanswer_slice): Likewise.
3744 * resolv/gethnamaddr.c (AskedForGot): Remove.
3745 (getanswer): Do not call syslog.
3746 (gethostbyaddr): Likewise.
3747
3748 2016-04-27 Joseph Myers <joseph@codesourcery.com>
3749
3750 * conform/data/signal.h-data (union sigval): Expect also if
3751 [XOPEN2K].
3752 (struct sigevent): Likewise.
3753 (SIGEV_NONE): Likewise.
3754 (SIGEV_SIGNAL): Likewise.
3755 (SIGEV_THREAD): Likewise.
3756 (SIGRTMIN): Likewise.
3757 (SIGRTMAX): Likewise.
3758 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3759 variable.
3760 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3761
3762 2016-04-27 Florian Weimer <fweimer@redhat.com>
3763
3764 [BZ #19830]
3765 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3766 (gaih_getanswer_slice): Likewise.
3767 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3768 Also check for availability of RR metadata.
3769
3770 2016-04-27 Florian Weimer <fweimer@redhat.com>
3771
3772 [BZ #19825]
3773 * resolv/res_send.c (send_vc): Remove early *resplen2
3774 initialization. Set *resplen2 on socket error. Call
3775 close_and_return_error for other errors.
3776
3777 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3778
3779 * sysdeps/unix/sysv/linux/netiucv/iucv.h
3780 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3781 (SCM_IUCV_TRGCLS): New define.
3782
3783 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3784
3785 [BZ #20005]
3786 * libio/fmemopen.c (fmemopen_write): Update internal position after
3787 write.
3788 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3789 * stdio-common/tst-fmemopen4.c: New file..
3790
3791 2016-04-26 Joseph Myers <joseph@codesourcery.com>
3792
3793 [BZ #19996]
3794 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3795 not [__USE_XOPEN2K].
3796 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3797 variable.
3798
3799 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3800 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3801 variable.
3802
3803 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3804 [__USE_XOPEN2K8].
3805 [__USE_LARGEFILE64] (off64_t): Likewise.
3806 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3807 variable.
3808
3809 2016-04-25 Joseph Myers <joseph@codesourcery.com>
3810
3811 [BZ #19989]
3812 * libio/stdio.h (cuserid): Do not declare if
3813 [__USE_XOPEN2K && !__USE_GNU].
3814 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3815 variable.
3816
3817 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3818
3819 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3820 (sysdep_routines): Add P8 and PPC64 strcspn targets.
3821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3822 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3823 ifunc'ed strcspn.
3824 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3825 [EALIGN]: Removed.
3826 [END]: Likewise
3827 [STRSPN]: Define instead of the above to control symbol name.
3828 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3829 New file.
3830 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3831 Likewise.
3832 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3833 Likewise.
3834 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3835 Likewise.
3836 * sysdeps/powerpc/powerpc64/power8/strspn.S:
3837 [INITIAL_MASK]: New macro.
3838 [STRCSPN]: Likewise.
3839 [UPDATE_MASK]: Likewise.
3840 [USE_AS_STRCSPN]: Lisewise.
3841
3842 2016-04-25 Florian Weimer <fweimer@redhat.com>
3843
3844 [BZ #19931]
3845 * stdio-common/tst-vfprintf-width-prec.c: New file.
3846 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3847 (tests-special): Add tst-vfprintf-width-prec-mem.out.
3848 (generated): Add mtrace-related files.
3849 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3850 (tst-%-mem.out): New pattern rule, replaces
3851 tst-printf-bz18872-mem.out.
3852 * stdio-common/vfprintf.c (vfprintf): When handling a precision
3853 specifier, deallocate any previously allocated work buffer.
3854
3855 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3856
3857 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3858 Add nop before __startcontext, add explaining comments.
3859
3860 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
3861
3862 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3863 any more. Notably since IPV6_PKTINFO has been reintroduced with a
3864 completely different API.
3865
3866 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3867 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3868 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3869 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3870 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3871 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3872 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3873 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3874 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3875 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3876
3877 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
3878
3879 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3880
3881 2016-04-23 Mike Frysinger <vapier@gentoo.org>
3882
3883 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3884 when it is the default of 0.
3885
3886 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3887
3888 * sysdeps/powerpc/locale-defines.sym: Add new macros.
3889 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3890 (sysdep_routines): Add new strcasestr targets.
3891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3892 (__libc_ifunc_impl_list): Likewise.
3893 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3894 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3895 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3896 * sysdeps/powerpc/powerpc64/power8/Makefile:
3897 New file to add strcasestr-ppc64 to sysdep_routines.
3898 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3899 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3900
3901 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
3902
3903 * benchtests/Makefile (wcsmbs-benchset): Include only for
3904 native builds and runs.
3905 (LOCALES): Likewise.
3906 (bench-build): Build timing-type here instead of the bench
3907 target. Generate locale only for native builds.
3908 * benchtests/README: Add note for cross-building.
3909
3910 * benchtests/Makefile (bench-clean): Clean up extra-objs.
3911
3912 * benchtests/README: Update README to include instructions on
3913 using bench-build.
3914
3915 * Makefile.in (bench-build): New target.
3916 * Rules (PHONY): Add bench-build target.
3917 * benchtests/Makefile (bench): Depend on bench-build.
3918 (bench-build): New target.
3919
3920 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3921
3922 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3923 profil_reply_port.
3924 (profile_waiter): Do not initialize profil_reply_port.
3925 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3926 frequency instead of tick length in us.
3927
3928 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
3929
3930 [BZ #18712]
3931 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3932 (__old_mempcpy_small): Likewise.
3933 (__old_strcpy_small): Likewise.
3934 (__old_stpcpy_small): Likewise.
3935 (__old_strpbrk_c2): Fix compat symbol name.
3936 (__old_strpbrk_c3): Likewise.
3937 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3938 (__mempcpy_small): Remove.
3939 (__strcpy_small): Remove.
3940 (__stpcpy_small): Remove.
3941
3942 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
3943
3944 [BZ #19400]
3945 * locale/iso-639.def: Add the Talossan/tzl language.
3946
3947 2016-04-16 Mike Frysinger <vapier@gentoo.org>
3948
3949 [BZ #16983]
3950 * locale/programs/ld-address.c (address_finish): Update postal_fmt
3951 comment. Add "ln" to strchr check on postal_fmt.
3952
3953 2016-04-16 Mike Frysinger <vapier@gentoo.org>
3954
3955 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3956 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
3957 tel_dom_fmt.
3958
3959 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3960
3961 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3962 (sysdep_routines): Added __strlen_power8.
3963 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3964 __strlen_power8 entry.
3965 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3966 Implementation for POWER8.
3967 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3968 for __strlen_power8.
3969 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3970 Implementation for POWER8.
3971
3972 2016-04-15 Mike Frysinger <vapier@gentoo.org>
3973
3974 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3975
3976 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
3977
3978 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3979 Goldmont and Airmont processors.
3980
3981 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
3982
3983 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3984 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3985 (__STRING2_SMALL_GET32): Remove.
3986 (memset): Remove.
3987 (__memset_1): Remove.
3988 (__memset_gc): Remove.
3989 (__mempcpy): Remove.
3990 (mempcpy): Remove.
3991 (__mempcpy_args): Remove.
3992 (strchr): Remove.
3993 (strcpy): Remove.
3994 (strcpy_args): Remove.
3995 (__stpcpy_args): Remove.
3996 (__strcmp_cc): Remove.
3997 (__strcmp_gc): Remove.
3998 (strstr): Remove.
3999
4000 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
4001
4002 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4003 * nis/nis_call.c (nis_server_cache_add): Likewise.
4004
4005 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4006
4007 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4008
4009 2016-04-14 Florian Weimer <fweimer@redhat.com>
4010
4011 * malloc/arena.c (__malloc_fork_lock_parent)
4012 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
4013 internal_function attribute.
4014
4015 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
4016
4017 * stdio-common/printf_fp.c (__printf_fp_l):
4018 Rename ___printf_fp_l to __printf_fp_l and
4019 remove strong alias. Use libc_hidden_def instead
4020 of ldbl_hidden_def macro.
4021
4022 2016-04-14 Florian Weimer <fweimer@redhat.com>
4023
4024 Remove malloc hooks from fork handler. They are no longer needed
4025 because malloc runs right before fork, and no malloc calls from
4026 other fork handlers are not possible anymore.
4027 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
4028 declarations.
4029 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
4030 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
4031 (atfork_recursive_cntr): Remove.
4032 (__malloc_fork_lock_parent): Do not override malloc hooks and
4033 thread_arena.
4034 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
4035 thread_arena.
4036 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
4037 thread_arena instead of save_arena.
4038
4039 2016-04-14 Florian Weimer <fweimer@redhat.com>
4040
4041 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
4042 (thread_atfork, thread_atfork_static): Remove.
4043 * sysdeps/mach/hurd/malloc-machine.h:
4044 (thread_atfork, thread_atfork_static): Remove.
4045
4046 2016-04-14 Florian Weimer <fweimer@redhat.com>
4047
4048 [BZ #19431]
4049 Run the malloc fork handler as late as possible to avoid deadlocks.
4050 * malloc/malloc-internal.h: New file.
4051 * malloc/malloc.c: Include it.
4052 * malloc/arena.c (ATFORK_MEM): Remove.
4053 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
4054 Update comment.
4055 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
4056 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
4057 Remove outdated comment.
4058 (ptmalloc_init): Do not call thread_atfork. Remove
4059 thread_atfork_static.
4060 * malloc/tst-malloc-fork-deadlock.c: New file.
4061 * Makefile (tests): Add tst-malloc-fork-deadlock.
4062 (tst-malloc-fork-deadlock): Link against libpthread.
4063 * manual/memory.texi (Aligned Memory Blocks): Update safety
4064 annotation comments.
4065 * sysdeps/nptl/fork.c (__libc_fork): Call
4066 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4067 __malloc_fork_unlock_child.
4068 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4069
4070 2016-04-14 Florian Weimer <fweimer@redhat.com>
4071
4072 [BZ #19613]
4073 Remove union wait.
4074 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
4075 (w_stopsig, w_stopval): Remove.
4076 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
4077 stat_loc argument.
4078 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
4079 (__WAIT_STATUS_DEFN): Remove.
4080 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4081 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
4082 (wait, wait3, wait4): Use int * for the stat_loc argument.
4083 * posix/wait.c (__wait): Likewise.
4084 * posix/wait3.c (__wait3): Likewise.
4085 * posix/wait4.c (__wait4): Likewise.
4086 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
4087 (__WAIT_STATUS_DEFN): Remove.
4088 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4089 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
4090 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
4091 argument.
4092 * sysdeps/posix/wait.c (__libc_wait): Likewise.
4093 * sysdeps/posix/wait3.c (__wait3): Likewise.
4094 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
4095 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4096 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
4097 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
4098 stat_loc argument.
4099 * manual/process.texi (BSD Wait Functions): Remove union wait.
4100
4101 2016-04-13 Andreas Schwab <schwab@suse.de>
4102
4103 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
4104 (test-extras): Add tst-tlsalign-vars.
4105 * math/Makefile: Wrap long lines.
4106 (libm-vec-test-wrappers): Define.
4107 (test-extras): Add $(libm-vec-test-wrappers).
4108 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
4109 * nss/Makefile (extra-test-objs): Add nss_test1.os.
4110 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
4111 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
4112 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
4113 (extra-test-objs): Add corresponding objects.
4114
4115 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
4116
4117 [BZ #19928]
4118 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
4119 New.
4120 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
4121 times of shared cache size.
4122 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
4123 (VMOVNT): New.
4124 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
4125 (VMOVNT): Likewise.
4126 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4127 (VMOVNT): Likewise.
4128 (VMOVU): Changed to movups for smaller code sizes.
4129 (VMOVA): Changed to movaps for smaller code sizes.
4130 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4131 comments.
4132 (PREFETCH): New.
4133 (PREFETCH_SIZE): Likewise.
4134 (PREFETCHED_LOAD_SIZE): Likewise.
4135 (PREFETCH_ONE_SET): Likewise.
4136 Rewrite to use forward and backward loops, which move 4 vector
4137 registers at a time, to support overlapping addresses and use
4138 non temporal store if size is above the threshold and there is
4139 no overlap between destination and source.
4140
4141 2016-04-12 Alex Smith <alex.smith@imgtec.com>
4142
4143 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4144 Include dl-vdso.
4145 * sysdeps/unix/sysv/linux/mips/Versions: Add
4146 __vdso_clock_gettime.
4147 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4148 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4149 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4150 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4151 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4152 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4153 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4154 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4155 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4156
4157 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4158
4159 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4160 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4161 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4162 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4163 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4164 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4167 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4168 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4169 syscalls generation.
4170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4171 [__NR_pwrite64] (__NR_write): Remove define.
4172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4173 [__NR_pwrite64] (__NR_write): Remove define.
4174 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4175 Remove define.
4176 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4177 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4178 Remove define.
4179 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4180 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4181 Linux implementation as base.
4182 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4183
4184 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4185 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4186 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4187 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4190 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4191 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4192 syscall generation.
4193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4194 [__NR_pread64] (__NR_pread): Remove define.
4195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4196 [__NR_pread64] (__NR_pread): Likewise.
4197 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4198 define.
4199 (__libc_pread): Use SYSCALL_LL macro on offset argument.
4200 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4201 Remove define.
4202 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4203 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4204 Linux implementation as base.
4205 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4206 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4207 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4208
4209 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4210 definition.
4211 (__ALIGNMENT_COUNT): Likewise.
4212 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4213 (__ALIGNMENT_COUNT): Likewise.
4214 (SYSCALL_LL): New define.
4215 (SYSCALL_LL64): Likewise.
4216 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4217 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4218 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4219 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4220
4221 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4222 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4223 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4224 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4225 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4226 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4227
4228 2016-04-11 Florian Weimer <fweimer@redhat.com>
4229
4230 [BZ #19865]
4231 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4232 original buffer before retry.
4233
4234 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4235
4236 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4237 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4238 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4239 GLRO(dl_auxv) list.
4240 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4241 including <ldsodefs.h>.
4242 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4243
4244 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
4245
4246 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4247 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4248 $(CPPFLAGS).
4249
4250 2016-04-09 Khem Raj <raj.khem@gmail.com>
4251
4252 [BZ #17950]
4253 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4254 Add -mfpmath=387.
4255
4256 2016-04-09 Mike Frysinger <vapier@gentoo.org>
4257
4258 * sysdeps/i386/configure.ac: Change == to = when calling test.
4259 * sysdeps/x86_64/configure.ac: Likewise.
4260 * sysdeps/i386/configure: Regenerated.
4261 * sysdeps/x86_64/configure: Likewise.
4262
4263 2016-04-08 Mike Frysinger <vapier@gentoo.org>
4264
4265 [BZ #16137]
4266 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4267 * benchtests/bench-strcoll.c (input_files): Likewise.
4268 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4269 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4270 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4271
4272 2016-04-08 Joseph Myers <joseph@codesourcery.com>
4273
4274 [BZ #19929]
4275 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4276 [__USE_XOPEN2K8 && !__USE_GNU].
4277 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
4278 variable.
4279
4280 [BZ #19925]
4281 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
4282 define if [!__USE_MISC && __USE_XOPEN2K].
4283 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
4284 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
4285 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
4286 Likewise.
4287 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
4288 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
4289 variable.
4290 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4291
4292 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4293
4294 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4295 (sysdep_routines): Add new strspn targets.
4296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4297 (__libc_ifunc_impl_list): Add strspn.
4298 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4299 New file.
4300 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
4301 Likewise.
4302 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
4303 Likewise.
4304 * sysdeps/powerpc/powerpc64/power8/strspn.S:
4305 Likewise.
4306
4307 2016-04-07 Florian Weimer <fweimer@redhat.com>
4308
4309 * misc/hsearch_r.c: Include <limits.h>.
4310
4311 2016-04-07 Florian Weimer <fweimer@redhat.com>
4312
4313 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
4314
4315 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
4316
4317 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4318 (MEMCPY_SYMBOL): New.
4319 (MEMPCPY_SYMBOL): Likewise.
4320 (MEMMOVE_CHK_SYMBOL): Likewise.
4321 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
4322 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
4323 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
4324 Provide alias for memcpy in libc.a and ld.so.
4325
4326 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
4327
4328 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4329 (MEMSET_CHK_SYMBOL): New. Define if not defined.
4330 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
4331 Disabled fro now.
4332 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
4333 symbols. Properly check USE_MULTIARCH on __memset symbols.
4334
4335 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
4336
4337 * benchtests/Makefile (string-benchset): Add memcpy-large,
4338 memmove-large and memset-large.
4339 * benchtests/bench-memcpy-large.c: New file.
4340 * benchtests/bench-memmove-large.c: Likewise.
4341 * benchtests/bench-memmove-large.c: Likewise.
4342 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
4343
4344 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
4345
4346 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4347 32-bit displacement to avoid long nop between instructions.
4348
4349 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
4350
4351 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
4352 a comment on VMOVU and VMOVA.
4353
4354 2016-04-04 Florian Weimer <fweimer@redhat.com>
4355
4356 [BZ #19633]
4357 Use specified locale for number formatting in strfmon_l.
4358 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
4359 (__nl_lookup_word): New inline functions.
4360 * include/printf.h (__print_fp_l): Declare.
4361 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
4362 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
4363 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
4364 (___printf_fp): New function.
4365 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
4366 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
4367 * stdlib/tst-strfmon_l.c (do_test): New test.
4368 * stdlib/Makefile (tests): Add kt.
4369 (LOCALES): Build additional locales.
4370 (tst-strfmon_l.out): Require locales.
4371
4372 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
4373
4374 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4375 if not in libc.
4376 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4377 Likewise.
4378 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4379 Likewise.
4380 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4381 Likewise.
4382
4383 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
4384
4385 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4386 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4387 with unaligned_erms.
4388 (__memmove_erms): Skip if source == destination.
4389 (__memmove_unaligned_erms): Don't check source == destination
4390 first.
4391
4392 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4393
4394 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4395 bit_arch_Fast_Copy_Backward for Intel Core proessors.
4396
4397 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4398
4399 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4400 * string/strspn.c (strspn): Likewise.
4401
4402 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4403
4404 * benchtests/bench-memset.c (do_test): Support 64-byte
4405 alignment.
4406 (test_main): Test 64-byte alignment.
4407
4408 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4409
4410 * benchtests/bench-memmove.c (test_main): Test 64-byte
4411 alignment.
4412
4413 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4414
4415 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4416
4417 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4418
4419 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4420 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4421 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4422
4423 * string/strpbrk.c (strpbrk): Rewrite function.
4424 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4425 (__strpbrk_c2): Likewise.
4426 (__strpbrk_c3): Likewise.
4427 * string/string-inlines.c
4428 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4429 Likewise.
4430 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4431 Likewise.
4432
4433 * string/strspn.c (strcspn): Rewrite function.
4434 * string/bits/string2.h (strspn): Use __builtin_strcspn.
4435 (__strspn_c1): Remove inline function.
4436 (__strspn_c2): Likewise.
4437 (__strspn_c3): Likewise.
4438 * string/string-inlines.c
4439 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4440 compatibility symbol.
4441 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4442 Likewise.
4443 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4444 Likewise.
4445 * string/string-inlines.c: Include generic version.
4446
4447 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
4448 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4449
4450 * string/Version (libc): Add GLIBC_2.24.
4451 * string/strcspn.c (strcspn): Rewrite function.
4452 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4453 (__strcspn_c1): Remove inline function.
4454 (__strcspn_c2): Likewise.
4455 (__strcspn_c3): Likewise.
4456 * string/string-inline.c
4457 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4458 compatibility symbol.
4459 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4460 Likewise.
4461 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4462 Likewise.
4463 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4464
4465 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4466
4467 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4468 Use ahi instead of aghi to adjust stack pointer.
4469
4470 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4471
4472 [BZ #19853]
4473 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4474 TEST to take significant digits as second parameter.
4475 [TEST]: Redefine in terms of TEST_N taking 30
4476 significant digits.
4477 (do_test): Add test case to demonstrate precision
4478 failure in the ldbl-128ibm printf.
4479 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4480 (__mpn_extract_long_double): Carry 7 extra intermediate
4481 bits of precision to aide computing difference when
4482 signs differ.
4483
4484 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
4485
4486 [BZ #19881]
4487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4488 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4489 memset-avx512-unaligned-erms.
4490 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4491 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4492 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4493 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4494 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4495 __memset_sse2_unaligned_erms, __memset_erms,
4496 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4497 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4498 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4499 file.
4500 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4501 Likewise.
4502 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4503 Likewise.
4504 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4505 Likewise.
4506
4507 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
4508
4509 [BZ #19776]
4510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4511 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4512 memmove-avx512-unaligned-erms.
4513 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4514 (__libc_ifunc_impl_list): Test
4515 __memmove_chk_avx512_unaligned_2,
4516 __memmove_chk_avx512_unaligned_erms,
4517 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4518 __memmove_chk_sse2_unaligned_2,
4519 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4520 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4521 __memmove_avx512_unaligned_erms, __memmove_erms,
4522 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4523 __memcpy_chk_avx512_unaligned_2,
4524 __memcpy_chk_avx512_unaligned_erms,
4525 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4526 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4527 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4528 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4529 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4530 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4531 __mempcpy_chk_avx512_unaligned_erms,
4532 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4533 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4534 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4535 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4536 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4537 __mempcpy_erms.
4538 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4539 file.
4540 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4541 Likwise.
4542 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4543 Likwise.
4544 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4545 Likwise.
4546
4547 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4548
4549 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4550 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4551 (La_s390_64_regs): Likewise.
4552 (La_s390_32_retval): Append vector register lrv_v24.
4553 (La_s390_64_retval): Likeweise.
4554 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4555 Handle extended structs La_s390_32_regs and La_s390_32_retval.
4556 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4557 Handle extended structs La_s390_64_regs and La_s390_64_retval.
4558
4559 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4560
4561 [BZ #19916]
4562 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4563 to create a non-vector/vector version for _dl_runtime_resolve and
4564 _dl_runtime_profile. Move implementation to ...
4565 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4566 (_dl_runtime_resolve) Save and restore fpr/vrs.
4567 (_dl_runtime_profile) Save and restore vrs and fix some issues
4568 if _dl_call_pltexit is called.
4569 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4570 Choose the correct resolver function if running on a machine with vx.
4571 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4572 to create a non-vector/vector version for _dl_runtime_resolve and
4573 _dl_runtime_profile. Move implementation to ...
4574 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4575 (_dl_runtime_resolve) Save and restore fpr/vrs.
4576 (_dl_runtime_profile) Save and restore vrs and fix some issues
4577 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4578 Choose the correct resolver function if running on a machine with vx.
4579
4580 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4581
4582 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4583
4584 2016-03-31 Florian Weimer <fweimer@redhat.com>
4585
4586 [BZ #19509]
4587 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4588 skip_map != NULL.
4589 * elf/tst-dlsym-error.c: New file.
4590 * elf/Makefile (tests): Add tst-dlsym-error.
4591 (tst-dlsym-error): Link against libdl.
4592
4593 2016-03-29 Joseph Myers <joseph@codesourcery.com>
4594
4595 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4596 (__ASSUME_FUTIMESAT): Remove macro.
4597 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4598
4599 2016-03-29 Florian Weimer <fweimer@redhat.com>
4600
4601 [BZ #19879]
4602 CVE-2016-3075
4603 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4604 copy name.
4605
4606 2016-03-29 Florian Weimer <fweimer@redhat.com>
4607
4608 [BZ #19837]
4609 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4610 error if parse_line fails.
4611
4612 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4613
4614 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4615 (index_cpu_ERMS): Likewise.
4616 (reg_ERMS): Likewise.
4617
4618 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
4619
4620 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4621 PER_LINUX_FDPIC): Add.
4622
4623 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4624
4625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4626 memcpy-avx512-no-vzeroupper.
4627 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4628 to ...
4629 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4630 (MEMCPY): Don't define.
4631 (MEMCPY_CHK): Likewise.
4632 (MEMPCPY): Likewise.
4633 (MEMPCPY_CHK): Likewise.
4634 (MEMPCPY_CHK): Renamed to ...
4635 (__mempcpy_chk_avx512_no_vzeroupper): This.
4636 (MEMPCPY_CHK): Renamed to ...
4637 (__mempcpy_chk_avx512_no_vzeroupper): This.
4638 (MEMCPY_CHK): Renamed to ...
4639 (__memmove_chk_avx512_no_vzeroupper): This.
4640 (MEMCPY): Renamed to ...
4641 (__memmove_avx512_no_vzeroupper): This.
4642 (__memcpy_avx512_no_vzeroupper): New alias.
4643 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4644
4645 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4646
4647 [BZ #18858]
4648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4649 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4650 and mempcpy-avx512-no-vzeroupper.
4651 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4652 New.
4653 (MEMPCPY): Likewise.
4654 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4655 (MEMPCPY_CHK): New.
4656 (MEMPCPY): Likewise.
4657 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4658 (MEMPCPY): Likewise.
4659 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4660 (MEMPCPY): Likewise.
4661 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4662 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4663 Likewise.
4664 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4665 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4666
4667 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4668 Amit Pawar <Amit.Pawar@amd.com>
4669
4670 [BZ #19583]
4671 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4672 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4673 processors. Set Fast_Copy_Backward for AMD Excavator
4674 processors.
4675 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4676 New.
4677 (index_arch_Fast_Unaligned_Copy): Likewise.
4678 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4679 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4680
4681 2016-03-25 Florian Weimer <fweimer@redhat.com>
4682
4683 [BZ #19791]
4684 * resolv/res_send.c (close_and_return_error): New function.
4685 (send_dg): Initialize *resplen2 after reopen failure. Call
4686 close_and_return_error for error returns. On error paths without
4687 __res_iclose, initialze *resplen2 explicitly. Update comment for
4688 successful return.
4689
4690 2016-03-25 Florian Weimer <fweimer@redhat.com>
4691
4692 [BZ# 19860]
4693 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4694 zero if the compiler does not provide the AVX512F bit.
4695
4696 2016-03-24 Joseph Myers <joseph@codesourcery.com>
4697
4698 [BZ #19848]
4699 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4700 from 8 to 4.
4701 (__ieee754_powl): Compare integer exponent against 4 not 8.
4702 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4703 from 8 to 4.
4704 (__ieee754_powl): Compare integer exponent against 4 not 8.
4705 * math/auto-libm-test-in: Add more tests of pow.
4706 * math/auto-libm-test-out: Regenerated.
4707 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4709
4710 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
4711
4712 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4713 Make code unconditional.
4714 [!__NR_utimensat]: Remove conditional code.
4715 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4716 Make code unconditional.
4717 [!__NR_utimensat]: Remove conditional code.
4718 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4719 Make code unconditional.
4720 [!__NR_utimensat]: Remove conditional code.
4721
4722 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
4723
4724 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4725 Make code unconditional.
4726
4727 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
4728
4729 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4730 call-clobbered %eax on retry path.
4731 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4732
4733 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
4734
4735 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4736 Don't set %rcx twice before "rep movsb".
4737
4738 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
4739
4740 [BZ #19583]
4741 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4742 inline. Check family before setting family, model and
4743 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
4744 bits here.
4745 (init_cpu_features): Replace HAS_CPU_FEATURE and
4746 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4747 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
4748 for Intel processors with usable AVX2. Call get_common_indeces
4749 for other processors with family == NULL.
4750 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4751 (CPU_FEATURES_ARCH_P): Likewise.
4752 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4753 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4754
4755 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4756
4757 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4758 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4759 $(shared-thread-library) instead of hardcoding the path to libpthread.
4760
4761 2016-03-22 Joseph Myers <joseph@codesourcery.com>
4762
4763 * sysdeps/unix/sysv/linux/kernel-features.h
4764 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4765 * sysdeps/unix/sysv/linux/getdents.c
4766 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4767 [!have_no_getdents64_defined]: Likewise.
4768 (__GETDENTS): Remove __have_no_getdents64 conditional.
4769
4770 2016-03-21 Joseph Myers <joseph@codesourcery.com>
4771
4772 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4773 Remove macro.
4774 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4775 <kernel-features.h>.
4776 (signalfd) [__NR_signalfd4]: Make code unconditional.
4777 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4778
4779 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4780
4781 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4782 style.
4783
4784 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
4785
4786 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4787 (__pthread_enable_asynccancel): Use JUMPTARGET to call
4788 __pthread_unwind.
4789 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4790 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4791 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4792 (__condvar_cleanup1): Likewise.
4793
4794 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
4795
4796 [BZ #19822]
4797 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4798 move it to the final $@ location.
4799
4800 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4801
4802 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4803 access where posix_spawn success and pid argument is null.
4804 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4805 success case.
4806
4807 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
4808
4809 * sysdeps/mach/hurd/i386/c++-types.data: New file.
4810
4811 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4812
4813 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4814 and __fcntl.
4815 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4816 __fcntl only.
4817 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4818 adding attribute_hidden to __open and __fcntl.
4819
4820 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4821 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4822 depend on libc-modules.h,
4823 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4824
4825 2016-03-17 Joseph Myers <joseph@codesourcery.com>
4826
4827 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4828 Remove macro.
4829 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4830 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4831 entry.
4832
4833 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4834 Remove macro.
4835 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4836 include <kernel-features.h>.
4837 [!__ASSUME_FALLOCATE]: Remove conditional code.
4838 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4839
4840 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
4841
4842 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4843 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4844 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4845 (_ZGVdN4v_cos_avx2): Likewise.
4846 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4847 (_ZGVdN4v_cos): Likewise.
4848 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4849 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4850 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4851 (_ZGVdN4v_exp_avx2): Likewise.
4852 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4853 (_ZGVdN4v_exp): Likewise.
4854 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4855 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4856 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4857 (_ZGVdN4v_log_avx2): Likewise.
4858 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4859 (_ZGVdN4v_log): Likewise.
4860 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4861 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4862 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4863 (_ZGVdN4vv_pow_avx2): Likewise.
4864 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4865 (_ZGVdN4vv_pow): Likewise.
4866 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4867 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4868 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4869 (_ZGVdN4v_sin_avx2): Likewise.
4870 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4871 (_ZGVdN4v_sin): Likewise.
4872 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4873 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4874 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4875 (_ZGVdN4vvv_sincos_avx2): Likewise.
4876 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4877 (_ZGVdN4vvv_sincos): Likewise.
4878 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4879 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4880 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4881 (_ZGVbN4v_cosf_sse4): Likewise.
4882 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4883 (_ZGVdN8v_cosf_avx2): Likewise.
4884 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4885 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4886 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4887 (_ZGVbN4v_expf_sse4): Likewise.
4888 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4889 (_ZGVdN8v_expf_avx2): Likewise.
4890 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4891 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4892 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4893 (_ZGVbN4v_logf_sse4): Likewise.
4894 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4895 (_ZGVdN8v_logf_avx2): Likewise.
4896 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4897 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4898 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4899 (_ZGVbN4vv_powf_sse4): Likewise.
4900 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4901 (_ZGVdN8vv_powf_avx2): Likewise.
4902 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4903 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4904 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4905 (_ZGVbN4vvv_sincosf_sse4): Likewise.
4906 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4907 (_ZGVdN8vvv_sincosf_avx2): Likewise.
4908 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4909 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4910 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4911 (_ZGVbN4v_sinf_sse4): Likewise.
4912 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4913 (_ZGVdN8v_sinf_avx2): Likewise.
4914 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4915 Use JUMPTARGET to call callee.
4916 (WRAPPER_IMPL_SSE2_ff): Likewise.
4917 (WRAPPER_IMPL_SSE2_fFF): Likewise.
4918 (WRAPPER_IMPL_AVX): Likewise.
4919 (WRAPPER_IMPL_AVX_ff): Likewise.
4920 (WRAPPER_IMPL_AVX_fFF): Likewise.
4921 (WRAPPER_IMPL_AVX512): Likewise.
4922 (WRAPPER_IMPL_AVX512_ff): Likewise.
4923 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4924 Likewise.
4925 (WRAPPER_IMPL_SSE2_ff): Likewise.
4926 (WRAPPER_IMPL_SSE2_fFF): Likewise.
4927 (WRAPPER_IMPL_AVX): Likewise.
4928 (WRAPPER_IMPL_AVX_ff): Likewise.
4929 (WRAPPER_IMPL_AVX_fFF): Likewise.
4930 (WRAPPER_IMPL_AVX512): Likewise.
4931 (WRAPPER_IMPL_AVX512_ff): Likewise.
4932 (WRAPPER_IMPL_AVX512_fFF): Likewise.
4933
4934 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4935
4936 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4937 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4938 qualifier.
4939 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4940 internal_function qualifiers.
4941
4942 2016-03-15 Carlos O'Donell <carlos@redhat.com>
4943
4944 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4945 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4946 * math/atest-exp.c (exp_mpn): Mark chk unused.
4947 * math/atest-exp2.c (exp_mpn): Likwise.
4948 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4949 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4950
4951 2016-03-15 Joseph Myers <joseph@codesourcery.com>
4952
4953 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4954 Remove macro.
4955 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4956 <kernel-features.h>.
4957 [__NR_ppoll]: Make code unconditional.
4958 [!__ASSUME_PPOLL]: Remove conditional code.
4959
4960 * sysdeps/unix/sysv/linux/kernel-features.h
4961 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4962 (__ASSUME_ACCEPT4): Likewise.
4963 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4964 Define.
4965 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4966 Likewise.
4967 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4968 Likewise.
4969 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4970 Likewise.
4971 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4972 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4973 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4974 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4975 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4976 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4977 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4978 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4979 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4980 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4981 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4982 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4983 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4984 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4985 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4986 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4987 Likewise.
4988 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4989 Likewise.
4990 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4991 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4992 0x040300].
4993 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4994 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4995 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4996 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4997 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4998 0x030300].
4999 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5000 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5001 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5002 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5003 0x040300].
5004 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5005 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5006 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5007 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5008 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5009 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5010 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5011 0x030300].
5012 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5013 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5014 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5015 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5016 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5017 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5018 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5019 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5020 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5021 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5022 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5023 0x040300].
5024 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5025 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5026 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5027 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5028 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5029 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5030 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5031 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5032 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5033 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5034 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5035 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5036 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5037 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5038 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5039 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5040 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5041 Likewise.
5042 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5043 Likewise.
5044
5045 2016-03-15 Andreas Schwab <schwab@suse.de>
5046
5047 [BZ #19257]
5048 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5049 statp->_u._ext.nscount as loop count.
5050
5051 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
5052
5053 * math/test-signgam-finite-c99.c: Also #undef
5054 __LIBC_INTERNAL_MATH_INLINES.
5055 * math/test-signgam-main.c: Likewise.
5056
5057 2016-03-14 Joseph Myers <joseph@codesourcery.com>
5058
5059 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
5060 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5061 (MADV_FREE): Likewise.
5062 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
5063 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
5064 EPOLLEXCLUSIVE.
5065
5066 2016-03-14 Carlos O'Donell <carlos@redhat.com>
5067
5068 * timezone/README: Remove mention of checktab.awk. Mention wiki
5069 SharedSourceFiles.
5070
5071 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
5072
5073 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
5074 WUNTRACED.
5075
5076 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5077
5078 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
5079 order to match the type of p when calling atomic_exchange_acq().
5080
5081 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5082
5083 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
5084 cfi_offset calls.
5085 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5086 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
5087 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
5088 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
5089 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
5090
5091 2016-03-10 Carlos O'Donell <carlos@redhat.com>
5092
5093 * timezone/checktab.awk: Removed.
5094
5095 2016-03-10 Joseph Myers <joseph@codesourcery.com>
5096
5097 * manual/math.texi (Errors in Math Functions): Document relaxed
5098 accuracy goals for IBM long double.
5099 * math/libm-test.inc (test_exceptions): Always allow spurious
5100 "underflow" and "inexact" exceptions for IBM long double.
5101
5102 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
5103
5104 [BZ #19762]
5105 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5106 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
5107 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5108 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
5109 (bit_arch_*): This for feature array.
5110 (bit_*): Renamed to ...
5111 (bit_cpu_*): This for cpu array.
5112 (index_*): Renamed to ...
5113 (index_arch_*): This for feature array.
5114 (index_*): Renamed to ...
5115 (index_cpu_*): This for cpu array.
5116 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
5117 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
5118 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
5119 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
5120 bit_##name with index_cpu_##name and bit_cpu_##name.
5121 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
5122 bit_##name with index_arch_##name and bit_arch_##name.
5123
5124 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
5125
5126 [BZ #19792]
5127 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5128 Terminate FDE before return label.
5129
5130 2016-03-09 Joseph Myers <joseph@codesourcery.com>
5131
5132 [BZ #19790]
5133 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5134 (rintl): Define as macro.
5135 [USE_AS_NEARBYINTL] (__rintl): Likewise.
5136 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5137 of fesetround. Ensure results are evaluated before end of scope.
5138 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5139 USE_AS_NEARBYINTL and include s_rintl.c.
5140 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5141 Disable exception traps in new environment.
5142 (libc_feholdsetround_ppc_ctx): Likewise.
5143
5144 2016-03-08 Roland McGrath <roland@hack.frob.com>
5145
5146 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5147 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5148 (tst_audit10_aux) [__AVX512F__]: ... here.
5149
5150 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
5151
5152 * include/sys/auxv.h: New file.
5153
5154 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
5155
5156 [BZ #19759]
5157 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5158
5159 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5160
5161 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5162 operand modifier.
5163 (feclearexcept): Likewise.
5164
5165 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
5166
5167 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5168 to reflect the entire 32-bit HWCAP.
5169 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5170 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
5171
5172 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
5173
5174 [BZ #19783]
5175 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5176 $(test-via-rtld-prefix).
5177 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5178
5179 2016-03-08 Florian Weimer <fweimer@redhat.com>
5180
5181 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5182 union wait. Report any non-zero exit status as error.
5183
5184 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5185
5186 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5187 configured with --enable-hardcoded-path-in-tests.
5188
5189 2016-03-08 Joseph Myers <joseph@codesourcery.com>
5190
5191 [BZ #19677]
5192 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5193 (__ieee754_remainderl): Put zero low parts in canonical form.
5194 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5195 file. Based on
5196 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5197 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5198 with wrapper round test-fmodrem-ldbl-128ibm.c.
5199 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5200 file.
5201 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5202 Likewise.
5203 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5204 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5205
5206 2016-03-07 Florian Weimer <fweimer@redhat.com>
5207
5208 [BZ #19610]
5209 * elf/ldconfig.c (opt_link): Update comment.
5210 (options): Update help string for option -X.
5211 (search_dir): Unlink stale symbolic link only if updating symbolic
5212 links.
5213 * elf/tst-ldconfig-X.sh: New file.
5214 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5215 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5216
5217 2016-03-07 Andreas Schwab <schwab@suse.de>
5218
5219 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5220 needed arguments.
5221
5222 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
5223
5224 [BZ #15333]
5225 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5226 to lstat64.
5227
5228 2016-03-07 Florian Weimer <fweimer@redhat.com>
5229
5230 * libio/filedoalloc.c (isatty): Remove.
5231 (local_isatty): Add comment. Call __isatty directly.
5232 (_IO_file_doallocate): Update comment. Assume _LIBC.
5233 * libio/wfiledoalloc.c (isatty): Remove.
5234 (_IO_wfile_doallocate): Update comment.
5235
5236 2016-03-07 Florian Weimer <fweimer@redhat.com>
5237
5238 [BZ #19269]
5239 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5240 tst-audit4-aux.o.
5241 (tst-audit10): Depend on tst-audit10-aux.o.
5242 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5243 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5244 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5245 instead of inline AVX code.
5246 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5247 instead of inline AVX512 code.
5248 * sysdeps/x86_64/tst-audit4-aux.c: New file
5249 * sysdeps/x86_64/tst-audit10-aux.c: New file
5250
5251 [BZ #19648]
5252 * test-skeleton.c (main): Do not set RLIMIT_DATA.
5253
5254 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5255
5256 [BZ #14750]
5257 [BZ #10354]
5258 [BZ #18433]
5259 * include/sched.h (__clone): Add hidden prototype.
5260 (__clone2): Likewise.
5261 * include/unistd.h (__dup): Likewise.
5262 * posix/Makefile (tests): Add tst-spawn2.
5263 * posix/tst-spawn2.c: New file.
5264 * sysdeps/posix/dup.c (__dup): Add hidden definition.
5265 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5266 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5267 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5268 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5269 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5270 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5271 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5272 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5273 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5274 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5276 Likewise.
5277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5278 Likewise.
5279 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5280 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5281 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5282 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5283 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5284 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5285 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5286 * sysdeps/unix/sysv/linux/nptl-signals.h
5287 (____nptl_is_internal_signal): New function.
5288 * sysdeps/unix/sysv/linux/spawni.c: New file.
5289
5290 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
5291 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
5292 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
5293 * posix/tst-execvp2.c (do_test): Likewise.
5294 * posix/tst-execvp3.c (do_test): Likewise.
5295 * posix/tst-execvp4.c (do_test): Likewise.
5296 * posix/tst-execvpe1.c: New file.
5297 * posix/tst-execvpe2.c: Likewise.
5298 * posix/tst-execvpe3.c: Likewise.
5299 * posix/tst-execvpe4.c: Likewise.
5300 * posix/tst-execvpe5.c: Likewise.
5301 * posix/tst-execvpe6.c: Likewise.
5302
5303 [BZ #19534]
5304 * posix/execl.c (execl): Remove dynamic memory allocation.
5305 * posix/execle.c (execle): Likewise.
5306 * posix/execlp.c (execlp): Likewise.
5307
5308 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
5309
5310 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
5311 Replace .text with .text.avx512.
5312 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5313 Likewise.
5314
5315 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
5316
5317 * sysdeps/generic/libnsl.abilist: New file.
5318 * sysdeps/generic/libutil.abilist: New file.
5319
5320 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
5321
5322 [BZ #19762]
5323 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
5324 HAS_ARCH_FEATURE with Fast_Rep_String.
5325 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
5326 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
5327 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
5328 Likewise.
5329 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
5330 Likewise.
5331 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
5332 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
5333 Likewise.
5334 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
5335 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
5336 Likewise.
5337
5338 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
5339
5340 [BZ #19745]
5341 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
5342 with *%rax in call.
5343
5344 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
5345
5346 [BZ #19745]
5347 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
5348 with *__libc_start_main@GOTPCREL(%rip) in call.
5349
5350 2016-03-04 Roland McGrath <roland@hack.frob.com>
5351
5352 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
5353 inside conditional for nonempty $(CXX).
5354
5355 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
5356 nonempty.
5357
5358 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
5359 to test for empty $(CXX) rather than $(CXX) of "no".
5360
5361 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
5362
5363 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
5364
5365 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
5366 H.J. Lu <hongjiu.lu@intel.com>
5367
5368 [BZ #18880]
5369 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
5370 instead of Slow_BSF, and also check for Fast_Copy_Backward to
5371 enable __memcpy_ssse3_back.
5372
5373 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
5374
5375 [BZ #19758]
5376 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5377 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5378
5379 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5380
5381 [BZ #19490]
5382 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5383 (__fentry__): Likewise.
5384
5385 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
5386
5387 * gmon/Makefile (noprof): Add $(sysdep_noprof).
5388 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5389
5390 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
5391
5392 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5393 __mcount_internal directly.
5394 (C_LABEL(__fentry__)): Likewise.
5395 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5396 directly.
5397
5398 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
5399
5400 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5401 (__start_context): Call __setcontext directly.
5402
5403 2016-02-26 Joseph Myers <joseph@codesourcery.com>
5404
5405 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5406 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5407 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5408 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5409 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5410 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5411 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5412 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5413 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5414 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5415 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5416 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5417 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5418 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5419 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5420 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5421 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5422 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5423 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5424 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5425 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5426 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5427 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5428 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5429 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5430 Remove conditional code.
5431 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5432 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5433 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5434 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5435 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5436 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5437 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5438 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5439 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5440 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5441 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5442 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5443
5444 2016-02-24 Marko Myllynen <myllynen@redhat.com>
5445
5446 * NEWS (2.23): Fix typo in bug 19048 text.
5447
5448 2016-02-24 Carlos O'Donell <carlos@redhat.com>
5449
5450 [BZ #14259]
5451 * Makeconfig: Rename msgcatdir to localedir.
5452 Rename inst_msgcatdir to inst_localedir.
5453 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5454 * config.make.in: Add localedir.
5455 * elf/Makefile ($(objpfx)sotruss): Use localedir.
5456 (ldd-rewrite): Likewise.
5457 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5458 (install-others): Use inst_localedir.
5459 (CPPFLAGS): Use localedir.
5460 * locale/Makefile (locale-CPPFLAGS): Likewise.
5461 * po/Makefile (mo-installed): Use inst_localedir.
5462
5463 [BZ #19575]
5464 * localedata/charmaps/GB18030: Update comments regarding PAU to
5465 non-PUA mappings.
5466
5467 2016-02-24 Joseph Myers <joseph@codesourcery.com>
5468
5469 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5470 test for header.
5471 * sysdeps/unix/sysv/linux/configure: Regenerated.
5472 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5473 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5474 Remove conditional code.
5475 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5476
5477 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5478 Define to 3.2.0.
5479 (arch_minimum_kernel): Likewise.
5480 * sysdeps/unix/sysv/linux/configure: Regenerated.
5481 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5482 Define to 2.6.32.
5483 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5484 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5485 (arch_minimum_kernel): Define to 2.6.32.
5486 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5487 * README: Document Linux 3.2 requirement.
5488 * manual/install.texi (Linux): Document Linux 3.2 headers
5489 requirement.
5490 * INSTALL: Regenerated.
5491
5492 2016-02-24 Andreas Schwab <schwab@suse.de>
5493
5494 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5495 if !NO_LONG_DOUBLE.
5496
5497 2016-02-22 Roland McGrath <roland@hack.frob.com>
5498
5499 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5500 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5501
5502 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
5503
5504 [BZ #19512]
5505 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5506
5507 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
5508
5509 * posix/tst-dir.c: Include libc-internal.h.
5510
5511 2016-02-20 Florian Weimer <fweimer@redhat.com>
5512
5513 [BZ #19056]
5514 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5515 * manual/filesys.texi (Reading/Closing Directory): Mention
5516 deprecaion.
5517 * posix/tst-dir.c (main): Disable deprecation warning in test.
5518
5519 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
5520
5521 [BZ #19679]
5522 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5523 Renamed to ...
5524 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
5525 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5526 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
5527 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5528 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5529 * sysdeps/x86_64/dl-trampoline.h
5530 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5531 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5532
5533 2016-02-19 Mark Wielaard <mjw@redhat.com>
5534
5535 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5536
5537 2016-02-19 Mark Wielaard <mjw@redhat.com>
5538
5539 * elf/elf.h (R_386_GOT32X): New.
5540 (R_386_NUM): Update.
5541 (R_X86_64_GOTPCRELX: New.
5542 (R_X86_64_REX_GOTPCRELX): New.
5543 (R_X86_64_NUM): Update.
5544
5545 2016-02-19 Mike Frysinger <vapier@gentoo.org>
5546
5547 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5548
5549 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
5550
5551 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5552 assign attr->stackaddr to it, and adjust it down when
5553 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
5554 [_STACK_GROWS_UP]: Delete assert.
5555 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5556 Implement stack grows up logic.
5557 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5558 stack grows up logic.
5559
5560 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5561
5562 * NEWS: Update with 2.24 template.
5563
5564 2016-02-19 Joseph Myers <joseph@codesourcery.com>
5565
5566 [BZ #19678]
5567 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5568 Ensure +0.0 is returned when taking the next value below the least
5569 positive value.
5570
5571 2016-02-19 Florian Weimer <fweimer@redhat.com>
5572
5573 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5574 available. Do not define NO_THREADS.
5575 * malloc/malloc.c: Do not check NO_THREADS.
5576 * malloc/arena.c: Likewise.
5577
5578 2016-02-19 Florian Weimer <fweimer@redhat.com>
5579
5580 * malloc/malloc.c (__libc_mallinfo): Update comment.
5581 (struct malloc_par): Remove max_total_mem member, it was always 0.
5582 (int_mallinfo): Store 0 into usmblks (no functional change).
5583 * malloc/hooks.c (struct malloc_state): Document that
5584 max_total_mem is always 0.
5585 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5586 always 0.
5587 * manual/memory.texi (Statistics of Malloc): Likewise.
5588
5589 2016-02-19 Florian Weimer <fweimer@redhat.com>
5590
5591 * malloc/malloc.c (sysmalloc): Do not update arena_max.
5592 * malloc/arena.c (arena_max): Remove.
5593 (heap_trim, _int_new_arena): Do not update arena_max.
5594
5595 2016-02-19 Florian Weimer <fweimer@redhat.com>
5596
5597 * resolv/res_init.c (res_ninit): Update comment.
5598
5599 2016-02-19 Florian Weimer <fweimer@redhat.com>
5600
5601 [BZ #19505]
5602 * posix/spawn_int.h: Add headers and include guard.
5603 (__spawn_valid_fd): New function.
5604 * posix/spawn_faction_addopen.c
5605 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5606 * posix/spawn_faction_addclose.c
5607 (posix_spawn_file_actions_addclose): Likewise.
5608 * posix/spawn_faction_adddup2.c
5609 (posix_spawn_file_actions_adddup2): Likewise. Add check for
5610 second file descriptor.
5611 * posix/spawn_valid_fd.c: New file.
5612 * posix/tst-posix_spawn-fd.c: New file.
5613 * posix/Makefile (routines): Add spawn_valid_fd.
5614 (tests): Add tst-posix_spawn-fd.
5615
5616 2016-02-19 Florian Weimer <fweimer@redhat.com>
5617
5618 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5619 (do_test): Limit the number of arenas, so that we can use fewer
5620 outer threads. Limit timeout to 3 seconds, in preparation for a
5621 larger TIMEOUT value.
5622
5623 2016-02-19 Joseph Myers <joseph@codesourcery.com>
5624
5625 [BZ #19674]
5626 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5627 sign in overflowing and underflowing results when overflow or
5628 underflow is detected early. Include sign in result before rather
5629 than after scaling.
5630
5631 [BZ #19603]
5632 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5633 (__ieee754_remainderl): Adjust sign of integer version of low part
5634 when taking absolute value of high part.
5635 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5636 * math/libm-test.inc (remainder_test_data): Add another test.
5637 (remquo_test_data): Likewise.
5638
5639 2016-02-18 Joseph Myers <joseph@codesourcery.com>
5640
5641 [BZ #19602]
5642 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5643 equal high parts and both low parts zero specially.
5644 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5645 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5646 Add test-fmodl-ldbl-128ibm.
5647
5648 [BZ #19595]
5649 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5650 common logic for all cases of shifting subnormal results. Do not
5651 insert sign bit in shifted mantissa. Always pass -1023 as biased
5652 exponent to ldbl_insert_mantissa in subnormal case.
5653
5654 [BZ #19594]
5655 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5656 on high and low parts then adjust result and use
5657 ldbl_canonicalize_int if needed.
5658
5659 [BZ #19593]
5660 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5661 on high part and __floor or __ceil on low part then use
5662 ldbl_canonicalize_int if needed.
5663
5664 [BZ #19592]
5665 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5666 high and low parts then use ldbl_canonicalize_int if needed.
5667
5668 [BZ #17899]
5669 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5670 New function.
5671 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5672 on high and low parts then use ldbl_canonicalize_int if needed.
5673
5674 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5675
5676 * configure: Regenerated.
5677
5678 * po/libc.pot: Regenerated.
5679
5680 * po/be.po: Updated translation.
5681 * po/bg.po: Likewise.
5682 * po/ca.po: Likewise.
5683 * po/cs.po: Likewise.
5684 * po/da.po: Likewise.
5685 * po/el.po: Likewise.
5686 * po/eo.po: Likewise.
5687 * po/es.po: Likewise.
5688 * po/fi.po: Likewise.
5689 * po/fr.po: Likewise.
5690 * po/gl.po: Likewise.
5691 * po/hr.po: Likewise.
5692 * po/hu.po: Likewise.
5693 * po/ia.po: Likewise.
5694 * po/id.po: Likewise.
5695 * po/it.po: Likewise.
5696 * po/ja.po: Likewise.
5697 * po/lt.po: Likewise.
5698 * po/nb.po: Likewise.
5699 * po/nl.po: Likewise.
5700 * po/pt_BR.po: Likewise.
5701 * po/rw.po: Likewise.
5702 * po/sk.po: Likewise.
5703 * po/sl.po: Likewise.
5704 * po/sv.po: Likewise.
5705 * po/tr.po: Likewise.
5706 * po/zh_CN.po: Likewise.
5707 * po/zh_TW.po: Likewise.
5708
5709 * version.h (RELEAES): Set to "development".
5710 (VERSION): Set to 2.23.90.
5711
5712 * version.h (RELEASE): Set to "stable".
5713 (VERSION): Set to 2.23.
5714 * include/feature.h (__GLIBC_MINOR__): Set to 23.
5715
5716 * NEWS: Updated fixed bugs.
5717
5718 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
5719 Wilco Dijkstra <wdijkstr@arm.com>
5720
5721 [BZ #19462]
5722 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5723 (_STRING_INLINE_unaligned): This.
5724 * include/string.h: Include <string_private.h>.
5725 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5726 _STRING_INLINE_unaligned.
5727 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5728 (_STRING_INLINE_unaligned): New.
5729 * sysdeps/aarch64/string_private.h: New file.
5730 * sysdeps/generic/string_private.h: Likewise.
5731 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5732 * sysdeps/s390/string_private.h: Likewise.
5733 * sysdeps/x86/string_private.h: Likewise.
5734 * sysdeps/m68k/m680x0/m68020/bits/string.h
5735 (_STRING_ARCH_unaligned): Renamed to ...
5736 (_STRING_INLINE_unaligned): This.
5737 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5738 to ...
5739 (_STRING_INLINE_unaligned): This.
5740 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5741 to ...
5742 (_STRING_INLINE_unaligned): This.
5743 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5744 to ...
5745 (_STRING_INLINE_unaligned): This.
5746
5747 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
5748 H.J. Lu <hongjiu.lu@intel.com>
5749
5750 [BZ #19590]
5751 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5752 relocation.
5753
5754 2016-02-15 Carlos O'Donell <carlos@redhat.com>
5755
5756 [BZ #18665]
5757 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5758 *herrno_p.
5759 (gaih_getanswer): Document functional behviour. Return tryagain
5760 if any result is tryagain.
5761 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5762 when freed.
5763 * resolv/res_send.c: Add copyright text.
5764 (__libc_res_nsend): Document that MAXPACKET is expected.
5765 (send_vc): Document. Remove buffer reuse.
5766 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5767 size of the buffer. Add Dprint for truncated UDP buffer.
5768
5769 2016-02-14 Carlos O'Donell <carlos@redhat.com>
5770
5771 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5772 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5773 * INSTALL: Regenerate.
5774
5775 2016-02-14 Jakub Jelinek <jakub@redhat.com>
5776 Jonathan Wakely <jwakely@redhat.com>
5777 Carlos O'Donell <carlos@redhat.com>
5778
5779 [BZ 19439]
5780 * math/Makefile (tests): Add test-math-isinff.
5781 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5782 * math/bits/mathcalls.h [__USE_MISC]: Use
5783 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5784 functions not in C++11 and which don't conflict e.g. isinff,
5785 isinfl etc.
5786 * math/test-math-isinff.cc: New file.
5787
5788 2016-02-12 Florian Weimer <fweimer@redhat.com>
5789
5790 * misc/bug18240.c (do_test): Set RLIMIT_AS.
5791
5792 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5793
5794 [BZ #19529]
5795 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5796
5797 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5798
5799 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5800
5801 2016-02-01 Joseph Myers <joseph@codesourcery.com>
5802
5803 [BZ #19550]
5804 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5805 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5806 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5807 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5808 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5809 New syscall entry.
5810 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5811 New syscall entry.
5812 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5813 syscall entry.
5814
5815 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
5816
5817 [BZ #18240]
5818 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5819 unsigned int wraparound.
5820
5821 2016-01-27 Florian Weimer <fweimer@redhat.com>
5822
5823 [BZ #18240]
5824 * misc/bug18240.c: New test.
5825 * misc/Makefile (tests): Add it.
5826
5827 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
5828 Joseph Myers <joseph@codesourcery.com>
5829
5830 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5831 load in branch delay slot when less than a word of input left.
5832
5833 2016-01-27 Andreas Schwab <schwab@suse.de>
5834
5835 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5836 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5837 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5838 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5839
5840 2016-01-26 David S. Miller <davem@davemloft.net>
5841
5842 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5843
5844 2016-01-25 David S. Miller <davem@davemloft.net>
5845
5846 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5847 __sqrtl_finite.
5848 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5849 instead using versioned_symbol.
5850 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5851 of entries.
5852
5853 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5854 __sqrtl_finite to GLIBC_2.23
5855
5856 2016-01-25 Ricchard Henderson <rth@redhat.com>
5857
5858 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5859
5860 2016-01-25 Andreas Schwab <schwab@suse.de>
5861
5862 [BZ #17514]
5863 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5864 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5865 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5866 * nptl/tst-mutex-errorcheck.c: New file.
5867
5868 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5869
5870 [BZ #18560]
5871 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5872 (IPCOP_semop): Likewise.
5873 (IPCOP_semget): Likewise.
5874 (IPCOP_semctl): Likewise.
5875 (IPCOP_msgsnd): Likewise.
5876 (IPCOP_msgrcv): Likewise.
5877 (IPCOP_msgget): Likewise.
5878 (IPCOP_msgctl): Likewise.
5879 (IPCOP_shmat): Likewise.
5880 (IPCOP_shmdt): Likewise.
5881 (IPCOP_shmget): Likewise.
5882 (IPCOP_shmctl): Likewise.
5883
5884 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
5885
5886 * string/tst-endian.c: Include <libc-internal.h>.
5887 (do_test): Ignore tautological-compare warnings around
5888 "htobeXX (beXXtoh (i)) != i" and
5889 "htoleXX (leXXtoh (i)) != i" if-statements.
5890
5891 2016-01-24 David S. Miller <davem@davemloft.net>
5892
5893 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5894 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5895 alias.
5896 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5897 __sqrtl_finite.
5898
5899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5900
5901 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
5902
5903 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5904 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5905 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5906
5907 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5908
5909 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5910 (thread_func): Use new function to simplify barrier check.
5911 (do_test): Use new function to simplify checking barrier exit
5912 code, and actually join the child thread.
5913
5914 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5915
5916 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5917 semicolon.
5918 (__libc_tend): Likewise.
5919 (__libc_tabort): Likewise.
5920
5921 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
5922
5923 * sysdeps/nios2/libm-test-ulps: Update.
5924 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5925 (__gtsf2): Likewise.
5926 (__unorddf2): Likewise.
5927 (__unordsf2): Likewise.
5928 (__ledf2): Likewise.
5929
5930 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
5931
5932 * nis/nis_table.c (__follow_path): Disable diagnostic for
5933 uninitialized variable that is a false positive for gcc 4.7.
5934 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5935
5936 2016-01-20 Roland McGrath <roland@hack.frob.com>
5937
5938 * sysdeps/nacl/lowlevellock-futex.h
5939 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5940 Always evaluate PRIVATE argument.
5941
5942 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
5943
5944 [BZ #19490]
5945 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5946 (pthread_cond_broadcast): Use ENTRY/END
5947 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5948 (pthread_cond_signal): Likewise.
5949 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5950 Likewise.
5951 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5952 Likewise.
5953 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5954 Likewise.
5955
5956 2016-01-20 Joseph Myers <joseph@codesourcery.com>
5957
5958 * sysdeps/ieee754/dbl-64/s_finite.c
5959 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5960 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5961 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5962 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5963 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5964
5965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5966 (__gtsf2): Add as optional for libc.so.
5967 (__unordsf2): Likewise.
5968 (__signbit): Remove for libc.so.
5969 (__signbitl): Likewise.
5970
5971 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5972
5973 * iconvdata/bug-iconv11.c (test_ibm93x):
5974 Use %zu printf format specifier for size_t argument.
5975
5976 2016-01-19 Joseph Myers <joseph@codesourcery.com>
5977
5978 * math/gen-libm-test.pl (parse_ulps): Do not reduce
5979 already-recorded ulps.
5980 * sysdeps/arm/libm-test-ulps: Regenerated.
5981 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5982 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5983 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5984
5985 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
5986 Paul Pluzhnikov <ppluzhnikov@google.com>
5987
5988 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5989 assembler not supporting AVX-512.
5990
5991 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
5992
5993 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5994
5995 2016-01-18 Joseph Myers <joseph@codesourcery.com>
5996
5997 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5998 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5999
6000 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6001
6002 * sysdeps/arm/libm-test-ulps: Regenerated.
6003
6004 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6005
6006 [BZ #19451]
6007 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6008
6009 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
6010
6011 [BZ #19486]
6012 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
6013 * sysdeps/generic/fix-fp-int-convert-overflow.h
6014 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
6015 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
6016 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
6017 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
6018 Likewise.
6019 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
6020 Avoid conversions to long int where inexact exceptions
6021 could be raised.
6022 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
6023 Likewise.
6024 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
6025 Avoid conversions to long long int where inexact exceptions
6026 could be raised.
6027 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
6028 Likewise.
6029
6030 2016-01-17 Mike Frysinger <vapier@gentoo.org>
6031
6032 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
6033 * configure: Regenerated.
6034
6035 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
6036
6037 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
6038
6039 2016-01-16 Mike Frysinger <vapier@gentoo.org>
6040
6041 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
6042 outside of comment.
6043
6044 2016-01-15 Torvald Riegel <triegel@redhat.com>
6045
6046 * nptl/tst-barrier1.c: Add description on first line.
6047 * nptl/tst-barrier2.c: Likewise.
6048 * nptl/tst-barrier3.c: Likewise.
6049 * nptl/tst-barrier4.c: Likewise.
6050 * nptl/tst-barrier5.c: Likewise.
6051
6052 2016-01-15 Torvald Riegel <triegel@redhat.com>
6053
6054 [BZ #18868]
6055 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
6056
6057 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
6058
6059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
6060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6061 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
6062 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
6063 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
6064 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
6065 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6066 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6067 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6068 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6069 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6070
6071 2016-01-15 Torvald Riegel <triegel@redhat.com>
6072
6073 [BZ #13065]
6074 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
6075 new implementation.
6076 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
6077 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
6078 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
6079 (BARRIER_IN_THRESHOLD): New macro.
6080 * nptl/pthread_barrierattr_setpshared.c
6081 (pthread_barrierattr_setpshared): Clean up.
6082 * nptl/tst-barrier4.c: Correct comment.
6083 * nptl/tst-barrier5.c: New file.
6084 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
6085 (gen-as-const-headers): Remove lowlevelbarrier.sym.
6086 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
6087 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
6088 * nptl/lowlevelbarrier.sym: Remove.
6089 * nptl/DESIGN-barrier.txt: Remove.
6090 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
6091 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
6092 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
6093 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
6094 error.
6095 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
6096 implementation.
6097
6098 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6099
6100 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
6101 (do_child): Mask SIGRTMIN while thr is running.
6102
6103 2016-01-15 Martin Sebor <msebor@redhat.com>
6104
6105 [BZ #19432]
6106 * iconvdata/Makefile: Add bug-iconv11.
6107 * iconvdata/bug-iconv11.c: New test.
6108 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
6109 * iconvdata/ibm933.c: Same.
6110 * iconvdata/ibm935.c: Same.
6111 * iconvdata/ibm937.c: Same.
6112 * iconvdata/ibm939.c: Same.
6113
6114 2016-01-15 Martin Sebor <msebor@redhat.com>
6115
6116 [BZ #19443]
6117 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
6118 [DEBUG] (_ufc_set_bits): Declare used.
6119 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
6120 [DEBUG] (print_all): Declare used.
6121 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
6122 operands of the ternary ?: expression to target type.
6123 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
6124 calling the undeclared abort.
6125 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6126
6127 2016-01-15 Martin Sebor <msebor@redhat.com>
6128
6129 [BZ #18755]
6130 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6131 warnings.
6132 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6133 (__gai_create_helper_thread): Same.
6134 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6135 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6136 to suppress -Wmaybe-uninitialized warnings.
6137
6138 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
6139
6140 [BZ #19465]
6141 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6142 inside if.
6143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6144 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6145 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6146
6147 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
6148
6149 [BZ #19466]
6150 * time/tst-mktime2.c (time_t_max): Removed.
6151 (time_t_min): Likewise.
6152 (TYPE_SIGNED): New.
6153 (TYPE_MINIMUM): Likewise.
6154 (TYPE_MAXIMUM): Likewise.
6155 (TIME_T_MIN): Likewise.
6156 (TIME_T_MAX): Likewise.
6157 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6158 and TIME_T_MIN.
6159 (do_test): Likewise.
6160
6161 2016-01-14 Amit Pawar <amit.pawar@amd.com>
6162
6163 [BZ #19467]
6164 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6165 index_Fast_Unaligned_Load flag for Excavator family CPUs.
6166
6167 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
6168
6169 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6170
6171 2016-01-13 Carlos O'Donell <carlos@redhat.com>
6172
6173 * benchtests/Makefile (PYTHON): Define.
6174 (bench-func): Use $(PYTHON) to run python scripts.
6175 ($(objpfx)bench-%.c): Likewise.
6176
6177 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
6178
6179 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6180 leading slash when `file_name' is "/".
6181
6182 2016-01-12 Joseph Myers <joseph@codesourcery.com>
6183
6184 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6185 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6186 Likewise.
6187 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6188 Likewise.
6189 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6190 Likewise.
6191 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6192 enum constant and macro.
6193 (PTRACE_SETSIGMASK): Likewise.
6194 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6195 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6196 (PTRACE_GETSIGMASK): Likewise.
6197 (PTRACE_SETSIGMASK): Likewise.
6198 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6199 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6200 Likewise.
6201 (PTRACE_SETSIGMASK): Likewise.
6202 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6203 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6204 (PTRACE_GETSIGMASK): Likewise.
6205 (PTRACE_SETSIGMASK): Likewise.
6206 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6207 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6208 Likewise.
6209 (PTRACE_SETSIGMASK): Likewise.
6210 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6211 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6212 Likewise.
6213 (PTRACE_SETSIGMASK): Likewise.
6214 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6215 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6216 Likewise.
6217 (PTRACE_SETSIGMASK): Likewise.
6218 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6219
6220 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
6221 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6222
6223 [BZ #19439]
6224 * math/bits/mathcalls.h
6225 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6226 prototype.
6227 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6228
6229 2016-01-11 Andreas Schwab <schwab@suse.de>
6230
6231 [BZ #19253]
6232 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6233 cache when TZDEFRULES was used.
6234 * time/tst-tzname.c: New file.
6235 * time/Makefile (test): Add tst-tzname.
6236 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6237 * timezone/Makefile (test-zones): Add $(posixrules-file).
6238 ($(testdata)/$(posixrules-file)): New rule.
6239
6240 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
6241
6242 Fix doc quoting problems with Texinfo 5
6243 Without this change, in the info file output, Texinfo 5 quotes code
6244 in text with undirected single quotes 'like this' and generates
6245 code examples that with many PDF readers cannot be cut out of PDFs
6246 and pasted into code.
6247 * manual/libc.texinfo: Configure the libc manual like the GNU
6248 Emacs manual, by using @documentencoding and setting
6249 txicodequoteundirected and txicodequotebacktick. This way,
6250 Texinfo 5 quotes code in text with directed single quotes ‘like
6251 this’ and produces examples that can be cut out of PDFs. This
6252 change causes Texinfo 5 to generate info files that contain UTF-8
6253 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6254 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6255
6256 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6257
6258 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6259 __libc_tabort, __libc_tend): New wrappers that enforce compiler
6260 barriers to their respective compiler built-ins.
6261 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6262 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6263 * sysdeps/powerpc/sysdep.h: Likewise.
6264 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6265 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6266 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6267
6268 2016-01-08 Marko Myllynen <myllynen@redhat.com>
6269
6270 * scripts/config.guess: Revert previous shebang change.
6271 * scripts/config.sub: Likewise.
6272 * scripts/mkinstalldirs: Likewise.
6273
6274 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6275
6276 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
6277 PPC_FEATURE2_HAS_IEEE128.
6278 * sysdeps/powerpc/dl-procinfo.c:
6279 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
6280
6281 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
6282
6283 [BZ #19415]
6284 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
6285 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
6286 (_dl_lookup_address): Rewrite using function resolver trampoline.
6287 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
6288 two bits in address.
6289
6290 2016-01-07 Mike Frysinger <vapier@gentoo.org>
6291
6292 * longlong.h: Change !__SHMEDIA__ to
6293 (!defined (__SHMEDIA__) || !__SHMEDIA__).
6294 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
6295
6296 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
6297 Joseph Myers <joseph@codesourcery.com>
6298 Mark Shinwell <shinwell@codesourcery.com>
6299 Andrew Stubbs <ams@codesourcery.com>
6300 Rich Felker <dalias@libc.org>
6301
6302 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
6303
6304 2016-01-07 Richard Henderson <rth@redhat.com>
6305
6306 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
6307
6308 2016-01-07 Mike Frysinger <vapier@gentoo.org>
6309
6310 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
6311 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
6312 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6313 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6314 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
6315
6316 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
6317 Joseph Myers <joseph@codesourcery.com>
6318
6319 * timezone/private.h: Update from tzcode 2015g.
6320 * timezone/tzfile.h: Likewise.
6321 * timezone/tzselect.ksh: Likewise.
6322 * timezone/zdump.c: Likewise.
6323 * timezone/zic.c: Likewise.
6324 * timezone/ialloc.c: Remove file.
6325 * timezone/scheck.c: Likewise.
6326 * timezone/Makefile (extra-objs): Remove variable.
6327 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
6328 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
6329 -Wno-maybe-uninitialized.
6330 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
6331 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
6332 (CFLAGS-ialloc.c): Remove variable.
6333 (CFLAGS-scheck.c): Likewise.
6334 * timezone/README: Update list of files from tzcode.
6335
6336 2016-01-07 Khem Raj <raj.khem@gmail.com>
6337
6338 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
6339 instead of __fxprintf when _LIBC is undefined.
6340
6341 2016-01-07 Marko Myllynen <myllynen@redhat.com>
6342
6343 * catgets/test-gencat.sh: Remove space after shebang.
6344 * conform/GlibcConform.pm: Likewise.
6345 * conform/check-header-lists.sh: Likewise.
6346 * conform/conformtest.pl: Likewise.
6347 * conform/linknamespace.pl: Likewise.
6348 * conform/list-header-symbols.pl: Likewise.
6349 * debug/catchsegv.sh: Likewise.
6350 * elf/genrtldtbl.awk: Likewise.
6351 * elf/tst-pathopt.sh: Likewise.
6352 * elf/tst-rtld-load-self.sh: Likewise.
6353 * grp/tst_fgetgrent.sh: Likewise.
6354 * iconvdata/gen-8bit-gap-1.sh: Likewise.
6355 * iconvdata/gen-8bit-gap.sh: Likewise.
6356 * iconvdata/gen-8bit.sh: Likewise.
6357 * iconvdata/run-iconv-test.sh: Likewise.
6358 * intl/tst-gettext.sh: Likewise.
6359 * intl/tst-gettext2.sh: Likewise.
6360 * intl/tst-gettext4.sh: Likewise.
6361 * intl/tst-gettext6.sh: Likewise.
6362 * intl/tst-translit.sh: Likewise.
6363 * io/ftwtest-sh: Likewise.
6364 * libio/test-freopen.sh: Likewise.
6365 * locale/gen-translit.pl: Likewise.
6366 * malloc/tst-mtrace.sh: Likewise.
6367 * manual/check-safety.sh: Likewise.
6368 * manual/libc-texinfo.sh: Likewise.
6369 * manual/tsort.awk: Likewise.
6370 * manual/xtract-typefun.awk: Likewise.
6371 * nptl/tst-cancel-wrappers.sh: Likewise.
6372 * nptl/tst-tls6.sh: Likewise.
6373 * posix/globtest.sh: Likewise.
6374 * posix/tst-getconf.sh: Likewise.
6375 * posix/wordexp-tst.sh: Likewise.
6376 * scripts/check-c++-types.sh: Likewise.
6377 * scripts/check-local-headers.sh: Likewise.
6378 * scripts/config.guess: Likewise.
6379 * scripts/config.sub: Likewise.
6380 * scripts/cpp: Likewise.
6381 * scripts/cross-test-ssh.sh: Likewise.
6382 * scripts/documented.sh: Likewise.
6383 * scripts/evaluate-test.sh: Likewise.
6384 * scripts/gen-libc-abis: Likewise.
6385 * scripts/gen-sorted.awk: Likewise.
6386 * scripts/list-fixed-bugs.py: Likewise.
6387 * scripts/merge-test-results.sh: Likewise.
6388 * scripts/mkinstalldirs: Likewise.
6389 * scripts/rellns-sh: Likewise.
6390 * scripts/test-installation.pl: Likewise.
6391 * scripts/update-copyrights: Likewise.
6392 * stdio-common/tst-printf.sh: Likewise.
6393 * stdio-common/tst-unbputc.sh: Likewise.
6394 * stdlib/tst-fmtmsg.sh: Likewise.
6395 * stdlib/tst-setcontext3.sh: Likewise.
6396 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6397 * sysdeps/unix/make-syscalls.sh: Likewise.
6398
6399 2016-01-06 John David Anglin <dave.anglin@bell.net>
6400
6401 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6402 asm stw with atomic_exchange_rel. Add explanatory comment.
6403 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6404 Likewise.
6405
6406 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
6407
6408 [BZ #19122]
6409 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6410 * sysdeps/generic/dl-unistd.h: New file.
6411 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6412
6413 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
6414
6415 [BZ #19122]
6416 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6417 * sysdeps/generic/dl-mman.h: New file.
6418 * sysdeps/mach/hurd/dl-mman.h: Likewise.
6419
6420 2016-01-05 Joseph Myers <joseph@codesourcery.com>
6421
6422 * manual/texinfo.tex: Update to version 2016-01-04.21 with
6423 trailing whitespace removed.
6424 * scripts/config.guess: Update to version 2016-01-01.
6425 * scripts/config.sub: Update to version 2016-01-01.
6426 * scripts/move-if-change: Update from gnulib.
6427
6428 2016-01-04 Anton Blanchard <anton@samba.org>
6429
6430 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6431 for array indices.
6432 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6433
6434 2016-01-04 Joseph Myers <joseph@codesourcery.com>
6435
6436 * NEWS: Update copyright dates.
6437 * catgets/gencat.c (print_version): Likewise.
6438 * csu/version.c (banner): Likewise.
6439 * debug/catchsegv.sh: Likewise.
6440 * debug/pcprofiledump.c (print_version): Likewise.
6441 * debug/xtrace.sh (do_version): Likewise.
6442 * elf/ldconfig.c (print_version): Likewise.
6443 * elf/ldd.bash.in: Likewise.
6444 * elf/pldd.c (print_version): Likewise.
6445 * elf/sotruss.sh: Likewise.
6446 * elf/sprof.c (print_version): Likewise.
6447 * iconv/iconv_prog.c (print_version): Likewise.
6448 * iconv/iconvconfig.c (print_version): Likewise.
6449 * locale/programs/locale.c (print_version): Likewise.
6450 * locale/programs/localedef.c (print_version): Likewise.
6451 * login/programs/pt_chown.c (print_version): Likewise.
6452 * malloc/memusage.sh (do_version): Likewise.
6453 * malloc/memusagestat.c (print_version): Likewise.
6454 * malloc/mtrace.pl: Likewise.
6455 * manual/libc.texinfo: Likewise.
6456 * nptl/version.c (banner): Likewise.
6457 * nscd/nscd.c (print_version): Likewise.
6458 * nss/getent.c (print_version): Likewise.
6459 * nss/makedb.c (print_version): Likewise.
6460 * posix/getconf.c (main): Likewise.
6461 * scripts/test-installation.pl: Likewise.
6462 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6463
6464 * All files with FSF copyright notices: Update copyright dates
6465 using scripts/update-copyrights.
6466 * intl/plural.c: Regenerated.
6467 * locale/programs/charmap-kw.h: Likewise.
6468 * locale/programs/locfile-kw.h: Likewise.
6469
6470 2016-01-02 Helge Deller <deller@gmx.de>
6471
6472 [BZ #19285]
6473 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6474 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6475 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6476 (MADV_xxK_PAGES): Remove.
6477
6478 2016-01-01 Mike Frysinger <vapier@gentoo.org>
6479
6480 [BZ #15421]
6481 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6482 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
6483 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6484 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6485
6486 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
6487
6488 [BZ #19408]
6489 * sysdeps/unix/sysv/linux/personality.c: New file.
6490 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6491 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6492 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6493 (sysdep_routines): Add personality.
6494 (tests): Add tst-personality.
6495 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6496 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6497 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6498 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6499 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6500 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6501 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6502 Likewise.
6503 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6504 Likewise.
6505 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6506 Likewise.
6507 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6508 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6509 Likewise.
6510
6511 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
6512
6513 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6514 (PATH_ARM_SYSTYPE): Remove.
6515 (PATH_CPUINFO): Likewise.
6516 (IO_BASE_FOOTBRIDGE): Likewise.
6517 (IO_SHIFT_FOOTBRIDGE): Likewise.
6518 (struct platform): Likewise.
6519 (init_iosys): Remove compatibility code for 2.4 kernels.
6520 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6521
6522 2015-12-29 Florian Weimer <fweimer@redhat.com>
6523
6524 * malloc/tst-malloc-thread-fail.c: New file.
6525 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6526 (tst-malloc-thread-fail): Link against libpthread.
6527
6528 2015-12-29 Mike Frysinger <vapier@gentoo.org>
6529
6530 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
6531 (get_parser): New function.
6532 (main): New function.
6533
6534 2015-12-29 Rob Wu <rob@robwu.nl>
6535
6536 [BZ #19369]
6537 * resolv/res_init.c (__res_vinit): Reset defdname before use.
6538
6539 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
6540
6541 [BZ #19270]
6542 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6543
6544 2015-12-28 Mike Frysinger <vapier@gentoo.org>
6545
6546 [BZ #15421]
6547 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6548
6549 2015-12-23 Torvald Riegel <triegel@redhat.com>
6550
6551 [BZ #13690]
6552 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6553 after releasing it.
6554 (__lll_robust_unlock): Likewise.
6555 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6556 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6557 (lll_robust_unlock): Likewise.
6558 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6559 Prevent warnings in callers.
6560
6561 2015-12-23 Florian Weimer <fweimer@redhat.com>
6562
6563 * malloc/arena.c (list_lock): Update comment.
6564
6565 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6566
6567 * sysdeps/powerpc/hwcapinfo.c: Export symbol
6568 __parse_hwcap_and_convert_at_platform to libc.a.
6569
6570 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6571
6572 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6573 platform and feature support for POWER9.
6574 * sysdeps/powerpc/dl-procinfo.h: Likewise.
6575 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6576 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6577 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6578 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6579 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6580 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6581 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6582
6583 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6584
6585 Harmonize generic stdio-lock support with nptl
6586
6587 This fixes build when _IO_funlockfile is a macro, fixes build where
6588 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6589 stack unwind.
6590
6591 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6592 _IO_release_lock ): Use cleanup attribute on new
6593 _IO_acquire_lock_file variable instead of assuming that
6594 _IO_release_lock will be called.
6595 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6596 _IO_acquire_lock_needs_exceptions_enabled.
6597 (_IO_acquire_lock_clear_flags2): New macro.
6598
6599 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6600
6601 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6602
6603 2015-12-21 Florian Weimer <fweimer@redhat.com>
6604
6605 [BZ #19182]
6606 * malloc/arena.c (list_lock): Document lock ordering requirements.
6607 (free_list_lock): New lock.
6608 (ptmalloc_lock_all): Comment on free_list_lock.
6609 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6610 (detach_arena): Update comment. free_list_lock is now needed.
6611 (_int_new_arena): Use free_list_lock around detach_arena call.
6612 Acquire arena lock after list_lock. Add comment, including FIXME
6613 about incorrect synchronization.
6614 (get_free_list): Switch to free_list_lock.
6615 (reused_arena): Acquire free_list_lock around detach_arena call
6616 and attached threads counter update. Add two FIXMEs about
6617 incorrect synchronization.
6618 (arena_thread_freeres): Switch to free_list_lock.
6619 * malloc/malloc.c (struct malloc_state): Update comments to
6620 mention free_list_lock.
6621
6622 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
6623
6624 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6625 Remove functions.
6626 (sloww, sloww1): Accept argument to offset quadrant.
6627 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6628 quadrant.
6629 (__sin, __cos): Consolidate common code into new functions.
6630 (reduce_sincos_1, do_sincos_1): New functions.
6631 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6632
6633 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6634 code to new functions.
6635 (reduce_sincos_2, do_sincos_2): New functions.
6636 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6637
6638 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6639 common code for sincos.
6640 (__cos) [!IN_SINCOS]: Likewise.
6641 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6642 New function.
6643 (__sincos): Use it.
6644
6645 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
6646
6647 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6648 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6649 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6650
6651 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
6652
6653 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6655 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6656 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6657 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6658 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6659 index_Prefer_No_VZEROUPPER): New feature.
6660 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6661 Prefer_No_VZEROUPPER for Knights Landing.
6662
6663 015-12-18 Torvald Riegel <triegel@redhat.com>
6664
6665 * math/atest-exp2.c (mp_exp_m1): Remove.
6666
6667 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6668
6669 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6670 syscalls.
6671 (__SYSCALL0): New macro.
6672 (__SYSCALL1): Likewise.
6673 (__SYSCALL2): Likewise.
6674 (__SYSCALL3): Likewise.
6675 (__SYSCALL4): Likewise.
6676 (__SYSCALL5): Likewise.
6677 (__SYSCALL6): Likewise.
6678 (__SYSCALL_CONCAT_X): Likewise.
6679 (__SYSCALL_CONCAT): Likewise.
6680 (__SYSCALL_DIST): Likewise.
6681 (__SYSCALL_CALL): Likewise.
6682
6683 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
6684
6685 [BZ #19363]
6686 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6687
6688 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6689
6690 [BZ #19375]
6691 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6692 negative subnormals.
6693
6694 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
6695
6696 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6697 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6698 (INTERNAL_SYSCALL_NCS): Use it.
6699 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6700
6701 2015-12-16 Florian Weimer <fweimer@redhat.com>
6702
6703 [BZ #19243]
6704 * malloc/arena.c (get_free_list): Remove assert and adjust
6705 reference count handling. Add comment about reused_arena
6706 interaction.
6707 (reused_arena): Add comments abount get_free_list interaction.
6708 * malloc/tst-malloc-thread-exit.c: New file.
6709 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6710 (tst-malloc-thread-exit): Link against libpthread.
6711
6712 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
6713
6714 [BZ #19367]
6715 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6716 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6717 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6718 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6719 (index_Prefer_MAP_32BIT_EXEC): Likewise.
6720
6721 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
6722
6723 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6724 Silvermont optimizations for Knights Landing.
6725
6726 2015-12-15 Andreas Schwab <schwab@suse.de>
6727
6728 [BZ #17197]
6729 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6730 immediately after emitting SI.
6731 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6732 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6733 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6734 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6735 * iconvdata/bug-iconv10.c: New file.
6736 * iconvdata/Makefile (tests): Add bug-iconv10.
6737 ($(objpfx)bug-iconv10.out): New rule.
6738
6739 2015-12-15 Florian Weimer <fweimer@redhat.com>
6740
6741 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6742 aliasing violation.
6743
6744 2015-12-14 Joseph Myers <joseph@codesourcery.com>
6745
6746 [BZ #18472]
6747 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6748 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6749 conditionals for them.
6750 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6751 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6753 sys/kdaemon.h.
6754 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6755 compat-only syscall, obsoleted in glibc 2.23.
6756 (create_module): Likewise.
6757 (get_kernel_syms): Likewise.
6758 (query_module): Likewise.
6759 (uselib): Likewise.
6760 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6761
6762 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
6763
6764 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6765 <linux/version.h>.
6766 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6767 conditional code.
6768 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6769 and ioshift_name initialization.
6770
6771 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
6772
6773 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6774 Fix indentation.
6775
6776 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
6777
6778 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6779
6780 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
6781
6782 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6783
6784 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
6785 Jakub Wilk <jwilk@debian.org>
6786
6787 [BZ #19347]
6788 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6789 to change the group of the device to the tty group.
6790
6791 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
6792
6793 Split large string section; add truncation advice
6794 * manual/examples/strncat.c: Remove.
6795 This example was misleading, as the code would have undefined
6796 behavior if "hello" was longer than SIZE. Anyway, the manual
6797 shouldn't encourage strncpy+strncat for this sort of thing.
6798 * manual/string.texi (Copying Strings and Arrays): Split into
6799 three sections Copying Strings and Arrays, Concatenating Strings,
6800 and Truncating Strings, as this section was way too long. All
6801 cross-referenced changed. Add advice about string-truncation
6802 functions. Remove misleading strncat example.
6803
6804 2015-12-10 Carlos O'Donell <carlos@redhat.com>
6805
6806 * manual/nss.texi (NSS Modules Interface): Document
6807 NSS_STATUS_NOTFOUND and SUCCESS.
6808
6809 2015-12-09 Mike FABIAN <mfabian@redhat.com>
6810
6811 [BZ 18568]
6812 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6813 201505L, for Unicode 8.
6814
6815 2015-12-09 Carlos O'Donell <carlos@redhat.com>
6816
6817 * locale/C-translit.h: Regenerate.
6818
6819 2015-12-09 Mike FABIAN <mfabian@redhat.com>
6820
6821 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6822 and U+0153.
6823
6824 2015-12-09 Joseph Myers <joseph@codesourcery.com>
6825
6826 [BZ #19351]
6827 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6828 expanding log(1+z), compare z rather than its square with epsilon
6829 to determine when to avoid evaluating the expansion.
6830
6831 [BZ #19350]
6832 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6833 Increase overflow threshold.
6834
6835 [BZ #19349]
6836 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6837 when small.
6838
6839 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6840 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6841 New macro.
6842 [__LINUX_KERNEL_VERSION >= 0x040300]
6843 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6844 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6845 Likewise.
6846 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6847 Likewise.
6848 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6849 Likewise.
6850 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6851 Likewise.
6852 [__LINUX_KERNEL_VERSION >= 0x040300]
6853 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6854 [__LINUX_KERNEL_VERSION >= 0x040300]
6855 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6856 [__LINUX_KERNEL_VERSION >= 0x040300]
6857 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6858 [__LINUX_KERNEL_VERSION >= 0x040300]
6859 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6860 [__LINUX_KERNEL_VERSION >= 0x040300]
6861 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6862 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6863 Likewise.
6864 [__LINUX_KERNEL_VERSION >= 0x040300]
6865 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6866 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6867 Likewise.
6868 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6869 Likewise.
6870 [__LINUX_KERNEL_VERSION >= 0x040300]
6871 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6872 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6873 Likewise.
6874 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6875 Likewise.
6876 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6877 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6878 Likewise.
6879 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6880 Likewise.
6881 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6882 Likewise.
6883 [__LINUX_KERNEL_VERSION >= 0x040300]
6884 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6885 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6886 Likewise.
6887 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6888 Likewise.
6889 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6890 Likewise.
6891 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6892 Likewise.
6893 [__LINUX_KERNEL_VERSION >= 0x040300]
6894 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6895 [__LINUX_KERNEL_VERSION >= 0x040300]
6896 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6897 [__LINUX_KERNEL_VERSION >= 0x040300]
6898 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6899 [__LINUX_KERNEL_VERSION >= 0x040300]
6900 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6901 [__LINUX_KERNEL_VERSION >= 0x040300]
6902 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6903 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6904 Likewise.
6905 [__LINUX_KERNEL_VERSION >= 0x040300]
6906 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6907 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6908 Likewise.
6909 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6910 Likewise.
6911 [__LINUX_KERNEL_VERSION >= 0x040300]
6912 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6913 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6914 Likewise.
6915 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6916 Likewise.
6917 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6918 (__ASSUME_SOCKET_SYSCALL): Likewise.
6919 (__ASSUME_BIND_SYSCALL): Likewise.
6920 (__ASSUME_CONNECT_SYSCALL): Likewise.
6921 (__ASSUME_LISTEN_SYSCALL): Likewise.
6922 (__ASSUME_ACCEPT_SYSCALL): Likewise.
6923 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6924 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6925 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6926 (__ASSUME_SEND_SYSCALL): Likewise.
6927 (__ASSUME_SENDTO_SYSCALL): Likewise.
6928 (__ASSUME_RECV_SYSCALL): Likewise.
6929 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6930 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6931 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6932 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6933 (__ASSUME_SENDMSG_SYSCALL): Likewise.
6934 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6935 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6936 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6937 Likewise.
6938 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6939 Likewise.
6940 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6941 Likewise.
6942 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6943 Likewise.
6944 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6945 Likewise.
6946 [__LINUX_KERNEL_VERSION >= 0x020625]
6947 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6948 [__LINUX_KERNEL_VERSION >= 0x020625]
6949 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6950 [__LINUX_KERNEL_VERSION >= 0x020625]
6951 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6952 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6953 Likewise.
6954 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6955 Likewise.
6956 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6957 Likewise.
6958 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6959 Likewise.
6960 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6961 Likewise.
6962 [__LINUX_KERNEL_VERSION >= 0x020625]
6963 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6964 [__LINUX_KERNEL_VERSION >= 0x020625]
6965 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6966 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6967 Likewise.
6968 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6969 Likewise.
6970
6971 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
6972
6973 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6974 record the current if the current ABI and CPU support the FP64
6975 extension.
6976 (has-modd-spreg): Define to record the current if the current ABI and
6977 CPU support 32-bit floating point values in odd FPU registers.
6978 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6979 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6980 $(has-modd-spreg) equals yes.
6981 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6982 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6983 $(has-modd-spreg) equal yes.
6984
6985 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
6986
6987 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6988 basename.
6989
6990 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
6991
6992 * benchtests/Makefile (bench-math): Move ffs and ffsll...
6993 (bench-string): ... here.
6994 (bench): Add bench-string.
6995 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6996 to *-benchset to reflect what they are.
6997 (benchset): Adjust.
6998
6999 * benchtests/sincos-inputs: Add inputs from sin-inputs and
7000 cos-inputs.
7001
7002 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
7003
7004 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7005 __attribute__ ((__simd__)) for vector math function declarations.
7006
7007 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
7008
7009 Fix typo in strncat, wcsncat manual entries
7010 * manual/string.texi (Copying and Concatenation): Fix typos in
7011 sample implementations of strncat and wcsncat, by having them use
7012 the old value of the destination length, not the new one.
7013
7014 2015-12-04 Joseph Myers <joseph@codesourcery.com>
7015
7016 [BZ #16961]
7017 [BZ #16962]
7018 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
7019 string on the stack for strtod.
7020 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
7021 a string on the stack for strtof.
7022 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
7023 constructing a string on the stack for strtold.
7024 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
7025 __strtold_nan to GLIBC_PRIVATE.
7026 * math/test-nan-overflow.c: New file.
7027 * math/test-nan-payload.c: Likewise.
7028 * math/Makefile (tests): Add test-nan-overflow and
7029 test-nan-payload.
7030
7031 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
7032
7033 Consistency about byte vs character in string.texi
7034 * manual/string.texi (String and Array Utilities):
7035 Distinguish more carefully among bytes, multibyte characters,
7036 and wide characters. Use "byte" when talking about C 'char',
7037 to distinguish it more clearly from multibyte characters.
7038 Say "wide character" or "multibyte character" instead of
7039 "character", when a wide or multibyte character is intended.
7040 Similarly for "multibyte string" versus "string".
7041 Define these terms more carefully.
7042
7043 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
7044
7045 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
7046 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
7047 Likewise.
7048 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7049 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7050 * sysdeps/sh/math_private.h: New file.
7051 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
7052 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
7053 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
7054 long double function name.
7055 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7056 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7057 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7058 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7059 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7061 Remove __finitel, __isinfl, and __isnanl.
7062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7063 Likewise.
7064 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7066 Remove __finitel.
7067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7068 Likewise.
7069 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7070
7071 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
7072
7073 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
7074 installed libmvec_nonshared.a.
7075
7076 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7077
7078 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
7079 (sysdep_routines): Likewise.
7080 (sysdep-rtld-routines): Likewise.
7081 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
7082 [$(subdir) = nptl](tests-static): test-get_hwcap-static
7083 * sysdeps/powerpc/Versions: Added new
7084 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
7085 * sysdeps/powerpc/hwcapinfo.c: New file.
7086 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
7087 and parse hwcap, hwcap2 and platform number information.
7088 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
7089 to store HWCAP+HWCAP2 and platform number.
7090 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
7091 for HWCAP+HWCAP2 and platform number in the TCB.
7092 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
7093 the HWCAP, HWCAP2 and platform number in the TCB.
7094 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
7095 (TLS_INIT_TP): Included calls to add the hwcap and
7096 at_platform values in the TCB in TP initialization.
7097 (TLS_DEFINE_INIT_TP): Likewise.
7098 (THREAD_GET_HWCAP): New macro.
7099 (THREAD_SET_HWCAP): Likewise.
7100 (THREAD_GET_AT_PLATFORM): Likewise.
7101 (THREAD_SET_AT_PLATFORM): Likewise.
7102 * sysdeps/powerpc/powerpc32/dl-machine.h:
7103 (dl_platform_init): New function that calls
7104 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
7105 powerpc32.
7106 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
7107 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
7108 this functionality, static linking case.
7109 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
7110 linking case.
7111 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
7112 __parse_hwcap_and_convert_at_platform for the static linking case.
7113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
7114 Included the new __parse_hwcap_and_convert_at_platform symbol in the
7115 ABI list for GLIBC 2.23.
7116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
7117 Likewise.
7118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
7119 Likewise.
7120
7121 2015-12-02 Ludovic Courtès <ludo@gnu.org>
7122
7123 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
7124 * configure: Regenerate.
7125 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7126 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
7127
7128 2015-12-02 Carlos O'Donell <carlos@redhat.com>
7129
7130 * iconvdata/ibm930.c: Add comment explaining encoding uses.
7131 * iconvdata/ibm933.c: Likewise.
7132 * iconvdata/ibm935.c: Likewise.
7133 * iconvdata/ibm937.c: Likewise.
7134 * iconvdata/ibm939.c: Likewise.
7135
7136 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7137
7138 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7139 pthread_join.
7140 * nptl/tst-cancel21.c (tf): Likewise.
7141
7142 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
7143
7144 [BZ #19313]
7145 * bits/typesizes.h (__CPU_MASK_TYPE): New.
7146 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7147 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7148 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7149 Likewise.
7150 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7151 Likewise.
7152 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7153 Likewise.
7154 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7155 Likewise.
7156 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7157 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7158 unsigned long int with __CPU_MASK_TYPE.
7159
7160 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
7161
7162 * sysdeps/aarch64/libm-test-ulps: Regenerated.
7163
7164 2015-12-01 Joseph Myers <joseph@codesourcery.com>
7165
7166 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7167 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7168 t512.x.
7169 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7170
7171 2015-11-30 Amit Pawar <amit.pawar@amd.com>
7172
7173 [BZ #19214]
7174 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7175 argument to return extended model. Update family and model
7176 with extended family and model when family == 0x0f.
7177 (init_cpu_features): Updated.
7178
7179 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7180
7181 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7182 signed off_t, so 32bit bigger than 2GiB values are fine actually.
7183
7184 * sysdeps/mach/hurd/mmap64.c: New file.
7185
7186 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
7187
7188 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7189 rights for its main user thread in NEWTASK.
7190
7191 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
7192
7193 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7194 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7195
7196 2015-11-27 Carlos O'Donell <carlos@redhat.com>
7197
7198 [BZ #14259]
7199 * Makeconfig: Rename localedir to complocaledir.
7200 Rename inst_localedir to inst_complocaledir.
7201 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7202 * config.make.in: Use complocaledir and libc_cv_complocaledir.
7203 * configure.ac: Use libc_cv_complocaledir.
7204 * configure: Regenerate.
7205 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7206 -DCOMPLOCALEDIR.
7207 * locale/findlocale.c: Use COMPLOCALEDIR.
7208 * locale/loadarchive.c: Likewise.
7209 * locale/programs/locale.c: Likewise.
7210 * locale/programs/localedef.c: Likewise.
7211 * locale/programs/locarchive.c: Likewise.
7212 * localedata/Makefile: Use inst_complocaledir.
7213 * sysdeps/gnu/configure: Regenerate.
7214 * sysdeps/hppa/configure: Regenerate.
7215 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7216 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7218 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7219 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7220 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7221 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7222
7223 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
7224
7225 [BZ #19058]
7226 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7227 AS_NEEDED.
7228 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7229 workaround.
7230 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7231 libmvec-static-only-routines): Added new file.
7232 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7233
7234 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7235
7236 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7237 of interrupted RPC instead of restoring it.
7238
7239 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7240 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7241 libc_hidden_def.
7242 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7243 into initialized data instead of common. Define rtld_hidden_data_def.
7244 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7245 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7246 libc_hidden_def.
7247 (if_freenameindex): Add libc_hidden_weak.
7248 (if_nameindex): Add libc_hidden_weak.
7249 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7250 __open64.
7251 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7252 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7253 * sysdeps/mach/nanosleep.c: Include <time.h>
7254 (__nanosleep): Rename to __libc_nanosleep.
7255 (__nanosleep): Add weak_alias.
7256 (nanosleep): Update alias.
7257
7258 2015-11-24 Joseph Myers <joseph@codesourcery.com>
7259
7260 * stdlib/strtod_nan.c: New file.
7261 * stdlib/strtod_nan_double.h: Likewise.
7262 * stdlib/strtod_nan_float.h: Likewise.
7263 * stdlib/strtod_nan_main.c: Likewise.
7264 * stdlib/strtod_nan_narrow.h: Likewise.
7265 * stdlib/strtod_nan_wide.h: Likewise.
7266 * stdlib/strtof_nan.c: Likewise.
7267 * stdlib/strtold_nan.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7269 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7270 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7271 * wcsmbs/wcstod_nan.c: Likewise.
7272 * wcsmbs/wcstof_nan.c: Likewise.
7273 * wcsmbs/wcstold_nan.c: Likewise.
7274 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7275 strtold_nan.
7276 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
7277 wcstof_nan.
7278 * include/stdlib.h (__strtof_nan): Declare and use
7279 libc_hidden_proto.
7280 (__strtod_nan): Likewise.
7281 (__strtold_nan): Likewise.
7282 (__wcstof_nan): Likewise.
7283 (__wcstod_nan): Likewise.
7284 (__wcstold_nan): Likewise.
7285 * include/wchar.h (____wcstoull_l_internal): Declare.
7286 * stdlib/strtod_l.c: Do not include <ieee754.h>.
7287 (____strtoull_l_internal): Remove declaration.
7288 (STRTOF_NAN): Define macro.
7289 (SET_MANTISSA): Remove macro.
7290 (STRTOULL): Likewise.
7291 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
7292 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
7293 (STRTOF_NAN): Define macro.
7294 (SET_MANTISSA): Remove macro.
7295 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
7296 (SET_MANTISSA): Remove macro.
7297 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
7298 macro.
7299 (SET_MANTISSA): Remove macro.
7300 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
7301 macro.
7302 (SET_MANTISSA): Remove macro.
7303 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
7304 (SET_MANTISSA): Remove macro.
7305 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
7306 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
7307 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
7308
7309 [BZ #19266]
7310 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
7311 upper case and lower case letters inside NAN(), not using TOLOWER.
7312 * stdlib/tst-strtod-nan-locale-main.c: New file.
7313 * stdlib/tst-strtod-nan-locale.c: Likewise.
7314 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
7315 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
7316 Depend on $(gen-locales).
7317 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
7318 * wcsmbs/tst-wcstod-nan-locale.c: New file.
7319 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
7320 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
7321 Depend on $(gen-locales).
7322 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
7323
7324 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
7325
7326 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
7327
7328 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
7330 __finitel, __isinfl, and __isnanl.
7331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7332 Likewise.
7333 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
7335 __finitel.
7336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7337 Likewise.
7338 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7339
7340 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
7341
7342 * malloc/memusage.c (me): Remove redundant getenv call.
7343
7344 2015-10-24 Florian Weimer <fweimer@redhat.com>
7345
7346 [BZ #19143]
7347 [BZ #19164]
7348 * nptl/check-cpuset.h: Remove.
7349 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7350 Remove CPU set size check.
7351 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7352 Likewise.
7353 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
7354 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7355 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
7356 (__pthread_setaffinity_new): Remove CPU set size check.
7357 * sysdeps/unix/sysv/linux/sched_setaffinity.c
7358 (__kernel_cpumask_size): Remove.
7359 (__sched_setaffinity_new): Remove CPU set size check.
7360 * manual/threads.texi (Default Thread Attributes): Remove stale
7361 reference to check_cpuset_attr, determine_cpumask_size in comment.
7362 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
7363 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
7364 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
7365 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
7366 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
7367 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
7368 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
7369 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
7370 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
7371 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
7372 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7373 skeleton test file.
7374 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
7375 tst-affinity-pid.
7376
7377 2015-11-24 Florian Weimer <fweimer@redhat.com>
7378
7379 * scripts/update-abilist.sh: New file.
7380 * Makefile (+subdir_targets): Add subdir_update-all-abi.
7381 * Makerules (update-all-abi-%, update-all-abi)
7382 (subdir_update-all-abi): New targets.
7383 * elf/Makefile (update-all-abi): New target.
7384
7385 2015-11-24 Florian Weimer <fweimer@redhat.com>
7386
7387 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7388 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7389 (__libc_lock_define_initialized): Use it.
7390 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7391 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7392 * malloc/malloc.c (main_arena): Likewise.
7393 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7394 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7395
7396 2015-11-23 Joseph Myers <joseph@codesourcery.com>
7397
7398 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7399 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7400 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7401 (PTRACE_O_MASK): Update value.
7402 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7403 New value in enum __ptrace_setoptions.
7404 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7405 (PTRACE_O_MASK): Update value.
7406 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7407 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7408 (PTRACE_O_MASK): Update value.
7409 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7410 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7411 (PTRACE_O_MASK): Update value.
7412 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7413 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7414 (PTRACE_O_MASK): Update value.
7415 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7416 New value in enum __ptrace_setoptions.
7417 (PTRACE_O_MASK): Update value.
7418 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7419 New value in enum __ptrace_setoptions.
7420 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7421 (PTRACE_O_MASK): Update value.
7422
7423 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7424 New macro.
7425 (PACKET_AUXDATA): Likewise.
7426 (PACKET_ORIGDEV): Likewise.
7427 (PACKET_VERSION): Likewise.
7428 (PACKET_HDRLEN): Likewise.
7429 (PACKET_RESERVE): Likewise.
7430 (PACKET_TX_RING): Likewise.
7431 (PACKET_LOSS): Likewise.
7432 (PACKET_VNET_HDR): Likewise.
7433 (PACKET_TX_TIMESTAMP): Likewise.
7434 (PACKET_TIMESTAMP): Likewise.
7435 (PACKET_FANOUT): Likewise.
7436 (PACKET_TX_HAS_OFF): Likewise.
7437 (PACKET_QDISC_BYPASS): Likewise.
7438 (PACKET_ROLLOVER_STATS): Likewise.
7439 (PACKET_FANOUT_DATA): Likewise.
7440 (PACKET_MR_UNICAST): Likewise.
7441
7442 [BZ #19242]
7443 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7444 (TOUPPER): Likewise.
7445 * stdlib/tst-strtol-locale-main.c: New file.
7446 * stdlib/tst-strtol-locale.c: Likewise.
7447 * stdlib/Makefile (tests): Add tst-strtol-locale.
7448 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7449 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7450 Depend on $(gen-locales).
7451 * wcsmbs/tst-wcstol-locale.c: New file.
7452 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7453 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7454 tr_TR.ISO-8859-9.
7455 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7456 Depend on $(gen-locales).
7457
7458 2015-11-20 Roland McGrath <roland@hack.frob.com>
7459
7460 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7461 __glibc_likely instead of __builtin_expect. After falling back to
7462 dyncode_create in a non-ET_DYN case, use the allocate_code_data
7463 system interface to register the code pages as occupied.
7464
7465 2015-11-20 Joseph Myers <joseph@codesourcery.com>
7466
7467 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7468 [!ARM_MATH_PRIVATE_H].
7469 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7470 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7471 [!HPPA_MATH_PRIVATE_H].
7472 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7473 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7474 to [!I386_MATH_PRIVATE_H].
7475 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7476 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7477 Change guard to [!M68K_MATH_PRIVATE_H].
7478 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7479 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7480 guard to [!MICROBLAZE_MATH_PRIVATE_H].
7481 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7482 macro.
7483 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7484 [!MIPS_MATH_PRIVATE_H].
7485 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7486 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7487 [!NIO2_MATH_PRIVATE_H].
7488 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7489 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7490 [!TILE_MATH_PRIVATE_H].
7491 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7492
7493 [BZ #15421]
7494 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7495 initialize with 0 and define as weak alias of __signgam.
7496 * include/math.h [!_ISOMAC] (__signgam): Declare.
7497 * math/Makefile (libm-calls): Add w_lgamma_compat.
7498 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7499 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7500 test-signgam-ullong-init.
7501 (tests-static): Add test-signgam-uchar-static,
7502 test-signgam-uchar-init-static, test-signgam-uint-static,
7503 test-signgam-uint-init-static, test-signgam-ullong-static and
7504 test-signgam-ullong-init-static.
7505 (CFLAGS-test-signgam-uchar.c): New variable.
7506 (CFLAGS-test-signgam-uchar-init.c): Likewise.
7507 (CFLAGS-test-signgam-uchar-static.c): Likewise.
7508 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7509 (CFLAGS-test-signgam-uint.c): Likewise.
7510 (CFLAGS-test-signgam-uint-init.c): Likewise.
7511 (CFLAGS-test-signgam-uint-static.c): Likewise.
7512 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7513 (CFLAGS-test-signgam-ullong.c): Likewise.
7514 (CFLAGS-test-signgam-ullong-init.c): Likewise.
7515 (CFLAGS-test-signgam-ullong-static.c): Likewise.
7516 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7517 * math/Versions (libm): Add GLIBC_2.23.
7518 * math/lgamma-compat.h: New file.
7519 * math/test-signgam-main.c: Likewise.
7520 * math/test-signgam-uchar-init-static.c: Likewise.
7521 * math/test-signgam-uchar-init.c: Likewise.
7522 * math/test-signgam-uchar-static.c: Likewise.
7523 * math/test-signgam-uchar.c: Likewise.
7524 * math/test-signgam-uint-init-static.c: Likewise.
7525 * math/test-signgam-uint-init.c: Likewise.
7526 * math/test-signgam-uint-static.c: Likewise.
7527 * math/test-signgam-uint.c: Likewise.
7528 * math/test-signgam-ullong-init-static.c: Likewise.
7529 * math/test-signgam-ullong-init.c: Likewise.
7530 * math/test-signgam-ullong-static.c: Likewise.
7531 * math/test-signgam-ullong.c: Likewise.
7532 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7533 wrapper of w_lgamma_main.c.
7534 * math/w_lgamma_compat.c: New file.
7535 * math/w_lgamma_compatf.c: Likewise.
7536 * math/w_lgamma_compatl.c: Likewise.
7537 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
7538 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
7539 defining compatibility symbols.
7540 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
7541 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7542 wrapper of w_lgammaf_main.c.
7543 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
7544 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
7545 defining compatibility symbols.
7546 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
7547 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7548 wrapper of w_lgammal_main.c.
7549 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
7550 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
7551 defining compatibility symbols.
7552 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
7553 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7554 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7555 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
7556 <lgamma-compat.h>.
7557 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
7558 (__ieee754_gamma): Define as alias.
7559 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7560 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
7561 <lgamma-compat.h>.
7562 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
7563 (__ieee754_gammaf): Define as alias.
7564 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7565 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
7566 <lgamma-compat.h>.
7567 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
7568 (__ieee754_gammal): Define as alias.
7569 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7570 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
7571 <math/w_lgamma_compat.c>.
7572 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7573 Define as alias of __lgamma_compat and use in defining lgammal.
7574 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7575 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
7576 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7577 (USE_AS_COMPAT): New macro.
7578 (LGAMMA_OLD_VER): Undefine and redefine.
7579 (lgammal): Do not define here.
7580 (gammal): Only define here if [GAMMA_ALIAS].
7581 * conform/linknamespace.pl (@whitelist): Remove signgam.
7582 * sysdeps/nacl/libm.abilist: Update.
7583 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7584 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7585 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7586 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7587 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7588 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7589 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7590 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7591 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7592 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7593 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7594 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7596 Likewise.
7597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7598 Likewise.
7599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7600 Likewise.
7601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7602 Likewise.
7603 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7604 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7605 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7606 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7607 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7609 Likewise.
7610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7611 Likewise.
7612 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7613 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7614 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7615
7616 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7617
7618 [BZ #16364]
7619 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7620 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7621
7622 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7623
7624 * sysdeps/s390/fpu/bits/mathinline.h:
7625 Use __asm__ [__volatile__] instead of asm [volatile].
7626 * sysdeps/s390/abort-instr.h: Likewise.
7627 * sysdeps/s390/atomic-machine.h: Likewise.
7628 * sysdeps/s390/bits/string.h: Likewise.
7629 * sysdeps/s390/dl-tls.h: Likewise.
7630 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7631 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7632 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7633 * sysdeps/s390/fpu/fesetround.c: Likewise.
7634 * sysdeps/s390/fpu/fpu_control.h: Likewise.
7635 * sysdeps/s390/fpu/s_fma.c: Likewise.
7636 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7637 * sysdeps/s390/memusage.h: Likewise.
7638 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7639 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7640 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7641 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7642 * sysdeps/s390/nptl/tls.h: Likewise.
7643 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7644 * sysdeps/s390/s390-32/backtrace.c: Likewise.
7645 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7646 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7647 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7648 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7649 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7650 * sysdeps/s390/s390-64/backtrace.c: Likewise.
7651 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7652 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7653 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7654 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7655 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7656 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7657 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7658 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7659 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7660 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7661 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7662 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7663 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7664 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7665 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7666
7667 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7668 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7669
7670 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7671 Add lwarx hint, and use macro for acquire instruction.
7672 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7673 Likewise.
7674 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7675 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7676 update to use new atomic macros.
7677
7678 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7679
7680 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7681 (__lll_trylock_elision): Fix setting of adapt_count.
7682 * sysdeps/unix/sysv/linux/powerpc/htm.h
7683 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7684 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7685 (_ABORT_SYSCALL): Renumber, and clarify definition.
7686 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7687
7688 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7689
7690 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7691 after system headers to prevent MIN/MAX redefinition. Define
7692 HAVE_ALLOCA to preserve builtin alloca usage.
7693
7694 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
7695
7696 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7697 static and don't set or restore rounding.
7698 (__cos)[IN_SINCOS]: Likewise.
7699 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7700 (__sincos): Set and restore rounding mode. Remove check for infinite
7701 or NaN input.
7702
7703 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7704
7705 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7706 as used.
7707
7708 2015-11-16 Florian Weimer <fweimer@redhat.com>
7709
7710 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7711
7712 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
7713
7714 * config.make.in (have-glob-dat-reloc): New.
7715 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
7716 target supports GLOB_DAT relocaton. AC_SUBST.
7717 * configure: Regenerated.
7718 * elf/Makefile (tests): Add tst-prelink.
7719 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7720 (tst-prelink-ENV): New.
7721 ($(objpfx)tst-prelink-conflict.out): Likewise.
7722 ($(objpfx)tst-prelink-cmp.out): Likewise.
7723 * sysdeps/x86/tst-prelink.c: Moved to ...
7724 * elf/tst-prelink.c: Here.
7725 * sysdeps/x86/tst-prelink.exp: Moved to ...
7726 * elf/tst-prelink.exp: Here.
7727 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7728 (tst-prelink-ENV): Removed.
7729 ($(objpfx)tst-prelink-conflict.out): Likewise.
7730 ($(objpfx)tst-prelink-cmp.out): Likewise.
7731 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7732
7733 2015-11-13 Joseph Myers <joseph@codesourcery.com>
7734
7735 [BZ #14551]
7736 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7737 (__mpn_construct_long_double): If high part overflows to infinity,
7738 set errno and recompute overflowed result of the correct sign.
7739 * sysdeps/ieee754/ldbl-128ibm/Makefile
7740 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7741 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7742 $(libm).
7743 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7744
7745 2015-11-12 Joseph Myers <joseph@codesourcery.com>
7746
7747 [BZ #15479]
7748 [BZ #19238]
7749 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7750 floating-point state after first operation on input. Restore full
7751 state rather than just rounding mode.
7752 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7753 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7754 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7755
7756 [BZ #19235]
7757 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7758 add 0.5 to integer arguments.
7759 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7760 Likewise.
7761 (.LC2): New object.
7762
7763 2015-11-11 Mike Frysinger <vapier@gentoo.org>
7764
7765 * scripts/pylintrc (reports): Set to no.
7766
7767 2015-11-10 Roland McGrath <roland@hack.frob.com>
7768
7769 * elf/dl-load.c (open_verify): Take new argument FD.
7770 Skip __open call if passed FD is not -1.
7771 (_dl_map_object, open_path): Update callers.
7772 * elf/dl-sysdep-open.h: New file.
7773 * elf/dl-load.c: Include it.
7774 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7775 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7776 * sysdeps/nacl/dl-sysdep-open.h: New file.
7777 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7778 from libc to rtld.
7779
7780 2015-11-10 Joseph Myers <joseph@codesourcery.com>
7781
7782 [BZ #19228]
7783 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7784 and restore full floating-point state.
7785 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7786 Likewise.
7787 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7788 Likewise.
7789 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7790 Likewise.
7791 * math/test-nearbyint-except-2.c: New file.
7792 * math/Makefile (tests): Add test-nearbyint-except-2.
7793
7794 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
7795
7796 [BZ #19178]
7797 * sysdeps/x86/Makefile (tests): Add tst-prelink.
7798 (tst-prelink-ENV): New.
7799 ($(objpfx)tst-prelink-conflict.out): Likewise.
7800 ($(objpfx)tst-prelink-cmp.out): Likewise.
7801 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7802 * sysdeps/x86/tst-prelink.c: New file.
7803 * sysdeps/x86/tst-prelink.exp: Likewise.
7804
7805 2015-11-10 Joseph Myers <joseph@codesourcery.com>
7806
7807 * math/auto-libm-test-in: Add another test of pow.
7808 * math/auto-libm-test-out: Regenerated.
7809 * math/libm-test.inc (pow_test_data): Add another test.
7810
7811 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7812
7813 [BZ #19219]
7814 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7815 weak_alias to nearbyintl.
7816
7817 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
7818
7819 * sysdeps/aarch64/bits/string.h: New file.
7820 (_STRING_ARCH_unaligned): Define.
7821
7822 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
7823
7824 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7825 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7826 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7827 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7829
7830 2015-11-09 Ulrich Drepper <drepper@gmail.com>
7831
7832 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7833 for original name of the DSO. Add it to the name list of the DSO
7834 if it is actually given.
7835 (_dl_map_object): Keep track of whether an audit module rewrote
7836 the file name. If yes, pass the original name to
7837 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
7838 debugging is enabled, log the change of the file name.
7839 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7840 _dl_map_object_from_fd.
7841 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7842 * elf/tst-audit11.c: New file
7843 * elf/tst-auditmod11.c: New file.
7844 * elf/tst-audit11mod1.c: New file.
7845 * elf/tst-audit11mod2.c: New file.
7846 * elf/tst-audit11mod2.map: New file.
7847 * elf/tst-audit12.c: New file
7848 * elf/tst-auditmod12.c: New file.
7849 * elf/tst-audit12mod1.c: New file.
7850 * elf/tst-audit12mod2.c: New file.
7851 * elf/tst-audit12mod2.map: New file.
7852 * elf/tst-audit12mod3.c: New file.
7853
7854 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
7855
7856 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7857 Don't create weak aliases,
7858 because versioned symbols are created later.
7859 * sysdeps/s390/s390-32/setjmp.S
7860 (setjmp, _setjmp): Remove weak and rename to an unique name
7861 in SHARED case due to existing versioned symbols.
7862 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7863 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7864 (getcontext): Create weak alias only in non SHARED case.
7865 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7866
7867 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
7868
7869 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7870 (__ASSUME_*_SYSCALL) Define new macros.
7871 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7872 Remove socketcall syscalls.
7873 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7874 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7875 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7876 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7877 * sysdeps/unix/sysv/linux/send.c (__libc_send):
7878 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7879
7880 2015-11-09 Florian Weimer <fweimer@redhat.com>
7881
7882 [BZ #12926]
7883 Terminate process on invalid netlink response.
7884 * sysdeps/unix/sysv/linux/netlinkaccess.h
7885 (__netlink_assert_response): Declare.
7886 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7887 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7888 (sysdep_routines): Add netlink_assert_response.
7889 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7890 __netlink_assert_response.
7891 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7892 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7893 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7894 __netlink_assert_response.
7895
7896 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
7897
7898 [BZ #19178]
7899 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7900 (RTYPE_CLASS_PLT): Likewise.
7901 (RTYPE_CLASS_COPY): Likewise.
7902 (RTYPE_CLASS_TLS): Likewise.
7903 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7904 to set relocation type class for DL_DEBUG_PRELINK. Keep only
7905 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7906 DL_DEBUG_PRELINK.
7907
7908 2015-11-06 Joseph Myers <joseph@codesourcery.com>
7909
7910 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7911 calls with argument -0.5.
7912 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7913
7914 * configure.ac (libc_cv_z_nodelete): Remove configure test.
7915 (libc_cv_z_nodlopen): Likewise.
7916 (libc_cv_z_initfirst): Likewise.
7917 * configure: Regenerated.
7918
7919 2015-11-06 Florian Weimer <fweimer@redhat.com>
7920
7921 Simplify abilist format to be line-based.
7922 * scripts/abilist.awk: Collect descriptors in the descs variable.
7923 (emit): Write descs variable and sort it
7924 externally, with sort.
7925 * sysdeps/**/*.abilist: Convert to new format.
7926
7927 2015-11-06 Mark Wielaard <mjw@redhat.com>
7928
7929 [BZ #11460]
7930 * io/Makefile (routines): Add fts64.
7931 (tests): Add tst-fts and tst-fts-lfs.
7932 (CFLAGS-fts64.c): New.
7933 * io/Versions (GLIBC_2.23): New.
7934 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7935 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7936 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7937 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7938 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7939 (FTSENT64): Likewise.
7940 (fts64_children): Likewise.
7941 (fts64_close): Likewise.
7942 (fts64_open): Likewise.
7943 (fts64_read): Likewise.
7944 (fts64_set): Likewise.
7945 * io/fts64.c: New file.
7946 * io/tst-fts.c: New test.
7947 * io/tst-fts-lfs.c: Likewise.
7948 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7949 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7950 fts64_set.
7951 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7952 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7953 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7954 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7955 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7956 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7957 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7958 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7959 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7960 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7961 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7962 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7963 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7965 Likewise.
7966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7967 Likewise.
7968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7970 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7971 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7972 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7973 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7974 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7977 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7978 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7979 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7980 * sysdeps/wordsize-64/fts.c: New file.
7981 * sysdeps/wordsize-64/fts64.c: Likewise.
7982 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7983 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7984 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7985 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7986
7987 2015-11-05 Joseph Myers <joseph@codesourcery.com>
7988
7989 * math/libm-test.inc (NON_FINITE): New macro.
7990 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7991 * math/gen-libm-test.pl (show_exceptions): Add argument
7992 $non_finite.
7993 (parse_args): Update call to show_exceptions.
7994 * math/test-math-finite.h: New file.
7995 * math/test-math-no-finite.h: Likewise.
7996 * math/test-double-finite.c: Likewise.
7997 * math/test-float-finite.c: Likewise.
7998 * math/test-ldouble-finite.c: Likewise.
7999 * math/test-double.c: Include "test-math-no-finite.h".
8000 * math/test-float.c: Include "test-math-no-finite.h".
8001 * math/test-ldouble.c: Include "test-math-no-finite.h".
8002 * math/test-math-inline.h (TEST_FINITE): New macro.
8003 * math/test-math-vector.h (TEST_FINITE): Likewise.
8004 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8005 (libm-tests): Add test-float-finite and test-double-finite.
8006 ($(objpfx)test-float-finite.o): New dependency on
8007 $(objpfx)libm-test.stmp.
8008 ($(objpfx)test-double-finite.o): Likewise.
8009 ($(objpfx)test-ldouble-finite.o): Likewise.
8010 (libm-test-no-inline-cflags): New variable.
8011 (libm-test-finite-cflags): Likewise.
8012 (CFLAGS-test-float-finite.c): Likewise.
8013 (CFLAGS-test-double-finite.c): Likewise.
8014 (CFLAGS-test-ldouble-finite.c): Likewise.
8015 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
8016 (CFLAGS-test-double.c): Likewise.
8017 (CFLAGS-test-ldouble.c): Likewise.
8018
8019 2015-11-05 Roland McGrath <roland@hack.frob.com>
8020
8021 * io/fcntl.c (__fcntl): Add ... to prototype.
8022 * misc/ioctl.c (__ioctl): Likewise.
8023 * misc/syscall.c (syscall): Likewise.
8024
8025 2015-11-05 Joseph Myers <joseph@codesourcery.com>
8026
8027 * scripts/list-fixed-bugs.py: New file.
8028
8029 [BZ #19213]
8030 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
8031 returned for argument 1.
8032 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
8033 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
8034 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
8035 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
8036 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
8037 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
8038
8039 [BZ #19211]
8040 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
8041 __USE_XOPEN], not if [!__USE_ISOC99].
8042 (lgammaf): Likewise.
8043 (lgammal): Likewise.
8044 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
8045 (gammaf): Likewise.
8046 (gammal): Likewise.
8047 * math/test-signgam-finite-c11.c: New file.
8048 * math/test-signgam-finite-c99.c: Likewise.
8049 * math/test-signgam-finite.c: Likewise.
8050 * math/Makefile (tests): Add test-signgam-finite,
8051 test-signgam-finite-c99 and test-signgam-finite-c11.
8052 (CFLAGS-test-signgam-finite.c): New variable.
8053 (CFLAGS-test-signgam-finite-c99.c): Likewise.
8054 (CFLAGS-test-signgam-finite-c11.c): Likewise.
8055
8056 [BZ #19212]
8057 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
8058 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
8059 500].
8060 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
8061 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
8062 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
8063 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
8064 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
8065 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
8066 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
8067 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
8068 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
8069 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
8070
8071 [BZ #19209]
8072 * math/bits/math-finite.h (ldexp): Remove declaration.
8073 (ldexpf): Likewise.
8074 (ldexpl): Likewise.
8075
8076 [BZ #19205]
8077 * math/bits/math-finite.h (acosf): Condition declaration on
8078 [__USE_ISOC99].
8079 (acosl): Likewise.
8080 (acoshf): Likewise.
8081 (acoshl): Likewise.
8082 (asinf): Likewise.
8083 (asinl): Likewise.
8084 (atan2f): Likewise.
8085 (atan2l): Likewise.
8086 (atanhf): Likewise.
8087 (atanhl): Likewise.
8088 (coshf): Likewise.
8089 (coshl): Likewise.
8090 (expf): Likewise.
8091 (expl): Likewise.
8092 (fmodf): Likewise.
8093 (fmodl): Likewise.
8094 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
8095 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
8096 (j0l): Likewise.
8097 (y0f): Likewise.
8098 (y0l): Likewise.
8099 (j1f): Likewise.
8100 (j1l): Likewise.
8101 (y1f): Likewise.
8102 (y1l): Likewise.
8103 (jnf): Likewise.
8104 (jnl): Likewise.
8105 (ynf): Likewise.
8106 (ynl): Likewise.
8107 (lgammaf_r): Condition declaration on [__USE_ISOC99].
8108 (lgammal_r): Likewise.
8109 (__lgamma_r_finite): New declaration.
8110 (__lgammaf_r_finite): Likewise.
8111 (__lgammal_r_finite): Likewise.
8112 (lgamma): Use __lgamma_r_finite.
8113 (lgammaf): Condition definition on [__USE_ISOC99]. Use
8114 __lgammaf_r_finite.
8115 (lgammal): Condition definition on [__USE_ISOC99]. Use
8116 __lgammal_r_finite.
8117 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
8118 __lgamma_r_finite.
8119 (gammaf): Condition definition on [__USE_ISOC99]. Use
8120 __lgammaf_r_finite.
8121 (gammal): Condition definition on [__USE_ISOC99]. Use
8122 __lgammal_r_finite.
8123 (logf): Condition declaration on [__USE_ISOC99].
8124 (logl): Likewise.
8125 (log10f): Likewise.
8126 (log10l): Likewise.
8127 (ldexpf): Likewise.
8128 (ldexpl): Likewise.
8129 (powf): Likewise.
8130 (powl): Likewise.
8131 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8132 __USE_ISOC99].
8133 (remainderf): Condition declaration on [__USE_ISOC99].
8134 (remainderl): Likewise.
8135 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8136 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8137 (scalbl): Likewise.
8138 (sinhf): Condition declaration on [__USE_ISOC99].
8139 (sinhl): Likewise.
8140 (sqrtf): Likewise.
8141 (sqrtl): Likewise.
8142
8143 2015-11-04 Joseph Myers <joseph@codesourcery.com>
8144
8145 * sysdeps/arm/atomic-machine.h
8146 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8147 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8148 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8149 Remove conditional code.
8150 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8151 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8152 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8153 Change conditional to [__ASSEMBLER__].
8154 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8155 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8156 [!__ASSEMBLER__].
8157 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8158 code.
8159 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8160 conditional macro definitions.
8161 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8162 (__arch_compare_and_exchange_val_16_acq): Likewise.
8163 (__arch_compare_and_exchange_val_32_acq): Likewise.
8164 (atomic_exchange_and_add): Likewise.
8165 (atomic_add): Likewise.
8166 (atomic_add_negative): Likewise.
8167 (atomic_add_zero): Likewise.
8168 (atomic_bit_set): Likewise.
8169 (atomic_bit_test_set): Likewise.
8170 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8171 code unconditional.
8172 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8173
8174 * math/test-math-errno.h: New file.
8175 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8176 empty.
8177 (TEST_ERRNO): New macro.
8178 (TEST_EXCEPTIONS): Likewise.
8179 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8180 (TEST_EXCEPTIONS): Likewise.
8181 * math/test-math-vector.h (TEST_ERRNO): Likewise.
8182 * math/test-double.c: Include "test-math-errno.h".
8183 * math/test-float.c: Likewise.
8184 * math/test-ldouble.c: Likewise.
8185 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8186 code unconditional.
8187 (test_exceptions): Only run code if TEST_EXCEPTIONS.
8188 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8189 unconditional.
8190 (test_errno): Only run code if TEST_ERRNO.
8191 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8192
8193 2015-11-04 Florian Weimer <fweimer@redhat.com>
8194
8195 * nptl/tst-once5.cc: Remove attribution.
8196
8197 2015-11-04 Joseph Myers <joseph@codesourcery.com>
8198
8199 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8200 sqrt, tan, tanh, y0, y1 and yn.
8201 * math/auto-libm-test-out: Regenerated.
8202 * math/libm-test.inc (scalb_test_data): Add more tests.
8203 (scalbn_test_data): Likewise.
8204 (scalbln_test_data): Likewise.
8205 (signbit_test_data): Likewise.
8206 (sin_test_data): Likewise.
8207 (sincos_test_data): Likewise.
8208 (sinh_test_data): Likewise.
8209 (sqrt_test_data): Likewise.
8210 (tan_test_data): Likewise.
8211 (tanh_test_data): Likewise.
8212 (tgamma_test_data): Likewise.
8213 (y0_test_data): Likewise.
8214 (y1_test_data): Likewise.
8215 (yn_test_data): Likewise.
8216 (significand_test_data): Likewise.
8217 * sysdeps/i386/fpu/libm-test-ulps: Update.
8218
8219 2015-11-03 David Kastrup <dak@gnu.org>
8220
8221 [BZ #18604]
8222 * assert/assert.h (assert): Don't macro-expand failed assertion
8223 expression in error message.
8224 * malloc/malloc.c (assert): Likewise.
8225
8226 2015-11-03 Joseph Myers <joseph@codesourcery.com>
8227
8228 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8229 test.
8230 * configure: Regenerated.
8231
8232 2015-11-02 Joseph Myers <joseph@codesourcery.com>
8233
8234 * math/libm-test.inc (modf_test_data): Add more tests.
8235 (nearbyint_test_data): Likewise.
8236 (nextafter_test_data): Likewise.
8237 (nexttoward_test_data): Likewise.
8238 (pow_test_data): Likewise.
8239 (remainder_test_data): Likewise.
8240 (remquo_test_data): Likewise.
8241 (rint_test_data): Likewise.
8242
8243 [BZ #19201]
8244 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8245 Check for zero remainder in case of large exponents and ensure
8246 correct sign of result in that case.
8247 * math/libm-test.inc (remainder_test_data): Add more tests.
8248
8249 [BZ #6799]
8250 * math/s_nextafter.c: Include <errno.h>.
8251 (__nextafter): Set errno on overflow and underflow.
8252 * math/s_nexttowardf.c: Include <errno.h>.
8253 (__nexttowardf): Set errno on overflow and underflow.
8254 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8255 (__nextafterl): Set errno on overflow and underflow.
8256 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8257 (__nexttoward): Set errno on overflow and underflow.
8258 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8259 (__nexttowardf): Set errno on overflow and underflow.
8260 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8261 (__nextafterf): Set errno on overflow and underflow.
8262 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8263 (__nextafterl): Set errno on overflow and underflow.
8264 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8265 (__nexttoward): Set errno on overflow and underflow.
8266 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8267 (__nexttowardf): Set errno on overflow and underflow.
8268 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8269 (__nextafterl): Set errno on overflow and underflow.
8270 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8271 (__nexttoward): Set errno on overflow and underflow.
8272 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8273 (__nexttowardf): Set errno on overflow and underflow.
8274 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8275 (__nexttoward): Set errno on overflow and underflow.
8276 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
8277 (__nexttowardf): Set errno on overflow and underflow.
8278 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
8279 (__nldbl_nexttowardf): Set errno on overflow and underflow.
8280 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
8281 (__nextafterl): Set errno on overflow and underflow.
8282 * math/libm-test.inc (nextafter_test_data): Do not allow errno
8283 setting to be missing on overflow. Add more tests.
8284 (nexttoward_test_data): Likewise.
8285
8286 * configure.ac (libc_cv_initfini_array): Remove configure test.
8287 * configure: Regenerated.
8288
8289 2015-10-29 Joseph Myers <joseph@codesourcery.com>
8290
8291 [BZ #19189]
8292 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
8293 non-finite argument handle arguments with negative sign.
8294
8295 * math/libm-test.inc (j0_test_data): Do not test sign of zero
8296 result from infinite argument.
8297 (j1_test_data): Likewise.
8298 (jn_test_data): Likewise.
8299 (y0_test_data): Likewise.
8300 (y1_test_data): Likewise.
8301 (yn_test_data): Likewise.
8302
8303 [BZ #16171]
8304 * math/w_remainder.c (drem): Define as weak alias of __remainder.
8305 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
8306 * math/w_remainderf.c (dremf): Define as weak alias of
8307 __remainderf.
8308 * math/w_remainderl.c (dreml): Define as weak alias of
8309 __remainderl.
8310 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
8311 __remainder.
8312 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
8313 __remainderf.
8314 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
8315 __remainderl.
8316 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
8317 weak alias of remainderl.
8318 * sysdeps/ieee754/ldbl-opt/w_remainder.c
8319 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
8320 alias of __remainder.
8321 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
8322 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
8323 strong alias of __remainderl.
8324 (dreml): Use long_double_symbol.
8325 * math/Makefile (libm-calls): Remove w_drem.
8326 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
8327 (CFLAGS-nldbl-drem.c): Remove variable.
8328 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
8329 * math/w_drem.c: Remove file.
8330 * math/w_dremf.c: Likewise.
8331 * math/w_dreml.c: Likewise.
8332 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
8333 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
8334 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
8335
8336 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
8337 * sysdeps/i386/configure: Regenerated.
8338 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
8339 * sysdeps/x86_64/configure: Regenerated.
8340
8341 * configure.ac (libc_cv_asm_protected_directive): Remove configure
8342 test.
8343 (libc_cv_visibility_attribute): Likewise.
8344 (libc_cv_protected_data): Test unconditionally.
8345 (libc_cv_broken_visibility_attribute): Remove configure test.
8346 (libc_cv_have_sdata_section): Test unconditionally.
8347 * configure: Regenerated.
8348
8349 * include/libc-internal.h (libc_max_align_t): Remove typedef.
8350 * include/scratch_buffer.h: Include <stddef.h> instead of
8351 <libc-internal.h>.
8352 (struct scratch_buffer): Use max_align_t instead of
8353 libc_max_align_t.
8354
8355 2015-10-29 Florian Weimer <fweimer@redhat.com>
8356
8357 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
8358 instead of extend_alloca. Change control flow to avoid a goto.
8359 Remove assert which is trivially always true.
8360
8361 2015-10-28 Joseph Myers <joseph@codesourcery.com>
8362
8363 [BZ #16068]
8364 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
8365 (FE_ALL_EXCEPT_X86): New macro.
8366 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8367 FE_ALL_EXCEPT. Ensure precision control is included in
8368 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8369 handle "denormal operand exception" and clear FZ and DAZ bits.
8370 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
8371 (FE_ALL_EXCEPT_X86): New macro.
8372 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8373 FE_ALL_EXCEPT. Ensure precision control is included in
8374 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8375 handle "denormal operand exception" and clear FZ and DAZ bits.
8376 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8377 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8378 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8379 test-fenv-x87 and test-fenv-sse-2.
8380 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8381
8382 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8383 * math/test-double.h (BUILD_COMPLEX): New macro.
8384 * math/test-float.h (BUILD_COMPLEX): Likewise.
8385 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8386
8387 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8388 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8389 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8391 instead of DBL_DENORM_MIN in comment.
8392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8393 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8394 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8395 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8396 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8397 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8398
8399 2015-10-28 Florian Weimer <fweimer@redhat.com>
8400
8401 [BZ# 19048]
8402 * malloc/malloc.c (struct malloc_state): Update comment. Add
8403 attached_threads member.
8404 (main_arena): Initialize attached_threads.
8405 * malloc/arena.c (list_lock): Update comment.
8406 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8407 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8408 (deattach_arena): New function.
8409 (_int_new_arena): Initialize arena reference count and deattach
8410 replaced arena.
8411 (get_free_list, reused_arena): Update reference count and deattach
8412 replaced arena.
8413 (arena_thread_freeres): Update arena reference count and only put
8414 unreferenced arenas on the free list.
8415
8416 2015-10-28 Joseph Myers <joseph@codesourcery.com>
8417
8418 [BZ #19181]
8419 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8420 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8421 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8422 * math/test-fenv-clear-main.c: New file.
8423 * math/test-fenv-clear.c: Likewise.
8424 * math/Makefile (tests): Add test-fenv-clear.
8425 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8426 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8427 test-fenv-clear-sse.
8428 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8429
8430 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8431 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8432 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8433
8434 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8435
8436 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8437 static libc.
8438
8439 2015-10-28 Joseph Myers <joseph@codesourcery.com>
8440
8441 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8442 test.
8443 * sysdeps/i386/configure: Regenerated.
8444 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8445 test.
8446 * sysdeps/x86_64/configure: Regenerated.
8447 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8449 memset-avx2 unconditionally instead of conditionally on
8450 [$(config-cflags-avx2) = yes].
8451 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8452 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8453 unconditional.
8454 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8455 * sysdeps/x86_64/multiarch/memset_chk.S
8456 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8457 to [IS_IN (libc) && SHARED].
8458
8459 2015-10-27 Joseph Myers <joseph@codesourcery.com>
8460
8461 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8462 configure test.
8463 * sysdeps/arm/configure: Regenerated.
8464 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8465 Define variable if not already defined.
8466
8467 [BZ #17404]
8468 * sysdeps/mips/atomic-machine.h
8469 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8470 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8471 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8472
8473 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8474 unconditional.
8475 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8476 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8477 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8478 unconditional.
8479 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8480 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8481 unconditional.
8482 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8483 * stdlib/setenv.c
8484 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8485 code unconditional.
8486 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8487 Remove conditional code.
8488 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8489 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8490 unconditional.
8491 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8492 code.
8493 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8494 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8495 unconditional.
8496 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8497 code.
8498 * sysdeps/ieee754/ldbl-128/k_tanl.c
8499 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8500 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8501 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8502 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8503 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8504 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8505 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8506 unconditional.
8507 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8508 code.
8509 * sysdeps/ieee754/ldbl-96/k_tanl.c
8510 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8511 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8512
8513 * nptl/tst-initializers1-c11.c: New file.
8514 * nptl/tst-initializers1-gnu11.c: Likewise.
8515 * nptl/Makefile (tests): Add these new tests.
8516 (CFLAGS-tst-initializers1-c11.c): New variable.
8517 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8518
8519 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8520 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8521 instead of -std=gnu99.
8522 * configure.ac (systemtap): Test with -std=gnu11 instead of
8523 -std=gnu99.
8524 * configure: Regenerated.
8525 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8526 in compilation command in comment.
8527
8528 * sysdeps/nptl/configure.ac: Remove file.
8529 * sysdeps/nptl/configure: Remove generated file.
8530 * configure.ac (libc_cv_forced_unwind): Do not substitute.
8531 * configure: Regenerated.
8532 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8533 * config.make.in (have-forced-unwind): Remove variable.
8534 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8535 unconditional.
8536 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8537 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8538 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8539 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8540 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8541 unconditional.
8542
8543 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8544
8545 [BZ #19174]
8546 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8547 .skip_lock_out_of_tbegin_retries.
8548 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8549 (__lll_lock_elision): Likewise, and respect a value of
8550 try_tbegin <= 0.
8551
8552 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8553
8554 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8555 statement.
8556
8557 2015-10-27 Joseph Myers <joseph@codesourcery.com>
8558
8559 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8560 variable.
8561 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8562 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8563
8564 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8565 of -std=c1x -D_ISOC11_SOURCE.
8566
8567 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8568 * configure: Regenerated.
8569 * manual/install.texi (Tools for Compilation): Document
8570 requirement for GCC 4.7 or later.
8571 * INSTALL: Regenerated.
8572
8573 2015-10-27 Ludovic Courtès <ludo@gnu.org>
8574
8575 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8576 on CNT to a conditional jump to 'puntdata'.
8577
8578 2015-10-27 Joseph Myers <joseph@codesourcery.com>
8579
8580 * configure.ac (libc_cv_gcc___thread): Remove configure test.
8581 (libc_cv_gcc_tls_model_attr): Likewise.
8582 * configure: Regenerated.
8583
8584 * configure.ac (libc_cv_need_minus_P): Remove configure test.
8585 * configure: Regenerated.
8586 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8587
8588 2015-10-26 Joseph Myers <joseph@codesourcery.com>
8589
8590 * configure.ac (old_glibc_headers): Remove configure test.
8591 * configure: Regenerated.
8592 * config.make.in (old-glibc-headers): Remove variable.
8593 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8594 (install): Remove dependency on remove-old-headers.
8595 (headers2_0): Remove variable.
8596 (remove-old-headers): Remove rule.
8597
8598 * configure.ac (libc_cv_dot_text): Remove configure test.
8599 (libc_cv_asm_set_directive): Use .text instead of
8600 ${libc_cv_dot_text} in configure test.
8601 * configure: Regenerated.
8602
8603 2015-10-26 Florian Weimer <fweimer@redhat.com>
8604
8605 [BZ #19168]
8606 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8607
8608 2015-10-26 Florian Weimer <fweimer@redhat.com>
8609
8610 * configure.ac (CXX): Clear the variable if the C++ toolchain does
8611 not support static linking.
8612 * configure: Regenerate.
8613
8614 2015-10-23 Joseph Myers <joseph@codesourcery.com>
8615
8616 * math/libm-test.inc (check_float_internal): Do not special-case
8617 errors up to 0.5 ulp.
8618
8619 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8620 log2.
8621 * math/auto-libm-test-out: Regenerated.
8622 * math/libm-test.inc (MAX_EXP): New macro.
8623 (ilogb_test_data): Add more tests.
8624 (isfinite_test_data): Likewise.
8625 (isgreater_test_data): Likewise.
8626 (isgreaterequal_test_data): Likewise.
8627 (isinf_test_data): Likewise.
8628 (isless_test_data): Likewise.
8629 (islessequal_test_data): Likewise.
8630 (islessgreater_test_data): Likewise.
8631 (isnan_test_data): Likewise.
8632 (isnormal_test_data): Likewise.
8633 (issignaling_test_data): Likewise.
8634 (isunordered_test_data): Likewise.
8635 (j0_test_data): Likewise.
8636 (j1_test_data): Likewise.
8637 (jn_test_data): Likewise.
8638 (lgamma_test_data): Likewise.
8639 (log_test_data): Likewise.
8640 (log10_test_data): Likewise.
8641 (log1p_test_data): Likewise.
8642 (log2_test_data): Likewise.
8643 (logb_test_data): Likewise.
8644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8645
8646 [BZ #18611]
8647 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8648 avoid excess range and precision on underflow.
8649 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8650 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8651 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8652 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8653 underflow.
8654 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8655 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8656 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8657 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8658 * math/auto-libm-test-in: Do not allow missing errno setting for
8659 tests of j1 and jn.
8660 * math/auto-libm-test-out: Regenerated.
8661
8662 2015-10-22 Joseph Myers <joseph@codesourcery.com>
8663
8664 [BZ #15491]
8665 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8666 floating-point environment instead of clearing all exceptions.
8667 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8668 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8669 merging in "invalid" exceptions from frndint.
8670 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8671 * math/test-nearbyint-except.c: New file.
8672 * math/Makefile (tests): Add test-nearbyint-except.
8673
8674 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
8675
8676 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8677
8678 * sysdeps/tile/libm-test-ulps: Regenerated.
8679
8680 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8681
8682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8683 (__NR_sync_file_range2): Assume it is always defined.
8684 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8685 (__NR_sync_file_range): Assume it is always defined.
8686
8687 2015-10-22 Andreas Schwab <schwab@suse.de>
8688
8689 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8690 INTERNAL_SYSCALL_ERRNO.
8691 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8692 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8693 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8694 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8695 Likewise.
8696 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8697
8698 2015-10-21 Joseph Myers <joseph@codesourcery.com>
8699
8700 * io/tst-fcntl.c (fd): New static variable.
8701 (do_prepare): Open temporary file here....
8702 (do_test): ...not here.
8703
8704 * io/ftwtest-sh: Also trap on exit to remove temporary files.
8705
8706 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
8707
8708 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8709 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8710 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8711 Moved before "#ifdef __ASSEMBLER__".
8712
8713 2015-10-21 Joseph Myers <joseph@codesourcery.com>
8714
8715 [BZ #19156]
8716 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8717 arguments very close to 0.
8718
8719 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
8720
8721 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8722 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8723
8724 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
8725
8726 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8727 New. Defined for GCC 5 and above when not compiling for
8728 profiling.
8729 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8730
8731 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8732 Renamed to ...
8733 (CFLAGS-epoll_pwait.o): This.
8734 (CFLAGS-mmap.c): Renamed to ...
8735 (CFLAGS-mmap.o): This.
8736 (CFLAGS-mmap64.c): Renamed to ...
8737 (CFLAGS-mmap64.o): This.
8738 (CFLAGS-epoll_pwait.os): New.
8739 (CFLAGS-mmap.os): Likewise.
8740 (CFLAGS-mmap64.os): Likewise.
8741 (CFLAGS-semtimedop.os): Likewise.
8742 (CFLAGS-semtimedop.c): Renamed to ...
8743 (CFLAGS-semtimedop.o): This.
8744
8745 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8746
8747 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8748 warning message.
8749
8750 2015-10-21 Joseph Myers <joseph@codesourcery.com>
8751
8752 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8753 * Makefile ($(objpfx)c++-types-check.out): Filter out
8754 $(+gccwarn-c) instead of -Wstrict-prototypes.
8755
8756 * io/fts.c (fts_open): Convert to prototype-style function
8757 definition.
8758 * malloc/mcheck.c (mcheck): Likewise.
8759 (mcheck_pedantic): Likewise.
8760 * posix/regexec.c (re_search_2_stub): Likewise. Use
8761 internal_function.
8762 (re_search_internal): Likewise.
8763 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8764 prototype-style function definition.
8765 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8766 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8767 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8768 (xdr_utmpptr): Likewise.
8769 (xdr_utmparr): Likewise.
8770 (xdr_utmpidle): Likewise.
8771 (xdr_utmpidleptr): Likewise.
8772 (xdr_utmpidlearr): Likewise.
8773
8774 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8775 log, log10 and log2.
8776 * math/auto-libm-test-out: Regenerated.
8777 * math/libm-test.inc (fmod_test_data): Add more tests.
8778 (fpclassify_test_data): Likewise.
8779 (frexp_test_data): Likewise.
8780 (hypot_test_data): Likewise.
8781 (ilogb_test_data): Likewise.
8782
8783 2015-10-20 Joseph Myers <joseph@codesourcery.com>
8784
8785 * debug/fortify_fail.c (__fortify_fail): Convert to
8786 prototype-style function definition. Use internal_function.
8787 * libio/genops.c (save_for_backup): Convert to prototype-style
8788 function definition.
8789 * libio/wgenops.c (save_for_wbackup): Likewise.
8790 * login/grantpt.c (grantpt): Likewise.
8791 * login/ptsname.c (ptsname): Likewise.
8792 (__ptsname_r): Likewise.
8793 * login/unlockpt.c (unlockpt): Likewise.
8794 * mach/msgserver.c (__mach_msg_server): Likewise.
8795 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8796 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8797 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8798 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8799 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8800 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8801 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8802 Likewise.
8803 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
8804 internal_function.
8805 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8806 prototype-style function definition.
8807 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8808 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8809 (__pthread_create_2_0): Likewise.
8810 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8811 * nptl/register-atfork.c (__register_atfork): Likewise.
8812 * posix/glob.c (glob): Likewise.
8813 * posix/regcomp.c (re_comp): Likewise.
8814 * posix/regexec.c (re_exec): Likewise.
8815 * stdlib/add_n.c [__STDC__]: Make code unconditional.
8816 [!__STDC__]: Remove conditional code.
8817 * stdlib/cmp.c [__STDC__]: Make code unconditional.
8818 [!__STDC__]: Remove conditional code.
8819 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8820 [!__STDC__]: Remove conditional code.
8821 * stdlib/divrem.c [__STDC__]: Make code unconditional.
8822 [!__STDC__]: Remove conditional code.
8823 * stdlib/lshift.c [__STDC__]: Make code unconditional.
8824 [!__STDC__]: Remove conditional code.
8825 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8826 [!__STDC__]: Remove conditional code.
8827 * stdlib/mul.c [__STDC__]: Make code unconditional.
8828 [!__STDC__]: Remove conditional code.
8829 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8830 [!__STDC__]: Remove conditional code.
8831 * stdlib/rshift.c [__STDC__]: Make code unconditional.
8832 [!__STDC__]: Remove conditional code.
8833 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8834 function definition.
8835 (STRTOF): Likewise.
8836 * stdlib/strtod_l.c (__STRTOF): Likewise.
8837 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8838 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8839 (__strtol_l): Likewise.
8840 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8841 [!__STDC__]: Remove conditional code.
8842 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8843 definition.
8844 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8845 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8846 type.
8847 (__strcasecmp): Convert to prototype-style function definition.
8848 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8849 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8850 type.
8851 (__strncasecmp): Convert to prototype-style function definition.
8852 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8853 * sunrpc/xdr.c (xdr_union): Likewise.
8854 * sunrpc/xdr_array.c (xdr_array): Likewise.
8855 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8856 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8857 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8858 Likewise.
8859 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8860 Likewise.
8861 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8862 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8863 Likewise.
8864 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8865 (LOCALE_PARAM_PROTO): Likewise.
8866 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8867 argument type.
8868 (ut_argument_spec): Remove macro.
8869 (ut_argument_spec_iso): Rename to ut_argument_spec.
8870 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
8871 prototype-style function definition.
8872 (memcpy_uppcase): Likewise.
8873 (__strftime_internal): Likewise.
8874 (my_strftime): Likewise.
8875 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8876 (LOCALE_PARAM_DECL): Likewise.
8877 [_LIBC] (LOCALE_PARAM): Include argument type.
8878 (__strptime_internal): Convert to prototype-style function
8879 definition.
8880 (strptime): Likewise.
8881 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8882 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8883 type.
8884 (__wcscasecmp): Convert to prototype-style function definition.
8885 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8886 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8887 type.
8888 (__wcsncasecmp): Convert to prototype-style function definition.
8889
8890 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8891 function definition.
8892 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8893 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8894 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8895 * elf/dl-minimal.c (_itoa): Likewise.
8896 * hurd/hurdmalloc.c (malloc): Likewise.
8897 (free): Likewise.
8898 (realloc): Likewise.
8899 * inet/inet6_option.c (inet6_option_space): Likewise.
8900 (inet6_option_init): Likewise.
8901 (inet6_option_append): Likewise.
8902 (inet6_option_alloc): Likewise.
8903 (inet6_option_next): Likewise.
8904 (inet6_option_find): Likewise.
8905 * io/ftw.c (FTW_NAME): Likewise.
8906 (NFTW_NAME): Likewise.
8907 (NFTW_NEW_NAME): Likewise.
8908 (NFTW_OLD_NAME): Likewise.
8909 * libio/iofwide.c (_IO_fwide): Likewise.
8910 * libio/strops.c (_IO_str_init_static_internal): Likewise.
8911 (_IO_str_init_static): Likewise.
8912 (_IO_str_init_readonly): Likewise.
8913 (_IO_str_overflow): Likewise.
8914 (_IO_str_underflow): Likewise.
8915 (_IO_str_count): Likewise.
8916 (_IO_str_seekoff): Likewise.
8917 (_IO_str_pbackfail): Likewise.
8918 (_IO_str_finish): Likewise.
8919 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8920 (_IO_wstr_overflow): Likewise.
8921 (_IO_wstr_underflow): Likewise.
8922 (_IO_wstr_count): Likewise.
8923 (_IO_wstr_seekoff): Likewise.
8924 (_IO_wstr_pbackfail): Likewise.
8925 (_IO_wstr_finish): Likewise.
8926 * locale/programs/localedef.c (normalize_codeset): Likewise.
8927 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8928 (add_locales_to_archive): Likewise.
8929 (delete_locales_from_archive): Likewise.
8930 * malloc/malloc.c (__libc_mallinfo): Likewise.
8931 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8932 * misc/tsearch.c (__tfind): Likewise.
8933 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8934 * nptl/pthread_attr_getdetachstate.c
8935 (__pthread_attr_getdetachstate): Likewise.
8936 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8937 Likewise.
8938 * nptl/pthread_attr_getinheritsched.c
8939 (__pthread_attr_getinheritsched): Likewise.
8940 * nptl/pthread_attr_getschedparam.c
8941 (__pthread_attr_getschedparam): Likewise.
8942 * nptl/pthread_attr_getschedpolicy.c
8943 (__pthread_attr_getschedpolicy): Likewise.
8944 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8945 Likewise.
8946 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8947 Likewise.
8948 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8949 Likewise.
8950 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8951 Likewise.
8952 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8953 (__pthread_attr_init_2_0): Likewise.
8954 * nptl/pthread_attr_setdetachstate.c
8955 (__pthread_attr_setdetachstate): Likewise.
8956 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8957 Likewise.
8958 * nptl/pthread_attr_setinheritsched.c
8959 (__pthread_attr_setinheritsched): Likewise.
8960 * nptl/pthread_attr_setschedparam.c
8961 (__pthread_attr_setschedparam): Likewise.
8962 * nptl/pthread_attr_setschedpolicy.c
8963 (__pthread_attr_setschedpolicy): Likewise.
8964 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8965 Likewise.
8966 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8967 Likewise.
8968 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8969 Likewise.
8970 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8971 Likewise.
8972 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8973 Likewise.
8974 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8975 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8976 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8977 use internal_function.
8978 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8979 prototype-style function definition.
8980 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8981 (__pthread_mutex_cond_lock_adjust): Likewise. Use
8982 internal_function.
8983 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8984 Convert to prototype-style function definition.
8985 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8986 Likewise.
8987 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8988 Likewise.
8989 (__pthread_mutex_unlock): Likewise.
8990 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8991 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8992 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8993 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8994 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8995 * nss/makedb.c (process_input): Likewise.
8996 * posix/fnmatch.c (__strchrnul): Likewise.
8997 (__wcschrnul): Likewise.
8998 (fnmatch): Likewise.
8999 * posix/fnmatch_loop.c (FCT): Likewise.
9000 * posix/glob.c (globfree): Likewise.
9001 (__glob_pattern_type): Likewise.
9002 (__glob_pattern_p): Likewise.
9003 * posix/regcomp.c (re_compile_pattern): Likewise.
9004 (re_set_syntax): Likewise.
9005 (re_compile_fastmap): Likewise.
9006 (regcomp): Likewise.
9007 (regerror): Likewise.
9008 (regfree): Likewise.
9009 * posix/regexec.c (regexec): Likewise.
9010 (re_match): Likewise.
9011 (re_search): Likewise.
9012 (re_match_2): Likewise.
9013 (re_search_2): Likewise.
9014 (re_search_stub): Likewise. Use internal_function
9015 (re_copy_regs): Likewise.
9016 (re_set_registers): Convert to prototype-style function
9017 definition.
9018 (prune_impossible_nodes): Likewise. Use internal_function.
9019 * resolv/inet_net_pton.c (inet_net_pton): Convert to
9020 prototype-style function definition.
9021 (inet_net_pton_ipv4): Likewise.
9022 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9023 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
9024 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9025 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
9026 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9027 Make variadic.
9028 * time/strptime_l.c (localtime_r): Convert to prototype-style
9029 function definition.
9030 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9031 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9032 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9033 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9034
9035 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
9036 definition.
9037 (_ufc_doit_r): Likewise.
9038 * crypt/crypt_util.c (_ufc_copymem): Likewise.
9039 (_ufc_output_conversion_r): Likewise.
9040 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
9041 * inet/rcmd.c (rcmd_af): Likewise.
9042 (rcmd): Likewise.
9043 (ruserok_af): Likewise.
9044 (ruserok): Likewise.
9045 (ruserok2_sa): Likewise.
9046 (ruserok_sa): Likewise.
9047 (iruserok_af): Likewise.
9048 (iruserok): Likewise.
9049 (__ivaliduser): Likewise.
9050 (__validuser2_sa): Likewise.
9051 * inet/rexec.c (rexec_af): Likewise.
9052 (rexec): Likewise.
9053 * inet/ruserpass.c (ruserpass): Likewise.
9054 * locale/programs/xmalloc.c (xcalloc): Likewise.
9055 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
9056 * math/w_drem.c (__drem): Likewise.
9057 * math/w_dremf.c (__dremf): Likewise.
9058 * math/w_dreml.c (__dreml): Likewise.
9059 * misc/daemon.c (daemon): Likewise.
9060 * resolv/res_debug.c (p_fqnname): Likewise.
9061 * stdlib/div.c (div): Likewise.
9062 * string/memcmp.c (memcmp_bytes): Likewise.
9063 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
9064 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
9065
9066 * crypt/cert.c (main): Convert to prototype-style function
9067 definition.
9068 * io/pipe.c (__pipe): Likewise.
9069 * io/pipe2.c (__pipe2): Likewise.
9070 * misc/futimesat.c (futimesat): Likewise.
9071 * misc/utimes.c (__utimes): Likewise.
9072 * posix/execve.c (__execve): Likewise.
9073 * posix/execvp.c (execvp): Likewise.
9074 * posix/execvpe.c (__execvpe): Likewise.
9075 * posix/fexecve.c (fexecve): Likewise.
9076 * socket/socketpair.c (socketpair): Likewise.
9077 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9078 * stdlib/erand48.c (erand48): Likewise.
9079 * stdlib/erand48_r.c (__erand48_r): Likewise.
9080 * stdlib/jrand48.c (jrand48): Likewise.
9081 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
9082 * stdlib/lcong48.c (lcong48): Likewise.
9083 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
9084 * stdlib/nrand48.c (nrand48): Likewise.
9085 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
9086 * stdlib/seed48.c (seed48): Likewise.
9087 * stdlib/seed48_r.c (__seed48_r): Likewise.
9088 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
9089 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
9090 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
9091
9092 2015-10-19 Joseph Myers <joseph@codesourcery.com>
9093
9094 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
9095 * configure: Regenerated.
9096 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
9097 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
9098 unconditional.
9099 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9100 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9101 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9102 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
9103 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
9104 unconditional.
9105 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9106
9107 * posix/Makefile (CFLAGS-regex.c): Remove variable.
9108 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
9109
9110 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
9111 function definition.
9112 * crypt/crypt_util.c (__encrypt_r): Likewise.
9113 * libio/genops.c (_IO_no_init): Likewise.
9114 * libio/iofopncook.c (_IO_fopencookie): Likewise.
9115 (_IO_old_fopencookie): Likewise.
9116 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9117 * libio/iogetline.c (_IO_getline): Likewise.
9118 (_IO_getline_info): Likewise.
9119 * libio/iogetwline.c (_IO_getwline): Likewise.
9120 (_IO_getwline_info): Likewise.
9121 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
9122 * libio/vswprintf.c (_IO_vswprintf): Likewise.
9123 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
9124 (find_entry): Likewise.
9125 (iterate_table): Likewise.
9126 (lookup): Likewise.
9127 * login/forkpty.c (forkpty): Likewise.
9128 * misc/hsearch_r.c (__hsearch_r): Likewise.
9129 * misc/select.c (__select): Likewise.
9130 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9131 Likewise.
9132 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9133 Likewise.
9134 * nptl/old_pthread_cond_timedwait.c
9135 (__pthread_cond_timedwait_2_0): Likewise.
9136 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9137 * nptl/pthread_barrierattr_getpshared.c
9138 (pthread_barrierattr_getpshared): Likewise.
9139 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9140 Likewise.
9141 * nptl/pthread_mutex_setprioceiling.c
9142 (pthread_mutex_setprioceiling): Likewise.
9143 * nptl/pthread_mutexattr_getprioceiling.c
9144 (pthread_mutexattr_getprioceiling): Likewise.
9145 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9146 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9147 Likewise.
9148 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9149 Likewise.
9150 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9151 Likewise.
9152 * socket/recvfrom.c (__recvfrom): Likewise.
9153 * socket/sendto.c (__sendto): Likewise.
9154 * socket/setsockopt.c (__setsockopt): Likewise.
9155 * stdio-common/_itoa.c (_itoa): Likewise.
9156 * stdio-common/_itowa.c (_itowa): Likewise.
9157 * stdio-common/reg-printf.c (__register_printf_specifier):
9158 Likewise.
9159 (__register_printf_function): Likewise.
9160 * stdio-common/tempname.c (__path_search): Likewise.
9161 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9162 * stdlib/mul_1.c (mpn_mul_1): Likewise.
9163 * stdlib/random_r.c (__initstate_r): Likewise.
9164 * stdlib/setenv.c (__add_to_environ): Likewise.
9165 * stdlib/submul_1.c (mpn_submul_1): Likewise.
9166 * streams/getpmsg.c (getpmsg): Likewise.
9167 * streams/putmsg.c (putmsg): Likewise.
9168 * streams/putpmsg.c (putpmsg): Likewise.
9169 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9170 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9171 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9172 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9173 * sunrpc/pm_getport.c (pmap_getport): Likewise.
9174 * sunrpc/svc_udp.c (cache_get): Likewise.
9175 * sunrpc/xdr_array.c (xdr_vector): Likewise.
9176 * sysdeps/mach/hurd/getcwd.c
9177 (__canonicalize_directory_name_internal): Likewise.
9178 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9179 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9180 * sysdeps/mach/hurd/select.c (__select): Likewise.
9181 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9182 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9183 * sysdeps/sparc/nptl/pthread_barrier_init.c
9184 (__pthread_barrier_init): Likewise.
9185 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9186 (__pthread_cond_timedwait): Likewise.
9187 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9188 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9189 Likewise.
9190 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9191 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9192 Likewise.
9193 * sysvipc/semtimedop.c (semtimedop): Likewise.
9194 * time/setitimer.c (__setitimer): Likewise.
9195 * time/strftime_l.c (emacs_strftime): Likewise.
9196
9197 2015-10-19 Mike Frysinger <vapier@gentoo.org>
9198
9199 * config.make.in (have-ssp): Delete.
9200 (stack-protector): New variable.
9201 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
9202 cache test for -fstack-protector-strong. Export stack_protector to
9203 the best ssp flag.
9204 * configure: Regenerated.
9205 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9206 * nscd/Makefile (CFLAGS-nscd): Likewise.
9207 * resolv/Makefile (CFLAGS-libresolv): Likewise.
9208
9209 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
9210
9211 [BZ #19122]
9212 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9213 attribute_hidden.
9214
9215 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9216
9217 [BZ #18743]
9218 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9219 code to...
9220 (ELIDE_LOCK): ...here.
9221 (__get_new_count): New function with part of the code from
9222 __elide_lock that updates the value of adapt_count after a
9223 transaction abort.
9224 (__elided_trylock): Moved this code to...
9225 (ELIDE_TRYLOCK): ...here.
9226
9227 2015-10-19 Mike Frysinger <vapier@gentoo.org>
9228
9229 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9230 * configure: Regenerate.
9231 * INSTALL: Regenerate.
9232 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9233 and tweak grammar.
9234
9235 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
9236
9237 * login/programs/pt_chown.c: Include signal.h
9238 (main): Clear any signal mask from the parent process.
9239
9240 2015-10-19 Joseph Myers <joseph@codesourcery.com>
9241
9242 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9243 * configure: Regenerated.
9244 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9245 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9246 $(gnu89-inline-CFLAGS).
9247
9248 * configure.ac (libc_cv_asm_weak_directive): Remove configure
9249 test.
9250 (libc_cv_asm_weakext_directive): Likewise.
9251 * configure: Regenerated.
9252 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9253 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9254 * include/libc-symbols.h
9255 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9256 #error.
9257 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9258 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9259
9260 * sysdeps/arm/backtrace.c (__backtrace): Convert to
9261 prototype-style function definition.
9262 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9263 * sysdeps/i386/ffs.c (__ffs): Likewise.
9264 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9265 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9266 Likewise.
9267 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9268 Likewise.
9269 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9270 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9271 Likewise.
9272 * sysdeps/m68k/ffs.c (__ffs): Likewise.
9273 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9274 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9275 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9276 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
9277 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
9278 * sysdeps/mach/hurd/access.c (__access): Likewise.
9279 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
9280 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
9281 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9282 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
9283 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
9284 (cthread_getspecific): Likewise.
9285 (cthread_setspecific): Likewise.
9286 (__libc_getspecific): Likewise.
9287 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
9288 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
9289 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
9290 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
9291 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
9292 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
9293 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
9294 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
9295 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
9296 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
9297 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
9298 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9299 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
9300 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
9301 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
9302 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
9303 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
9304 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
9305 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
9306 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
9307 * sysdeps/mach/hurd/link.c (__link): Likewise.
9308 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
9309 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
9310 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9311 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
9312 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9313 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
9314 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
9315 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
9316 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9317 * sysdeps/mach/hurd/rename.c (rename): Likewise.
9318 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
9319 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
9320 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
9321 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
9322 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
9323 * sysdeps/mach/hurd/send.c (__send): Likewise.
9324 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
9325 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
9326 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
9327 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
9328 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
9329 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
9330 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
9331 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
9332 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
9333 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
9334 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
9335 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
9336 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
9337 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
9338 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
9339 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9340 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
9341 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9342 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
9343 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9344 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
9345 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
9346 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
9347 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
9348 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
9349 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
9350 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
9351 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9352 * sysdeps/posix/alarm.c (alarm): Likewise.
9353 * sysdeps/posix/cuserid.c (cuserid): Likewise.
9354 * sysdeps/posix/dirfd.c (dirfd): Likewise.
9355 * sysdeps/posix/dup.c (__dup): Likewise.
9356 * sysdeps/posix/dup2.c (__dup2): Likewise.
9357 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
9358 (main): Likewise.
9359 * sysdeps/posix/flock.c (__flock): Likewise.
9360 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
9361 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9362 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
9363 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
9364 * sysdeps/posix/isatty.c (__isatty): Likewise.
9365 * sysdeps/posix/killpg.c (killpg): Likewise.
9366 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9367 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
9368 * sysdeps/posix/raise.c (raise): Likewise.
9369 * sysdeps/posix/remove.c (remove): Likewise.
9370 * sysdeps/posix/rename.c (rename): Likewise.
9371 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
9372 * sysdeps/posix/seekdir.c (seekdir): Likewise.
9373 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9374 * sysdeps/posix/sigignore.c (sigignore): Likewise.
9375 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9376 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9377 * sysdeps/posix/sigset.c (sigset): Likewise.
9378 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9379 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9380 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9381 * sysdeps/posix/time.c (time): Likewise.
9382 * sysdeps/posix/ttyname.c (getttyname): Likewise.
9383 (ttyname): Likewise.
9384 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9385 * sysdeps/posix/utime.c (utime): Likewise.
9386 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9387 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9388 Likewise.
9389 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9390 (pthread_spin_trylock): Likewise.
9391 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9392 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9393 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9394 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9395 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9396 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9397 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9398 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9399 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9400 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9401 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9402 * sysdeps/s390/ffs.c (__ffs): Likewise.
9403 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9404 Likewise.
9405 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9406 Likewise.
9407 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9408 Likewise.
9409 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9410 (pthread_barrier_destroy): Likewise.
9411 * sysdeps/sparc/nptl/pthread_barrier_wait.c
9412 (__pthread_barrier_wait): Likewise.
9413 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9414 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9415 (__pthread_barrier_wait): Likewise.
9416 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9417 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9418 (memcmp_not_common_alignment): Likewise.
9419 (MEMCMP): Likewise.
9420 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9421 (_wordcopy_fwd_dest_aligned): Likewise.
9422 (_wordcopy_bwd_aligned): Likewise.
9423 (_wordcopy_bwd_dest_aligned): Likewise.
9424 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9425 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9426 * sysdeps/unix/bsd/stty.c (stty): Likewise.
9427 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9428 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9429 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9430 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9431 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9432 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9433 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9434 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9435 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9436 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9437 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9438 * sysdeps/unix/stime.c (stime): Likewise.
9439 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9440 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9441 Likewise. Use internal_function.
9442 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9443 Convert to prototype-style function definition.
9444 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9445 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9446 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9447 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9448 Likewise. Use internal_function.
9449 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9450 prototype-style function definition
9451 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9452 Likewise.
9453 (__getlogin_r): Likewise.
9454 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9455 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9456 (__pthread_cond_broadcast): Likewise.
9457 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9458 (__pthread_cond_destroy): Likewise.
9459 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9460 (__pthread_cond_init): Likewise.
9461 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9462 (__pthread_cond_signal): Likewise.
9463 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9464 (__pthread_cond_wait): Likewise.
9465 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9466 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9467 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9468 Likewise.
9469 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9470 Likewise.
9471 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9472 Likewise.
9473 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9474 Likewise.
9475 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9477 (__ftruncate64): Likewise.
9478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9479 (truncate64): Likewise.
9480 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9481 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9482 (pthread_getcpuclockid): Likewise.
9483 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9484 Likewise.
9485 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9486 Likewise.
9487 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9488 Likewise.
9489 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9490 Likewise.
9491 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9492 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9493 (__libc_sigaction): Likewise.
9494 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9495 Likewise.
9496 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9497 (__sigprocmask): Likewise.
9498 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9499 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9500 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9501 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9502 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9503 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9504 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9505 Likewise.
9506 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9507 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9508 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9509 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9510 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9511 Likewise.
9512 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9513 (__sigprocmask): Likewise.
9514 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9515 (cfgetispeed): Likewise.
9516 (cfsetospeed): Likewise.
9517 (cfsetispeed): Likewise.
9518 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9519 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9520 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9521 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9522 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9523 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9524 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9525 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9526 Likewise.
9527 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9528 Likewise.
9529 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9530 Likewise.
9531 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9532 Likewise.
9533 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9534
9535 2015-10-17 Florian Weimer <fweimer@redhat.com>
9536
9537 sunrpc: Rewrite with explicit TLS access using __thread.
9538 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9539 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9540 directly.
9541 (__rpc_thread_variables): Access thread_rpc_vars directly.
9542 Eliminate redundant assignment of the tvp variable.
9543
9544 2015-10-17 Florian Weimer <fweimer@redhat.com>
9545
9546 malloc: Rewrite with explicit TLS access using __thread.
9547 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9548 (tsd_setspecific, tsd_getspecific): Remove.
9549 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9550 (tsd_setspecific, tsd_getspecific): Likewise.
9551 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9552 (tsd_setspecific, tsd_getspecific): Likewise.
9553 * malloc/arena.c (thread_arena): New TLS variable.
9554 (arena_key): Remove variable.
9555 (arena_get): Use thread_arena.
9556 (arena_lookup): Remove macro.
9557 (malloc_atfork, free_atfork, ptmalloc_lock_all)
9558 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9559 (_int_new_arena, get_free_list, reused_arena)
9560 (arena_thread_freeres): Use thread_arena.
9561 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9562 tsd_getspecific, tsd_setspecific from safety annotations.
9563 (Allocating Cleared Space): Remove arena_lookup from safety
9564 annotations.
9565
9566 2015-10-17 Florian Weimer <fweimer@redhat.com>
9567
9568 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9569 struct scratch_buffer instead of extend_alloca.
9570
9571 2015-10-17 Florian Weimer <fweimer@redhat.com>
9572
9573 * sysdeps/unix/sysv/linux/kernel-features.h
9574 (__ASSUME_SOCK_CLOEXEC): Remove.
9575 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9576 (__have_paccept): Remove unused macro.
9577 * include/unistd.h (__have_sock_cloexec): Remove declaration.
9578 * misc/syslog.c (openlog_internal): Remove fallback code for
9579 !__ASSUME_SOCK_CLOEXEC.
9580 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9581 missing SOCK_CLOEXEC.
9582 * nscd/connections.c (have_sock_cloexec): Remove definition.
9583 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9584 * nscd/nscd_helper.c (open_socket): Remove fallback code for
9585 !__ASSUME_SOCK_CLOEXEC.
9586 * resolv/res_send.c (__have_o_nonblock): Remove definition.
9587 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9588 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9589 definition.
9590 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9591 code for !__ASSUME_SOCK_CLOEXEC.
9592
9593 2015-10-17 Florian Weimer <fweimer@redhat.com>
9594
9595 [BZ #18982]
9596 * manual/stdio.texi (Variable Arguments Output): Add portability
9597 note, explaining that vfprintf clobbers the va_list pointer.
9598
9599 2015-10-16 Joseph Myers <joseph@codesourcery.com>
9600
9601 * math/libm-test.inc (fabs_test_data): Add more tests.
9602 (fdim_test_data): Likewise.
9603 (fma_test_data): Likewise.
9604 (fmax_test_data): Likewise.
9605 (fmin_test_data): Likewise.
9606 (fmod_test_data): Likewise.
9607
9608 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
9609
9610 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
9611 data.
9612
9613 2015-10-16 Joseph Myers <joseph@codesourcery.com>
9614
9615 * math/libm-test.inc (ceil_test_data): Add more tests and more
9616 expectations for "inexact".
9617 (floor_test_data): Add more tests.
9618 (round_test_data): Likewise.
9619 (trunc_test_data): Likewise.
9620
9621 * crypt/cert.c (good_bye): Convert to prototype-style function
9622 definition.
9623 (get8): Likewise.
9624 (put8): Likewise.
9625 * crypt/crypt-entry.c (crypt): Likewise.
9626 (__fcrypt): Likewise.
9627 * crypt/crypt_util.c (_ufc_prbits): Likewise.
9628 (_ufc_set_bits): Likewise.
9629 (_ufc_clearmem): Likewise.
9630 (__init_des_r): Likewise.
9631 (shuffle_sb): Likewise.
9632 (shuffle_sb): Likewise.
9633 (_ufc_setup_salt_r): Likewise.
9634 (_ufc_mk_keytab_r): Likewise.
9635 (_ufc_dofinalperm_r): Likewise.
9636 (encrypt): Likewise.
9637 (__setkey_r): Likewise.
9638 (setkey): Likewise.
9639 * crypt/md5.c (md5_init_ctx): Likewise.
9640 (md5_read_ctx): Likewise.
9641 (md5_finish_ctx): Likewise.
9642 (md5_stream): Likewise.
9643 (md5_buffer): Likewise.
9644 (md5_process_bytes): Likewise.
9645 * crypt/sha256.c (__sha256_init_ctx): Likewise.
9646 (__sha256_finish_ctx): Likewise.
9647 (__sha256_process_bytes): Likewise.
9648 * crypt/sha512.c (__sha512_init_ctx): Likewise.
9649 (__sha512_finish_ctx): Likewise.
9650 (__sha512_process_bytes): Likewise.
9651 * ctype/isctype.c (__isctype): Likewise.
9652 * debug/backtrace.c (__backtrace): Likewise.
9653 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9654 * debug/fgets_chk.c (__fgets_chk): Likewise.
9655 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9656 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9657 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9658 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9659 * debug/memset_chk.c (__memset_chk): Likewise.
9660 * debug/strcat_chk.c (__strcat_chk): Likewise.
9661 * debug/strncat_chk.c (__strncat_chk): Likewise.
9662 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9663 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9664 * dirent/dirfd.c (dirfd): Likewise.
9665 * dirent/getdents.c (__getdirentries): Likewise.
9666 * dirent/getdents64.c (getdirentries64): Likewise.
9667 * dirent/rewinddir.c (__rewinddir): Likewise.
9668 * dirent/seekdir.c (seekdir): Likewise.
9669 * dirent/telldir.c (telldir): Likewise.
9670 * elf/sln.c (makesymlinks): Likewise.
9671 (makesymlink): Likewise.
9672 * gmon/gmon.c (__moncontrol): Likewise.
9673 (__monstartup): Likewise.
9674 (write_hist): Likewise.
9675 (write_call_graph): Likewise.
9676 (write_bb_counts): Likewise.
9677 * grp/setgroups.c (setgroups): Likewise.
9678 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9679 * inet/inet_net.c (inet_network): Likewise.
9680 * inet/inet_netof.c (inet_netof): Likewise.
9681 * inet/rcmd.c (rresvport_af): Likewise.
9682 (rresvport): Likewise.
9683 * io/access.c (__access): Likewise.
9684 * io/chdir.c (__chdir): Likewise.
9685 * io/chmod.c (__chmod): Likewise.
9686 * io/chown.c (__chown): Likewise.
9687 * io/close.c (__close): Likewise.
9688 * io/creat.c (creat): Likewise.
9689 * io/creat64.c (creat64): Likewise.
9690 * io/dup.c (__dup): Likewise.
9691 * io/dup2.c (__dup2): Likewise.
9692 * io/dup3.c (__dup3): Likewise.
9693 * io/euidaccess.c (__euidaccess): Likewise.
9694 * io/faccessat.c (faccessat): Likewise.
9695 * io/fchmod.c (__fchmod): Likewise.
9696 * io/fchmodat.c (fchmodat): Likewise.
9697 * io/fchown.c (__fchown): Likewise.
9698 * io/fchownat.c (fchownat): Likewise.
9699 * io/fcntl.c (__fcntl): Likewise.
9700 * io/flock.c (__flock): Likewise.
9701 * io/fts.c (fts_load): Likewise.
9702 (fts_close): Likewise.
9703 (fts_read): Likewise.
9704 (fts_set): Likewise.
9705 (fts_children): Likewise.
9706 (fts_build): Likewise.
9707 (fts_stat): Likewise.
9708 (fts_sort): Likewise.
9709 (fts_alloc): Likewise.
9710 (fts_lfree): Likewise.
9711 (fts_palloc): Likewise.
9712 (fts_padjust): Likewise.
9713 (fts_maxarglen): Likewise.
9714 (fts_safe_changedir): Likewise.
9715 * io/getwd.c (getwd): Likewise.
9716 * io/isatty.c (__isatty): Likewise.
9717 * io/lchown.c (__lchown): Likewise.
9718 * io/link.c (__link): Likewise.
9719 * io/linkat.c (linkat): Likewise.
9720 * io/lseek.c (__libc_lseek): Likewise.
9721 * io/mkdir.c (__mkdir): Likewise.
9722 * io/mkdirat.c (mkdirat): Likewise.
9723 * io/mkfifo.c (mkfifo): Likewise.
9724 * io/mkfifoat.c (mkfifoat): Likewise.
9725 * io/open.c (__libc_open): Likewise.
9726 * io/open64.c (__libc_open64): Likewise.
9727 * io/readlink.c (__readlink): Likewise.
9728 * io/readlinkat.c (readlinkat): Likewise.
9729 * io/rmdir.c (__rmdir): Likewise.
9730 * io/symlink.c (__symlink): Likewise.
9731 * io/symlinkat.c (symlinkat): Likewise.
9732 * io/ttyname.c (ttyname): Likewise.
9733 * io/ttyname_r.c (__ttyname_r): Likewise.
9734 * io/umask.c (__umask): Likewise.
9735 * io/unlink.c (__unlink): Likewise.
9736 * io/unlinkat.c (unlinkat): Likewise.
9737 * io/utime.c (utime): Likewise.
9738 * libio/clearerr.c (clearerr): Likewise.
9739 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9740 * libio/feof.c (_IO_feof): Likewise.
9741 * libio/feof_u.c (feof_unlocked): Likewise.
9742 * libio/ferror.c (_IO_ferror): Likewise.
9743 * libio/ferror_u.c (ferror_unlocked): Likewise.
9744 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9745 * libio/fileno.c (__fileno): Likewise.
9746 * libio/fputc.c (fputc): Likewise.
9747 * libio/fputc_u.c (fputc_unlocked): Likewise.
9748 * libio/fputwc.c (fputwc): Likewise.
9749 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9750 * libio/freopen.c (freopen): Likewise.
9751 * libio/freopen64.c (freopen64): Likewise.
9752 * libio/fseek.c (fseek): Likewise.
9753 * libio/fseeko.c (fseeko): Likewise.
9754 * libio/fseeko64.c (fseeko64): Likewise.
9755 * libio/ftello.c (__ftello): Likewise.
9756 * libio/ftello64.c (ftello64): Likewise.
9757 * libio/fwide.c (fwide): Likewise.
9758 * libio/genops.c (_IO_un_link): Likewise.
9759 (_IO_link_in): Likewise.
9760 (_IO_least_marker): Likewise.
9761 (_IO_switch_to_main_get_area): Likewise.
9762 (_IO_switch_to_backup_area): Likewise.
9763 (_IO_switch_to_get_mode): Likewise.
9764 (_IO_free_backup_area): Likewise.
9765 (_IO_switch_to_put_mode): Likewise.
9766 (__overflow): Likewise.
9767 (__underflow): Likewise.
9768 (__uflow): Likewise.
9769 (_IO_setb): Likewise.
9770 (_IO_doallocbuf): Likewise.
9771 (_IO_default_underflow): Likewise.
9772 (_IO_default_uflow): Likewise.
9773 (_IO_default_xsputn): Likewise.
9774 (_IO_sgetn): Likewise.
9775 (_IO_default_xsgetn): Likewise.
9776 (_IO_sync): Likewise.
9777 (_IO_default_setbuf): Likewise.
9778 (_IO_default_seekpos): Likewise.
9779 (_IO_default_doallocate): Likewise.
9780 (_IO_init): Likewise.
9781 (_IO_old_init): Likewise.
9782 (_IO_default_sync): Likewise.
9783 (_IO_default_finish): Likewise.
9784 (_IO_default_seekoff): Likewise.
9785 (_IO_sputbackc): Likewise.
9786 (_IO_sungetc): Likewise.
9787 (_IO_set_column): Likewise.
9788 (_IO_set_column): Likewise.
9789 (_IO_adjust_column): Likewise.
9790 (_IO_get_column): Likewise.
9791 (_IO_init_marker): Likewise.
9792 (_IO_remove_marker): Likewise.
9793 (_IO_marker_difference): Likewise.
9794 (_IO_marker_delta): Likewise.
9795 (_IO_seekmark): Likewise.
9796 (_IO_unsave_markers): Likewise.
9797 (_IO_nobackup_pbackfail): Likewise.
9798 (_IO_default_pbackfail): Likewise.
9799 (_IO_default_seek): Likewise.
9800 (_IO_default_stat): Likewise.
9801 (_IO_default_read): Likewise.
9802 (_IO_default_write): Likewise.
9803 (_IO_default_showmanyc): Likewise.
9804 (_IO_default_imbue): Likewise.
9805 (_IO_iter_next): Likewise.
9806 (_IO_iter_file): Likewise.
9807 * libio/getc.c (_IO_getc): Likewise.
9808 * libio/getwc.c (_IO_getwc): Likewise.
9809 * libio/iofclose.c (_IO_new_fclose): Likewise.
9810 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9811 * libio/iofflush.c (_IO_fflush): Likewise.
9812 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9813 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9814 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9815 * libio/iofgets.c (_IO_fgets): Likewise.
9816 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9817 * libio/iofgetws.c (fgetws): Likewise.
9818 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9819 * libio/iofopen64.c (_IO_fopen64): Likewise.
9820 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9821 (_IO_cookie_write): Likewise.
9822 (_IO_cookie_seek): Likewise.
9823 (_IO_cookie_close): Likewise.
9824 (_IO_cookie_seekoff): Likewise.
9825 (_IO_old_cookie_seek): Likewise.
9826 * libio/iofputs.c (_IO_fputs): Likewise.
9827 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9828 * libio/iofputws.c (fputws): Likewise.
9829 * libio/iofputws_u.c (fputws_unlocked): Likewise.
9830 * libio/iofread.c (_IO_fread): Likewise.
9831 * libio/iofread_u.c (__fread_unlocked): Likewise.
9832 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9833 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9834 * libio/ioftell.c (_IO_ftell): Likewise.
9835 * libio/iofwrite.c (_IO_fwrite): Likewise.
9836 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9837 * libio/iogets.c (_IO_gets): Likewise.
9838 * libio/iopadn.c (_IO_padn): Likewise.
9839 * libio/iopopen.c (_IO_new_proc_open): Likewise.
9840 (_IO_new_popen): Likewise.
9841 (_IO_new_proc_close): Likewise.
9842 * libio/ioputs.c (_IO_puts): Likewise.
9843 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9844 (_IO_seekoff): Likewise.
9845 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9846 (_IO_seekpos): Likewise.
9847 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9848 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9849 * libio/ioungetc.c (_IO_ungetc): Likewise.
9850 * libio/ioungetwc.c (ungetwc): Likewise.
9851 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9852 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9853 * libio/iowpadn.c (_IO_wpadn): Likewise.
9854 * libio/libc_fatal.c (__libc_fatal): Likewise.
9855 * libio/memstream.c (__open_memstream): Likewise.
9856 (_IO_mem_sync): Likewise.
9857 (_IO_mem_finish): Likewise.
9858 * libio/oldfileops.c (_IO_old_file_init): Likewise.
9859 (_IO_old_file_close_it): Likewise.
9860 (_IO_old_file_finish): Likewise.
9861 (_IO_old_file_fopen): Likewise.
9862 (_IO_old_file_attach): Likewise.
9863 (_IO_old_file_setbuf): Likewise.
9864 (_IO_old_do_write): Likewise.
9865 (old_do_write): Likewise.
9866 (_IO_old_file_underflow): Likewise.
9867 (_IO_old_file_overflow): Likewise.
9868 (_IO_old_file_sync): Likewise.
9869 (_IO_old_file_seekoff): Likewise.
9870 (_IO_old_file_write): Likewise.
9871 (_IO_old_file_xsputn): Likewise.
9872 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9873 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9874 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9875 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9876 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9877 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9878 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9879 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9880 (_IO_old_popen): Likewise.
9881 (_IO_old_proc_close): Likewise.
9882 * libio/oldpclose.c (__old_pclose): Likewise.
9883 * libio/pclose.c (__new_pclose): Likewise.
9884 * libio/peekc.c (_IO_peekc_locked): Likewise.
9885 * libio/putc.c (_IO_putc): Likewise.
9886 * libio/putc_u.c (putc_unlocked): Likewise.
9887 * libio/putchar.c (putchar): Likewise.
9888 * libio/putchar_u.c (putchar_unlocked): Likewise.
9889 * libio/putwc.c (putwc): Likewise.
9890 * libio/putwc_u.c (putwc_unlocked): Likewise.
9891 * libio/putwchar.c (putwchar): Likewise.
9892 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9893 * libio/rewind.c (rewind): Likewise.
9894 * libio/setbuf.c (setbuf): Likewise.
9895 * libio/setlinebuf.c (setlinebuf): Likewise.
9896 * libio/vasprintf.c (_IO_vasprintf): Likewise.
9897 * libio/vscanf.c (_IO_vscanf): Likewise.
9898 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9899 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9900 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9901 * libio/wgenops.c (_IO_least_wmarker): Likewise.
9902 (_IO_switch_to_main_wget_area): Likewise.
9903 (_IO_switch_to_wbackup_area): Likewise.
9904 (_IO_wsetb): Likewise.
9905 (_IO_wdefault_pbackfail): Likewise.
9906 (_IO_wdefault_finish): Likewise.
9907 (_IO_wdefault_uflow): Likewise.
9908 (__woverflow): Likewise.
9909 (__wuflow): Likewise.
9910 (__wunderflow): Likewise.
9911 (_IO_wdefault_xsputn): Likewise.
9912 (_IO_wdefault_xsgetn): Likewise.
9913 (_IO_wdoallocbuf): Likewise.
9914 (_IO_wdefault_doallocate): Likewise.
9915 (_IO_switch_to_wget_mode): Likewise.
9916 (_IO_free_wbackup_area): Likewise.
9917 (_IO_switch_to_wput_mode): Likewise.
9918 (_IO_sputbackwc): Likewise.
9919 (_IO_sungetwc): Likewise.
9920 (_IO_adjust_wcolumn): Likewise.
9921 (_IO_init_wmarker): Likewise.
9922 (_IO_wmarker_delta): Likewise.
9923 (_IO_seekwmark): Likewise.
9924 (_IO_unsave_wmarkers): Likewise.
9925 * libio/wmemstream.c (open_wmemstream): Likewise.
9926 (_IO_wmem_sync): Likewise.
9927 (_IO_wmem_finish): Likewise.
9928 * locale/nl_langinfo.c (nl_langinfo): Likewise.
9929 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9930 * locale/programs/simple-hash.c (init_hash): Likewise.
9931 (delete_hash): Likewise.
9932 (insert_entry): Likewise.
9933 (set_entry): Likewise.
9934 (next_prime): Likewise.
9935 (is_prime): Likewise.
9936 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9937 (xmalloc): Likewise.
9938 (xrealloc): Likewise.
9939 * locale/programs/xstrdup.c (xstrdup): Likewise.
9940 * localedata/collate-test.c (xstrcoll): Likewise.
9941 * localedata/xfrm-test.c (xstrcmp): Likewise.
9942 * login/getlogin_r.c (__getlogin_r): Likewise.
9943 * login/getpt.c (__posix_openpt): Likewise.
9944 * login/login_tty.c (login_tty): Likewise.
9945 * login/setlogin.c (setlogin): Likewise.
9946 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9947 (mach_msg_destroy_port): Likewise.
9948 (mach_msg_destroy_memory): Likewise.
9949 * malloc/mcheck.c (flood): Likewise.
9950 * misc/acct.c (acct): Likewise.
9951 * misc/brk.c (__brk): Likewise.
9952 * misc/chflags.c (chflags): Likewise.
9953 * misc/chroot.c (chroot): Likewise.
9954 * misc/fchflags.c (fchflags): Likewise.
9955 * misc/fstab.c (getfsspec): Likewise.
9956 (getfsfile): Likewise.
9957 * misc/fsync.c (fsync): Likewise.
9958 * misc/ftruncate.c (__ftruncate): Likewise.
9959 * misc/ftruncate64.c (__ftruncate64): Likewise.
9960 * misc/getdomain.c (getdomainname): Likewise.
9961 (getdomainname): Likewise.
9962 * misc/gethostname.c (__gethostname): Likewise.
9963 * misc/getpass.c (getpass): Likewise.
9964 * misc/getttyent.c (skip): Likewise.
9965 (value): Likewise.
9966 * misc/gtty.c (gtty): Likewise.
9967 * misc/hsearch.c (hsearch): Likewise.
9968 (hcreate): Likewise.
9969 * misc/hsearch_r.c (__hcreate_r): Likewise.
9970 (__hdestroy_r): Likewise.
9971 * misc/ioctl.c (__ioctl): Likewise.
9972 * misc/mkdtemp.c (mkdtemp): Likewise.
9973 * misc/mkostemp.c (mkostemp): Likewise.
9974 * misc/mkostemp64.c (mkostemp64): Likewise.
9975 * misc/mkostemps.c (mkostemps): Likewise.
9976 * misc/mkostemps64.c (mkostemps64): Likewise.
9977 * misc/mkstemp.c (mkstemp): Likewise.
9978 * misc/mkstemp64.c (mkstemp64): Likewise.
9979 * misc/mkstemps.c (mkstemps): Likewise.
9980 * misc/mkstemps64.c (mkstemps64): Likewise.
9981 * misc/mktemp.c (__mktemp): Likewise.
9982 * misc/preadv.c (preadv): Likewise.
9983 * misc/preadv64.c (preadv64): Likewise.
9984 * misc/pwritev.c (pwritev): Likewise.
9985 * misc/pwritev64.c (pwritev64): Likewise.
9986 * misc/readv.c (__readv): Likewise.
9987 * misc/revoke.c (revoke): Likewise.
9988 * misc/setdomain.c (setdomainname): Likewise.
9989 * misc/setegid.c (setegid): Likewise.
9990 * misc/seteuid.c (seteuid): Likewise.
9991 * misc/sethostid.c (sethostid): Likewise.
9992 * misc/sethostname.c (sethostname): Likewise.
9993 * misc/setregid.c (__setregid): Likewise.
9994 * misc/setreuid.c (__setreuid): Likewise.
9995 * misc/sstk.c (sstk): Likewise.
9996 * misc/stty.c (stty): Likewise.
9997 * misc/syscall.c (syscall): Likewise.
9998 * misc/syslog.c (setlogmask): Likewise.
9999 * misc/truncate.c (__truncate): Likewise.
10000 * misc/truncate64.c (truncate64): Likewise.
10001 * misc/ualarm.c (ualarm): Likewise.
10002 * misc/usleep.c (usleep): Likewise.
10003 * misc/ustat.c (ustat): Likewise.
10004 * misc/writev.c (__writev): Likewise.
10005 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10006 * nptl/old_pthread_cond_broadcast.c
10007 (__pthread_cond_broadcast_2_0): Likewise.
10008 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10009 Likewise.
10010 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10011 Likewise.
10012 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
10013 Likewise.
10014 * nptl/pt-raise.c (raise): Likewise.
10015 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
10016 Likewise.
10017 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
10018 * nptl/pthread_barrierattr_destroy.c
10019 (pthread_barrierattr_destroy): Likewise.
10020 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10021 Likewise.
10022 * nptl/pthread_barrierattr_setpshared.c
10023 (pthread_barrierattr_setpshared): Likewise.
10024 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10025 Likewise.
10026 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10027 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10028 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10029 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
10030 Likewise.
10031 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
10032 Likewise.
10033 * nptl/pthread_condattr_getpshared.c
10034 (pthread_condattr_getpshared): Likewise.
10035 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
10036 Likewise.
10037 * nptl/pthread_condattr_setpshared.c
10038 (pthread_condattr_setpshared): Likewise.
10039 * nptl/pthread_detach.c (pthread_detach): Likewise.
10040 * nptl/pthread_equal.c (__pthread_equal): Likewise.
10041 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
10042 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
10043 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
10044 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
10045 Likewise.
10046 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10047 Likewise.
10048 * nptl/pthread_mutex_getprioceiling.c
10049 (pthread_mutex_getprioceiling): Likewise.
10050 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
10051 Likewise.
10052 * nptl/pthread_mutexattr_getprotocol.c
10053 (pthread_mutexattr_getprotocol): Likewise.
10054 * nptl/pthread_mutexattr_getpshared.c
10055 (pthread_mutexattr_getpshared): Likewise.
10056 * nptl/pthread_mutexattr_getrobust.c
10057 (pthread_mutexattr_getrobust): Likewise.
10058 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10059 Likewise.
10060 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
10061 Likewise.
10062 * nptl/pthread_mutexattr_setprioceiling.c
10063 (pthread_mutexattr_setprioceiling): Likewise.
10064 * nptl/pthread_mutexattr_setprotocol.c
10065 (pthread_mutexattr_setprotocol): Likewise.
10066 * nptl/pthread_mutexattr_setpshared.c
10067 (pthread_mutexattr_setpshared): Likewise.
10068 * nptl/pthread_mutexattr_setrobust.c
10069 (pthread_mutexattr_setrobust): Likewise.
10070 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
10071 Likewise.
10072 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
10073 Likewise.
10074 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
10075 Likewise.
10076 * nptl/pthread_rwlockattr_getkind_np.c
10077 (pthread_rwlockattr_getkind_np): Likewise.
10078 * nptl/pthread_rwlockattr_getpshared.c
10079 (pthread_rwlockattr_getpshared): Likewise.
10080 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
10081 Likewise.
10082 * nptl/pthread_rwlockattr_setkind_np.c
10083 (pthread_rwlockattr_setkind_np): Likewise.
10084 * nptl/pthread_rwlockattr_setpshared.c
10085 (pthread_rwlockattr_setpshared): Likewise.
10086 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
10087 Likewise.
10088 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
10089 Likewise.
10090 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
10091 Likewise.
10092 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10093 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
10094 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
10095 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
10096 * nptl/sem_close.c (sem_close): Likewise.
10097 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
10098 * nptl/sem_init.c (__old_sem_init): Likewise.
10099 * nptl/sigaction.c (__sigaction): Likewise.
10100 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10101 * posix/_exit.c (_exit): Likewise.
10102 * posix/alarm.c (alarm): Likewise.
10103 * posix/confstr.c (confstr): Likewise.
10104 * posix/fpathconf.c (__fpathconf): Likewise.
10105 * posix/getgroups.c (__getgroups): Likewise.
10106 * posix/getpgid.c (__getpgid): Likewise.
10107 * posix/group_member.c (__group_member): Likewise.
10108 * posix/pathconf.c (__pathconf): Likewise.
10109 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
10110 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
10111 * posix/setgid.c (__setgid): Likewise.
10112 * posix/setpgid.c (__setpgid): Likewise.
10113 * posix/setuid.c (__setuid): Likewise.
10114 * posix/sleep.c (__sleep): Likewise.
10115 * posix/sysconf.c (__sysconf): Likewise.
10116 * posix/times.c (__times): Likewise.
10117 * posix/uname.c (__uname): Likewise.
10118 * posix/waitid.c (__waitid): Likewise.
10119 * pwd/getpw.c (__getpw): Likewise.
10120 * resolv/base64.c (b64_pton): Likewise.
10121 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10122 * resolv/gethnamaddr.c (Dprintf): Likewise.
10123 (gethostbyname): Likewise.
10124 (gethostbyname2): Likewise.
10125 (gethostbyaddr): Likewise.
10126 (_sethtent): Likewise.
10127 (_gethtbyname): Likewise.
10128 (_gethtbyname2): Likewise.
10129 (_gethtbyaddr): Likewise.
10130 (map_v4v6_address): Likewise.
10131 (map_v4v6_hostent): Likewise.
10132 (addrsort): Likewise.
10133 (ht_sethostent): Likewise.
10134 (ht_gethostbyname): Likewise.
10135 (ht_gethostbyaddr): Likewise.
10136 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10137 (inet_net_ntop_ipv4): Likewise.
10138 * resolv/inet_neta.c (inet_neta): Likewise.
10139 * resolv/inet_ntop.c (inet_ntop): Likewise.
10140 (inet_ntop4): Likewise.
10141 (inet_ntop6): Likewise.
10142 * resolv/inet_pton.c (__inet_pton): Likewise.
10143 (inet_pton4): Likewise.
10144 (inet_pton6): Likewise.
10145 * resolv/res_debug.c (loc_aton): Likewise.
10146 (loc_ntoa): Likewise.
10147 * resource/getpriority.c (__getpriority): Likewise.
10148 * resource/getrusage.c (__getrusage): Likewise.
10149 * resource/nice.c (nice): Likewise.
10150 * resource/setpriority.c (__setpriority): Likewise.
10151 * resource/setrlimit64.c (setrlimit64): Likewise.
10152 * resource/vlimit.c (vlimit): Likewise.
10153 * resource/vtimes.c (vtimes): Likewise.
10154 * rt/aio_error.c (aio_error): Likewise.
10155 * rt/aio_return.c (aio_return): Likewise.
10156 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10157 * signal/kill.c (__kill): Likewise.
10158 * signal/killpg.c (killpg): Likewise.
10159 * signal/raise.c (raise): Likewise.
10160 * signal/sigaction.c (__sigaction): Likewise.
10161 * signal/sigaddset.c (sigaddset): Likewise.
10162 * signal/sigaltstack.c (sigaltstack): Likewise.
10163 * signal/sigandset.c (sigandset): Likewise.
10164 * signal/sigblock.c (__sigblock): Likewise.
10165 * signal/sigdelset.c (sigdelset): Likewise.
10166 * signal/sigempty.c (sigemptyset): Likewise.
10167 * signal/sigfillset.c (sigfillset): Likewise.
10168 * signal/sighold.c (sighold): Likewise.
10169 * signal/sigignore.c (sigignore): Likewise.
10170 * signal/sigintr.c (siginterrupt): Likewise.
10171 * signal/sigisempty.c (sigisemptyset): Likewise.
10172 * signal/sigismem.c (sigismember): Likewise.
10173 * signal/signal.c (signal): Likewise.
10174 * signal/sigorset.c (sigorset): Likewise.
10175 * signal/sigpause.c (__sigpause): Likewise.
10176 * signal/sigpending.c (sigpending): Likewise.
10177 * signal/sigprocmask.c (__sigprocmask): Likewise.
10178 * signal/sigrelse.c (sigrelse): Likewise.
10179 * signal/sigreturn.c (__sigreturn): Likewise.
10180 * signal/sigset.c (sigset): Likewise.
10181 * signal/sigsetmask.c (__sigsetmask): Likewise.
10182 * signal/sigstack.c (sigstack): Likewise.
10183 * signal/sigsuspend.c (__sigsuspend): Likewise.
10184 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10185 * signal/sysv_signal.c (__sysv_signal): Likewise.
10186 * socket/accept.c (accept): Likewise.
10187 * socket/accept4.c (__libc_accept4): Likewise.
10188 * socket/bind.c (__bind): Likewise.
10189 * socket/connect.c (__connect): Likewise.
10190 * socket/getpeername.c (getpeername): Likewise.
10191 * socket/getsockname.c (__getsockname): Likewise.
10192 * socket/getsockopt.c (getsockopt): Likewise.
10193 * socket/listen.c (__listen): Likewise.
10194 * socket/recv.c (__recv): Likewise.
10195 * socket/recvmsg.c (__recvmsg): Likewise.
10196 * socket/send.c (__send): Likewise.
10197 * socket/sendmsg.c (__sendmsg): Likewise.
10198 * socket/shutdown.c (shutdown): Likewise.
10199 * socket/sockatmark.c (sockatmark): Likewise.
10200 * socket/socket.c (__socket): Likewise.
10201 * stdio-common/ctermid.c (ctermid): Likewise.
10202 * stdio-common/cuserid.c (cuserid): Likewise.
10203 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10204 * stdio-common/remove.c (remove): Likewise.
10205 * stdio-common/rename.c (rename): Likewise.
10206 * stdio-common/renameat.c (renameat): Likewise.
10207 * stdio-common/tempname.c (__gen_tempname): Likewise.
10208 * stdio-common/xbug.c (InitBuffer): Likewise.
10209 (AppendToBuffer): Likewise.
10210 (ReadFile): Likewise.
10211 * stdlib/a64l.c (a64l): Likewise.
10212 * stdlib/drand48_r.c (drand48_r): Likewise.
10213 * stdlib/getcontext.c (getcontext): Likewise.
10214 * stdlib/getenv.c (getenv): Likewise.
10215 * stdlib/l64a.c (l64a): Likewise.
10216 * stdlib/llabs.c (llabs): Likewise.
10217 * stdlib/lldiv.c (lldiv): Likewise.
10218 * stdlib/lrand48_r.c (lrand48_r): Likewise.
10219 * stdlib/mrand48_r.c (mrand48_r): Likewise.
10220 * stdlib/putenv.c (putenv): Likewise.
10221 * stdlib/random.c (__srandom): Likewise.
10222 (__initstate): Likewise.
10223 (__setstate): Likewise.
10224 * stdlib/random_r.c (__srandom_r): Likewise.
10225 (__setstate_r): Likewise.
10226 (__random_r): Likewise.
10227 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10228 * stdlib/setcontext.c (setcontext): Likewise.
10229 * stdlib/setenv.c (setenv): Likewise.
10230 (unsetenv): Likewise.
10231 * stdlib/srand48.c (srand48): Likewise.
10232 * stdlib/srand48_r.c (__srand48_r): Likewise.
10233 * stdlib/swapcontext.c (swapcontext): Likewise.
10234 * stdlib/system.c (__libc_system): Likewise.
10235 * stdlib/tst-strtod.c (expand): Likewise.
10236 * stdlib/tst-strtol.c (expand): Likewise.
10237 * stdlib/tst-strtoll.c (expand): Likewise.
10238 * streams/fattach.c (fattach): Likewise.
10239 * streams/fdetach.c (fdetach): Likewise.
10240 * streams/getmsg.c (getmsg): Likewise.
10241 * streams/isastream.c (isastream): Likewise.
10242 * string/ffs.c (__ffs): Likewise.
10243 * string/ffsll.c (ffsll): Likewise.
10244 * string/memcmp.c (memcmp_common_alignment): Likewise.
10245 (memcmp_not_common_alignment): Likewise.
10246 (MEMCMP): Likewise.
10247 * string/memcpy.c (memcpy): Likewise.
10248 * string/memmove.c (MEMMOVE): Likewise.
10249 * string/memset.c (memset): Likewise.
10250 * string/rawmemchr.c (RAWMEMCHR): Likewise.
10251 * string/strchrnul.c (STRCHRNUL): Likewise.
10252 * string/strerror.c (strerror): Likewise.
10253 * string/strndup.c (__strndup): Likewise.
10254 * string/strverscmp.c (__strverscmp): Likewise.
10255 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10256 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10257 (clnttcp_freeres): Likewise.
10258 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10259 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10260 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10261 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10262 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10263 (xdr_callhdr): Likewise.
10264 * sunrpc/rpcinfo.c (udpping): Likewise.
10265 (tcpping): Likewise.
10266 (pstatus): Likewise.
10267 (pmapdump): Likewise.
10268 (brdcst): Likewise.
10269 (deletereg): Likewise.
10270 (getprognum): Likewise.
10271 (getvers): Likewise.
10272 (get_inet_address): Likewise.
10273 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10274 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10275 (svcudp_stat): Likewise.
10276 (svcudp_recv): Likewise.
10277 (svcudp_reply): Likewise.
10278 (svcudp_getargs): Likewise.
10279 (svcudp_freeargs): Likewise.
10280 (svcudp_destroy): Likewise.
10281 * sunrpc/xdr.c (xdr_bytes): Likewise.
10282 (xdr_netobj): Likewise.
10283 (xdr_string): Likewise.
10284 (xdr_wrapstring): Likewise.
10285 * sunrpc/xdr_float.c (xdr_float): Likewise.
10286 (xdr_double): Likewise.
10287 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
10288 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
10289 * sysvipc/ftok.c (ftok): Likewise.
10290 * sysvipc/msgctl.c (msgctl): Likewise.
10291 * sysvipc/msgget.c (msgget): Likewise.
10292 * sysvipc/msgrcv.c (msgrcv): Likewise.
10293 * sysvipc/msgsnd.c (msgsnd): Likewise.
10294 * sysvipc/semget.c (semget): Likewise.
10295 * sysvipc/semop.c (semop): Likewise.
10296 * sysvipc/shmat.c (shmat): Likewise.
10297 * sysvipc/shmctl.c (shmctl): Likewise.
10298 * sysvipc/shmdt.c (shmdt): Likewise.
10299 * sysvipc/shmget.c (shmget): Likewise.
10300 * termios/cfmakeraw.c (cfmakeraw): Likewise.
10301 * termios/speed.c (cfgetospeed): Likewise.
10302 (cfgetispeed): Likewise.
10303 (cfsetospeed): Likewise.
10304 (cfsetispeed): Likewise.
10305 * termios/tcflow.c (tcflow): Likewise.
10306 * termios/tcflush.c (tcflush): Likewise.
10307 * termios/tcgetattr.c (__tcgetattr): Likewise.
10308 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
10309 * termios/tcgetsid.c (tcgetsid): Likewise.
10310 * termios/tcsendbrk.c (tcsendbreak): Likewise.
10311 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
10312 * time/adjtime.c (__adjtime): Likewise.
10313 * time/dysize.c (dysize): Likewise.
10314 * time/ftime.c (ftime): Likewise.
10315 * time/getitimer.c (__getitimer): Likewise.
10316 * time/gettimeofday.c (__gettimeofday): Likewise.
10317 * time/gmtime.c (__gmtime_r): Likewise.
10318 (gmtime): Likewise.
10319 * time/localtime.c (__localtime_r): Likewise.
10320 (localtime): Likewise.
10321 * time/offtime.c (__offtime): Likewise.
10322 * time/settimeofday.c (__settimeofday): Likewise.
10323 * time/stime.c (stime): Likewise.
10324 * time/strftime_l.c (tm_diff): Likewise.
10325 (iso_week_days): Likewise.
10326 * time/strptime.c (strptime): Likewise.
10327 * time/time.c (time): Likewise.
10328 * time/timespec_get.c (timespec_get): Likewise.
10329 * time/tzset.c (tzset_internal): Likewise.
10330 (compute_change): Likewise.
10331 (__tz_compute): Likewise.
10332 * wcsmbs/btowc.c (__btowc): Likewise.
10333 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
10334 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
10335 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
10336 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
10337 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
10338 * wcsmbs/wcscat.c (__wcscat): Likewise.
10339 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10340 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
10341 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
10342 * wcsmbs/wcscspn.c (wcscspn): Likewise.
10343 * wcsmbs/wcsdup.c (wcsdup): Likewise.
10344 * wcsmbs/wcslen.c (__wcslen): Likewise.
10345 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
10346 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
10347 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
10348 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
10349 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10350 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
10351 * wcsmbs/wcsspn.c (wcsspn): Likewise.
10352 * wcsmbs/wcsstr.c (wcsstr): Likewise.
10353 * wcsmbs/wcstok.c (wcstok): Likewise.
10354 * wcsmbs/wctob.c (wctob): Likewise.
10355 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
10356 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10357 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
10358 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
10359 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
10360 * wcsmbs/wmemset.c (__wmemset): Likewise.
10361 * wctype/wcfuncs.c (__towlower): Likewise.
10362 (__towupper): Likewise.
10363
10364 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
10365 (lll_unlock_elision): Add adapt_count parameter.
10366
10367 2015-10-15 Joseph Myers <joseph@codesourcery.com>
10368
10369 * sysdeps/nptl/configure.ac: Do not give errors based on the
10370 results of top-level configure tests.
10371 * sysdeps/nptl/configure: Regenerated.
10372
10373 * configure.ac (libc_cv_Bgroup): Remove configure test.
10374 * configure: Regenerated.
10375 * config.make.in (have-Bgroup): Remove variable.
10376
10377 * configure.ac (sizeof_long_double): Remove configure test.
10378 * configure: Regenerated.
10379 * config.make.in (sizeof-long-double): Remove variable.
10380
10381 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10382 * configure: Regenerated.
10383 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10384 variable.
10385 (exceptions): Likewise.
10386 * sysdeps/arm/configure: Regenerated.
10387 * config.make.in (exceptions): Remove variable.
10388 * Makeconfig (uses-callbacks): Use -fexceptions instead of
10389 $(exceptions).
10390 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10391 (CFLAGS-vdprintf_chk.c): Likewise.
10392 (CFLAGS-printf_chk.c): Likewise.
10393 (CFLAGS-fprintf_chk.c): Likewise.
10394 (CFLAGS-vprintf_chk.c): Likewise.
10395 (CFLAGS-vfprintf_chk.c): Likewise.
10396 (CFLAGS-gets_chk.c): Likewise.
10397 (CFLAGS-fgets_chk.c): Likewise.
10398 (CFLAGS-fgets_u_chk.c): Likewise.
10399 (CFLAGS-fread_chk.c): Likewise.
10400 (CFLAGS-fread_u_chk.c): Likewise.
10401 (CFLAGS-wprintf_chk.c): Likewise.
10402 (CFLAGS-fwprintf_chk.c): Likewise.
10403 (CFLAGS-vwprintf_chk.c): Likewise.
10404 (CFLAGS-vfwprintf_chk.c): Likewise.
10405 (CFLAGS-fgetws_chk.c): Likewise.
10406 (CFLAGS-fgetws_u_chk.c): Likewise.
10407 * libio/Makefile (CFLAGS-fileops.c): Likewise.
10408 (CFLAGS-fputc.c): Likewise.
10409 (CFLAGS-fputwc.c): Likewise.
10410 (CFLAGS-freopen64.c): Likewise.
10411 (CFLAGS-freopen.c): Likewise.
10412 (CFLAGS-fseek.c): Likewise.
10413 (CFLAGS-fseeko64.c): Likewise.
10414 (CFLAGS-fseeko.c): Likewise.
10415 (CFLAGS-ftello64.c): Likewise.
10416 (CFLAGS-ftello.c): Likewise.
10417 (CFLAGS-fwide.c): Likewise.
10418 (CFLAGS-genops.c): Likewise.
10419 (CFLAGS-getc.c): Likewise.
10420 (CFLAGS-getchar.c): Likewise.
10421 (CFLAGS-getwc.c): Likewise.
10422 (CFLAGS-getwchar.c): Likewise.
10423 (CFLAGS-iofclose.c): Likewise.
10424 (CFLAGS-iofflush.c): Likewise.
10425 (CFLAGS-iofgetpos64.c): Likewise.
10426 (CFLAGS-iofgetpos.c): Likewise.
10427 (CFLAGS-iofgets.c): Likewise.
10428 (CFLAGS-iofgetws.c): Likewise.
10429 (CFLAGS-iofputs.c): Likewise.
10430 (CFLAGS-iofputws.c): Likewise.
10431 (CFLAGS-iofread.c): Likewise.
10432 (CFLAGS-iofsetpos64.c): Likewise.
10433 (CFLAGS-iofsetpos.c): Likewise.
10434 (CFLAGS-ioftell.c): Likewise.
10435 (CFLAGS-iofwrite.c): Likewise.
10436 (CFLAGS-iogetdelim.c): Likewise.
10437 (CFLAGS-iogetline.c): Likewise.
10438 (CFLAGS-iogets.c): Likewise.
10439 (CFLAGS-iogetwline.c): Likewise.
10440 (CFLAGS-ioputs.c): Likewise.
10441 (CFLAGS-ioseekoff.c): Likewise.
10442 (CFLAGS-ioseekpos.c): Likewise.
10443 (CFLAGS-iosetbuffer.c): Likewise.
10444 (CFLAGS-iosetvbuf.c): Likewise.
10445 (CFLAGS-ioungetc.c): Likewise.
10446 (CFLAGS-ioungetwc.c): Likewise.
10447 (CFLAGS-oldfileops.c): Likewise.
10448 (CFLAGS-oldiofclose.c): Likewise.
10449 (CFLAGS-oldiofgetpos64.c): Likewise.
10450 (CFLAGS-oldiofgetpos.c): Likewise.
10451 (CFLAGS-oldiofsetpos64.c): Likewise.
10452 (CFLAGS-oldiofsetpos.c): Likewise.
10453 (CFLAGS-peekc.c): Likewise.
10454 (CFLAGS-putc.c): Likewise.
10455 (CFLAGS-putchar.c): Likewise.
10456 (CFLAGS-putwc.c): Likewise.
10457 (CFLAGS-putwchar.c): Likewise.
10458 (CFLAGS-rewind.c): Likewise.
10459 (CFLAGS-wfileops.c): Likewise.
10460 (CFLAGS-wgenops.c): Likewise.
10461 (CFLAGS-oldiofopen.c): Likewise.
10462 (CFLAGS-iofopen.c): Likewise.
10463 (CFLAGS-iofopen64.c): Likewise.
10464 (CFLAGS-oldtmpfile.c): Likewise.
10465 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10466 (CFLAGS-fprintf.c): Likewise.
10467 (CFLAGS-printf.c): Likewise.
10468 (CFLAGS-vfwprintf.c): Likewise.
10469 (CFLAGS-vfscanf.c): Likewise.
10470 (CFLAGS-vfwscanf.c): Likewise.
10471 (CFLAGS-fscanf.c): Likewise.
10472 (CFLAGS-scanf.c): Likewise.
10473 (CFLAGS-isoc99_vfscanf.c): Likewise.
10474 (CFLAGS-isoc99_vscanf.c): Likewise.
10475 (CFLAGS-isoc99_fscanf.c): Likewise.
10476 (CFLAGS-isoc99_scanf.c): Likewise.
10477 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10478 (CFLAGS-isoc99_fwscanf.c): Likewise.
10479 (CFLAGS-isoc99_vwscanf.c): Likewise.
10480 (CFLAGS-isoc99_vfwscanf.c): Likewise.
10481
10482 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10483 after mkstemp64.
10484 * login/tst-utmp.c (do_prepare): Likewise.
10485 * rt/tst-aio.c (do_prepare): Likewise.
10486 * rt/tst-aio64.c (do_prepare): Likewise.
10487
10488 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10489
10490 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10491 (__lll_lock_elision): Remove adapt_count decrement...
10492 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10493 (__lll_trylock_elision): Likewise.
10494 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10495 (__lll_unlock_elision): ... to here. And utilize
10496 new adapt_count parameter.
10497 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10498 (__lll_unlock_elision): Update to include adapt_count
10499 parameter.
10500 (lll_unlock_elision): Pass pointer to adapt_count
10501 variable.
10502
10503 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10504
10505 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10506 Add elision adapt_count parameter to list of arguments.
10507 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10508 (lll_unlock_elision): Update with new parameter list
10509 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10510 (lll_unlock_elision): Likewise.
10511 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10512 (lll_unlock_elision): Likewise.
10513
10514 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10515
10516 [BZ #19122]
10517 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10518 attribute_hidden.
10519
10520 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10521 attribute_hidden.
10522 [IS_IN (rtld)] (__strdup): Likewise.
10523 [IS_IN (rtld)] (__strerror_r): Likewise.
10524 [IS_IN (rtld)] (__strsep_g): Likewise.
10525 [IS_IN (rtld)] (memchr): Likewise.
10526 [IS_IN (rtld)] (memcmp): Likewise.
10527 [IS_IN (rtld)] (memcpy): Likewise.
10528 [IS_IN (rtld)] (memmove): Likewise.
10529 [IS_IN (rtld)] (memset): Likewise.
10530 [IS_IN (rtld)] (rawmemchr): Likewise.
10531 [IS_IN (rtld)] (stpcpy): Likewise.
10532 [IS_IN (rtld)] (strchr): Likewise.
10533 [IS_IN (rtld)] (strcmp): Likewise.
10534 [IS_IN (rtld)] (strlen): Likewise.
10535 [IS_IN (rtld)] (strnlen): Likewise.
10536 [IS_IN (rtld)] (strsep): Likewise.
10537
10538 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10539 attribute_hidden.
10540 [IS_IN (rtld)] (__strtoul_internal): Likewise.
10541
10542 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10543 attribute_hidden.
10544 [IS_IN (rtld)] (__libc_sigaction): Likewise.
10545
10546 * include/setjmp.h (__longjmp): Add attribute_hidden.
10547 [IS_IN (rtld)] (__sigsetjmp): Likewise.
10548
10549 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10550 Add attribute_hidden.
10551
10552 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10553 [IS_IN (rtld)] (__open): Likewise.
10554 [IS_IN (rtld)] (__fcntl): Likewise.
10555
10556 * include/dirent.h (__opendirat): Add attribute_hidden.
10557 (__getdents): Likewise.
10558 (__getdents64): Likewise.
10559 (__alloc_dir): Likewise.
10560 [IS_IN (rtld)] (__closedir): Likewise.
10561 [IS_IN (rtld)] (__fdopendir): Likewise.
10562 [IS_IN (rtld)] (__readdir): Likewise.
10563 [IS_IN (rtld)] (__readdir64): Likewise.
10564 [IS_IN (rtld)] (__rewinddir): Likewise.
10565
10566 * include/dlfcn.h (_dl_catch_error): Moved to ...
10567 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10568 attribute_hidden.
10569
10570 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10571 (_itoa_word): Likewise.
10572
10573 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10574 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10575 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10576 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10577 (_dl_higher_prime_number): Likewise.
10578 (_dl_debug_printf_c): Likewise.
10579 (_dl_signal_cerror): Likewise.
10580 (_dl_receive_error): Likewise.
10581 (_dl_reloc_bad_type): Likewise.
10582 (_dl_resolve_conflicts): Likewise.
10583 (_dl_check_all_versions): Likewise.
10584 (_dl_check_map_versions): Likewise.
10585 (_dl_sort_fini): Likewise.
10586 (_dl_debug_initialize): Likewise.
10587 (_dl_init_paths): Likewise.
10588 (_dl_show_auxv): Likewise.
10589 (_dl_next_ld_env_entry): Likewise.
10590 (_dl_important_hwcaps): Likewise.
10591 (_dl_load_cache_lookup): Likewise.
10592 (_dl_update_slotinfo): Likewise.
10593 (_dl_show_scope): Likewise.
10594
10595 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10596 attribute_hidden.
10597 (_wordcopy_fwd_dest_aligned): Likewise.
10598 (_wordcopy_bwd_aligned): Likewise.
10599 (_wordcopy_bwd_dest_aligned): Likewise.
10600
10601 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10602 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10603 Likewise.
10604 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10605 Likewise.
10606 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10607
10608 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10609
10610 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10611 GCC 5 requirement.
10612
10613 2015-10-15 Joseph Myers <joseph@codesourcery.com>
10614
10615 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10616 test.
10617 * sysdeps/i386/configure: Regenerated.
10618 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10619 code unconditional.
10620
10621 * configure.ac (libc_cv_asm_previous_directive): Remove configure
10622 test.
10623 (libc_cv_asm_popsection_directive): Likewise.
10624 * configure: Regenerated.
10625 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10626 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10627 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10628 (__make_section_unallocated): Make definition unconditional.
10629 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10630 Remove conditional definition.
10631 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10632 (__make_section_unallocated): Likewise.
10633
10634 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10635 * configure: Regenerated.
10636 * config.make.in (static-libgcc): Remove variable.
10637 * Makerules (build-shlib-helper): Use -static-libgcc instead of
10638 $(static-libgcc).
10639 (build-module-helper): Likewise.
10640
10641 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10642 * configure: Regenerated.
10643
10644 2015-10-15 Florian Weimer <fweimer@redhat.com>
10645
10646 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10647 (struct char_buffer): New type.
10648 (char_buffer_start, char_buffer_size, char_buffer_error)
10649 (char_buffer_rewind, char_buffer_add): New functions.
10650 (ADDW): Remove macro, replaced by the char_buffer_add function.
10651 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10652 of extend_alloca. Make control flow more explicit.
10653
10654 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10655
10656 [BZ #19137]
10657 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10658 Add -fomit-frame-pointer.
10659 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10660
10661 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10662
10663 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10664 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10665 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10666 only if !__GNUC_PREREQ (5,0).
10667 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10668 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10669 (INTERNAL_SYSCALL_NCS): Likewise.
10670 (LOADREGS_0): New macro for GCC 5.
10671 (ASMARGS_0): Likewise.
10672 (LOADREGS_1): Likewise.
10673 (ASMARGS_1): Likewise.
10674 (LOADREGS_2): Likewise.
10675 (ASMARGS_2): Likewise.
10676 (LOADREGS_3): Likewise.
10677 (ASMARGS_3): Likewise.
10678 (LOADREGS_4): Likewise.
10679 (ASMARGS_4): Likewise.
10680 (LOADREGS_5): Likewise.
10681 (ASMARGS_5): Likewise.
10682 (LOADREGS_6): Likewise.
10683 (ASMARGS_6): Likewise.
10684
10685 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10686
10687 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10688 -fomit-frame-pointer.
10689 (CFLAGS-mmap64.c): Likewise.
10690 (CFLAGS-semtimedop.c): Likewise.
10691 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10692 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10693 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10694 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10695
10696 2015-10-15 Florian Weimer <fweimer@redhat.com>
10697
10698 [BZ #18928]
10699 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10700 _dl_pointer_guard member.
10701 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10702 initializer.
10703 (security_init): Always set up pointer guard.
10704 (process_envvars): Do not process LD_POINTER_GUARD.
10705
10706 2015-10-14 Joseph Myers <joseph@codesourcery.com>
10707
10708 [BZ #19134]
10709 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10710 (.LC2): Likewise.
10711 (.LC3): Likewise.
10712 (__lround): Do not add 0.5 to integer or out-of-range arguments.
10713
10714 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
10715
10716 [BZ #19129]
10717 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10718 r0 and r1.
10719
10720 2015-10-14 Namhyung Kim <namhyung@gmail.com>
10721
10722 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10723
10724 2015-10-14 Carlos O'Donell <carlos@redhat.com>
10725
10726 * include/stap-probe.h: Fix macro definition formatting.
10727
10728 2015-10-14 Florian Weimer <fweimer@redhat.com>
10729
10730 [BZ #19074]
10731 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10732 load and store num_ifs.
10733
10734 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
10735
10736 [BZ #18822]
10737 * sysdeps/unix/sysv/linux/sched_getaffinity.c
10738 (__sched_getaffinity_new): Add libc_hidden_proto and
10739 libc_hidden_def.
10740
10741 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
10742
10743 [BZ #19007]
10744 * scripts/localplt.awk: Also allow GOT references.
10745 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10746 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10747 with "+ REL R_386_GLOB_DAT".
10748 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10749 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10750
10751 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
10752
10753 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10754 INLINE_SYSCALL_ERROR_RETURN_VALUE.
10755 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10756 Likewise.
10757 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10758 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10759 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10760 INTERNAL_SYSCALLINTERNAL_SYSCALL and
10761 INLINE_SYSCALL_ERROR_RETURN_VALUE.
10762 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10763 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10764 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10765 Likewise.
10766 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10767
10768 2015-10-13 Joseph Myers <joseph@codesourcery.com>
10769
10770 [BZ #19125]
10771 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10772 <math_private.h> and <stdint.h>.
10773 (__llround): Avoid conversions to and from long long int, and
10774 subtractions, where those might raise spurious exceptions.
10775 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10776 <math_private.h> and <stdint.h>.
10777 (__llroundf): Avoid conversions to and from long long int, and
10778 subtractions, where those might raise spurious exceptions.
10779
10780 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
10781
10782 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10783 INLINE_SYSCALL_ERROR_RETURN_VALUE.
10784 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10785 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10786 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10787 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10788 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10789 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10790 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10791 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10792 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10793 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10794 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10795 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10796 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10797 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10798 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10799 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10800 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10801 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10802 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10803 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10804 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10805 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10806 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10807 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10808 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10809 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10810 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10811 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10812 (__xstat64_conv): Likewise.
10813 (__xstat32_conv): Likewise.
10814
10815 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
10816
10817 * sysdeps/unix/sysv/linux/sysdep.h: New file.
10818 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10819 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10820 <sysdeps/unix/sysv/linux/sysdep.h>.
10821 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10822 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10823 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10824 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10825 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10826 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10827 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10828 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10829 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10832 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10833 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10834 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10835 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10837 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10838 (sysdep-dl-routines): Add sysdep.
10839 [$(subdir) == nptl] (libpthread-routines): Likewise.
10840 [$(subdir) == rt] (librt-routines): Likewise.
10841 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10842 PIC when branching to SYSCALL_ERROR_LABEL.
10843 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10844 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10845 <sysdeps/unix/sysv/linux/sysdep.h>.
10846 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10847 (SYSCALL_ERROR_ERRNO): Removed.
10848 (SYSCALL_ERROR_HANDLER): Changed to empty.
10849 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10850 (__syscall_error): New prototype.
10851 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10852 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10853
10854 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
10855
10856 [BZ #19124]
10857 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10858 (_dl_runtime_resolve_avx512): Make it a hidden alias of
10859 _dl_runtime_resolve_avx.
10860 (_dl_runtime_profile_avx512): Make it a hidden alias of
10861 _dl_runtime_profile_avx.
10862
10863 2015-10-13 Joseph Myers <joseph@codesourcery.com>
10864
10865 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10866 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10867 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10868 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10869
10870 [BZ #16422]
10871 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10872 New configure test.
10873 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10874 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10875 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10876 <math_private.h> and <stdint.h>.
10877 (__llrint): Avoid conversions to long long int where those might
10878 raise spurious exceptions.
10879 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10880 <math_private.h> and <stdint.h>.
10881 (__llrintf): Avoid conversions to long long int where those might
10882 raise spurious exceptions.
10883
10884 2015-10-12 Andreas Schwab <schwab@suse.de>
10885
10886 [BZ #18969]
10887 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
10888 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10889 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
10890 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10891 $(gen-locales).
10892 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
10893 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10894 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10895 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10896 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10897 $(gen-locales).
10898 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
10899 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10900 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10901 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10902 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10903 ($(objpfx)tst-ftell-active-handler.out)
10904 ($(objpfx)tst-ftell-append.out)
10905 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10906 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10907 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10908 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10909 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
10910 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10911 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10912 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10913 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10914 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10915 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10916 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10917 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10918 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10919 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10920 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10921 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10922 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10923 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
10924 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10925 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10926 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10927 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10928 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
10929 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10930 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10931 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10932 $(gen-locales).
10933 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
10934 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10935 $(gen-locales).
10936 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
10937 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10938 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10939 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10940 $(gen-locales).
10941 * libio/tst_wprintf2.c (main): Use explicit locale.
10942 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10943
10944 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10945
10946 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10947 __msg_sig_post.
10948 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10949
10950 2015-10-09 Joseph Myers <joseph@codesourcery.com>
10951
10952 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10953 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10954
10955 * sysdeps/arm/libm-test-ulps: Regenerated.
10956
10957 [BZ #15470]
10958 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10959
10960 [BZ #16399]
10961 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10962 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10963 and <fix-fp-int-convert-overflow.h>.
10964 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10965 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10966 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10967 and <fix-fp-int-convert-overflow.h>.
10968 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10969 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10970 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10971 <fix-fp-int-convert-overflow.h>.
10972 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10973 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10974 * sysdeps/ieee754/dbl-64/s_lround.c: Include
10975 <fix-fp-int-convert-overflow.h>.
10976 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10977 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10978 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10979 and <fix-fp-int-convert-overflow.h>.
10980 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10981 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10982 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10983 <limits.h> and <fix-fp-int-convert-overflow.h>.
10984 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10985 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10986 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10987 and <fix-fp-int-convert-overflow.h>.
10988 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10989 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10990 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10991 and <fix-fp-int-convert-overflow.h>.
10992 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10993 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10994 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10995
10996 2015-10-09 Carlos O'Donell <carlos@redhat.com>
10997
10998 [BZ #18589]
10999 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11000 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11001 $(gen-locales).
11002
11003 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11004 Phil Blundell <pb@pbcl.net>
11005
11006 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11007 * nptl/tst-cancel26.c: New file.
11008 * nptl/tst-cancel27.c: Likewise.
11009
11010 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
11011
11012 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
11013 __ILP32__ isn't defined.
11014 (lrint): Likewise.
11015 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
11016 (lrintf): Likewise.
11017 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
11018 (lrintl): Likewise.
11019 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
11020 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
11021 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
11022
11023 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11024
11025 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11026 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11027
11028 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
11029 file.
11030 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
11031 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11032
11033 2015-10-09 Joseph Myers <joseph@codesourcery.com>
11034
11035 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
11036 configure test.
11037 * sysdeps/i386/configure: Regenerated.
11038 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
11039 configure test.
11040 * sysdeps/x86_64/configure: Regenerated.
11041 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
11042 Make code unconditional.
11043
11044 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
11045 test.
11046 * sysdeps/i386/configure: Regenerated.
11047 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
11048 test.
11049 * sysdeps/x86_64/configure: Regenerated.
11050 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
11051 Make code unconditional.
11052 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11053 Likewise.
11054 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
11055 Likewise.
11056 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11057 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
11058 code unconditional.
11059 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11060 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
11061 code unconditional.
11062 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11063 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
11064 code unconditional.
11065 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
11066 code unconditional.
11067 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11068 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
11069 code unconditional.
11070 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11071 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
11072 code unconditional.
11073 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11074 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
11075 code unconditional.
11076 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11077 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
11078 code unconditional.
11079 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11080 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
11081
11082 [BZ #19095]
11083 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
11084 mantissa to long int before shifting left.
11085
11086 2015-10-08 Joseph Myers <joseph@codesourcery.com>
11087
11088 [BZ #19094]
11089 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
11090 <limits.h>.
11091 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11092 when result overflows but exception would not result from cast.
11093 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
11094 <limits.h>.
11095 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11096 when result overflows but exception would not result from cast.
11097 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
11098 <limits.h>.
11099 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11100 when result overflows but exception would not result from cast.
11101 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
11102 <limits.h>.
11103 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11104 when result overflows but exception would not result from cast.
11105 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
11106 <limits.h>.
11107 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11108 when result overflows but exception would not result from cast.
11109 * math/libm-test.inc (lrint_test_data): Add more tests.
11110 (llrint_test_data): Likewise.
11111
11112 2015-10-08 Roland McGrath <roland@hack.frob.com>
11113
11114 [BZ #18872]
11115 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
11116 Move out from under [$(run-built-tests) = yes] conditional.
11117 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
11118 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
11119
11120 2015-10-08 Carlos O'Donell <carlos@redhat.com>
11121
11122 [BZ #18589]
11123 * string/Makefile (tests): Add bug-strcoll2.
11124 (LOCALES): Add cs_CZ.UTF-8.
11125 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11126
11127 [BZ #18589]
11128 * string/bug-strcoll2.c: New file.
11129 * locale/categories.def: Revert commit
11130 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11131 * locale/langinfo.h: Likewise.
11132 * locale/localeinfo.h: Likewise.
11133 * locale/C-collate.c: Likewise.
11134 * locale/programs/ld-collate.c (collate_output): Likewise.
11135 * string/strcoll_l.c (STRDIFF): Likewise.
11136 (STRCOLL): Likewise.
11137 * wcsmbs/wcscoll_l.c: Likewise.
11138
11139 2015-10-08 Joseph Myers <joseph@codesourcery.com>
11140
11141 * math/libm-test.inc (lround_test_data): Do not expect the absence
11142 of "inexact" for some tests with non-integer arguments.
11143 (llround_test_data): Likewise.
11144
11145 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11146 test.
11147 (libc_cv_cc_sse2avx): Likewise.
11148 * sysdeps/i386/configure: Regenerated.
11149 * sysdeps/i386/i686/multiarch/Makefile
11150 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11151 [$(subdir) = math].
11152 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11153 code unconditional.
11154 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11155 Likewise.
11156 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11157 Likewise.
11158 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11159 Likewise.
11160 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11161 test.
11162 (libc_cv_cc_sse2avx): Likewise.
11163 * sysdeps/x86_64/configure: Regenerated.
11164 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11165 unconditional.
11166 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11167 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11168 unconditional.
11169 (_dl_runtime_profile)
11170 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11171 conditional code.
11172 * sysdeps/x86_64/fpu/multiarch/Makefile
11173 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11174 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11175 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11176 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11177 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11178 * sysdeps/x86_64/fpu/multiarch/e_log.c
11179 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11180 * sysdeps/x86_64/fpu/multiarch/s_atan.c
11181 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11182 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11183 Likewise.
11184 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11185 Likewise.
11186 * sysdeps/x86_64/fpu/multiarch/s_sin.c
11187 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11188 * sysdeps/x86_64/fpu/multiarch/s_tan.c
11189 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11190 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11191 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11192 (HAVE_SSE2AVX_SUPPORT): Likewise.
11193
11194 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
11195
11196 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11197 instead of #pragma optimize.
11198
11199 2015-10-07 Carlos O'Donell <carlos@redhat.com>
11200
11201 [BZ #17195]
11202 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11203 as is similarly done in systrim and _int_free already.
11204
11205 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11206
11207 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11208
11209 2015-10-07 Joseph Myers <joseph@codesourcery.com>
11210
11211 [BZ #19088]
11212 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11213 <limits.h>.
11214 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11215 overflows but exception would not result from cast.
11216 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11217 and <limits.h>.
11218 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11219 overflows but exception would not result from cast.
11220 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11221 <limits.h>.
11222 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11223 overflows but exception would not result from cast.
11224 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11225 <limits.h>.
11226 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11227 overflows but exception would not result from cast.
11228 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
11229 <limits.h>.
11230 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11231 overflows but exception would not result from cast.
11232 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
11233 <limits.h>.
11234 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11235 overflows but exception would not result from cast.
11236 * math/libm-test.inc (lround_test_data): Add more tests.
11237 (llround_test_data): Likewise.
11238
11239 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
11240
11241 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11242 (CFLAGS-ialloc.c): Ditto.
11243 (CFLAGS-scheck.c): Ditto.
11244
11245 2015-10-07 Carlos O'Donell <carlos@redhat.com>
11246
11247 [BZ #19086]
11248 * manual/filesys.texi (Storage Allocation): Fix argument order for
11249 posix_fallocate64.
11250
11251 2015-10-07 Joseph Myers <joseph@codesourcery.com>
11252
11253 [BZ #19085]
11254 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11255 exponent below 48 inside case for non-overflowing exponent.
11256 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11257
11258 2015-10-07 Florian Weimer <fweimer@redhat.com>
11259
11260 * iconvdata/cp737.h (from_idx): Add const.
11261 * iconvdata/cp775.h (from_idx): Likewise.
11262
11263 2015-10-07 Joseph Myers <joseph@codesourcery.com>
11264
11265 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11266 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11267 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11268
11269 [BZ #19079]
11270 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11271 file, conditioned on [!_LP64].
11272 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11273 [!_LP64] (__lround): Do not define as function or alias.
11274 [!_LP64] (lround): Likewise.
11275 [!_LP64] (__lroundl): Likewise.
11276 [!_LP64] (lroundl): Likewise.
11277 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
11278 macro.
11279 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11280 Likewise.
11281
11282 2015-10-06 Joseph Myers <joseph@codesourcery.com>
11283
11284 * math/libm-test.inc (lrint_test_data): Add more tests.
11285 (llrint_test_data): Likewise.
11286 (lround_test_data): Likewise.
11287 (llround_test_data): Likewise.
11288
11289 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
11290 (llrint_test_data): Add tests used for lrint.
11291
11292 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
11293 test.
11294 * sysdeps/i386/configure: Regenerated.
11295 * sysdeps/i386/i686/multiarch/Makefile
11296 [$(config-cflags-sse4) = yes]: Make code unconditional.
11297 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11298 Likewise.
11299 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
11300 Likewise.
11301 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
11302 test.
11303 * sysdeps/x86_64/configure: Regenerated.
11304 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
11305 Make code unconditional.
11306 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11307 Likewise.
11308 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
11309 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
11310
11311 * scripts/rpm2dynsym.sh: Remove file.
11312
11313 2015-10-06 Florian Weimer <fweimer@redhat.com>
11314
11315 * configure.ac (libc_cv_cxx_thread_local): Define.
11316 * configure: Regenerate.
11317 * config.make.in (have-cxx-thread_local): Define.
11318 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
11319 (LDLIBS-tst-thread_local1): Define.
11320 (tests): Add tst-thread_local1.
11321 [have-cxx-thread_local != yes] (tests-unsupported): Add
11322 tst-thread_local1.
11323 * nptl/tst-thread_local1.cc: New file.
11324
11325 2015-10-06 Joseph Myers <joseph@codesourcery.com>
11326
11327 [BZ #19078]
11328 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
11329 (u_thres): Likewise.
11330 (__expl): Determine whether to call __kernel_standard_l based on
11331 value of result, not argument.
11332
11333 * math/libm-test.inc (scalb_test_data): Add more expectations for
11334 the "inexact" exception.
11335
11336 [BZ #19077]
11337 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
11338 0.0L for argument 1.0L.
11339
11340 [BZ #19076]
11341 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
11342 constant 0.0L when computing infinite result.
11343
11344 2015-10-06 Florian Weimer <fweimer@redhat.com>
11345
11346 [BZ #10432]
11347 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11348 malloc_usable_size.
11349
11350 2015-10-06 Florian Weimer <fweimer@redhat.com>
11351
11352 [BZ #19018]
11353 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11354 Mangle function pointer before storing it.
11355 (__call_tls_dtors): Demangle function pointer before calling it.
11356
11357 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11358
11359 [BZ #19012]
11360 * iconv/gconv_db.c (gen_steps): Check for additional errors.
11361 Clean up on failure.
11362
11363 2015-10-05 Joseph Myers <joseph@codesourcery.com>
11364
11365 [BZ #19071]
11366 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
11367 long int variable to store possibly incremented high part of
11368 mantissa.
11369 * math/libm-test.inc (lround_test_data): Add tests used for
11370 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
11371 for tests requiring 64-bit long. Do not condition tests on
11372 [TEST_FLOAT] unnecessarily.
11373 (llround_test_data): Add tests used for lround. Add another
11374 expectation for the "inexact" exception. Do not condition tests
11375 on [TEST_FLOAT] unnecessarily.
11376
11377 [BZ #887]
11378 [BZ #19049]
11379 [BZ #19050]
11380 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11381 * sysdeps/ieee754/dbl-64/e_log10.c: Include
11382 <fix-int-fp-convert-zero.h>.
11383 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11384 * sysdeps/ieee754/dbl-64/e_log2.c: Include
11385 <fix-int-fp-convert-zero.h>.
11386 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11387 * sysdeps/ieee754/dbl-64/s_erf.c: Include
11388 <fix-int-fp-convert-zero.h>.
11389 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11390 * sysdeps/ieee754/dbl-64/s_logb.c: Include
11391 <fix-int-fp-convert-zero.h>.
11392 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11393 * sysdeps/ieee754/flt-32/e_log10f.c: Include
11394 <fix-int-fp-convert-zero.h>.
11395 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11396 * sysdeps/ieee754/flt-32/e_log2f.c: Include
11397 <fix-int-fp-convert-zero.h>.
11398 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11399 * sysdeps/ieee754/flt-32/s_erff.c: Include
11400 <fix-int-fp-convert-zero.h>.
11401 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11402 * sysdeps/ieee754/flt-32/s_logbf.c: Include
11403 <fix-int-fp-convert-zero.h>.
11404 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11405 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11406 <fix-int-fp-convert-zero.h>.
11407 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11408 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11409 <fix-int-fp-convert-zero.h>.
11410 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11411 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11412 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11413 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11414 file.
11415 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11416
11417 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11418
11419 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11420
11421 2015-10-02 Joseph Myers <joseph@codesourcery.com>
11422
11423 [BZ #19059]
11424 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11425 overflowing computation.
11426 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11427 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11428 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11429 Likewise.
11430 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11431 Likewise.
11432 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11433 Likewise.
11434 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11435 Likewise.
11436 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11437 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11438 Likewise.
11439 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11440 Likewise.
11441 * math/libm-test.inc (nexttoward_test_data): Add more tests.
11442
11443 * nss/rewrite_field.c (__nss_rewrite_field): Use
11444 internal_function.
11445 * nss/valid_field.c (__nss_valid_field): Likewise.
11446 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11447
11448 2015-10-02 Florian Weimer <fweimer@redhat.com>
11449
11450 [BZ #18724]
11451 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11452 (__nss_invalid_field_characters, __nss_valid_field)
11453 (__nss_valid_list_field, __nss_rewrite_field): Declare.
11454 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11455 tst-field.c: New file.
11456 * nss/Makefile (routines): Add valid_field, rewrite_field.
11457 (tests-static): Define unconditionally.
11458 (tests): Include tests-static.
11459 [build-static-nss] (tests-static): Use append.
11460 [build-static-nss] (tests): Remove modification.
11461 * nss/getent.c (print_group): Call putgrent. Report error.
11462 (print_gshadow): Call putsgent. Report error.
11463 (print_passwd): Call putpwent. Report error.
11464 (print_shadow): Call putspent. Report error.
11465 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11466 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11467 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
11468 name, password, directory, shell fields for valid syntax. Rewrite
11469 GECOS field to match syntax.
11470 * pwd/Makefile (tests): Add tst-putpwent.
11471 * pwd/tst-putpwent.c: New file.
11472 * grp/putgrent.c (putgrent): Convert to ISO function definition.
11473 Check grName, grpasswd, gr_mem fields for valid syntax.
11474 Change loop variable i to size_t.
11475 * grp/Makefile (tests): Add tst-putgrent.
11476 * grp/tst-putgrent.c: New file.
11477 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11478 valid syntax.
11479 * shadow/Makefile (tests): Add tst-putspent.
11480 * shadow/tst-putspent.c: New file.
11481 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11482 sg_mem fields for valid syntax.
11483 * gshadow/Makefile (tests): Add tst-putsgent.
11484 * gshadow/tst-putsgent.c: New file.
11485
11486 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11487
11488 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11489 assembly instructions.
11490
11491 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11492
11493 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11494 prefix from operands.
11495
11496 2015-10-01 Joseph Myers <joseph@codesourcery.com>
11497
11498 [BZ #16347]
11499 [BZ #19046]
11500 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11501 <libc-internal.h>.
11502 (MAXLGM): Do not use diagnostic control macros.
11503 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11504 threshold for ldbl-128ibm.
11505 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11506 instead of multiplying by log then subtracting.
11507 * math/auto-libm-test-in: Add more tests of lgamma.
11508 * math/auto-libm-test-out: Regenerated.
11509
11510 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11511 (TYPE_HEX_DIG): Likewise.
11512 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11513 precisions when printing floating-point numbers.
11514 (check_float_internal): Likewise.
11515
11516 2015-09-30 Joseph Myers <joseph@codesourcery.com>
11517
11518 [BZ #16620]
11519 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11520 of log (10) rounded downward to 48 bits.
11521 (log10_low): Use corresponding low part of log (10).
11522
11523 [BZ #19032]
11524 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11525 compute result as (x - x) / (x - x) not as 0 / 0.
11526 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11527 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11528
11529 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11530 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11531 and expm1.
11532 * math/auto-libm-test-out: Regenerated.
11533 * math/libm-test.inc (acos_test_data): Add more tests.
11534 (asin_test_data): Likewise.
11535 (asinh_test_data): Likewise.
11536 (atan_test_data): Likewise.
11537 (atanh_test_data): Likewise.
11538 (atan2_test_data): Likewise.
11539 (cbrt_test_data): Likewise.
11540 (ceil_test_data): Likewise.
11541 (copysign_test_data): Likewise.
11542 (cos_test_data): Likewise.
11543 (cosh_test_data): Likewise.
11544 (erf_test_data): Likewise.
11545 (erfc_test_data): Likewise.
11546 (exp_test_data): Likewise.
11547 (exp10_test_data): Likewise.
11548 (exp2_test_data): Likewise.
11549 (expm1_test_data): Likewise.
11550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11551
11552 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
11553
11554 [BZ #19006]
11555 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11556 to ...
11557 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11558 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11559 to ...
11560 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11561 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11562 to ...
11563 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11564 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11565 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11566 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11567 to ...
11568 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11569 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11570 Moved to ...
11571 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11572 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11573 Moved to ...
11574 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11575 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11576 to ...
11577 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11578 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11579 Moved to ...
11580 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11581 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11582 to ...
11583 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11584 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11585 Removed.
11586 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11587 Likewise.
11588 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11589 Likewise.
11590 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11591 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11592 Likewise.
11593 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11594 Likewise.
11595 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11596 Likewise.
11597 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11598 Likewise.
11599 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11600 Likewise.
11601 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11602 Likewise.
11603 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11604 Likewise.
11605 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11606 Likewise.
11607 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11608 Likewise.
11609 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11610 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11611 Likewise.
11612 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11613 Likewise.
11614 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11615 Likewise.
11616 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11617 Likewise.
11618 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11619 Likewise.
11620 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11621 Replace ../i486/pthread_cond_timedwait.S with
11622 ../pthread_cond_timedwait.S.
11623
11624 2015-09-30 Joseph Myers <joseph@codesourcery.com>
11625
11626 * math/libm-test.inc (acos_test_data): Refine expectations for
11627 errno and "inexact" exceptions.
11628 (acosh_test_data): Likewise.
11629 (asin_test_data): Likewise.
11630 (asinh_test_data): Likewise.
11631 (atan_test_data): Likewise.
11632 (atanh_test_data): Likewise.
11633 (atan2_test_data): Likewise.
11634 (cbrt_test_data): Likewise.
11635 (ceil_test_data): Likewise.
11636 (copysign_test_data): Likewise.
11637 (cosh_test_data): Likewise.
11638 (erf_test_data): Likewise.
11639 (erfc_test_data): Likewise.
11640 (exp_test_data): Likewise.
11641 (exp10_test_data): Likewise.
11642 (exp2_test_data): Likewise.
11643 (expm1_test_data): Likewise.
11644 (fabs_test_data): Likewise.
11645 (floor_test_data): Likewise.
11646 (fma_test_data): Likewise.
11647 (fmax_test_data): Likewise.
11648 (fmin_test_data): Likewise.
11649 (fmod_test_data): Likewise.
11650 (fpclassify_test_data): Likewise.
11651 (frexp_test_data): Likewise.
11652 (hypot_test_data): Likewise.
11653 (ilogb_test_data): Likewise.
11654 (isgreater_test_data): Likewise.
11655 (isgreaterequal_test_data): Likewise.
11656 (isinf_test_data): Likewise.
11657 (isless_test_data): Likewise.
11658 (islessequal_test_data): Likewise.
11659 (islessgreater_test_data): Likewise.
11660 (isnan_test_data): Likewise.
11661 (isnormal_test_data): Likewise.
11662 (issignaling_test_data): Likewise.
11663 (isunordered_test_data): Likewise.
11664 (j0_test_data): Likewise.
11665 (j1_test_data): Likewise.
11666 (jn_test_data): Likewise.
11667 (lgamma_test_data): Likewise.
11668 (lrint_test_data): Likewise.
11669 (llrint_test_data): Likewise.
11670 (log_test_data): Likewise.
11671 (log10_test_data): Likewise.
11672 (log1p_test_data): Likewise.
11673 (log2_test_data): Likewise.
11674 (logb_test_data): Likewise.
11675 (lround_test_data): Likewise.
11676 (llround_test_data): Likewise.
11677 (modf_test_data): Likewise.
11678 (nearbyint_test_data): Likewise.
11679 (nextafter_test_data): Likewise.
11680 (nexttoward_test_data): Likewise.
11681 (pow_test_data): Likewise.
11682 (remainder_test_data): Likewise.
11683 (remquo_test_data): Likewise.
11684 (rint_test_data): Likewise.
11685 (round_test_data): Likewise.
11686 (signbit_test_data): Likewise.
11687 (sinh_test_data): Likewise.
11688 (sqrt_test_data): Likewise.
11689 (tanh_test_data): Likewise.
11690 (tgamma_test_data): Likewise.
11691 (trunc_test_data): Likewise.
11692 (y0_test_data): Likewise.
11693 (y1_test_data): Likewise.
11694 (yn_test_data): Likewise.
11695 (significand_test_data): Likewise.
11696
11697 2015-09-29 Carlos O'Donell <carlos@redhat.com>
11698
11699 * manual/filesys.texi (Storage Allocation): Document that
11700 posix_fallocate emulation fails when fd is open with O_WRONLY.
11701
11702 2015-09-28 Joseph Myers <joseph@codesourcery.com>
11703
11704 [BZ #19016]
11705 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11706 allow more cases with X^2 + Y^2 >= 0.5.
11707 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
11708 normal element in sum instead of special-casing based on values of
11709 arguments.
11710 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11711 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
11712 -1 as normal element in sum instead of special-casing based on
11713 values of arguments.
11714 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11715 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11716 (__x2y2m1): Update comment.
11717 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
11718 as normal element in sum instead of special-casing based on values
11719 of arguments.
11720 * math/s_clog.c (__clog): Handle more cases using log1p without
11721 hypot.
11722 * math/s_clog10.c (__clog10): Likewise.
11723 * math/s_clog10f.c (__clog10f): Likewise.
11724 * math/s_clog10l.c (__clog10l): Likewise.
11725 * math/s_clogf.c (__clogf): Likewise.
11726 * math/s_clogl.c (__clogl): Likewise.
11727 * math/auto-libm-test-in: Add more tests of clog and clog10.
11728 * math/auto-libm-test-out: Regenerated.
11729 * sysdeps/i386/fpu/libm-test-ulps: Update.
11730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11731
11732 2015-09-28 Martin Sebor <msebor@redhat.com>
11733
11734 [BZ #18969]
11735 * string/Makefile (LOCALES): Define.
11736 (gen-locales.mk): Include.
11737 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11738 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11739 * string/tst-strxfrm2.c (do_test): Print the name of the locale
11740 on setlocale failure.
11741
11742 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11743
11744 [BZ #18985]
11745 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11746 (__strftime_internal): Likewise.
11747 * time/tst-strftime.c (do_bz18985): New test.
11748 (do_test): Call it.
11749
11750 2015-09-26 Joseph Myers <joseph@codesourcery.com>
11751
11752 [BZ #18956]
11753 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11754 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
11755 extracting high part.
11756 * math/auto-libm-test-in: Add another test of pow.
11757 * math/auto-libm-test-out: Regenerated.
11758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11759
11760 2015-09-25 Joseph Myers <joseph@codesourcery.com>
11761
11762 [BZ #18825]
11763 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11764 New macro.
11765 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11766 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11767 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11768 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11769 DBL_NARROW_EVAL, reloading the PIC register as needed.
11770 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11771 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11772 FLT_NARROW_EVAL. Use separate return path for case when first
11773 argument is NaN.
11774 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
11775 DEFINE_LDBL_MIN.
11776 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11777 PIC register.
11778 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11779 math_check_force_underflow_nonneg.
11780 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11781 underflow for subnormal result.
11782 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11783 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11784 math_check_force_underflow_nonneg.
11785 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11786 math_check_force_underflow.
11787 * sysdeps/x86_64/fpu/x86_64-math-asm.h
11788 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11789 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
11790 DEFINE_LDBL_MIN.
11791 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11792 * math/auto-libm-test-in: Add more tests of pow.
11793 * math/auto-libm-test-out: Regenerated.
11794
11795 2015-09-25 Florian Weimer <fweimer@redhat.com>
11796
11797 * nss/bug17079.c (init_test_items): Add diagnostic for
11798 inconsistent entries.
11799 (test_buffer_size): Skip inconsistent entries.
11800
11801 2015-09-25 Joseph Myers <joseph@codesourcery.com>
11802
11803 [BZ #13304]
11804 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11805 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11806 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11807
11808 [BZ #13304]
11809 * sysdeps/microblaze/s_fma.c: New file.
11810 * sysdeps/microblaze/s_fmaf.c: Likewise.
11811 * sysdeps/microblaze/sfp-machine.h: Likewise.
11812
11813 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
11814
11815 [BZ #17250]
11816 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11817 member.
11818
11819 2015-09-24 Joseph Myers <joseph@codesourcery.com>
11820
11821 [BZ #18803]
11822 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11823 (MO): New macro.
11824 (__ieee754_hypot) [PIC]: Load PIC register.
11825 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11826 DBL_NARROW_EVAL.
11827 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11828 math_check_force_underflow_nonneg in case where result might be
11829 tiny.
11830 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11831 Likewise.
11832 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11833 Likewise.
11834 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11835 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11836 * math/auto-libm-test-in: Add more tests of hypot.
11837 * math/auto-libm-test-out: Regenerated.
11838
11839 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
11840
11841 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11842
11843 2015-09-24 Joseph Myers <joseph@codesourcery.com>
11844
11845 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11846 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11847 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11848 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11849 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11850 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11851 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11852
11853 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11854 LOAD_PIC_REG.
11855
11856 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11857 (FLT_CHECK_FORCE_UFLOW): Likewise.
11858 (DBL_CHECK_FORCE_UFLOW): Likewise.
11859 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11860 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11861 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11862 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11863 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11864 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11865 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11866 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11867 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11868 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11869 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11870 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11871 (flt_min): Replace with use of DEFINE_FLT_MIN.
11872 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11873 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11874 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11875 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11876 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11877 (flt_min): Replace with use of DEFINE_FLT_MIN.
11878 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11879 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11880 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11881 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11882 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11883 (flt_min): Replace with use of DEFINE_FLT_MIN.
11884 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11885 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11886 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11887 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11888 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11889 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11890 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11891 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11892 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11893 (__atan): Use DBL_CHECK_FORCE_UFLOW.
11894 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11895 (flt_min): Replace with use of DEFINE_FLT_MIN.
11896 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11897 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11898 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11899 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
11900 main computation.
11901 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11902 (flt_min): Replace with use of DEFINE_FLT_MIN.
11903 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
11904 main computation.
11905 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11906 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11907 (MO): New macro.
11908 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11909 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11910 (flt_min): Replace with use of DEFINE_FLT_MIN.
11911 (MO): New macro.
11912 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11913 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11914 (__log1pl): Use MO.
11915
11916 [BZ #19003]
11917 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11918 $(config-cflags-nofma).
11919
11920 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
11921
11922 * sysdeps/aarch64/libm-test-ulps: Regenerated.
11923
11924 2015-09-23 Joseph Myers <joseph@codesourcery.com>
11925
11926 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11927 (TWO127): Likewise.
11928
11929 * sysdeps/generic/math_private.h (fabs_tg): New macro.
11930 (min_of_type): Likewise.
11931 (math_check_force_underflow): Likewise.
11932 (math_check_force_underflow_nonneg): Likewise.
11933 (math_check_force_underflow_complex): Likewise.
11934 * math/e_exp2l.c (__ieee754_exp2l): Use
11935 math_check_force_underflow_nonneg.
11936 * math/k_casinh.c (__kernel_casinh): Likewise.
11937 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11938 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11939 * math/s_catan.c (__catan): Use
11940 math_check_force_underflow_complex.
11941 * math/s_catanf.c (__catanf): Likewise.
11942 * math/s_catanh.c (__catanh): Likewise.
11943 * math/s_catanhf.c (__catanhf): Likewise.
11944 * math/s_catanhl.c (__catanhl): Likewise.
11945 * math/s_catanl.c (__catanl): Likewise.
11946 * math/s_ccosh.c (__ccosh): Likewise.
11947 * math/s_ccoshf.c (__ccoshf): Likewise.
11948 * math/s_ccoshl.c (__ccoshl): Likewise.
11949 * math/s_cexp.c (__cexp): Likewise.
11950 * math/s_cexpf.c (__cexpf): Likewise.
11951 * math/s_cexpl.c (__cexpl): Likewise.
11952 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11953 * math/s_clog10.c (__clog10): Likewise.
11954 * math/s_clog10f.c (__clog10f): Likewise.
11955 * math/s_clog10l.c (__clog10l): Likewise.
11956 * math/s_clogf.c (__clogf): Likewise.
11957 * math/s_clogl.c (__clogl): Likewise.
11958 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11959 * math/s_csinf.c (__csinf): Likewise.
11960 * math/s_csinh.c (__csinh): Likewise.
11961 * math/s_csinhf.c (__csinhf): Likewise.
11962 * math/s_csinhl.c (__csinhl): Likewise.
11963 * math/s_csinl.c (__csinl): Likewise.
11964 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11965 * math/s_csqrtf.c (__csqrtf): Likewise.
11966 * math/s_csqrtl.c (__csqrtl): Likewise.
11967 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11968 * math/s_ctanf.c (__ctanf): Likewise.
11969 * math/s_ctanh.c (__ctanh): Likewise.
11970 * math/s_ctanhf.c (__ctanhf): Likewise.
11971 * math/s_ctanhl.c (__ctanhl): Likewise.
11972 * math/s_ctanl.c (__ctanl): Likewise.
11973 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11974 instead of volatile.
11975 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11976 math_check_force_underflow.
11977 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11978 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11979 volatile when forcing underflow.
11980 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11981 math_check_force_underflow_nonneg.
11982 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11983 Likewise.
11984 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11985 math_check_force_underflow.
11986 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11987 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11988 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11989 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11990 math_check_force_underflow_nonneg.
11991 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11992 math_check_force_underflow.
11993 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11995 instead of volatile.
11996 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11997 math_check_force_underflow.
11998 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11999 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12000 math_check_force_underflow_nonneg.
12001 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12002 math_check_force_underflow.
12003 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12004 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12005 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12006 math_check_force_underflow_nonneg.
12007 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12008 Likewise.
12009 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12010 math_check_force_underflow.
12011 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12012 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12013 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12014 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
12015 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12016 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
12017 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12018 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12019 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12020 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
12021 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12022 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12023 Likewise.
12024 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
12025 math_check_force_underflow_nonneg.
12026 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12027 Likewise.
12028 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
12029 math_check_force_underflow.
12030 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12031 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12032 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12033 Likewise.
12034 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12035 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
12036 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
12037 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
12038 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
12039 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
12041 instead of volatile.
12042 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
12043 math_check_force_underflow.
12044 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
12045 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
12046 math_check_force_underflow.
12047 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
12048 Likewise.
12049 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12050 Use math_check_force_underflow_nonneg.
12051 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
12052 math_check_force_underflow.
12053 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12054 Likewise.
12055 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12056 Likewise.
12057 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12058 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12059 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12060 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12061 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
12062 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12063 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12064 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
12065 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
12066 math_check_force_underflow_nonneg.
12067 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
12068 math_check_force_underflow.
12069 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12070 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
12071 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
12072 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
12073 math_check_force_underflow_nonneg.
12074 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
12075 math_check_force_underflow.
12076 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
12077 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
12078 instead of volatile.
12079 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
12080 math_check_force_underflow.
12081
12082 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
12083 * stdlib/strtod_l.c: Include <math_private.h>.
12084 (overflow_value): Use math_narrow_eval.
12085 (underflow_value): Likewise.
12086 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12087 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12088 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12089 (__ieee754_gamma_r): Likewise.
12090 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
12091 Likewise.
12092 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12093 Likewise.
12094 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12095 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
12096 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12097 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12098 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12099 (__ieee754_gammaf_r): Likewise.
12100 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12101 Likewise.
12102 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12103 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
12104 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
12105 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
12106 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
12107 volatile.
12108 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
12109 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
12110 math_narrow_eval.
12111 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12112 Likewise.
12113 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12114 Likewise.
12115 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
12116 Likewise.
12117 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
12118 volatile.
12119 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
12120 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
12121 math_narrow_eval.
12122 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12123 Likewise.
12124 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12125 Likewise.
12126
12127 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
12128
12129 * nptl/Versions: Remove ignored symbols.
12130
12131 2015-09-22 Florian Weimer <fweimer@redhat.com>
12132
12133 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
12134 * nss/Makefile (tests): Update.
12135
12136 2015-09-22 Florian Weimer <fweimer@redhat.com>
12137
12138 * nss/bug18287.c: New file.
12139 * nss/Makefile (tests): Add bug18287.
12140
12141 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12142
12143 * mach/Versions (__mach_host_self_): Add symbol.
12144
12145 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
12146
12147 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12148 vm_page_size.
12149
12150 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12151
12152 Really fix sysdeps/i386/fpu/s_scalbn.S build
12153
12154 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12155 (libc: GLIBC_2_22): Remove unused version set.
12156
12157 2015-09-18 Mike Frysinger <vapier@gentoo.org>
12158
12159 * config.make.in (enable-timezone-tools): New variable.
12160 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12161 (enable_timezone_tools): Export to generated files.
12162 * configure: Regenerate.
12163 * INSTALL: Regenerate.
12164 * manual/install.texi (--disable-timezone-tools): Document new flag.
12165 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12166 ifeq ($(enable-timezone-tools),yes) check.
12167
12168 2015-09-18 Joseph Myers <joseph@codesourcery.com>
12169
12170 * timezone/Makefile: Revert previous change.
12171
12172 [BZ #18980]
12173 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12174 (DEFINE_DBL_MIN): Likewise.
12175 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12176 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12177 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12178 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12179 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12180 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12181 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12182 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12183 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12184 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12185 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12186 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12187 (flt_min): Replace with use of DEFINE_FLT_MIN.
12188 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12189 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12190 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12191 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12192 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12193 (flt_min): Replace with use of DEFINE_FLT_MIN.
12194 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12195 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12196 (flt_min): Replace with use of DEFINE_FLT_MIN.
12197 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12198 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12199 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12200 (__ieee754_hypot): Use DBL_NARROW_EVAL.
12201 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12202 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12203 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12204 (__ieee754_pow): Use DBL_NARROW_EVAL.
12205 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12206 (__ieee754_powf): Use FLT_NARROW_EVAL.
12207 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12208 (__ieee754_expf_sse2): Convert double-precision result to single
12209 precision.
12210 * sysdeps/i386/fpu/libm-test-ulps: Update.
12211
12212 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12213
12214 * timezone/Makefile: Ignore unused variable errors due to private.h
12215 (time_t_min) and (time_t_max).
12216 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
12217 Likewise.
12218
12219 2015-09-18 Joseph Myers <joseph@codesourcery.com>
12220
12221 [BZ #18981]
12222 * sysdeps/i386/fpu/i386-math-asm.h: New file.
12223 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12224 (__ieee754_scalb): Use DBL_NARROW_EVAL.
12225 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12226 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12227 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12228 (__scalbn): Use DBL_NARROW_EVAL.
12229 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12230 (__scalbnf): Use FLT_NARROW_EVAL.
12231
12232 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12233
12234 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12235 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12236 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12237 * stdio-common/printf_fp.c (___printf_fp):
12238 Use signbit to get the sign. Use isinf macro to allow inlining.
12239 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12240 * stdio-common/printf_size.c (__printf_size): Likewise.
12241
12242 2015-09-18 Mike Frysinger <vapier@gentoo.org>
12243
12244 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12245
12246 2015-09-18 Joseph Myers <joseph@codesourcery.com>
12247
12248 [BZ #18980]
12249 * sysdeps/generic/math_private.h: Include <float.h>.
12250 (math_narrow_eval): New macro.
12251 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12252 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12253 math_narrow_eval on overflowing return value.
12254 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12255 Likewise.
12256 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12257 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12258 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12259 Likewise.
12260 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12261
12262 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12263
12264 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12265 * math/Makefile: Remove isinf_ns.c.
12266 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12267 * math/multc3.c (__multc3): Likewise.
12268 * math/s_casin.c (__casin): Likewise.
12269 * math/s_casinf.c (__casinf): Likewise.
12270 * math/s_casinl.c (__casinl): Likewise.
12271 * math/s_cproj.c (__cproj): Likewise.
12272 * math/s_cprojf.c (__cprojf): Likewise.
12273 * math/s_cprojl.c (__cprofl): Likewise.
12274 * math/s_ctan.c (__ctan): Likewise.
12275 * math/s_ctanf.c (__ctanf): Likewise.
12276 * math/s_ctanh.c (__ctanh): Likewise.
12277 * math/s_ctanhf.c (__ctanhf): Likewise.
12278 * math/s_ctanhl.c (__ctanhl): Likewise.
12279 * math/s_ctanl.c (__ctanl): Likewise.
12280 * math/w_fmod.c (__fmod): Likewise.
12281 * math/w_fmodf.c (__fmodf): Likewise.
12282 * math/w_fmodl.c (_fmodl): Likewise.
12283 * math/w_remainder.c (__remainder): Likewise.
12284 * math/w_remainderf.c (__remainderf): Likewise.
12285 * math/w_remainderl.c (__remainderl): Likewise.
12286 * math/w_scalb.c (__scalb): Likewise.
12287 * math/w_scalbf.c (__scalbf): Likewise.
12288 * math/w_scalbl.c (__scalbl): Likewise.
12289 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
12290 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
12291 with isinf.
12292 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
12293 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
12294 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
12295 __isinf_nsf with isinf.
12296 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
12297 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
12298 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
12299 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
12300 with isinf.
12301 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
12302 __isinf_nsl with isinf.
12303 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
12304 with isinf.
12305 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
12306 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
12307 __isinf_nsl with isinf.
12308 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
12309 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
12310 with isinf.
12311
12312 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12313
12314 * resolv/base64.c (rcsid): Remove unused static.
12315 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
12316 static. (tqpi1): Likewise.
12317 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
12318 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
12319 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
12320 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
12321 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
12322 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
12323 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
12324 * timezone/private.h (time_t_min): Likewise. (time_t_max):
12325 Likewise.
12326
12327 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
12328
12329 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
12330 <nptl/pthreadP.h>.
12331 (_longjmp_unwind): Use __libc_ptf_call.
12332 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
12333
12334 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
12335
12336 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
12337 * sysdeps/arm/__longjmp.S: Likewise.
12338
12339 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12340
12341 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
12342 Use __builtin_signbit.
12343 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
12344 Use __builtin_signbitf.
12345 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
12346 Use __builtin_signbitl.
12347 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12348 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
12349
12350 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12351
12352 [BZ #15367]
12353 [BZ #17441]
12354
12355 * math/Makefile: Build test-snan.c with -fsignaling-nans.
12356 * math/math.h (fpclassify): Use __builtin_fpclassify when
12357 available. (signbit): Use __builtin_signbit(f/l).
12358 (isfinite): Use__builtin_isfinite. (isnormal): Use
12359 __builtin_isnormal. (isnan): Use __builtin_isnan.
12360 (isinf): Use __builtin_isinf_sign.
12361
12362 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12363
12364 * benchtests/Makefile: Add bench-math-inlines, link with libm.
12365 * benchtests/bench-math-inlines.c: New benchmark.
12366 * benchtests/bench-util.h: New file.
12367 * benchtests/bench-util.c: New file.
12368 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
12369
12370 2015-09-18 Carlos O'Donell <carlos@redhat.com>
12371
12372 * elf/tst-dlmopen1.c: Define TEST_SO.
12373 (do_test): Use TEST_SO.
12374
12375 * elf/dl-load.c: Include libc-internal.h.
12376 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12377
12378 2015-09-18 Vincent Bernat <vincent@bernat.im>
12379
12380 [BZ #17887]
12381 * time/strptime_l.c (__strptime_internal): Make %z accept
12382 [+-]HH:MM time zones.
12383
12384 2015-09-18 Vincent Bernat <vincent@bernat.im>
12385
12386 [BZ #17886]
12387 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12388 valid time zone.
12389
12390 2015-09-17 Mike Frysinger <vapier@gentoo.org>
12391
12392 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12393 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12394 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12395 (__ASSUME_FDATASYNC): Delete.
12396
12397 2015-09-17 Joseph Myers <joseph@codesourcery.com>
12398
12399 * conform/linknamespace.pl: Require weak undefined symbols to be
12400 in the standard namespace.
12401 (%strong_syms): Rename to %seen_syms.
12402 (%strong_seen): Rename to %seen_where.
12403
12404 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
12405
12406 [BZ #18970]
12407 * misc/error.c (error): Replace pthread_setcancelstate with
12408 __pthread_setcancelstate.
12409 (error_at_line): Likewise.
12410 * posix/wordexp.c (parse_comm): Likewise.
12411 * stdlib/fmtmsg.c (fmtmsg): Likewise.
12412 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12413 (__pthread_setcancelstate): This.
12414 (pthread_setcancelstate): Add an alias.
12415 * nptl/nptl-init.c (pthread_functions): Replace
12416 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12417 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12418 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12419 hidden_proto.
12420 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12421 it with hidden_def.
12422 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12423 (pthread_setcancelstate): Renamed to ...
12424 (__pthread_setcancelstate): This.
12425 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12426 __libc_ptf_call with __pthread_setcancelstate.
12427
12428 2015-09-17 Joseph Myers <joseph@codesourcery.com>
12429 Andreas Schwab <schwab@suse.de>
12430
12431 [BZ #17118]
12432 * math/s_ctan.c (__ctan): Determine sign of zero real part of
12433 result when imaginary part of argument is infinite using sine and
12434 cosine.
12435 * math/s_ctanf.c (__ctanf): Likewise.
12436 * math/s_ctanl.c (__ctanl): Likewise.
12437 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12438 of result when real part of argument is infinite using sine and
12439 cosine.
12440 * math/s_ctanhf.c (__ctanhf): Likewise.
12441 * math/s_ctanhl.c (__ctanhl): Likewise.
12442 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12443 (ctanh_test_data): Add more tests of ctanh.
12444
12445 2015-09-17 Joseph Myers <joseph@codesourcery.com>
12446
12447 [BZ #15384]
12448 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12449 bit-mask as in subtraction.
12450 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12451 Likewise.
12452 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12453 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12454 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12455
12456 [BZ #18951]
12457 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12458 underflow exception for small results.
12459 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12460 Likewise.
12461 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12462 Likewise.
12463 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12464 Likewise.
12465 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12466 Likewise.
12467 * math/auto-libm-test-in: Add more tests of tgamma.
12468 * math/auto-libm-test-out: Regenerated.
12469
12470 2015-09-17 Andreas Schwab <schwab@suse.de>
12471
12472 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12473
12474 2015-09-16 Joseph Myers <joseph@codesourcery.com>
12475
12476 [BZ #18977]
12477 * math/bits/mathcalls.h
12478 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12479 not declare.
12480 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12481 Likewise.
12482 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12483 Likewise.
12484 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12485 Likewise.
12486 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12487 Likewise.
12488 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12489 Likewise.
12490 * conform/data/math.h-data
12491 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12492 function.
12493 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12494 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12495 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12496 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12497 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12498 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12499 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12500 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12501 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12502 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12503 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12504
12505 [BZ #6803]
12506 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12507 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12508 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12509 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12510 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12511 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12512 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12513 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12514 [NO_LONG_DOUBLE] (scalbnl): Likewise.
12515 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12516 Likewise.
12517 [NO_LONG_DOUBLE] (scalbnl): Likewise.
12518 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12519 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12520 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12521 long_double_symbol calls.
12522 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12523 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12524 strong alias of __ldexpl.
12525 (scalbnl): Define using long_double_symbol.
12526 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12527 Remove alias.
12528 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12529 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12530 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12531 (scalbln_test_data): Add more errno expectations.
12532
12533 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
12534
12535 Cache the host port like we cache the task port. This way we do not
12536 need to call the kernel just to get the port. Furthermore, we no
12537 longer increase the reference count on every invocation of
12538 `mach_host_self'.
12539
12540 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12541 Protect declarations against the macro expansion.
12542 * mach/mach_init.c (__mach_host_self_): New variable.
12543 (mach_init): Initialize `__mach_host_self_'.
12544 * mach/mach_init.h (__mach_host_self_): New declaration.
12545 (__mach_host_self, mach_host_self): New macros.
12546 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12547 Release reference.
12548
12549 2015-09-16 Joseph Myers <joseph@codesourcery.com>
12550
12551 [BZ #4404]
12552 * po/de.po: Update from Translation Project.
12553
12554 [BZ #16415]
12555 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12556 (__expm1l): Remove code to handle positive infinity and overflow.
12557 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12558 variable.
12559 (__expm1l): Remove code to handle positive infinity and overflow.
12560
12561 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
12562 Paul Pluzhnikov <ppluzhnikov@google.com>
12563
12564 [BZ #18872]
12565 * stdio-common/Makefile (tst-printf-bz18872): New test.
12566 (tst-printf-bz18872-mem.out): Likewise.
12567 * stdio-common/tst-printf-bz18872.sh: Generate new test.
12568 * stdio-common/vfprintf.c: Fix memory leaks.
12569
12570 2015-09-16 Andreas Schwab <schwab@suse.de>
12571
12572 [BZ #17244]
12573 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12574 Remove extra va_start/va_end calls.
12575
12576 [BZ #17243]
12577 * posix/execl.c (execl): Add missing va_end.
12578 * posix/execle.c (execle): Likewise.
12579 * posix/execlp.c (execlp): Likewise.
12580
12581 2015-09-15 Roland McGrath <roland@hack.frob.com>
12582
12583 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12584 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12585
12586 2015-09-15 Joseph Myers <joseph@codesourcery.com>
12587
12588 [BZ #18967]
12589 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
12590 undefine around includes of <bits/mathcalls.h>.
12591 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12592 not declare function.
12593 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12594 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12595 (scalb): Likewise.
12596 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12597 not define macro.
12598 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12599 variable.
12600 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12601 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12602 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12603
12604 [BZ #18857]
12605 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12606 return non-finite argument without doing ordered comparisons on
12607 it.
12608
12609 [BZ #16296]
12610 * math/fenv.h (fegetround): Use __attribute_pure__.
12611 * include/fenv.h (__fegetround): Likewise.
12612
12613 [BZ #18595]
12614 * math/s_ctan.c (__ctan): Force underflow exception for results
12615 whose real or imaginary part has small absolute value.
12616 * math/s_ctanf.c (__ctanf): Likewise.
12617 * math/s_ctanh.c (__ctanh): Likewise.
12618 * math/s_ctanhf.c (__ctanhf): Likewise.
12619 * math/s_ctanhl.c (__ctanhl): Likewise.
12620 * math/s_ctanl.c (__ctanl): Likewise.
12621 * math/auto-libm-test-in: Do not allow missing underflow for ctan
12622 and ctanh. Add more tests of ctan and ctanh.
12623
12624 [BZ #15918]
12625 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12626 handling of cases where one argument is an infinity.
12627
12628 [BZ #18875]
12629 [BZ #18966]
12630 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12631 (MO): New macro.
12632 (__ieee754_exp10): For small results, force underflow exception
12633 and remove excess range and precision from return value.
12634 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12635 (MO): New macro.
12636 (__ieee754_exp10f): For small results, force underflow exception
12637 and remove excess range and precision from return value.
12638 * math/auto-libm-test-in: Add more tests of exp10.
12639 * math/auto-libm-test-out: Regenerated.
12640
12641 2015-09-14 Joseph Myers <joseph@codesourcery.com>
12642
12643 [BZ #18875]
12644 [BZ #18961]
12645 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12646 (MO): New macro.
12647 (__ieee754_exp): For small results, force underflow exception and
12648 remove excess range and precision from return value.
12649 (__exp_finite): Likewise.
12650 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12651 (MO): New macro.
12652 (__ieee754_expf): For small results, force underflow exception and
12653 remove excess range and precision from return value.
12654 (__expf_finite): Likewise.
12655 * math/auto-libm-test-in: Add more tests of exp.
12656 * math/auto-libm-test-out: Regenerated.
12657
12658 [BZ #16521]
12659 [BZ #18875]
12660 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12661 small results.
12662 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12663 (MO): New macro.
12664 (__ieee754_exp2): For small results, force underflow exception and
12665 remove excess range and precision from return value.
12666 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12667 (MO): New macro.
12668 (__ieee754_exp2f): For small results, force underflow exception
12669 and remove excess range and precision from return value.
12670 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12671 (MO): New macro.
12672 (__ieee754_exp2l): Force underflow exception for small results.
12673 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12674 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12675 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12676 (MO): New macro.
12677 (__ieee754_exp2l): Force underflow exception for small results.
12678 * math/auto-libm-test-in: Add more tests or exp2.
12679 * math/auto-libm-test-out: Regenerated.
12680
12681 2015-09-14 Carlos O'Donell <carlos@redhat.com>
12682
12683 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12684
12685 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12686 /dev/null.
12687
12688 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12689
12690 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12691 io fs process)): Drop spurious backslash.
12692
12693 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12694
12695 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12696 Use sysinfo system call instead of parsing /proc/meminfo.
12697 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12698 Likewise.
12699
12700 2015-09-11 Mike Frysinger <vapier@gentoo.org>
12701
12702 [BZ #16985]
12703 * programs/localedef.c (main): Display argv[remaining] when
12704 output_path is NULL.
12705
12706 2015-09-11 Joseph Myers <joseph@codesourcery.com>
12707
12708 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12709 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12710 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12711 tanh.
12712 * math/auto-libm-test-out: Regenerated.
12713 * sysdeps/i386/fpu/libm-test-ulps: Update.
12714 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12715 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12717
12718 2015-09-11 Roland McGrath <roland@hack.frob.com>
12719
12720 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12721 Use 'override' keyword to freeze the value here, preventing
12722 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12723
12724 2015-09-11 Joseph Myers <joseph@codesourcery.com>
12725
12726 [BZ #14912]
12727 * sysdeps/aarch64/bits/atomic.h: Move to ...
12728 * sysdeps/aarch64/atomic-machine.h: ...here.
12729 (_AARCH64_BITS_ATOMIC_H): Rename macro to
12730 _AARCH64_ATOMIC_MACHINE_H.
12731 * sysdeps/alpha/bits/atomic.h: Move to ...
12732 * sysdeps/alpha/atomic-machine.h: ...here.
12733 * sysdeps/arm/bits/atomic.h: Move to ...
12734 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
12735 * bits/atomic.h: Move to ...
12736 * sysdeps/generic/atomic-machine.h: ...here.
12737 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12738 * sysdeps/i386/bits/atomic.h: Move to ...
12739 * sysdeps/i386/atomic-machine.h: ...here.
12740 * sysdeps/ia64/bits/atomic.h: Move to ...
12741 * sysdeps/ia64/atomic-machine.h: ...here.
12742 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12743 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12744 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12745 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12746 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12747 * sysdeps/microblaze/bits/atomic.h: Move to ...
12748 * sysdeps/microblaze/atomic-machine.h: ...here.
12749 * sysdeps/mips/bits/atomic.h: Move to ...
12750 * sysdeps/mips/atomic-machine.h: ...here.
12751 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12752 * sysdeps/powerpc/bits/atomic.h: Move to ...
12753 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
12754 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12755 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
12756 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
12757 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12758 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
12759 <atomic-machine.h> instead of <bits/atomic.h>.
12760 * sysdeps/s390/bits/atomic.h: Move to ...
12761 * sysdeps/s390/atomic-machine.h: ...here.
12762 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12763 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12764 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12765 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12766 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12767 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12768 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12769 * sysdeps/tile/bits/atomic.h: Move to ...
12770 * sysdeps/tile/atomic-machine.h: ...here.
12771 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12772 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
12773 <sysdeps/tile/atomic-machine.h> instead of
12774 <sysdeps/tile/bits/atomic.h>.
12775 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12776 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12777 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
12778 <sysdeps/tile/atomic-machine.h> instead of
12779 <sysdeps/tile/bits/atomic.h>.
12780 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12781 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12782 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
12783 <sysdeps/arm/atomic-machine.h> instead of
12784 <sysdeps/arm/bits/atomic.h>.
12785 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12786 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12787 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12788 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12789 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12790 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12791 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12792 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12793 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12794 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12795 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12796 * sysdeps/x86_64/bits/atomic.h: Move to ...
12797 * sysdeps/x86_64/atomic-machine.h: ...here.
12798 * include/atomic.h: Include <atomic-machine.h> instead of
12799 <bits/atomic.h>.
12800
12801 * sysdeps/mips/mips32/libm-test-ulps: Update.
12802 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12803
12804 [BZ #18952]
12805 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12806 not convert non-integer negative arguments to int to determine the
12807 value of signgam.
12808 * math/auto-libm-test-in: Add more tests of lgamma.
12809 * math/auto-libm-test-out: Regenerated.
12810
12811 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12812 cosh, csqrt, erfc, expm1 and lgamma.
12813 * math/auto-libm-test-out: Regenerated.
12814 * sysdeps/i386/fpu/libm-test-ulps: Update.
12815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12816
12817 2015-09-10 Joseph Myers <joseph@codesourcery.com>
12818
12819 [BZ #2542]
12820 [BZ #2543]
12821 [BZ #2558]
12822 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12823 __lgamma_neg for arguments from -28.0 to -2.0.
12824 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12825 __lgamma_negf for arguments from -15.0 to -2.0.
12826 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12827 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12828 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12829 Call __lgamma_negl for arguments from -33.0 to -2.0.
12830 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12831 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12832 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12833 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12838 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12840 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12841 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12842 (__lgamma_neg): Likewise.
12843 (__lgamma_negl): Likewise.
12844 (__lgamma_product): Likewise.
12845 (__lgamma_productl): Likewise.
12846 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12847 * math/auto-libm-test-in: Add more tests of lgamma.
12848 * math/auto-libm-test-out: Regenerated.
12849 * sysdeps/i386/fpu/libm-test-ulps: Update.
12850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12851
12852 2015-09-09 Justin Maggard <jmaggard@netgear.com>
12853
12854 [BZ #18675]
12855 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12856
12857 2015-09-08 Joseph Myers <joseph@codesourcery.com>
12858
12859 [BZ #14912]
12860 * bits/libc-lock.h: Move to ...
12861 * sysdeps/generic/libc-lock.h: ...here.
12862 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12863 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12864 * sysdeps/mach/hurd/libc-lock.h: ...here.
12865 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12866 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12867 * sysdeps/mach/bits/libc-lock.h: Move to ...
12868 * sysdeps/mach/libc-lock.h: ...here.
12869 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12870 * sysdeps/nptl/bits/libc-lock.h: Move to ...
12871 * sysdeps/nptl/libc-lock.h: ...here.
12872 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12873 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12874 * sysdeps/nptl/libc-lockP.h: ...here.
12875 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12876 * crypt/crypt_util.c: Include <libc-lock.h> instead of
12877 <bits/libc-lock.h>.
12878 * dirent/scandir-tail.c: Likewise.
12879 * dlfcn/dlerror.c: Likewise.
12880 * elf/dl-close.c: Likewise.
12881 * elf/dl-iteratephdr.c: Likewise.
12882 * elf/dl-lookup.c: Likewise.
12883 * elf/dl-open.c: Likewise.
12884 * elf/dl-support.c: Likewise.
12885 * elf/dl-writev.h: Likewise.
12886 * elf/rtld.c: Likewise.
12887 * grp/fgetgrent.c: Likewise.
12888 * gshadow/fgetsgent.c: Likewise.
12889 * gshadow/sgetsgent.c: Likewise.
12890 * iconv/gconv_conf.c: Likewise.
12891 * iconv/gconv_db.c: Likewise.
12892 * iconv/gconv_dl.c: Likewise.
12893 * iconv/gconv_int.h: Likewise.
12894 * iconv/gconv_trans.c: Likewise.
12895 * include/link.h: Likewise.
12896 * inet/getnameinfo.c: Likewise.
12897 * inet/getnetgrent.c: Likewise.
12898 * inet/getnetgrent_r.c: Likewise.
12899 * intl/bindtextdom.c: Likewise.
12900 * intl/dcigettext.c: Likewise.
12901 * intl/finddomain.c: Likewise.
12902 * intl/gettextP.h: Likewise.
12903 * intl/loadmsgcat.c: Likewise.
12904 * intl/localealias.c: Likewise.
12905 * intl/textdomain.c: Likewise.
12906 * libidn/idn-stub.c: Likewise.
12907 * libio/libioP.h: Likewise.
12908 * locale/duplocale.c: Likewise.
12909 * locale/freelocale.c: Likewise.
12910 * locale/newlocale.c: Likewise.
12911 * locale/setlocale.c: Likewise.
12912 * login/getutent_r.c: Likewise.
12913 * login/getutid_r.c: Likewise.
12914 * login/getutline_r.c: Likewise.
12915 * login/utmp-private.h: Likewise.
12916 * login/utmpname.c: Likewise.
12917 * malloc/mtrace.c: Likewise.
12918 * misc/efgcvt.c: Likewise.
12919 * misc/error.c: Likewise.
12920 * misc/fstab.c: Likewise.
12921 * misc/getpass.c: Likewise.
12922 * misc/mntent.c: Likewise.
12923 * misc/syslog.c: Likewise.
12924 * nis/nis_call.c: Likewise.
12925 * nis/nis_callback.c: Likewise.
12926 * nis/nss-default.c: Likewise.
12927 * nis/nss_compat/compat-grp.c: Likewise.
12928 * nis/nss_compat/compat-initgroups.c: Likewise.
12929 * nis/nss_compat/compat-pwd.c: Likewise.
12930 * nis/nss_compat/compat-spwd.c: Likewise.
12931 * nis/nss_nis/nis-alias.c: Likewise.
12932 * nis/nss_nis/nis-ethers.c: Likewise.
12933 * nis/nss_nis/nis-grp.c: Likewise.
12934 * nis/nss_nis/nis-hosts.c: Likewise.
12935 * nis/nss_nis/nis-network.c: Likewise.
12936 * nis/nss_nis/nis-proto.c: Likewise.
12937 * nis/nss_nis/nis-pwd.c: Likewise.
12938 * nis/nss_nis/nis-rpc.c: Likewise.
12939 * nis/nss_nis/nis-service.c: Likewise.
12940 * nis/nss_nis/nis-spwd.c: Likewise.
12941 * nis/nss_nisplus/nisplus-alias.c: Likewise.
12942 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12943 * nis/nss_nisplus/nisplus-grp.c: Likewise.
12944 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12945 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12946 * nis/nss_nisplus/nisplus-network.c: Likewise.
12947 * nis/nss_nisplus/nisplus-proto.c: Likewise.
12948 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12949 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12950 * nis/nss_nisplus/nisplus-service.c: Likewise.
12951 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12952 * nis/ypclnt.c: Likewise.
12953 * nptl/libc_pthread_init.c: Likewise.
12954 * nss/getXXbyYY.c: Likewise.
12955 * nss/getXXent.c: Likewise.
12956 * nss/getXXent_r.c: Likewise.
12957 * nss/nss_db/db-XXX.c: Likewise.
12958 * nss/nss_db/db-netgrp.c: Likewise.
12959 * nss/nss_db/nss_db.h: Likewise.
12960 * nss/nss_files/files-XXX.c: Likewise.
12961 * nss/nss_files/files-alias.c: Likewise.
12962 * nss/nsswitch.c: Likewise.
12963 * posix/regex_internal.h: Likewise.
12964 * posix/wordexp.c: Likewise.
12965 * pwd/fgetpwent.c: Likewise.
12966 * resolv/res_hconf.c: Likewise.
12967 * resolv/res_libc.c: Likewise.
12968 * shadow/fgetspent.c: Likewise.
12969 * shadow/lckpwdf.c: Likewise.
12970 * shadow/sgetspent.c: Likewise.
12971 * socket/opensock.c: Likewise.
12972 * stdio-common/reg-modifier.c: Likewise.
12973 * stdio-common/reg-printf.c: Likewise.
12974 * stdio-common/reg-type.c: Likewise.
12975 * stdio-common/vfprintf.c: Likewise.
12976 * stdio-common/vfscanf.c: Likewise.
12977 * stdlib/abort.c: Likewise.
12978 * stdlib/cxa_atexit.c: Likewise.
12979 * stdlib/fmtmsg.c: Likewise.
12980 * stdlib/random.c: Likewise.
12981 * stdlib/setenv.c: Likewise.
12982 * string/strsignal.c: Likewise.
12983 * sunrpc/auth_none.c: Likewise.
12984 * sunrpc/bindrsvprt.c: Likewise.
12985 * sunrpc/create_xid.c: Likewise.
12986 * sunrpc/key_call.c: Likewise.
12987 * sunrpc/rpc_thread.c: Likewise.
12988 * sysdeps/arm/backtrace.c: Likewise.
12989 * sysdeps/generic/ldsodefs.h: Likewise.
12990 * sysdeps/generic/stdio-lock.h: Likewise.
12991 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12992 * sysdeps/i386/backtrace.c: Likewise.
12993 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12994 * sysdeps/m68k/backtrace.c: Likewise.
12995 * sysdeps/mach/hurd/cthreads.c: Likewise.
12996 * sysdeps/mach/hurd/dirstream.h: Likewise.
12997 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12998 * sysdeps/nptl/malloc-machine.h: Likewise.
12999 * sysdeps/nptl/stdio-lock.h: Likewise.
13000 * sysdeps/posix/dirstream.h: Likewise.
13001 * sysdeps/posix/getaddrinfo.c: Likewise.
13002 * sysdeps/posix/system.c: Likewise.
13003 * sysdeps/pthread/aio_suspend.c: Likewise.
13004 * sysdeps/s390/s390-32/backtrace.c: Likewise.
13005 * sysdeps/s390/s390-64/backtrace.c: Likewise.
13006 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13007 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13008 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13009 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13010 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13011 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13012 * sysdeps/unix/sysv/linux/system.c: Likewise.
13013 * sysdeps/x86_64/backtrace.c: Likewise.
13014 * time/alt_digit.c: Likewise.
13015 * time/era.c: Likewise.
13016 * time/tzset.c: Likewise.
13017 * wcsmbs/wcsmbsload.c: Likewise.
13018 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
13019 instead of <bits/libc-lock.h> in comment.
13020
13021 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
13022
13023 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
13024 Only use .set mips2 if the current ISA is below mips2.
13025 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
13026 Likewise.
13027 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
13028 mips32r2 if the current ISA is below mips32r2.
13029 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
13030 (TLS_IE): Updated to use the TLD_RDHWR macro.
13031 (TLS_LE): Likewise.
13032 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
13033 __ASSEMBLER__ condition.
13034
13035 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13036
13037 Fix parallel build of before-compile targets.
13038
13039 * sysdeps/mach/Makefile ($(patsubst
13040 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
13041 mach-before-compile target.
13042 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13043 io fs process)): Move rule to dedicated hurd-before-compile target.
13044
13045 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13046
13047 Fix rules generating headers in hurd/ and mach/ when initial make call
13048 has subdir= explicitly set.
13049
13050 * sysdeps/mach/Makefile ($(patsubst
13051 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
13052 calling $(MAKE).
13053 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13054 io fs process)): Force subdir to hurd when calling $(MAKE).
13055 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
13056 subdir to mach when calling $(MAKE).
13057
13058 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
13059
13060 Check sysheaders when looking for Mach and Hurd headers
13061
13062 * sysdeps/mach/configure.ac: Add sysheaders check.
13063 * sysdeps/mach/configure: Regenerate.
13064 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
13065 * sysdeps/mach/hurd/configure: Regenerate.
13066
13067 2015-09-04 Roland McGrath <roland@hack.frob.com>
13068
13069 [BZ #18921]
13070 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
13071 Fix inverted sense of test of 'o_directory_works' value.
13072 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
13073 Bernhard Voelker <mail@bernhard-voelker.de>.
13074
13075 2015-09-04 Joseph Myers <joseph@codesourcery.com>
13076
13077 [BZ #14912]
13078 * bits/linkmap.h: Move to ...
13079 * sysdeps/generic/linkmap.h: ...here.
13080 * sysdeps/aarch64/bits/linkmap.h: Move to ...
13081 * sysdeps/aarch64/linkmap.h: ...here.
13082 * sysdeps/arm/bits/linkmap.h: Move to ...
13083 * sysdeps/arm/linkmap.h: ...here.
13084 * sysdeps/hppa/bits/linkmap.h: Move to ...
13085 * sysdeps/hppa/linkmap.h: ...here.
13086 * sysdeps/ia64/bits/linkmap.h: Move to ...
13087 * sysdeps/ia64/linkmap.h: ...here.
13088 * sysdeps/mips/bits/linkmap.h: Move to ...
13089 * sysdeps/mips/linkmap.h: ...here.
13090 * sysdeps/s390/bits/linkmap.h: Move to ...
13091 * sysdeps/s390/linkmap.h: ...here.
13092 * sysdeps/sh/bits/linkmap.h: Move to ...
13093 * sysdeps/sh/linkmap.h: ...here.
13094 * sysdeps/x86/bits/linkmap.h: Move to ...
13095 * sysdeps/x86/linkmap.h: ...here.
13096 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
13097
13098 2015-09-04 Andreas Schwab <schwab@suse.de>
13099
13100 [BZ #18635]
13101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
13102 (__makecontext): Terminate FDE before return label.
13103 (__novec_makecontext): Likewise.
13104
13105 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13106
13107 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
13108 first member of struct sv in syscall macro.
13109
13110 2015-09-04 Joseph Myers <joseph@codesourcery.com>
13111
13112 [BZ #14912]
13113 * bits/stdio-lock.h: Move to ...
13114 * sysdeps/generic/stdio-lock.h: ...here.
13115 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13116 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
13117 * sysdeps/nptl/stdio-lock.h: ...here.
13118 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13119 * include/libio.h: Include <stdio-lock.h> instead of
13120 <bits/stdio-lock.h>.
13121 * sysdeps/nptl/fork.c: Likewise.
13122 * sysdeps/pthread/flockfile.c: Likewise.
13123 * sysdeps/pthread/ftrylockfile.c: Likewise.
13124 * sysdeps/pthread/funlockfile.c: Likewise.
13125
13126 [BZ #14912]
13127 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13128 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13129 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13130 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13131 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13132 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13133 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13134
13135 2015-09-03 Roland McGrath <roland@hack.frob.com>
13136
13137 * elf/Makefile (test-xfail-tst-protected1a): New variable.
13138 (test-xfail-tst-protected1b): New variable.
13139
13140 2015-09-03 Joseph Myers <joseph@codesourcery.com>
13141
13142 [BZ #14912]
13143 * bits/libc-tsd.h: Move to ...
13144 * sysdeps/generic/libc-tsd.h: ...here.
13145 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13146 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13147 * sysdeps/mach/hurd/libc-tsd.h: ...here.
13148 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13149 * include/ctype.h: Include <libc-tsd.h> instead of
13150 <bits/libc-tsd.h>.
13151 * include/rpc/rpc.h: Likewise.
13152 * locale/localeinfo.h: Likewise.
13153 * sunrpc/rpc_thread.c: Likewise.
13154 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13155 * sysdeps/nptl/malloc-machine.h: Likewise.
13156
13157 * Makefile (headers): Remove bits/libc-lock.h.
13158 * libio/Makefile (headers): Remove bits/stdio-lock.h.
13159
13160 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13161 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13162 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13163 <bits/stdio-lock.h>.
13164 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13165 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13166
13167 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
13168
13169 [BZ #18757]
13170 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13171 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13172 BZ #18757.
13173
13174 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
13175
13176 * malloc/mtrace.pl: Filter out NULL entries.
13177
13178 2015-09-01 Joseph Myers <joseph@codesourcery.com>
13179
13180 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13181 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13182 macro.
13183
13184 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13185 (TCP_CC_INFO): Likewise.
13186 (TCP_SAVE_SYN): Likewise.
13187 (TCP_SAVED_SYN): Likewise.
13188
13189 2015-08-31 Brett Neumeier <brett@neumeier.us>
13190
13191 [BZ #18870]
13192 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13193
13194 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
13195
13196 [BZ #18873]
13197 Fix broken overflow check in posix_fallocate
13198 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13199 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13200 Fix parenthesization typo.
13201
13202 2015-08-28 Mike Frysinger <vapier@gentoo.org>
13203
13204 [BZ #18887]
13205 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13206 tst-mntent-blank-passno.
13207 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13208 * misc/tst-mntent-blank-corrupt.c: New test.
13209 * misc/tst-mntent-blank-passno.c: New test ripped from ...
13210 * misc/tst-mntent.c (do_test): ... here.
13211
13212 2015-08-29 Mike Frysinger <vapier@gentoo.org>
13213
13214 [BZ #4404]
13215 * po/de.po: Fix SIGALRM typo.
13216
13217 2015-08-28 James Perkins <james@loowit.net>
13218
13219 * time/tst-strptime2.c (tests): Replace short list of test
13220 strings for strptime %z specifier with code which exhaustively
13221 tests every combination of sign and 0 to 5 digits. Tests for
13222 rejection of invalid strings.
13223
13224 2015-08-28 James Perkins <james@loowit.net>
13225
13226 [BZ #16141]
13227 * time/strptime_l.c (__strptime_internal): Fix %z minutes
13228 calculation, removing incorrect decimal time rounding, so that
13229 all minute values result in a valid seconds value.
13230 * time/strptime_l.c (__strptime_internal): Extend %z time zone
13231 offset range limits to UTC-99:59 through UTC+99:59 to parse
13232 current and historical use cases.
13233 * time/tst-strptime2.c (tests): Modify and add tests for the
13234 strptime %z input field descriptor, specifically conversion of
13235 minutes to seconds and validating an offset range of -9959 to
13236 +9959.
13237
13238 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13239 Dmitry V. Levin <ldv@altlinux.org>
13240
13241 [BZ #18877]
13242 * posix/Makefile (tests): Add tst-mmap-offset.
13243 * posix/tst-mmap.c: New file.
13244 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13245 offset calculation for negative values.
13246
13247 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13248
13249 * sysdeps/i386/init-arch.h: New file.
13250 * sysdeps/i386/i586/init-arch.h: Likewise.
13251 * sysdeps/i386/i686/init-arch.h: Likewise.
13252 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13253 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
13254 * sysdeps/x86/cpu-features.h (bit_I586): New.
13255 (bit_I686): Likewise.
13256 (bit_CX8): Likewise.
13257 (bit_CMOV): Likewise.
13258 (index_CX8): Likewise.
13259 (index_CMOV): Likewise.
13260 (index_I586): Likewise.
13261 (index_I686): Likewise.
13262 (reg_CX8): Likewise.
13263 (reg_CMOV): Likewise.
13264 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13265 available at compile-time.
13266 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13267 available at compile-time.
13268 * sysdeps/x86/init-arch.h (USE_I586): New macro.
13269 (USE_I686): Likewise.
13270
13271 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13272
13273 * sysdeps/i386/bcopy.S: New file.
13274 * sysdeps/i386/bzero.S: Likewise.
13275 * sysdeps/i386/memcpy.S: Likewise.
13276 * sysdeps/i386/memmove.S: Likewise.
13277 * sysdeps/i386/mempcpy.S: Likewise.
13278 * sysdeps/i386/memset.S: Likewise.
13279 * sysdeps/i386/bzero.c: Removed.
13280 * sysdeps/i386/memset.c: Likewise.
13281 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
13282 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
13283 * sysdeps/i386/i586/memset_chk.S: Likewise.
13284 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
13285 * sysdeps/i386/memcpy_chk.S: Here.
13286 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
13287 * sysdeps/i386/memmove_chk.S: Here.
13288 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
13289 * sysdeps/i386/mempcpy_chk.S: Likewise.
13290 * sysdeps/i386/i686/memset_chk.S: Moved to ...
13291 * sysdeps/i386/memset_chk.S: Likewise.
13292
13293 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
13294
13295 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
13296 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
13297 file, move DIAG_POP_NEEDS_COMMENT to end of file.
13298 * soft-fp/fmadf4.c: Ditto.
13299 * soft-fp/fmatf4.c: Ditto.
13300
13301 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13302
13303 * sysdeps/i386/i586/Implies: Removed.
13304 * sysdeps/i386/i686/Implies: Likewise.
13305
13306 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13307
13308 * sysdeps/i386/i486/strlen.S: Moved to ...
13309 * sysdeps/i386/strlen.S: Here.
13310
13311 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13312
13313 * sysdeps/i386/i486/strcat.S: Moved to ...
13314 * sysdeps/i386/strcat.S: Here.
13315
13316 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13317
13318 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
13319 * sysdeps/i386/pthread_spin_trylock.S: Here.
13320 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
13321 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
13322
13323 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13324
13325 * sysdeps/i386/i486/string-inlines.c: Moved to ...
13326 * sysdeps/i386/string-inlines.c: Here.
13327
13328 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13329
13330 * sysdeps/i386/i486/htonl.S: Moved ...
13331 * sysdeps/i386/htonl.S: here.
13332
13333 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13334
13335 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
13336 * sysdeps/i386/bits/atomic.h: Here.
13337
13338 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13339
13340 * sysdeps/i386/i486/Versions: Removed.
13341
13342 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
13343
13344 [BZ #2898]
13345 * misc/mktemp.c: Add mkdtemp to the link_warning message.
13346 Based on patch by Aurelien Jarno.
13347
13348 2015-08-26 Stan Shebs <stanshebs@google.com>
13349
13350 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
13351 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13352
13353 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13354
13355 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
13356 * sysdeps/powerpc/dl-procinfo.c:
13357 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
13358 feature so it shows when LD_SHOW_AUXV=1.
13359
13360 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13361
13362 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13363 (__arch_compare_and_exchange_val_32_acq): Remove and use common
13364 definition. ISA 2.07B no longer requires full sync.
13365
13366 2015-08-26 Mike Frysinger <vapier@gentoo.org>
13367
13368 [BZ #18863]
13369 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
13370 (si_call_addr): Define.
13371 (si_syscall): Define.
13372 (si_arch): Define.
13373
13374 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
13375
13376 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13377 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13378 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13379 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13380 (__memset_zero_constant_len_parameter): New.
13381 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13382 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13383 (__memset_zero_constant_len_parameter): Don't define if
13384 __memset_chk or USE_AS_BZERO are defined.
13385
13386 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13387 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13388 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13389
13390 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13391 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13392 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13393 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
13394 comments.
13395 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13396 -mno-mmx for $(all-rtld-routines).
13397 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13398 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
13399 i386.
13400
13401 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13402
13403 * sysdeps/generic/unwind.h
13404 (_Unwind_Word): Use __mode__(__unwind_word__)
13405 instead of __mode__(__word__).
13406 (_Unwind_Sword): Likewise.
13407
13408 * sysdeps/s390/s390-64/utf8-utf16-z9.c
13409 (MAX_NEEDED_INPUT): New define.
13410 (MAX_NEEDED_OUTPUT): New define.
13411
13412 * NEWS: New item for IBM z13 string optimizations.
13413
13414 * sysdeps/s390/multiarch/memrchr-c.c: New File.
13415 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13416 * sysdeps/s390/multiarch/memrchr.c: Likewise.
13417 * sysdeps/s390/multiarch/Makefile
13418 (sysdep_routines): Add memrchr functions.
13419 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13420 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13421
13422 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13423 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13424 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13425 * sysdeps/s390/multiarch/Makefile
13426 (sysdep_routines): Add wmemcmp functions.
13427 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13428 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13429 * benchtests/bench-wmemcmp.c: New File.
13430 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13431
13432 * sysdeps/s390/multiarch/wmemset-c.c: New File.
13433 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13434 * sysdeps/s390/multiarch/wmemset.c: Likewise.
13435 * sysdeps/s390/multiarch/Makefile
13436 (sysdep_routines): Add wmemset functions.
13437 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13438 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13439 * wcsmbs/wmemset.c: Use WMEMSET if defined.
13440 * string/test-memset.c: Add wmemset support.
13441 * wcsmbs/test-wmemset.c: New File.
13442 * wcsmbs/Makefile (strop-tests): Add wmemset.
13443 * benchtests/bench-memset.c: Add wmemset support.
13444 * benchtests/bench-wmemset.c: New File.
13445 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13446
13447 * sysdeps/s390/multiarch/memccpy-c.c: New File.
13448 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13449 * sysdeps/s390/multiarch/memccpy.c: Likewise.
13450 * sysdeps/s390/multiarch/Makefile
13451 (sysdep_routines): Add memccpy functions.
13452 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13453 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13454 * string/memccpy.c: Use MEMCCPY if defined.
13455
13456 * sysdeps/s390/multiarch/memchr-vx.S: New File.
13457 * sysdeps/s390/multiarch/memchr.c: Likewise.
13458 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13459 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13460 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13461 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13462 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13463 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13464 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13465 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13466 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13467 and rawmemchr functions.
13468 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13469 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13470 and wmemchr.
13471 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13472 * string/test-memchr.c: Add wmemchr support.
13473 * wcsmbs/test-wmemchr.c: New File.
13474 * wcsmbs/Makefile (strop-tests): Add wmemchr.
13475 * benchtests/bench-memchr.c: Add wmemchr support.
13476 * benchtests/bench-wmemchr.c: New File.
13477 * benchtests/Makefile (wcsmbs-bench): wmemchr.
13478
13479 * sysdeps/s390/multiarch/strcspn-c.c: New File.
13480 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13481 * sysdeps/s390/multiarch/strcspn.c: Likewise.
13482 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13483 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13484 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13485 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13486 wcscspn functions.
13487 * sysdeps/s390/multiarch/ifunc-impl-list.c
13488 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13489 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13490 * string/test-strcspn.c: Add wcscspn support.
13491 * wcsmbs/test-wcscspn.c: New File.
13492 * wcsmbs/Makefile (strop-tests): Add wcscspn.
13493 * benchtests/bench-strcspn.c: Add wcscspn support.
13494 * benchtests/bench-wcscspn.c: New File.
13495 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13496
13497 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13498 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13499 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13500 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13501 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13502 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13503 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13504 wcspbrk functions.
13505 * sysdeps/s390/multiarch/ifunc-impl-list.c
13506 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13507 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13508 * string/test-strpbrk.c: Add wcspbrk support.
13509 * wcsmbs/test-wcspbrk.c: New File.
13510 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13511 * benchtests/bench-strpbrk.c: Add wcspbrk support.
13512 * benchtests/bench-wcspbrk.c: New File.
13513 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13514
13515 * sysdeps/s390/multiarch/strspn-c.c: New File.
13516 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13517 * sysdeps/s390/multiarch/strspn.c: Likewise.
13518 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13519 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13520 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13521 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13522 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13523 wcsspn functions.
13524 * sysdeps/s390/multiarch/ifunc-impl-list.c
13525 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13526 * string/test-strspn.c: Add wcsspn support.
13527 * wcsmbs/test-wcsspn.c: New File.
13528 * wcsmbs/Makefile (strop-tests): Add wcsspn.
13529 * benchtests/bench-strspn.c: Add wcsspn support.
13530 * benchtests/bench-wcsspn.c: New File.
13531 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13532
13533 * sysdeps/s390/multiarch/strrchr-c.c: New File.
13534 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13535 * sysdeps/s390/multiarch/strrchr.c: Likewise.
13536 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13537 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13538 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13539 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13540 wcsrchr functions.
13541 * sysdeps/s390/multiarch/ifunc-impl-list.c
13542 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13543 * benchtests/bench-wcsrchr.c: New File.
13544 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13545
13546 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13547 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13548 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13549 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13550 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13551 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13552 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13553 wcschrnul functions.
13554 * sysdeps/s390/multiarch/ifunc-impl-list.c
13555 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13556 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13557 * string/test-strchr.c: Add wcschrnul support.
13558 * wcsmbs/test-wcschrnul.c: New File.
13559 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13560 * benchtests/bench-strchr.c: Add wcschrnul support.
13561 * benchtests/bench-wcschrnul.c: New File.
13562 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13563
13564 * sysdeps/s390/multiarch/strchr-c.c: New File.
13565 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13566 * sysdeps/s390/multiarch/strchr.c: Likewise.
13567 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13568 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13569 * sysdeps/s390/multiarch/wcschr.c: Likewise.
13570 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13571 wcschr functions.
13572 * sysdeps/s390/multiarch/ifunc-impl-list.c
13573 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13574 * string/strchr.c (STRCHR): Define and use macro.
13575 * benchtests/bench-wcschr.c: New File.
13576 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13577
13578 * sysdeps/s390/multiarch/strncmp-c.c: New File.
13579 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13580 * sysdeps/s390/multiarch/strncmp.c: Likewise.
13581 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13582 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13583 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13584 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13585 wcsncmp functions.
13586 * sysdeps/s390/multiarch/ifunc-impl-list.c
13587 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13588 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13589 * benchtests/bench-strncmp.c: Add wcsncmp support.
13590 * benchtests/bench-wcsncmp.c: New File.
13591 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13592
13593 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13594 * sysdeps/s390/multiarch/strcmp.c: Likewise.
13595 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13596 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13597 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13598 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13599 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13600 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13601 wcscmp functions.
13602 * sysdeps/s390/multiarch/ifunc-impl-list.c
13603 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13604 * string/strcmp.c (STRCMP): Define and use macro.
13605 * benchtests/bench-wcscmp.c: New File.
13606 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13607 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13608 instead of _HAVE_STRING_ARCH_memchr.
13609
13610 * sysdeps/s390/multiarch/strncat-c.c: New File.
13611 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13612 * sysdeps/s390/multiarch/strncat.c: Likewise.
13613 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13614 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13615 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13616 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13617 wcsncat functions.
13618 * sysdeps/s390/multiarch/ifunc-impl-list.c
13619 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13620 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13621 * string/test-strncat.c: Add wcsncat support.
13622 * wcsmbs/test-wcsncat.c: New File.
13623 * wcsmbs/Makefile (strop-tests): Add wcsncat.
13624 * benchtests/bench-strncat.c: Add wcsncat support.
13625 * benchtests/bench-wcsncat.c: New File.
13626 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13627
13628 * sysdeps/s390/multiarch/strcat-c.c: New File.
13629 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13630 * sysdeps/s390/multiarch/strcat.c: Likewise.
13631 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13632 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13633 * sysdeps/s390/multiarch/wcscat.c: Likewise.
13634 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13635 wcscat functions.
13636 * sysdeps/s390/multiarch/ifunc-impl-list.c
13637 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13638 * string/strcat.c (STRCAT): Define and use macro.
13639 * wcsmbs/wcscat.c: Use WCSCAT if defined.
13640 * string/test-strcat.c: Add wcscat support.
13641 * wcsmbs/test-wcscat.c: New File.
13642 * wcsmbs/Makefile (strop-tests): Add wcscat.
13643 * benchtests/bench-strcat.c: Add wcscat support.
13644 * benchtests/bench-wcscat.c: New File.
13645 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13646
13647 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13648 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13649 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13650 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13651 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13652 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13653 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13654 wcpncpy functions.
13655 * sysdeps/s390/multiarch/ifunc-impl-list.c
13656 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13657 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13658 * string/test-stpncpy.c: Add wcpncpy support.
13659 * wcsmbs/test-wcpncpy.c: New File.
13660 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13661 * benchtests/bench-stpncpy.c: Add wcpncpy support.
13662 * benchtests/bench-wcpncpy.c: New File.
13663 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13664
13665 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13666 * sysdeps/s390/multiarch/strncpy.c: Likewise.
13667 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13668 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13669 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13670 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13671 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13672 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13673 wcsncpy functions.
13674 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13675 * sysdeps/s390/multiarch/ifunc-impl-list.c
13676 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13677 * string/test-strncpy.c: Add wcsncpy support.
13678 * wcsmbs/test-wcsncpy.c: New File.
13679 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13680 * benchtests/bench-strncpy.c: Add wcsncpy support.
13681 * benchtests/bench-wcsncpy.c: New File.
13682 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13683
13684 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13685 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13686 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13687 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13688 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13689 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13690 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13691 wcpcpy functions.
13692 * string/stpcpy.c: Use STPCPY if defined.
13693 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13694 * sysdeps/s390/multiarch/ifunc-impl-list.c
13695 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13696 * string/test-stpcpy.c: Add wcpcpy support.
13697 * wcsmbs/test-wcpcpy.c: New File.
13698 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13699 * benchtests/bench-stpcpy.c: Add wcpcpy support.
13700 * benchtests/bench-wcpcpy.c: New File.
13701 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13702
13703 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13704 * sysdeps/s390/multiarch/strcpy.c: Likewise.
13705 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13706 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13707 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13708 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13709 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13710 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13711 wcscpy functions.
13712 * sysdeps/s390/multiarch/ifunc-impl-list.c
13713 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13714 * benchtests/bench-wcscpy.c: New File.
13715 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13716
13717 * sysdeps/s390/multiarch/strnlen-c.c: New File.
13718 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13719 * sysdeps/s390/multiarch/strnlen.c: Likewise.
13720 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13721 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13722 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13723 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13724 wcsnlen functions.
13725 * sysdeps/s390/multiarch/ifunc-impl-list.c
13726 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13727 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13728 * string/test-strnlen.c: Add wcsnlen support.
13729 * wcsmbs/test-wcsnlen.c: New File.
13730 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13731 * benchtests/bench-strnlen.c: Add wcsnlen support.
13732 * benchtests/bench-wcsnlen.c: New File.
13733 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13734
13735 * sysdeps/s390/multiarch/Makefile: New File.
13736 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13737 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13738 * sysdeps/s390/multiarch/strlen.c: Likewise.
13739 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13740 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13741 * sysdeps/s390/multiarch/wcslen.c: Likewise.
13742 * string/strlen.c (STRLEN): Define and use macro.
13743 * sysdeps/s390/multiarch/ifunc-impl-list.c
13744 (IFUNC_VX_IMPL): New macro function.
13745 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13746 * benchtests/Makefile (wcsmbs-bench): New variable.
13747 (string-bench-all): Added wcsmbs-bench.
13748 * benchtests/bench-wcslen.c: New File.
13749
13750 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13751 s390_vx_libc_ifunc2): New macro function.
13752
13753 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13754 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13755 assembler support.
13756 * sysdeps/s390/configure: Regenerated.
13757
13758 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13759 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13760
13761 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13762 * sysdeps/s390/dl-procinfo.h: Add vector capability.
13763 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13764
13765 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13766 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13767 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13768 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13769 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13770 (memcmp, bcmp): Use __memcmp_default as alias source.
13771 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13772 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13773 Rename to __memcmp_default.
13774 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13775 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13776 (memcpy): Use __memcpy_default as alias source.
13777 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13778 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13779 Rename to __memcpy_default.
13780 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13781 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13782 (memset): Use __memset_default as alias source.
13783 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13784 * sysdeps/s390/s390-32/memset.S (__memset_g5):
13785 Rename to __memset_default.
13786 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13787 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13788 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13789 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13790 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13791 (memcmp, bcmp): Use __memcmp_default as alias source.
13792 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13793 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13794 Rename to __memcmp_default.
13795 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13796 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13797 (memcpy): Use __memcpy_default as alias source.
13798 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13799 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13800 Rename to __memcpy_default.
13801 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13802 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13803 (memset): Use __memset_default as alias source.
13804 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13805 * sysdeps/s390/s390-64/memset.S (__memset_z900):
13806 Rename to __memset_default.
13807 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13808 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13809
13810 [BZ #18610]
13811 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13812 __ieee_instruction_pointer to __unused.
13813 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13814 __ieee_instruction_pointer.
13815 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13816 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13817 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13818 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13819 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13820 Mark dxc-field as reserved.
13821
13822 2015-08-25 Roland McGrath <roland@hack.frob.com>
13823
13824 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13825 if the weak reference is not null.
13826
13827 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
13828
13829 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13830
13831 [BZ #11214]
13832 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13833
13834 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13835
13836 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13837 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13838 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13839 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13840 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13841 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13842 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13843 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13844 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13845 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13846 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13847 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13848 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13849 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13850 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13851 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13852 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13853 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13854
13855 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13856
13857 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13858 register other than r0 for tabort, it has special meaning.
13859 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13860 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13861 transaction before starting syscall.
13862
13863 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13864
13865 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13866
13867 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
13868
13869 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13870
13871 * sysdeps/x86_64/rtld-memcmp.c: Removed.
13872 * sysdeps/x86_64/rtld-memset.S: Likewise.
13873 * sysdeps/x86_64/rtld-strchr.S: Likewise.
13874 * sysdeps/x86_64/rtld-strlen.S: Likewise.
13875 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13876 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13877
13878 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13879
13880 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
13881
13882 * debug/strcpy_chk.c: Improve performance.
13883 * debug/stpcpy_chk.c: Likewise.
13884 * sysdeps/x86_64/strcpy_chk.S: Remove.
13885 * sysdeps/x86_64/stpcpy_chk.S: Remove.
13886
13887 [BZ #18240]
13888 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13889
13890 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
13891
13892 [BZ #15128]
13893 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13894 ifuncmain8.
13895 (modules-names): Add ifuncmod8.
13896 ($(objpfx)ifuncmain8): New rule.
13897 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13898 <cpuid.h>.
13899 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13900 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13901 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13902 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13903 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13904 * sysdeps/x86_64/dl-trampoline.h: Likewise.
13905 * sysdeps/x86_64/ifuncmain8.c: New file.
13906 * sysdeps/x86_64/ifuncmod8.c: Likewise.
13907 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13908 Removed.
13909 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13910 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13911 Change rtld_savespace_sse to __glibc_unused2.
13912 (RTLD_CHECK_FOREIGN_CALL): Removed.
13913 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13914 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13915 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13916
13917 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13918
13919 * sysdeps/aarch64/bzero.S (__bzero): Remove.
13920
13921 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13922
13923 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13924 Unconditionally set __fpcr to avoid uninialized warning.
13925 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13926
13927 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13928
13929 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13930 is corrupt.
13931
13932 * malloc/arena.c (arena_get2): Drop unused argument.
13933 (arena_lock): Adjust.
13934 (arena_get_retry): Likewise.
13935
13936 2015-08-24 Andreas Schwab <schwab@suse.de>
13937
13938 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13939 Don't define.
13940 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13941 (__ASSUME_IPC64): Don't undef.
13942 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13943 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13944 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13945 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13946 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13947 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13948 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13949 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13950 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13951 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13952 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13953 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13954 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13955 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13956 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13957 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13958 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13959 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13960 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13961 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13962 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13963
13964 2015-08-21 Mike Frysinger <vapier@gentoo.org>
13965
13966 * manual/Makefile (install): Only build manual when perl is available.
13967
13968 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13969
13970 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13971 '#undef memcpy' by '#undef memchr'.
13972
13973 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13974
13975 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13976 memchr not point to the internal __GI_memchr implementation.
13977
13978 2015-08-20 Joseph Myers <joseph@codesourcery.com>
13979
13980 * timezone/Makefile (CFLAGS-zdump.c): Remove
13981 -Wno-strict-prototypes.
13982 (CFLAGS-zic.c): Likewise.
13983 (CFLAGS-ialloc.c): Likewise.
13984 (CFLAGS-scheck.c): Likewise.
13985
13986 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13987 -Wno-error=undef.
13988
13989 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
13990
13991 * i386/i686/multiarch/strcasestr-c.c: Removed.
13992 * x86_64/multiarch/strcasestr.c: Likewise.
13993 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13994 Remove strcasestr.
13995
13996 2015-08-20 Joseph Myers <joseph@codesourcery.com>
13997
13998 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13999
14000 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14001 variables for high and low parts before possibly modifying them.
14002
14003 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
14004
14005 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14006 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14007 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14008 of "multiarch/init-arch.h".
14009 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14010 * sysdeps/x86/init-arch.h: This.
14011
14012 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
14013
14014 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
14015 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
14016
14017 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
14018
14019 [BZ #17787]
14020 * manual/macros.texi: Add twoexp macro.
14021 * manual/filesys.texi: Fix exponents.
14022 * manual/llio.texi: Likewise.
14023 * manual/stdio.texi: Likewise.
14024
14025 2015-08-20 Florian Weimer <fweimer@redhat.com>
14026
14027 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
14028 incorrect use.
14029
14030 2015-08-19 Joseph Myers <joseph@codesourcery.com>
14031
14032 [BZ #18370]
14033 * math/s_csqrt.c (__csqrt): Force underflow exception for results
14034 whose real or imaginary part has small absolute value.
14035 * math/s_csqrtf.c (__csqrtf): Likewise.
14036 * math/s_csqrtl.c (__csqrtl): Likewise.
14037 * math/auto-libm-test-in: Add more tests of csqrt.
14038 * math/auto-libm-test-out: Regenerated.
14039 * sysdeps/i386/fpu/libm-test-ulps: Update.
14040
14041 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14042
14043 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
14044 __ppc_set_ppr_very_low): New functions.
14045 * manual/platform.texi: Add documentation about
14046 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
14047
14048 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
14049
14050 * string/stpncpy.c (stpncpy): Improve performance using
14051 __strnlen/memcpy/memset.
14052
14053 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
14054
14055 [BZ #18796]
14056 * scripts/test-installation.pl: Don't add -lmvec to build options if
14057 libmvec wasn't built.
14058
14059 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
14060
14061 [BZ #14341]
14062 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
14063 case when there is a gap between DT_REL and DT_JMPREL sections.
14064 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
14065 (LDFLAGS-tst-split-dynreloc): New.
14066 (tst-split-dynreloc-ENV): Likewise.
14067 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
14068 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
14069
14070 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
14071
14072 [BZ #18822]
14073 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
14074 attribute_hidden.
14075 (__xstat64_conv): Likewise.
14076 (__xstat32_conv): Likewise.
14077
14078 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
14079
14080 [BZ #18822]
14081 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14082 Don't load %ebx when calling __setcontext. Call __setcontext
14083 with HIDDEN_JUMPTARGET.
14084 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
14085 libc_hidden_def.
14086
14087 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
14088
14089 * sysdeps/i386/i686/Makefile
14090 [$(subdir) == string] (sysdep_routines): Moved to ...
14091 * sysdeps/i386/Makefile: Here.
14092 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
14093 * sysdeps/i386/cacheinfo.c: Here.
14094 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
14095 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
14096 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
14097 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
14098
14099 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
14100
14101 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
14102 __i586__ is defined.
14103 (HAS_I686): Defined to 1 if __i686__ is defined.
14104
14105 2015-08-19 Joseph Myers <joseph@codesourcery.com>
14106
14107 * elf/Makefile [$(have-z-execstack) = yes]
14108 (CPPFLAGS-tst-execstack.c): New variable.
14109
14110 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
14111 conditional to [defined UTMPX || _HAVE_UT_TYPE].
14112 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
14113 UTMPX || _HAVE_UT_TV].
14114 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
14115 UTMPX || _HAVE_UT_TV - 0].
14116
14117 2015-08-18 Joseph Myers <joseph@codesourcery.com>
14118
14119 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
14120 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
14121 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
14122
14123 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14124
14125 * sysdeps/powerpc/dl-procinfo.c:
14126 (_dl_powerpc_cap_flags): Added missing strings for some
14127 hwcap features.
14128 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14129
14130 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
14131
14132 Port the 0x7efe...feff pattern to GCC 6.
14133 See Steve Ellcey's bug report in:
14134 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14135 * string/memrchr.c (MEMRCHR):
14136 * string/rawmemchr.c (RAWMEMCHR):
14137 * string/strchr.c (strchr):
14138 * string/strchrnul.c (STRCHRNUL):
14139 Rewrite code to avoid issues with signed shift overflow.
14140
14141 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
14142
14143 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14144 whether cpuid is available only if HAS_CPUID is 0.
14145 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14146 (HAS_I586): Likewise.
14147 (HAS_I686): Likewise.
14148
14149 2015-08-18 Zack Weinberg <zackw@panix.com>
14150
14151 * misc/Versions (libc): Add GLIBC_2.23.
14152
14153 2015-08-18 Alan Modra <amodra@gmail.com>
14154
14155 [BZ #18421]
14156 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14157 .Lp__global.
14158 (_start): Load %dp via .Lp__global.
14159 [!SHARED]: Use .section .rodata.
14160
14161 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14162
14163 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14164 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14165
14166 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14167
14168 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14169 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14170
14171 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14172
14173 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14174 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14175
14176 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14177
14178 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14179 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14180
14181 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14182
14183 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14184 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14185
14186 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14187
14188 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14189 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14190
14191 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14192
14193 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14194
14195 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14196
14197 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14198 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
14199 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14200 (__ASSUME_LWS_CAS): Delete.
14201
14202 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14203
14204 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14205 * sysdeps/hppa/configure: Regenerated.
14206 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14207 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14208 * sysdeps/hppa/nptl/tls.h: Likewise.
14209
14210 2015-08-17 Joseph Myers <joseph@codesourcery.com>
14211
14212 [BZ #18823]
14213 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14214 for scaling up small arguments.
14215 * math/s_csqrtf.c (__csqrtf): Likewise.
14216 * math/s_csqrtl.c (__csqrtl): Likewise.
14217 * math/auto-libm-test-in: Add more tests of csqrt.
14218 * math/auto-libm-test-out: Regenerated.
14219
14220 2015-08-17 Andreas Schwab <schwab@suse.de>
14221
14222 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14223 version set GLIBC_2.19.
14224
14225 2015-08-16 Zack Weinberg <zackw@panix.com>
14226
14227 [BZ #18681]
14228 * misc/regexp.h: This interface is no longer supported.
14229 Remove all contents, leaving only an #error directive.
14230 * misc/regexp.c (loc1, loc2, locs, step, advance):
14231 Demote to compatibility symbols.
14232
14233 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
14234
14235 [BZ #18084]
14236 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14237 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14238 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14239 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14240 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14241 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14242 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14243 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14244 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14245
14246 2015-08-15 Zack Weinberg <zackw@panix.com>
14247
14248 [BZ #18795]
14249 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14250 buffer length is known to be too large, not if it's known to be
14251 small enough.
14252 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14253 overflow at runtime, involving a length parameter, twice: once
14254 with a compile-time constant length parameter, once without.
14255
14256 2015-08-14 Joseph Myers <joseph@codesourcery.com>
14257
14258 [BZ #18824]
14259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14260 scaling x * y up instead of down.
14261 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14262 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14263 * math/auto-libm-test-in: Add more tests of fma.
14264 * math/auto-libm-test-out: Regenerated.
14265
14266 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14267
14268 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14269
14270 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14271
14272 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14273 unnecessary movq.
14274 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14275 Likewise.
14276
14277 2015-08-13 Joseph Myers <joseph@codesourcery.com>
14278
14279 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14280 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
14281 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
14282 and tgamma.
14283 * math/auto-libm-test-out: Regenerated.
14284 * sysdeps/i386/fpu/libm-test-ulps: Update.
14285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14286
14287 [BZ #16520]
14288 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
14289 (__tanh): Force underflow exception for arguments with small
14290 absolute value.
14291 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
14292 (__tanhf): Force underflow exception for arguments with small
14293 absolute value.
14294 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
14295 (__tanhl): Force underflow exception for arguments with small
14296 absolute value.
14297 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
14298 (__tanhl): Force underflow exception for arguments with small
14299 absolute value.
14300 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
14301 (__tanhl): Force underflow exception for arguments with small
14302 absolute value.
14303 * math/auto-libm-test-in: Add more tests of tanh.
14304 * math/auto-libm-test-out: Regenerated.
14305 * sysdeps/i386/fpu/libm-test-ulps: Update.
14306
14307 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14308
14309 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
14310 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
14311
14312 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14313
14314 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
14315 <cpuid.h>.
14316
14317 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14318
14319 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
14320 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
14321
14322 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14323
14324 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
14325 Remove $(objpfx)init-arch.o.
14326 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
14327 init-arch.
14328 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
14329 (INIT_ARCH_EXT): Defined as empty.
14330 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
14331 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
14332 __init_cpu_features call. Replace HAS_XXX with
14333 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14334 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
14335 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
14336 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
14337 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
14338 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14339 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
14340 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
14341 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14342 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
14343 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
14344 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14345 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
14346 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
14347 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14348 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
14349 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
14350 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14351 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14352 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
14353 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
14354 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14355 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
14356 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
14357 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14358 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
14359 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
14360 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14361 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
14362 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
14363 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14364 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
14365 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
14366 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14367 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
14368 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
14369
14370 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14371
14372 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14373 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14374 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14375 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14376 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14377 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14378 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14379 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14380 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14381 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14382 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14383 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
14384 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14385 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14386 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14387 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14388 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14389 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14390 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14391 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14392 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14393 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14394 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14395 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14396 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14397 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14398 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14399 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14400 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14401 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14402 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14403 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14404 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14405 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14406 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14407 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14408 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14409 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14410 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14411 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14412 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14413 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14414 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14415
14416 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14417
14418 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14419 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14420 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14421 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14422 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14423 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14424 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14425 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14426 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14427 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14428 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14429 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14430 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14431 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14432 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14433 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14434 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14435 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14436 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14437 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14438 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14439 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14440 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14441 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14442 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14443 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14444 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14445 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
14446 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14447 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14448 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14449 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14450 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14451 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14452 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14453 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14454 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14455 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14456 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14457 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14458 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14459 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14460 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14461
14462 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14463
14464 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14465 (dl_platform_init): Call init_cpu_features.
14466 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14467 * sysdeps/i386/i686/cacheinfo.c
14468 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14469 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14470 * sysdeps/i386/i686/multiarch/Versions: Removed.
14471 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14472 Removed.
14473 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14474 * sysdeps/unix/sysv/linux/x86/Makefile
14475 (libpthread-sysdep_routines): Remove init-arch.
14476 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14477 <sysdeps/x86_64/dl-procinfo.c> instead of
14478 sysdeps/generic/dl-procinfo.c>.
14479 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14480 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14481 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14482 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14483 [$(subdir) == elf] (tests-static): Add
14484 tst-get-cpu-features-static.
14485 * sysdeps/x86/Versions: New file.
14486 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14487 * sysdeps/x86/cpu-features.c: Likewise.
14488 * sysdeps/x86/cpu-features.h: Likewise.
14489 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14490 * sysdeps/x86/libc-start.c: Likewise.
14491 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14492 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14493 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14494 * sysdeps/x86_64/dl-procinfo.c: Likewise.
14495 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14496 Assume USE_MULTIARCH is defined and don't check it.
14497 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14498 (is_amd): Likewise.
14499 (max_cpuid): Likewise.
14500 (intel_check_word): Likewise.
14501 (__cache_sysconf): Don't call __init_cpu_features.
14502 (__x86_preferred_memory_instruction): Removed.
14503 (init_cacheinfo): Don't call __init_cpu_features. Replace
14504 __cpu_features with GLRO(dl_x86_cpu_features).
14505 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14506 (dl_platform_init): Call init_cpu_features.
14507 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14508 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14509 * sysdeps/x86_64/multiarch/Versions: Removed.
14510 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14511 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14512 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14513 Removed.
14514 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14515
14516 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14517
14518 [BZ #18820]
14519 * libio/Makefile (test-fmemopen-mem): New test.
14520 * libio/test-fmemopen.c (do_bz18820): New test.
14521 * libio/fmemopen.c (__fmemopen): Fix memory leak.
14522 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14523
14524 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14525
14526 [BZ #16734]
14527 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14528 (FREE_BUF): Delete.
14529 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14530 * libio/genops.c (_IO_setb): Use malloc and free directly.
14531 (_IO_default_doallocate, _IO_default_finish): Likewise.
14532 ( _IO_unbuffer_all): Likewise.
14533 ( libc_freeres_fn): Likewise.
14534 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14535 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14536 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14537 (_IO_wdefault_doallocate): Likewise.
14538
14539 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14540
14541 [BZ #18086]
14542 * sysdeps/posix/nice.c (nice): Restore old errno.
14543 * posix/tst-nice.c (do_test): Add test for BZ #18086.
14544
14545 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
14546
14547 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14548
14549 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14550
14551 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14552 __bcopy and add a weak_alias to bcopy.
14553 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14554 for static build.
14555
14556 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14557 cleanup macro usage.
14558 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14559 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14560 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14561 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14562 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14563 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14564 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14565 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14566 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14567 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14568 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14569 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14570 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14571 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14572 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14573 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14574 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14575 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14576 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14577
14578 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14579 libc_hidden_def.
14580 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14581
14582 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14583 (sysdep_routines): Add strstr-ppc64.
14584 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14585
14586 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
14587
14588 [BZ #18778]
14589 * elf/Makefile (tests): Add Add tst-nodelete2.
14590 (modules-names): Add tst-nodelete2mod.
14591 (tst-nodelete2mod.so-no-z-defs): New.
14592 ($(objpfx)tst-nodelete2): Likewise.
14593 ($(objpfx)tst-nodelete2.out): Likewise.
14594 (LDFLAGS-tst-nodelete2): Likewise.
14595 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14596 out of loop through all loaded libraries.
14597 * elf/tst-nodelete2.c: New file.
14598 * elf/tst-nodelete2mod.c: Likewise.
14599 * elf/tst-znodelete-zlib.cc: Delete.
14600
14601 2015-08-11 Andreas Schwab <schwab@suse.de>
14602
14603 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14604 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14605 (__openat64_nocancel): Likewise.
14606
14607 2015-08-11 Joseph Myers <joseph@codesourcery.com>
14608
14609 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14610 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14611 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14612 * math/auto-libm-test-out: Regenerated.
14613 * sysdeps/i386/fpu/libm-test-ulps: Update.
14614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14615
14616 2015-08-10 Joseph Myers <joseph@codesourcery.com>
14617
14618 [BZ #18790]
14619 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14620 threshold for returning +/- 1.
14621 * math/auto-libm-test-in: Add more tests of tanh.
14622 * math/auto-libm-test-out: Regenerated.
14623 * sysdeps/i386/fpu/libm-test-ulps: Update.
14624
14625 2015-08-10 Andreas Schwab <schwab@suse.de>
14626
14627 [BZ #18781]
14628 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14629 MORE_OFLAGS to oflag.
14630 * io/test-lfs.c (do_test): Test openat64.
14631
14632 2015-08-10 Joseph Myers <joseph@codesourcery.com>
14633
14634 [BZ #18789]
14635 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14636 smaller threshold for returning the argument.
14637 * math/auto-libm-test-in: Add more tests of sinh.
14638 * math/auto-libm-test-out: Regenerated.
14639 * sysdeps/i386/fpu/libm-test-ulps: Update.
14640
14641 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
14642
14643 [BZ #18674]
14644 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14645 break.
14646
14647 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
14648
14649 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14650 (generated): Don't add $(addprefix z.,$(tzfiles)).
14651
14652 2015-08-09 Mike Frysinger <vapier@gentoo.org>
14653
14654 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14655 * scripts/sysd-rules.awk: Likewise.
14656
14657 2015-08-09 Mike Frysinger <vapier@gentoo.org>
14658
14659 * iconvdata/tst-tables.sh: Change echo -n to printf.
14660 * nss/db-Makefile: Likewise.
14661 * posix/tst-getconf.sh: Likewise.
14662 * stdio-common/tst-unbputc.sh: Likewise.
14663
14664 2015-08-09 Mike Frysinger <vapier@gentoo.org>
14665
14666 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14667 MADV_*_PAGES defines behind this feature check.
14668
14669 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
14670
14671 [BZ #18480]
14672 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14673 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14674 Define.
14675 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14676 LOAD_REGS_5, LOAD_REGS_6): Update.
14677 (INTERNAL_SYSCALL): Update using new LOAD defines.
14678 (INTERNAL_SYSCALL_NCS): Likewise.
14679 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14680
14681 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
14682
14683 [BZ #16734]
14684 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14685
14686 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
14687
14688 [BZ #17905]
14689 * catgets/Makefile (tst-catgets-mem): New test.
14690 * catgets/catgets.c (catopen): Don't use unbounded alloca.
14691 * catgets/open_catalog.c (__open_catalog): Likewise.
14692 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14693
14694 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
14695
14696 [BZ #18787]
14697 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14698 clobber registers.
14699 (atomic_compare_and_exchange_val_acq): Use register asms to assign
14700 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
14701 Cast return to __typeof (oldval).
14702
14703 2015-08-08 Mike Frysinger <vapier@gentoo.org>
14704
14705 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14706 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
14707 and delete sys/syscall.h include.
14708
14709 2015-08-07 Joseph Myers <joseph@codesourcery.com>
14710
14711 [BZ #16517]
14712 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14713 (tan): Force underflow exception for arguments with small absolute
14714 value.
14715 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14716 (__kernel_tanf): Force underflow exception for arguments with
14717 small absolute value.
14718 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14719 (__kernel_tanl): Force underflow exception for arguments with
14720 small absolute value.
14721 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14722 (__kernel_tanl): Force underflow exception for arguments with
14723 small absolute value.
14724 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14725 (__kernel_tanl): Force underflow exception for arguments with
14726 small absolute value.
14727 * math/auto-libm-test-in: Add more tests of tan.
14728 * math/auto-libm-test-out: Regenerated.
14729
14730 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
14731
14732 Fix sysdeps/i386/fpu/s_scalbn.S build
14733
14734 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14735
14736 2015-08-07 Mike Frysinger <vapier@gentoo.org>
14737
14738 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14739
14740 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
14741
14742 Fix gcrt0.o compilation
14743
14744 When static-start-installed-name is different from
14745 start-installed-name, we must not use the shared objects.
14746
14747 * csu/Makefile
14748 (extra-objs): Add gmon-start.o when building shared library and
14749 $(static-start-installed-name) is different from
14750 $(start-installed-name).
14751 $(objpfx)g$(static-start-installed-name): When building shared
14752 library and $(static-start-installed-name) is different from
14753 $(static-start-installed-name), revert to non-shared rule,
14754 i.e. using $(objpfx)% and gmon-start.o.
14755
14756 2015-08-06 Joseph Myers <joseph@codesourcery.com>
14757
14758 [BZ #16519]
14759 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14760 (__ieee754_sinh): Force underflow exception for arguments with
14761 small absolute value.
14762 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14763 (__ieee754_sinhf): Force underflow exception for arguments with
14764 small absolute value.
14765 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14766 (__ieee754_sinhl): Force underflow exception for arguments with
14767 small absolute value.
14768 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14769 (__ieee754_sinhl): Force underflow exception for arguments with
14770 small absolute value.
14771 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14772 (__ieee754_sinhl): Force underflow exception for arguments with
14773 small absolute value.
14774 * math/auto-libm-test-in: Add more tests of sinh.
14775 * math/auto-libm-test-out: Regenerated.
14776 * sysdeps/i386/fpu/libm-test-ulps: Update.
14777
14778 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14779
14780 * libio/oldfileops.c: Include unistd.h.
14781
14782 2015-08-06 Mike Frysinger <vapier@gentoo.org>
14783
14784 * stdlib/isomac.c: Include ctype.h.
14785
14786 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
14787
14788 * dirent/tst-seekdir.c (main): Converted to ...
14789 (do_test): ... this.
14790 (TEST_FUNCTION): New macro.
14791 Include test-skeleton.c.
14792 * elf/tst-dlmodcount.c (main): Converted to ...
14793 (do_test): ... this.
14794 (TEST_FUNCTION): New macro.
14795 Include test-skeleton.c.
14796 * elf/tst-order-main.c (main): Converted to ...
14797 (do_test): ... this.
14798 (TEST_FUNCTION): New macro.
14799 Include test-skeleton.c.
14800 * elf/tst-pie2.c (main): Converted to ...
14801 (do_test): ... this.
14802 (TEST_FUNCTION): New macro.
14803 Include test-skeleton.c.
14804 * inet/tst-ether_aton.c (main): Converted to ...
14805 (do_test): ... this.
14806 (TEST_FUNCTION): New macro.
14807 Include test-skeleton.c.
14808 * misc/tst-mntent.c (main): Converted to ...
14809 (do_test): ... this.
14810 (TEST_FUNCTION): New macro.
14811 Include test-skeleton.c.
14812 * misc/tst-tsearch.c (main): Converted to ...
14813 (do_test): ... this.
14814 (TEST_FUNCTION): New macro.
14815 Include test-skeleton.c.
14816 * posix/tst-regexloc.c (main): Converted to ...
14817 (do_test): ... this.
14818 (TEST_FUNCTION): New macro.
14819 Include test-skeleton.c.
14820 * resolv/tst-aton.c (main): Converted to ...
14821 (do_test): ... this.
14822 (TEST_FUNCTION): New macro.
14823 Include test-skeleton.c.
14824 * stdio-common/test-fwrite.c (main): Converted to ...
14825 (do_test): ... this.
14826 (TEST_FUNCTION): New macro.
14827 Include test-skeleton.c.
14828 * stdio-common/tst-ferror.c (main): Converted to ...
14829 (do_test): ... this.
14830 (TEST_FUNCTION): New macro.
14831 Include test-skeleton.c.
14832 * stdio-common/tst-printf.c (main): Converted to ...
14833 (do_test): ... this.
14834 (TEST_FUNCTION): New macro.
14835 Include test-skeleton.c.
14836 * stdio-common/tst-printfsz.c (main): Converted to ...
14837 (do_test): ... this.
14838 (TEST_FUNCTION): New macro.
14839 Include test-skeleton.c.
14840 * stdlib/tst-strtod.c (main): Converted to ...
14841 (do_test): ... this.
14842 (TEST_FUNCTION): New macro.
14843 Include test-skeleton.c.
14844 * string/tst-strlen.c (main): Converted to ...
14845 (do_test): ... this.
14846 (TEST_FUNCTION): New macro.
14847 Include test-skeleton.c.
14848 * string/tst-svc.c (main): Converted to ...
14849 (do_test): ... this.
14850 (TEST_FUNCTION): New macro.
14851 Include test-skeleton.c.
14852 * time/tst-strptime.c (main): Converted to ...
14853 (do_test): ... this.
14854 (TEST_FUNCTION): New macro.
14855 Include test-skeleton.c.
14856 * timezone/tst-timezone.c (main): Converted to ...
14857 (do_test): ... this.
14858 (TEST_FUNCTION): New macro.
14859 Include test-skeleton.c.
14860
14861 2015-08-05 Zack Weinberg <zackw@panix.com>
14862
14863 * misc/regexp.h: Update comments.
14864
14865 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
14866
14867 [BZ #18635]
14868 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14869 before return label.
14870
14871 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14872
14873 [BZ #18661]
14874 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14875 when calling __errno_location.
14876 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14877 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14878
14879 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14880
14881 [BZ #18661]
14882 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14883 (__lll_timedwait_tid): Align stack to 16 bytes when calling
14884 __gettimeofday.
14885
14886 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14887
14888 [BZ #18661]
14889 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14890 (__start_context): Don't use pop to restore %rdi so that stack
14891 is aligned to 16 bytes when calling __setcontext.
14892
14893 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14894
14895 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14896 only for libc.
14897 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14898
14899 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14900
14901 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14902 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
14903 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14904
14905 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14906
14907 * string/memccpy.c (memccpy):
14908 Improve performance by using memchr/memcpy/__mempcpy.
14909
14910 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14911
14912 * string/strncpy.c (strncpy):
14913 Improve performance by using __strnlen/memcpy.
14914
14915 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14916
14917 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14918 Optimize to avoid an unnecessary FPCR read.
14919
14920 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14921
14922 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14923 Optimize to reduce FPCR/FPSR accesses.
14924
14925 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14926
14927 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14928 dead->data[category] != NULL.
14929
14930 2015-08-05 Joseph Myers <joseph@codesourcery.com>
14931
14932 [BZ #18647]
14933 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14934 and |x| close to 1, use absolute value of x when computing log.
14935 * math/auto-libm-test-in: Add more tests of pow.
14936 * math/auto-libm-test-out: Regenerated.
14937
14938 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14939
14940 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14941 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14942 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14943
14944 2015-08-05 Marko Myllynen <myllynen@redhat.com>
14945
14946 [BZ #18525]
14947 * locales/km_KH: Remove timezone definition.
14948 * locales/lo_LA: Likewise.
14949 * locales/my_MM: Likewise.
14950 * locales/nan_TW@latin: Likewise.
14951 * locales/th_TH: Likewise.
14952 * locales/uk_UA: Likewise.
14953
14954 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
14955
14956 [BZ #18265]
14957 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14958 (wcsncat): Likewise.
14959 (wcscmp): Likewise.
14960 (wcsncmp): Likewise.
14961
14962 2015-08-05 Mike Frysinger <vapier@gentoo.org>
14963
14964 * test-skeleton.c (usage): New function.
14965 (main): Call usage when opt is '?'.
14966
14967 2015-08-05 Mike Frysinger <vapier@gentoo.org>
14968
14969 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14970 before first use.
14971
14972 2015-08-05 Mike Frysinger <vapier@gentoo.org>
14973
14974 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14975 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
14976 in there too.
14977
14978 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
14979
14980 * version.h (RELEASE): Set to "development".
14981 (VERSION): Set to "2.22.90"
14982
14983 * version.h (RELEASE): Set to "stable".
14984 (VERSION): Set to "2.22"
14985 * include/features.h (__GLIBC_MINOR__): Set to 22.
14986
14987 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
14988
14989 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14990 Restructure macro to avoid "value computed is not used" warning.
14991 (atomic_compare_and_exchange_val_acq): Likewise.
14992
14993 2015-08-04 Andreas Schwab <schwab@suse.de>
14994
14995 [BZ #18635]
14996 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14997 ret.
14998 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14999
15000 2015-08-01 Carlos O'Donell <carlos@redhat.com>
15001
15002 * po/pl.po: Updated translation.
15003 * po/uk.po: Likewise.
15004 * po/fi.po: Likewise.
15005 * po/ko.po: Likewise.
15006 * po/ru.po: Likewise.
15007 * po/vi.po: Likewise.
15008
15009 2015-07-31 Zack Weinberg <zackw@panix.com>
15010
15011 [BZ #18681]
15012 * regexp.h: Add unconditional #warning stating that this header
15013 will be removed soon. Revise banner comment to match.
15014 (compile): Consistently use ERROR instead of RETURN to report
15015 errors (partial fix for bz#18681).
15016 * regexp.c: Don't include regexp.h. Remove some unnecessary
15017 declarations.
15018
15019 2015-07-31 Carlos O'Donell <carlos@redhat.com>
15020
15021 * po/libc.pot: Regenerated.
15022
15023 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
15024
15025 [BZ #18740]
15026 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
15027 float-vlen4-arch-ext-cflags): Removed.
15028 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
15029 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
15030
15031 2015-07-30 Mike Frysinger <vapier@gentoo.org>
15032
15033 [BZ #14113]
15034 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
15035 aligned to __aligned__.
15036 (pthread_cond_t, pthread_rwlock_t): Likewise.
15037
15038 2015-07-30 Torvald Riegel <triegel@redhat.com>
15039
15040 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
15041
15042 2015-07-30 Mike Frysinger <vapier@gentoo.org>
15043
15044 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
15045 (struct sigaction): Change sa_flags from a long to an int, and add
15046 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
15047
15048 2015-07-30 Mike Frysinger <vapier@gentoo.org>
15049
15050 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
15051 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15052 sysdeps/generic/sysdep.h include.
15053 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
15054 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
15055 sysdeps/hppa/sysdep.h.
15056 (ENTRY, PSEUDO): Undefine before defining.
15057
15058 2015-07-30 Mike Frysinger <vapier@gentoo.org>
15059
15060 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
15061 from scratch to use INTERNAL_SYSCALL.
15062
15063 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
15064
15065 [BZ #18078]
15066 * scripts/check-localplt.awk: Support alternate relocations.
15067 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
15068 sections.
15069 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
15070 malloc entries with + REL R_386_GLOB_DAT.
15071 * sysdeps/x86_64/localplt.data: New file.
15072
15073 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
15074
15075 [BZ #18731]
15076 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15077 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15078 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15079
15080 2015-07-27 Mike Frysinger <vapier@gentoo.org>
15081
15082 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
15083
15084 2015-07-27 Mike Frysinger <vapier@gentoo.org>
15085
15086 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15087 directly in terms of __sync_fetch_and_add and delete (int) cast.
15088
15089 2015-07-27 Mike Frysinger <vapier@gentoo.org>
15090
15091 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
15092 the -D_ASM_IA64_CURRENT_H flag.
15093
15094 2015-07-27 Mike Frysinger <vapier@gentoo.org>
15095
15096 [BZ #18641]
15097 * pwd/pwd.h (putpwent): Delete __nonnull markings.
15098
15099 2015-07-27 Andreas Schwab <schwab@suse.de>
15100
15101 * conform/conformtest.pl (checknamespace): Filter out string
15102 literals while tokenizing.
15103
15104 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
15105
15106 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15107 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
15108 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15109
15110 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
15111
15112 * nptl/tst-join7mod.c: Add #include <string.h>.
15113
15114 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
15115
15116 * sysdeps/nios2/libm-test-ulps: Update.
15117
15118 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
15119
15120 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
15121 Fix order of arguments to the rt_sigprocmask syscall.
15122 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
15123 Likewise.
15124
15125 2015-07-24 Roland McGrath <roland@hack.frob.com>
15126
15127 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15128
15129 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15130
15131 [BZ #18457]
15132 * nptl/Makefile (tests): New test case tst-join7.
15133 (modules-names): New test case module tst-join7mod.
15134 * nptl/tst-join7.c: New file.
15135 * nptl/tst-join7mod.c: New file.
15136 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15137 all translation units in libc.so, libpthread.so and rtld.
15138
15139 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15140
15141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15142
15143 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
15144
15145 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15146 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15147 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15148 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15149 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15150 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15151 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15152 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15153 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15154 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15155 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15156 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15157 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15158 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15159 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15160 implementation.
15161
15162 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15163
15164 [BZ #17711]
15165 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15166 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15167 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15168 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15169 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15170 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15171
15172 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15173
15174 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15175 instead of just saying load lock in the comments.
15176
15177 2015-07-23 Roland McGrath <roland@hack.frob.com>
15178
15179 * sysdeps/unix/Subdirs: Moved ...
15180 * sysdeps/posix/Subdirs: ... here.
15181 * login/pty.h (struct termios, struct winsize): Add forward decls.
15182 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15183 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15184 * sysdeps/arm/nacl/libc.abilist: Updated.
15185 * sysdeps/nacl/libutil.abilist: New file.
15186
15187 * bits/signum.h: Update comments to mention 1003.1-2013 too.
15188 (SIGWINCH): New macro.
15189
15190 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15191 * sysdeps/arm/nacl/libc.abilist: Add it.
15192
15193 2015-07-23 Mike Frysinger <vapier@gentoo.org>
15194
15195 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15196
15197 2015-07-23 Mike Frysinger <vapier@gentoo.org>
15198
15199 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15200 Swap __glibc_reserved0 and sa_flags order.
15201
15202 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15203
15204 [BZ #18657]
15205 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15206 are pending TLS destructor calls.
15207 * include/link.h (struct link_map): Add concurrency note for
15208 L_TLS_DTOR_COUNT.
15209 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15210 Don't touch the link map flag. Atomically increment
15211 l_tls_dtor_count.
15212 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15213 Avoid taking the load lock and don't touch the link map flag.
15214 * stdlib/tst-tls-atexit-nodelete.c: New test case.
15215 * stdlib/Makefile (tests): Use it.
15216 * stdlib/tst-tls-atexit.c (do_test): dlopen
15217 tst-tls-atexit-lib.so again before dlclose. Add conditionals
15218 to allow tst-tls-atexit-nodelete test case to use it.
15219
15220 2015-07-22 Mike Frysinger <vapier@gentoo.org>
15221
15222 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15223 to bits/types.h.
15224 (msgqnum_t): New typedef.
15225 (msglen_t): Likewise.
15226 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
15227 and msg_qbytes type to msglen_t.
15228
15229 2015-07-22 Mike Frysinger <vapier@gentoo.org>
15230
15231 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15232 pad0 to __glibc_reserved0.
15233 (struct stat64): Likewise.
15234
15235 2015-07-22 Mike Frysinger <vapier@gentoo.org>
15236
15237 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15238 Change sa_flags from a long to an int and add __glibc_reserved0 before
15239 it for padding.
15240
15241 2015-07-22 Mike Frysinger <vapier@gentoo.org>
15242
15243 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15244 anonymous by deleting "siginfo" name.
15245
15246 2015-07-21 Roland McGrath <roland@hack.frob.com>
15247
15248 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15249 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15250 rather than __nacl_irt_filename.
15251 * sysdeps/nacl/xstat.c (__xstat): Likewise.
15252
15253 * NEWS: New item for arm-nacl port.
15254 * sysdeps/arm/nacl/libc.abilist: New file.
15255 * sysdeps/nacl/ld.abilist: New file.
15256 * sysdeps/nacl/libBrokenLocale.abilist: New file.
15257 * sysdeps/nacl/libanl.abilist: New file.
15258 * sysdeps/nacl/libcrypt.abilist: New file.
15259 * sysdeps/nacl/libdl.abilist: New file.
15260 * sysdeps/nacl/libm.abilist: New file.
15261 * sysdeps/nacl/libpthread.abilist: New file.
15262 * sysdeps/nacl/libresolv.abilist: New file.
15263 * sysdeps/nacl/librt.abilist: New file.
15264
15265 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
15266
15267 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15268 __startcontext to initialize the new context.
15269 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15270 up CFI directive to forbid further backtracing.
15271
15272 2015-07-21 Marko Myllynen <myllynen@redhat.com>
15273
15274 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15275 reference.
15276 * charmaps/ANSI_X3.4-1968: Likewise.
15277 * charmaps/BS_4730: Likewise.
15278 * charmaps/BS_VIEWDATA: Likewise.
15279 * charmaps/CP1250: Likewise.
15280 * charmaps/CP1251: Likewise.
15281 * charmaps/CP1252: Likewise.
15282 * charmaps/CP1253: Likewise.
15283 * charmaps/CP1254: Likewise.
15284 * charmaps/CP1255: Likewise.
15285 * charmaps/CP1256: Likewise.
15286 * charmaps/CSN_369103: Likewise.
15287 * charmaps/EBCDIC-DK-NO: Likewise.
15288 * charmaps/GB_1988-80: Likewise.
15289 * charmaps/GREEK-CCITT: Likewise.
15290 * charmaps/GREEK7: Likewise.
15291 * charmaps/INIS-8: Likewise.
15292 * charmaps/ISIRI-3342: Likewise.
15293 * charmaps/ISO_2033-1983: Likewise.
15294 * charmaps/ISO_5427-EXT: Likewise.
15295 * locales/POSIX: Likewise.
15296 * locales/ar_SA: Likewise.
15297 * locales/be_BY: Likewise.
15298 * locales/be_BY@latin: Likewise.
15299 * locales/ca_ES: Likewise.
15300 * locales/cs_CZ: Likewise.
15301 * locales/da_DK: Likewise.
15302 * locales/de_BE: Likewise.
15303 * locales/de_CH: Likewise.
15304 * locales/de_LU: Likewise.
15305 * locales/en_AU: Likewise.
15306 * locales/en_BW: Likewise.
15307 * locales/en_CA: Likewise.
15308 * locales/en_DK: Likewise.
15309 * locales/en_GB: Likewise.
15310 * locales/en_IE: Likewise.
15311 * locales/en_NZ: Likewise.
15312 * locales/en_ZA: Likewise.
15313 * locales/en_ZW: Likewise.
15314 * locales/es_AR: Likewise.
15315 * locales/es_BO: Likewise.
15316 * locales/es_CL: Likewise.
15317 * locales/es_CO: Likewise.
15318 * locales/es_DO: Likewise.
15319 * locales/es_EC: Likewise.
15320 * locales/es_ES: Likewise.
15321 * locales/es_HN: Likewise.
15322 * locales/es_MX: Likewise.
15323 * locales/es_PA: Likewise.
15324 * locales/es_PE: Likewise.
15325 * locales/es_PY: Likewise.
15326 * locales/es_SV: Likewise.
15327 * locales/es_US: Likewise.
15328 * locales/es_UY: Likewise.
15329 * locales/es_VE: Likewise.
15330 * locales/et_EE: Likewise.
15331 * locales/fa_IR: Likewise.
15332 * locales/fo_FO: Likewise.
15333 * locales/fr_CA: Likewise.
15334 * locales/fr_CH: Likewise.
15335 * locales/gv_GB: Likewise.
15336 * locales/he_IL: Likewise.
15337 * locales/hr_HR: Likewise.
15338 * locales/id_ID: Likewise.
15339 * locales/is_IS: Likewise.
15340 * locales/it_CH: Likewise.
15341 * locales/iw_IL: Likewise.
15342 * locales/kl_GL: Likewise.
15343 * locales/ko_KR: Likewise.
15344 * locales/kw_GB: Likewise.
15345 * locales/lg_UG: Likewise.
15346 * locales/lt_LT: Likewise.
15347 * locales/lv_LV: Likewise.
15348 * locales/mi_NZ: Likewise.
15349 * locales/nhn_MX: Likewise.
15350 * locales/nl_BE: Likewise.
15351 * locales/pl_PL: Likewise.
15352 * locales/sk_SK: Likewise.
15353 * locales/sl_SI: Likewise.
15354 * locales/sv_FI: Likewise.
15355 * locales/tl_PH: Likewise.
15356 * locales/tr_TR: Likewise.
15357 * locales/vi_VN: Likewise.
15358
15359 2015-07-21 Khem Raj <raj.khem@gmail.com>
15360
15361 [BZ #17475]
15362 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
15363 of tu_IN and bh_IN.
15364
15365 2015-07-21 Mike Frysinger <vapier@gentoo.org>
15366
15367 [BZ #18694]
15368 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
15369 bits/wordsize.h.
15370 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
15371
15372 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15373
15374 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15375 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15376 (spawn_thread): New function.
15377 (load): Rename to reg_dtor_and_close. Move dlopen to...
15378 (do_test): ... here. Use IS_LOADED to test for its
15379 availability.
15380
15381 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
15382
15383 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15384
15385 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
15386
15387 [BZ #18696]
15388 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15389 si_addr_bnd.
15390 (si_lower): New.
15391 (si_upper): Likewise.
15392
15393 2015-07-16 David S. Miller <davem@davemloft.net>
15394
15395 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15396
15397 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15398
15399 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15400 buffer.
15401 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15402 fail output information.
15403
15404 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15405
15406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15407 and strstr-ppc64..
15408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15409 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15410 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15411 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15412 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15413
15414 2015-07-16 Mike Frysinger <vapier@gentoo.org>
15415
15416 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15417 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15418 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15419 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15420
15421 2015-07-16 Mike Frysinger <vapier@gentoo.org>
15422
15423 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15424 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15425 rtld_hidden_proto.
15426 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15427
15428 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15429
15430 * tst-nodelete-opened.c (do_test): Add comment to clarify how
15431 the test can fail.
15432
15433 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15434
15435 [BZ #18676]
15436 * elf/tst-nodelete-opened.c: New test case.
15437 * elf/tst-nodelete-opened-lib.c: New test case module.
15438 * elf/Makefile (tests, modules-names): Use them.
15439 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15440 early.
15441
15442 2015-07-15 David S. Miller <davem@davemloft.net>
15443
15444 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15445 futex-intenal.h
15446 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15447 * sysdeps/sparc/sparc64/Makefile: Likewise.
15448 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15449 Remove space from macro define.
15450 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15451
15452 2015-07-15 Pravin Satpute <psatpute@redhat.com>
15453
15454 [BZ #17475]
15455 * locale/iso-639.def: Update Bhili and Tulu language codes as
15456 per iso639-3.
15457
15458 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
15459
15460 * elf/tst-leaks1.c (main): Converted to ...
15461 (do_test): ... this.
15462 (TEST_FUNCTION): New macro.
15463 Include test-skeleton.c.
15464 * localedata/tst-langinfo.c (main): Converted to ...
15465 (do_test): ... this.
15466 (TEST_FUNCTION): New macro.
15467 Include test-skeleton.c.
15468 * math/test-fpucw.c (main): Converted to ...
15469 (do_test): ... this.
15470 (TEST_FUNCTION): New macro.
15471 Include test-skeleton.c.
15472 * math/test-tgmath.c (main): Converted to ...
15473 (do_test): ... this.
15474 (TEST_FUNCTION): New macro.
15475 Include test-skeleton.c.
15476 * math/test-tgmath2.c (main): Converted to ...
15477 (do_test): ... this.
15478 (TEST_FUNCTION): New macro.
15479 Include test-skeleton.c.
15480 * setjmp/tst-setjmp.c (main): Converted to ...
15481 (do_test): ... this.
15482 (TEST_FUNCTION): New macro.
15483 Include test-skeleton.c.
15484 * stdio-common/tst-sscanf.c (main): Converted to ...
15485 (do_test): ... this.
15486 (TEST_FUNCTION): New macro.
15487 Include test-skeleton.c.
15488 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15489 (do_test): ... this.
15490 (TEST_FUNCTION): New macro.
15491 Include test-skeleton.c.
15492
15493 * elf/tst-audit9.c (main): Converted to ...
15494 (do_test): ... this.
15495 (TEST_FUNCTION): New macro.
15496 Include test-skeleton.c.
15497
15498 2015-07-15 Mike Frysinger <vapier@gentoo.org>
15499
15500 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15501
15502 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15503
15504 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15505 New variable.
15506
15507 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15508
15509 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15510
15511 2015-07-14 Roland McGrath <roland@hack.frob.com>
15512
15513 * sysdeps/generic/dl-fileid.h: New file.
15514 * sysdeps/posix/dl-fileid.h: New file.
15515 * sysdeps/nacl/dl-fileid.h: New file.
15516 * include/link.h: Include <dl-fileid.h>.
15517 (struct link_map): Replace l_dev and l_ino with l_file_id.
15518 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15519 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
15520 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
15521
15522 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15523
15524 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15525
15526 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15527
15528 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15529 Add iff $CXX is set.
15530 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15531 Likewise.
15532 (tst-nodelete-zmodiff): Likewise.
15533 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15534
15535 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15536
15537 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15538
15539 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
15540
15541 * sysdeps/aarch64/fpu/math_private.h
15542 (define math_opt_barrier): Add AArch64 version.
15543 (math_force_eval): Likewise.
15544
15545 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
15546
15547 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15548
15549 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
15550
15551 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15552 %ld with %jd and cast to intmax_t.
15553 (do_test_length_zero): Likewise.
15554
15555 2015-07-10 Roland McGrath <roland@hack.frob.com>
15556
15557 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15558
15559 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
15560
15561 * sysdeps/tile/libm-test-ulps: Regenerated.
15562
15563 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15564 Comment out the whole function, not just its body.
15565
15566 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15567
15568 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15569 locks.
15570
15571 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15572
15573 2015-07-10 Torvald Riegel <triegel@redhat.com>
15574
15575 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15576 (sem_assume_only_signals_cause_futex_EINTR): Remove.
15577
15578 2015-07-10 Torvald Riegel <triegel@redhat.com>
15579
15580 * sysdeps/nptl/futex-internal.h: New file.
15581 * sysdeps/nacl/futex-internal.h: New file.
15582 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15583 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15584 error checking.
15585 (setxid_unmark_thread): Likewise.
15586 (__nptl_setxid): Likewise.
15587 (__wait_lookup_done): Likewise.
15588 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15589 * nptl/nptl-init.c (sighandler_setxid): Likewise.
15590 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15591 * nptl/pthread_once.c (clear_once_control): Likewise.
15592 (__pthread_once_slow): Likewise.
15593 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15594 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15595 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15596 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15597 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15598 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15599 Likewise.
15600 (__pthread_rwlock_rdlock): Likewise.
15601 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15602 Likewise.
15603 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15604 Likewise.
15605 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15606 Likewise.
15607 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15608 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15609 Likewise.
15610 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15611 __ASSUME_PRIVATE_FUTEX check.
15612 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15613 Check that shared futexes are supported.
15614 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15615 wrappers with error checking.
15616 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15617 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15618 * nptl/pthread_barrierattr_setpshared.c
15619 (pthread_barrierattr_setpshared): Check that shared futexes are
15620 supported.
15621 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15622 Likewise.
15623 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15624 Likewise.
15625 * nptl/sem_init.c (futex_private_if_supported): Remove.
15626 (__new_sem_init): Adapt and check that shared futexes are supported.
15627 * nptl/sem_open.c (sem_open): Likewise.
15628 * nptl/sem_post.c (futex_wake): Remove.
15629 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15630 (do_futex_wait): Use futex wrappers with error checking.
15631 * nptl/sem_wait.c: Include lowlevellock.h.
15632 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15633 Use futex_supports_pshared.
15634 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15635 Use futex wrappers with error checking.
15636 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15637 Likewise.
15638 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15639 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15640 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15641 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15642 (futex_wake): Likewise.
15643 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15644 (do_futex_wait): Use futex wrappers with error checking.
15645 (__new_sem_wait_slow): Update EINTR handling.
15646 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15647
15648 2015-07-09 Martin Sebor <msebor@redhat.com>
15649
15650 [BZ #18435]
15651 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15652 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15653 * nptl/Makefile (test-xfail-tst-once5): Define.
15654
15655 2015-07-09 Roland McGrath <roland@hack.frob.com>
15656
15657 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15658 * elf/dl-minimal.c: For readability, reorder some definitions and
15659 introduce more page breaks. Include <stdio.h>.
15660 (__libc_fatal): New function.
15661
15662 * include/unistd.h: Add rtld_hidden_proto for _exit.
15663 * posix/_exit.c: Add rtld_hidden_def.
15664 * sysdeps/mach/hurd/_exit.c: Likewise.
15665 * sysdeps/nacl/_exit.c: Likewise.
15666 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15667 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15668
15669 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
15670
15671 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15672 bndmov encoding with zero displacement.
15673
15674 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
15675 H.J. Lu <hongjiu.lu@intel.com>
15676
15677 [BZ #18134]
15678 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15679 * sysdeps/i386/configure: Regenerated.
15680 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15681 (_dl_runtime_profile): Save and restore Intel MPX return bound
15682 registers when calling _dl_call_pltexit. Add
15683 PRESERVE_BND_REGS_PREFIX before return.
15684 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15685 (LRV_BND1_OFFSET): Likewise.
15686 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15687 lrv_bnd1.
15688 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15689 typo in bndmov encoding.
15690 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15691 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
15692 branch instructions to preserve bounds.
15693
15694 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15695
15696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15697 [GLIBC_2.22]: Add fmemopen.
15698
15699 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
15700
15701 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15702 returns an error, also try to use host port from __mach_host_self for
15703 the __vm_wire call.
15704 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15705
15706 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
15707
15708 [BZ #18400]
15709 [BZ #18648]
15710 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15711 Fix pr_uid and pr_gid members.
15712 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15713 definition to elf_greg_t.
15714
15715 2015-07-08 Roland McGrath <roland@hack.frob.com>
15716
15717 [BZ #18383]
15718 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15719 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15720 * sysdeps/arm/configure: Regenerated.
15721 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15722 (test-xfail-tst-tlsalign-static): Variable removed.
15723
15724 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15725 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15726 rather than explicit 'ln -s'.
15727
15728 * resolv/rpc/netdb.h: New file.
15729 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15730
15731 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15732
15733 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15734 length buffers.
15735 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15736 test-skeleton.c.
15737
15738 [BZ #6544]
15739 [BZ #11216]
15740 [BZ #12836]
15741 [BZ #13151]
15742 [BZ #13152]
15743 [BZ #14292]
15744 * include/stdio.h (fmemopen): Remove hidden prototype.
15745 (__fmemopen): Add new hidden prototype.
15746 * libio/Makefile: Add oldfmemopen object.
15747 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15748 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15749 compliance.
15750 * libio/oldfmemopen.c: New file: old fmemopen implementation for
15751 symbol compatibility.
15752 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15753 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15754 fmemopen.
15755 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15756 on append and read mode.
15757 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15758 fmemopen.
15759 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15760 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15761 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15762 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15763 Likewise.
15764 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15765 [GLIBC_2.22]: Likewise.
15766 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15767 Likewise.
15768 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15769 Likewise.
15770 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15771 [GLIBC_2.22]: Likewise.
15772 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15773 [GLIBC_2.22]: Likewise.
15774 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15775 [GLIBC_2.22]: Likewise.
15776 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15777 [GLIBC_2.22]: Likewise.
15778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15779 [GLIBC_2.22]: Likewise.
15780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15781 [GLIBC_2.22]: Likewise.
15782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15783 [GLIBC_2.22]: Likewise.
15784 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15785 Likewise.
15786 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15787 Likewise.
15788 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15789 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15790 [GLIBC_2.22]: Likewise.
15791 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15792 [GLIBC_2.22]: Likewise.
15793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15794 [GLIBC_2.22]: Likewise.
15795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15796 [GLIBC_2.22]: Likewise.
15797 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15798 Likewise.
15799 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15800 Likewise.
15801 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15802 Likewise.
15803 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15804 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15805
15806 2015-07-08 Carlos O'Donell <carlos@redhat.com>
15807
15808 [BZ #18643]
15809 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15810 IPV6_PATHMTU, and IPV6_DONTFRAG.
15811
15812 2015-07-08 Feng Gao <gfree.wind@gmail.com>
15813
15814 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15815 and _IO_UNBUFFERED.
15816 * libio/oldfileops.c: Likewise.
15817 * libio/wfileops.c: Likewise.
15818
15819 2015-07-08 Mike Frysinger <vapier@gentoo.org>
15820
15821 * nscd/selinux.c: Delete selinux/flask.h include.
15822
15823 2015-07-08 Mike Frysinger <vapier@gentoo.org>
15824
15825 [BZ #18641]
15826 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15827 (putpwent): Likewise.
15828 (getpwnam): Likewise.
15829 (getpwent_r): Likewise.
15830 (getpwuid_r): Likewise.
15831 (getpwnam_r): Likewise.
15832 (fgetpwent_r): Likewise.
15833
15834 2015-07-08 Carlos O'Donell <carlos@redhat.com>
15835
15836 [BZ #18557]
15837 * inet/rcmd.c (__validuser2_sa): Check user first to
15838 short-circuit host check.
15839
15840 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
15841 Mikhail Ilin <m.ilin@samsung.com>
15842
15843 [BZ #17833]
15844 * elf/Makefile (tests): Add tst-nodelete.
15845 (modules-names): Add tst-nodelete-uniquemod.
15846 (tst-nodelete-uniquemod.so-no-z-defs): New.
15847 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15848 (tst-nodelete-zmod.so-no-z-defs): Likewise.
15849 ($(objpfx)tst-nodelete): Likewise.
15850 ($(objpfx)tst-nodelete.out): Likewise.
15851 (LDFLAGS-tst-nodelete): Likewise.
15852 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15853 * elf/dl-close.c (_dl_close_worker): Add a parameter to
15854 implement forced object deletion.
15855 (_dl_close): Pass false to _dl_close_worker.
15856 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15857 * elf/tst-nodelete.cc: New file.
15858 * elf/tst-nodeletelib.cc: Likewise.
15859 * elf/tst-znodeletelib.cc: Likewise.
15860 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15861
15862 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15863
15864 [BZ #18508]
15865 * stdlib/Makefile ($(objpfx)tst-makecontext3):
15866 Depend on $(libdl).
15867 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15868 is not called infinitely times.
15869 (backtrace_helper): New function.
15870 (trace_arg): New struct.
15871 (st1): Enlarge stack size.
15872 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15873 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15874 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15875 Likewise.
15876
15877 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15878
15879 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15880
15881 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15882
15883 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15884 Include sys/types.h instead of bits/types.h.
15885 Remove inclusion of bits/wordsize.h.
15886
15887 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
15888
15889 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15890 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15891 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15892 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15893 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15894 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15895
15896 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
15897
15898 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15899 link-defines.sym.
15900 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15901 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15902 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15903 and LR_SIZE.
15904 * sysdeps/i386/link-defines.sym: New file.
15905
15906 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
15907
15908 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15909 (modules-names): Add tst-auditmod3a tst-auditmod3b.
15910 ($(objpfx)tst-audit3): New rule.
15911 ($(objpfx)tst-audit3.out): Likewise.
15912 * sysdeps/i386/tst-audit3.c: New file.
15913 * sysdeps/i386/tst-audit3.h: Likewise.
15914 * sysdeps/i386/tst-auditmod3a.c: Likewise.
15915 * sysdeps/i386/tst-auditmod3b.c: Likewise.
15916
15917 2015-07-07 Torvald Riegel <triegel@redhat.com>
15918
15919 [BZ #18633]
15920 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15921 pointer in C code.
15922 (__strcat_c): Likewise.
15923 (__strcat_g): Likewise.
15924
15925 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
15926
15927 [BZ #18592]
15928 * misc/sbrk.c: Set errno to ENOMEM on overflow.
15929
15930 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
15931
15932 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15933 New function. (__ieee754_sqrtf): New function.
15934 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15935 New function.
15936 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15937 New function.
15938
15939 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
15940
15941 * sysdeps/ieee754/support.c: Remove unused file.
15942
15943 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15944
15945 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15946 registers instead of d ones so the layout is kernel abi compatible.
15947 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15948 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15949 Likewise.
15950
15951 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15952
15953 * sysdeps/aarch64/libm-test-ulps: Regenerated.
15954
15955 2015-07-01 Joseph Myers <joseph@codesourcery.com>
15956
15957 [BZ #18619]
15958 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15959 and return argument in case of subnormal argument.
15960
15961 2015-07-01 Martin Sebor <msebor@redhat.com>
15962
15963 [BZ #18435]
15964 * nptl/Makefile: Add tst-once5.cc.
15965 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15966 Remove macro redefinitions.
15967 * nptl/tst-once5.cc: New test.
15968
15969 2015-07-01 Joseph Myers <joseph@codesourcery.com>
15970
15971 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15972
15973 * sysdeps/arm/libm-test-ulps: Regenerated.
15974
15975 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15976 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15977
15978 2015-06-30 Torvald Riegel <triegel@redhat.com>
15979
15980 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15981 lll_lock_wait_private and lll_futex_wake probes.
15982
15983 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15984 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15985 Likewise.
15986 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15987 atomic_spin_nop.
15988 * sysdeps/x86_64/bits/atomic.h: Likewise.
15989 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15990 to atomic_spin_nop and move ...
15991 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15992 ... here and ...
15993 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15994 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15995 atomic_spin_nop instead of BUSY_WAIT_NOP.
15996 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15997 Likewise.
15998 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15999 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16000 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16001 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16002 instead of atomic_delay.
16003
16004 2015-06-29 Joseph Myers <joseph@codesourcery.com>
16005
16006 [BZ #18613]
16007 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16008 X_ADJ not X when adjusting exponent.
16009 (__ieee754_gamma_r): Do intermediate computations in
16010 round-to-nearest then adjust overflowing and underflowing results
16011 as needed.
16012 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
16013 of X_ADJ not X when adjusting exponent.
16014 (__ieee754_gammaf_r): Do intermediate computations in
16015 round-to-nearest then adjust overflowing and underflowing results
16016 as needed.
16017 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
16018 log of X_ADJ not X when adjusting exponent.
16019 (__ieee754_gammal_r): Do intermediate computations in
16020 round-to-nearest then adjust overflowing and underflowing results
16021 as needed. Use 1.0L not 1.0f as numerator of division.
16022 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
16023 log of X_ADJ not X when adjusting exponent.
16024 (__ieee754_gammal_r): Do intermediate computations in
16025 round-to-nearest then adjust overflowing and underflowing results
16026 as needed. Use 1.0L not 1.0f as numerator of division.
16027 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
16028 of X_ADJ not X when adjusting exponent.
16029 (__ieee754_gammal_r): Do intermediate computations in
16030 round-to-nearest then adjust overflowing and underflowing results
16031 as needed. Use 1.0L not 1.0f as numerator of division.
16032 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
16033 to auto-libm-test-in.
16034 (tgamma_test): Use ALL_RM_TEST.
16035 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
16036 tests of tgamma with spurious-overflow.
16037 * math/auto-libm-test-out: Regenerated.
16038 * math/gen-libm-have-vector-test.sh: Do not check for START.
16039 * sysdeps/i386/fpu/libm-test-ulps: Update.
16040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16041
16042 [BZ #18612]
16043 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
16044 arguments, just return 0.5 times the argument, with underflow
16045 forced as needed.
16046 * math/auto-libm-test-in: Add more tests of j1.
16047 * math/auto-libm-test-out: Regenerated.
16048
16049 [BZ #16559]
16050 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
16051 (__ieee754_j1): Force underflow exception for small results.
16052 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16053 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
16054 (__ieee754_j1f): Force underflow exception for small results.
16055 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16056 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16057 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16058 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
16059 (__ieee754_j1l): Force underflow exception for small results.
16060 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16061 * math/auto-libm-test-in: Add more tests of j1 and jn.
16062 * math/auto-libm-test-out: Regenerated.
16063
16064 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
16065 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
16066 (PF_MPLS): Likewise.
16067 (AF_IB): Likewise.
16068 (AF_MPLS): Likewise.
16069 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
16070 value and macro.
16071 (MS_RMT_MASK): Include MS_LAZYTIME.
16072
16073 2015-06-26 Mel Gorman <mgorman@suse.de>
16074
16075 [BZ #18502]
16076 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16077 already minimal.
16078
16079 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
16080
16081 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
16082 (DT_MIPS_NUM): Update.
16083 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
16084 DT_MIPS_RLD_MAP_REL.
16085
16086 2015-06-25 Joseph Myers <joseph@codesourcery.com>
16087
16088 [BZ #16559]
16089 [BZ #18602]
16090 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
16091 round-to-nearest internally then recompute results that
16092 underflowed to zero in the original rounding mode.
16093 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16094 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16095 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16096 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16097 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
16098 * sysdeps/i386/fpu/libm-test-ulps: Update.
16099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16100
16101 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
16102
16103 * NEWS: Fixed description of link with vector math library.
16104
16105 2015-06-25 Andreas Schwab <schwab@suse.de>
16106
16107 [BZ #18549]
16108 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
16109 * libio/test-fmemopen.c (do_test): Add test for it.
16110
16111 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
16112
16113 [BZ #17841]
16114 * Makeconfig (no-pie-ldflag): New.
16115 (+link): Set to $(+link-pie) if default to PIE.
16116 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
16117 * config.make.in (build-pie-default): New.
16118 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
16119 is default. AC_SUBST.
16120 * configure: Regenerated.
16121 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
16122
16123 2015-06-24 Roland McGrath <roland@hack.frob.com>
16124
16125 * nptl/descr.h (struct pthread): Change type of field setxid_futex
16126 to 'unsigned int'.
16127
16128 * resolv/gai_misc.h (struct waitlist): Change type of field
16129 counterp to 'volatile unsigned int *'.
16130 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16131 FUTEXADDR and OLDVAL.
16132 * resolv/getaddrinfo_a.c (getaddrinfo_a):
16133 Give local variable TOTAL type 'volatile unsigned int'.
16134 (struct async_waitlist): Change type of field counter to 'unsigned int'.
16135 * resolv/gai_suspend.c (gai_suspend):
16136 Give local variable CNTR type 'unsigned int'.
16137
16138 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16139 counterp to 'volatile unsigned int *'.
16140 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16141 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16142 (aio_suspend): Give local variable CNTR type 'unsigned int'.
16143 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16144 Give local variable TOTAL type 'volatile unsigned int'.
16145 (struct async_waitlist): Change type of field counter to 'unsigned int'.
16146
16147 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
16148
16149 [BZ #18383]
16150 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16151 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
16152 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16153 comment for i386/x86-64.
16154 (test-xfail-tst-tlsalign-extern-static): Removed.
16155
16156 2015-06-24 Joseph Myers <joseph@codesourcery.com>
16157
16158 * math/test-double.h: New file.
16159 * math/test-float.h: Likewise.
16160 * math/test-ldouble.h: Likewise.
16161 * math/test-math-inline.h: Likewise.
16162 * math/test-math-no-inline.h: Likewise.
16163 * math/test-math-scalar.h: Likewise.
16164 * math/test-math-vector.h: Likewise.
16165 * math/test-vec-loop.h: Remove file. Contents moved into
16166 test-math-vector.h.
16167 * math/libm-test.inc (MATHCONST): Do not document macro.
16168 * math/test-double.c: Include test-double.h, test-math-no-inline.h
16169 and test-math-scalar.h.
16170 (FUNC): Remove macro.
16171 (FUNC_TEST): Likewise.
16172 (FLOAT): Likewise.
16173 (MATHCONST): Likewise.
16174 (PRINTF_EXPR): Likewise.
16175 (PRINTF_XEXPR): Likewise.
16176 (PRINTF_NEXPR): Likewise.
16177 (TEST_DOUBLE): Likewise.
16178 (TEST_MATHVEC): Likewise.
16179 (__NO_MATH_INLINES): Likewise.
16180 * math/test-float.c: Include test-float.h, test-math-no-inline.h
16181 and test-math-scalar.h.
16182 (FUNC): Remove macro.
16183 (FUNC_TEST): Likewise.
16184 (FLOAT): Likewise.
16185 (MATHCONST): Likewise.
16186 (PRINTF_EXPR): Likewise.
16187 (PRINTF_XEXPR): Likewise.
16188 (PRINTF_NEXPR): Likewise.
16189 (TEST_FLOAT): Likewise.
16190 (TEST_MATHVEC): Likewise.
16191 (__NO_MATH_INLINES): Likewise.
16192 * math/test-idouble.c: Include test-double.h, test-math-inline.h
16193 and test-math-scalar.h.
16194 (FUNC): Remove macro.
16195 (FUNC_TEST): Likewise.
16196 (FLOAT): Likewise.
16197 (MATHCONST): Likewise.
16198 (PRINTF_EXPR): Likewise.
16199 (PRINTF_XEXPR): Likewise.
16200 (PRINTF_NEXPR): Likewise.
16201 (TEST_DOUBLE): Likewise.
16202 (TEST_MATHVEC): Likewise.
16203 (TEST_INLINE): Likewise.
16204 (__NO_MATH_INLINES): Likewise.
16205 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16206 test-math-scalar.h.
16207 (FUNC): Remove macro.
16208 (FUNC_TEST): Likewise.
16209 (FLOAT): Likewise.
16210 (MATHCONST): Likewise.
16211 (PRINTF_EXPR): Likewise.
16212 (PRINTF_XEXPR): Likewise.
16213 (PRINTF_NEXPR): Likewise.
16214 (TEST_FLOAT): Likewise.
16215 (TEST_MATHVEC): Likewise.
16216 (TEST_INLINE): Likewise.
16217 (__NO_MATH_INLINES): Likewise.
16218 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16219 and test-math-scalar.h.
16220 (FUNC): Remove macro.
16221 (FUNC_TEST): Likewise.
16222 (FLOAT): Likewise.
16223 (MATHCONST): Likewise.
16224 (PRINTF_EXPR): Likewise.
16225 (PRINTF_XEXPR): Likewise.
16226 (PRINTF_NEXPR): Likewise.
16227 (TEST_LDOUBLE): Likewise.
16228 (TEST_MATHVEC): Likewise.
16229 (TEST_INLINE): Likewise.
16230 (__NO_MATH_INLINES): Likewise.
16231 * math/test-ldouble.c: Include test-ldouble.h,
16232 test-math-no-inline.h and test-math-scalar.h.
16233 (FUNC): Remove macro.
16234 (FUNC_TEST): Likewise.
16235 (FLOAT): Likewise.
16236 (MATHCONST): Likewise.
16237 (PRINTF_EXPR): Likewise.
16238 (PRINTF_XEXPR): Likewise.
16239 (PRINTF_NEXPR): Likewise.
16240 (TEST_LDOUBLE): Likewise.
16241 (TEST_MATHVEC): Likewise.
16242 (__NO_MATH_INLINES): Likewise.
16243 * math/test-double-vlen2.h: Include test-double.h,
16244 test-math-no-inline.h and test-math-vector.h.
16245 (FLOAT): Remove macro.
16246 (FUNC): Likewise.
16247 (MATHCONST): Likewise.
16248 (PRINTF_EXPR): Likewise.
16249 (PRINTF_XEXPR): Likewise.
16250 (PRINTF_NEXPR): Likewise.
16251 (TEST_DOUBLE): Likewise.
16252 (TEST_MATHVEC): Likewise.
16253 (__NO_MATH_INLINES): Likewise.
16254 (CNCT): Likewise.
16255 (CONCAT): Likewise.
16256 (WRAPPER_NAME): Likewise.
16257 (WRAPPER_DECL): Likewise.
16258 (WRAPPER_DECL_ff): Likewise.
16259 (WRAPPER_DECL_fFF): Likewise.
16260 (VECTOR_WRAPPER): Likewise.
16261 (VECTOR_WRAPPER_ff): Likewise.
16262 (VECTOR_WRAPPER_fFF): Likewise.
16263 (VEC_LEN): New macro.
16264 * math/test-double-vlen4.h: Include test-double.h,
16265 test-math-no-inline.h and test-math-vector.h.
16266 (FLOAT): Remove macro.
16267 (FUNC): Likewise.
16268 (MATHCONST): Likewise.
16269 (PRINTF_EXPR): Likewise.
16270 (PRINTF_XEXPR): Likewise.
16271 (PRINTF_NEXPR): Likewise.
16272 (TEST_DOUBLE): Likewise.
16273 (TEST_MATHVEC): Likewise.
16274 (__NO_MATH_INLINES): Likewise.
16275 (CNCT): Likewise.
16276 (CONCAT): Likewise.
16277 (WRAPPER_NAME): Likewise.
16278 (WRAPPER_DECL): Likewise.
16279 (WRAPPER_DECL_ff): Likewise.
16280 (WRAPPER_DECL_fFF): Likewise.
16281 (VECTOR_WRAPPER): Likewise.
16282 (VECTOR_WRAPPER_ff): Likewise.
16283 (VECTOR_WRAPPER_fFF): Likewise.
16284 (VEC_LEN): New macro.
16285 * math/test-double-vlen8.h: Include test-double.h,
16286 test-math-no-inline.h and test-math-vector.h.
16287 (FLOAT): Remove macro.
16288 (FUNC): Likewise.
16289 (MATHCONST): Likewise.
16290 (PRINTF_EXPR): Likewise.
16291 (PRINTF_XEXPR): Likewise.
16292 (PRINTF_NEXPR): Likewise.
16293 (TEST_DOUBLE): Likewise.
16294 (TEST_MATHVEC): Likewise.
16295 (__NO_MATH_INLINES): Likewise.
16296 (CNCT): Likewise.
16297 (CONCAT): Likewise.
16298 (WRAPPER_NAME): Likewise.
16299 (WRAPPER_DECL): Likewise.
16300 (WRAPPER_DECL_ff): Likewise.
16301 (WRAPPER_DECL_fFF): Likewise.
16302 (VECTOR_WRAPPER): Likewise.
16303 (VECTOR_WRAPPER_ff): Likewise.
16304 (VECTOR_WRAPPER_fFF): Likewise.
16305 (VEC_LEN): New macro.
16306 * math/test-float-vlen4.h: Include test-float.h,
16307 test-math-no-inline.h and test-math-vector.h.
16308 (FLOAT): Remove macro.
16309 (FUNC): Likewise.
16310 (MATHCONST): Likewise.
16311 (PRINTF_EXPR): Likewise.
16312 (PRINTF_XEXPR): Likewise.
16313 (PRINTF_NEXPR): Likewise.
16314 (TEST_FLOAT): Likewise.
16315 (TEST_MATHVEC): Likewise.
16316 (__NO_MATH_INLINES): Likewise.
16317 (CNCT): Likewise.
16318 (CONCAT): Likewise.
16319 (WRAPPER_NAME): Likewise.
16320 (WRAPPER_DECL): Likewise.
16321 (WRAPPER_DECL_ff): Likewise.
16322 (WRAPPER_DECL_fFF): Likewise.
16323 (VECTOR_WRAPPER): Likewise.
16324 (VECTOR_WRAPPER_ff): Likewise.
16325 (VECTOR_WRAPPER_fFF): Likewise.
16326 (VEC_LEN): New macro.
16327 * math/test-float-vlen8.h: Include test-float.h,
16328 test-math-no-inline.h and test-math-vector.h.
16329 (FLOAT): Remove macro.
16330 (FUNC): Likewise.
16331 (MATHCONST): Likewise.
16332 (PRINTF_EXPR): Likewise.
16333 (PRINTF_XEXPR): Likewise.
16334 (PRINTF_NEXPR): Likewise.
16335 (TEST_FLOAT): Likewise.
16336 (TEST_MATHVEC): Likewise.
16337 (__NO_MATH_INLINES): Likewise.
16338 (CNCT): Likewise.
16339 (CONCAT): Likewise.
16340 (WRAPPER_NAME): Likewise.
16341 (WRAPPER_DECL): Likewise.
16342 (WRAPPER_DECL_ff): Likewise.
16343 (WRAPPER_DECL_fFF): Likewise.
16344 (VECTOR_WRAPPER): Likewise.
16345 (VECTOR_WRAPPER_ff): Likewise.
16346 (VECTOR_WRAPPER_fFF): Likewise.
16347 (VEC_LEN): New macro.
16348 * math/test-float-vlen16.h: Include test-float.h,
16349 test-math-no-inline.h and test-math-vector.h.
16350 (FLOAT): Remove macro.
16351 (FUNC): Likewise.
16352 (MATHCONST): Likewise.
16353 (PRINTF_EXPR): Likewise.
16354 (PRINTF_XEXPR): Likewise.
16355 (PRINTF_NEXPR): Likewise.
16356 (TEST_FLOAT): Likewise.
16357 (TEST_MATHVEC): Likewise.
16358 (__NO_MATH_INLINES): Likewise.
16359 (CNCT): Likewise.
16360 (CONCAT): Likewise.
16361 (WRAPPER_NAME): Likewise.
16362 (WRAPPER_DECL): Likewise.
16363 (WRAPPER_DECL_ff): Likewise.
16364 (WRAPPER_DECL_fFF): Likewise.
16365 (VECTOR_WRAPPER): Likewise.
16366 (VECTOR_WRAPPER_ff): Likewise.
16367 (VECTOR_WRAPPER_fFF): Likewise.
16368 (VEC_LEN): New macro.
16369 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
16370 test-vec-loop.h.
16371 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16372 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16373 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16374 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16375 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16376 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16377 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16378
16379 2015-06-24 Roland McGrath <roland@hack.frob.com>
16380
16381 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16382 (__getlogin_r): ... this.
16383
16384 2015-06-24 Joseph Myers <joseph@codesourcery.com>
16385
16386 [BZ #18594]
16387 * math/s_ccosh.c (__ccosh): Compare with least normal value
16388 instead of comparing class with FP_SUBNORMAL.
16389 * math/s_ccoshf.c (__ccoshf): Likewise.
16390 * math/s_ccoshl.c (__ccoshl): Likewise.
16391 * math/s_cexp.c (__cexp): Likewise.
16392 * math/s_cexpf.c (__cexpf): Likewise.
16393 * math/s_cexpl.c (__cexpl): Likewise.
16394 * math/s_csin.c (__csin): Likewise.
16395 * math/s_csinf.c (__csinf): Likewise.
16396 * math/s_csinh.c (__csinh): Likewise.
16397 * math/s_csinhf.c (__csinhf): Likewise.
16398 * math/s_csinhl.c (__csinhl): Likewise.
16399 * math/s_csinl.c (__csinl): Likewise.
16400 * math/s_ctan.c (__ctan): Likewise.
16401 * math/s_ctanf.c (__ctanf): Likewise.
16402 * math/s_ctanh.c (__ctanh): Likewise.
16403 * math/s_ctanhf.c (__ctanhf): Likewise.
16404 * math/s_ctanhl.c (__ctanhl): Likewise.
16405 * math/s_ctanl.c (__ctanl): Likewise.
16406 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16407 csin, csinh, ctan and ctanh.
16408 * math/auto-libm-test-out: Regenerated.
16409 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16410 * sysdeps/i386/fpu/libm-test-ulps: Update.
16411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16412
16413 2015-06-24 Roland McGrath <roland@hack.frob.com>
16414
16415 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16416 return value is wrong, print the expected value too.
16417
16418 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
16419
16420 [BZ #18585]
16421 * elf/readlib.c (is_gdb_python_file): New.
16422 (process_file): Don't issue errors on filenames with -gdb.py
16423 suffix.
16424
16425 2015-06-24 Joseph Myers <joseph@codesourcery.com>
16426
16427 * math/auto-libm-test-in: Add more tests of csin and csinh.
16428 * math/auto-libm-test-out: Regenerated.
16429 * math/libm-test.inc (csin_test_data): Remove tests moved to
16430 auto-libm-test-in.
16431 (csinh_test_data): Likewise.
16432
16433 [BZ #18593]
16434 * math/s_csin.c (__csin): Negate before rather than after possibly
16435 overflowing multiplication.
16436 * math/s_csinf.c (__csinf): Likewise.
16437 * math/s_csinh.c (__csinh): Likewise.
16438 * math/s_csinhf.c (__csinhf): Likewise.
16439 * math/s_csinhl.c (__csinhl): Likewise.
16440 * math/s_csinl.c (__csinl): Likewise.
16441 * math/auto-libm-test-in: Add some tests of csin and csinh.
16442 * math/auto-libm-test-out: Regenerated.
16443 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16444 (csinh_test_data): Likewise.
16445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16446
16447 [BZ #18586]
16448 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16449 underflow exception for small results.
16450
16451 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
16452
16453 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16454 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16455 variable and included header.
16456 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16457 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16458 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16459 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16460 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16461 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16462 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16463 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16464 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16465 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16466 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16467 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16468 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16469 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16470 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16471 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16472
16473 2015-06-23 Joseph Myers <joseph@codesourcery.com>
16474
16475 [BZ #16526]
16476 [BZ #16538]
16477 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16478 (__sin): Force underflow exception for arguments with small
16479 absolute value.
16480 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16481 (__kernel_sinf): Force underflow exception for arguments with
16482 small absolute value.
16483 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16484 (__kernel_sincosl): Force underflow exception for arguments with
16485 small absolute value.
16486 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16487 (__kernel_sinl): Force underflow exception for arguments with
16488 small absolute value.
16489 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16490 (__kernel_sincosl): Force underflow exception for arguments with
16491 small absolute value.
16492 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16493 (__kernel_sinl): Force underflow exception for arguments with
16494 small absolute value.
16495 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16496 (__kernel_sinl): Force underflow exception for arguments with
16497 small absolute value.
16498 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16499 (__kernel_sinf): Force underflow exception for arguments with
16500 small absolute value.
16501 * math/auto-libm-test-in: Add more tests of sin and sincos.
16502 * math/auto-libm-test-out: Regenerated.
16503
16504 [BZ #18245]
16505 [BZ #18583]
16506 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16507 (__kernel_standard_l): Use feholdexcept and fesetenv around
16508 conversion to double instead of special-casing overflow and
16509 underflow.
16510 * math/libm-test.inc (fmod_test_data): Add more tests.
16511 (remainder_test_data): Likewise.
16512 (sqrt_test_data): Likewise.
16513
16514 2015-06-23 Torvald Riegel <triegel@redhat.com>
16515
16516 [BZ #17403]
16517 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16518 atomic_read_barrier, atomic_write_barrier): Define.
16519 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16520 atomic_read_barrier, atomic_write_barrier): Define.
16521
16522 2015-06-23 Joseph Myers <joseph@codesourcery.com>
16523
16524 * math/Makefile [$(PERL) != no]
16525 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16526 dependency on libm-test.stmp below the inclusion of Rules.
16527
16528 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
16529
16530 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16531 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16532 and included header.
16533 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16534 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16535 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16536 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16537 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16538 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16539 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16540 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16541 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16542 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16543 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16544 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16545 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16546 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16547 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16548 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16549 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16550 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16551 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16552
16553 2015-06-23 Joseph Myers <joseph@codesourcery.com>
16554
16555 [BZ #18371]
16556 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16557 intermediate but not final result might underflow.
16558 * math/s_csqrtf.c (__csqrtf): Likewise.
16559 * math/s_csqrtl.c (__csqrtl): Likewise.
16560 * math/auto-libm-test-in: Add more tests of csqrt.
16561 * math/auto-libm-test-out: Regenerated.
16562 * sysdeps/i386/fpu/libm-test-ulps: Update.
16563
16564 [BZ #18219]
16565 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16566 threshold on absolute value of exponent for which scaling is used.
16567 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16568 * math/auto-libm-test-in: Add more tests of exp2.
16569 * math/auto-libm-test-out: Regenerated.
16570
16571 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
16572
16573 [BZ #17977]
16574 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16575 when initializing interface list, based on the bug analysis
16576 and the patch proposed by Eric Newton.
16577 * resolv/tst-res_hconf_reorder.c: New test.
16578 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16579 tst-res_hconf_reorder.
16580 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16581 and $(shared-thread-library).
16582 (tst-res_hconf_reorder-ENV): New variable.
16583
16584 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16585 in comment.
16586
16587 2015-06-22 Joseph Myers <joseph@codesourcery.com>
16588
16589 [BZ #16353]
16590 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16591 (__expm1): Force underflow exception for arguments with small
16592 absolute value.
16593 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16594 (__expm1f): Force underflow exception for arguments with small
16595 absolute value.
16596 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16597 (__expm1): Force underflow exception for arguments with small
16598 absolute value.
16599 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16600 (__expm1f): Force underflow exception for arguments with small
16601 absolute value.
16602 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16603 Check for small arguments before calling __expm1.
16604 * math/auto-libm-test-in: Do not mark underflow exceptions as
16605 possibly missing for bug 16353.
16606 * math/auto-libm-test-out: Regenerated.
16607
16608 2015-06-22 Andreas Schwab <schwab@suse.de>
16609
16610 [BZ #18513]
16611 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16612 PTR queries.
16613
16614 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
16615
16616 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16617
16618 * string/strcoll_l.c: Remove unused struct element idxnow.
16619
16620 2015-06-21 Joseph Myers <joseph@codesourcery.com>
16621
16622 [BZ #18569]
16623 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16624 underflow and return argument in case of subnormal argument.
16625 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16626 Likewise.
16627 * math/auto-libm-test-in: Add more tests of expm1.
16628 * math/auto-libm-test-out: Regenerated.
16629
16630 [BZ #16361]
16631 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16632 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16633 tiny results.
16634 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16635 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16636 tiny results.
16637 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
16638 mark underflow exceptions as possibly missing for bug 16361.
16639 * math/auto-libm-test-out: Regenerated.
16640
16641 2015-06-19 Joseph Myers <joseph@codesourcery.com>
16642
16643 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16644 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16645 Remove variable.
16646 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16647 (test-xfail-XOPEN2K8/utmpx.h/conform).
16648
16649 * conform/conformtest.pl ($xerrors): New variable.
16650 (note_error): New function.
16651 (compiletest): New argument $xfail. Use not_error.
16652 (runtest): Likewise.
16653 (top level): Handle xfail- lines. Update calls to compiletest and
16654 runtest. Handle xfail- and optional- in headers listed with
16655 allow-header.
16656 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16657 (O_EXEC): Likewise.
16658 (O_SEARCH): Likewise.
16659 * conform/data/stropts.h-data (ioctl): Likewise.
16660 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16661 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16662 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16663 (msghdr.msg_controllen): Likewise.
16664 (cmsghdr.cmsg_len): Likewise.
16665 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16666 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16667 variable.
16668 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16669 (test-xfail-XPG4/stropts.h/conform): Likewise.
16670 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16671 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16672 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16673 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16674 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16675 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16676 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16677 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16678 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16679 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16680 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16681 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16682 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16683 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16684 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16685 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16686 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16687 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16688 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16689
16690 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
16691
16692 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16693 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16694 definitions for proper unfolding of __MATHDECL_VEC.
16695
16696 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16697
16698 * benchtests/bench-strcoll.c:
16699 Include string.h.
16700 (main): Remove unused variable res.
16701
16702 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16703
16704 * timezone/Makefile (%/UTC %/Universal):
16705 Generate test-result files for UTC and Universal.
16706
16707 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16708
16709 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16710
16711 2015-06-18 Joseph Myers <joseph@codesourcery.com>
16712
16713 [BZ #16350]
16714 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16715 for arguments with small absolute value.
16716 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16717 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16718 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16719 (__asinh): Force underflow exception for arguments with small
16720 absolute value.
16721 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16722 (__asinhf): Force underflow exception for arguments with small
16723 absolute value.
16724 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16725 (__asinhl): Force underflow exception for arguments with small
16726 absolute value.
16727 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16728 (__asinhl): Force underflow exception for arguments with small
16729 absolute value.
16730 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16731 (__asinhl): Force underflow exception for arguments with small
16732 absolute value.
16733 * math/auto-libm-test-in: Do not mark underflow exceptions as
16734 possibly missing for bug 16350.
16735 * math/auto-libm-test-out: Regenerated.
16736
16737 * include/bits/ipc.h: Remove file.
16738 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16739 variable.
16740 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16741 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16742 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16743 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16744 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16745 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16746 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16747 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16748 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16749
16750 * math/auto-libm-test-in: Remove spurious underflow allowance for
16751 tests of cexp.
16752 * math/auto-libm-test-out: Regenerated.
16753
16754 [BZ #18558]
16755 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16756 unconditional definition.
16757 (MCAST_BLOCK_SOURCE): Likewise.
16758 (MCAST_UNBLOCK_SOURCE): Likewise.
16759 (MCAST_LEAVE_GROUP): Likewise.
16760 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16761 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16762 (MCAST_MSFILTER): Likewise.
16763 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16764 Remove variable.
16765 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16766 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16767 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16768 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16769 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16770
16771 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
16772
16773 * NEWS: Mention addition of x86_64 vector sincosf.
16774 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16775 * math/test-float-vlen4.h: Likewise.
16776 * math/test-float-vlen8.h: Likewise.
16777 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16778 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16779 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16780 * sysdeps/x86_64/fpu/Versions: New versions added.
16781 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16782 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16783 Added build of SSE, AVX2 and AVX512 IFUNC versions.
16784 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16785 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16786 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16787 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16788 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16789 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16790 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16791 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16792 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16793 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16794 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16795 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16796 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16797 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16798 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16799 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16800 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16801 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16802 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16803 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16804 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16805
16806 * NEWS: Mention addition of x86_64 vector sincos.
16807 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16808 * math/math.h (__MATHDECL_VEC): New macro.
16809 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16810 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16811 declaration under condition.
16812 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16813 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16814 TEST_VEC_LOOP change.
16815 * math/test-double-vlen4.h: Likewise.
16816 * math/test-double-vlen8.h: Likewise.
16817 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16818 * math/test-float-vlen4.h: Likewise.
16819 * math/test-float-vlen8.h: Likewise.
16820 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16821 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16822 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16823 * sysdeps/x86_64/fpu/Versions: New versions added.
16824 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16825 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16826 Added build of SSE, AVX2 and AVX512 IFUNC versions.
16827 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16828 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16829 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16830 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16831 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16832 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16833 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16834 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16835 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16836 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16837 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16838 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16839 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16840 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16841 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16842 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16843 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16844 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16845 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16846 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16847 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16848
16849 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16850 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16851 redirections for powf.
16852 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16853 * sysdeps/x86_64/fpu/Versions: New versions added.
16854 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16855 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16856 Added build of SSE, AVX2 and AVX512 IFUNC versions.
16857 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16858 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16859 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16860 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16861 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16862 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16863 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16864 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16865 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16866 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16867 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16868 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16869 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16870 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16871 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16872 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16873 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16874 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16875 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16876 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16877 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16878 * math/test-float-vlen16.h: Fixed 2 argument macro.
16879 * math/test-float-vlen4.h: Likewise.
16880 * math/test-float-vlen8.h: Likewise.
16881 * NEWS: Mention addition of x86_64 vector powf.
16882
16883 2015-06-17 Joseph Myers <joseph@codesourcery.com>
16884
16885 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16886 and redefine.
16887 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16888 and redefine.
16889 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16890 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16891 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16892
16893 [BZ #18553]
16894 * resource/getpriority.c (getpriority): Rename to __getpriority
16895 and define as weak alias of __getpriority.
16896 * resource/setpriority.c (setpriority): Rename to __setpriority
16897 and define as weak alias of __setpriority.
16898 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16899 __getpriority and define as weak alias of __getpriority.
16900 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16901 __setpriority and define as weak alias of __setpriority.
16902 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16903 strong name.
16904 (setpriority): Use __setpriority as strong name.
16905 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16906 __getpriority and define as weak alias of __getpriority.
16907 * include/sys/resource.h (__getpriority): Declare. Use
16908 libc_hidden_proto.
16909 (__setpriority): Likewise.
16910 (getpriority): Don't use libc_hidden_proto.
16911 (setpriority): Likewise.
16912 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16913 getpriority. Call __setpriority instead of setpriority.
16914 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16915 Remove variable.
16916
16917 [BZ #18547]
16918 * misc/getttyent.c (getttynam): Rename to __getttynam and define
16919 as weak alias of __getttynam. Use prototype function definition.
16920 Call __setttyent, __getttyent and __endttyent instead of
16921 setttyent, getttyent and endttyent.
16922 (getttyent): Rename to __getttyent and define as weak alias of
16923 __getttyent. Call __setttyent instead of setttyent. Call
16924 __fgets_unlocked instead of fgets_unlocked.
16925 (setttyent): Rename to __setttyent and define as weak alias of
16926 __setttyent.
16927 (endttyent): Rename to __endttyent and define as weak alias of
16928 __endttyent.
16929 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
16930 (__setttyent): Likewise.
16931 (__endttyent): Likewise.
16932 (getttyent): Don't use libc_hidden_proto.
16933 (setttyent): Likewise.
16934 (endttyent): Likewise.
16935 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16936 __endttyent instead of setttyent, getttyent and endttyent.
16937 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16938 Remove variable.
16939
16940 [BZ #18546]
16941 * socket/recv.c (__recv): Use libc_hidden_def.
16942 * socket/socket.c (__socket): Likewise.
16943 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16944 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16945 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16946 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16947 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16948 libc_hidden_def.
16949 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16950 libc_hidden_weak.
16951 * include/sys/socket.h (__socket): Do not use attribute_hidden.
16952 Use libc_hidden_proto.
16953 (__recv): Likewise.
16954 * socket/Versions (libc): Export __recv and __socket at version
16955 GLIBC_PRIVATE.
16956 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16957 instead of recv.
16958 (init_mq_netlink): Call __socket instead of socket.
16959 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16960 Remove variable.
16961
16962 [BZ #18545]
16963 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16964 __mq_timedreceive and define as alias of __mq_timedreceive. Use
16965 hidden_weak.
16966 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16967 define as alias of __mq_timedsend. Use hidden_weak.
16968 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16969 __mq_timedsend as strong name.
16970 (mq_timedreceive): Use __mq_timedreceive as strong name.
16971 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
16972 (__mq_timedreceive): Likewise.
16973 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16974 __mq_timedreceive instead of mq_timedreceive.
16975 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16976 instead of mq_timedsend.
16977 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16978 Remove variable.
16979
16980 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16981 hidden_def and hidden_weak instead of libc_hidden_def and
16982 libc_hidden_weak.
16983 (top level): Refer to hidden_def in comment.
16984 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16985 macro. Use it instead of libc_hidden_def.
16986 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16987 specify __GI_* name explicitly.
16988 (mq_timedreceive): Likewise.
16989 (mq_setattr): Likewise.
16990
16991 [BZ #18544]
16992 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16993 __pthread_barrier_init and define as weak alias of
16994 __pthread_barrier_init.
16995 * sysdeps/sparc/nptl/pthread_barrier_init.c
16996 (pthread_barrier_init): Likewise.
16997 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16998 __pthread_barrier_wait and define as weak alias of
16999 __pthread_barrier_wait.
17000 * sysdeps/sparc/nptl/pthread_barrier_wait.c
17001 (pthread_barrier_wait): Likewise.
17002 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17003 (pthread_barrier_wait): Likewise.
17004 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17005 (pthread_barrier_wait): Likewise.
17006 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17007 (pthread_barrier_wait): Likewise.
17008 * nptl/Versions (libpthread): Export __pthread_barrier_init and
17009 __pthread_barrier_wait at version GLIBC_PRIVATE.
17010 * include/pthread.h (__pthread_barrier_init): Declare.
17011 (__pthread_barrier_wait): Likewise.
17012 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
17013 Call __pthread_barrier_wait instead of pthread_barrier_wait.
17014 (helper_thread): Likewise.
17015 (init_mq_netlink): Call __pthread_barrier_init instead of
17016 pthread_barrier_init.
17017
17018 [BZ #18542]
17019 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
17020 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
17021 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
17022 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
17023 vswscanf.
17024 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
17025 Remove variable.
17026
17027 [BZ #18540]
17028 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
17029 strong alias of _IO_fflush. Use libc_hidden_def.
17030 * libio/iofflush_u.c (fflush_unlocked): Rename to
17031 __fflush_unlocked and define as weak alias of __fflush_unlocked.
17032 Use libc_hidden_weak.
17033 * include/stdio.h (__fflush_unlocked): Declare. Use
17034 libc_hidden_proto.
17035 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
17036 fflush_unlocked.
17037 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
17038 Remove variable.
17039
17040 [BZ #18539]
17041 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
17042 define as weak alias of __addseverity.
17043 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
17044 Remove variable.
17045 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17046 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17047 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17048
17049 [BZ #18536]
17050 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
17051 (__tfind): Likewise.
17052 (__tdelete): Likewise.
17053 (__twalk): Likewise.
17054 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
17055 __twalk to GLIBC_PRIVATE.
17056 * include/search.h (__tsearch): Use libc_hidden_proto.
17057 (__tfind): Likewise.
17058 (__tdelete): Likewise.
17059 (__twalk): Likewise.
17060 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
17061 Call __tdelete instead of tdelete.
17062 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
17063 tfind. Call __tsearch instead of tsearch.
17064 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
17065 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
17066 Remove variable.
17067 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17068
17069 [BZ #18534]
17070 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
17071 (dprintf): Define as a weak alias of __dprintf, not a strong
17072 alias.
17073 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
17074 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
17075 dprintf.
17076 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
17077 Remove variable.
17078 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17079 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17080
17081 [BZ #18533]
17082 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
17083 not a strong alias.
17084 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
17085 Remove variable.
17086
17087 [BZ #18532]
17088 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
17089 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
17090 (in6addr_loopback): Rename to __in6addr_loopback and define as
17091 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
17092 * include/netinet/in.h (__in6addr_loopback): Declare. Use
17093 libc_hidden_proto.
17094 (__in6addr_any): Likewise.
17095 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
17096 in6addr_any.
17097 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
17098 variable.
17099 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17100
17101 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
17102
17103 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
17104 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
17105 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17106 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17107 redirections for pow.
17108 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17109 * sysdeps/x86_64/fpu/Versions: New versions added.
17110 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17111 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17112 build of SSE, AVX2 and AVX512 IFUNC versions.
17113 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
17114 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
17115 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
17116 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
17117 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
17118 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
17119 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
17120 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
17121 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
17122 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
17123 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
17124 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
17125 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17126 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17127 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17128 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17129 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17130 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17131 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17132 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17133 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17134 * NEWS: Mention addition of x86_64 vector pow.
17135
17136 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17137 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17138 redirections for expf.
17139 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17140 * sysdeps/x86_64/fpu/Versions: New versions added.
17141 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17142 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17143 build of SSE, AVX2 and AVX512 IFUNC versions.
17144 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17145 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17146 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17147 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17148 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17149 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17150 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17151 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17152 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17153 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17154 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17155 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17156 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17157 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17158 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17159 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17160 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17161 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17162 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17163 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17164 * NEWS: Mention addition of x86_64 vector expf.
17165
17166 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17167 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17168 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17169 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17170 redirections for exp.
17171 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17172 * sysdeps/x86_64/fpu/Versions: New versions added.
17173 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17174 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17175 build of SSE, AVX2 and AVX512 IFUNC versions.
17176 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17177 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17178 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17179 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17180 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17181 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17182 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17183 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17184 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17185 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17186 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17187 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17188 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17189 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17190 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17191 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17192 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17193 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17194 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17195 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17196 * NEWS: Mention addition of x86_64 vector exp.
17197
17198 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17199 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17200 redirections for logf.
17201 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17202 * sysdeps/x86_64/fpu/Versions: New versions added.
17203 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17204 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17205 build of SSE, AVX2 and AVX512 IFUNC versions.
17206 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17207 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17208 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17209 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17210 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17211 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17212 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17213 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17214 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17215 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17216 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17217 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17218 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17219 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17220 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17221 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17222 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17223 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17224 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17225 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17226 * NEWS: Mention addition of x86_64 vector logf.
17227
17228 * bits/libm-simd-decl-stubs.h: Added stubs for log.
17229 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17230 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17231 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17232 redirections for log.
17233 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17234 * sysdeps/x86_64/fpu/Versions: New versions added.
17235 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17236 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17237 build of SSE, AVX2 and AVX512 IFUNC versions.
17238 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17239 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17240 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17241 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17242 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17243 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17244 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17245 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17246 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17247 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17248 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17249 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17250 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17251 test.
17252 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17253 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17254 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17255 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17256 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17257 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17258 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17259 * NEWS: Mention addition of x86_64 vector log.
17260
17261 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
17262
17263 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17264 cfi_adjust_cfa_offset argument.
17265 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17266 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17267
17268 [BZ #18034]
17269 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17270 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17271 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17272 ordering using ldar.
17273 (_dl_tlsdesc_dynamic): Likewise.
17274 (_dl_tlsdesc_return_lazy): Likewise.
17275 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17276 relaxed atomics instead of volatile and synchronize with release store.
17277 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
17278 volatile.
17279 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17280
17281 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
17282
17283 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17284 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
17285 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17286 * sysdeps/x86_64/fpu/Versions: New versions added.
17287 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17288 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17289 build of SSE, AVX2 and AVX512 IFUNC versions.
17290 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
17291 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
17292 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
17293 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
17294 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
17295 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
17296 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17297 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
17298 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
17299 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
17300 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
17301 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
17302 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
17303 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17304 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17305 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17306 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17307 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17308 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17309 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17310 * NEWS: Mention addition of x86_64 vector sinf.
17311
17312 2015-06-14 Joseph Myers <joseph@codesourcery.com>
17313
17314 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
17315 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
17316 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
17317 Remove variable.
17318 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17319 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17320
17321 2015-06-12 Joseph Myers <joseph@codesourcery.com>
17322
17323 [BZ #18530]
17324 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
17325 strong alias of _IO_fputs. Use libc_hidden_def.
17326 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
17327 and define as weak alias of __fputs_unlocked. Use
17328 libc_hidden_weak.
17329 * include/stdio.h (__fputs_unlocked): Declare. Use
17330 libc_hidden_proto.
17331 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
17332 fputs_unlocked.
17333
17334 [BZ #18529]
17335 * resolv/netdb.h [__USE_POSIX]: Change condition to
17336 [__USE_XOPEN2K].
17337 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
17338 not expect.
17339 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
17340 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
17341 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
17342 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
17343 [XPG4 || UNIX98] (AI_ALL): Likewise.
17344 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
17345 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
17346 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
17347 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17348 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
17349 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
17350 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
17351 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
17352 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
17353 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
17354 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
17355 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
17356 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
17357 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
17358 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
17359 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17360 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17361 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
17362 [XPG4 || UNIX98] (gai_strerror): Likewise.
17363 [XPG4 || UNIX98] (getaddrinfo): Likewise.
17364 [XPG4 || UNIX98] (getnameinfo): Likewise.
17365
17366 [BZ #18528]
17367 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
17368 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
17369 __USE_XOPEN2K8].
17370 (getgrent): Likewise.
17371 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
17372 expect.
17373 [XPG3 || POSIX2008] (endgrent): Likewise.
17374 [XPG3] (setgrent): Likewise.
17375 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17376 variable.
17377 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17378
17379 [BZ #18527]
17380 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17381 define as weak alias of __getlogin_r. Use libc_hidden_weak.
17382 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17383 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17384 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17385 * include/unistd.h (__getlogin_r): Declare. Use
17386 libc_hidden_proto.
17387 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17388 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17389 variable.
17390 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17391 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17392 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17393
17394 2015-06-12 Martin Sebor <msebor@redhat.com>
17395
17396 [BZ #18512]
17397 * Makerules (check-install-supported): New target.
17398 (install): Add check-install-supported as a dependency.
17399 * manual/install.texi (Installing the C Library): Document
17400 that overriding prefix and exec_prefix is not supported.
17401 Mention DESTDIR.
17402 * INSTALL: Regenerate from the above.
17403
17404 2015-06-12 Joseph Myers <joseph@codesourcery.com>
17405
17406 [BZ #18519]
17407 * posix/Versions (libc): Export __libc_pread at version
17408 GLIBC_PRIVATE.
17409 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17410 instead of pread.
17411 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17412 variable.
17413
17414 [BZ #18522]
17415 * misc/efgcvt_r.c
17416 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17417 (cvt_symbol): Use weak_alias instead of strong_alias.
17418 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17419 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17420 Remove variable.
17421 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17422 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17423
17424 [BZ #18520]
17425 * inet/herrno.c (h_errno): Rename to __h_errno.
17426 (__libc_h_errno): Define as alias of __h_errno not h_errno.
17427 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17428 to __h_errno instead of h_errno.
17429 * nptl/herrno.c (h_errno): Rename to __h_errno.
17430 (__h_errno_location): Refer to __h_errno not h_errno.
17431 * resolv/Versions (h_errno): Rename to __h_errno.
17432 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17433 Remove variable.
17434 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17435
17436 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
17437
17438 * configure.ac: More strict check for AVX512 assembler support.
17439 * configure: Regenerated.
17440
17441 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17442 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17443 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17444 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17445 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17446 * sysdeps/x86_64/fpu/Versions: New versions added.
17447 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17448 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17449 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17450 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17451 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17452 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17453 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17454 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17455 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17456 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17457 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17458 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17459 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17460 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17461 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17462 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17463 test.
17464 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17465 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17466 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17467 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17468 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17469 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17470 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17471 * NEWS: Mention addition of x86_64 vector sin.
17472
17473 2015-06-11 Florian Weimer <fweimer@redhat.com>
17474
17475 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17476 comment.
17477
17478 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
17479
17480 [BZ #18479]
17481 * nptl/pt-interp.c: New file.
17482 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17483 Add pt-interp.
17484 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17485 $(common-objpfx)runtime-linker.h.
17486
17487 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
17488
17489 * Makeconfig (+interp): Remove unused variable.
17490 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17491 only. Depend on $(common-objpfx)runtime-linker.h instead of
17492 $(elf-objpfx)runtime-linker.h.
17493 ($(elf-objpfx)runtime-linker.h): Rename to
17494 $(common-objpfx)runtime-linker.h and move ...
17495 * Makerules [$(build-shared) = yes]: ... here.
17496 * elf/interp.c: Include <runtime-linker.h> instead of
17497 <elf/runtime-linker.h>.
17498
17499 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17500
17501 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17502 (__gettimeofday_syscall): Remove vsyscall fallback.
17503 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17504 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17505 Add syscall fallback function.
17506 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17507 if vDSO is not present.
17508 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17509 fallback function.
17510 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17511 present.
17512 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17513 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17514
17515 2015-06-09 Joseph Myers <joseph@codesourcery.com>
17516
17517 [BZ #18497]
17518 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17519 of wcscmp.
17520 (wcscmp): Define as weak alias of WCSCMP.
17521 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17522 wcscoll.
17523 (USE_HIDDEN_DEF): Define.
17524 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17525 __wcscoll. Don't use libc_hidden_weak.
17526 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17527 wcscmp.
17528 * sysdeps/i386/i686/multiarch/wcscmp-c.c
17529 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17530 __GI_wcscmp.
17531 (weak_alias): Undefine and redefine.
17532 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17533 __wcscmp and define as weak alias of __wcscmp.
17534 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17535 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
17536 (__wcscoll): Likewise.
17537 (wcscmp): Don't use libc_hidden_proto.
17538 (wcscoll): Likewise.
17539 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17540 wcscoll.
17541 * posix/regexec.c (check_node_accept_bytes): Likewise.
17542 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17543 variable.
17544 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17545 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17546
17547 [BZ #18507]
17548 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17549 __fstatvfs and define as weak alias of __fstatvfs. Use
17550 libc_hidden_weak.
17551 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17552 and define as weak alias of __statvfs. Use libc_hidden_weak.
17553 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17554 Define as alias of __fstatvfs, not fstatvfs.
17555 (fstatvfs64): Likewise.
17556 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17557 Define as alias of __statvfs, not statvfs.
17558 (statvfs64): Likewise.
17559 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17560 Remove variable.
17561
17562 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17563
17564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17565 (HAVE_GETCPU_VSYSCALL): Define.
17566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17567 (HAVE_GETCPU_VSYSCALL): Likewise.
17568 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17569 * sysdeps/unix/sysv/linux/sched_getcpu.c
17570 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17571 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17572 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17573 prototype.
17574 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17575 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17576 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17577 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17578 Define.
17579 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17580 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17581 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17582 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17583
17584 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
17585
17586 * sysdeps/x86_64/fpu/Makefile: New file.
17587 * sysdeps/x86_64/fpu/Versions: New file.
17588 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17589 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17590 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17591 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17592 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17593 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17594 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17595 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17596 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17597 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17598 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17599 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17600 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17601 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17602 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17603 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17604 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17605 * sysdeps/x86_64/configure.ac: Options for libmvec build.
17606 * sysdeps/x86_64/configure: Regenerated.
17607 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17608 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17609 * manual/install.texi (Configuring and compiling): Document
17610 --disable-mathvec.
17611 * INSTALL: Regenerated.
17612 * NEWS: Mention addition of libmvec and x86_64 vector cos.
17613
17614 * math/Makefile: Added rules for vector tests.
17615 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17616 declaration under condition.
17617 * math/test-double-vlen2.h: New file.
17618 * math/test-double-vlen4.h: New file.
17619 * math/test-double-vlen8.h: New file.
17620 * math/test-vec-loop.h: Added initialization macro.
17621 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17622 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17623 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17624 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17625 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17626 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17627 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17628 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17629 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17630 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17631 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17632
17633 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17634 * sysdeps/x86_64/fpu/Versions: New versions added.
17635 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17636 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17637 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17638 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17639 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17640 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17641 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17642 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17643 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17644 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17645 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17646 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17647 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17648 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17649 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17650 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17651 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17652 * NEWS: Mention addition of x86_64 vector cosf.
17653
17654 * math/Makefile: Added CFLAGS for new tests.
17655 * math/test-float-vlen16.h: New file.
17656 * math/test-float-vlen4.h: New file.
17657 * math/test-float-vlen8.h: New file.
17658 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17659 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17660 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17661 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17662 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17663 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17664 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17665 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17666 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17667 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17668 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17669
17670 2015-06-09 Marko Myllynen <myllynen@redhat.com>
17671
17672 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17673 * locale/programs/ld-ctype.c: Likewise.
17674
17675 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
17676
17677 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17678 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17679 bit_ZMM16_31_state): New macro.
17680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17681 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17682
17683 2015-06-08 Joseph Myers <joseph@codesourcery.com>
17684
17685 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17686
17687 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
17688
17689 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17690
17691 2015-06-05 Joseph Myers <joseph@codesourcery.com>
17692
17693 [BZ #18498]
17694 * libio/memstream.c (open_memstream): Rename to __open_memstream
17695 and define as weak alias of __open_memstream.
17696 * include/stdio.h (__open_memstream): Declare. Use
17697 libc_hidden_proto.
17698 (open_memstream): Don't use libc_hidden_proto.
17699 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17700 open_memstream.
17701 * posix/getopt.c (_getopt_internal_r): Likewise.
17702 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17703 variable.
17704 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17705 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17706 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17707
17708 [BZ #18496]
17709 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17710 instead of wcrtomb.
17711
17712 [BZ #18483]
17713 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17714 [__USE_XOPEN2K8]. Remove redundant #endif.
17715 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17716 Remove redundant #if.
17717 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17718 Remove variable.
17719 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17720 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17721
17722 [BZ #18495]
17723 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17724 (__iswlower): Likewise.
17725 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
17726 (__iswlower): Likewise.
17727 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17728 instead of towlower.
17729 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17730 instead of iswlower. Call __towupper instead of towupper.
17731 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17732 instead of iswalnum.
17733
17734 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17735
17736 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17737 errors to stderr.
17738
17739 2015-06-05 Florian Weimer <fweimer@redhat.com>
17740
17741 [BZ #15661]
17742 [BZ #17322]
17743 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17744 Check for overflow properly. Check for O_APPEND. Ignore large
17745 file system block sizes. Add comments about problems.
17746 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17747 * manual/filesys.texi (Storage Allocation): New node.
17748
17749 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17750
17751 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17752 cancellable syscalls.
17753 (SYS_ify): Add guard to no redefine it.
17754 (INLINE_SYSCALL): Likewise.
17755 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17756 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17757 SYSCALL_CANCEL instead.
17758 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17759 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17760 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17761 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17762 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17763 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17764 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17765 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17766 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17767 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17768 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17769 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17770 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17771 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17772 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17773 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17774 Likewise.
17775 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17776 (__libc_pread64): Likewise.
17777 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17778 (__libc_preadv): Likewise.
17779 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17780 (__libc_readv64): Likewise.
17781 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17782 (__libc_pwrite): Likewise.
17783 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17784 (__libc_pwrite64): Likewise.
17785 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17786 (__libc_pwritev): Likewise.
17787 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17788 (__libc_pwritev64): Likewise.
17789 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17790 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17791 (sync_file_range): Likewise.
17792 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17793 Likewise.
17794 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17795 Likewise.
17796 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17797 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17798 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17799 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17800 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17801 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17802 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17803 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17805 Likewise.
17806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17807 (__libc_read64): Likewise.
17808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17809 Likewise.
17810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17811 Likewise.
17812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17813 Likewise.
17814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17815 Likewise.
17816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17817 (__libc_pread64): Likewise.
17818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17819 Likewise.
17820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17821 (__libc_pwrite64): Likewise.
17822 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17823 (sync_file_range): Likewise.
17824 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17825 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17826 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17827 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17828 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17829 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17830 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17831 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17832 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17833 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17834 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17835 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17836 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17837 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17838 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17839 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17840 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17841 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17842 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17843 Likewise.
17844 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17845 Likewise.
17846 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17847 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17848 Likewise.
17849 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17850 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17851 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17852 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17853 Likewise.
17854 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17855 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17856 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17857 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17858 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17859
17860 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
17861
17862 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17863 Include dl-vdso.
17864 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17865 Use VDSO routines for gettimeofday, clock_gettime if
17866 available.
17867 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17868 Declare VDSO symbols.
17869 * sysdeps/unix/sysv/linux/arm/sysdep.h:
17870 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17871 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17872 * sysdeps/unix/sysv/linux/arm/Versions: Add
17873 __vdso_clock_gettime.
17874
17875 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17876
17877 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17878 be an inline implementation regardless of library is built within.
17879 (open_not_cancel_2): Likewise.
17880 (__read_nocancel): Likewise.
17881 (__write_nocancel): Likewise.
17882 (openat_not_cancel): Likewise.
17883 (openat_not_cancel_3): Likewise.
17884 (openat64_not_cancel): Likewise.
17885 (openat64_not_cancel_3): Likewise.
17886 (__close_nocancel): Likewise.
17887 (pause_not_cancel): Likewise.
17888 (nanosleep_not_cancel): Likewise.
17889 (sigsuspend_not_cancel): Likewise.
17890
17891 2015-06-04 Torvald Riegel <triegel@redhat.com>
17892
17893 [BZ #14958]
17894 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17895 wake-up.
17896 (__pthread_rwlock_rdlock_slow): Likewise.
17897 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17898 Likewise.
17899 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17900 Likewise.
17901 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17902 * nptl/tst-rwlock16.c: New file.
17903 * nptl/Makefile (tests): Add new test.
17904
17905 2015-06-04 Torvald Riegel <triegel@redhat.com>
17906
17907 [BZ #18324]
17908 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17909 missing wake-up of readers.
17910 * nptl/tst-rwlock15.c: New file.
17911 * nptl/Makefile (tests): Add new test.
17912
17913 2015-06-03 Roland McGrath <roland@hack.frob.com>
17914
17915 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17916 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17917 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17918 and __nacl_supply_interface_rtld.
17919 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17920 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17921 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17922 Add __nacl_supply_interface_rtld.
17923 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17924
17925 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
17926
17927 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17928 isfinite.
17929 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17930 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17931
17932 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
17933
17934 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17935 __signbit* with standard C99 macros.
17936 * math/e_exp10l.c: Likewise.
17937 * math/e_exp2l.c: Likewise.
17938 * math/e_scalb.c: Likewise.
17939 * math/e_scalbf.c: Likewise.
17940 * math/e_scalbl.c: Likewise.
17941 * math/s_ldexp.c: Likewise.
17942 * math/s_ldexpf.c: Likewise.
17943 * math/s_ldexpl.c: Likewise.
17944 * math/w_atan2.c: Likewise.
17945 * math/w_atan2f.c: Likewise.
17946 * math/w_atan2l.c: Likewise.
17947 * math/w_cosh.c: Likewise.
17948 * math/w_coshf.c: Likewise.
17949 * math/w_coshl.c: Likewise.
17950 * math/w_exp10.c: Likewise.
17951 * math/w_exp10f.c: Likewise.
17952 * math/w_exp10l.c: Likewise.
17953 * math/w_exp2.c: Likewise.
17954 * math/w_exp2f.c: Likewise.
17955 * math/w_exp2l.c: Likewise.
17956 * math/w_fmod.c: Likewise.
17957 * math/w_fmodf.c: Likewise.
17958 * math/w_fmodl.c: Likewise.
17959 * math/w_hypot.c: Likewise.
17960 * math/w_hypotf.c: Likewise.
17961 * math/w_hypotl.c: Likewise.
17962 * math/w_jnl.c: Likewise.
17963 * math/w_lgamma.c: Likewise.
17964 * math/w_lgamma_r.c: Likewise.
17965 * math/w_lgammaf.c: Likewise.
17966 * math/w_lgammaf_r.c: Likewise.
17967 * math/w_lgammal.c: Likewise.
17968 * math/w_lgammal_r.c: Likewise.
17969 * math/w_pow.c: Likewise.
17970 * math/w_powf.c: Likewise.
17971 * math/w_powl.c: Likewise.
17972 * math/w_remainder.c: Likewise.
17973 * math/w_remainderf.c: Likewise.
17974 * math/w_remainderl.c: Likewise.
17975 * math/w_scalb.c: Likewise.
17976 * math/w_scalbf.c: Likewise.
17977 * math/w_scalbl.c: Likewise.
17978 * math/w_scalbln.c: Likewise.
17979 * math/w_scalblnf.c: Likewise.
17980 * math/w_scalblnl.c: Likewise.
17981 * math/w_sinh.c: Likewise.
17982 * math/w_sinhf.c: Likewise.
17983 * math/w_sinhl.c: Likewise.
17984 * math/w_tgamma.c: Likewise.
17985 * math/w_tgammaf.c: Likewise.
17986 * math/w_tgammal.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17989 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17990 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17991 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17994 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17995 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17996 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17997 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17998 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17999 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18000 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18001 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18002 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18003 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18004 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18005 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18006 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18007 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18008 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18009 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18010 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18011 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18012 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18013 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
18014 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18015 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18016 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18017 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
18018 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
18019 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
18020 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
18021 * stdio-common/printf_fp.c: Likewise.
18022 * stdio-common/printf_fphex.c: Likewise.
18023 * stdio-common/printf_size.c: Likewise.
18024
18025 2015-06-03 Joseph Myers <joseph@codesourcery.com>
18026
18027 [BZ #18470]
18028 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
18029 strnlen.
18030 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
18031 Remove variable.
18032 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18033 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18034 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18035 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18036 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18037 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18038 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18039 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18040 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18041 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18042
18043 [BZ #18468]
18044 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
18045 weak alias of __wmemchr. Use libc_hidden_weak.
18046 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
18047 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
18048 instead of wmemchr.
18049
18050 2015-06-02 Roland McGrath <roland@hack.frob.com>
18051
18052 [BZ #18383]
18053 * elf/tst-tlsalign-extern.c: New file.
18054 * elf/tst-tlsalign-extern-static.c: New file.
18055 * elf/tst-tlsalign-vars.c: New file.
18056 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
18057 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
18058 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
18059 ($(objpfx)tst-tlsalign-extern-static): Likewise.
18060 (test-xfail-tst-tlsalign-extern-static): New variable.
18061
18062 2015-06-02 Joseph Myers <joseph@codesourcery.com>
18063
18064 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
18065 Use variable name _sc_err instead of err.
18066 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
18067 instead of ret.
18068 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
18069 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
18070 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
18071 (INLINE_SYSCALL): Likewise.
18072
18073 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
18074 * include/string.h (__strnlen): Use libc_hidden_proto.
18075 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
18076 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
18077 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
18078 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18079 (libc_hidden_def): Undefine and redefine.
18080 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
18081 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
18082 __GI_strnlen.
18083 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
18084 libc_hidden_def.
18085 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
18086
18087 [BZ #18469]
18088 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
18089 weak alias of __towlower. Use libc_hidden_weak.
18090 (towupper): Rename to __towupper and define as weak alias of
18091 __towupper. Use libc_hidden_weak.
18092 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
18093 (__towupper): Likewise.
18094 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
18095 __towlower instead of towlower.
18096
18097 2015-06-02 Roland McGrath <roland@hack.frob.com>
18098
18099 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
18100 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
18101
18102 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
18103
18104 * sysdeps/aarch64/libm-test-ulps: Update.
18105
18106 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18107
18108 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
18109 Define.
18110 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18111 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18112 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18113 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18114 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
18115 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
18116 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
18117
18118 2015-06-01 Martin Sebor <msebor@redhat.com>
18119
18120 [BZ #18116]
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18122 (__setcontext): Use extended four-operand version of mtsf whenever
18123 possible.
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18125 (__novec_swapcontext): Likewise.
18126
18127 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18128
18129 * benchtests/scripts/compare_bench.py: New file.
18130 * benchtests/scripts/import_bench.py (mean): New function.
18131 (split_list): Likewise.
18132 (do_for_all_timings): Likewise.
18133 (compress_timings): Likewise.
18134
18135 * benchtests/scripts/import_bench.py: New file.
18136 * benchtests/scripts/validate_benchout.py: Import import_bench
18137 instead of jsonschema.
18138 (validate_bench): Remove function.
18139 (main): Use import_bench.
18140
18141 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
18142
18143 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18144 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18145
18146 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18147
18148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18149
18150 2015-05-28 Roland McGrath <roland@hack.frob.com>
18151
18152 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18153 set THREAD_SELF->tid to a magic value and futex-wake it.
18154 Pass its address to the thread_exit system call.
18155 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18156 bit is clear.
18157 * sysdeps/nacl/lowlevellock.h: New file.
18158 * sysdeps/nacl/lll_timedwait_tid.c: New file.
18159
18160 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18161 Add TIMEOUT to current time, don't subtract it.
18162
18163 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
18164
18165 [BZ #2981]
18166 [BZ #18422]
18167 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18168 ($(objpfx)tst-audit2.out): Also depend on
18169 $(objpfx)tst-auditmod9b.so.
18170 * elf/tst-audit2.c: Include <dlfcn.h>.
18171 (calloc_called): New.
18172 (calloc): Allow to be called more than once.
18173 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18174
18175 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
18176
18177 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18178 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18179
18180 2015-05-27 Marko Myllynen <myllynen@redhat.com>
18181
18182 * stdlib/monetary.h: Fix comment.
18183
18184 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
18185
18186 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18187 Avoid using variables in #defines that might cause shadowing.
18188 (INTERNAL_VSYSCALL_CALL): Likewise.
18189
18190 2015-05-26 Roland McGrath <roland@hack.frob.com>
18191
18192 * sysdeps/nacl/lll_timedlock_wait.c: New file.
18193
18194 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18195 * nptl/lll_timedlock_wait.c: ... to this new file.
18196 * nptl/Makefile (libpthread-routines): Add it.
18197 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18198 * nptl/lll_timedwait_tid.c: ... to this new file.
18199 * nptl/Makefile (libpthread-routines): Add it.
18200 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18201 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18202 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18203 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18204 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18205 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18206 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18207 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18208 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18209 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18210
18211 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18212
18213 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18214 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18215 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18216 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18217 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18218 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18219 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18220 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18221 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18222 * sysdeps/unix/sysv/linux/tile/sysdep.h
18223 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18224 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18225 using vDSO syscall macro.
18226
18227 2015-05-26 Andriy Rysin <arysin@gmail.com>
18228
18229 [BZ #17293]
18230 * uk_UA: Fix sorting order for Ukrainian locale
18231
18232 2015-05-26 Marko Myllynen <myllynen@redhat.com>
18233
18234 * stdlib/monetary.h: Fix comment.
18235
18236 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
18237
18238 [BZ #18234]
18239 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18240 st_mtim and st_ctim members.
18241 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18242 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18243 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18244 (struct stat64): Likewise.
18245 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18246 (struct stat64): Likewise.
18247 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18248 (struct stat64): Likewise.
18249
18250 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18251
18252 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18253 Define and include sysdep-vdso.h.
18254 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18255 Likewise.
18256 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18257 Likewise.
18258 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18259 Define with VDSO_SYMBOL and use PTR_MANGLE.
18260 (__vdso_clock_gettime): Likewise.
18261 (__vdso_clock_getres): Likewise.
18262 (_libc_vdso_platform_setup): Likewise.
18263 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18264 Likewise.
18265 (_libc_vdso_platform_setup): Likewise.
18266 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18267 Likewise.
18268 (__vdso_clock_gettime): Likewise.
18269 (__vdso_clock_getres): Likewise.
18270 (__vdso_get_tbfreq): Likewise.
18271 (__vdso_getcpu): Likewise.
18272 (__vdso_time): Likewise.
18273 (__vdso_sigtramp_rt64): Likewise.
18274 (__vdso_signtramp32): Likewise.
18275 (__vdso_sigtramp_rt32): Likewise.
18276 (_libc_vdso_platform_setup): Likewise.
18277 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
18278 Likewise.
18279 (__vdso_clock_gettime): Likewise.
18280 (__vdso_clock_getres): Likewise.
18281 (_libc_vdso_platform_setup): Likewise.
18282 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
18283 Likewise.
18284 (__vdso_clock_gettime): Likewise.
18285 (_libc_vdso_platform_setup): Likewise.
18286 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18287 Likewise.
18288 (__vdso_getcpu): Likewise.
18289 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
18290 Use VDSO_SYMBOL macro to define.
18291 (__vdso_clock_gettime): Likewise.
18292 (__vdso_clock_getres): Likewise.
18293 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
18294 Likewise.
18295 (__vdso_clock_gettime): Likewise.
18296 (__vdso_clock_getres): Likewise.
18297 (__vdso_get_tbfreq): Likewise.
18298 (__vdso_getcpu): Likewise.
18299 (__vdso_time): Likewise.
18300 (__vdso_sigtramp_rt64): Likewise.
18301 (__vdso_signtramp32): Likewise.
18302 (__vdso_sigtramp_rt32): Likewise.
18303 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
18304 Likewise.
18305 (__vdso_clock_gettime): Likewise.
18306 (__vdso_clock_getres): Likewise.
18307 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
18308 Likewise.
18309 (__vdso_clock_gettime): Likewise.
18310 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18311 Likewise.
18312 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
18313 macro.
18314 (INTERNAL_VSYSCALL): Likewise.
18315 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
18316 Remove macro.
18317 (INTERNAL_VSYSCALL): Likewise.
18318 (INTERNAL_VSYSCALL_NCS): Likewise.
18319 (INTERNAL_VSYSCALL_CALL): New macro.
18320 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18321 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
18322 Likewise.
18323 (INTERNAL_VSYSCALL): Likewise.
18324 (INTERNAL_VSYSCALL_NCS): Likewise.
18325 (INTERNAL_VSYSCALL_CALL): New macro.
18326 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18328 (INLINE_VSYSCALL): Remove macro.
18329 (INTERNAL_VSYSCALL): Remove macro.
18330 (INTERNAL_VSYSCALL_NCS): Remove macro.
18331 (INTERNAL_VSYSCALL_CALL): New macro.
18332 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
18333 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
18334 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18335 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
18336 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18338 (INLINE_VSYSCALL): Remove macro.
18339 (INTERNAL_VSYSCALL): Likewise.
18340 (INTERNAL_VSYSCALL_NCS): Likewise.
18341 (INTERNAL_VSYSCALL_CALL): New macro.
18342 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
18343 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
18344 PTR_DEMANGLE on vDSO pointer.
18345 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18346 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
18347 macro.
18348 (INTERNAL_SYSCALL): Likewise.
18349 (INTERNAL_VSYSCALL_NCS): Remove macro.
18350 (INTERNAL_VSYSCALL_CALL): New macro.
18351 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
18352 Remove macro.
18353 (INTERNAL_VSYSCALL): Likewise.
18354 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
18355 sysdep-vdso.h instead of libc-vdso.h.
18356 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
18357 definition.
18358 (INLINE_VSYSCALL): Likewise.
18359 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
18360 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
18361 definition.
18362 (INLINE_VSYSCALL): Likewise.
18363 (INTERNAL_VSYSCALL): Likewise.
18364 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18365 * sysdeps/unix/sysv/linux/timespec_get.c
18366 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18367 (timespec_get): Use ANSI prototype.
18368 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
18369 and definition for Linux.
18370
18371 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
18372
18373 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18374 * include/libc-symbols.h: libmvec_hidden_* macro series added.
18375
18376 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
18377
18378 [BZ #2981]
18379 [BZ #18410]
18380 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18381 for missing DT_PLTRELSZ.
18382
18383 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
18384
18385 Remove obsolete aliases that broke 'locale -a'
18386 [BZ #18412]
18387 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18388 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18389 breaking some applications that use 'locale -a' output.
18390 Change the encoding of this file from Latin-1 to ASCII to avoid
18391 other potential problems with people grepping this file.
18392
18393 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18394
18395 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18396 -fasynchronous-unwind-tables.
18397 (CFLAGS-sendto.c): Likewise.
18398 (CFLAGS-sendmsg.c): Likewise.
18399 (CFLAGS-connect.c): Likewise.
18400 (CFLAGS-recvmsg.c): Likewise.
18401 (CFLAGS-recvfrom.c): Likewise.
18402 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18403 (SOCKETCALL): New macro: non-cancellable socketcall.
18404 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18405 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18406 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18407 * sysdeps/unix/sysv/linux/accept.c: New file.
18408 * sysdeps/unix/sysv/linux/bind.c: Likewise.
18409 * sysdeps/unix/sysv/linux/connect.c: Likewise.
18410 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18411 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18412 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18413 * sysdeps/unix/sysv/linux/listen.c: Likewise.
18414 * sysdeps/unix/sysv/linux/recv.c: Likewise.
18415 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18416 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18417 * sysdeps/unix/sysv/linux/send.c: Likewise.
18418 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18419 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18420 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18421 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18422 * sysdeps/unix/sysv/linux/socket.c: Likewise.
18423 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18424 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18425 prototype.
18426 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18427 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18428 instead of __internal_xxx function.
18429 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18430 prototype.
18431 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18432 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18433 instead of __internal_xxx function.
18434 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18435 prototype.
18436 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18437 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18438 instead of __internal_xxx function.
18439 * sysdeps/unix/sysv/linux/accept.S: Remove file.
18440 * sysdeps/unix/sysv/linux/bind.S: Likewise.
18441 * sysdeps/unix/sysv/linux/connect.S: Likewise.
18442 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18443 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18444 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18445 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18446 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18447 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18448 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18449 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18450 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18451 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18452 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18453 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18454 * sysdeps/unix/sysv/linux/listen.S: Likewise.
18455 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18456 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18457 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18458 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18461 * sysdeps/unix/sysv/linux/recv.S: Likewise.
18462 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18463 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18464 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18465 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18466 * sysdeps/unix/sysv/linux/send.S: Likewise.
18467 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18468 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18469 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18470 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18471 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18472 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18473 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18474 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18475 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18476 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18477 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18478 socketcall is implemented in GLIBC.
18479
18480 2015-05-22 Joseph Myers <joseph@codesourcery.com>
18481
18482 * soft-fp/fmadf4.c: Include <libc-internal.h>.
18483 (__fma): Ignore uninitialized warnings around packing.
18484 * soft-fp/fmasf4.c: Include <libc-internal.h>.
18485 (__fmaf): Ignore uninitialized warnings around packing.
18486 * soft-fp/fmatf4.c: Include <libc-internal.h>.
18487 (__fmal): Ignore uninitialized warnings around packing.
18488
18489 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18490 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18491 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18492 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18493
18494 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18495 switch statement into default case.
18496 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18497
18498 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18499 a conditional in forcing "inexact".
18500 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18501 Likewise.
18502
18503 2015-05-22 Roland McGrath <roland@hack.frob.com>
18504
18505 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18506 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18507 for each INTERNAL_SYSCALL use.
18508
18509 2015-05-22 Joseph Myers <joseph@codesourcery.com>
18510
18511 [BZ #438]
18512 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18513 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18514 variable.
18515
18516 [BZ #18444]
18517 * string/basename.c (basename): Rename to __basename and define as
18518 weak alias of __basename. Use libc_hidden_weak.
18519 * include/string.h (__basename): Declare. Use libc_hidden_proto.
18520 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18521 __basename instead of basename.
18522 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18523 Remove variable.
18524 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18525
18526 2015-05-18 Florian Weimer <fweimer@redhat.com>
18527
18528 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18529 (_IO_JUMPS_FILE_plus): New.
18530 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18531 _IO_CAST_FIELD_ACCESS.
18532 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18533 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18534 * libio/freopen.c (freopen): Likewise.
18535 * libio/freopen64.c (freopen64): Likewise.
18536 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18537 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18538 * libio/iofwide.c (_IO_fwide): Likewise.
18539 * libio/memstream.c (open_memstream): Likewise.
18540 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18541 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18542 * libio/oldiopopen.c (_IO_old_popen): Likewise.
18543
18544 2015-05-21 Joseph Myers <joseph@codesourcery.com>
18545
18546 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18547 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18548 NADJ.
18549 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18550 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18551 NADJ.
18552 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18553 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18554 NADJ.
18555
18556 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18557 (p == 4) case.
18558
18559 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18560 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18561 Remove variable.
18562 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18563 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18564 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18565
18566 2015-05-21 Florian Weimer <fweimer@redhat.com>
18567
18568 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18569 Adjust jump table label generation macros.
18570
18571 2015-05-21 Florian Weimer <fweimer@redhat.com>
18572
18573 * stdio-common/vfprintf.c (vfprintf): Move local variables
18574 args_malloced, specs, specs_malloced, and the code after
18575 do_positional to the printf_positional function.
18576 (printf_positional): New function.
18577
18578 2015-05-21 Florian Weimer <fweimer@redhat.com>
18579
18580 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18581 function.
18582 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18583 STEP4_TABLE, process_arg): Move macro definitions
18584 out of the vfprintf function. (Cosmetic change only.)
18585
18586 2015-05-21 Carlos O'Donell <carlos@redhat.com>
18587
18588 * benchtests/Makefile (stdio-common-bench): Define.
18589 (benchset): Add stdio-common-bench.
18590 * sprintf-inputs: New file.
18591 * sprintf-source.c: New file.
18592
18593 2015-05-21 Andreas Schwab <schwab@suse.de>
18594
18595 [BZ #13028]
18596 [BZ #17053]
18597 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18598 of struct __res_state.
18599 * resolv/res_send.c (__libc_res_nsend): Likewise.
18600 (get_nsaddr): New function.
18601 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18602 statp directly.
18603
18604 2015-05-20 Joseph Myers <joseph@codesourcery.com>
18605
18606 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18607 -D_POSIX_C_SOURCE=199506L.
18608
18609 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18610
18611 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18612 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18613 Do not mention otherwise.
18614 [POSIX] (_XOPEN_VERSION): Do not expect.
18615 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18616 [POSIX] (_POSIX2_C_BIND): Likewise.
18617 [POSIX] (_POSIX2_VERSION): Likewise.
18618 [POSIX] (_XOPEN_XPG2): Likewise.
18619 [POSIX] (_XOPEN_XPG3): Likewise.
18620 [POSIX] (_XOPEN_XPG4): Likewise.
18621 [POSIX] (_XOPEN_UNIX): Likewise.
18622 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18623 [POSIX] (_POSIX_BARRIERS): Likewise.
18624 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18625 [POSIX] (_POSIX_CPUTIME): Likewise.
18626 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18627 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18628 [POSIX] (_POSIX_SHELL): Likewise.
18629 [POSIX] (_POSIX_SPAWN): Likewise.
18630 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18631 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18632 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18633 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18634 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18635 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18636 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18637 [POSIX] (_XBS5_LP64_OFF64): Likewise.
18638 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18639 [POSIX] (_POSIX_TIMEOUTS): Likewise.
18640 [POSIX] (_POSIX2_PBS): Likewise.
18641 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18642 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18643 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18644 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18645 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18646 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18647 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18648 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18649 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18650 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18651 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18652 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18653 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18654 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18655 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18656 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18657 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18658 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18659 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18660 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18661 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18662 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18663 [POSIX] (_SC_2_C_BIND): Likewise.
18664 [POSIX] (_SC_2_C_VERSION): Likewise.
18665 [POSIX] (_SC_2_PBS): Likewise.
18666 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18667 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18668 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18669 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18670 [POSIX] (_SC_2_PBS_TRACK): Likewise.
18671 [POSIX] (_SC_ATEXIT_MAX): Likewise.
18672 [POSIX] (_SC_BARRIERS): Likewise.
18673 [POSIX] (_SC_BASE): Likewise.
18674 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18675 [POSIX] (_SC_DEVICE_IO): Likewise.
18676 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18677 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18678 [POSIX] (_SC_FD_MGMT): Likewise.
18679 [POSIX] (_SC_FIFO): Likewise.
18680 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18681 [POSIX] (_SC_FILE_LOCKING): Likewise.
18682 [POSIX] (_SC_FILE_SYSTEM): Likewise.
18683 [POSIX] (_SC_IOV_MAX): Likewise.
18684 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18685 [POSIX] (_SC_NETWORKING): Likewise.
18686 [POSIX] (_SC_PAGE_SIZE): Likewise.
18687 [POSIX] (_SC_PASS_MAX): Likewise.
18688 [POSIX] (_SC_PIPE): Likewise.
18689 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18690 [POSIX] (_SC_REGEXP): Likewise.
18691 [POSIX] (_SC_SHELL): Likewise.
18692 [POSIX] (_SC_SIGNALS): Likewise.
18693 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18694 [POSIX] (_SC_SPIN_LOCKS): Likewise.
18695 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18696 [POSIX] (_SC_USER_GROUPS): Likewise.
18697 [POSIX] (_SC_USER_GROUPS_R): Likewise.
18698 [POSIX] (_SC_STREAMS): Likewise.
18699 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18700 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18701 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18702 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18703 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18704 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18705 [POSIX] (_PC_FILESIZEBITS): Likewise.
18706 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18707 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18708 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18709 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18710 [POSIX] (uid_t): Likewise.
18711 [POSIX] (gid_t): Likewise.
18712 [POSIX] (off_t): Likewise.
18713 [POSIX] (pid_t): Likewise.
18714 [POSIX] (cuserid): Allow.
18715 (_SC_2_CHAR_TERM): Require constant.
18716 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18717 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18718 variable.
18719
18720 2015-05-20 Roland McGrath <roland@hack.frob.com>
18721
18722 * sysdeps/nacl/pthread-pids.h: New file.
18723 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18724 (create_thread): Use __nacl_get_tid to initialize PD->tid.
18725
18726 * nptl/pthread-pids.h: New file.
18727 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18728 * nptl/nptl-init.c: Include <pthread-pids.h>.
18729 (__pthread_initialize_minimal_internal):
18730 Call __pthread_initialize_pids instead of set_tid_address syscall.
18731
18732 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18733 * sysdeps/posix/usleep.c: ... here.
18734
18735 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18736
18737 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18738 call_pselect6 object.
18739 [$(subdir) = io]: Remove call_sync_file_range object.
18740 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18741 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18742 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18743 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18744
18745 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
18746
18747 * math/s_cproj.c: Add include "math_private.h".
18748 * math/s_cprojf.c: Likewise.
18749 * math/s_cprojl.c: Likewise.
18750
18751 2015-05-19 Joseph Myers <joseph@codesourcery.com>
18752
18753 [BZ #18244]
18754 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18755 high mantissa bit when testing whether P is a NaN.
18756 * math/libm-test.inc (remainder_test_data): Add more tests.
18757 (remquo_test_data): Likewise.
18758
18759 [BZ #18049]
18760 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18761 below -32, return the argument, with underflow if subnormal.
18762 * math/auto-libm-test-in: Add more tests of atanh.
18763 * math/auto-libm-test-out: Regenerated.
18764
18765 2015-05-19 Roland McGrath <roland@hack.frob.com>
18766
18767 [BZ #18434]
18768 * nptl/tst-sem15.c: New file.
18769 * nptl/Makefile (tests): Add it.
18770 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18771 s/<</>>/ to fix typo in EOVERFLOW check.
18772 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18773
18774 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18775
18776 * manual/strings.texi (envz_remove): Fix typo in safety
18777 annotations.
18778
18779 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
18780 Steve Ellcey <sellcey@imgtec.com>
18781
18782 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18783 in order to avoid strict alias warnings.
18784 (iruserok_af): Ditto for ra.
18785
18786 2015-05-19 James Lemke <jwlemke@codesourcery.com>
18787
18788 [BZ #17581]
18789 * malloc/hooks.c
18790 (magicbyte): Convert to a function and avoid returning 0x01.
18791 (mem2mem_check): Avoid using a length byte equal to the magic byte.
18792 (mem2chunk_check): Fix unsigned comparisons to zero.
18793 Hoist defs of sz and magic.
18794
18795 2015-05-19 Richard Henderson <rth@redhat.com>
18796
18797 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18798
18799 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18800
18801 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18802
18803 [BZ #16159]
18804 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18805 * malloc/arena.c (arena_lock): Check if arena is corrupt.
18806 (reused_arena): Find a non-corrupt arena.
18807 (heap_trim): Pass arena to unlink.
18808 * malloc/hooks.c (malloc_check_get_size): Pass arena to
18809 malloc_printerr.
18810 (top_check): Likewise.
18811 (free_check): Likewise.
18812 (realloc_check): Likewise.
18813 * malloc/malloc.c (malloc_printerr): Add arena argument.
18814 (unlink): Likewise.
18815 (munmap_chunk): Adjust.
18816 (ARENA_CORRUPTION_BIT): New macro.
18817 (arena_is_corrupt): Likewise.
18818 (set_arena_corrupt): Likewise.
18819 (sysmalloc): Use mmap if there are no usable arenas.
18820 (_int_malloc): Likewise.
18821 (__libc_malloc): Don't fail if arena_get returns NULL.
18822 (_mid_memalign): Likewise.
18823 (__libc_calloc): Likewise.
18824 (__libc_realloc): Adjust for additional argument to
18825 malloc_printerr.
18826 (_int_free): Likewise.
18827 (malloc_consolidate): Likewise.
18828 (_int_realloc): Likewise.
18829 (_int_memalign): Don't touch corrupt arenas.
18830 * malloc/tst-malloc-backtrace.c: New test case.
18831
18832 * Makefile (summarize-tests): Fix return value on success.
18833
18834 * manual/string.texi (Envz Functions): Add envz_remove.
18835
18836 2015-05-18 Roland McGrath <roland@hack.frob.com>
18837
18838 * sysdeps/posix/opendir.c: Include <stdbool.h>.
18839 (invalid_name): New function, broken out of ...
18840 (__opendirat): ... here. Call it.
18841 (need_isdir_precheck): New function, broken out of ...
18842 (__opendirat): ... here. Call it.
18843 Use __fxstatat64, not __xstatat64.
18844 (opendir_oflags): New function, broken out of ...
18845 (__opendirat): ... here. Call it.
18846 (opendir_tail): New function, broken out of ...
18847 (__opendirat): ... here. Call it.
18848 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18849 opendir_tail, rather than punting to __opendirat.
18850 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18851
18852 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18853
18854 * .gitignore: Ignore generated *.pyc.
18855
18856 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
18857
18858 * include/stdio.h: Define __need_wint_t.
18859 * test-skeleton.c: Avoid `for' loop initial declaration.
18860 * nptl/tst-initializers1.c: Use test-skeleton.c.
18861
18862 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18863
18864 [BZ #18418]
18865 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18866
18867 2015-05-15 Joseph Myers <joseph@codesourcery.com>
18868
18869 [BZ #16352]
18870 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18871 (__ieee754_atanh): Force underflow exception for results with
18872 small absolute value.
18873 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18874 (__ieee754_atanhf): Force underflow exception for results with
18875 small absolute value.
18876 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18877 (__ieee754_atanh): Force underflow exception for results with
18878 small absolute value.
18879 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18880 (__ieee754_atanhf): Force underflow exception for results with
18881 small absolute value.
18882 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18883 (__ieee754_atanhl): Force underflow exception for results with
18884 small absolute value.
18885 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18886 (__ieee754_atanhl): Force underflow exception for results with
18887 small absolute value.
18888 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18889 (__ieee754_atanhl): Force underflow exception for results with
18890 small absolute value.
18891 * math/auto-libm-test-in: Do not allow missing underflow
18892 exceptions from atanh.
18893 * math/auto-libm-test-out: Regenerated.
18894
18895 [BZ #18221]
18896 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18897 2**-28 as threshold for returning x or +/- 1/x.
18898 * math/auto-libm-test-in: Add more tests of tan.
18899 * math/auto-libm-test-out: Regenerated.
18900
18901 [BZ #18220]
18902 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18903 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18904 * math/auto-libm-test-in: Add another test of lgamma.
18905 * math/auto-libm-test-out: Regenerated.
18906
18907 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
18908
18909 * stdio-common/printf_fp.c (___printf_fp): Use abs.
18910 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
18911 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18912 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18913 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
18914 (ADD2A): Use fabs. (SUB2A): Use fabs.
18915 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18916 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18917 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18918 (log1): Use fabs. (my_log2): Use fabs.
18919 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18920 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18921 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18922 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18923 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18924 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
18925 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
18926 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
18927 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
18928 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18929 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18930
18931 2015-05-15 Joseph Myers <joseph@codesourcery.com>
18932
18933 [BZ #18217]
18934 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18935 as threshold for returning 1 - x.
18936 * math/auto-libm-test-in: Add more tests of erfc.
18937 * math/auto-libm-test-out: Regenerated.
18938
18939 2015-05-14 Joseph Myers <joseph@codesourcery.com>
18940
18941 [BZ #18196]
18942 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18943 threshold for large arguments.
18944 * math/auto-libm-test-in: Add another test of atan.
18945 * math/auto-libm-test-out: Regenerated.
18946
18947 [BZ #16339]
18948 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18949 (__log1p): Force underflow exception for results with small
18950 absolute value.
18951 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18952 (__log1pf): Force underflow exception for results with small
18953 absolute value.
18954 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18955 (__log1p): Force underflow exception for results with small
18956 absolute value.
18957 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18958 (__log1pf): Force underflow exception for results with small
18959 absolute value.
18960 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18961 (__log1pl): Force underflow exception for results with small
18962 absolute value.
18963 * math/auto-libm-test-in: Do not allow missing underflow
18964 exceptions from log1p.
18965 * math/auto-libm-test-out: Regenerated.
18966
18967 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
18968 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18969
18970 [BZ #16704]
18971 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18972
18973 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
18974
18975 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18976 (libmvec): New variable.
18977 * configure.ac: Added option for mathvec build.
18978 * configure: Regenerated.
18979 * mathvec/Depend: New file.
18980 * mathvec/Makefile: New file.
18981 * shlib-versions: Added libmvec.
18982 * math/Makefile: Added rule for libm.so installation.
18983
18984 * bits/math-vector.h: New file.
18985 * bits/libm-simd-decl-stubs.h: New header.
18986 * math/Makefile (headers): Added new header
18987 libm-simd-decl-stubs.h.
18988 * math/math.h (__MATHCALL_VEC): New macro.
18989
18990 * math/gen-libm-have-vector-test.sh: Script generates series of macros
18991 for conditions in testing functions.
18992 * math/Makefile: Added call of libm-have-vector-test.sh.
18993 * math/libm-test.inc (HAVE_VECTOR): New macros.
18994
18995 * math/libm-test.inc: START refactored.
18996 * math/test-double.c (TEST_MATHVEC): Add define.
18997 * math/test-float.c: Likewise.
18998 * math/test-idouble.c: Likewise.
18999 * math/test-ifloat.c: Likewise.
19000 * math/test-ildoubl.c: Likewise.
19001 * math/test-ldouble.c: Likewise.
19002 * sysdeps/generic/math-tests-arch.h
19003 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19004 architecture check.
19005
19006 * math/test-double.c (FUNC_TEST): New macro.
19007 * math/test-float.c: Likewise.
19008 * math/test-idouble.c: Likewise.
19009 * math/test-ifloat.c: Likewise.
19010 * math/test-ildoubl.c: Likewise.
19011 * math/test-ldouble.c: Likewise.
19012 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
19013
19014 2015-05-13 Roland McGrath <roland@hack.frob.com>
19015
19016 * sysdeps/nacl/fdopendir.c: New file.
19017
19018 * dirent/scandir-tail.c: New file.
19019 * dirent/scandir64-tail.c: New file.
19020 * dirent/Makefile (routines): Add them.
19021 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
19022 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
19023 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
19024 [!SCANDIR] (SCANDIR_TAIL): New macro.
19025 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
19026 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
19027 (SCANDIRAT): Macro removed.
19028 (SCANDIR_TAIL): New macro.
19029 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
19030 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
19031 (SCANDIRAT): Just call __opendirat and __scandir_tail.
19032 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
19033 (READDIR): Macro removed.
19034 (SCANDIR_TAIL): New macro.
19035 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19036 (SCANDIR_TAIL): New macro.
19037
19038 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
19039 * dirent/scandir-cancel.c: ... to this new file.
19040 * dirent/Makefile (routines): Add it.
19041 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
19042 * sysdeps/unix/sysv/linux/i386/scandir64.c
19043 (SKIP_SCANDIR_CANCEL): Macro removed.
19044 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
19045
19046 * dirent/tst-scandir.c: New file.
19047 * dirent/tst-scandir64.c: New file.
19048 * dirent/Makefile (tests): Add them.
19049
19050 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
19051
19052 [BZ #18409]
19053 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
19054
19055 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
19056
19057 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
19058 list.
19059
19060 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
19061
19062 * benchtests/bench-strcoll.c: New benchmark.
19063 * benchtests/Makefile: Generate locales and run benchmark.
19064 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
19065 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19066 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
19067 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
19068 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
19069 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
19070 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
19071 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
19072 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
19073 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
19074 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
19075 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
19076 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
19077 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
19078 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
19079 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
19080 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
19081 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
19082 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
19083 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
19084 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
19085 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
19086 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
19087 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
19088
19089 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
19090
19091 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
19092 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19093
19094 2015-05-12 Roland McGrath <roland@hack.frob.com>
19095
19096 * posix/uname-values.h: New file.
19097 * posix/uname.c: Include that instead of <config-name.h>.
19098 * sysdeps/nacl/uname-values.h: New file.
19099 * sysdeps/arm/nacl/uname-values.h: New file.
19100
19101 2015-05-12 Joseph Myers <joseph@codesourcery.com>
19102
19103 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
19104 splitting into fields.
19105
19106 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
19107
19108 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
19109 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
19110 * locale/localeinfo.h: Add enum collation_encoding_type.
19111 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
19112 * programs/ld-collate.c (collate_output): Add encoding type info.
19113 * string/strcoll_l.c (STRDIFF): New function.
19114 * (STRCOLL): Use STRDIFF to skip over equal prefix.
19115 * wcsmbs/wcscoll_l.c: Define STRDIFF.
19116
19117 2015-05-11 Joseph Myers <joseph@codesourcery.com>
19118
19119 [BZ #18397]
19120 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
19121 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
19122 <fpu_control.h> instead of <math/fpu_control.c>.
19123 * sysdeps/mips/mips32/fpu/Makefile: New file.
19124
19125 2015-05-11 Andreas Schwab <schwab@suse.de>
19126
19127 [BZ #18007]
19128 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19129 nss_endgrent.
19130 (_nss_compat_endgrent): Call nss_endgrent.
19131 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19132 nss_endpwent.
19133 (_nss_compat_endpwent): Call nss_endpwent.
19134 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19135 needent, call nss_setspent only if non-zero.
19136 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19137 (internal_endspent): Don't call nss_endspent.
19138 (_nss_compat_endspent): Call nss_endspent.
19139 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19140 Remove. All uses removed.
19141 (internal_setent): Remove parameter stayopen, add parameter
19142 stream. Use it instead of global variable.
19143 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19144 (internal_endent, internal_getent): Add parameter stream. Use it
19145 instead of global variable.
19146 (CONCAT(_nss_files_end,ENTNAME))
19147 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19148 (_nss_files_get##name##_r): Pass local stream. Remove locking.
19149 * nss/nss_files/files-alias.c (position, last_use): Remove. All
19150 uses removed.
19151 (internal_setent, internal_endent): Add parameter stream. Use it
19152 instead of global variable.
19153 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19154 stream.
19155 (get_next_alias): Add parameter stream.
19156 (_nss_files_getaliasent_r): Pass global stream.
19157 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
19158 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19159 (_nss_files_gethostbyname4_r): Pass local stream to
19160 internal_setent, internal_getent and internal_endent. Remove
19161 locking.
19162
19163 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19164
19165 * tst-strfmon1.c (tests): Update expected currency symbol.
19166
19167 2015-05-08 Roland McGrath <roland@hack.frob.com>
19168
19169 * sysdeps/nacl/gethostname.c: New file.
19170
19171 2015-05-08 Joseph Myers <joseph@codesourcery.com>
19172
19173 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19174 and sinh.
19175 * math/auto-libm-test-out: Regenerated.
19176 * sysdeps/i386/fpu/libm-test-ulps: Update.
19177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19178
19179 2015-05-08 Carlos O'Donell <carlos@redhat.com>
19180
19181 [BZ #18125]
19182 * stdlib/tst-setcontext3.c: New file.
19183 * stdlib/tst-setcontext3.sh: New file.
19184 * stdlib/Makefile (tests): Add tst-setcontext3.
19185 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19186 to verify test program created output file.
19187 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19188 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19189 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19190 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19191
19192 2015-05-06 Roland McGrath <roland@hack.frob.com>
19193
19194 [BZ #18383]
19195 * elf/tst-tlsalign.c: New file.
19196 * elf/tst-tlsalign-static.c: New file.
19197 * elf/tst-tlsalign-lib.c: New file.
19198 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19199 (tests-static): Add tst-tlsalign-static.
19200 (modules-names): Add tst-tlsalign-lib.
19201 (test-xfail-tst-tlsalign): New variable.
19202 (test-xfail-tst-tlsalign-static): New variable.
19203
19204 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19205 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19206
19207 2015-05-06 Joseph Myers <joseph@codesourcery.com>
19208
19209 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19210 csqrt, erfc, sin and sincos.
19211 * math/auto-libm-test-out: Regenerated.
19212 * sysdeps/i386/fpu/libm-test-ulps: Update.
19213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19214
19215 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
19216
19217 * sysdeps/aarch64/libm-test-ulps: Update.
19218
19219 2015-05-05 Joseph Myers <joseph@codesourcery.com>
19220
19221 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19222 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19223 * math/auto-libm-test-out: Regenerated.
19224 * sysdeps/i386/fpu/libm-test-ulps: Update.
19225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19226
19227 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
19228
19229 [BZ #18265]
19230 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19231 (wcsncpy): Likewise.
19232
19233 2015-05-05 Florian Weimer <fweimer@redhat.com>
19234
19235 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19236 Assume __ASSUME_FALLOCATE is always true.
19237 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19238 (__posix_fallocate64_l64): Likweise.
19239 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19240 (posix_fallocate): Likewise.
19241 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19242 (__posix_fallocate64_l64): Likewise.
19243 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19244 [!__ASSUME_FALLOCATE]: Add comment.
19245
19246 2015-05-05 Florian Weimer <fweimer@redhat.com>
19247
19248 * sysdeps/unix/sysv/linux/i386/Makefile
19249 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19250 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19251 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19252 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19253 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19254 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19255 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19256
19257 2015-05-02 Joseph Myers <joseph@codesourcery.com>
19258
19259 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19260 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19261 tgamma.
19262 * math/auto-libm-test-out: Regenerated.
19263 * sysdeps/i386/fpu/libm-test-ulps: Update.
19264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19265
19266 2015-05-01 Joseph Myers <joseph@codesourcery.com>
19267
19268 * math/auto-libm-test-in: Add more tests of tgamma.
19269 * math/auto-libm-test-out: Regenerated.
19270 * sysdeps/i386/fpu/libm-test-ulps: Update.
19271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19272
19273 * math/auto-libm-test-in: Add more tests of tanh.
19274 * math/auto-libm-test-out: Regenerated.
19275 * sysdeps/i386/fpu/libm-test-ulps: Update.
19276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19277
19278 * math/auto-libm-test-in: Add more tests of tan.
19279 * math/auto-libm-test-out: Regenerated.
19280 * sysdeps/i386/fpu/libm-test-ulps: Update.
19281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19282
19283 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
19284 * math/auto-libm-test-out: Regenerated.
19285 * sysdeps/i386/fpu/libm-test-ulps: Update.
19286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19287
19288 * math/auto-libm-test-in: Add another test of pow.
19289 * math/auto-libm-test-out: Regenerated.
19290 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19291
19292 * math/auto-libm-test-in: Add more tests of lgamma.
19293 * math/auto-libm-test-out: Regenerated.
19294 * sysdeps/i386/fpu/libm-test-ulps: Update.
19295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19296
19297 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
19298 log1p.
19299 * math/auto-libm-test-out: Regenerated.
19300 * sysdeps/i386/fpu/libm-test-ulps: Update.
19301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19302
19303 2015-05-01 Mark Wielaard <mjw@redhat.com>
19304
19305 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
19306 Elf64_Chdr structs and ELFCOMPRESS constants.
19307
19308 2015-05-01 Joseph Myers <joseph@codesourcery.com>
19309
19310 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
19311 expm1.
19312 * math/auto-libm-test-out: Regenerated.
19313 * sysdeps/i386/fpu/libm-test-ulps: Update.
19314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19315
19316 * math/auto-libm-test-in: Add more tests of erf and erfc.
19317 * math/auto-libm-test-out: Regenerated.
19318 * sysdeps/i386/fpu/libm-test-ulps: Update.
19319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19320
19321 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
19322
19323 * config.h.in (HAVE_AARCH64_BE): Add.
19324
19325 2015-04-30 Joseph Myers <joseph@codesourcery.com>
19326
19327 * math/auto-libm-test-in: Add more tests of csqrt.
19328 * math/auto-libm-test-out: Regenerated.
19329 * sysdeps/i386/fpu/libm-test-ulps: Update.
19330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19331
19332 * math/auto-libm-test-in: Add more tests of cosh and sinh.
19333 * math/auto-libm-test-out: Regenerated.
19334 * sysdeps/i386/fpu/libm-test-ulps: Update.
19335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19336
19337 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
19338
19339 2015-04-29 Roland McGrath <roland@hack.frob.com>
19340
19341 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
19342 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
19343
19344 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
19345 (euidaccess, eaccess): Define as weak aliases.
19346
19347 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
19348 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
19349 but __suseconds_t is often 'long int' so some sources assume that
19350 type is being used (e.g. they use %ld to print tv_usec).
19351
19352 2015-04-29 Florian Weimer <fweimer@redhat.com>
19353
19354 [BZ #18007]
19355 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
19356 (CVE-2014-8121)
19357 * nss/tst-nss-getpwent.c: New file.
19358 * nss/Makefile (tests): Add new test.
19359
19360 2015-04-28 Joseph Myers <joseph@codesourcery.com>
19361
19362 [BZ #18346]
19363 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
19364 exponents less than 48 as cases where high part of mantissa needs
19365 examining to determine whether argument is integral.
19366 * math/libm-test.inc (round_test_data): Add more tests.
19367
19368 2015-04-28 Mark Wielaard <mjw@redhat.com>
19369
19370 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
19371
19372 2015-04-27 David S. Miller <davem@davemloft.net>
19373
19374 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19375 __tls_get_addr.
19376 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19377
19378 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
19379
19380 [BZ#18333]
19381 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19382
19383 2015-04-27 Florian Weimer <fweimer@redhat.com>
19384
19385 [BZ#18333]
19386 * time/tzset.c (parse_tzname): Return error on memory allocation
19387 failure.
19388 * test-skeleton.c (struct temp_name_list): Change type of name
19389 member to non-const.
19390 (add_temp_file): Create a copy of the file name.
19391 (delete_temp_files): Deallocate memory.
19392 (create_temp_file): Add comment.
19393
19394 2015-04-24 Florian Weimer <fweimer@redhat.com>
19395
19396 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19397 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19398
19399 2015-04-24 Roland McGrath <roland@hack.frob.com>
19400
19401 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19402 * sysdeps/arm/configure: Regenerated.
19403
19404 2015-04-24 Florian Weimer <fweimer@redhat.com>
19405
19406 [BZ #17715]
19407 * time/tzfile.c (__tzfile_read): Check for large values of
19408 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
19409 * time/tzset.c (__tzstring_len): New function, based on the old
19410 __tzstring function.
19411 (__tzstring): Call __tzstring_len.
19412 (parse_tzname): New helper function extracted from
19413 __tzset_parse_tz. Call __tzstring_len, without making a copy of
19414 the input string.
19415 (parse_offset): New helper function extracted from
19416 __tzset_parse_tz. Replace switch with fallthrough with
19417 initialization before sscanf.
19418 (parse_rule): Likewise.
19419 (__tzset_parse_tz): Rewrite using the new helper functions. Use
19420 new-style function definition.
19421 * timezone/Makefile (tests): Add tst-tzset.
19422 (tst-tzset.out): Dependencies on time zone files.
19423 (tst-tzset-ENV): Set TZDIR.
19424 (testdata/XT%): Copy crafted time zone files.
19425 * timezone/README: Mention crafted time zone files.
19426 * timezone/testdata/XT1, timezone/testdata/XT2,
19427 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19428 files.
19429 * timezone/tst-tzset.c: New test.
19430
19431 2015-04-24 Florian Weimer <fweimer@redhat.com>
19432
19433 * Makeconfig (+gccwarn): Remove -Winline.
19434
19435 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19436
19437 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19438
19439 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19440
19441 * NEWS: Mention sysconf() cache information support for s390.
19442 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19443
19444 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
19445
19446 * math/k_casinh.c (__kernel_casinh): Use __copysign.
19447 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19448 (__nearbyint): Likewise.
19449 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19450 (copysignl): Likewise.
19451
19452 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
19453
19454 [BZ #18287]
19455 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19456 based on padding. (CVE-2015-1781)
19457
19458 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19459
19460 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19461 libc-vdso.h.
19462 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19463 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19464 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19465 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19466 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19467 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19468 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19469 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19470 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19471 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19472 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19473 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19474 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19475 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19476 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19477 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19478 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19479 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19480 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19481 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19482 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19483 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19484 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19485
19486 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
19487
19488 * stdlib/setenv.c (__add_to_environ):
19489 Dump core quickly if setenv (..., NULL, ...) is called.
19490 This time, do it the right way, and pacify GCC with a pragma.
19491
19492 2015-04-17 Roland McGrath <roland@hack.frob.com>
19493
19494 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19495 IMAP->l_prev cannot be null, and #if out the code for the contrary
19496 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19497 believe that NS (&_dl_ns[NSID]) could point outside the array.
19498
19499 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19500 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19501 before using NSID as an index.
19502
19503 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
19504
19505 [BZ #17825]
19506 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19507 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19508 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19509
19510 2015-04-17 Roland McGrath <roland@hack.frob.com>
19511
19512 Add preliminary port to Google Native Client on ARM.
19513 * abi-tags (.*-.*-nacl.*): New entry.
19514 * sysdeps/arm/nacl: New directory.
19515 * sysdeps/nacl: New directory.
19516
19517 2015-04-16 David S. Miller <davem@davemloft.net>
19518
19519 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19520 lowlevellock-futex.h
19521
19522 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
19523
19524 * sysdeps/tile/configure.ac: New file.
19525 * sysdeps/tile/configure: Regenerated.
19526
19527 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19528
19529 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
19530 conditionals for weak_alias and libc_hidden_weak.
19531 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19532 libc_hidden_weak and weak_alias.
19533 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19534 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19535 and weak_alias for static one.
19536
19537 2015-04-15 David S. Miller <davem@davemloft.net>
19538
19539 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19540
19541 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19542
19543 [BZ #18206]
19544 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19545 Use signed comparision instead of substraction to avoid
19546 overflow bug.
19547 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19548 Take the sign of ret.
19549 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19550 Do not expect precise return values. Only the sign matters.
19551 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19552 * wcsmbs/test-wcsncmp.c: New File.
19553 * string/test-strncmp.c: Add wcsncmp support.
19554
19555 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19556
19557 [BZ #6792]
19558 * math/w_log1p.c: New file.
19559 * math/w_log1pf.c: Likewise.
19560 * math/w_log1pl.c: Likewise.
19561 * math/Makefile (libm-calls): Add w_log1p.
19562 * math/s_log1pl.c (log1pl): Remove weak_alias.
19563 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19564 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19565 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19566 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19567 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19568 [NO_LONG_DOUBLE] (log1pl): Likewise.
19569 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19570 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19571 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19572 (log1p): Remove long_double_symbol.
19573 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19574 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19575 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19576 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19577 remove weak_alias for corresponding log1p function.
19578 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19579 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19580 * sysdeps/ia64/fpu/w_log1p.c: New file.
19581 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19582 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19583 * math/libm-test.inc (log1p_test_data): Add errno expectations.
19584
19585 2015-04-10 Joseph Myers <joseph@codesourcery.com>
19586
19587 [BZ #18247]
19588 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19589 decimal exponent by 1.
19590 * stdlib/tst-strtod-round-data: Add more tests.
19591 * stdlib/tst-strtod-round.c (tests): Regenerated.
19592
19593 2015-04-09 Joseph Myers <joseph@codesourcery.com>
19594
19595 * math/auto-libm-test-in: Add more tests of clog and clog10.
19596 * math/auto-libm-test-out: Regenerated.
19597 * sysdeps/i386/fpu/libm-test-ulps: Update.
19598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19599
19600 2015-04-09 Roland McGrath <roland@hack.frob.com>
19601
19602 * Makeconfig (module-cppflags): Exclude all .v.i files.
19603 (skip-module-cppflags): Variable removed.
19604
19605 * configure.ac (libc_config_ok): Initialize before reading
19606 preconfigure scripts, not after.
19607 * configure: Regenerated.
19608
19609 * test-skeleton.c (TIMEOUT): Move #define to top level.
19610 (main): Grok environment variable TEST_DIRECT. If set, print
19611 test expectation details into that file and then behave as if
19612 given --direct.
19613
19614 2015-04-09 Florian Weimer <fweimer@redhat.com>
19615
19616 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19617 warning on 32-bit.
19618
19619 2015-04-08 David S. Miller <davem@davemloft.net>
19620
19621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19622
19623 2015-04-08 Joseph Myers <joseph@codesourcery.com>
19624
19625 * math/auto-libm-test-in: Add more tests of atanh.
19626 * math/auto-libm-test-out: Regenerated.
19627 * sysdeps/i386/fpu/libm-test-ulps: Update.
19628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19629
19630 * math/auto-libm-test-in: Add more tests of atan.
19631 * math/auto-libm-test-out: Regenerated.
19632 * sysdeps/i386/fpu/libm-test-ulps: Update.
19633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19634
19635 2015-04-08 Florian Weimer <fweimer@redhat.com>
19636
19637 * elf/pldd.c (main): Rewrite to use struct
19638 scratch_buffer instead of extend_alloca.
19639 * elf/pldd-xx.c (find_maps): Likewise.
19640 * grp/initgroups.c: Include <scratch_buffer.h> instead of
19641 <alloca.h>.
19642 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19643 scratch_buffer instead of extend_alloca.
19644 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19645 grp/compat-initgroups.c.
19646 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19647 Rewrite to use struct scratch_buffer instead of extend_alloca.
19648 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19649 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19650
19651 2015-04-08 Joseph Myers <joseph@codesourcery.com>
19652
19653 * math/auto-libm-test-in: Add more tests of cbrt.
19654 * math/auto-libm-test-out: Regenerated.
19655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19656
19657 * math/auto-libm-test-in: Add more tests of cabs.
19658 * math/auto-libm-test-out: Regenerated.
19659 * sysdeps/i386/fpu/libm-test-ulps: Update.
19660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19661
19662 [BZ #18210]
19663 [BZ #18211]
19664 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19665 (__ieee754_atan2): Set FE_TONEAREST mode for internal
19666 computations.
19667 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19668 clog10.
19669 * math/auto-libm-test-out: Regenerated.
19670 * sysdeps/i386/fpu/libm-test-ulps: Update.
19671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19672
19673 [BZ #18197]
19674 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19675 (atan): Set FE_TONEAREST mode for internal computations.
19676 * math/auto-libm-test-in: Add more tests of atan.
19677 * math/auto-libm-test-out: Regenerated.
19678
19679 2015-04-07 James Cowgill <james410@cowgill.org.uk>
19680
19681 [BZ #17930]
19682 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19683
19684 2015-04-07 Florian Weimer <fweimer@redhat.com>
19685
19686 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19687
19688 2015-04-07 Florian Weimer <fweimer@redhat.com>
19689
19690 * include/scratch_buffer.h: New file.
19691 * malloc/scratch_buffer_grow.c: Likewise.
19692 * malloc/scratch_buffer_grow_preserve.c: Likewise.
19693 * malloc/scratch_buffer_set_array_size.c: Likewise.
19694 * malloc/tst-scratch_buffer.c: Likewise.
19695 * malloc/Makefile (routines): Add scratch_buffer_grow.
19696 (tests): Add test case.
19697 * malloc/Versions (GLIBC_PRIVATE): Export
19698 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19699 __libc_scratch_buffer_set_array_size.
19700
19701 2015-04-06 Richard Henderson <rth@redhat.com>
19702
19703 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19704 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19705
19706 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19707 unsigned int before printing.
19708
19709 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19710
19711 [BZ #17596]
19712 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19713 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19714
19715 2015-04-02 Florian Weimer <fweimer@redhat.com>
19716
19717 * include/libc-internal.h (libc_max_align_t): Define.
19718
19719 2015-04-02 Andreas Schwab <schwab@suse.de>
19720
19721 [BZ #16850]
19722 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19723
19724 2015-04-02 Mel Gorman <mgorman@suse.de>
19725
19726 [BZ #17195]
19727 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19728 as well as the main arena.
19729
19730 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
19731
19732 [BZ #18185]
19733 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19734 sharing L2 cache to 2 for Silvermont/Knights Landing.
19735
19736 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
19737
19738 [BZ #17711]
19739 * config.make.in (have-protected-data): New.
19740 * configure.ac: Check linker support for protected data symbol.
19741 * configure: Regenerated.
19742 * elf/Makefile (modules-names): Add tst-protected1moda and
19743 tst-protected1modb if $(have-protected-data) is yes.
19744 (tests): Add tst-protected1a and tst-protected1b if
19745 $(have-protected-data) is yes.
19746 ($(objpfx)tst-protected1a): New.
19747 ($(objpfx)tst-protected1b): Likewise.
19748 (tst-protected1modb.so-no-z-defs): Likewise.
19749 * elf/tst-protected1a.c: New file.
19750 * elf/tst-protected1b.c: Likewise.
19751 * elf/tst-protected1mod.h: Likewise.
19752 * elf/tst-protected1moda.c: Likewise.
19753 * elf/tst-protected1modb.c: Likewise.
19754
19755 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
19756
19757 [BZ #17711]
19758 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19759 indicates it is called from do_lookup_x on relocation against
19760 protected data, skip the data definion in the executable from
19761 copy reloc.
19762 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19763 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19764 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19765 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19766 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19767 otherwise to 0.
19768 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19769 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19770 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19771 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19772 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19773 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19774
19775 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
19776
19777 * sysdeps/nptl/pthread.h: Remove duplicate definition of
19778 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19779
19780 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
19781
19782 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19783 THREAD_SETMEM_NC.
19784 * sysdeps/x86_64/nptl/tls.h: Ditto.
19785
19786 2015-03-27 Roland McGrath <roland@hack.frob.com>
19787
19788 * dlfcn/tststatic.c (main): Converted to ...
19789 (do_test): ... this.
19790 (TEST_FUNCTION): New macro.
19791 Include test-skeleton.c.
19792
19793 2015-03-26 Alan Modra <amodra@gmail.com>
19794
19795 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19796 Don't segfault if ifunc resolver returns a NULL. Do set plt to
19797 zero for undefined weak.
19798 (elf_machine_plt_conflict): Similarly.
19799
19800 2015-03-25 Joseph Myers <joseph@codesourcery.com>
19801
19802 * math/auto-libm-test-in: Add more tests of acosh, asinh and
19803 atanh.
19804 * math/auto-libm-test-out: Regenerated.
19805 * sysdeps/i386/fpu/libm-test-ulps: Update.
19806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19807
19808 * math/auto-libm-test-in: Add another test of asin.
19809 * math/auto-libm-test-out: Regenerated.
19810 * sysdeps/i386/fpu/libm-test-ulps: Update.
19811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19812
19813 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19814 Remove macro.
19815 (LLL_EBX_REG): Likewise.
19816 (LLL_ENTER_KERNEL): Likewise.
19817
19818 * math/auto-libm-test-in: Add more tests of asin.
19819 * math/auto-libm-test-out: Regenerated.
19820 * sysdeps/i386/fpu/libm-test-ulps: Update.
19821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19822
19823 [BZ #18138]
19824 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19825 libc_do_syscall_args): New structure.
19826 (INTERNAL_SYSCALL_MAIN_0): New macro.
19827 (INTERNAL_SYSCALL_MAIN_1): Likewise.
19828 (INTERNAL_SYSCALL_MAIN_2): Likewise.
19829 (INTERNAL_SYSCALL_MAIN_3): Likewise.
19830 (INTERNAL_SYSCALL_MAIN_4): Likewise.
19831 (INTERNAL_SYSCALL_MAIN_5): Likewise.
19832 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
19833 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19834 Replace conditional definitions by conditional definitions of ....
19835 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
19836 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19837 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19838 (libpthread-sysdep_routines): Add libc-do-syscall.
19839 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19840 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19841 to __NR_futex not 240.
19842
19843 2015-03-25 Alan Modra <amodra@gmail.com>
19844
19845 * NEWS: Advertise TLS optimization.
19846 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19847 (DT_PPC_NUM): Increment.
19848 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19849 (CHECK_STATIC_TLS): Use here.
19850 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19851 TLS descriptors.
19852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19853 * sysdeps/powerpc/dl-tls.c: New file.
19854 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19855 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19856 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19857 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19861
19862 2015-03-25 Alan Modra <amodra@gmail.com>
19863
19864 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19865 for overlapping .opd entries" to "support...".
19866 * sysdeps/powerpc/powerpc64/configure: Regenerate
19867
19868 2015-03-25 Joseph Myers <joseph@codesourcery.com>
19869
19870 * math/auto-libm-test-in: Add more tests of acos.
19871 * math/auto-libm-test-out: Regenerated.
19872 * sysdeps/i386/fpu/libm-test-ulps: Update.
19873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19874
19875 * math/auto-libm-test-in: Add more tests of expm1.
19876 * math/auto-libm-test-out: Regenerated.
19877 * sysdeps/i386/fpu/libm-test-ulps: Update.
19878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19879
19880 2015-03-24 Joseph Myers <joseph@codesourcery.com>
19881
19882 * math/auto-libm-test-in: Add more tests of cosh and sinh.
19883 * math/auto-libm-test-out: Regenerated.
19884 * sysdeps/i386/fpu/libm-test-ulps: Update.
19885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19886
19887 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19889
19890 * math/auto-libm-test-in: Add more tests of log2.
19891 * math/auto-libm-test-out: Regenerated.
19892 * sysdeps/i386/fpu/libm-test-ulps: Update.
19893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19894
19895 2015-03-23 Roland McGrath <roland@hack.frob.com>
19896
19897 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19898 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
19899 _IO_IS_APPENDING bit in READ_WRITE instead.
19900
19901 2015-03-23 Florian Weimer <fweimer@redhat.com>
19902
19903 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19904 (__determine_cpumask_size): Replace extend_alloca with a
19905 variable-length array. Do not treat res == 0 as an error.
19906
19907 2015-03-23 Florian Weimer <fweimer@redhat.com>
19908
19909 [BZ #18100]
19910 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19911 and integer overflow.
19912 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19913 (main): Add integer overflow tests.
19914 * manual/pattern.texi (Calling Wordexp): Document additional use
19915 for WRDE_SYNTAX.
19916
19917 2015-03-23 Alan Modra <amodra@gmail.com>
19918
19919 * config.h.in: Remove HAVE_ASM_PPC_REL16.
19920 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19921 and false branch of conditional.
19922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19923 Likewise.
19924
19925 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
19926
19927 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19928 libc-modules.h
19929 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19930 unused declaration of _hurd_intr_rpc_msg_in_trap.
19931 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19932 defined instead of whether it is non-zero.
19933 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19934 input constraint instead of both input and output constraint. Use ecx
19935 clobber instead of %ecx.
19936 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19937 mutex_unlock): Use a statement expression instead of an expression list.
19938 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19939 type to vm_size_t instead of vm_address_t.
19940 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19941 defined instead of whether it is non-zero.
19942 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19943 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19944 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19945 comparisons with mapaddr.
19946 * nscd/nscd-client.h: Include <time.h>.
19947 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19948 9th parameter to __vm_region instead of int.
19949 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19950 * scripts/check-local-headers.sh (exclude): Add device/,
19951 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19952 cthreads.h.
19953
19954 2015-03-19 Roland McGrath <roland@hack.frob.com>
19955
19956 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19957 to account for alignment padding.
19958 * sysdeps/arm/memmove.S: Likewise.
19959
19960 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
19961
19962 * sysdeps/unix/sysv/linux/generic/README: New file.
19963
19964 2015-03-18 Joseph Myers <joseph@codesourcery.com>
19965
19966 [BZ #18138]
19967 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19968 (futex_abstimed_wait)
19969 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19970 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19971 of lll_futex_timed_wait.
19972
19973 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
19974
19975 [BZ #17542]
19976 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19977
19978 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
19979
19980 [BZ #17090]
19981 [BZ #17620]
19982 [BZ #17621]
19983 [BZ #17628]
19984 * NEWS: Update.
19985 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19986 entries with Static TLS too. Skip entries past the end of the
19987 allocated DTV, from Alan Modra.
19988 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
19989 Static TLS DTV entry set up from...
19990 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19991 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19992 * nptl/allocatestack.c (init_one_static_tls): ... and here...
19993 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19994 for Static TLS.
19995 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
19996 that the slot we find is associated with the given map before
19997 using its generation count.
19998 * nptl_db/db_info.c: Include ldsodefs.h.
19999 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20000 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20001 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20002 (link_map::l_tls_offset): New struct field.
20003 (dtv_t::counter): Likewise.
20004 (rtld_global): New struct.
20005 (_rtld_global): New rtld variable.
20006 (dl_tls_dtv_slotinfo_list): New rtld global field.
20007 (dtv_slotinfo_list): New struct.
20008 (dtv_slotinfo): Likewise.
20009 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20010 (td_lookup): Rename to...
20011 (td_mod_lookup): ... this. Use new mod parameter instead of
20012 LIBPTHREAD_SO.
20013 * nptl_db/td_thr_tlsbase.c: Include link.h.
20014 (dtv_slotinfo_list, dtv_slotinfo): New functions.
20015 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
20016 addresses even if the DTV is out of date or missing them.
20017 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
20018 index zero-length arrays.
20019 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
20020 (td_lookup): Make it a macro implemented in terms of...
20021 (td_mod_lookup): ... this declaration.
20022 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
20023 (DB_MAIN_VARIABLE): Likewise.
20024
20025 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
20026
20027 [BZ #18134]
20028 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20029
20030 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
20031
20032 * stdlib/setenv.c (__add_to_environ): Revert previous change.
20033
20034 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
20035
20036 [BZ #18128]
20037 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
20038 (atomic_add, atomic_increment_and_test)
20039 (atomic_decrement_and_test): Fix 64-bit arithmetic.
20040
20041 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
20042
20043 * stdlib/setenv.c (__add_to_environ):
20044 Dump core quickly if setenv (..., NULL, ...) is called.
20045
20046 2015-03-13 Roland McGrath <roland@hack.frob.com>
20047
20048 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
20049 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
20050 all the necessary asm magic in one place.
20051 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
20052 using those.
20053
20054 2015-03-13 Carlos O'Donell <carlos@redhat.com>
20055
20056 [BZ #14906]
20057 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
20058 traced file mtime. Use consistent log message.
20059 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20060 (register_traced_file): Call install_watches. Always set mtime.
20061 (invalidate_cache): Iterate over all trace files. Call install_watches.
20062 (inotify_check_files): Don't inline. Handle watching parent
20063 directories and configuration file movement in and out.
20064 (handle_inotify_events): New function.
20065 (main_loop_poll): Call handle_inotify_events.
20066 (main_loop_epoll): Likewise.
20067 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
20068 (struct traced_file): Use array of inotify fds. Add parent directory,
20069 and basename.
20070 (struct database_dyn): Remove unused file_mtime.
20071 (init_traced_file): New inline function.
20072 (define_traced_file): New macro.
20073 * nss/nss_db/db-init.c: Use define_traced_file.
20074 (_nss_db_init): Use init_traced_file.
20075 * nss/nss_files/files-init.c: Use define_traced_file.
20076 (_nss_files_init): Use init_traced_file.
20077
20078 2015-03-12 Joseph Myers <joseph@codesourcery.com>
20079
20080 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
20081 [_LIBC]: Do not include <stdlib.h>.
20082 [!_LIBC] (abort): Remove declaration.
20083 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
20084 _FP_STATIC_ASSERT instead of conditionally calling abort.
20085 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
20086 (_FP_EXTEND_CNAN): Likewise.
20087 (FP_TRUNC): Likewise.
20088 (__FP_CLZ): Likewise.
20089 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
20090
20091 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
20092
20093 * manual/string.texi (XPG basename): Fix prototype.
20094
20095 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20096
20097 [BZ #18080]
20098 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
20099 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20100 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
20101 (__setcontext): Likewise.
20102 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
20103 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20104 Call rt_sigprocmask syscall one time to set new signal mask
20105 and retrieve the current signal mask instead of two calls.
20106 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
20107 (__swapcontext): Likewise.
20108 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
20109 * stdlib/tst-setcontext2.c: New file.
20110
20111 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20112
20113 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20114
20115 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
20116
20117 [BZ #18093]
20118 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
20119 the wrong size.
20120
20121 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
20122
20123 [BZ #18043]
20124 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
20125
20126 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
20127
20128 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20129 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20130 Remove define.
20131 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20132 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20133 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20134 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20135 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20136 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20137 define.
20138 * nptl_db/td_symbol_list.c (td_lookup): Remove
20139 HAVE_ASM_GLOBAL_DOT_NAME code.
20140 * sysdeps/powerpc/powerpc64/configure.ac: Remove
20141 HAVE_ASM_GLOBAL_DOT_NAME check.
20142 * sysdeps/powerpc/powerpc64/configure: Regenerate.
20143 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20144 (DOT_LABEL): Remove define.
20145 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20146 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20147 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20148 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20149 (__TLS_GET_ADDR): Likewise.
20150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20151 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20152
20153 2015-03-11 Carlos O'Donell <carlos@redhat.com>
20154
20155 [BZ #18111]
20156 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20157 (_FPU_SETCW): Initialize cw from fpsr before storing.
20158 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20159 (fesetexceptflag): Rewrite using fpu_control.h.
20160 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20161
20162 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
20163
20164 [BZ #18110]
20165 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20166 asms.
20167 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20168
20169 2015-03-11 Joseph Myers <joseph@codesourcery.com>
20170
20171 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20172 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20173 abort.
20174 (_FP_FMA): Likewise.
20175 (_FP_DIV): Likewise.
20176
20177 2015-03-10 Roland McGrath <roland@hack.frob.com>
20178
20179 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20180 with 0 in that case.
20181 * Makefile (summarize-tests): New canned sequence, factored out of
20182 commands for targets tests and xtests. Display summary lines that
20183 don't start with PASS: or XFAIL: rather than ones that do start with
20184 ERROR: or FAIL:. Make the commands fail if any summary lines fail
20185 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20186 do start with ERROR: or FAIL:.
20187 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20188 (except for [$(build-shared) = yes]).
20189 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20190 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20191 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20192 * nptl/Makefile: Revert 2015-03-04 changes.
20193 [$(CXX) empty] (tests-unsupported): New variable.
20194 * debug/Makefile: Likewise.
20195
20196 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20197 gnulib file. Replace __attribute with __attribute__ throughout.
20198
20199 2015-03-10 Carlos O'Donell <carlos@redhat.com>
20200
20201 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20202
20203 2015-03-10 Joseph Myers <joseph@codesourcery.com>
20204
20205 [BZ #18104]
20206 * math/auto-libm-test-in: Add another test of pow.
20207 * math/auto-libm-test-out: Regenerated.
20208
20209 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20210
20211 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20212 $(config-cflags-nofma).
20213
20214 2015-03-10 Joseph Myers <joseph@codesourcery.com>
20215
20216 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20217 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20218 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20219 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20220 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20221 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20222 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20223 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20224 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20225 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20226 Add comment on closing #endif.
20227
20228 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20229
20230 * posix/wordexp.c (CHAR_IN_SET): New macro.
20231 (parse_param): Use it.
20232
20233 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20234
20235 * sysdeps/powerpc/fpu/libm-test-ulps: update.
20236
20237 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20238
20239 [BZ #18043]
20240 * posix/wordexp.c (parse_param): Fix buffer overflow.
20241 * posix/wordexp-test.c (test_case): Add test case.
20242
20243 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20244
20245 [BZ #18042]
20246 * posix/wordexp.c (parse_backtick): Fix off-by-one.
20247 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20248
20249 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20250
20251 [BZ #18043]
20252 * posix/wordexp-test.c (test_case): Add test for BZ #18043
20253 (do_bz18043): Delete.
20254 (at_page_end): New.
20255 (testit): Refactor to have words at the edge of unreadable page.
20256
20257 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20258
20259 [BZ #16734]
20260 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20261 Cleanup read-only streams as well.
20262 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20263
20264 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
20265
20266 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20267 <bits/libc-lockP.h>
20268
20269 2015-03-07 Joseph Myers <joseph@codesourcery.com>
20270
20271 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
20272 on [__KERNEL__].
20273 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20274 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20275 * soft-fp/op-common.h (_FP_DECL): Likewise.
20276
20277 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
20278
20279 * elf/ifuncdep2.c (global): Replace
20280 __attribute__((visibility("protected"))) with
20281 asm (".protected global").
20282 * elf/ifuncmod1.c (global): Likewise.
20283 * elf/ifuncmod5.c (global): Likewise.
20284
20285 2015-03-06 Joseph Myers <joseph@codesourcery.com>
20286
20287 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
20288 <asm/sfp-machine.h> instead of <sfp-machine.h>.
20289
20290 2015-03-06 Roland McGrath <roland@hack.frob.com>
20291
20292 * manual/install.texi (Configuring and compiling):
20293 Document test-wrapper-env-only.
20294 * INSTALL: Regenerated.
20295
20296 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20297
20298 [BZ #18043]
20299 * posix/wordexp.c (parse_param): Fix buffer overflow.
20300 * posix/wordexp-test.c (do_bz18043): Add test case.
20301
20302 2015-03-06 Vincent Bernat <vincent@bernat.im>
20303
20304 * time/tst-strptime2.c (do_test): Ensure failing tests are
20305 reported correctly.
20306 * time/tst-strptime3.c (do_test): Likewise.
20307
20308 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
20309
20310 Fix aio_error thread-safety.
20311 * sysdeps/pthread/aio_error.c: New file
20312 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
20313 synchronization.
20314
20315 2015-03-06 Florian Weimer <fweimer@redhat.com>
20316
20317 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
20318 (group_number, vfprintf): Use it.
20319 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
20320 (JUMP, REF): Use it.
20321 (WORK_BUFFER_SIZE): New enum constant.
20322 (process_arg, vfprintf): Use it.
20323
20324 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
20325
20326 * manual/errno.texi (Error Messages): Complete example function
20327 by adding missing #define.
20328 (program_invocation_name): Add statement indicating GNU
20329 extension and reference which header file declares the variable.
20330 (program_invocation_short_name): Likewise.
20331
20332 2015-03-06 Mike Frysinger <vapier@gentoo.org>
20333
20334 * manual/errno.texi (Error Messages): Delete strerror ISO C89
20335 compatibility note.
20336
20337 2015-03-05 Roland McGrath <roland@hack.frob.com>
20338
20339 * Makeconfig (test-wrapper-env-only): New variable.
20340 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
20341 then use that with $(test-wrapper-env-only) rather than using
20342 $(test-wrapper-env) $(run-program-env) $($*-ENV).
20343
20344 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
20345
20346 [BZ #18082]
20347 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
20348 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
20349 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
20350 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
20351 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
20352 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
20353 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
20354 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
20355 Likewise.
20356 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
20357 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
20358 Likewise.
20359 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
20360 Likewise.
20361 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
20362 Likewise.
20363 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
20364 Likewise.
20365 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
20366 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
20367 Likewise.
20368 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
20369 Likewise.
20370 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
20371 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20372
20373 2015-03-04 Roland McGrath <roland@hack.frob.com>
20374
20375 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20376 (ETH_ALEN): New macro.
20377 (struct ether_addr): Use it for length of ether_addr_octet.
20378
20379 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20380 (setdb): Don't call __nss_configure_lookup for "rpc".
20381 (do_test): Don't call test_rpc.
20382 (output_rpcent, test_rpc): Functions moved ...
20383 * sunrpc/test-rpcent.c: ... to this new file.
20384 * sunrpc/Makefile (tests): Add it.
20385
20386 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20387 __xpg_sigpause.
20388 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20389 * nptl/tst-signal6.c: Likewise.
20390 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20391 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20392
20393 * configure.ac (libc_cv_cxx_link_ok): New check.
20394 Reset CXX to empty if it fails to link.
20395 * configure: Regenerated.
20396 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20397 bug-atexit3-lib only if $(CXX) is nonempty.
20398 * nptl/Makefile (tests): Likewise for tst-cancel24.
20399 (tests, tests-static): Likewise for tst-cancel24-static.
20400 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20401 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20402 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20403 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20404
20405 2015-03-04 Andreas Schwab <schwab@suse.de>
20406
20407 [BZ #17631]
20408 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20409 for non-GCC compilers.
20410 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20411 Likewise.
20412
20413 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
20414
20415 [BZ #17776]
20416 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20417 integer before bitwise and assembly operations.
20418 (feclearexcept): Likewise.
20419 * math/test-fenvinline.c: New file.
20420 * math/Makefile: Add test-fenvinline test.
20421
20422 2015-03-03 Alan Modra <amodra@gmail.com>
20423
20424 [BZ #16512]
20425 * scripts/localplt.awk: Strip off symbol version.
20426 * NEWS: Mention bug fix.
20427
20428 2015-03-02 Roland McGrath <roland@hack.frob.com>
20429
20430 * sysdeps/pthread/timer_routines.c
20431 (timer_free_list, thread_free_list, thread_active_list): Make static.
20432
20433 2015-03-02 Joseph Myers <joseph@codesourcery.com>
20434
20435 [BZ #17779]
20436 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20437 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20438 Undefine.
20439 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20440 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20441 Likewise.
20442 * sysdeps/unix/sysv/linux/sh/kernel-features.h
20443 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20444 Likewise.
20445
20446 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20447
20448 [BZ #18036]
20449 * posix/fnmatch_loop.c (END): Detect invalid pattern.
20450 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20451
20452 2015-03-02 Andreas Schwab <schwab@suse.de>
20453
20454 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20455 variable name.
20456
20457 2015-03-02 Florian Weimer <fweimer@redhat.com>
20458
20459 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20460 Return error status.
20461
20462 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
20463
20464 [BZ #15969]
20465 * locale/findlocale.c (_nl_find_locale): Introduce const
20466 version of loc_name and drop unsafe type casts.
20467
20468 2015-02-27 Roland McGrath <roland@hack.frob.com>
20469
20470 * dlfcn/tststatic2.c (main): Converted to ...
20471 (do_test): ... this.
20472 (TEST_FUNCTION): New macro.
20473 Include test-skeleton.c.
20474
20475 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
20476
20477 [BZ #17711]
20478 * elf/Makefile (tests): Add vismain only if PIE is enabled.
20479 (tests-pie): Add vismain.
20480 (CFLAGS-vismain.c): New.
20481 * elf/vismain.c: Add comments for PIE requirement.
20482
20483 2015-02-27 Joseph Myers <joseph@codesourcery.com>
20484
20485 [BZ #18046]
20486 [BZ #18047]
20487 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20488 0x1p-56L as threshold for just returning the argument.
20489 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20490 0x1p-32L as threshold for just returning the argument.
20491 * math/auto-libm-test-in: Add more tests of atanh.
20492 * math/auto-libm-test-out: Regenerated.
20493 * sysdeps/i386/fpu/libm-test-ulps: Update.
20494 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20495
20496 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
20497
20498 * string/bcopy.c (bcopy): Call memmove for performance.
20499
20500 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
20501
20502 * string/bzero.c (__bzero): Call memset for performance.
20503
20504 2015-02-27 John David Anglin <dave.anglin@bell.net>
20505
20506 [BZ #18068]
20507 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20508 to 00100000.
20509
20510 2015-02-27 Joseph Myers <joseph@codesourcery.com>
20511
20512 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20513
20514 2015-02-26 Joseph Myers <joseph@codesourcery.com>
20515
20516 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20517 (__kernel_standard): Use CSTR macro when setting exc.name.
20518 * sysdeps/ieee754/Makefile [$(subdir) = math]
20519 (CFLAGS-k_standard.c): Remove variable.
20520
20521 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20522 setting p and q from "else if" to "else".
20523 (qzero): Likewise.
20524 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20525 (qone): Likewise.
20526 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20527 (qzerof): Likewise.
20528 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20529 (qonef): Likewise.
20530 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20531 (qzero): Likewise.
20532 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20533 (qone): Likewise.
20534
20535 [BZ #18038]
20536 [BZ #18039]
20537 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20538 return pi/2 for arguments below 0x1p-113L.
20539 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20540 return pi/2 for arguments below 0x1p-106L.
20541 * math/auto-libm-test-in: Add more tests of acos.
20542 * math/auto-libm-test-out: Regenerated.
20543
20544 [BZ #16351]
20545 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20546 (MO): New macro.
20547 (__ieee754_asin): Force underflow exception for results with small
20548 absolute value.
20549 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20550 (MO): New macro.
20551 (__ieee754_asinf): Force underflow exception for results with
20552 small absolute value.
20553 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20554 (__ieee754_asin): Force underflow exception for results with small
20555 absolute value.
20556 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20557 (__ieee754_asinf): Force underflow exception for results with
20558 small absolute value.
20559 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20560 (__ieee754_asinl): Force underflow exception for results with
20561 small absolute value.
20562 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20563 (__ieee754_asinl): Force underflow exception for results with
20564 small absolute value.
20565 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20566 (__ieee754_asinl): Force underflow exception for results with
20567 small absolute value.
20568 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20569 Include <math.h>.
20570 * math/auto-libm-test-in: Do not mark underflow exceptions as
20571 possibly missing for bug 16351.
20572 * math/auto-libm-test-out: Regenerated.
20573
20574 [BZ #18030]
20575 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20576 of power of 2 down when low part has opposite sign.
20577 * math/libm-test.inc (logb_test_data): Add more tests.
20578
20579 2015-02-26 Andreas Schwab <schwab@suse.de>
20580
20581 [BZ #18032]
20582 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20583 over collating symbol inside a bracket expression. Minor cleanup.
20584 * posix/tst-fnmatch3.c (do_test): Add test case.
20585
20586 2015-02-26 Joseph Myers <joseph@codesourcery.com>
20587
20588 [BZ #18029]
20589 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20590 Adjust exponent of power of 2 down when low part has opposite
20591 sign.
20592 * math/libm-test.inc (ilogb_test_data): Add more tests.
20593
20594 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
20595
20596 [BZ #15969]
20597 * locale/findlocale.c (_nl_find_locale): Fix constness error in
20598 the previous change.
20599
20600 [BZ #15969]
20601 * locale/findlocale.c (_nl_find_locale): Retry archive search
20602 after alias expansion.
20603
20604 2015-02-25 Roland McGrath <roland@hack.frob.com>
20605
20606 * iconv/tst-iconv3.c (main): Converted to ...
20607 (do_test): ... this.
20608 (TEST_FUNCTION): New macro.
20609 Include test-skeleton.c.
20610
20611 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20612 (convert): Make function static.
20613 (test_unalign): Likewise. Add const to argument pointee types.
20614 (main): Replace with static function do_test.
20615 Print "Succeeded." only if RET is zero.
20616 (TEST_FUNCTION): New macro.
20617 Include test-skeleton.c.
20618
20619 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20620 returns a null pointer.
20621
20622 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20623
20624 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20625 to __memcpy_ppc only for static builds.
20626
20627 2015-02-25 Joseph Myers <joseph@codesourcery.com>
20628
20629 [BZ #18020]
20630 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20631 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20632 * math/auto-libm-test-in: Add more tests of asinh.
20633 * math/auto-libm-test-out: Regenerated.
20634 * sysdeps/i386/fpu/libm-test-ulps: Update.
20635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20636
20637 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
20638
20639 [BZ #15850]
20640 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20641 and ip6_mtuinfo definitions here.
20642 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20643 in this define too. Update comment.
20644
20645 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
20646
20647 * elf/sprof.c (load_shobj): Tweak error message to match others.
20648
20649 2015-02-24 Kevin Easton <kevin@guarana.org>
20650
20651 [BZ #16145] (partial fix)
20652 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20653 to reduce lock contention.
20654
20655 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
20656
20657 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20658 (struct timex): Update time comment.
20659 (ADJ_SETOFFSET): Define.
20660
20661 2015-02-24 Joseph Myers <joseph@codesourcery.com>
20662
20663 [BZ #18019]
20664 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20665 2**56 not 2**28 as threshold for log (2x) formula.
20666 * math/auto-libm-test-in: Add more tests of acosh.
20667 * math/auto-libm-test-out: Regenerated.
20668 * sysdeps/i386/fpu/libm-test-ulps: Update.
20669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20670
20671 2015-02-24 Mike Frysinger <vapier@gentoo.org>
20672
20673 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20674 parenthesis around the buf assignment.
20675 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20676
20677 2015-02-24 Joseph Myers <joseph@codesourcery.com>
20678
20679 [BZ #16783]
20680 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20681 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20682 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20683 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20684 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20685 * math/libm-test.inc (scalb_test_data): Add more tests.
20686
20687 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20688
20689 [BZ #17916]
20690 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20691 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20692
20693 2015-02-24 Eric Rannaud <e@nanocritical.com>
20694
20695 [BZ #17523]
20696 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20697 * io/bits/fcntl2.h (open): Use it.
20698 (openat): Likewise.
20699 * io/open.c (__libc_open): Likewise.
20700 * io/open64.c (__libc_open64): Likewise.
20701 * io/open64_2.c (__open64_2): Likewise.
20702 * io/open_2.c (__open_2): Likewise.
20703 * io/openat.c (__openat): Likewise.
20704 * io/openat64.c (__openat64): Likewise.
20705 * io/openat64_2.c (__openat64_2): Likewise.
20706 * io/openat_2.c (__openat_2): Likewise.
20707 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20708 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20709 * sysdeps/posix/open64.c (__libc_open64): Likewise.
20710 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20711 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20712 (__open_nocancel): Likewise.
20713 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20714 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20715 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20716
20717 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20718
20719 [BZ #14841]
20720 * resolv/gethnamaddr.c (getanswer): Skip logging if
20721 RES_USE_DNSSEC is set.
20722 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20723
20724 2015-02-24 Mike Frysinger <vapier@gentoo.org>
20725
20726 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20727
20728 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
20729
20730 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20731 201304L, for Unicode 7.
20732
20733 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
20734
20735 [BZ #17836]
20736 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20737 shared library. Add gmon-start.os otherwise.
20738 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20739 $(objpfx)gmon-start.os if builing shared library.
20740 ($(objpfx)g$(static-start-installed-name)): Likewise.
20741
20742 2015-02-23 Andreas Schwab <schwab@suse.de>
20743
20744 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20745
20746 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20747
20748 [BZ #17269]
20749 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20750 (enlarge_userbuf): Likewise.
20751
20752 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
20753
20754 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20755 * math/atest-exp.c (TIMEOUT): Adjust to 200.
20756 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20757 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20758
20759 2015-02-20 Joseph Myers <joseph@codesourcery.com>
20760
20761 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20762 expression inside statement expression.
20763
20764 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
20765
20766 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20767 <sysdeps/nptl/lowlevellock.h> and remove macros and
20768 functions that are now defined there.
20769 (SYS_futex): Remove.
20770 (lll_compare_and_swap): Remove.
20771 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20772
20773 2015-02-19 Joseph Myers <joseph@codesourcery.com>
20774
20775 [BZ #17999]
20776 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20777 instead of scandirat.
20778 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20779 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20780 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20781 __scandirat.
20782 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20783 (__scandirat): Declare. Use libc_hidden_proto.
20784 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20785 Remove variable.
20786 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20787
20788 2015-02-18 Joseph Myers <joseph@codesourcery.com>
20789
20790 [BZ #15319]
20791 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20792 (MO): New macro.
20793 (__ieee754_atan2): For results with small absolute value, force
20794 underflow exception and remove excess range and precision from
20795 return value.
20796 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20797 (MO): New macro.
20798 (__ieee754_atan2f): For results with small absolute value, force
20799 underflow exception and remove excess range and precision from
20800 return value.
20801 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20802 (MO): New macro.
20803 (__atan): For results with small absolute value, force underflow
20804 exception and remove excess range and precision from return value.
20805 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20806 (MO): New macro.
20807 (__atanf): For results with small absolute value, force underflow
20808 exception and remove excess range and precision from return value.
20809 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20810 <math.h>.
20811 (__ieee754_atan2): Force underflow exception for results with
20812 small absolute value.
20813 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20814 <math_private.h>.
20815 (atan): Force underflow exception for results with small absolute
20816 value.
20817 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20818 (__atanf): Force underflow exception for results with small
20819 absolute value.
20820 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20821 <math.h>.
20822 (__atanl): Force underflow exception for results with small
20823 absolute value.
20824 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20825 (__atanl): Force underflow exception for results with small
20826 absolute value.
20827 * sysdeps/x86/fpu/bits/mathinline.h
20828 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20829 (__ieee754_atan2): Only define inline for long double.
20830 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20831 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20832 * math/auto-libm-test-in: Do not mark underflow exceptions as
20833 possibly missing for bug 15319. Add more tests of atan2.
20834 * math/auto-libm-test-out: Regenerated.
20835 * math/libm-test.inc (casin_test_data): Do not mark underflow
20836 exceptions as possibly missing for bug 15319.
20837 (casinh_test_data): Likewise.
20838 * sysdeps/i386/fpu/libm-test-ulps: Update.
20839
20840 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
20841
20842 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20843 * sysdeps/mips/bits/endian.h: Fix comments.
20844
20845 2015-02-18 Joseph Myers <joseph@codesourcery.com>
20846
20847 [BZ #17996]
20848 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20849 (hdestroy_r): Likewise.
20850 (hsearch_r): Likewise.
20851 (__hcreate_r): Declare and use libc_hidden_proto.
20852 (__hdestroy_r): Likewise.
20853 (__hsearch_r): Likewise.
20854 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20855 (hcreate): Call __hcreate_r instead of hcreate_r.
20856 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20857 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20858 as weak alias of __hcreate_r.
20859 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20860 __hdestroy_r.
20861 (hsearch_r): Rename to __hsearch_r and define as weak alias of
20862 __hsearch_r.
20863 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20864 Remove variable.
20865 (test-xfail-XPG4/search.h/linknamespace): Likewise.
20866 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20867 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20868 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20869
20870 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20871
20872 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20873 arena_lock into a single arena_get.
20874
20875 2015-02-17 Carlos O'Donell <carlos@redhat.com>
20876
20877 * dl-reloc.c: Inlucde libc-internal.h.
20878 (_dl_try_allocate_static_tls): Call ALIGN_UP.
20879 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20880 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20881 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20882 (grow_heap): Likewise.
20883 * malloc/malloc.c: Include libc-internal.h.
20884 (do_check_malloc): Call powerof2.
20885 (sysmalloc): Use pagesize. Call ALIGN_UP.
20886 (systrim): Use pagesize.
20887 (mremap_chunk): Use pagesize. Call ALIGN_UP.
20888 (__libc_valloc): Use pagesize.
20889 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20890
20891 2015-02-17 Joseph Myers <joseph@codesourcery.com>
20892
20893 [BZ #17991]
20894 * include/sys/resource.h (__getrlimit64): Declare. Use
20895 libc_hidden_proto.
20896 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20897 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
20898 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20899 getrlimit64.
20900 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20901 __getrlimit64.
20902 [!getrlimit64] (getrlimit64): Define as weak alias of
20903 __getrlimit64. Use libc_hidden_weak.
20904 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20905 using __getrlimit64 not __new_getrlimit64.
20906 (__GI_getrlimit64): Likewise.
20907 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20908 Likewise.
20909 (__GI_getrlimit64): Likewise.
20910 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20912 (getrlimit): Add __getrlimit64 alias.
20913 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20914 Likewise.
20915 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20916 Remove variable.
20917 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20918 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20919
20920 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
20921
20922 * libio/fileops.c: Add missing sys/mman.h
20923 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20924
20925 2015-02-17 Joseph Myers <joseph@codesourcery.com>
20926
20927 * manual/math.texi (Errors in Math Functions): Clarify goals
20928 regarding inexact and underflow exceptions.
20929
20930 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
20931
20932 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20933 * sysdeps/mips/memset.S: Ditto.
20934
20935 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
20936
20937 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20938
20939 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
20940
20941 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20942 (__v1longjmp): Remove versioned symbol.
20943 (__v1siglongjmp): Remove alias and versioned symbol.
20944 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20945 (__v2siglongjmp): Likewise.
20946
20947 2015-02-16 Torvald Riegel <triegel@redhat.com>
20948
20949 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20950
20951 2015-02-16 Mike Frysinger <vapier@gentoo.org>
20952
20953 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20954
20955 2015-02-16 Joseph Myers <joseph@codesourcery.com>
20956
20957 [BZ #17987]
20958 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20959 zero result does not depend on the sign resulting from
20960 subtraction.
20961 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20962 Likewise.
20963 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20964 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20965 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20966 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20967 * math/libm-test.inc (remquo_test_data): Add more tests.
20968
20969 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
20970
20971 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20972 Problem reported by J William Piggott.
20973
20974 2015-02-16 Joseph Myers <joseph@codesourcery.com>
20975
20976 [BZ #17978]
20977 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20978 products 4 * y and 2 * y where those would overflow.
20979 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20980 Likewise.
20981 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20982 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20983 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20984 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20985 * math/libm-test.inc (remquo_test_data): Add more tests.
20986
20987 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20988
20989 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20990 [defined _COMPILING_NEWLIB].
20991 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20992 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20993
20994 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20995 [!defined __mips_isa_rev || __mips_isa_rev < 6].
20996
20997 2015-02-16 Torvald Riegel <triegel@redhat.com>
20998
20999 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21000 acquired.
21001
21002 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
21003
21004 [BZ #17792]
21005 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21006 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21007 HOST_STACK_END_ADDR): Likewise.
21008
21009 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
21010
21011 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21012 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
21013 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
21014
21015 2015-02-13 Roland McGrath <roland@hack.frob.com>
21016
21017 * sysdeps/generic/c++-types.data: New file.
21018 * sysdeps/generic/ld.abilist: New file.
21019 * sysdeps/generic/libBrokenLocale.abilist: New file.
21020 * sysdeps/generic/libanl.abilist: New file.
21021 * sysdeps/generic/libc.abilist: New file.
21022 * sysdeps/generic/libcrypt.abilist: New file.
21023 * sysdeps/generic/libdl.abilist: New file.
21024 * sysdeps/generic/libm.abilist: New file.
21025 * sysdeps/generic/libpthread.abilist: New file.
21026 * sysdeps/generic/libresolv.abilist: New file.
21027 * sysdeps/generic/librt.abilist: New file.
21028
21029 2015-02-13 Joseph Myers <joseph@codesourcery.com>
21030
21031 [BZ #17569]
21032 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21033 Compute absolute value of x as modified by fmod, not original
21034 value of x.
21035 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
21036 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
21037 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
21038 RUN_TEST_ffI_f1_mod8.
21039 (remquo_test_data): Add more tests.
21040
21041 2015-02-13 Roland McGrath <roland@hack.frob.com>
21042
21043 * sysdeps/init_array/pt-crti.S: New file.
21044
21045 2015-02-13 Joseph Myers <joseph@codesourcery.com>
21046
21047 [BZ #17967]
21048 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21049 __builtin_fmaf instead of relying on contraction of a * b + c.
21050
21051 2015-02-12 J William Piggott <elseifthen@gmx.com>
21052
21053 [BZ #17969]
21054 * manual/time.texi: correct the zoneinfo path in the TZ Variable
21055 node.
21056
21057 2015-02-12 Joseph Myers <joseph@codesourcery.com>
21058
21059 [BZ #17964]
21060 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21061 __builtin_fma instead of relying on contraction of a * b + c.
21062
21063 2015-02-12 Roland McGrath <roland@hack.frob.com>
21064
21065 * Makeconfig (ASFLAGS): Add -Werror=undef.
21066 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
21067 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
21068 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
21069
21070 * Makeconfig (after-link): New variable.
21071 (+link-pie, +link-pie-tests): Use it.
21072 (+link-static, +link-static-tests): Likewise.
21073 (+link, +link-tests): Likewise.
21074 * Makerules (build-module, build-module-asneeded): Likewise.
21075 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
21076 Likewise.
21077 * elf/Makefile ($(objpfx)ld.so): Likewise.
21078
21079 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
21080
21081 [BZ #17965]
21082 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21083 both struct timeval and struct timespec.
21084
21085 2015-02-12 Joseph Myers <joseph@codesourcery.com>
21086
21087 [BZ #16560]
21088 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21089 and redefine.
21090 (__ieee754_exp2l): Do not multiply small fractional parts by
21091 M_LN2l.
21092 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
21093 small argument.
21094 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21095 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21096 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
21097 * math/auto-libm-test-in: Add more tests of exp2.
21098 * math/auto-libm-test-out: Regenerated.
21099
21100 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21101
21102 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
21103 unaligned path.
21104
21105 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21106
21107 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
21108 little endian.
21109
21110 2015-02-12 Andreas Schwab <schwab@suse.de>
21111
21112 [BZ #15790]
21113 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21114 Filter out elision flags from value returned in kind.
21115 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
21116 * nptl/tst-pthread-mutexattr.c: New file.
21117
21118 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21119
21120 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
21121 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
21122 into gnu-gnu, and update comment to refer to abi-tags.
21123
21124 2015-02-11 Joseph Myers <joseph@codesourcery.com>
21125
21126 [BZ #15467]
21127 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21128 (__sincos): Set errno to EDOM for infinite argument.
21129 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21130 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21131 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21132 (__sincosl): Set errno to EDOM for infinite argument.
21133 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21134 (__sincosl): Set errno to EDOM for infinite argument.
21135 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21136 (__sincosl): Set errno to EDOM for infinite argument.
21137 * math/libm-test.inc (sincos_test_data): Test errno setting.
21138
21139 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
21140
21141 * string/strxfrm_l.c: Remove #define STRCMP.
21142 * string/strcoll_l.c: Remove #define STRLEN.
21143 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21144 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21145
21146 2015-02-10 Joseph Myers <joseph@codesourcery.com>
21147
21148 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21149 * sysdeps/mips/mips32/sfp-machine.h: ... here.
21150 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21151 * sysdeps/mips/mips64/Makefile: ... here.
21152 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21153 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21154 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21155 * sysdeps/mips/mips64/sfp-machine.h: ... here.
21156 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21157 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21158 * sysdeps/mips/mips64/n64/Implies: Likewise.
21159
21160 2015-02-10 Roland McGrath <roland@hack.frob.com>
21161
21162 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21163 <sys/time.h>, <string.h>, and <errno.h>.
21164 (dest_offset, dest_address, value, zero): Remove unused variables.
21165 (ldouble): Remove typedef.
21166 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21167 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
21168 1). Fix code style.
21169 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21170 (check): Function removed.
21171 (CHECK): New macro.
21172 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
21173 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21174 Don't call set_sigaction_FP and remove_sigaction_FP here.
21175 (ldouble_test): Just use 'long double' as macro argument, no need for
21176 the 'ldouble' typedef.
21177 (do_test): Set up SIGFPE handler at start, using plain signal rather
21178 than sigaction. Fix code style.
21179
21180 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
21181
21182 [BZ #17949]
21183 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21184 jump label.
21185
21186 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21187
21188 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21189 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21190
21191 * sysdeps/powerpc/configure.ac: Remove file.
21192 * sysdeps/powerpc/configure: Likewise.
21193
21194 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21195 [sysdep_routines]: Remove wordcopy-power6 object.
21196 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21197 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21198 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21199 (__memmove_ppc32): Likewise.
21200 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21201 file.
21202 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21203 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21204 Remove preprocessor.
21205
21206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21207 [sysdep_routines]: Remove wide chars objects.
21208 [wcsmbs]: New rule for wide char objects.
21209
21210 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21211 Remove wordcopy-power6 obejct.
21212 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21213 Use local call for wordcopy and memcpy symbols.
21214 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21215 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21216 implementation for loader.
21217 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21218
21219 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21220 Remove wordcopy-power7 object.
21221 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21222 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21223 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21224 (_wordcopy_fwd_dest_aligned): Likewise.
21225 (_wordcopy_bwd_aligned): Likewise.
21226 (_wordcopy_bwd_dest_aligned): Likewise.
21227
21228 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21229 Rewrite to call __memmove_ppc instead of include default
21230 implementation.
21231
21232 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21233 Remove wide chars objects.
21234 [wcsmbs]: New rule for wide char objects.
21235
21236 2015-02-09 Andreas Schwab <schwab@suse.de>
21237
21238 [BZ #17912]
21239 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21240 in terms of __O_DIRECTORY.
21241
21242 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
21243
21244 * time/getdate.c: Include <stdbool.h>.
21245 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21246 call PTR_MANGLE.
21247 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21248 PTR_DEMANGLE.
21249
21250 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
21251
21252 Add ersatz _Static_assert on older C hosts
21253 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21254 pre-C11 C platform that is not known to support _Static_assert.
21255
21256 2015-02-07 Richard Braun <rbraun@sceen.net>
21257
21258 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21259 sigstate.
21260 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21261
21262 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
21263
21264 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21265 priority against unexistent AIO_PRIO_DELTA_MAX.
21266 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21267 instead of int.
21268 * misc/fchflags.c (fchflags): Likewise.
21269 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21270 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21271 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21272 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21273 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21274 Declare macros.
21275 [__USE_MISC] (chflags, fchflags): Declare functions.
21276 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21277 EINVAL when nfds is greater than FD_SETSIZE.
21278 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
21279 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
21280 45.
21281 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
21282 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
21283 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
21284 MACH_RCV_TIMED_OUT.
21285 * hurd/hurd/signal.h (_hurd_self_sigstate,
21286 _hurd_critical_section_lock, _hurd_critical_section_unlock):
21287 Explicit casts from void *.
21288 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
21289 * abi-tags: Rename gnu-gnu os into gnu.
21290
21291 [BZ #4719]
21292 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
21293 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
21294 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
21295 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
21296 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
21297 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
21298
21299 [BZ #17944]
21300 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
21301 duplicates ADDR->sun_path with sockaddr LEN limitation.
21302 * sysdeps/mach/hurd/connect.c: Include <string.h>
21303 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
21304 * sysdeps/mach/hurd/sendmsg.c: Likewise.
21305 * sysdeps/mach/hurd/sendto.c: Likewise.
21306 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
21307 implementing it by hand.
21308
21309 2015-02-06 Roland McGrath <roland@hack.frob.com>
21310
21311 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
21312 Use sfi_breg on ldr.
21313 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
21314 Likewise.
21315
21316 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
21317 it's defined.
21318 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
21319 Test SIGSETXID only if it's defined.
21320
21321 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
21322
21323 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21324 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
21325
21326 * nptl/tst-align2.c: Moved ...
21327 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
21328 * nptl/Makefile (tests): Remove tst-align2.
21329 * sysdeps/unix/sysv/linux/Makefile
21330 [$(subdir) = nptl] (tests): Add tst-align-clone.
21331 * nptl/tst-getpid1.c: Moved ...
21332 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
21333 * nptl/tst-getpid2.c: Moved ...
21334 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
21335 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
21336 * sysdeps/unix/sysv/linux/Makefile
21337 [$(subdir) = nptl] (tests): ... here.
21338 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
21339 * sysdeps/unix/sysv/linux/Makefile
21340 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
21341
21342 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
21343 Drop trailing \n from perror argument. Use return rather than exit.
21344
21345 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
21346 on [SA_SIGINFO].
21347 * nptl/tst-cancel21.c (do_test): Likewise.
21348 * debug/tst-backtrace6.c: Include <signal.h> first thing.
21349 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
21350 [!SA_SIGINFO]: Make it a stub test.
21351
21352 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
21353 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
21354
21355 * posix/tst-getlogin.c: Move to ...
21356 * login/tst-getlogin.c: ... here.
21357 * posix/Makefile (tests): Move tst-getlogin to ...
21358 * login/Makefile (tests): ... here.
21359
21360 * libio/tst-atime.c (do_test): Move local variables SV and E
21361 inside [ST_NOATIME] conditional.
21362
21363 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
21364
21365 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
21366
21367 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
21368 (wait_code): New function replaces macro.
21369 Call nanosleep rather than syscall.
21370
21371 * nptl/pt-system.c: Rewritten. Put everything under
21372 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21373 Use IFUNC to redirect when possible.
21374
21375 * nptl/pt-longjmp.c: Rewritten. Put everything under
21376 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21377 Use IFUNC to redirect when possible.
21378
21379 * nptl/pt-fork.c: Rewritten. Put everything under
21380 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21381 Use IFUNC to redirect when possible.
21382 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21383
21384 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21385 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21386 unconditionally nowadays. This included the only reference to
21387 __vdso_clock_gettime that appears outside libc proper.
21388 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21389 Remove version set (containing only __vdso_clock_gettime).
21390 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21391 Add attribute_hidden.
21392 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21393 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21394 libc_hidden_data_def.
21395 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21396 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21397
21398 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21399 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21400 setrpcent, and getrpcport to ...
21401 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21402 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21403 getrpcbynumber_r, and getrpcent_r to ...
21404 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21405 * inet/getrpcbyname.c: Moved ...
21406 * sunrpc/getrpcbyname.c: ... here.
21407 * inet/getrpcbyname_r.c: Moved ...
21408 * sunrpc/getrpcbyname_r.c: ... here.
21409 * inet/getrpcbynumber.c: Moved ...
21410 * sunrpc/getrpcbynumber.c: ... here.
21411 * inet/getrpcbynumber_r.c: Moved ...
21412 * sunrpc/getrpcbynumber_r.c: ... here.
21413 * inet/getrpcent.c: Moved ...
21414 * sunrpc/getrpcent.c: ... here.
21415 * inet/getrpcent_r.c: Moved ...
21416 * sunrpc/getrpcent_r.c: ... here.
21417 * inet/Makefile (routines): Move those to ...
21418 * sunrpc/Makefile (routines): ... here.
21419 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21420 the $(subdirs) list.
21421 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
21422 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21423 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21424 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21425
21426 * elf/Makefile (routines): Include $(all-dl-routines), not just
21427 $(dl-routines).
21428 (rtld-routines): Likewise. Use = rather than :=.
21429 * sysdeps/aarch64/Makefile [$(subdir) = elf]
21430 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21431 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21432 * sysdeps/arm/Makefile: Likewise.
21433 * sysdeps/i386/Makefile: Likewise.
21434 * sysdeps/x86_64/Makefile: Likewise.
21435 * sysdeps/hppa/Makefile [$(subdir) = elf]
21436 (sysdep_routines, sysdep-rtld-routines): Don't add
21437 $(sysdep-dl-routines) to these.
21438 * sysdeps/ia64/Makefile: Likewise.
21439 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21440 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21441 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21442 Don't add dl-static to these; sysdep-dl-routines alone is enough.
21443 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21444 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21445 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21446 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21447 * sysdeps/powerpc/Makefile [$(subdir) = elf]
21448 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21449 these; sysdep-dl-routines alone is enough.
21450
21451 2015-02-06 Joseph Myers <joseph@codesourcery.com>
21452
21453 [BZ #17932]
21454 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21455 where multiplication results in zero and third argument is finite
21456 and nonzero.
21457 * math/auto-libm-test-in: Add more tests of fma.
21458 * math/auto-libm-test-out: Regenerated.
21459
21460 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21461 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21462 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21463 (_FP_CMP_EQ): Likewise.
21464 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21465
21466 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21467 extra argument CHECK_NAN. Redefine as wrapper around
21468 _FP_EXTEND_CNAN.
21469
21470 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
21471
21472 * version.h (RELEASE): Set to "stable".
21473 (VERSION): Set to "2.21"
21474 * include/features.h (__GLIBC_MINOR__): Set to 21.
21475
21476 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21477
21478 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21479 Paul Eggert <eggert@cs.ucla.edu>
21480
21481 [BZ #16618]
21482 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21483 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21484 size in bytes. Store needed elements in wpmax. Use needed size
21485 in bytes for extend_alloca.
21486
21487 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
21488
21489 * manual/install.texi: Latest tested versions are GCC 4.9.2,
21490 binutls 2.25, and texinfo 5.2.
21491 * INSTALL: Regenerate.
21492 * sysdeps/nios2/configure: Regenerate.
21493 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21494 * manual/contrib.texi: Update.
21495 * po/be.po: Update.
21496 * po/bg.po: Update.
21497 * po/ca.po: Update.
21498 * po/cs.po: Update.
21499 * po/da.po: Update.
21500 * po/de.po: Update.
21501 * po/el.po: Update.
21502 * po/eo.po: Update.
21503 * po/es.po: Update.
21504 * po/fi.po: Update.
21505 * po/fr.po: Update.
21506 * po/gl.po: Update.
21507 * po/hr.po: Update.
21508 * po/hu.po: Update.
21509 * po/ia.po: Update.
21510 * po/id.po: Update.
21511 * po/it.po: Update.
21512 * po/ja.po: Update.
21513 * po/ko.po: Update.
21514 * po/lt.po: Update.
21515 * po/nb.po: Update.
21516 * po/nl.po: Update.
21517 * po/pl.po: Update.
21518 * po/pt_BR.po: Update.
21519 * po/ru.po: Update.
21520 * po/rw.po: Update.
21521 * po/sk.po: Update.
21522 * po/sl.po: Update.
21523 * po/sv.po: Update.
21524 * po/tr.po: Update.
21525 * po/uk.po: Update.
21526 * po/vi.po: Update.
21527 * po/zh_CN.po: Update.
21528 * po/zh_TW.po: Update.
21529
21530 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21531 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21532 * sysdeps/hppa/dl-irel.h: Remove #warning.
21533 * sysdeps/hppa/entry.h: Provide prototype for
21534 __canonicalize_funcptr_for_compare and cast argument.
21535 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21536 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21537 * sysdeps/hppa/sotruss-lib.c: New file.
21538 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21539 (atomic_compare_and_exchange_val_acq): Use __typeof__.
21540 (atomic_compare_and_exchange_bool_acq): Likewise.
21541 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21542 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21543
21544 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21545 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21546 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21547
21548 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
21549
21550 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21551 called function in non-PIC case.
21552
21553 2015-01-31 David S. Miller <davem@davemloft.net>
21554
21555 * sysdeps/sparc/sparc32/bits/atomic.h
21556 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21557 unlock not after it.
21558 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21559 volatile register usage warnings from the compiler.
21560
21561 * sysdeps/sparc/nptl/sem_init.c: Delete.
21562 * sysdeps/sparc/nptl/sem_post.c: Delete.
21563 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21564 * sysdeps/sparc/nptl/sem_wait.c: Delete.
21565 * sysdeps/sparc/sparc32/sem_init.c: New file.
21566 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21567 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21568 padding explicitly initialized.
21569 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21570 padding for in-semaphore spinlock.
21571 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21572 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21573 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21574 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21575 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21576 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21577 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21578 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21579 version.
21580 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21581 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21582
21583 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
21584
21585 [BZ #17801]
21586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21587 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21588 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21589 New.
21590 (index_AVX_Fast_Unaligned_Load): Likewise.
21591 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21592 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21593 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21594 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21595 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21596 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21597 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21598 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21599 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21600
21601 2015-01-29 Andreas Schwab <schwab@suse.de>
21602
21603 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21604
21605 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21606
21607 [BZ #17892]
21608 * nscd/nscd_stat.c (send_stats): Initialize DATA.
21609
21610 2015-01-28 Martin Sebor <msebor@redhat.com>
21611
21612 * math/README.libm-test: Clarify. Add "How to read the test output."
21613
21614 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
21615
21616 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21617 Define to 0.
21618
21619 2015-01-28 Joseph Myers <joseph@codesourcery.com>
21620
21621 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21622 (__HAVE_64B_ATOMICS): Define to 0.
21623
21624 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21625
21626 [BZ #17885]
21627 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21628 value to set as new flag.
21629
21630 [BZ #16576]
21631 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21632 and use _ARCH_PPCSQ instead.
21633 (__ieee754_sqrt): Likewise.
21634 (__ieee754_sqrtf): Likewise.
21635 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21636 _ARCH_PPCSQ is defined.
21637 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21638 fsqrt instruction.
21639 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21640 _ARCH_PPCSQ is defined.
21641 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21642 fsqrts instruction.
21643 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21644
21645 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21646
21647 * iconv/loop.c: Suppress array out of bound warning caused by GCC
21648 bug (GCC BZ #64739).
21649
21650 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
21651
21652 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21653 Mark _retval as used.
21654 (lll_futex_wake_unlock): Likewise.
21655 (lll_futex_timed_wait_requeue_pi): Likewise.
21656
21657 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21658 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21659 register variables.
21660
21661 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21662 libm_hidden_def.
21663
21664 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21665 (__bswap_64): Mark as __always_inline.
21666
21667 2015-01-25 Bram <bug_rh@spam.wizbit.be>
21668
21669 [BZ #15378]
21670 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21671 when none of the search directories exist.
21672
21673 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21674
21675 [BZ #17869]
21676 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21677 power8 in .machine directive.
21678
21679 [BZ #17868]
21680 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21681 set dependency from opd value.
21682
21683 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
21684
21685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21686 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21687 architecture.
21688
21689 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
21690
21691 [BZ #17870]
21692 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21693 with uint64_t.
21694 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21695 (uint64_t) 1.
21696 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21697 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21698 Replace 1UL with (uint64_t) 1.
21699 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21700 int with uint64_t.
21701
21702 2015-01-23 Roland McGrath <roland@hack.frob.com>
21703
21704 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21705 (if_freenameindex): Likewise.
21706
21707 * resource/getrlimit64.c: Add missing libc_hidden_def.
21708
21709 2015-01-22 Joseph Myers <joseph@codesourcery.com>
21710
21711 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21712 __label__.
21713 (_FP_FMA): Likewise.
21714 (_FP_TO_INT_ROUND): Likewise.
21715 (_FP_FROM_INT): Likewise.
21716
21717 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21718
21719 [BZ #16418]
21720 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21721 Make code racy and cancel safe.
21722
21723 2015-01-21 Carlos O'Donell <carlos@redhat.com>
21724
21725 * sysdeps/arm/unwind-resume.h: Fix copyright year.
21726 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21727 attribution.
21728
21729 * pwd/tst-getpw.c: Rewrite.
21730
21731 [BZ #17702]
21732 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21733 (modules-names): Add moddummy1 and moddummy2.
21734 ($(objpfx)tst-rec-dlopen): Define.
21735 * dlfcn/moddummy1.c: New file.
21736 * dlfcn/moddummy2.c: New file.
21737 * dlfcn/tst-rec-dlopen.c: New file.
21738 * elf/dl-cache.c (_dl_load_cache_lookup):
21739 Return char*. Copy result with alloca/strcpy/strdup.
21740 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21741 returns char*. Free cached. If not saving realname
21742 free cached.
21743 * elf/dl-open.c (dl_open_worker): Do not assert that
21744 _r_debug->r_state is RT_CONSISTENT.
21745 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21746 returns char*.
21747
21748 2015-01-21 Torvald Riegel <triegel@redhat.com>
21749 Carlos O'Donell <carlos@redhat.com>
21750
21751 [BZ #12674]
21752 * nptl/sem_waitcommon.c: New file.
21753 * nptl/sem_wait.c: Include sem_waitcommon.c.
21754 (__sem_wait_cleanup, do_futex_wait): Remove.
21755 (__new_sem_wait): Adapt.
21756 (__new_sem_trywait): New function.
21757 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21758 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21759 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21760 (sem_timedwait): Adapt.
21761 * nptl/sem_post.c (__new_sem_post): Adapt.
21762 (futex_wake): New function.
21763 (__old_sem_post): Add release MO fence.
21764 * nptl/sem_open.c (sem_open): Adapt.
21765 * nptl/sem_init.c (__new_sem_init): Adapt.
21766 (futex_private_if_supported): New function.
21767 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21768 (__old_sem_getvalue): Add using previous code.
21769 * sysdeps/nptl/internaltypes.h: Adapt.
21770 * nptl/tst-sem13.c (do_test): Adapt.
21771 * nptl/tst-sem11.c (main): Adapt.
21772 * nptl/sem_trywait.c: Remove.
21773 * nptl/DESIGN-sem.txt: Remove.
21774 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21775 (gen-as-const-headers): Remove structsem.sym.
21776 * nptl/structsem.sym: Remove.
21777 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21778 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21779 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21780 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21781 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21782 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21783 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21784 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21785 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21786 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21787 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21788 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21789 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21790 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21791 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21792 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21793 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21794 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21795 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21796 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21797 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21798 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21799
21800 2015-01-20 Carlos O'Donell <carlos@redhat.com>
21801
21802 * INSTALL: Regenerated.
21803
21804 * po/libc.pot: Regenerated.
21805
21806 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
21807 Sandra Loosemore <sandra@codesourcery.com>
21808 Andrew Jenner <andrew@codesourcery.com>
21809 Joseph Myers <joseph@codesourcery.com>
21810 Nathan Sidwell <nathan@codesourcery.com>
21811
21812 * NEWS: Mention new Nios II port.
21813 * sysdeps/nios2/Implies: New file.
21814 * sysdeps/nios2/Makefile: New file.
21815 * sysdeps/nios2/Subdirs: New file.
21816 * sysdeps/nios2/Versions: New file.
21817 * sysdeps/nios2/__longjmp.S: New file.
21818 * sysdeps/nios2/abort-instr.h: New file.
21819 * sysdeps/nios2/backtrace.c: New file.
21820 * sysdeps/nios2/bits/endian.h: New file.
21821 * sysdeps/nios2/bits/fenv.h: New file.
21822 * sysdeps/nios2/bits/link.h: New file.
21823 * sysdeps/nios2/bits/setjmp.h: New file.
21824 * sysdeps/nios2/bsd-_setjmp.S: New file.
21825 * sysdeps/nios2/bsd-setjmp.S: New file.
21826 * sysdeps/nios2/configure: New generated file.
21827 * sysdeps/nios2/configure.ac: New file.
21828 * sysdeps/nios2/crti.S: New file.
21829 * sysdeps/nios2/crtn.S: New file.
21830 * sysdeps/nios2/dl-init.c: New file.
21831 * sysdeps/nios2/dl-machine.h: New file.
21832 * sysdeps/nios2/dl-sysdep.h: New file.
21833 * sysdeps/nios2/dl-tls.h: New file.
21834 * sysdeps/nios2/dl-trampoline.S: New file.
21835 * sysdeps/nios2/gccframe.h: New file.
21836 * sysdeps/nios2/gmp-mparam.h: New file.
21837 * sysdeps/nios2/jmpbuf-offsets.h: New file.
21838 * sysdeps/nios2/jmpbuf-unwind.h: New file.
21839 * sysdeps/nios2/ldsodefs.h: New file.
21840 * sysdeps/nios2/libc-tls.c: New file.
21841 * sysdeps/nios2/libm-test-ulps: New file.
21842 * sysdeps/nios2/machine-gmon.h: New file.
21843 * sysdeps/nios2/math-tests.h: New file.
21844 * sysdeps/nios2/math_private.h: New file.
21845 * sysdeps/nios2/memusage.h: New file.
21846 * sysdeps/nios2/nptl/Makefile: New file.
21847 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21848 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21849 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21850 * sysdeps/nios2/nptl/pthreaddef.h: New file.
21851 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21852 * sysdeps/nios2/nptl/tls.h: New file.
21853 * sysdeps/nios2/preconfigure: New file.
21854 * sysdeps/nios2/s_fma.c: New file.
21855 * sysdeps/nios2/s_fmaf.c: New file.
21856 * sysdeps/nios2/setjmp.S: New file.
21857 * sysdeps/nios2/sfp-machine.h: New file.
21858 * sysdeps/nios2/sotruss-lib.c: New file.
21859 * sysdeps/nios2/stackguard-macros.h: New file.
21860 * sysdeps/nios2/stackinfo.h: New file.
21861 * sysdeps/nios2/start.S: New file.
21862 * sysdeps/nios2/sysdep.h: New file.
21863 * sysdeps/nios2/tls-macros.h: New file.
21864 * sysdeps/nios2/tst-audit.h: New file.
21865 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21866 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21867 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21868 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21869 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21870 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21871 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21872 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21873 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21874 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21875 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21876 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21877 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21878 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21879 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21880 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21881 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21882 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21883 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21884 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21885 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21886 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21887 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21888 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21889 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21890 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21891 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21892 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21893 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21894 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21895 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21896 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21897 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21898 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21899 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21900 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21901 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21902 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21903 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21904 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21905 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21906 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21907 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21908 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21909
21910 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21911
21912 [BZ #17844]
21913 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21914 (getutent): Use weak_alias in non SHARED case
21915 and default_symbol_version in SHARED case.
21916 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21917 (getutent_r, pututline): Likewise.
21918 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21919 (getutid): Likewise.
21920 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21921 (getutid_r): Likewise.
21922 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21923 (getutline): Likewise.
21924 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21925 (getutline_r): Likewise.
21926 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21927 (updwtmp): Likewise.
21928
21929 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21930
21931 [BZ #17848]
21932 * sysdeps/s390/s390-32/memcmp.S
21933 (memcmp_g5): Rename to __memcmp_g5.
21934 * sysdeps/s390/s390-32/memcpy.S
21935 (memcpy_g5): Rename to __memcpy_g5.
21936 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21937 (memcpy_mvcle) Rename to __memcpy_mvcle.
21938 * sysdeps/s390/s390-32/memset.S
21939 (memset_g5): Rename to __memset_g5.
21940 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21941 (IFUNC_RESOLVE): Prefix ifunc-resolve function
21942 and use prefixed functions.
21943 * sysdeps/s390/s390-32/multiarch/memcmp.S
21944 (memcmp_z196): Rename to __memcmp_z196.
21945 (memcmp_z10): Rename to __memcmp_z10.
21946 (memcmp): Set alias to __memcmp_g5.
21947 (bcmp): Set alias to __memcmp_g5.
21948 * sysdeps/s390/s390-32/multiarch/memcpy.S
21949 (memcpy_z196): Rename to __memcpy_z196.
21950 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21951 (memcpy_z10): Rename to __memcpy_z10.
21952 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21953 (memcpy): Set alias to __memcpy_g5.
21954 * sysdeps/s390/s390-32/multiarch/memset.S
21955 (memset_z196): Rename to __memset_z196.
21956 Jump to __memset_mvcle instead of memset_mvcle.
21957 (memset_z10): Rename to __memset_z10.
21958 Jump to __memset_mvcle instead of memset_mvcle.
21959 (memset_mvcle) Rename to __memset_mvcle.
21960 (memset): Set alias to __memset_g5.
21961 * sysdeps/s390/s390-64/memcmp.S
21962 (memcmp_z900): Rename to __memcmp_z900.
21963 * sysdeps/s390/s390-64/memcpy.S
21964 (memcpy_z900): Rename to __memcpy_z900.
21965 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21966 (memcpy_mvcle) Rename to __memcpy_mvcle.
21967 * sysdeps/s390/s390-64/memset.S
21968 (memset_z900): Rename to __memset_z900.
21969 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21970 (IFUNC_RESOLVE): Prefix ifunc-resolve function
21971 and use prefixed functions.
21972 * sysdeps/s390/s390-64/multiarch/memcmp.S
21973 (memcmp_z196): Rename to __memcmp_z196.
21974 (memcmp_z10): Rename to __memcmp_z10.
21975 (memcmp): Set alias to __memcmp_z900.
21976 (bcmp): Set alias to __memcmp_z900.
21977 * sysdeps/s390/s390-64/multiarch/memcpy.S
21978 (memcpy_z196): Rename to __memcpy_z196.
21979 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21980 (memcpy_z10): Rename to __memcpy_z10.
21981 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21982 (memcpy): Set alias to __memcpy_z900.
21983 * sysdeps/s390/s390-64/multiarch/memset.S
21984 (memset_z196): Rename to __memset_z196.
21985 Jump to __memset_mvcle instead of memset_mvcle.
21986 (memset_z10): Rename to __memset_z10.
21987 Jump to __memset_mvcle instead of memset_mvcle.
21988 (memset_mvcle) Rename to __memset_mvcle.
21989 (memset): Set alias to __memset_z900.
21990
21991 2015-01-14 Joseph Myers <joseph@codesourcery.com>
21992
21993 [BZ #17748]
21994 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21995 __fesetenv instead of fesetenv.
21996
21997 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21998
21999 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22000 macro.
22001
22002 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22003
22004 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22005 regression on LE.
22006
22007 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22008 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22009 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22010 strncmp-power8 object.
22011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22012 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
22013 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
22014 * NEWS: Update.
22015
22016 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22017 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22018
22019 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
22020 trailing byte check.
22021
22022 2015-01-13 David S. Miller <davem@davemloft.net>
22023
22024 * include/signal.h (__sigreturn): Guard with __USE_MISC.
22025
22026 2015-01-13 Roland McGrath <roland@hack.frob.com>
22027
22028 * login/logout.c (logout): Use memset rather than bzero.
22029 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
22030 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
22031 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
22032 (_gethtbyaddr): Likewise.
22033 * locale/programs/simple-hash.c (bcopy): Macro removed.
22034
22035 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22036
22037 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22038 Add strcmp-power8 object.
22039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22040 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
22041 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
22042 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
22043 __strcmp_power8 implementation.
22044 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
22045 * NEWS: Update.
22046
22047 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22048 Add strncpy-power8 and stpncpy-power8 objects.
22049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22050 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
22051 implementations.
22052 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
22053 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
22054 __stpncpy_power8 implementation.
22055 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
22056 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
22057 __strncpy_power8 implementation.
22058 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
22059 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
22060 * NEWS: Update.
22061
22062 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
22063 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
22064 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
22065
22066 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22067 strncat-power8 object.
22068 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
22069 __strcat_power8 implementation.
22070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22071 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
22072 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
22073 optimized strcat for power8.
22074
22075 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22076 strcpy-power8 and stpcpy-power8 objects.
22077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22078 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
22079 implementations.
22080 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
22081 multiarch stpcpy implementation for POWER8.
22082 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
22083 multiarch strcpy implementation for POWER8.
22084 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
22085 __strcpy_power8 function.
22086 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
22087 stpcpy for POWER8.
22088 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
22089 strcpy for POWER8.
22090 * NEWS: Update.
22091
22092 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
22093
22094 [BZ #16009]
22095 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
22096 weights and rules. Use do_xfrm_cached if data fits in cache,
22097 do_xfrm otherwise. Moved former main loop to...
22098 * (do_xfrm_cached): New function.
22099 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
22100 find_idx, find_position and stack_push.
22101 * (find_idx): New function.
22102 * (find_position): Likewise.
22103 * localedata/sort-test.sh: Added test run for do_xfrm.
22104 * localedata/xfrm-test.c (main): Added command line option
22105 -nocache to run the test with strings that are too large for
22106 the STRXFRM cache.
22107
22108 2015-01-13 Torvald Riegel <triegel@redhat.com>
22109
22110 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
22111 variable to lll_futex_wake call, not the value itself.
22112
22113 2015-01-12 Joseph Myers <joseph@codesourcery.com>
22114
22115 [BZ #17803]
22116 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
22117 twom64. Adjust value to 0x1p-64L.
22118 (__scalblnl): Only return standard underflowing result for K <=
22119 -64 not K <= -63; adjust exponent for underflowing result by 64
22120 not 63.
22121 * math/libm-test.inc (scalbn_test_data): Add more tests.
22122 (scalbln_test_data): Likewise.
22123
22124 [BZ #17834]
22125 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22126 0x1p63L.
22127 (__scalblnl): Get new exponent of adjusted subnormal value from ES
22128 not HX.
22129 * math/libm-test.inc (scalbn_test_data): Add more tests.
22130 (scalbln_test_data): Likewise.
22131
22132 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22133 Stefani Seibold <stefani@seibold.net>
22134
22135 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22136 (sysdep_routines): Add dl-vdso here, ...
22137 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22138 (sysdep_routines): ... not here.
22139 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22140 fallback when vDSO is not presented.
22141 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22142 Define with libc_hidden_proto/libc_hidden_data_def definitions.
22143 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22144 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22145 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22146 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22147 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22148 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22149 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22150 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22151 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
22152 fallback configurable symbol when vDSO is not available.
22153 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22154 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
22155 be able to redefine fallback symbol when vDSO is not available.
22156 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22157 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22158
22159 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22160
22161 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22162 (TLS_INIT_TP): Add tm_capable initialization.
22163 (TLS_DEFINE_INIT_TP): Likewise.
22164 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22165 TCB.
22166 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22167 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22168 calculation.
22169 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22170 transactoion is lock elision is built and TCB tm_capable is set.
22171 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22173 (INTERNAL_SYSCALL_NCS): Likewise.
22174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22175 (INTERNAL_SYSCALL_NCS): Likewise.
22176 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22177
22178 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22179 for powerpc.
22180 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22181 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22182 and remove it for 32 bits case.
22183 [pthread_rwlock_t] (__rwelision): New field for lock elision.
22184 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22185 initialization.
22186 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22187 Disable lock elision with rdlocks if elision is not available.
22188
22189 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22190 (sysdep_routines): Add lock elision objects.
22191 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22192 [pthread_mutex_t] (__spins): Rework to add lock elision field.
22193 [pthread_mutex_t] (__elision): Add field.
22194 [__PTHREAD_SPINS]: Adjust to init lock elision field.
22195 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22196 elision definitions for powerpc.
22197 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22198 implementation of lock elision for powerpc.
22199 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22200 implementation of timed lock elision for powerpc.
22201 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22202 implementation of trylock with lock elision for powerpc.
22203 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22204 implementaion of unlock for lock elision for powerpc.
22205 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22206 automatic enable lock elision for mutexes.
22207 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22208 transaction execution definitions for powerpc.
22209 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22210 definitions.
22211 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22212 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22213 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22214 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22215 * NEWS: Update.
22216
22217 2015-01-09 Roland McGrath <roland@hack.frob.com>
22218
22219 * sysdeps/posix/shm-directory.c: Use <> rather than ""
22220 for #include of <shm-directory.h>.
22221
22222 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
22223
22224 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22225 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22226
22227 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
22228
22229 [BZ #17791]
22230 * NEWS: Mention bug fix.
22231 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22232 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22233 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22234
22235 2015-01-09 Torvald Riegel <triegel@redhat.com>
22236
22237 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22238
22239 2015-01-09 Torvald Riegel <triegel@redhat.com>
22240
22241 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22242
22243 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
22244
22245 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22246 pointer and cast to uintptr_t.
22247
22248 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
22249
22250 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22251 removed.
22252 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22253
22254 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
22255
22256 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22257 of 0.
22258
22259 2015-01-08 Roland McGrath <roland@hack.frob.com>
22260
22261 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22262 <nptl/pthreadP.h> instead.
22263 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22264
22265 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22266 already defined.
22267 [__SIGRTMIN] (init): Function removed.
22268 [__SIGRTMIN] (initialized): Variable removed.
22269 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22270 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22271 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22272 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22273 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22274 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22275 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22276 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
22277 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
22278 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
22279 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
22280 * sysdeps/nptl/allocrtsig.c: New file.
22281 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
22282 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
22283 * sysdeps/generic/testrtsig.h: File removed.
22284
22285 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
22286 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
22287
22288 * nptl/nptl-init.c (pthread_functions): Conditionalize
22289 .ptr__nptl_setxid initialization on [SIGSETXID].
22290
22291 * sysdeps/nptl/sys/procfs.h: New file.
22292 * nptl_db/Makefile (headers): Add it.
22293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
22294
22295 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
22296 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
22297 * nptl/pthread_attr_setaffinity.c: Include it.
22298 * nptl/pthread_setattr_default_np.c: Likewise.
22299 * nptl/check-cpuset.h: New file.
22300
22301 2015-01-08 Richard Henderson <rth@redhat.com>
22302
22303 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
22304 (CFLAGS-tst-execstack-prog.c): Likewise.
22305 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
22306
22307 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
22308 Sandra Loosemore <sandra@codesourcery.com>
22309 Andrew Jenner <andrew@codesourcery.com>
22310 Joseph Myers <joseph@codesourcery.com>
22311 Nathan Sidwell <nathan@codesourcery.com>
22312
22313 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
22314 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
22315 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
22316 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
22317 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
22318 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
22319 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
22320 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
22321 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
22322 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
22323 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
22324 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
22325 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
22326 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
22327 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22328 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
22329 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
22330
22331 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22332
22333 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
22334 timespec struct member in syscall macro.
22335 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22336 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
22337 first timeval struct member in syscall macro.
22338 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
22339
22340 2015-01-07 Joseph Myers <joseph@codesourcery.com>
22341
22342 [BZ #17748]
22343 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
22344 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
22345 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
22346 __feupdateenv and define as weak alias of __feupdateenv. Use
22347 libm_hidden_weak.
22348 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
22349 libm_hidden_def.
22350 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
22351 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
22352 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22353 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
22354 libm_hidden_def.
22355 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
22356 __feupdateenv and define as weak alias of __feupdateenv. Use
22357 libm_hidden_weak.
22358 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
22359 libm_hidden_def.
22360 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22361 __feupdateenv and define as weak alias of __feupdateenv. Use
22362 libm_hidden_weak.
22363 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
22364 libm_hidden_def.
22365 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22366 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22367 (__feupdateenv): Likewise.
22368 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
22369 __feupdateenv and define as weak alias of __feupdateenv. Use
22370 libm_hidden_weak.
22371 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22372 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22373 libm_hidden_def.
22374 * sysdeps/tile/math_private.h (__feupdateenv): New inline
22375 function.
22376 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22377 libm_hidden_def.
22378 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22379 __feupdateenv instead of feupdateenv.
22380 (default_libc_feupdateenv_test): Likewise.
22381 (libc_feresetround_ctx): Likewise.
22382
22383 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22384
22385 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22386 prototype.
22387
22388 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
22389
22390 * posix/regcomp.c (parse_bracket_exp): Initialize type to
22391 COLL_SYM in a couple of places to avoid uninitialized variable
22392 wanings on tilegx gcc 4.8.2.
22393
22394 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
22395
22396 * sysdeps/aarch64/strcpy.S: New file.
22397 * sysdeps/aarch64/stpcpy.S: New file.
22398 * NEWS: Updated.
22399
22400 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
22401
22402 * sysdeps/aarch64/strrchr.S: New file.
22403 * NEWS: Updated.
22404
22405 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
22406
22407 [BZ #17658]
22408 * stdlib/setenv.c: Fix memory leak when setting large,
22409 duplicate string.
22410
22411 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
22412
22413 [BZ #17273]
22414 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22415 and tabs from buffer before parsing fstab entry.
22416 * misc/tst-mntent.c (main): Add test for mount entry with
22417 trailing spaces and tabs.
22418
22419 2015-01-06 Joseph Myers <joseph@codesourcery.com>
22420
22421 [BZ #17748]
22422 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
22423 * math/fesetround.c (fesetround): Rename to __fesetround and
22424 define as weak alias of __fesetround. Use libm_hidden_weak.
22425 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22426 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22427 * sysdeps/arm/fesetround.c (fesetround): Likewise.
22428 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22429 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22430 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22431 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22432 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22433 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22434 __fesetround_inline.
22435 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22436 __fesetround_inline instead of __fesetround.
22437 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22438 __fesetround and define as weak alias of __fesetround. Use
22439 libm_hidden_weak. Call __fesetround_inline instead of
22440 __fesetround.
22441 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22442 __fesetround and define as weak alias of __fesetround. Use
22443 libm_hidden_weak.
22444 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22445 Likewise.
22446 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22447 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22448 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22449 * sysdeps/tile/math_private.h (__fesetround): New inline function.
22450 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22451 __fesetround and define as weak alias of __fesetround. Use
22452 libm_hidden_weak.
22453 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22454 __fesetround instead of fesetround.
22455 (default_libc_feholdexcept_setround): Likewise.
22456 (libc_feholdsetround_ctx): Likewise.
22457 (libc_feholdsetround_noex_ctx): Likewise.
22458
22459 [BZ #17748]
22460 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22461 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22462 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22463 and define as weak alias of __fesetenv. Use libm_hidden_weak.
22464 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22465 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22466 define as weak alias of __fesetenv. Use libm_hidden_weak.
22467 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22468 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22469 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22470 define as weak alias of __fesetenv. Use libm_hidden_weak.
22471 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22472 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22473 define as weak alias of __fesetenv. Use libm_hidden_weak.
22474 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22475 libm_hidden_def.
22476 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22477 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22478 Likewise.
22479 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22480 define as weak alias of __fesetenv. Use libm_hidden_weak.
22481 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22482 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22483 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22484 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22485 and define as weak alias of __fesetenv. Use libm_hidden_weak.
22486 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22487 __fesetenv instead of fesetenv.
22488 (libc_feresetround_noex_ctx): Likewise.
22489 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22490 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22491 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22492 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22493 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22494 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22495 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22496 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22497 (__feupdateenv): Likewise.
22498 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22499 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22500 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22501 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22502
22503 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
22504
22505 [BZ #17806]
22506 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22507 addresses have been freed.
22508
22509 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
22510
22511 * resolv/res_init.c (__res_vinit): Improve comments about nserv
22512 and nservall.
22513
22514 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
22515
22516 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22517 Clean up check_pf allocation pattern. addresses
22518
22519 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22520
22521 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22522 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22523 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22524 * nptl/pthread_exit.c (__pthread_exit): Likewise.
22525 * nptl/pthread_join.c (pthread_join): Likewise.
22526 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22527 * sysdeps/posix/waitid.c (__waitid): Likewise.
22528 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22529 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22530 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22531 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22532 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22533 Likewise.
22534 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22535 (__libc_pread64): Likewise.
22536 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22537 (__libc_pwrite): Likewise.
22538 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22539 (__libc_pwrite64): Likewsie.
22540 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22541 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22542 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22543 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22544 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22545 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22546 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22548 Likewise.
22549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22550 (__libc_pread64): Likewise.
22551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22552 Likewise.
22553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22554 (__libc_pwrite64): Likewise.
22555 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22556 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22557 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22558 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22559 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22560 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22561 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22562 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22563 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22564 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22565 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22566 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22567 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22568 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22569 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22570 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22571 Likewise.
22572
22573 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
22574
22575 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22576 (CFLAGS-test-double.c): Likewise.
22577 (CFLAGS-test-ldouble.c): Likewise.
22578 (CPPFLAGS-test-ifloat.c): Likewise.
22579 (CPPFLAGS-test-idouble.c): Likewise.
22580 (CPPFLAGS-test-ildoubl.c): Likewise.
22581 (CFLAGS-test-test-fenv.c): Remove variable.
22582 (CFLAGS-test-misc.c): Likewise.
22583
22584 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
22585
22586 [BZ #17797]
22587 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22588 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22589 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22590 CLOCKS_PER_SEC == 1000000.
22591 * time/clocktest.c (main): Replace %ld with %jd and cast to
22592 intmax_t.
22593
22594 2015-01-05 Roland McGrath <roland@hack.frob.com>
22595
22596 * sysdeps/generic/unwind-resume.h: New file.
22597 * sysdeps/gnu/unwind-resume.c: Include it.
22598 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22599 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22600 argument list.
22601 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22602 global rather than static.
22603 (_Unwind_Resume): Update user.
22604 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22605 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
22606 rather than static. Add __attribute__ ((cold)).
22607 (_Unwind_Resume, __gcc_personality_v0): Update callers.
22608 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22609 * sysdeps/arm/arm-unwind-resume.S: New file.
22610 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22611 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22612 * sysdeps/arm/Makefile [$(subdir) = csu]
22613 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22614 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22615 Add rt-arm-unwind-resume.
22616 [$(subdir) = nptl]
22617 (libpthread-sysdep_routines, libpthread-shared-only-routines):
22618 Add pt-arm-unwind-resume.
22619 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22620 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22621
22622 2015-01-05 Joseph Myers <joseph@codesourcery.com>
22623
22624 [BZ #17748]
22625 * include/fenv.h (__feholdexcept): Declare. Use
22626 libm_hidden_proto.
22627 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22628 define as weak alias of __feholdexcept. Use libm_hidden_weak.
22629 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22630 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22631 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22632 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22633 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22634 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22635 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22636 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22637 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22638 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22639 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22640 (feholdexcept): Likewise.
22641 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22642 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22643 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22644 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22645 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22646 __feholdexcept instead of feholdexcept.
22647 (default_libc_feholdexcept_setround): Likewise.
22648
22649 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
22650
22651 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22652 to avoid using stl/str to align destination.
22653
22654 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
22655
22656 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22657
22658 2015-01-05 Joseph Myers <joseph@codesourcery.com>
22659
22660 [BZ #17796]
22661 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22662 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22663 Define as weak alias not strong alias.
22664
22665 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
22666
22667 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22668 bltzal with addiupc.
22669 (RTLD_START): Ditto.
22670
22671 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
22672
22673 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22674 for __vdso_* functions in declarations.
22675 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22676 definitions.
22677 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22678 INTERNAL_VSYSCALL): Use struct return types to check for error.
22679
22680 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22681 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22682 function with cast from llround().
22683 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22684 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22685 Define.
22686
22687 2015-01-05 Joseph Myers <joseph@codesourcery.com>
22688
22689 [BZ #17793]
22690 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22691 Define as weak alias not strong alias.
22692
22693 [BZ #17635]
22694 * ctype/ctype-c99.c: New file. isblank implementation moved from
22695 ...
22696 * ctype/ctype-extn.c: ... here.
22697 (__isblank_l): Move to ...
22698 * ctype/ctype-c99_l.c: ... here. New file.
22699 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22700 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22701 Remove variable.
22702 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22703 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22704 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22705 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22706 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22707
22708 [BZ #17777]
22709 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22710 (posix_fadvise64): Define as weak alias not strong alias.
22711 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22712 (posix_fallocate64): Likewise.
22713 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22714 Remove variable.
22715 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22716 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22717 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22718 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22719 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22720
22721 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
22722
22723 [BZ #16191]
22724 * NEWS: Mention bug fix.
22725 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22726 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22727 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22728 (HOST_STACK_END_ADDR): Likewise.
22729
22730 2015-01-02 Joseph Myers <joseph@codesourcery.com>
22731
22732 [BZ #17748]
22733 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
22734 * math/fegetround.c (fegetround): Rename to __fegetround and
22735 define as weak alias of __fegetround. Use libm_hidden_weak.
22736 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22737 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22738 * sysdeps/arm/fegetround.c (fegetround): Likewise.
22739 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22740 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22741 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22742 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22743 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22744 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22745 Undefine after rather than before function definition; use
22746 parentheses around function name in definition.
22747 (__fegetround): Also undefine macro after function definition.
22748 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22749 __fegetround and define as weak alias of __fegetround. Use
22750 libm_hidden_weak. Do not undefine as macro.
22751 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22752 Likewise.
22753 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22754 __fegetround and define as weak alias of __fegetround. Use
22755 libm_hidden_weak.
22756 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22757 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22758 * sysdeps/tile/math_private.h (__fegetround): New inline function.
22759 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22760 __fegetround and define as weak alias of __fegetround. Use
22761 libm_hidden_weak.
22762 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22763 __fegetround instead of fegetround.
22764
22765 [BZ #17782]
22766 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22767 Condition macro definition on [__USE_MISC].
22768
22769 [BZ #17781]
22770 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22771 (struct sigaction): Change type of sa_flags field to int.
22772
22773 [BZ #17780]
22774 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22775 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22776 __glibc_reserved0.
22777
22778 * nptl/version.c (banner): Use single year in copyright notice.
22779
22780 * NEWS: Update copyright dates.
22781 * catgets/gencat.c (print_version): Likewise.
22782 * csu/version.c (banner): Likewise.
22783 * debug/catchsegv.sh: Likewise.
22784 * debug/pcprofiledump.c (print_version): Likewise.
22785 * debug/xtrace.sh (do_version): Likewise.
22786 * elf/ldconfig.c (print_version): Likewise.
22787 * elf/ldd.bash.in: Likewise.
22788 * elf/pldd.c (print_version): Likewise.
22789 * elf/sotruss.sh: Likewise.
22790 * elf/sprof.c (print_version): Likewise.
22791 * iconv/iconv_prog.c (print_version): Likewise.
22792 * iconv/iconvconfig.c (print_version): Likewise.
22793 * locale/programs/locale.c (print_version): Likewise.
22794 * locale/programs/localedef.c (print_version): Likewise.
22795 * login/programs/pt_chown.c (print_version): Likewise.
22796 * malloc/memusage.sh (do_version): Likewise.
22797 * malloc/memusagestat.c (print_version): Likewise.
22798 * malloc/mtrace.pl: Likewise.
22799 * manual/libc.texinfo: Likewise.
22800 * nptl/version.c (banner): Likewise.
22801 * nscd/nscd.c (print_version): Likewise.
22802 * nss/getent.c (print_version): Likewise.
22803 * nss/makedb.c (print_version): Likewise.
22804 * posix/getconf.c (main): Likewise.
22805 * scripts/test-installation.pl: Likewise.
22806 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22807
22808 2015-01-02 Will Newton <will.newton@linaro.org>
22809
22810 * sysdeps/arm/armv7/configure: Removed.
22811 * sysdeps/arm/armv7/configure.ac: Likewise.
22812
22813 2015-01-02 Joseph Myers <joseph@codesourcery.com>
22814
22815 * All files with FSF copyright notices: Update copyright dates
22816 using scripts/update-copyrights.
22817 * intl/plural.c: Regenerated.
22818 * locale/programs/charmap-kw.h: Likewise.
22819 * locale/programs/locfile-kw.h: Likewise.
22820
22821 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22822
22823 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22824
22825 2014-12-31 Joseph Myers <joseph@codesourcery.com>
22826
22827 [BZ #17748]
22828 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22829 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22830 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22831 and define as weak alias of __fegetenv. Use libm_hidden_weak.
22832 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22833 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22834 define as weak alias of __fegetenv. Use libm_hidden_weak.
22835 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22836 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22837 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22838 define as weak alias of __fegetenv. Use libm_hidden_weak.
22839 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22840 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22841 define as weak alias of __fegetenv. Use libm_hidden_weak.
22842 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22843 libm_hidden_def.
22844 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22845 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22846 Likewise.
22847 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22848 define as weak alias of __fegetenv. Use libm_hidden_weak.
22849 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22850 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22851 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22852 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22853 and define as weak alias of __fegetenv. Use libm_hidden_weak.
22854 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22855 __fegetenv instead of fegetenv.
22856 (libc_feholdsetround_noex_ctx): Likewise.
22857
22858 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
22859
22860 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22861 (Elf_MIPS_ABIFlags_v0): New structure.
22862 (EF_MIPS_FP64): Define.
22863 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22864 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22865 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22866 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22867 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22868 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22869 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22870 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22871 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22872 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22873 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22874 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22875 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22876 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22877 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22878 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22879 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22880 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22881 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22882 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22883 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22884 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22885 field.
22886 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22887 EF_MIPS_FP64.
22888 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22889 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22890 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22891 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22892 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22893 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22894 * sysdeps/mips/tst-abi-interlink.c: Likewise.
22895 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22896 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22897 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22898 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22899 record the current FP ABI extension.
22900 (mips-mode-switch): Define to show if kernel headers support mode
22901 switching.
22902 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22903 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22904 supported SYSV ABI version to 3.
22905 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22906 feature.
22907
22908 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22909 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22910
22911 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22912 path.
22913 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22914
22915 2014-12-31 Joseph Myers <joseph@codesourcery.com>
22916
22917 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22918 __fegetround and redefine to call __fegetround. Remove condition
22919 on [!__NO_MATH_INLINES].
22920 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22921 function.
22922 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22923 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22924 Remove macro.
22925 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22926 instead of <fenv_libc.h>.
22927 (__llrintl): Call fegetround instead of __fegetround.
22928 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22929 instead of <fenv_libc.h>.
22930 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22931 (__lrintl): Call fegetround instead of __fegetround.
22932 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22933 instead of <fenv_libc.h>.
22934 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22935 (__rintl): Call fegetround instead of __fegetround.
22936
22937 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22938
22939 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22940 arrays.
22941
22942 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
22943
22944 [BZ #17775]
22945 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22946 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22947 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22948
22949 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
22950
22951 * sysdeps/i386/tls-macros.h: Include <features.h>.
22952 (TLS_LE): Use non-PIC version for GCC >= 5.0.
22953 (TLS_IE): Likewise.
22954 (TLS_LD): Likewise.
22955 (TLS_GD): Likewise.
22956 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22957 define for GCC >= 5.0.
22958
22959 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
22960
22961 * math/test-fenv.c (test_single_exception, set_single_exc,
22962 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22963 feexcp_mask_test, feenable_test, fe_single_test): Add
22964 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22965 case where they are not used.
22966 * math/libm-test.inc: Likewise.
22967 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22968 unused in the absence of FP rounding/exception support.
22969 * stdio-common/tst-printf-round.c: Likewise.
22970 * stdlib/tst-strtod-round.c: Likewise.
22971 * stdlib/tst-strtod-underflow.c: Likewise.
22972
22973 2014-12-30 Joseph Myers <joseph@codesourcery.com>
22974
22975 [BZ #17723]
22976 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22977 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22978 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22979 __feraiseexcept and define as weak alias of __feraiseexcept. Use
22980 libm_hidden_weak.
22981 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22982 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22983 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22984 libm_hidden_def.
22985 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22986 __feraiseexcept and define as weak alias of __feraiseexcept. Use
22987 libm_hidden_weak.
22988 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22989 Likewise.
22990 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22991 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22992 __feraiseexcept and define as weak alias of __feraiseexcept. Use
22993 libm_hidden_weak.
22994 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22995 libm_hidden_def.
22996 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22997 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22998 (__feraiseexcept): Likewise.
22999 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23000 __feraiseexcept and define as weak alias of __feraiseexcept. Use
23001 libm_hidden_weak.
23002 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23003 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23004 libm_hidden_def.
23005 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23006 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23007 Use libm_hidden_def.
23008 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23009 libm_hidden_def.
23010 (feraiseexcept): Define as weak not strong alias. Use
23011 libm_hidden_weak.
23012 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
23013 New inline function. Factored out of ...
23014 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
23015 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
23016 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
23017 feraiseexcept.
23018 * math/w_acos.c (__acos): Likewise.
23019 * math/w_asin.c (__asin): Likewise.
23020 * math/w_ilogb.c (__ilogb): Likewise.
23021 * math/w_j0.c (y0): Likewise.
23022 * math/w_j1.c (y1): Likewise.
23023 * math/w_jn.c (yn): Likewise.
23024 * math/w_log.c (__log): Likewise.
23025 * math/w_log10.c (__log10): Likewise.
23026 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
23027 * sysdeps/aarch64/fpu/math_private.h
23028 (libc_feupdateenv_test_aarch64): Likewise.
23029 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23030 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
23031 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
23032 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23033 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23034 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23035 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
23036 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23037 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23038 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23039
23040 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
23041
23042 [BZ #17732]
23043 * io/test-utime.c (main): Replace %ld with %jd and cast to
23044 intmax_t.
23045 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
23046 * nptl/tst-mutex5.c: Include <stdint.h>.
23047 (do_test): Replace %ld with %jd and cast to intmax_t.
23048 * posix/tst-regex.c (run_test): Likewise.
23049 (run_test_backwards): Likewise.
23050 * rt/tst-clock.c: Include <stdint.h>.
23051 (clock_test): Replace %ld with %jd and cast to intmax_t.
23052 * rt/tst-cpuclock1.c: Include <stdint.h>.
23053 (do_test): Replace %lu with %ju and cast to uintmax_t.
23054 * rt/tst-cpuclock2.c: Include <stdint.h>.
23055 (do_test): Replace %lu with %ju and cast to uintmax_t.
23056 * rt/tst-mqueue1.c: Include <stdint.h>.
23057 (check_attrs): Replace %ld with %jd and cast to intmax_t.
23058 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
23059 intmax_t.
23060 * rt/tst-mqueue4.c (do_test): Likewise.
23061 * rt/tst-timer4.c: Include <stdint.h>.
23062 (check_ts): Replace %ld with %jd and cast to intmax_t.
23063 (do_test): Likewise.
23064 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
23065 and cast to intmax_t.
23066 * sysdeps/pthread/tst-timer.c (main): Likewise.
23067 * time/clocktest.c (main): Likewise.
23068 * time/tst-posixtz.c (do_test): Likewise.
23069 * timezone/tst-timezone.c (main): Likewise.
23070
23071 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
23072 H.J. Lu <hongjiu.lu@intel.com>
23073
23074 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
23075 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23076 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
23077 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
23078 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
23079 version if bit_Fast_Unaligned_Load is set.
23080 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23081 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23082 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23083 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23084 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23085 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23086 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23087 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
23088 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
23089 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
23090 to 4.
23091 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
23092 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
23093 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
23094 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
23095
23096 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
23097
23098 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
23099 instead of #if to avoid a Wundef warning.
23100 * stdlib/tst-limits.c (do_test): Likewise.
23101
23102 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
23103 parallel other exception macros.
23104 (fegetenv): Convert from macro to extern inline so that it applies
23105 retroactively to inline functions already seen by the compiler.
23106 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
23107
23108 * posix/Makefile (before-compile): Use $(objpfx) for
23109 posix-conf-vars-def.h.
23110
23111 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23112
23113 * posix/getconf.c (main): Use size_t for type of I.
23114 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
23115 NSPEC.
23116
23117 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
23118 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
23119 * posix/posix-envs.def: Likewise.
23120 * sysdeps/posix/sysconf.c: Likewise.
23121 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
23122 (specs): Remove array.
23123 * scripts/gen-posix-conf-vars.awk: Support generation of specs
23124 array.
23125
23126 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23127 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23128 (__sysconf): Use CONF_IS_* macros.
23129
23130 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23131 ($(objpfx)posix-conf-vars-def.h): New target.
23132 * posix/posix-conf-vars.list: New file.
23133 * posix/posix-conf-vars.h: New file.
23134 * posix/confstr.c: Include posix-conf-vars.h.
23135 (confstr): Use CONF_IS_* macros.
23136 * posix/posix-envs.def: Include posix-conf-vars.h. Use
23137 CONF_IS_* macros.
23138 * scripts/gen-posix-conf-vars.awk: New file.
23139
23140 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
23141
23142 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23143 fegetround): Add no-op macros to avoid linknamespace issues.
23144
23145 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23146 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23147
23148 * sysdeps/unix/sysv/linux/tile/sysdep.h
23149 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23150 assembly-specific section to avoid a redefinition warning.
23151
23152 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23153 long before casting to pointer to avoid a cast warning.
23154
23155 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
23156
23157 * sysdeps/tile/tilegx/Implies: New file.
23158
23159 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
23160
23161 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23162
23163 2014-12-23 Florian Weimer <fweimer@redhat.com>
23164
23165 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23166
23167 2014-12-22 Joseph Myers <joseph@codesourcery.com>
23168
23169 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23170 not define.
23171 * sysdeps/unix/sysv/linux/utimes.c: Do not include
23172 <kernel-features.h>.
23173 (__utimes) [__NR_utimes]: Make code unconditional.
23174 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23175 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23176 (__ASSUME_UTIMES): Do not undefine.
23177 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23178 (__ASSUME_UTIMES): Likewise.
23179 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23180 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23181 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23182 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23183
23184 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
23185
23186 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23187
23188 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
23189
23190 [BZ #17747]
23191 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23192 alias to weak alias for j0l, y0l.
23193 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23194 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23195
23196 [BZ #17746]
23197 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23198 conversion.
23199
23200 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
23201
23202 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23203 to zero if not already defined.
23204
23205 2014-12-22 Joseph Myers <joseph@codesourcery.com>
23206
23207 [BZ #17724]
23208 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23209 (__kernel_standard_f): Remove. Moved to k_standardf.c.
23210 (__kernel_standard_l): Remove. Moved to k_standardl.c with
23211 (char *) casts added.
23212 * sysdeps/ieee754/k_standardf.c: New file.
23213 * sysdeps/ieee754/k_standardl.c: Likewise.
23214 * math/Makefile (libm-support): Remove k_standard.
23215 (libm-calls): Add k_standard.
23216
23217 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
23218
23219 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23220 Optimize to avoid an unnecessary FPCR read.
23221
23222 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
23223
23224 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23225 Optimize to reduce FPCR/FPSR accesses.
23226
23227 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
23228
23229 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23230 Call libc_fetestexcept_aarch64.
23231
23232 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
23233
23234 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23235 Call libc_fesetround_aarch64.
23236
23237 2014-12-22 Joseph Myers <joseph@codesourcery.com>
23238
23239 [BZ #17733]
23240 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23241 (__bind): Do not define as weak alias.
23242 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23243 define.
23244 (__getsockname): Do not define as weak alias.
23245
23246 2014-12-22 Will Newton <will.newton@linaro.org>
23247
23248 * manual/install.texi: Document that we require bison 2.7
23249 or above.
23250 * INSTALL: Regenerate.
23251 * configure.ac: Use AC_CHECK_PROG_VER instead of
23252 AC_PATH_PROG when checking for bison and check for
23253 version 2.7 or above.
23254 * configure: Regenerate.
23255
23256 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
23257
23258 [BZ #17745]
23259 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23260 * sysdeps/tile/ffsll.c (ffsll): To here.
23261
23262 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23263
23264 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
23265
23266 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23267 if not defined.
23268 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23269 definition.
23270 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23271 hidden ___tls_get_addr.
23272 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23273 hidden __tls_get_addr.
23274 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23275 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23276 Likewise.
23277
23278 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
23279
23280 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
23281 _dl_init call.
23282
23283 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
23284
23285 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
23286 from "call _dl_init@PLT".
23287 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
23288
23289 2014-12-21 Anders Kaseorg <andersk@mit.edu>
23290
23291 * manual/search.texi: (Array Sort Function): Clarify stable sorting
23292 guarantees.
23293
23294 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
23295
23296 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
23297
23298 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
23299
23300 [BZ #17744]
23301 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
23302 strnlen.
23303
23304 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
23305
23306 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
23307 of multu on MIPSr6.
23308 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
23309 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
23310 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
23311 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
23312 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
23313
23314 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
23315
23316 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
23317 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
23318 (PTR_SUBU): Use subu for mips32r6/mips64r6.
23319 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
23320 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
23321 mips32r6/mips64r6.
23322 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
23323
23324 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
23325
23326 * string/strncat.c (STRNCAT): Simplify implementation.
23327
23328 2014-12-19 David S. Miller <davem@davemloft.net>
23329
23330 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
23331 access the quad as both a long double and as a series of 4 words.
23332
23333 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
23334 link_map->l_info array access.
23335
23336 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
23337
23338 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
23339
23340 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
23341 * math/atest-exp2.c (TIMEOUT): Likewise.
23342 * math/atest-sincos.c (TIMEOUT): Likewise.
23343
23344 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
23345
23346 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
23347 -Wno-error with -fno-builtin-lround.
23348
23349 2014-12-19 Torvald Riegel <triegel@redhat.com>
23350
23351 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
23352 Contains futex constants and functions moved over from ...
23353 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
23354 <lowlevellock-futex.h>.
23355 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23356 (lll_timedwait_tid): Add comments and parentheses around macro
23357 arguments.
23358
23359 2014-12-19 Torvald Riegel <triegel@redhat.com>
23360
23361 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
23362 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
23363 (__lll_private_flag): Remove.
23364 (lll_futex_wait): Likewise.
23365 (lll_futex_timed_wait): Likewise.
23366 (lll_futex_wake): Likewise.
23367 (lll_futex_requeue): Likewise.
23368 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23369 (__lll_timedwait_tid): Spell out argument names.
23370 (lll_timedwait_tid): Add comments and parentheses around macro
23371 arguments.
23372 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23373 LLL_SHARED and LLL_PRIVATE usable from assembly code.
23374
23375 2014-12-19 Torvald Riegel <triegel@redhat.com>
23376
23377 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23378 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23379 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23380 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23381 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23382 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23383 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23384 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23385 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23386 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23387 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23388 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23389 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23390 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23391 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23392 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23393 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23394 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23395 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23396
23397 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
23398
23399 * sysdeps/x86_64/x32/Makefile: New file.
23400
23401 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
23402
23403 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23404 1L with (mp_limb_t) 1.
23405
23406 2014-12-17 Roland McGrath <roland@hack.frob.com>
23407
23408 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23409 * nptl/libc_pthread_init.c: ... here.
23410 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23411 * nptl/register-atfork.c: ... here.
23412
23413 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23414 Use pthread_sigmask rather than INTERNAL_SYSCALL.
23415 Use assert_perror to check its return value.
23416 (__gai_create_helper_thread): Likewise.
23417
23418 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23419
23420 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23421
23422 2014-12-17 Joseph Myers <joseph@codesourcery.com>
23423
23424 [BZ #17725]
23425 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23426 __profil_counter.
23427 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23428 Likewise.
23429 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23430 Likewise.
23431 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23432 Likewise.
23433 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23434 (profil_counter): Likewise.
23435 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23436 (profil_counter): Likewise.
23437 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23438 Likewise.
23439 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23440 Likewise.
23441 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23442 (profil_counter): Likewise.
23443 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23444 Likewise.
23445 [!__profil_counter] (profil_counter): Define as weak alias of
23446 __profil_counter.
23447 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23448 (profil_counter): Rename to __profil_counter.
23449 [!__profil_counter] (profil_counter): Define as weak alias of
23450 __profil_counter.
23451 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23452 (profil_counter): Rename to __profil_counter.
23453 [!__profil_counter] (profil_counter): Define as weak alias of
23454 __profil_counter.
23455 * sysdeps/posix/profil.c: Update comment referring to
23456 profil_counter.
23457 (__profil): Use __profil_counter instead of profil_counter.
23458 * sysdeps/posix/sprofil.c (profil_counter): Rename to
23459 __profil_counter. Use __profil_counter_ushort and
23460 __profil_counter_uint in definitions.
23461 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23462 instead of profil_counter_uint and profil_counter_ushort.
23463
23464 [BZ #17722]
23465 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23466 define as weak alias of __inet_makeaddr.
23467 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23468 as weak alias of __inet_addr.
23469 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23470 as weak alias of __inet_pton. Use libc_hidden_weak.
23471 * include/arpa/inet.h (__inet_pton): Declare. Use
23472 libc_hidden_proto.
23473 (inet_makeaddr): Don't use libc_hidden_proto.
23474 (__inet_makeaddr): Declare. Use libc_hidden_proto.
23475 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23476 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
23477 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23478 Remove variable.
23479 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23480 (test-xfail-POSIX/time.h/linknamespace): Likewise.
23481
23482 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
23483
23484 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23485
23486 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
23487
23488 * stdio-common/bug-vfprintf-nargs.c (do_test):
23489 Cast value to intptr_t to avoid format warning
23490 for usage with PRIdPTR printing macro.
23491
23492 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
23493
23494 * libio/tst-widetext.c (do_test):
23495 Use format type %td instead of %Zd for ptrdiff_t
23496 in order to avoid format warning.
23497
23498 2014-12-17 Andreas Schwab <schwab@suse.de>
23499
23500 * nscd/mem.c (gc): Add size_t cast to match printf format.
23501
23502 2014-12-16 Roland McGrath <roland@hack.frob.com>
23503
23504 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23505 (init): Apply PTR_MANGLE to pointers before storing them.
23506 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23507 before using them.
23508
23509 2014-12-16 Joseph Myers <joseph@codesourcery.com>
23510
23511 [BZ #17719]
23512 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23513 define as weak alias of __memrchr.
23514 (__memrchr): Do not define as strong alias of memrchr.
23515 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23516 Remove variable.
23517 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23518 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23519 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23520
23521 [BZ #17717]
23522 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23523 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
23524 (if_indextoname): Rename to __if_indextoname and define as weak
23525 alias of __if_indextoname. Use libc_hidden_weak.
23526 (if_freenameindex): Rename to __if_freenameindex and define as
23527 weak alias of __if_freenameindex.
23528 (if_nameindex): Rename to __if_nameindex and define as weak alias
23529 of __if_nameindex.
23530 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23531 __if_nametoindex and define as weak alias of __if_nametoindex.
23532 Use libc_hidden_weak.
23533 (if_freenameindex): Rename to __if_freenameindex and define as
23534 weak alias of __if_freenameindex.
23535 (if_nameindex): Rename to __if_nameindex and define as weak alias
23536 of __if_nameindex.
23537 (if_indextoname): Rename to __if_indextoname and define as weak
23538 alias of __if_indextoname. Use libc_hidden_weak.
23539 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23540 __if_nametoindex and define as weak alias of __if_nametoindex.
23541 Use libc_hidden_weak.
23542 (if_freenameindex): Rename to __if_freenameindex and define as
23543 weak alias of __if_freenameindex. Use libc_hidden_weak.
23544 (if_nameindex_netlink): Use __if_freenameindex instead of
23545 if_freenameindex.
23546 (if_nameindex): Rename to __if_nameindex and define as weak alias
23547 of __if_nameindex. Use libc_hidden_weak.
23548 (if_indextoname): Rename to __if_indextoname and define as weak
23549 alias of __if_indextoname. Use libc_hidden_weak.
23550 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23551 libc_hidden_proto.
23552 [!_ISOMAC] (__if_freenameindex): Likewise.
23553 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23554 if_nametoindex.
23555 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23556 variable.
23557 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23558 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23559 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23560 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23561 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23562 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23563 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23564
23565 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23566 Remove variable.
23567 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23568 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23569
23570 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23571
23572 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23573 subscript above bounds'
23574
23575 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23576 bounds.
23577
23578 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
23579
23580 * libio/tst-fopenloc.c: Use test-skeleton.c.
23581
23582 * stdlib/tst-bsearch.c: Use test-skeleton.c.
23583 (entry): Rename to ITEM.
23584 (do_test, comp): Adjust.
23585
23586 * stdio-common/tst-fseek.c: Use test-skeleton.c.
23587
23588 2014-12-16 Torvald Riegel <triegel@redhat.com>
23589
23590 * string/tester.c: Include <libc-internal.h>.
23591 (test_memset): Ignore -Wmemset-transposed-args.
23592
23593 2014-12-16 Torvald Riegel <triegel@redhat.com>
23594
23595 * misc/tst-mntent2.c (do_test): Fix warning.
23596
23597 2014-12-16 Torvald Riegel <triegel@redhat.com>
23598
23599 * elf/tst-unique4lib.cc(a): Mark as used.
23600
23601 2014-12-16 Florian Weimer <fweimer@redhat.com>
23602
23603 [BZ #17630]
23604 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23605 names.
23606
23607 2014-12-16 Allan McRae <allan@archlinux.org>
23608
23609 * stdio-common/Makefile (tests): Re-add bug26.
23610
23611 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
23612
23613 [BZ #17657]
23614 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23615 static array.
23616
23617 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
23618
23619 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23620 (__lll_lock_wait): Likewise.
23621 (__lll_timedlock_wait): Likewise.
23622 (__lll_timedwait_tid): Likewise.
23623 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23624 (__lll_robust_timedlock_wait): Likewise.
23625 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23626 (lll_cond_trylock): Likewise.
23627 (__lll_lock): Likewise.
23628 (__lll_robust_lock): Likewise.
23629 (__lll_cond_lock): Likewise.
23630 (lll_robust_cond_lock): Likewise.
23631 (__lll_timedlock): Likewise.
23632 (__lll_robust_timedlock): Likewise.
23633 (__lll_unlock): Likewise.
23634 (__lll_robust_unlock): Likewise.
23635 (lll_wait_tid): Likewise.
23636 (lll_timedwait_tid): Likewise.
23637
23638 2014-12-15 Torvald Riegel <triegel@redhat.com>
23639
23640 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23641
23642 2014-12-15 Torvald Riegel <triegel@redhat.com>
23643
23644 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23645
23646 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
23647
23648 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23649 * stdio-common/tst-sprintf.c: Likewise.
23650
23651 2014-12-15 Torvald Riegel <triegel@redhat.com>
23652
23653 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23654
23655 2014-12-15 Jeff Law <law@redhat.com>
23656
23657 [BZ #16617]
23658 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23659 on the heap. (CVE-2012-3406)
23660 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23661 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
23662 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23663
23664 2014-12-15 Will Newton <will.newton@linaro.org>
23665
23666 * manual/install.texi: Bump required version of texinfo
23667 to 4.7 from 4.5.
23668 * INSTALL: Regenerated.
23669 * configure.ac: Check for makeinfo version 4.7 and above.
23670 * configure: Regenerated.
23671
23672 2014-12-12 Roland McGrath <roland@hack.frob.com>
23673
23674 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23675 PREFIX, string constant to insert between directory and name.
23676 * sysdeps/posix/shm_open.c: Update caller.
23677 * sysdeps/posix/shm_unlink.c: Likewise.
23678 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23679 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23680 (SEM_SHM_PREFIX): New macro.
23681 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23682 [$(have-thread-library) = no].
23683 * nptl/Makefile (libpthread-routines): Add shm-directory.
23684 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23685 * sysdeps/nptl/shm-directory.h: New file.
23686 * sysdeps/posix/shm-directory.c
23687 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23688 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23689 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23690 INTERNAL_SYSCALL.
23691 (__where_is_shmfs): Function removed.
23692 (mountpoint, defaultmount, defaultdir, __namedsem_once):
23693 Variables removed.
23694 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23695 Use SHM_GET_NAME.
23696 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
23697
23698 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23699 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23700 unconditional for use inside libpthread.
23701 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23702
23703 2014-12-12 Roland McGrath <roland@hack.frob.com>
23704
23705 * nptl/pthread_getaffinity.c: New file.
23706 * nptl/pthread_setaffinity.c: New file.
23707 * nptl/pthread_getname.c: New file.
23708 * nptl/pthread_setname.c: New file.
23709
23710 * nptl/pthread_create.c (START_THREAD_DEFN)
23711 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23712
23713 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
23714 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23715
23716 * resolv/res_send.c (send_vc): Disable warning resplen may
23717 be used uninitialized.
23718
23719 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
23720
23721 * nptl/tst-mutex6.c
23722 (ATTR_NULL): New define checks ATTR against NULL.
23723 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23724 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23725
23726 2014-12-11 James Lemke <jwlemke@codesourcery.com>
23727
23728 [BZ #17581]
23729 * malloc/hooks.c
23730 (mem2mem_check): Revert my previous change.
23731 (malloc_check_get_size): Revert my previous change.
23732 (mem2chunk_check): Revert my previous change.
23733
23734 2014-12-11 Roland McGrath <roland@hack.frob.com>
23735
23736 * sysdeps/posix/shm-directory.c: New file.
23737 * sysdeps/posix/shm-directory.h: New file.
23738 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23739 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23740 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
23741 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23742 Transmute EPERM to EACCES.
23743 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23744 from ...
23745 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
23746 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23747
23748 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23749
23750 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23751 pointer and cast to uintptr_t.
23752 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23753 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23754 Add cast to avoid warning.
23755 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23756
23757 2014-12-11 Joseph Myers <joseph@codesourcery.com>
23758
23759 * nptl/semaphore.h: Move to ...
23760 * sysdeps/pthread/semaphore.h: ... here.
23761 * Makefile (installed-headers): Change nptl/semaphore.h to
23762 sysdeps/pthread/semaphore.h.
23763
23764 2014-12-11 Roland McGrath <roland@hack.frob.com>
23765
23766 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23767 generated error format strings.
23768
23769 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23770 -Wformat-extra-args warnings for scanf formats.
23771 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23772 test of zero-length format (duh).
23773 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23774 corner-case scanf format test.
23775 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23776 generated fprintf format string.
23777 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23778 corner-case sprintf format tests.
23779 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23780 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23781 -Wformat-extra-args warnings throughout.
23782 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23783 (CFLAGS-scanf4.c): Likewise.
23784 (CFLAGS-scanf7.c): Likewise.
23785 (CFLAGS-tst-sprintf.c): Likewise.
23786 (CFLAGS-tst-printf.c): Likewise.
23787 (CFLAGS-tst-printfsz.c): Likewise.
23788
23789 2014-12-11 Joseph Myers <joseph@codesourcery.com>
23790
23791 * include/cpio.h: New file.
23792 * include/fmtmsg.h: Likewise.
23793
23794 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
23795 corresponding format argument to size_t.
23796 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
23797 arguments.
23798 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
23799 corresponding format argument to size_t.
23800 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
23801 arguments.
23802 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
23803 corresponding format argument to size_t.
23804 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23805 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23806 (CFLAGS-tst-mbswcs2.c): Likewise.
23807 (CFLAGS-tst-mbswcs3.c): Likewise.
23808 (CFLAGS-tst-mbswcs4.c): Likewise.
23809 (CFLAGS-tst-mbswcs5.c): Likewise.
23810 (CFLAGS-tst-trans.c): Likewise.
23811
23812 2014-12-11 Roland McGrath <roland@hack.frob.com>
23813
23814 * posix/regexbug1.c (main): Use "%s" format with regerror results,
23815 rather than assuming they won't contain any '%'s.
23816
23817 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
23818
23819 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23820 inhibit_loop_to_libcall to avoid recursive calls.
23821 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23822 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23823
23824 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
23825
23826 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23827 prototype.
23828
23829 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
23830
23831 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23832 integer value instead of boolean.
23833
23834 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
23835
23836 * malloc/malloc.c: Fix powerof2 check.
23837
23838 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23839
23840 * locale/programs/locfile.h (maybe_swap_uint32):
23841 Remove inline and add unused attribute.
23842
23843 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23844
23845 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23846 Truncating assembler expression to a .long expression.
23847
23848 2014-12-11 Andreas Schwab <schwab@suse.de>
23849
23850 * elf/rtld.c (struct map_args): Constify str member.
23851 (do_preload): Constify fname argument.
23852
23853 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23854
23855 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23856 constants definition.
23857
23858 2014-12-11 Andreas Schwab <schwab@suse.de>
23859
23860 [BZ #16657]
23861 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23862 FORCE_ELISION instead of DO_ELISION.
23863 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23864 Remove.
23865 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23866 Likewise.
23867
23868 * iconvdata/gconv-modules: Remove duplicate entry.
23869
23870 2014-12-11 Will Newton <will.newton@linaro.org>
23871
23872 Merge gettext 0.19.3 into intl/.
23873
23874 This involves a number of cosmetic changes to comments
23875 and ANSI function definitions and prototypes throughout
23876 all the files. The gettext copyright header is used but
23877 with the date ranges taken from the glibc copy.
23878
23879 * NEWS: Add gettext merge to 2.21.
23880 * intl/bindtextdom.c: Switch to gettext copyright.
23881 Use ANSI definitions and prototypes.
23882 Use gl_* locking primitives rather than __libc_* ones.
23883 Use __builtin_expect rather than __glibc_likely/unlikely.
23884 * intl/dcgettext.c: Switch to gettext copyright.
23885 Use ANSI definitions and prototypes.
23886 * intl/dcigettext.c: Switch to gettext copyright.
23887 Use ANSI definitions and prototypes.
23888 (INTDIV0_RAISES_SIGFPE): New define.
23889 Use gl_* locking primitives rather than __libc_* ones.
23890 Include eval-plural.h instead of plural-eval.c.
23891 Use __builtin_expect rather than __glibc_likely/unlikely.
23892 * intl/dcngettext.c: Switch to gettext copyright.
23893 Use ANSI definitions and prototypes.
23894 * intl/dgettext.c: Likewise.
23895 * intl/dngettext.c: Likewise.
23896 * intl/plural-eval.c: Renamed to...
23897 * intl/eval-plural.h: ...this.
23898 * intl/explodename.c: Switch to gettext copyright.
23899 Use ANSI definitions and prototypes.
23900 (_nl_explode_name): Use strchr instead of __rawmemchr.
23901 * intl/finddomain.c: Switch to gettext copyright.
23902 Use ANSI definitions and prototypes.
23903 Use gl_* locking primitives rather than __libc_* ones.
23904 (_nl_find_domain): Use malloc rather than alloca for
23905 allocation of temporary locale name.
23906 * intl/gettext.c: Switch to gettext copyright.
23907 Use ANSI definitions and prototypes.
23908 * intl/gettextP.h: Switch to gettext copyright.
23909 Use ANSI definitions and prototypes.
23910 Use gl_* locking primitives rather than __libc_* ones.
23911 * intl/gmo.h: Switch to gettext copyright.
23912 (struct sysdep_string): Move struct segment_pair outside of
23913 struct definition.
23914 * intl/hash-string.c: Use ANSI definitions and prototypes.
23915 * intl/hash-string.h: Switch to gettext copyright.
23916 Use ANSI definitions and prototypes.
23917 * intl/l10nflist.c: Switch to gettext copyright.
23918 Use ANSI definitions and prototypes.
23919 (_nl_normalize_codeset): Avoid integer overflow.
23920 * intl/loadinfo.h: Switch to gettext copyright.
23921 Use ANSI definitions and prototypes.
23922 (LIBINTL_DLL_EXPORTED): New define.
23923 (PATH_SEPARATOR): New define.
23924 * intl/loadmsgcat.c: Switch to gettext copyright.
23925 * intl/localealias.c: Switch to gettext copyright.
23926 Use ANSI definitions and prototypes.
23927 (_nl_expand_alias): Use PATH_SEPARATOR.
23928 * intl/ngettext.c: Switch to gettext copyright.
23929 Use ANSI definitions and prototypes.
23930 * intl/plural-exp.c: Likewise.
23931 * intl/plural-exp.h: Switch to gettext copyright.
23932 Use ANSI definitions and prototypes.
23933 (struct expression): Move definition of enum operator outside
23934 of struct definition.
23935 * intl/plural.c: Regenerate.
23936 * intl/plural.y: Switch to gettext copyright.
23937 Use ANSI definitions and prototypes.
23938 Port to bison 3.0.
23939 * intl/textdomain.c: Switch to gettext copyright.
23940 Use ANSI definitions and prototypes.
23941 Use gl_* locking primitives rather than __libc_* ones.
23942
23943 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
23944
23945 * debug/warning-nop.c: Add used atrribute.
23946
23947 2014-12-10 Joseph Myers <joseph@codesourcery.com>
23948
23949 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23950
23951 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23952 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23953 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23954
23955 2014-12-10 Joseph Myers <joseph@codesourcery.com>
23956 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23957
23958 [BZ #17634]
23959 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23960 Undefine after defining function. Define as weak alias of
23961 __wcschr. Use libc_hidden_weak.
23962 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
23963 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23964 (libc_hidden_def): Also define __GI___wcschr alias.
23965 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23966 __wcschr and define as weak alias of __wcschr.
23967 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23968 __wcschr.
23969 [!WCSCHR] (DEFAULT_WCSCHR): Define.
23970 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23971 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
23972 libc_hidden_weak. Do not use libc_hidden_def.
23973 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23974 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23975 __GI___wcschr alias.
23976 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23977 [IS_IN (libc)] (wcschr): Define as macro expanding to
23978 __redirect_wcschr.
23979 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23980 [IS_IN (libc)] (__wcschr_power6): Likewise.
23981 [IS_IN (libc)] (__wcschr_power7): Likewise.
23982 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
23983 instead of wcschr.
23984 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23985 __libc_wcschr.
23986 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23987 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23988 __wcschr and define as weak alias of __wcschr. Use
23989 libc_hidden_builtin_def.
23990 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23991 as weak alias of __wcschr. Use libc_hidden_weak.
23992 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23993 wcschr.
23994 * time/era.c (_nl_init_era_entries): Likewise.
23995 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23996 variable.
23997 (test-xfail-XPG3/time.h/linknamespace): Likewise.
23998 (test-xfail-XPG4/time.h/linknamespace): Likewise.
23999
24000 2014-12-10 Joseph Myers <joseph@codesourcery.com>
24001
24002 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24003 format for long int variable.
24004
24005 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
24006
24007 [BZ #10672]
24008 * manual/search.texi: (Array Sort Function): Remove claim how to make
24009 qsort stable.
24010
24011 2014-12-10 Andreas Schwab <schwab@suse.de>
24012
24013 [BZ #12847]
24014 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
24015 user-controlled locks.
24016
24017 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
24018
24019 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
24020 register.
24021
24022 2014-12-10 Joseph Myers <joseph@codesourcery.com>
24023
24024 * configure.ac (--disable-werror): New configure option.
24025 (enable_werror): New AC_SUBST.
24026 * configure: Regenerated.
24027 * config.make.in (enable-werror): New variable.
24028 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
24029 -Wno-error=undef.
24030 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
24031 * manual/install.texi (Configuring and compiling): Document
24032 --disable-werror.
24033 * INSTALL: Regenerated.
24034 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
24035 (CFLAGS-tst-chk2.c): Likewise.
24036 (CFLAGS-tst-chk3.c): Likewise.
24037 (CFLAGS-tst-chk4.cc): Likewise.
24038 (CFLAGS-tst-chk5.cc): Likewise.
24039 (CFLAGS-tst-chk6.cc): Likewise.
24040 (CFLAGS-tst-lfschk1.c): Likewise.
24041 (CFLAGS-tst-lfschk2.c): Likewise.
24042 (CFLAGS-tst-lfschk3.c): Likewise.
24043 (CFLAGS-tst-lfschk4.cc): Likewise.
24044 (CFLAGS-tst-lfschk5.cc): Likewise.
24045 (CFLAGS-tst-lfschk6.cc): Likewise.
24046
24047 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
24048 (main): Disable -Wdeprecated-declarations around calls to
24049 register_printf_function.
24050
24051 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
24052 (do_test): Disable -Wdiv-by-zero around some calls to
24053 fwrite_unlocked and fread_unlocked.
24054
24055 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
24056 (DIAG_POP_NEEDS_COMMENT): Likewise.
24057 (_DIAG_STR1): Likewise.
24058 (_DIAG_STR): Likewise.
24059 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
24060 * stdio-common/bug21.c: Include <libc-internal.h>.
24061 (do_test): Disable -Wformat around call to sscanf.
24062 * stdio-common/scanf14.c: Include <libc-internal.h>.
24063 (main): Disable -Wformat around some calls to scanf functions.
24064
24065 2014-12-09 Torvald Riegel <triegel@redhat.com>
24066
24067 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24068
24069 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24070
24071 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
24072 stack variable alignment.
24073
24074 2014-12-06 Joseph Myers <joseph@codesourcery.com>
24075
24076 [BZ #17682]
24077 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
24078 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
24079 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
24080 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
24081 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
24082 __getrlimit instead of getrlimit.
24083 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
24084 __gettimeofday instead of gettimeofday.
24085 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24086 Likewise.
24087 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24088 Likewise.
24089 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24090 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24091 Remove variable.
24092 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24093 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24094
24095 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24096
24097 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
24098 for wide-character tests.
24099
24100 2014-12-04 Roland McGrath <roland@hack.frob.com>
24101
24102 * io/openat64.c: #include <libc-internal.h>
24103 (__openat64): Prototypify. Use ignore_value on MODE.
24104 * io/openat.c: Likewise.
24105 * misc/reboot.c: #include <libc-internal.h>
24106 (reboot): Prototypify. Use ignore_value on HOWTO.
24107 * misc/ptrace.c: #include <libc-internal.h>
24108 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
24109
24110 2014-12-04 Joseph Myers <joseph@codesourcery.com>
24111
24112 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
24113 XPG4, UNIX98 and XOPEN2K.
24114 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
24115 Remove variable.
24116 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24117
24118 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24119
24120 * libio/fileops.c: Use ISO C style for function definitions.
24121 * libio/iofopen.c: Likewise.
24122 * libio/wfileops.c: Likewise.
24123
24124 [BZ #17653]
24125 * libio/fileops.c (_IO_new_file_underflow): Unset cached
24126 offset on EOF.
24127 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24128 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24129 (fgets_func): Function pointer to fgets and fgetws.
24130 (do_ftell_test): Add test to verify ftell value after read
24131 EOF.
24132 (do_test): Set fgets_func.
24133
24134 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24135 O_TRUNC flag for w and w+ modes.
24136 (do_rewind_test): Likewise.
24137 (do_ftell_test): Likewise.
24138 (do_write_test): Likewise.
24139
24140 [BZ #17647]
24141 * libio/fileops.c (do_ftell): Seek only when there are
24142 unflushed writes.
24143 * libio/wfileops.c (do_ftell_wide): Likewise.
24144 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24145 test case.
24146 (do_one_test): Call it.
24147
24148 2014-12-03 Joseph Myers <joseph@codesourcery.com>
24149
24150 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24151 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24152 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24153 Remove variable.
24154 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24155 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24156 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24157
24158 2014-12-02 Joseph Myers <joseph@codesourcery.com>
24159
24160 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24161 Remove variable.
24162 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24163
24164 [BZ #17668]
24165 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24166 as weak alias of __getifaddrs. Use libc_hidden_weak.
24167 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24168 __freeifaddrs. Use libc_hidden_weak.
24169 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24170 define as weak alias of __getifaddrs. Use libc_hidden_weak.
24171 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24172 __freeifaddrs. Use libc_hidden_weak.
24173 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24174 __getifaddrs and define as weak alias of __getifaddrs. Use
24175 libc_hidden_weak.
24176 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24177 __freeifaddrs. Use libc_hidden_weak.
24178 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24179 Remove variable.
24180 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24181 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24182
24183 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
24184
24185 [BZ #17601]
24186 * sysdeps/mips/start.S (__start): Use indirect jump to call
24187 __libc_start_main.
24188
24189 2014-12-02 Joseph Myers <joseph@codesourcery.com>
24190
24191 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24192
24193 * nptl/tst-mutex1.c: Include <stdbool.h>.
24194 [!ATTR] (ATTR_NULL): New macro.
24195 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24196 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24197 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24198
24199 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24200 to char *.
24201
24202 [BZ #17665]
24203 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24204 Change conditional to [__USE_MISC].
24205
24206 [BZ #17664]
24207 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24208 fgets_unlocked.
24209 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24210 __fgets_unlocked.
24211 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24212 fgets_unlocked.
24213 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24214 Remove variable.
24215 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24216 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24217 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24218 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24219 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24220 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24221 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24222 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24223 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24224
24225 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24226
24227 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24228
24229 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24230 Remove strpbrk objects.
24231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24232 (__libc_ifunc_impl_list): Remove strpbrk implementation.
24233 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24234 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24235 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24236 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24237
24238 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24239 Remove strcspn objects.
24240 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24241 (__libc_ifunc_impl_list): Remove strcspn implementation.
24242 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24243 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24244 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24245 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24246
24247 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24248 Remove strspn objetcs.
24249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24250 (__libc_ifunc_impl_list): Remove strspn implementation.
24251 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24252 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24253 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24254 * sysdeps/powerpc/powerpc64/strspn.S: New file.
24255
24256 2014-12-01 James Lemke <jwlemke@codesourcery.com>
24257
24258 [BZ #17581]
24259 * malloc/hooks.c
24260 (mem2mem_check): Add a terminator to the chain of checking blocks.
24261 (malloc_check_get_size): Use it here.
24262 (mem2chunk_check): Ditto.
24263
24264 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24265
24266 * sysdeps/powerpc/powerpc64/strtok.S: New file.
24267 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24268
24269 2014-11-29 Carlos O'Donell <carlos@redhat.com>
24270
24271 * bits/ioctl-types.h: Indent preprocessor directives correctly.
24272
24273 * nptl/nptl-init.c: Include libc-internal.h.
24274 (__pthread_initialize_minimal_internal): Use ROUND_UP.
24275
24276 * elf/ldconfig.c (search_dir): Expand comment.
24277
24278 2014-11-29 Joseph Myers <joseph@codesourcery.com>
24279
24280 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
24281 variable.
24282 (linknamespace-symlist-stdlibs-tests): Likewise.
24283 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
24284 instead of $(objpfx)symlist-stdlibs.
24285 (linknamespace-libs-isoc): New variable.
24286 (linknamespace-libs): Use $(linknamespace-libs-isoc).
24287 (linknamespace-libs-ISO): New variable.
24288 (linknamespace-libs-ISO99): Likewise.
24289 (linknamespace-libs-ISO11): Likewise.
24290 (linknamespace-libs-XPG3): Likewise.
24291 (linknamespace-libs-XPG4): Likewise.
24292 (linknamespace-libs-POSIX): Likewise.
24293 (linknamespace-libs-UNIX98): Likewise.
24294 (linknamespace-libs-XOPEN2K): Likewise.
24295 (linknamespace-libs-POSIX2008): Likewise.
24296 (linknamespace-libs-XOPEN2K8): Likewise.
24297 ($(objpfx)symlist-stdlibs): Replace by
24298 $(linknamespace-symlist-stdlibs-tests). Use
24299 $(linknamespace-libs-$*) as set of libraries.
24300 ($(linknamespace-header-tests)): Update dependencies. Use
24301 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
24302 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
24303 * conform/linknamespace.pl: Remove comment about considering
24304 definitions of symbols from irrelevant libraries.
24305
24306 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
24307
24308 [BZ #13862]
24309 * elf/dl-tls.c: Include <atomic.h>.
24310 (oom): Remove #ifdef SHARED/#endif.
24311 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
24312 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
24313 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
24314 big enough.
24315 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
24316 * nptl/Makefile (tests): Add tst-stack4.
24317 (modules-names): Add tst-stack4mod.
24318 ($(objpfx)tst-stack4): New.
24319 (tst-stack4mod.sos): Likewise.
24320 ($(objpfx)tst-stack4.out): Likewise.
24321 ($(tst-stack4mod.sos)): Likewise.
24322 (clean): Likewise.
24323 * nptl/tst-stack4.c: New file.
24324 * nptl/tst-stack4mod.c: Likewise.
24325
24326 2014-11-27 J. Brown <jb999@gmx.de>
24327
24328 * sysdeps/x86/bits/string.h: Add recent CPUs.
24329
24330 2014-11-27 Joseph Myers <joseph@codesourcery.com>
24331
24332 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
24333 sigblock.
24334
24335 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
24336 feof.
24337
24338 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
24339 variable.
24340
24341 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
24342
24343 * nscd/connections.c: Include libc-internal.h because of macro
24344 usage ignore_value.
24345
24346 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24347
24348 * string/bits/string3.h (__warn_memset_zero_len): Don't
24349 declare for gcc newer than 5.0.
24350 (memset): Don't test for zero-length __LEN for gcc newer than
24351 5.0.
24352
24353 2014-11-27 Joseph Myers <joseph@codesourcery.com>
24354
24355 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
24356 size_t for %zu format.
24357
24358 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
24359 difference, not %ju.
24360
24361 2014-11-26 Joseph Myers <joseph@codesourcery.com>
24362
24363 * include/libc-internal.h (ignore_value): New macro.
24364 * nscd/connections.c (restart): Wrap calls to setuid and setgid
24365 with ignore_value.
24366
24367 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
24368 definition.
24369
24370 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
24371 pthread_cleanup_push to void *.
24372
24373 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24374 Undefine.
24375
24376 [BZ #16619]
24377 [BZ #16740]
24378 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24379 instead of 1L << 52.
24380
24381 * libio/bug-rewind.c (do_test): Check fwscanf return values.
24382 * libio/bug-rewind2.c (do_test): Likewise.
24383
24384 * debug/test-stpcpy_chk-ifunc.c: Remove file.
24385 * debug/test-strcpy_chk-ifunc.c: Likewise.
24386 * wcsmbs/test-wcschr-ifunc.c: Likewise.
24387 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24388 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24389 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24390 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24391 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24392 * Rules [$(multi-arch) = no] (tests): Do not filter out
24393 $(tests-ifunc).
24394 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24395 * debug/Makefile (tests-ifunc): Remove variable.
24396 (tests): Do not add $(tests-ifunc).
24397 * wcsmbs/Makefile (tests-ifunc): Remove variable.
24398 (tests): Do not add $(tests-ifunc).
24399 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24400 [TEST_IFUNC]: Remove conditionals.
24401 * string/test-string.h (TEST_IFUNC): Remove macro.
24402 [TEST_IFUNC]: Remove conditionals.
24403
24404 * string/test-strchr.c [!WIDE] (L): New macro.
24405 [WIDE] (L): Likewise.
24406 (check1): Use CHAR instead of char. Use L on string and character
24407 constants.
24408
24409 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
24410
24411 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24412 tests.
24413 * sysdeps/powerpc/bits/atomic.h
24414 (__arch_atomic_exchange_and_add_32_acq): Add definition.
24415 (__arch_atomic_exchange_and_add_32_rel): Likewise.
24416 (atomic_exchange_and_add_acq): Likewise.
24417 (atomic_exchange_and_add_rel): Likewise.
24418 * sysdeps/powerpc/powerpc32/bits/atomic.h
24419 (__arch_atomic_exchange_and_add_64_acq): Add definition.
24420 (__arch_atomic_exchange_and_add_64_rel): Likewise.
24421 * sysdeps/powerpc/powerpc64/bits/atomic.h
24422 (__arch_atomic_exchange_and_add_64_acq): Add definition.
24423 (__arch_atomic_exchange_and_add_64_rel): Likewise.
24424
24425 2014-11-26 Torvald Riegel <triegel@redhat.com>
24426
24427 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24428 Change synchronization of __sched_fifo_min_prio and
24429 __sched_fifo_max_prio.
24430 * nptl/pthread_mutexattr_getprioceiling.c
24431 (pthread_mutexattr_getprioceiling): Likewise.
24432 * nptl/pthread_mutexattr_setprioceiling.c
24433 (pthread_mutexattr_setprioceiling): Likewise.
24434 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24435 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24436 Likewise.
24437
24438 2014-11-26 Joseph Myers <joseph@codesourcery.com>
24439
24440 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24441 void.
24442
24443 2014-11-25 Joseph Myers <joseph@codesourcery.com>
24444
24445 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24446 third argument const.
24447
24448 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
24449
24450 fnmatch: work around GCC compiler warning bug with uninit var
24451 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24452 This works around a bug with x86-64 GCC 4.9.2 and earlier
24453 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24454 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24455 used uninitialized in this function [-Wmaybe-uninitialized]".
24456
24457 2014-11-25 Joseph Myers <joseph@codesourcery.com>
24458
24459 * posix/bug-regex31.c (main): Return RES not 0.
24460
24461 2014-11-25 Anton Blanchard <anton@samba.org>
24462
24463 * sysdeps/powerpc/bits/atomic.h
24464 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24465
24466 2014-11-24 Sterling Augustine <saugustine@google.com>
24467
24468 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24469
24470 2014-11-24 Ryan Cumming <etaoins@gmail.com>
24471
24472 [BZ #17608]
24473 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24474
24475 2014-11-24 Joseph Myers <joseph@codesourcery.com>
24476
24477 [BZ #17633]
24478 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24479 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24480 variable.
24481 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24482 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24483
24484 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
24485
24486 * string/strncpy.c (strncpy): Improve performance by using memset.
24487
24488 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
24489
24490 * string/strcpy.c (strcpy):
24491 Improve performance by using strlen and memcpy.
24492
24493 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
24494
24495 * string/strcoll_l.c (get_next_seq): __always_inline.
24496 * string/strcoll_l.c (do_compare): __always_inline.
24497
24498 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24499
24500 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24501 defined.
24502 * include/mqueue.h: Likewise.
24503 * include/stdlib.h: Likewise.
24504
24505 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24506 (get_null_defines): Adjust.
24507 * sunrpc/Makefile: Adjust comment.
24508 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24509 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24510 (CFLAGS-interp.c): Likewise.
24511 (CFLAGS-ldconfig.c): Likewise.
24512 (CPPFLAGS-.os): Likewise.
24513 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24514 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24515 * extra-modules.mk (extra-modules.mk): Likewise.
24516 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24517 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24518 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24519 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24520 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24521 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24522 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24523 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24524 * iconvdata/Makefile (CPPFLAGS): Likewise.
24525 (cpp-srcs-left): Add libof for all iconvdata routines.
24526 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24527 * include/assert.h: Likewise.
24528 * include/ctype.h: Likewise.
24529 * include/errno.h: Likewise.
24530 * include/libc-symbols.h: Likewise.
24531 * include/math.h: Likewise.
24532 * include/netdb.h: Likewise.
24533 * include/resolv.h: Likewise.
24534 * include/stdio.h: Likewise.
24535 * include/stdlib.h: Likewise.
24536 * include/string.h: Likewise.
24537 * include/sys/stat.h: Likewise.
24538 * include/wctype.h: Likewise.
24539 * intl/l10nflist.c: Likewise.
24540 * libidn/idn-stub.c: Likewise.
24541 * libio/libioP.h: Likewise.
24542 * nptl/libc_multiple_threads.c: Likewise.
24543 * nptl/pthreadP.h: Likewise.
24544 * posix/regex_internal.h: Likewise.
24545 * resolv/res_hconf.c: Likewise.
24546 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24547 * sysdeps/arm/memmove.S: Likewise.
24548 * sysdeps/arm/sysdep.h: Likewise.
24549 * sysdeps/generic/_itoa.h: Likewise.
24550 * sysdeps/generic/symbol-hacks.h: Likewise.
24551 * sysdeps/gnu/errlist.awk: Likewise.
24552 * sysdeps/gnu/errlist.c: Likewise.
24553 * sysdeps/i386/i586/memcpy.S: Likewise.
24554 * sysdeps/i386/i586/memset.S: Likewise.
24555 * sysdeps/i386/i686/memcpy.S: Likewise.
24556 * sysdeps/i386/i686/memmove.S: Likewise.
24557 * sysdeps/i386/i686/mempcpy.S: Likewise.
24558 * sysdeps/i386/i686/memset.S: Likewise.
24559 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24560 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24561 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24562 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24563 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24564 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24565 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24566 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24567 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24568 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24569 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24570 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24571 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24572 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24573 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24574 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24575 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24576 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24577 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24578 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24579 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24580 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24581 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24582 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24583 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24584 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24585 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24586 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24587 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24588 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24589 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24590 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24591 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24592 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24593 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24594 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24595 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24596 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24597 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24598 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24599 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24600 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24601 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24602 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24603 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24604 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24605 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24606 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24607 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24608 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24609 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24610 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24611 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24612 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24613 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24614 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24615 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24616 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24617 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24618 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24619 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24620 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24621 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24622 * sysdeps/nptl/bits/libc-lock.h: Likewise.
24623 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24624 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24625 * sysdeps/posix/closedir.c: Likewise.
24626 * sysdeps/posix/opendir.c: Likewise.
24627 * sysdeps/posix/readdir.c: Likewise.
24628 * sysdeps/posix/rewinddir.c: Likewise.
24629 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24630 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24631 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24632 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24633 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24634 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24635 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24636 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24637 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24638 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24639 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24640 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24641 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24642 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24643 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24644 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24645 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24646 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24647 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24648 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24649 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24650 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24651 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24652 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24653 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24654 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24655 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24656 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24657 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24658 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24659 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24660 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24661 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24662 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24663 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24664 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24665 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24666 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24667 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24668 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24669 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24670 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24671 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24672 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24673 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24674 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24675 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24676 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24677 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24678 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24679 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24680 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24681 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24682 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24683 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24684 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24685 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24686 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24687 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24688 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24689 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24690 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24691 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24692 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24693 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24694 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24695 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24696 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24697 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24698 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24699 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24700 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24701 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24702 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24703 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24704 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24705 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24706 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24707 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24708 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24709 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24710 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24711 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24712 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24713 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24714 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24715 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24716 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24717 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24718 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24719 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24720 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24721 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24722 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24723 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24724 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24725 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24726 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24727 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24728 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24729 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24730 * sysdeps/unix/alpha/sysdep.S: Likewise.
24731 * sysdeps/unix/alpha/sysdep.h: Likewise.
24732 * sysdeps/unix/make-syscalls.sh: Likewise.
24733 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24734 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24735 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24736 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24737 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24738 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24739 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24740 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24741 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24742 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24743 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24744 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24745 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24746 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24747 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24748 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24749 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24750 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24751 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24752 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24753 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24754 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24755 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24756 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24757 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24758 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24759 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24762 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24763 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24764 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24765 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24766 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24767 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24768 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24769 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24770 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24771 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24772 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24773 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24774 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24775 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24776 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24777 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24778 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24779 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24780 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24781 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24783 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24784 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24785 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24786 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24787 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24788 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24789 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24790 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24791 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24792 * sysdeps/x86_64/memcpy.S: Likewise.
24793 * sysdeps/x86_64/memmove.c: Likewise.
24794 * sysdeps/x86_64/memset.S: Likewise.
24795 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24796 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24797 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24798 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24799 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24800 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24801 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24802 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24803 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24804 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24805 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24806 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24807 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24808 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24809 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24810 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24811 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24812 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24813 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24814 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24815 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24816 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24817 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24818 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24819 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24820 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24821 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24822 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24823 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24824 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24825 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24826 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24827 * sysdeps/x86_64/strcmp.S: Likewise.
24828
24829 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24830
24831 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24832 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24833 * elf/rtld-Rules: Likewise.
24834 * elf/setup-vdso.h: Likewise.
24835 * include/assert.h: Likewise.
24836 * include/bits/stdlib-float.h: Likewise.
24837 * include/errno.h: Likewise.
24838 * include/sys/stat.h: Likewise.
24839 * include/unistd.h: Likewise.
24840 * sysdeps/aarch64/setjmp.S: Likewise.
24841 * sysdeps/alpha/setjmp.S: Likewise.
24842 * sysdeps/arm/__longjmp.S: Likewise.
24843 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24844 * sysdeps/arm/setjmp.S: Likewise.
24845 * sysdeps/arm/sysdep.h: Likewise.
24846 * sysdeps/generic/_itoa.h: Likewise.
24847 * sysdeps/generic/dl-sysdep.h: Likewise.
24848 * sysdeps/generic/ldsodefs.h: Likewise.
24849 * sysdeps/i386/dl-tls.h: Likewise.
24850 * sysdeps/i386/setjmp.S: Likewise.
24851 * sysdeps/m68k/setjmp.c: Likewise.
24852 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24853 * sysdeps/mach/hurd/opendir.c: Likewise.
24854 * sysdeps/posix/getcwd.c: Likewise.
24855 * sysdeps/posix/opendir.c: Likewise.
24856 * sysdeps/posix/profil.c: Likewise.
24857 * sysdeps/powerpc/dl-procinfo.h: Likewise.
24858 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24859 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24860 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24861 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24862 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24863 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24864 * sysdeps/s390/dl-tls.h: Likewise.
24865 * sysdeps/s390/s390-32/setjmp.S: Likewise.
24866 * sysdeps/s390/s390-64/setjmp.S: Likewise.
24867 * sysdeps/sh/sh3/setjmp.S: Likewise.
24868 * sysdeps/sh/sh4/setjmp.S: Likewise.
24869 * sysdeps/unix/alpha/sysdep.h: Likewise.
24870 * sysdeps/unix/arm/sysdep.S: Likewise.
24871 * sysdeps/unix/i386/sysdep.S: Likewise.
24872 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24873 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24874 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24875 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24876 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24877 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24878 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24879 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24880 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24881 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24882 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24883 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24884 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24887 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24888 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24889 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24890 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24891 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24892 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24893 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24894 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24895 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24896 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24897 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24898 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24899 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24900 * sysdeps/x86_64/setjmp.S: Likewise.
24901
24902 * include/math.h: Use IS_IN instead of IS_IN_libm.
24903 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24904 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24905 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24906 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24907 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24908 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24909 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24910 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24911 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24912 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24913 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24914 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24915 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24916 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24917 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24918 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24919 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24920 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24921 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24922 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24923 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24924 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24925 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24926 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24927 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24928 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24929 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24930 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24931 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24932 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24933 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24934 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24935 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24937 Likewise.
24938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24939 Likewise.
24940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24941 Likewise.
24942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24943 Likewise.
24944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24945 Likewise.
24946 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24947 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24948 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24949 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24950 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24951 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24957 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24958 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24959 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24960 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24961 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24962 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24963 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24964 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24965 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24966 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24967 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24968 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24969 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24970 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24972 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24973
24974 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24975 * nptl/pthreadP.h: Likewise.
24976 * nptl_db/structs.def: Likewise.
24977 * sysdeps/arm/sysdep.h: Likewise.
24978 * sysdeps/nptl/bits/libc-lock.h: Likewise.
24979 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24980 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24981 * sysdeps/unix/alpha/sysdep.h: Likewise.
24982 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24983 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24984 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24985 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24986 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24987 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24988 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24989 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24990 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24991 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24992 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24993 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24994 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24995 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24998 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24999 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25000 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25001 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25002 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25003 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25004 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25005 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25006 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25007 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25008
25009 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25010 * nptl/pthreadP.h: Likewise.
25011 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25012 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25013 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25014 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25015 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25016 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25017 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25018 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25019 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25020 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25021 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25022 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25024 Likewise.
25025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25026 Likewise.
25027 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25028 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25029 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25030 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25031 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25032 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25033 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25034 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25035
25036 * dlfcn/dladdr.c: Use IS_IN.
25037 * dlfcn/dladdr1.c: Likewise.
25038 * dlfcn/dlclose.c: Likewise.
25039 * dlfcn/dlerror.c: Likewise.
25040 * dlfcn/dlinfo.c: Likewise.
25041 * dlfcn/dlmopen.c: Likewise.
25042 * dlfcn/dlopen.c: Likewise.
25043 * dlfcn/dlsym.c: Likewise.
25044 * dlfcn/dlvsym.c: Likewise.
25045
25046 * include/ifaddrs.h: Use IS_IN.
25047 * inet/check_pf.c: Likewise.
25048 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25049 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
25050
25051 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
25052 IS_IN_ldconfig.
25053 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
25054 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
25055
25056 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
25057 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25058 IS_IN (libc).
25059
25060 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
25061
25062 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
25063 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25064 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25065 * include/libc-symbols.h (IS_IN_LIB): New macro.
25066 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
25067 * include/netdb.h: Likewise.
25068 * include/stap-probe.h: Remove all uses of IN_LIB.
25069
25070 * Makeconfig (module-cppflags-real): Define MODULE_NAME
25071 instead of IN_MODULE.
25072 * include/libc-symbols.h (IN_MODULE): Define using
25073 MODULE_NAME.
25074 (PASTE_NAME, PASTE_NAME1): New macros.
25075 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
25076 of IN_LIB.
25077 (STAP_PROBE_ASM): Likewise.
25078
25079 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
25080
25081 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
25082 __mach_init in dlopened libc.
25083
25084 2014-11-22 Mike Frysinger <vapier@gentoo.org>
25085
25086 * sysdeps/arm/preconfigure.ac: Delete EABI check.
25087 * sysdeps/arm/preconfigure: Regenerate.
25088
25089 2014-11-21 Roland McGrath <roland@hack.frob.com>
25090
25091 * nptl/pthread_create.c (__pthread_create_2_1): Set
25092 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
25093 when copying values from IATTR into PD.
25094
25095 2014-11-21 Will Newton <will.newton@linaro.org>
25096 Andrew Pinski <andrew.pinski@caviumnetworks.com>
25097
25098 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
25099 Refactor inline-asm. Also add comment.
25100
25101 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
25102 ElfW macro instead of hardcoded Elf64 types.
25103 (la_aarch64_gnu_pltenter): Likewise.
25104 * sysdeps/aarch64/dl-machine.h
25105 (elf_machine_runtime_setup): Use ElfW(Addr).
25106
25107 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
25108 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
25109 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
25110 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
25111 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
25112 (R_AARCH64_TLS_DTPMOD64): Rename to ..
25113 (R_AARCH64_TLS_DTPMOD): This.
25114 (R_AARCH64_TLS_DTPREL64): Rename to ...
25115 (R_AARCH64_TLS_DTPREL): This.
25116 (R_AARCH64_TLS_TPREL64): Rename to ...
25117 (R_AARCH64_TLS_TPREL): This.
25118 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
25119 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
25120 R_AARCH64_TLS_TPREL64.
25121 (elf_machine_rela): Likewise.
25122
25123 2014-11-21 Torvald Riegel <triegel@redhat.com>
25124
25125 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25126 by setting it to 0. 64b atomics are not supported currently.
25127
25128 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25129
25130 [BZ #16469]
25131 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25132 search domain names.
25133
25134 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25135
25136 [BZ #16469]
25137 * NEWS: Update.
25138 * resolv/res_query.c (__libc_res_nquerydomain): Retain
25139 trailing dot.
25140 * posix/tst-getaddrinfo5.c: New.
25141 * posix/Makefile (tests): Add it.
25142
25143 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25144
25145 [BZ #14498]
25146 * NEWS: Fixed.
25147 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25148 after parsing line but before break_if_match.
25149 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25150 if there is a protocol mismatch.
25151
25152 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25153
25154 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25155 because the potential race is on the user-supplied stream.
25156
25157 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25158
25159 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25160 string literal if not passed a buffer.
25161 * manual/job.texi (ctermid): Update reasoning, note deviation
25162 from posix, suggest mtasurace when not passed a buffer, for
25163 future non-preliminary safety notes.
25164
25165 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25166
25167 * manual/users.texi (cuserid): Fix MT-Safety note for the case
25168 of not passing it a buffer.
25169 Reported by Peng Haitao.
25170
25171 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25172
25173 * manual/Makefile ($(objpfx)stamp-summary): Require
25174 check-safety.sh to pass.
25175 * manual/check-safety.sh: Wish for verification that every
25176 @deftypefn and @deftypefun is followed by a @safety remark.
25177
25178 2014-11-20 Roland McGrath <roland@hack.frob.com>
25179
25180 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25181
25182 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25183 PTHREAD_CANCEL_ASYNCHRONOUS.
25184 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25185 send SIGCANCEL.
25186
25187 * nptl/default-sched.h: New file.
25188 * sysdeps/unix/sysv/linux/default-sched.h: New file.
25189 * nptl/pthread_create.c: Include it.
25190 (__pthread_create_2_1): Use collect_default_sched instead of making
25191 Linux syscalls here directly.
25192
25193 2014-11-20 Torvald Riegel <triegel@redhat.com>
25194
25195 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25196 __pthread_once): Use C11 atomics.
25197
25198 2014-11-20 Torvald Riegel <triegel@redhat.com>
25199
25200 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25201
25202 2014-11-20 Torvald Riegel <triegel@redhat.com>
25203
25204 * include/atomic.h (__atomic_link_error, __atomic_check_size,
25205 atomic_thread_fence_acquire, atomic_thread_fence_release,
25206 atomic_thread_fence_seq_cst, atomic_load_relaxed,
25207 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25208 atomic_compare_exchange_weak_relaxed,
25209 atomic_compare_exchange_weak_acquire,
25210 atomic_compare_exchange_weak_release,
25211 atomic_exchange_acquire, atomic_exchange_release,
25212 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25213 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25214 atomic_fetch_and_acquire,
25215 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25216
25217 2014-11-20 Torvald Riegel <triegel@redhat.com>
25218
25219 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25220 USE_ATOMIC_COMPILER_BUILTINS): Define.
25221 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25222 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25223 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25224 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25225 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25226 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25227 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25228 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25229 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25230 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25231 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25232 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25233 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25234 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25235 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25236 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25237 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25238 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25239 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25240 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25241 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25242 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25243 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25244 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25245 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25246 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25247 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25248 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25249 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25250 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25251 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25252 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25253 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25254 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25255 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25256 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25257 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25258 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25259 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25260 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25261
25262 2014-11-19 Roland McGrath <roland@hack.frob.com>
25263
25264 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25265 the sched_priority value here. It was already checked when the user
25266 called pthread_attr_setschedparam.
25267
25268 * nptl/tst-bad-schedattr.c: New file.
25269 * nptl/Makefile (tests): Add it.
25270
25271 2014-11-19 Carlos O'Donell <carlos@redhat.com>
25272 Florian Weimer <fweimer@redhat.com>
25273 Joseph Myers <joseph@codesourcery.com>
25274 Adam Conrad <adconrad@0c3.net>
25275 Andreas Schwab <schwab@suse.de>
25276 Brooks <bmoses@google.com>
25277
25278 [BZ #17625]
25279 * wordexp-test.c (__dso_handle): Add prototype.
25280 (__register_atfork): Likewise.
25281 (__app_register_atfork): New function.
25282 (registered_forks): New global.
25283 (register_fork): New function.
25284 (test_case): Add 3 new tests for WRDE_CMDSUB.
25285 (main): Call __app_register_atfork.
25286 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
25287 fork count is non-zero fail the test.
25288 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25289 is set.
25290 (parse_dollars): Remove check for WRDE_NOCMD.
25291 (parse_dquote): Likewise.
25292
25293 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25294
25295 * Makeconfig (built-modules): List non-library modules to be
25296 built.
25297 (module-cppflags): Include libc-modules.h for
25298 everything except shlib-versions.v.i.
25299 (CPPFLAGS): Use it.
25300 (before-compile): Add libc-modules.h.
25301 ($(common-objpfx)libc-modules.h,
25302 $(common-objpfx)libc-modules.stmp): New targets.
25303 (common-generated): Add libc-modules.h and libc-modules.stmp.
25304 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
25305 * include/libc-symbols.h: Don't include libc-modules.h.
25306 * include/libc-modules.h: Remove file.
25307 * scripts/gen-libc-modules.awk: New script to generate
25308 libc-modules.h.
25309 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
25310 Depend on libc-modules.stmp.
25311
25312 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
25313
25314 * Makeconfig (in-module): Get value of libof set for the
25315 translation unit.
25316 (CPPFLAGS): Use $(in-module).
25317 * Makerules: Don't suffix routine names for nonlib.
25318 * include/libc-modules.h: New file.
25319 * include/libc-symbols.h: Include libc-modules.h
25320 (IS_IN): New macro to replace IS_IN_* macros.
25321 * elf/Makefile: Set libof-* for each routine.
25322 * elf/rtld-Rules: Likewise.
25323 * extra-modules.mk: Likewise.
25324 * iconv/Makefile: Likewise.
25325 * iconvdata/Makefile: Likewise.
25326 * locale/Makefile: Likewise.
25327 * malloc/Makefile: Likewise.
25328 * nss/Makefile: Likewise.
25329 * sysdeps/gnu/Makefile: Likewise.
25330 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
25331 * sysdeps/unix/sysv/linux/Makefile: Likewise.
25332 * sysdeps/s390/s390-64/Makefile: Likewise.
25333 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
25334 CPPFLAGS for nscd instead of nonlib.
25335
25336 2014-11-18 Roland McGrath <roland@hack.frob.com>
25337
25338 * nptl/createthread.c: New file.
25339
25340 * nptl/createthread.c: Moved ...
25341 * sysdeps/unix/sysv/linux/createthread.c: ... here.
25342
25343 * nptl/createthread.c: Add proper top-line comment.
25344 (do_clone): Folded into ...
25345 (create_thread): ... here. Take new arguments STOPPED_START and
25346 THREAD_RAN. Always set PD->stopped_start to something here. Don't
25347 increment __nptl_threads, do event-reporting logic, do
25348 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
25349 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
25350 resource cleanup if sched_setaffinity or sched_setscheduler fails,
25351 just send SIGCANCEL.
25352 * nptl/pthread_create.c: Forward-declare create_thread before
25353 including createthread.c.
25354 (start_thread): Use new macro START_THREAD_DEFN to replace defining
25355 declaration, and new macro START_THREAD_SELF to replace argument.
25356 Remove return statement.
25357 (report_thread_creation): New function.
25358 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
25359 synchronization logic, and __nptl_nthreads increment here, around
25360 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
25361 PD->parent_cancelhandling here, before create_thread. When
25362 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
25363 __deallocate_stack, and ENOMEM translation here.
25364
25365 2014-11-18 Joseph Myers <joseph@codesourcery.com>
25366
25367 [BZ #17616]
25368 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
25369 (mptwo): Rename to __mptwo.
25370 (__inv): Use __mptwo instead of mptwo.
25371 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
25372 (mptwo): Rename to __mptwo.
25373 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25374 of mpone and __mptwo instead of mptwo.
25375 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25376 instead of mpone.
25377 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25378 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25379 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25380 of mpone and __mptwo instead of mptwo.
25381 (__mpranred): Use __mpone instead of mpone.
25382 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25383 variable.
25384 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25385 (test-xfail-ISO99/math.h/linknamespace): Likewise.
25386 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25387 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25388 (test-xfail-ISO11/math.h/linknamespace): Likewise.
25389 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25390 (test-xfail-XPG3/math.h/linknamespace): Likewise.
25391 (test-xfail-XPG4/math.h/linknamespace): Likewise.
25392 (test-xfail-POSIX/math.h/linknamespace): Likewise.
25393 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25394 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25395 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25396 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25397 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25398 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25399 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25400 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25401 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25402 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25403
25404 2014-11-18 Tom de Vries <tom@codesoucery.com>
25405
25406 * manual/signal.texi (Primitives Interrupted by Signals): In section,
25407 replace BSD Handler xref with BSD Signal Handling.
25408
25409 2014-11-17 Richard Henderson <rth@redhat.com>
25410
25411 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25412 (_FP_PACK_RAW_2): Remove.
25413 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25414 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25415 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25416 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25417 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25418 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25419 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25420 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25421 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25422 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25423 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25424 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25425 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25426 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25427 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25428 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25429
25430 2014-11-14 Roland McGrath <roland@hack.frob.com>
25431
25432 * signal/signal.h [__USE_MISC]
25433 (struct sigvec): Remove type.
25434 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25435 (sigvec): Remove declaration.
25436 * sysdeps/posix/sigvec.c: Moved ...
25437 * signal/sigvec.c: ... here, replacing old file.
25438 (struct sigvec): New type, copied from old signal.h definition.
25439 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25440 (__sigvec): Convert definition to prototype.
25441 (sigvec): Replace weak_alias with compat_symbol.
25442 * signal/Versions (libc: GLIBC_2.21): New version set.
25443 * include/signal.h: Remove __sigvec declaration.
25444 * sysdeps/unix/bsd/sigvec.c: Remove file.
25445 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25446 * manual/signal.texi (BSD Handler): Remove subsection.
25447 Move siginterrupt up to ...
25448 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
25449 (Blocking in BSD): Fold subsection into its parent.
25450 * NEWS: Mention sigvec removal.
25451
25452 2014-11-14 Joseph Myers <joseph@codesourcery.com>
25453
25454 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25455 (DLA_FMS): Make definition conditional only on [__FMA4__].
25456 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25457 definition.
25458
25459 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25460 Make definition conditional only on [PROF].
25461 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25462 definition.
25463 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25464 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25465
25466 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25467 !__GNUC__].
25468 * include/signal.h (__sigpause): Move declaration above call to
25469 libc_hidden_proto.
25470 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25471 variable.
25472 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25473 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25474
25475 2014-11-14 David S. Miller <davem@davemloft.net>
25476
25477 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25478 Define before including <string/memcpy.c> and <string/mempcpy.c>.
25479
25480 2014-11-14 Joseph Myers <joseph@codesourcery.com>
25481
25482 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25483 * configure: Regenerated.
25484 * manual/install.texi (Tools for Compilation): Document a
25485 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25486 compiler verified to work.
25487 * INSTALL: Regenerated.
25488
25489 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25490 redeclare with asm name.
25491 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25492 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25493 including <string.h>.
25494 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25495 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25496 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25497 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25498 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25499 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25500 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25501
25502 2014-11-13 Joseph Myers <joseph@codesourcery.com>
25503
25504 * stdlib/strtol.c (__strtol): Use prototype definition.
25505
25506 [BZ #17594]
25507 * stdlib/strtol.c (SYM__): New macro.
25508 (SYM__1): Likewise.
25509 (__strtol): Likewise.
25510 (strtol): Rename to __strtol and define as weak alias of
25511 __strtol. Use libc_hidden_weak.
25512
25513 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25514
25515 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25516 Use numbered labels in inline assembly.
25517
25518 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25519
25520 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25521 Add setjmp LIBC_PROBE.
25522 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25523 Likewise.
25524 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25525 Add longjmp, longjmp_target LIBC_PROBE.
25526 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25527 Likewise.
25528
25529 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25530
25531 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25532 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25533 to get rid of unused variable warning.
25534
25535 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25536
25537 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25538 Check for unwind_backtrace == NULL only in SHARED case.
25539 (__backchain_backtrace): Compile only in SHARED case.
25540 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25541 Likewise.
25542 (__backchain_backtrace): Declare as static.
25543
25544 2014-11-12 Roland McGrath <roland@hack.frob.com>
25545
25546 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25547 (__libc_multiple_threads_ptr): Variable moved ...
25548 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25549
25550 2014-11-12 Joseph Myers <joseph@codesourcery.com>
25551
25552 * conform/GlibcConform.pm: New file.
25553 * conform/conformtest.pl: Use GlibcConform module.
25554 * conform/linknamespace.pl: New file.
25555 * conform/list-header-symbols.pl: Likewise.
25556 * conform/Makefile (linknamespace-symlists-base): New variable.
25557 (linknamespace-symlists-tests): Likewise.
25558 (linknamespace-header-base): Likewise.
25559 (linknamespace-header-tests): Likewise.
25560 (tests-special): Add new tests.
25561 ($(linknamespace-symlists-tests)): New rule.
25562 (linknamespace-libs): New variable.
25563 ($(objpfx)symlist-stdlibs): New rule.
25564 ($(linknamespace-header-tests)): Likewise.
25565 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25566 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25567 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25568 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25569 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25570 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25571 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25572 (test-xfail-ISO/math.h/linknamespace): Likewise.
25573 (test-xfail-ISO/signal.h/linknamespace): Likewise.
25574 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25575 (test-xfail-ISO/time.h/linknamespace): Likewise.
25576 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25577 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25578 (test-xfail-ISO99/math.h/linknamespace): Likewise.
25579 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25580 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25581 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25582 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25583 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25584 (test-xfail-ISO11/math.h/linknamespace): Likewise.
25585 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25586 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25587 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25588 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25589 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25590 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25591 (test-xfail-XPG3/math.h/linknamespace): Likewise.
25592 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25593 (test-xfail-XPG3/search.h/linknamespace): Likewise.
25594 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25595 (test-xfail-XPG3/time.h/linknamespace): Likewise.
25596 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25597 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25598 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25599 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25600 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25601 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25602 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25603 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25604 (test-xfail-XPG4/math.h/linknamespace): Likewise.
25605 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25606 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25607 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25608 (test-xfail-XPG4/search.h/linknamespace): Likewise.
25609 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25610 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25611 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25612 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25613 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25614 (test-xfail-XPG4/time.h/linknamespace): Likewise.
25615 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25616 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25617 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25618 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25619 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25620 (test-xfail-POSIX/math.h/linknamespace): Likewise.
25621 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25622 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25623 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25624 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25625 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25626 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25627 (test-xfail-POSIX/time.h/linknamespace): Likewise.
25628 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25629 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25630 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25631 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25632 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25633 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25634 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25635 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25636 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25637 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25638 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25639 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25640 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25641 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25642 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25643 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25644 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25645 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25646 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25647 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25648 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25649 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25650 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25651 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25652 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25653 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25654 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25655 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25656 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25657 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25658 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25659 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25660 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25661 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25662 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25663 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25664 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25665 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25666 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25667 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25668 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25669 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25670 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25671 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25672 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25673 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25674 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25675 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25676 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25677 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25678 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25679 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25680 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25681 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25682 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25683 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25684 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25685 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25686 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25687 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25688 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25689 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25690 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25691 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25692 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25693 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25694 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25695 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25696 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25697 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25698 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25699 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25700 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25701 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25702 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25703 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25704 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25705 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25706 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25707 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25708 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25709 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25710 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25711 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25712 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25713 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25714 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25715 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25716 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25717 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25718 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25719 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25720 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25721 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25722 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25723 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25724 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25725 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25726
25727 [BZ #17589]
25728 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25729 of fgets_unlocked.
25730
25731 [BZ #17585]
25732 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25733 (memmem): Rename to __memmem and define as weak alias of
25734 __memmem. Use libc_hidden_weak.
25735 (__memmem): Use libc_hidden_def.
25736 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
25737 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25738 memmem.
25739
25740 [BZ #17582]
25741 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25742 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
25743 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25744 and define as weak alias of __fgets_unlocked. Use
25745 libc_hidden_weak.
25746 (__fgets_unlocked): Use libc_hidden_def.
25747 * include/stdio.h (__fgets_unlocked): Declare. Use
25748 libc_hidden_proto.
25749 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25750 __fgets_unlocked instead of fgets_unlocked.
25751 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25752 (GET_NPROCS_CONF_PARSER): Likewise.
25753 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25754 (GET_NPROCS_CONF_PARSER): Likewise.
25755
25756 [BZ #17574]
25757 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25758 weak alias of __wmemset. Use libc_hidden_weak.
25759 (__wmemset): Use libc_hidden_def.
25760 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
25761 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25762 of wmemset.
25763
25764 [BZ #17573]
25765 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25766 with asm name __mempcpy.
25767 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25768
25769 [BZ #17572]
25770 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25771 and define as weak alias of __rawmemchr.
25772 (__rawmemchr): Do not define as strong alias of rawmemchr.
25773
25774 [BZ #17571]
25775 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25776 alias of __qsort_r.
25777 (qsort): Call __qsort_r instead of qsort_r.
25778 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25779 (__qsort_r): Declare. Call libc_hidden_proto.
25780 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25781 instead of qsort_r.
25782 * nscd/gai.c (__qsort_r): Define to qsort_r.
25783 * posix/tst-rfc3484.c (__qsort_r): Likewise.
25784 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25785 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25786
25787 [BZ #17570]
25788 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25789 define as weak alias of __malloc_info.
25790
25791 [BZ #17584]
25792 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25793 as weak alias of __rewinddir. Don't use libc_hidden_def.
25794 (__rewinddir): Use libc_hidden_def.
25795 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25796 as weak alias of __rewinddir. Don't use libc_hidden_def.
25797 (__rewinddir): Use libc_hidden_def.
25798 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25799 weak alias of __rewinddir. Don't use libc_hidden_def.
25800 (__rewinddir): Use libc_hidden_def.
25801 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25802 (__rewinddir): Use libc_hidden_proto.
25803 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25804 rewinddir.
25805 (__getcwd): Use __rewinddir instead of rewinddir.
25806
25807 [BZ #17583]
25808 * libio/fileno.c (fileno): Rename to __fileno and define as weak
25809 alias of __fileno. Use libc_hidden_weak.
25810 (__fileno): Use libc_hidden_def.
25811 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25812 * libio/ftello.c (ftello): Rename to __ftello and define as weak
25813 alias of __ftello.
25814 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25815 __ftello.
25816 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25817 (__fread_unlocked): Define as strong alias of _IO_fread. Use
25818 libc_hidden_def.
25819 (fread_unlocked): Don't use libc_hidden_ver.
25820 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25821 and define as weak alias of __fread_unlocked. Don't use
25822 libc_hidden_def.
25823 (__fread_unlocked): Use libc_hidden_def.
25824 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
25825 (ftello): Don't use libc_hidden_proto.
25826 (__ftello): Declare. Use libc_hidden_proto.
25827 (fread_unlocked): Don't use libc_hidden_proto.
25828 (__fread_unlocked): Declare. Use libc_hidden_proto.
25829 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25830 and __ftello instead of fileno, fread_unlocked and ftello.
25831
25832 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25833
25834 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25835 GOT12.
25836 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25837 Likewise.
25838 (_dl_start_user): Likewise.
25839 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25840
25841 2014-11-12 Carlos O'Donell <carlos@redhat.com>
25842 Siddhesh Poyarekar <siddhesh@redhat.com>
25843
25844 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25845 Move argv and envp down instead of moving argc up.
25846 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25847
25848 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
25849
25850 [BZ #17506]
25851 * test-skeleton.c (main): Return successful if one of
25852 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25853 * string/tst-strcoll-overflow.c: Define expected status.
25854
25855 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
25856
25857 [BZ #17475]
25858 * locale/iso-639.def: Define Bhili and Tulu language codes.
25859
25860 2014-11-11 Alan Hayward <alan.hayward@arm.com>
25861
25862 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25863
25864 2014-11-10 Renlin Li <Renlin.Li@arm.com>
25865
25866 [BZ #17555]
25867 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25868
25869 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
25870
25871 * configure.ac: Updated check of minimal required version to
25872 2.22.
25873 * manual/install.texi (Tools for Compilation): Updated version
25874 number.
25875 * configure: Regenerated.
25876 * INSTALL: Likewise.
25877
25878 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
25879
25880 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25881 __tls_get_addr.
25882
25883 2014-11-07 Joseph Myers <joseph@codesourcery.com>
25884
25885 * include/sys/wait.h (__libc_waitpid): Remove declaration.
25886 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25887 (__waitpid): Don't define as alias. Use libc_hidden_def not
25888 libc_hidden_weak.
25889 (waitpid): Define as alias of __waitpid.
25890 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25891 __waitpid.
25892 (__waitpid): Don't define as alias. Use libc_hidden_def not
25893 libc_hidden_weak.
25894 (waitpid): Define as alias of __waitpid.
25895 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25896 __libc_waitpid alias.
25897 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25898 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25899 Likewise.
25900 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25901 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25902 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25903 alias.
25904 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25905 __waitpid.
25906 (__waitpid): Don't define as alias. Use libc_hidden_def not
25907 libc_hidden_weak.
25908 (waitpid): Define as alias of __waitpid.
25909
25910 2014-11-06 Carlos O'Donell <carlos@redhat.com>
25911
25912 * manual/llio.texi: Add comment that write safety has been
25913 fixed in Linux.
25914
25915 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25916 (localplt-build-dso): Add elf/ld.so.
25917 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25918 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25919 and free for ld.so.
25920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25921 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25923 Likewise.
25924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25925 Likewise.
25926 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25927 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25928 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25929 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25930 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25931 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25932 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25933 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25934 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25935 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25936 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25937
25938 2014-11-05 Joseph Myers <joseph@codesourcery.com>
25939
25940 [BZ #14132]
25941 * include/libc-symbols.h (INTUSE): Remove macro.
25942 (INTDEF): Likewise.
25943 (INTVARDEF): Likewise.
25944 (_INTVARDEF): Likewise.
25945 (INTDEF2): Likewise.
25946 (INTVARDEF2): Likewise.
25947 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25948 rtld_hidden_def instead of INTVARDEF.
25949 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25950 (_dl_starting_up_internal): Remove declaration.
25951 (_dl_starting_up): Use rtld_hidden_proto.
25952 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25953 declaration.
25954 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25955 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25956 _dl_starting_up.
25957 * elf/dl-writev.h (_dl_writev): Likewise.
25958 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25959 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25960 _dl_starting_up_internal.
25961
25962 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25963
25964 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25965 test-skeleton.c.
25966
25967 2014-11-05 Will Newton <will.newton@linaro.org>
25968
25969 * benchtests/Makefile: (bench-malloc): Add malloc thread
25970 scalability benchmark.
25971 * benchtests/bench-malloc-threads.c: New file.
25972
25973 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
25974
25975 * sysdeps/aarch64/strchrnul.S: New file.
25976
25977 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25978
25979 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25980 definition.
25981 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25982 Likwise.
25983 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25984 Likewise.
25985 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25986 Likewise.
25987 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25988 Likewise.
25989 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25990 Likewise.
25991
25992 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
25993
25994 * catgets/test-gencat.c: Use test-skeleton.c.
25995 * catgets/tst-catgets.c: Likewise.
25996 * csu/tst-empty.c: Likewise.
25997 * elf/tst-audit2.c: Likewise.
25998 * elf/tst-global1.c: Likewise.
25999 * elf/tst-pathopt.c: Likewise.
26000 * elf/tst-piemod1.c: Likewise.
26001 * elf/tst-tls10.c: Likewise.
26002 * elf/tst-tls11.c: Likewise.
26003 * elf/tst-tls12.c: Likewise.
26004 * gnulib/tst-gcc.c: Likewise.
26005 * iconvdata/tst-e2big.c: Likewise.
26006 * iconvdata/tst-loading.c: Likewise.
26007 * iconv/tst-iconv1.c: Likewise.
26008 * iconv/tst-iconv2.c: Likewise.
26009 * inet/test-inet6_opt.c: Likewise.
26010 * inet/tst-gethnm.c: Likewise.
26011 * inet/tst-network.c: Likewise.
26012 * inet/tst-ntoa.c: Likewise.
26013 * intl/tst-codeset.c: Likewise.
26014 * intl/tst-gettext2.c: Likewise.
26015 * intl/tst-gettext3.c: Likewise.
26016 * intl/tst-ngettext.c: Likewise.
26017 * intl/tst-translit.c: Likewise.
26018 * io/test-stat.c: Likewise.
26019 * libio/test-fmemopen.c: Likewise.
26020 * libio/tst-freopen.c: Likewise.
26021 * libio/tst-sscanf.c: Likewise.
26022 * libio/tst-ungetwc1.c: Likewise.
26023 * libio/tst-ungetwc2.c: Likewise.
26024 * libio/tst-widetext.c: Likewise.
26025 * localedata/tst-ctype.c: Likewise.
26026 * localedata/tst-digits.c: Likewise.
26027 * localedata/tst-leaks.c: Likewise.
26028 * localedata/tst-mbswcs1.c: Likewise.
26029 * localedata/tst-mbswcs2.c: Likewise.
26030 * localedata/tst-mbswcs3.c: Likewise.
26031 * localedata/tst-mbswcs4.c: Likewise.
26032 * localedata/tst-mbswcs5.c: Likewise.
26033 * localedata/tst-setlocale.c: Likewise.
26034 * localedata/tst-trans.c: Likewise.
26035 * localedata/tst-wctype.c: Likewise.
26036 * localedata/tst-xlocale1.c: Likewise.
26037 * login/tst-grantpt.c: Likewise.
26038 * malloc/tst-calloc.c: Likewise.
26039 * malloc/tst-malloc.c: Likewise.
26040 * malloc/tst-mallocstate.c: Likewise.
26041 * malloc/tst-mcheck.c: Likewise.
26042 * malloc/tst-mtrace.c: Likewise.
26043 * malloc/tst-obstack.c: Likewise.
26044 * math/atest-exp2.c: Likewise.
26045 * math/atest-exp.c: Likewise.
26046 * math/atest-sincos.c: Likewise.
26047 * math/test-matherr.c: Likewise.
26048 * math/test-misc.c: Likewise.
26049 * math/test-powl.c: Likewise.
26050 * math/tst-definitions.c: Likewise.
26051 * misc/tst-dirname.c: Likewise.
26052 * misc/tst-efgcvt.c: Likewise.
26053 * misc/tst-fdset.c: Likewise.
26054 * misc/tst-hsearch.c: Likewise.
26055 * misc/tst-mntent2.c: Likewise.
26056 * nptl/tst-sem7.c: Likewise.
26057 * nptl/tst-sem8.c: Likewise.
26058 * nptl/tst-sem9.c: Likewise.
26059 * nss/test-netdb.c: Likewise.
26060 * posix/tst-fnmatch.c: Likewise.
26061 * posix/tst-getlogin.c: Likewise.
26062 * posix/tst-gnuglob.c: Likewise.
26063 * posix/tst-mmap.c: Likewise.
26064 * pwd/tst-getpw.c: Likewise.
26065 * resolv/tst-inet_ntop.c: Likewise.
26066 * rt/tst-timer.c: Likewise.
26067 * stdio-common/test-fseek.c: Likewise.
26068 * stdio-common/test-popen.c: Likewise.
26069 * stdio-common/test-vfprintf.c: Likewise.
26070 * stdio-common/tst-cookie.c: Likewise.
26071 * stdio-common/tst-fileno.c: Likewise.
26072 * stdio-common/tst-gets.c: Likewise.
26073 * stdio-common/tst-obprintf.c: Likewise.
26074 * stdio-common/tst-perror.c: Likewise.
26075 * stdio-common/tst-sprintf2.c: Likewise.
26076 * stdio-common/tst-sprintf3.c: Likewise.
26077 * stdio-common/tst-sprintf.c: Likewise.
26078 * stdio-common/tst-swprintf.c: Likewise.
26079 * stdio-common/tst-tmpnam.c: Likewise.
26080 * stdio-common/tst-unbputc.c: Likewise.
26081 * stdio-common/tst-wc-printf.c: Likewise.
26082 * stdlib/tst-environ.c: Likewise.
26083 * stdlib/tst-fmtmsg.c: Likewise.
26084 * stdlib/tst-limits.c: Likewise.
26085 * stdlib/tst-rand48-2.c: Likewise.
26086 * stdlib/tst-rand48.c: Likewise.
26087 * stdlib/tst-random2.c: Likewise.
26088 * stdlib/tst-random.c: Likewise.
26089 * stdlib/tst-strtol.c: Likewise.
26090 * stdlib/tst-strtoll.c: Likewise.
26091 * stdlib/tst-tls-atexit.c: Likewise.
26092 * stdlib/tst-xpg-basename.c: Likewise.
26093 * string/test-ffs.c: Likewise.
26094 * string/tst-bswap.c: Likewise.
26095 * string/tst-inlcall.c: Likewise.
26096 * string/tst-strtok.c: Likewise.
26097 * string/tst-strxfrm.c: Likewise.
26098 * sysdeps/x86_64/tst-audit10.c: Likewise.
26099 * sysdeps/x86_64/tst-audit3.c: Likewise.
26100 * sysdeps/x86_64/tst-audit4.c: Likewise.
26101 * sysdeps/x86_64/tst-audit5.c: Likewise.
26102 * time/tst-ftime_l.c: Likewise.
26103 * time/tst-getdate.c: Likewise.
26104 * time/tst-mktime3.c: Likewise.
26105 * time/tst-mktime.c: Likewise.
26106 * time/tst-posixtz.c: Likewise.
26107 * time/tst-strptime2.c: Likewise.
26108 * time/tst-strptime3.c: Likewise.
26109 * wcsmbs/tst-btowc.c: Likewise.
26110 * wcsmbs/tst-mbrtowc.c: Likewise.
26111 * wcsmbs/tst-mbsrtowcs.c: Likewise.
26112 * wcsmbs/tst-wchar-h.c: Likewise.
26113 * wcsmbs/tst-wcpncpy.c: Likewise.
26114 * wcsmbs/tst-wcrtomb.c: Likewise.
26115 * wcsmbs/tst-wcsnlen.c: Likewise.
26116 * wcsmbs/tst-wcstof.c: Likewise.
26117
26118 2014-11-04 Joseph Myers <joseph@codesourcery.com>
26119
26120 [BZ #14132]
26121 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
26122 INTDEF.
26123 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
26124 declaration.
26125 (_dl_mcount): Use rtld_hidden_proto.
26126 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26127 _dl_mcount.
26128 * elf/rtld.c (_rtld_global_ro): Likewise.
26129
26130 [BZ #14132]
26131 * elf/dl-init.c (_dl_init): Don't use INTDEF.
26132 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26133 of _dl_init_internal.
26134 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26135 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26136 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26137 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26138 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26139 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26140 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26141 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26142 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26143 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26144 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26145 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26146 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26147 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26148 * sysdeps/tile/dl-start.S (_start): Likewise.
26149 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26150 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26151
26152 [BZ #14132]
26153 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26154 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26155 (rtld_progname): Make macro definition unconditional.
26156 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26157 INTDEF.
26158 (dlmopen_doit): Do not use INTUSE with _dl_argv.
26159 (dl_main): Likewise.
26160 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26161 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26162 instead of _dl_argv_internal.
26163 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26164 __GI__dl_argv instead of INTUSE(_dl_argv).
26165 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26166 __GI__dl_argv instead of _dl_argv_internal.
26167
26168 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26169 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26170 macro.
26171 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26172 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26173 New macro.
26174 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26175 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26176 macro.
26177 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26178 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26179
26180 2014-11-04 Andreas Schwab <schwab@suse.de>
26181
26182 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26183
26184 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26185
26186 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26187 mtvsrd instruction in binary form.
26188
26189 2014-11-03 Andreas Schwab <schwab@suse.de>
26190
26191 [BZ #17522]
26192 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26193 for less than MB_LEN_MAX use a local buffer of that size.
26194 * libio/tst-fputws.c: New file.
26195 * libio/Makefile (tests): Add tst-fputws.
26196
26197 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
26198
26199 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26200 the size of the fpu_fr.fpu_dregs[] array.
26201
26202 2014-11-01 Joseph Myers <joseph@codesourcery.com>
26203
26204 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26205 (__nanosleep): Do not define as alias.
26206 (nanosleep): Define as alias of __nanosleep.
26207 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26208 __libc_nanosleep name.
26209
26210 2014-10-31 Joseph Myers <joseph@codesourcery.com>
26211
26212 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26213 install.texi in comment.
26214
26215 2014-10-31 Torvald Riegel <triegel@redhat.com>
26216
26217 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26218 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26219 ... add here and use lwsync or sync ...
26220 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26221 ... and add here using lwsync.
26222
26223 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
26224
26225 * elf/dl-machine-reject-phdr.h: New file.
26226 * elf/dl-load.c: #include that.
26227 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26228 if that returned true.
26229
26230 2014-10-31 Roland McGrath <roland@hack.frob.com>
26231
26232 [BZ #17496]
26233 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26234 gen-as-const-headers chunk. Add a big scare comment after the last
26235 safe place to touch before-compile.
26236
26237 2014-10-31 Joseph Myers <joseph@codesourcery.com>
26238
26239 * manual/install.texi (Tools for Compilation): Update autoconf
26240 version requirements.
26241 * INSTALL: Regenerated.
26242
26243 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26244 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26245 (__libc_pselect): Likewise.
26246
26247 [BZ #14138]
26248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26252
26253 2014-10-31 Torvald Riegel <triegel@redhat.com>
26254
26255 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26256 correct barrier instruction.
26257 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26258 Likewise.
26259 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26260 Likewise.
26261
26262 2014-10-30 Roland McGrath <roland@hack.frob.com>
26263
26264 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26265 after defining inlines. Instead, just use parens to defeat macro
26266 expansion of __isctype in its declaration.
26267
26268 2014-10-30 Joseph Myers <joseph@codesourcery.com>
26269
26270 * include/sys/uio.h (__libc_readv): Remove declaration.
26271 (__libc_writev): Likewise.
26272 * misc/readv.c (__libc_readv): Rename to __readv.
26273 (__readv): Do not define as alias.
26274 (readv): Define as alias of __readv.
26275 * misc/writev.c (__libc_writev): Rename to __writev.
26276 (__writev): Do not define as alias.
26277 (writev): Define as alias of __writev.
26278 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
26279 (__readv): Do not define as alias.
26280 (readv): Define unconditionally as alias of __readv.
26281 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
26282 (__writev): Do not define as alias.
26283 (writev): Define unconditionally as alias of __writev.
26284 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
26285 name.
26286 (writev): Do not define __libc_writev name.
26287
26288 2014-10-30 Roland McGrath <roland@hack.frob.com>
26289
26290 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
26291 (convert_charseq): New function, broken out of ...
26292 (use_from_charmap): ... here. Call it.
26293 (use_to_charmap): Use convert_charseq and free instead of duplicating
26294 its code with a variable-length stack struct.
26295
26296 2014-10-30 Joseph Myers <joseph@codesourcery.com>
26297
26298 * include/fcntl.h (__libc_creat): Remove declaration.
26299 * io/creat.c (__libc_creat): Rename to creat.
26300 (creat): Do not define as alias.
26301 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
26302 of creat instead of __libc_creat.
26303 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
26304 to creat.
26305 (creat): Do not define as alias.
26306 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
26307 __libc_creat.
26308 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
26309 __libc_creat name.
26310 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
26311 Likewise.
26312
26313 2014-10-29 Carlos O'Donell <carlos@redhat.com>
26314
26315 * manual/llio.texi: Add comments discussing why write() may be
26316 considered MT-unsafe on Linux.
26317
26318 2014-10-28 Carlos O'Donell <carlos@redhat.com>
26319
26320 * dl-load.c (local_strdup): Remove.
26321 (expand_dynamic_string_token): Use __strdup.
26322 (decompose_rpath): Likewise.
26323 (_dl_map_object): Likewise.
26324
26325 2014-10-28 Joseph Myers <joseph@codesourcery.com>
26326
26327 [BZ #14132]
26328 * sysdeps/generic/unwind-dw2-fde.c
26329 (__register_frame_info_bases_internal): Do not declare.
26330 (__register_frame_info_table_bases_internal): Likewise.
26331 (__deregister_frame_info_bases_internal): Likewise.
26332 (__register_frame_info_bases): Declare and use hidden_proto before
26333 definition. Use hidden_def instead of INTDEF.
26334 (__register_frame_info_table_bases): Likewise.
26335 (__deregister_frame_info_bases): Likewise.
26336 (__register_frame_info): Do not use INTUSE.
26337 (__register_frame): Likewise.
26338 (__register_frame_info_table): Likewise.
26339 (__register_frame_table): Likewise.
26340 (__deregister_frame_info): Likewise.
26341 (__deregister_frame): Likewise.
26342
26343 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
26344
26345 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26346 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
26347 not undefine.
26348 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
26349 Likewise.
26350 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
26351 Likewise.
26352
26353 2014-10-27 Joseph Myers <joseph@codesourcery.com>
26354
26355 [BZ #14138]
26356 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
26357 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
26358 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
26359 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
26360 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
26361 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
26362 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
26363 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
26364 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
26365 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
26366 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
26367 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
26368 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
26369 syscall.
26370 (setfsuid): Likewise.
26371 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
26372 (setfsuid): Likewise.
26373 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26374 (setfsuid): Likewise.
26375 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26376 Likewise.
26377 (setfsuid): Likewise.
26378 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26379 (setfsuid): Likewise.
26380 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26381 Likewise.
26382 (setfsuid): Likewise.
26383
26384 2014-10-27 Andreas Schwab <schwab@suse.de>
26385
26386 [BZ #17501]
26387 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26388 check for Slow_SSE4_2 feature bit.
26389 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26390 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26391 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26392 Likewise. Fix check for Fast_Unaligned_Load feature bit.
26393
26394 2014-10-24 Roland McGrath <roland@hack.frob.com>
26395
26396 * configure.ac: Validate compiler version with a empirical test of
26397 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26398 $CC -v output.
26399 * configure: Regenerated.
26400
26401 * inet/htons.c (htons): Prototypify.
26402 * inet/htonl.c (htonl): Likewise.
26403
26404 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26405
26406 * string/strncat.c (strncat): Improve performance by using strlen.
26407
26408 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26409
26410 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26411
26412 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26413
26414 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26415 Call libc_fetestexcept_aarch64.
26416
26417 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26418
26419 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26420 Call libc_feholdexcept_aarch64.
26421
26422 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26423
26424 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26425 Call get_rounding_mode.
26426
26427 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26428
26429 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26430 Simplify logic.
26431
26432 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26433
26434 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26435 Simplify logic.
26436
26437 2014-10-24 Joseph Myers <joseph@codesourcery.com>
26438
26439 [BZ #14138]
26440 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26441 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26442 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26443 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26444 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26445 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26446 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26447 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26448 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26449 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26450 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26451 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26452 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26453 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26454 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26455 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26456 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26457 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26458 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26459 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26460 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26461 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26462 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26463 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26464 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26465 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26466 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26467 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26468 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26469 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26470 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26471 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26472 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26473 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26474 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26475 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26476 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26477 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26478 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26479 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26480 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26481 syscall.
26482 (geteuid): Likewise.
26483 (getgid): Likewise.
26484 (getuid): Likewise.
26485 (getresgid): Likewise.
26486 (getresuid): Likewise.
26487 (getgroups): Likewise.
26488 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26489 (geteuid): Likewise.
26490 (getgid): Likewise.
26491 (getuid): Likewise.
26492 (getresgid): Likewise.
26493 (getresuid): Likewise.
26494 (getgroups): Likewise.
26495 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26496 (geteuid): Likewise.
26497 (getgid): Likewise.
26498 (getuid): Likewise.
26499 (getresgid): Likewise.
26500 (getresuid): Likewise.
26501 (getgroups): Likewise.
26502 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26503 Likewise.
26504 (geteuid): Likewise.
26505 (getgid): Likewise.
26506 (getuid): Likewise.
26507 (getresgid): Likewise.
26508 (getresuid): Likewise.
26509 (getgroups): Likewise.
26510 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26511 (geteuid): Likewise.
26512 (getgid): Likewise.
26513 (getuid): Likewise.
26514 (getresgid): Likewise.
26515 (getresuid): Likewise.
26516 (getgroups): Likewise.
26517 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26518 Likewise.
26519 (geteuid): Likewise.
26520 (getgid): Likewise.
26521 (getuid): Likewise.
26522 (getgroups): Likewise.
26523
26524 [BZ #14138]
26525 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26526 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26527 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26528 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26529 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26530 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26531 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26532 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26533 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26534 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26535 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26536 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26537 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26538 __chown.
26539 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26540 (lchown): Likewise.
26541 (fchown): Likewise.
26542 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26543 Likewise.
26544 (lchown): Likewise.
26545 (fchown): Likewise.
26546 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26547 (lchown): Likewise.
26548 (fchown): Likewise.
26549 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26550 Likewise.
26551 (lchown): Likewise.
26552 (fchown): Likewise.
26553
26554 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26555
26556 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26557 Simplify logic.
26558
26559 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26560
26561 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26562 Cleanup logic.
26563
26564 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26565
26566 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26567 Remove unused include.
26568
26569 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26570
26571 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26572 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26573 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26574 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26575
26576 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
26577 Helge Deller <deller@gmx.de>
26578
26579 [BZ #17508]
26580 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26581 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26582 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26583
26584 2014-10-23 Joseph Myers <joseph@codesourcery.com>
26585
26586 [BZ #14132]
26587 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26588 Remove macro definition.
26589 (__ashrdi3_v_glibc20): Likewise.
26590 (__lshrdi3_v_glibc20): Likewise.
26591 (__cmpdi2_v_glibc20): Likewise.
26592 (__ucmpdi2_v_glibc20): Likewise.
26593 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26594 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26595 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26596 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26597 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26598 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26599
26600 2014-10-22 Roland McGrath <roland@hack.frob.com>
26601
26602 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26603 old GNU extension [0] syntax.
26604 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26605 alloca rather than an array member with variable length.
26606 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26607 * nscd/nscd.c (invalidate_db): New function, broken out of ...
26608 (parse_opt): ... here. Likewise use alloca there.
26609 Validate the -i argument before checking for rootness.
26610 (send_shutdown): New function, broken out of ...
26611 (parse_opt): ... here.
26612
26613 2014-10-22 Roland McGrath <roland@hack.frob.com>
26614
26615 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26616 macro to get at the _rt_local_ro field.
26617 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26618 ([PIC] case) or _dl_hwcap ([!PIC] case).
26619 * sysdeps/arm/setjmp.S: Likewise.
26620
26621 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26622 * sysdeps/arm/configure.ac: New check to define it.
26623 * sysdeps/arm/configure: Regenerated.
26624 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26625 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26626 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26627 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26628 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26629 Use move/movt pair instead of a load.
26630 (LDST_GLOBAL): Macro removed.
26631 (LDR_GLOBAL): New macro replaces it.
26632 (LDR_HIDDEN): New macro.
26633 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26634 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26635
26636 * setjmp/tst-setjmp-static.c: New file.
26637 * setjmp/Makefile (tests): Add it.
26638 (tests-static): New variable.
26639
26640 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
26641
26642 [BZ #17485]
26643 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26644
26645 2014-10-21 Joseph Myers <joseph@codesourcery.com>
26646
26647 [BZ #14132]
26648 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26649
26650 2014-10-21 Roland McGrath <roland@hack.frob.com>
26651
26652 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26653
26654 2014-10-20 Roland McGrath <roland@hack.frob.com>
26655
26656 * io/fts.c (dirent_not_directory): New function.
26657 (fts_build): Call it.
26658
26659 2014-10-20 Roland McGrath <roland@hack.frob.com>
26660
26661 * nptl/version.c (__nptl_main): Use normal __write rather than
26662 INTERNAL_SYSCALL.
26663 (banner): Update copyright years.
26664
26665 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26666 gettimeofday.
26667 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26668 * nptl/pthread_cond_timedwait.c: Likewise.
26669 * nptl/pthread_mutex_timedlock.c: Likewise.
26670 * nptl/sem_timedwait.c: Likewise.
26671
26672 * sysdeps/nptl/bits/libc-lock.h
26673 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26674 (__libc_lock_init_recursive): Return void, not 0.
26675 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26676 (__libc_rwlock_init): Likewise.
26677 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26678
26679 2014-10-20 Torvald Riegel <triegel@redhat.com>
26680
26681 [BZ #15215]
26682 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26683 (__pthread_once_slow): ... here.
26684 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26685 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26686
26687 2014-10-20 Torvald Riegel <triegel@redhat.com>
26688
26689 [BZ #15215]
26690 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26691 __PTHREAD_ONCE_FORK_GEN_INCR): New.
26692 * sysdeps/nptl/fork.c (__libc_fork): Use them.
26693 * nptl/pthread_once.c (__pthread_once): Likewise.
26694 Update comments.
26695
26696 2014-10-20 Joseph Myers <joseph@codesourcery.com>
26697
26698 [BZ #14138]
26699 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26700 name.
26701 (writev): Use __libc_writev as strong name.
26702 * sysdeps/unix/sysv/linux/readv.c: Remove file.
26703 * sysdeps/unix/sysv/linux/writev.c: Likewise.
26704
26705 2014-10-17 Roland McGrath <roland@hack.frob.com>
26706
26707 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26708
26709 * sysdeps/i386/nptl/tls.h
26710 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26711 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26712 New macros.
26713 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26714 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26715 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26716 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26717 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26718 Call CHECK_THREAD_SYSINFO instead of doing an assert.
26719
26720 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26721 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26722 on [__NR_futex].
26723 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26724 broken out of ...
26725 (__pthread_mutex_init): ... here. Call it.
26726 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26727 Conditionalize PI cases on [__NR_futex].
26728 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26729 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26730 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26731
26732 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26733 conditional on [SIGSETXID].
26734 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26735 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26736 is defined. Likewise for SIGSETXID.
26737 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26738 Conditionalize definitions on [SIGSETXID].
26739 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26740 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26741 unblocking on [SIGCANCEL].
26742
26743 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26744 [__NR_set_robust_list].
26745
26746 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26747
26748 * string/strcoll_l.c (get_next_seq): Fix up formatting.
26749 (do_compare): Likewise.
26750
26751 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
26752
26753 [BZ #15884]
26754 * string/strcoll_l.c: Don't include stdio.h.
26755 (coll_seq): Remove members idxarr and rulearr.
26756 (get_next_seq_cached): Remove function.
26757 (get_next_seq): Likewise.
26758 (get_next_seq_nocache): Rename to get_next_seq.
26759 (do_compare): Remove function.
26760 (do_compare_nocache): Rename to do_compare.
26761 (STRCOLL): Remove weight and rules cache.
26762
26763 2014-10-16 Roland McGrath <roland@hack.frob.com>
26764
26765 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26766 * sysdeps/arm/sfp-machine.h: ... to here.
26767 * sysdeps/arm/Implies: Remove arm/soft-fp.
26768
26769 2014-10-14 Joseph Myers <joseph@codesourcery.com>
26770
26771 * conform/data/sys/utsname.h-data (*_t): Allow.
26772 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26773 [POSIX] (WEXITED): Do not expect constant.
26774 [POSIX] (WSTOPPED): Likewise.
26775 [POSIX] (WNOHANG): Likewise.
26776 [POSIX] (WNOWAIT): Likewise.
26777 [POSIX] (siginfo_t): Do not expect type or elements.
26778 [POSIX] (pid_t): Do not expect type.
26779 [POSIX] (signal.h): Do not allow header.
26780 [POSIX] (sys/resource.h): Likewise.
26781 [POSIX] (si_*): Do not allow pattern.
26782 [POSIX] (W*): Likewise.
26783 [POSIX] (P_*): Likewise.
26784 [POSIX] (BUS_*): Likewise.
26785 [POSIX] (CLD_*): Likewise.
26786 [POSIX] (FPE_*): Likewise.
26787 [POSIX] (ILL_*): Likewise.
26788 [POSIX] (POLL_*): Likewise.
26789 [POSIX] (SEGV_*): Likewise.
26790 [POSIX] (SI_*): Likewise.
26791 [POSIX] (TRAP_*): Likewise.
26792 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26793 variable.
26794
26795 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
26796
26797 [BZ #12926]
26798 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26799 infinite loop when __recvmsg returns 0.
26800
26801 2014-10-10 Joseph Myers <joseph@codesourcery.com>
26802
26803 * CANCEL-FCT-WAIVE: Remove file.
26804 * CANCEL-FILE-WAIVE: Likewise.
26805
26806 [BZ #14132]
26807 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26808 instead of INTVARDEF.
26809 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26810 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26811 rtld_hidden_data_def instead of INTVARDEF.
26812 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26813 * elf/dl-deps.c (expand_dst): Likewise.
26814 * elf/dl-load.c (_dl_dst_count): Likewise.
26815 (_dl_dst_substitute): Likewise.
26816 (decompose_rpath): Likewise.
26817 (_dl_init_paths): Likewise.
26818 (open_path): Likewise.
26819 (_dl_map_object): Likewise.
26820 * elf/rtld.c (dl_main): Likewise.
26821 (process_dl_audit): Likewise.
26822 (process_envvars): Likewise.
26823 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26824 Remove declaration.
26825 (__libc_enable_secure): Use rtld_hidden_proto.
26826
26827 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
26828
26829 * elf/dl-load.c
26830 (add_path): New function broken out of _dl_rtld_di_serinfo.
26831 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
26832
26833 2014-10-09 Joseph Myers <joseph@codesourcery.com>
26834
26835 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26836 parentheses around macro arguments.
26837 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26838 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26839 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26840 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26841 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26842 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26843 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26844 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26845 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26846 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26847 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26848 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26849 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26850 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26851 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26852 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26853 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26854 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26855 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26856 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26857 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26858 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26859 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26860 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26861 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26862 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26863 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26864 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26865 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26866 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26867 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26868 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26869 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26870 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26871 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26872 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26873 Likewise.
26874 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26875 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26876 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26877 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26878 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26879 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26880 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26881 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26882 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26883 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26884 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26885 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26886 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26887 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26888 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26889 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26890 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26891 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26892 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26893 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26894 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26895 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26896 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26897 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26898 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26899 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26900 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26901 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26902 (_FP_FRAC_SRS_1): Likewise.
26903 (_FP_FRAC_CLZ_1): Likewise.
26904 (_FP_MUL_MEAT_1_imm): Likewise.
26905 (_FP_MUL_MEAT_1_wide): Likewise.
26906 (_FP_MUL_MEAT_1_hard): Likewise.
26907 (_FP_SQRT_MEAT_1): Likewise.
26908 (_FP_FRAC_ASSEMBLE_1): Likewise.
26909 (_FP_FRAC_DISASSEMBLE_1): Likewise.
26910 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26911 (__FP_CLZ_2): Likewise.
26912 (_FP_MUL_MEAT_2_wide): Likewise.
26913 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26914 (_FP_MUL_MEAT_2_gmp): Likewise.
26915 (_FP_MUL_MEAT_2_120_240_double): Likewise.
26916 (_FP_SQRT_MEAT_2): Likewise.
26917 (_FP_FRAC_ASSEMBLE_2): Likewise.
26918 (_FP_FRAC_DISASSEMBLE_2): Likewise.
26919 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26920 (_FP_FRAC_CLZ_4): Likewise.
26921 (_FP_MUL_MEAT_4_wide): Likewise.
26922 (_FP_MUL_MEAT_4_gmp): Likewise.
26923 (_FP_SQRT_MEAT_4): Likewise.
26924 (_FP_FRAC_ASSEMBLE_4): Likewise.
26925 (_FP_FRAC_DISASSEMBLE_4): Likewise.
26926 * soft-fp/op-common.h (_FP_CMP): Likewise.
26927 (_FP_CMP_EQ): Likewise.
26928 (_FP_CMP_UNORD): Likewise.
26929 (_FP_TO_INT): Likewise.
26930 (_FP_FROM_INT): Likewise.
26931 [!__FP_CLZ] (__FP_CLZ): Likewise.
26932 (_FP_DIV_HELP_imm): Likewise.
26933 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26934 Likewise.
26935 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26936 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26937 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26938 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26939 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26940 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26941 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26942 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26943 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26944 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26945 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26946 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26947 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26948 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26949 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26950 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26951 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26952 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26953 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26954 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26955 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26956 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26957 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26958 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26959 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26960 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26961 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26962 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26963 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26964 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26965 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26966 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26967 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26968 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26969 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26970 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26971 (FP_UNPACK_RAW_SP): Likewise.
26972 (FP_PACK_RAW_S): Likewise.
26973 (FP_PACK_RAW_SP): Likewise.
26974 (FP_UNPACK_S): Likewise.
26975 (FP_UNPACK_SP): Likewise.
26976 (FP_UNPACK_SEMIRAW_S): Likewise.
26977 (FP_UNPACK_SEMIRAW_SP): Likewise.
26978 (FP_PACK_S): Likewise.
26979 (FP_PACK_SP): Likewise.
26980 (FP_PACK_SEMIRAW_S): Likewise.
26981 (FP_PACK_SEMIRAW_SP): Likewise.
26982 (_FP_SQRT_MEAT_S): Likewise.
26983 (FP_CMP_S): Likewise.
26984 (FP_CMP_EQ_S): Likewise.
26985 (FP_CMP_UNORD_S): Likewise.
26986 (FP_TO_INT_S): Likewise.
26987 (FP_FROM_INT_S): Likewise.
26988
26989 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26990
26991 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26992 (FP_EX_INVALID_IMZ): Likewise.
26993 (FP_EX_INVALID_IMZ_FMA): Likewise.
26994 (FP_EX_INVALID_ISI): Likewise.
26995 (FP_EX_INVALID_ZDZ): Likewise.
26996 (FP_EX_INVALID_IDI): Likewise.
26997 (FP_EX_INVALID_SQRT): Likewise.
26998 (FP_EX_INVALID_CVI): Likewise.
26999 (FP_EX_INVALID_VC): Likewise.
27000 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27001 "invalid" exceptions.
27002 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27003 (_FP_ADD_INTERNAL): Likewise.
27004 (_FP_MUL): Likewise.
27005 (_FP_FMA): Likewise.
27006 (_FP_DIV): Likewise.
27007 (_FP_CMP_CHECK_NAN): Likewise.
27008 (_FP_SQRT): Likewise.
27009 (_FP_TO_INT): Likewise.
27010 (FP_EXTEND): Likewise.
27011
27012 2014-10-09 Allan McRae <allan@archlinux.org>
27013
27014 * po/fr.po: Update French translation from translation project.
27015
27016 2014-10-09 Joseph Myers <joseph@codesourcery.com>
27017
27018 [BZ #14132]
27019 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
27020 of INTDEF.
27021 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
27022 (__cxa_atexit): Use libc_hidden_proto.
27023 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
27024
27025 [BZ #14132]
27026 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
27027 declaration.
27028 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
27029 [!_ISOMAC] (__iswspace_l_internal): Likewise.
27030 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
27031 [!_ISOMAC] (__iswctype_internal): Likewise.
27032 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
27033 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
27034 alias.
27035 (fcntl): Remove __fcntl_internal alias.
27036 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
27037 __connect_internal alias.
27038 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
27039 Likewise.
27040
27041 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27042 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
27043 FP_DENORM_ZERO.
27044 (_FP_CHECK_FLUSH_ZERO): New macro.
27045 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
27046 (_FP_CMP): Likewise.
27047 (_FP_CMP_EQ): Likewise.
27048 (_FP_TO_INT): Do not set inexact for subnormal arguments if
27049 FP_DENORM_ZERO.
27050 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
27051 (FP_TRUNC): Likewise.
27052
27053 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
27054 treated as invalid conversion, not as normal exponent.
27055
27056 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
27057 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
27058 (_FP_CMP_EQ): Likewise.
27059 (_FP_CMP_UNORD): Likewise.
27060 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
27061 (FP_CMP_EQ_D): Likewise.
27062 (FP_CMP_UNORD_D): Likewise.
27063 * soft-fp/extended.h (FP_CMP_E): Likewise.
27064 (FP_CMP_EQ_E): Likewise.
27065 (FP_CMP_UNORD_E): Likewise.
27066 * soft-fp/quad.h (FP_CMP_Q): Likewise.
27067 (FP_CMP_EQ_Q): Likewise.
27068 (FP_CMP_UNORD_Q): Likewise.
27069 * soft-fp/single.h (FP_CMP_S): Likewise.
27070 (FP_CMP_EQ_S): Likewise.
27071 (FP_CMP_UNORD_S): Likewise.
27072 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
27073 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
27074 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
27075 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
27076 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
27077 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
27078 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
27079 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27080 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
27081 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
27082 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
27083 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
27084 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
27085 to FP_CMP_Q.
27086 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
27087 FP_CMP_Q.
27088 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
27089 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
27090 FP_CMP_EQ_Q.
27091 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
27092 FP_CMP_Q.
27093 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
27094 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
27095 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
27096 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
27097 FP_CMP_EQ_Q.
27098 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
27099 FP_CMP_Q.
27100 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
27101 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
27102 FP_CMP_EQ_Q.
27103 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
27104 FP_CMP_Q.
27105 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
27106 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
27107 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
27108 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
27109 FP_CMP_EQ_Q.
27110
27111 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
27112 a subnormal result, set the underflow exception if trapping on
27113 underflow is enabled.
27114 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
27115 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
27116 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
27117 redefine to 0.
27118 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
27119 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27120 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27121 * soft-fp/extendxftf2.c (__extendxftf2): Use
27122 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
27123
27124 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
27125 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27126 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27127 FP_HANDLE_EXCEPTIONS.
27128 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27129 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27130 FP_HANDLE_EXCEPTIONS.
27131 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27132 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27133 FP_HANDLE_EXCEPTIONS.
27134 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27135 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27136 FP_HANDLE_EXCEPTIONS.
27137
27138 2014-10-08 Joseph Myers <joseph@codesourcery.com>
27139
27140 [BZ #14132]
27141 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27142 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27143 use INTUSE.
27144 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27145 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27146 Remove alias.
27147 (__adjtimex): Define using libc_hidden_ver.
27148 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27149 Remove declaration.
27150 (ntp_gettime): Call __adjtimex directly.
27151 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27152 Remove declaration.
27153 (ntp_gettimex): Call __adjtimex directly.
27154 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27155 __adjtimex_internal alias.
27156
27157 2014-10-08 Roland McGrath <roland@hack.frob.com>
27158
27159 [BZ #17460]
27160 * nscd/nscd.c (more_help): Rewrite list of tables collection
27161 using xstrdup and asprintf.
27162
27163 * nscd/nscd_conf.c: Remove local xstrdup declaration.
27164
27165 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27166 Roland McGrath <roland@hack.frob.com>
27167
27168 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27169 (do_lookup_unique): ... local function 'enter' here; update callers.
27170
27171 2014-10-06 Joseph Myers <joseph@codesourcery.com>
27172
27173 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27174 compat_symbol calls on [SHARED].
27175 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27176 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27177 Remove.
27178 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27179 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27180 (oldsetrlimit): Remove.
27181 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27183 (lchown): New syscall entry.
27184 (oldsetrlimit): Remove.
27185 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27186 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27187 (oldsetrlimit): Remove.
27188 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27189
27190 [BZ #14138]
27191 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27192 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27193 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27194 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27195 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27196 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27197 (fchown): Likewise.
27198 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27199 (fchown): Likewise.
27200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27201 Likewise.
27202
27203 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27204
27205 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27206 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27207 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27208 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27209 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27210 Likewise.
27211 (__old_sem_post): Likewise.
27212
27213 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
27214
27215 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27216 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27217 HAVE_CLOCK_GETTIME_VSYSCALL macros.
27218 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27219 Use INLINE_VSYSCALL macro.
27220 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27221 __vdso_clock_gettime.
27222 * sysdeps/unix/sysv/linux/tile/init-first.c
27223 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27224 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27225 __vdso_clock_gettime.
27226
27227 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27228 to set up frame more cleanly.
27229
27230 * sysdeps/tile/memcmp.c: New file.
27231
27232 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27233
27234 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27235 * sysdeps/tile/tilegx/strcasestr.c: New file.
27236 * sysdeps/tile/tilegx/strnlen.c: New file.
27237 * sysdeps/tile/tilegx/strstr.c: New file.
27238
27239 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27240
27241 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
27242
27243 * nptl/tst-setuid3.c: Write errors to stdout.
27244
27245 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27246
27247 * elf/dl-deps.c
27248 (preload): New functions broken out of _dl_map_object_deps.
27249 (_dl_map_object_deps): Remove a nested function. Update call sites.
27250
27251 2014-10-01 Joseph Myers <joseph@codesourcery.com>
27252
27253 [BZ #14138]
27254 * sysdeps/unix/sysv/linux/execve.c: Remove file.
27255 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27256
27257 2014-10-01 Steve Ellcey <sellcey@mips.com>
27258
27259 * sysdeps/mips/strcmp.S: New.
27260
27261 2014-09-30 Joseph Myers <joseph@codesourcery.com>
27262
27263 [BZ #14138]
27264 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27265 (linkat): Likewise.
27266 (mkdirat): Likewise.
27267 (readlinkat): Likewise.
27268 (renameat): Likewise.
27269 (symlinkat): Likewise.
27270 (unlinkat): Likewise.
27271 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27272 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27273 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27274 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27275 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27276 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
27277 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
27278
27279 2014-09-30 Will Newton <will.newton@linaro.org>
27280
27281 * math/math.h: Define long double math functions if
27282 _LIBC_TEST is defined.
27283 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
27284
27285 * localedata/Makefile: Move assignment to tests-special
27286 into an ifdef testing run-built-tests.
27287 * timezone/Makefile: Likewise.
27288
27289 2014-09-29 Joseph Myers <joseph@codesourcery.com>
27290
27291 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
27292 with $(BASH) not $(SHELL).
27293
27294 2014-09-29 Carlos O'Donell <carlos@redhat.com>
27295 Matthew LeGendre <legendre1@llnl.gov>
27296
27297 [BZ #17411]
27298 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
27299 l_reloc_result.
27300
27301 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27302
27303 * stdio-common/printf_fp.c
27304 (hack_digit): New function, broken out of ...
27305 (__printf_fp): ... local function here. Update call sites.
27306 hack_digit now takes an additional parameter that is a pointer
27307 to a struct of the referenced locals. Those locals moved inside
27308 the struct and references updated.
27309
27310 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
27311
27312 * aclocal.m4: Require autoconf 2.69.
27313 * configure: Regenerated.
27314 * sysdeps/aarch64/configure: Likewise.
27315 * sysdeps/alpha/configure: Likewise.
27316 * sysdeps/arm/armv7/configure: Likewise.
27317 * sysdeps/arm/configure: Likewise.
27318 * sysdeps/ia64/configure: Likewise.
27319 * sysdeps/mach/configure: Likewise.
27320 * sysdeps/mips/configure: Likewise.
27321 * sysdeps/s390/configure: Likewise.
27322 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
27323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
27324
27325 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
27326 file.
27327 * sysdeps/ia64/configure.ac: Likewise.
27328
27329 2014-09-26 Joseph Myers <joseph@codesourcery.com>
27330
27331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
27332 specify symbol version for ld.so. Do not include entry for
27333 libpthread.
27334 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27335 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27336 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27337
27338 [BZ #14171]
27339 * Makeconfig [$(build-shared) = yes]
27340 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
27341 makefiles.
27342 [$(build-shared) = yes && $(soversions.mk-done) = t]
27343 ($(common-objpfx)gnu/lib-names.h): Remove rule.
27344 [$(build-shared) = yes && $(soversions.mk-done) = t]
27345 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
27346 to Makerules.
27347 [$(build-shared) = yes && $(soversions.mk-done) = t]
27348 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
27349 here.
27350 [$(build-shared) = yes && $(soversions.mk-done) = t]
27351 (common-generated): Don't append gnu/lib-names.h and
27352 gnu/lib-names.stmp here.
27353 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
27354 (lib-names-h-abi): New variable.
27355 [$(build-shared) = yes && $(soversions.mk-done) = t]
27356 (lib-names-stmp-abi): Likewise.
27357 [$(build-shared) = yes && $(soversions.mk-done) = t &&
27358 abi-variants] (before-compile): Append
27359 $(common-objpfx)$(lib-names-h-abi).
27360 [$(build-shared) = yes && $(soversions.mk-done) = t &&
27361 abi-variants] (common-generated): Append gnu/lib-names.h.
27362 [$(build-shared) = yes && $(soversions.mk-done) = t &&
27363 abi-variants] (install-others-nosubdir): Depend on
27364 $(inst_includedir)/$(lib-names-h-abi).
27365 [$(build-shared) = yes && $(soversions.mk-done) = t &&
27366 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
27367 [$(build-shared) = yes && $(soversions.mk-done) = t]
27368 ($(common-objpfx)$(lib-names-h-abi)): New rule.
27369 [$(build-shared) = yes && $(soversions.mk-done) = t]
27370 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
27371 [$(build-shared) = yes && $(soversions.mk-done) = t]
27372 (common-generated): Append $(lib-names-h-abi) and
27373 $(lib-names-stmp-abi).
27374 * scripts/lib-names.awk: Do not handle multi being set.
27375 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27376 Remove variable.
27377 (abi-lp64_be-ld-soname): Likewise.
27378 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27379 Likewise.
27380 (abi-hard-ld-soname): Likewise.
27381 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27382 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27383 Remove variable.
27384 (abi-o32_hard-ld-soname): Likewise.
27385 (abi-o32_soft_2008-ld-soname): Likewise.
27386 (abi-o32_hard_2008-ld-soname): Likewise.
27387 (abi-n32_soft-ld-soname): Likewise.
27388 (abi-n32_hard-ld-soname): Likewise.
27389 (abi-n32_soft_2008-ld-soname): Likewise.
27390 (abi-n32_hard_2008-ld-soname): Likewise.
27391 (abi-n64_soft-ld-soname): Likewise.
27392 (abi-n64_hard-ld-soname): Likewise.
27393 (abi-n64_soft_2008-ld-soname): Likewise.
27394 (abi-n64_hard_2008-ld-soname): Likewise.
27395 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27396 Likewise.
27397 (abi-64-v2-ld-soname): Likewise.
27398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27399 ld.so entries.
27400 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27401 variable.
27402 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27403 entry.
27404 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27405 variable.
27406 (abi-64-ld-soname): Likewise.
27407 (abi-x32-ld-soname): Likewise.
27408 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27409 entry.
27410 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27411
27412 2014-09-23 Joseph Myers <joseph@codesourcery.com>
27413
27414 [BZ #14138]
27415 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27416 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27417 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27418 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27419 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27420 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27421 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27422 syscall entry for GLIBC_2.2 symbol version.
27423 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27424 Likewise.
27425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27426 (setrlimit): Likewise.
27427 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27428 Likewise.
27429
27430 2014-09-23 Will Newton <will.newton@linaro.org>
27431
27432 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27433 _LINUX_ARM_SYSDEP_H include guard too.
27434 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27435 define.
27436
27437 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
27438
27439 * sysdeps/unix/sysv/linux/eventfd.c:
27440 Make first argument unsigned.
27441 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27442 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27443
27444 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
27445
27446 [BZ #16852]
27447 * socket/recvmmsg.c (recvmmsg): Drop const argument.
27448 * socket/sys/socket.h: Likewise.
27449 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27450
27451 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27452
27453 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27454
27455 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
27456
27457 * time/tst-ftime.c: New test.
27458 * time/Makefile (tests): Add tst-ftime.
27459
27460 2014-09-17 Joseph Myers <joseph@codesourcery.com>
27461
27462 * soft-fp/extended.h: Fix comment formatting.
27463 * soft-fp/op-1.h: Likewise.
27464 * soft-fp/op-2.h: Likewise.
27465 * soft-fp/op-4.h: Likewise.
27466 * soft-fp/op-8.h: Likewise.
27467 * soft-fp/op-common.h: Likewise.
27468 * soft-fp/soft-fp.h: Likewise.
27469
27470 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27471
27472 2014-09-16 Joseph Myers <joseph@codesourcery.com>
27473
27474 [BZ #6652]
27475 * Makeconfig (soversions-default-setname): Remove variable.
27476 ($(common-objpfx)soversions.i): Don't pass default_setname to
27477 soversions.awk.
27478 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27479 oldest_abi to abi-versions.awk.
27480 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27481 * config.make.in (oldest-abi): Remove variable.
27482 * configure.ac (--enable-oldest-abi): Remove configure option.
27483 * configure: Regenerated.
27484 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27485 text.
27486 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27487 * scripts/soversions.awk: Do not handle default_setname variable.
27488 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27489 variable.
27490 * sysdeps/mach/hurd/configure: Regenerated.
27491 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27492 variable.
27493 * sysdeps/unix/sysv/linux/configure: Regenerated.
27494
27495 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27496
27497 * elf/Makefile (CFLAGS-interp.c): Remove.
27498 ($(elf-objpfx)runtime-linker.h): Generate header with linker
27499 path string.
27500 * elf/interp.c: Include generated runtime-linker.h
27501
27502 * Makerules (lib%.so): Don't include $(+interp) in
27503 prerequisites.
27504 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27505 * dlfcn/eval.c: Remove file.
27506
27507 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27508 macros.
27509
27510 [BZ #17266]
27511 * misc/sys/cdefs.h: Define __extern_always_inline for clang
27512 4.2 and newer.
27513
27514 [BZ #17370]
27515 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27516
27517 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27518 Jakub Jelinek <jakub@redhat.com>
27519
27520 [BZ #17266]
27521 * libio/stdio.h: Check definition of __fortify_function
27522 instead of __extern_always_inline to include bits/stdio2.h.
27523 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27524 check if __extern_always_inline is defined.
27525 [__USE_MISC || __USE_XOPEN]: Likewise.
27526 [__USE_ISOC99] Likewise.
27527 * misc/sys/cdefs.h (__fortify_function): Define only if
27528 __extern_always_inline is defined.
27529 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27530 __extern_always_inline and __extern_inline only for g++-4.3
27531 and newer or a compatible gcc.
27532
27533 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
27534
27535 [BZ #17371]
27536 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27537 last change to handle zero prefix length.
27538
27539 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27540
27541 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27542 _SC_REGEX_VERSION.
27543
27544 * posix/getconf.c (vars): Add _POSIX_IPV6 and
27545 _POSIX_RAW_SOCKETS.
27546
27547 2014-09-13 Allan McRae <allan@archlinux.org>
27548
27549 * po/ru.po: Update Russian translation from translation project.
27550
27551 2014-09-12 Roland McGrath <roland@hack.frob.com>
27552
27553 * locale/programs/locale.c (show_locale_vars): Inline local function
27554 into its sole call site. Clean up some style nits.
27555 (print_item): New function, broken out of ...
27556 (show_info): ... local function here. Clean up style nits.
27557
27558 * locale/programs/ld-ctype.c (set_one_default): New function, broken
27559 out of ...
27560 (set_class_defaults): ... local function set_default here.
27561 Define set_default as a macro locally to pass constant parameters.
27562 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27563 rather than a shared local.
27564
27565 * stdlib/rpmatch.c (try): New function, broken out of ...
27566 (rpmatch): ... local function here. Also, prototypify definition.
27567
27568 2014-09-12 Joseph Myers <joseph@codesourcery.com>
27569
27570 * scripts/soversions.awk: Do not handle configuration names.
27571 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27572 vendor and os variables to soversions.awk.
27573 * configure.ac: Do not modify gnu-* host_os.
27574 * configure: Regenerated
27575 * shlib-versions: Remove first column with configuration names.
27576 * nptl/shlib-versions: Likewise.
27577 * nptl_db/shlib-versions: Likewise.
27578 * sysdeps/hppa/shlib-versions: Likewise.
27579 * sysdeps/m68k/shlib-versions: Likewise.
27580 * sysdeps/mach/hurd/shlib-versions: Likewise.
27581 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27582 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27583 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27584 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27585 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27586 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27587 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27588 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27590 Likewise.
27591 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27592 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27593 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27594 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27595 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27596 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27597 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27598 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27599
27600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27601 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27603 Regenerated.
27604 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27606 Condition symbol version definitions on [HAVE_ELFV2_ABI].
27607
27608 * shlib-versions: Remove OS-specific entries. Moved to files in
27609 sysdeps.
27610 * sysdeps/mach/hurd/shlib-versions: New file.
27611 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27612
27613 * nptl/shlib-versions: Remove architecture-specific entries.
27614 Moved to files in sysdeps.
27615 * shlib-versions: Likewise.
27616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27617 file.
27618 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27619 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27620 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27621 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27622
27623 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27624 (UDP_NO_CHECK6_RX): Likewise.
27625
27626 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27627
27628 * sysdeps/posix/sysconf.c (__sysconf): Spell
27629 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27630
27631 2014-08-12 Florian Weimer <fweimer@redhat.com>
27632
27633 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27634 loading.
27635 * iconv/Versions (__gconv_transliterate): Export for use from
27636 gconv modules.
27637 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27638 (struct __gconv_trans_data, __gconv_trans_fct,
27639 __gconv_trans_context_fct, __gconv_trans_query_fct,
27640 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27641 definitions.
27642 (struct __gconv_step_data): Remove __trans member.
27643 (__gconv_transliterate): Declaration moved from gconv_int.h. No
27644 longer hidden. Remove unused trans_data argument.
27645 * iconv/gconv_int.h (struct trans_struct): Remove definition.
27646 (__gconv_translit_find): Remove declaration.
27647 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
27648 prototype.
27649 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27650 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27651 trans_data argument. Add hidden definition.
27652 (__gconv_translit_find): Remove.
27653 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27654 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27655 * iconv/skeleton.c: Remove transliteration initialization.
27656 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27657 __gconv_step_data initialization.
27658 * libio/iofwide.c (__libio_translit_): Remove.
27659 (_IO_fwide): Adjust struct __gconv_step_data initialization.
27660 * wcsmbs/btowc.c (__btowc): Likewise.
27661 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27662 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27663 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27664 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27665 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27666 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27667 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27668 * wcsmbs/wctob.c (wctob): Likewise.
27669
27670 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27671
27672 [BZ #16194]
27673 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27674 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
27675 register usage.
27676 * sysdeps/x86/Makefile: Adjust.
27677
27678 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27679 Roland McGrath <roland@hack.frob.com>
27680
27681 * locale/weight.h: Add include guard.
27682 (findidx): Make static rather than auto; take new parameters
27683 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27684 * locale/weightwc.h: Likewise.
27685 * posix/fnmatch_loop.c
27686 (FCT): Change type of EXTRA from int32_t to wint_t.
27687 Don't include either header inside the function.
27688 Call FINDIDX rather than findidx, and pass new arguments.
27689 #undef FINDIDX at the end of the file.
27690 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27691 FINDIDX before including fnmatch_loop.c for the non-wide version.
27692 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27693 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27694 for the wide version.
27695 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27696 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27697 Pass new arguments to findidx.
27698 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27699 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27700 Don't #include it inside the function. Pass new arguments to findidx.
27701 * posix/regex_internal.h
27702 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27703 (re_string_elem_size_at): Don't #include it inside the function.
27704 Pass new arguments to findidx.
27705 * string/strcoll_l.c: #include WEIGHT_H at top level.
27706 (get_next_seq): Don't #include it inside the function.
27707 Pass new arguments to findidx.
27708 (get_next_seq_nocache): Likewise.
27709 * string/strxfrm_l.c: #include WEIGHT_H at top level.
27710 (STRXFRM): Don't #include it inside the function.
27711 Pass new arguments to findidx.
27712
27713 2014-09-11 Florian Weimer <fweimer@redhat.com>
27714
27715 [BZ #17344]
27716 * malloc/malloc.c (unlink): Turn asserts into a call to
27717 malloc_printerr.
27718
27719 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
27720
27721 [BZ #17370]
27722 * libio/wfileops (do_ftell_wide): Free OUT.
27723
27724 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
27725
27726 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27727
27728 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27729
27730 [BZ #17363]
27731 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27732 group if the current group is empty.
27733
27734 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27735
27736 * benchtests/bench-memset.c (test_main): Add more test from size
27737 from 32 to 512 bytes.
27738 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27739 Add POWER8 memset object.
27740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27741 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27742 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27743 implementation.
27744 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27745 Likewise.
27746 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27747 multiarch POWER8 memset optimization.
27748 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27749 POWER8 memset optimization.
27750
27751 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27752 Remove bzero multiarch objects.
27753 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27754 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27755 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27756 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27757 Remove define.
27758 [__bzero]: Redefine to specific name.
27759 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27760 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27761 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27762 define.
27763 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27764 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27765
27766 2014-09-10 Florian Weimer <fweimer@redhat.com>
27767
27768 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27769 warnings into errors.
27770
27771 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27772 __cxa_thread_atexit_impl prototype.
27773
27774 2014-09-09 Steve Ellcey <sellcey@mips.com>
27775
27776 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27777 Fix capitalization of error message.
27778
27779 2014-09-09 Steve Ellcey <sellcey@mips.com>
27780
27781 * sysdeps/mips/preconfigure: Modify ABI tests.
27782
27783 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
27784
27785 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27786
27787 2014-09-07 Roland McGrath <roland@hack.frob.com>
27788 Carlos O'Donell <carlos@systemhalted.org>
27789
27790 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27791 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27792 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27793 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27794 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27795 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27796 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27797 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27798 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27799 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27800 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27801 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27802 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27803 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27804 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27805 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27806 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27807 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27808 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27809 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27810 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27811 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27812 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27813 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27814 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27815 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27816 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27817 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27818 Deconditionalize the code that was previously under [RESET_PID].
27819 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27820 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27821 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27822 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27823 include sysdep.h.
27824
27825 2014-09-08 Allan McRae <allan@archlinux.org>
27826
27827 * version.h (RELEASE): Set to "development".
27828 (VERSION): Set to "2.20.90"
27829
27830 2014-09-07 Allan McRae <allan@archlinux.org
27831
27832 * version.h (RELEASE): Set to "stable".
27833 (VERSION): Set to "2.20"
27834 * include/features.h (__GLIBC_MINOR__): Set to 20.
27835
27836 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27837 Liebler.
27838
27839 * po/ko.po: Update Korean translation from translation project.
27840
27841 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
27842
27843 [BZ #17354]
27844 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27845 macro for handling signed relocations.
27846
27847 2014-09-03 Florian Weimer <fweimer@redhat.com>
27848
27849 [BZ #17325]
27850 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27851 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27852 assert.
27853 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27854 * iconvdata/ibm935.c (BODY): Likewise.
27855 * iconvdata/ibm937.c (BODY): Likewise.
27856 * iconvdata/ibm939.c (BODY): Likewise.
27857 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27858 assert.
27859 * iconvdata/Makefile (iconv-test.out): Pass module list to test
27860 script.
27861 * iconvdata/run-iconv-test.sh: New test loop for checking for
27862 decoder crashers.
27863
27864 2014-09-02 Khem Raj <raj.khem@gmail.com>
27865
27866 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27867 libm_hidden_ver.
27868
27869 2014-09-01 Allan McRae <allan@archlinux.org>
27870
27871 * po/eo.po: Update Esperanto translation from translation project.
27872
27873 * po/ca.po: Update Catalan translation from translation project.
27874
27875 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
27876
27877 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27878 __proc_dostop call.
27879
27880 2014-08-27 Mark Wielaard <mjw@redhat.com>
27881
27882 [BZ #17319]
27883 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27884 to call set_thread_area instead of hand written asm.
27885 (__NR_set_thread_area): Removed define.
27886 (TLS_FLAG_WRITABLE): Likewise.
27887 (__ASSUME_SET_THREAD_AREA): Remove check.
27888 (TLS_EBX_ARG): Remove define.
27889 (TLS_LOAD_EBX): Likewise.
27890
27891 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27892
27893 Simplify atomicity of socket creation in bind.
27894
27895 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27896 looking up the name after linking the file.
27897
27898 2014-08-27 Allan McRae <allan@archlinux.org>
27899
27900 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27901
27902 2014-08-26 Florian Weimer <fweimer@redhat.com>
27903
27904 [BZ #17187]
27905 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27906 trans_compare, open_translit, __gconv_translit_find):
27907 Remove module loading code.
27908
27909 2014-08-26 Allan McRae <allan@archlinux.org>
27910
27911 * po/vi.po: Update Vietnamese translation from translation project.
27912
27913 * po/uk.po: Update Ukrainian translation from translation project.
27914
27915 * po/fr.po: Update French translation from translation project.
27916
27917 * po/ru.po: Update Russian translation from translation project.
27918
27919 * po/pl.po: Update Polish translation from translation project.
27920
27921 * po/cs.po: Update Czech translation from translation project.
27922
27923 * po/de.po: Update German translation from translation project.
27924
27925 * po/bg.po: Update Bulgarian translation from translation project.
27926
27927 * po/sv.po: Update Sweedish translation from translation project.
27928
27929 * po/nl.po: Update Dutch translation from translation project.
27930
27931 * po/es.po: Update Spanish translation from translation project.
27932
27933 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27934
27935 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27936
27937 * catgets/Makefile (CPPFLAGS-gencat): Remove.
27938 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27939 (CPPFLAGS-iconvconfig): Likewise.
27940 * timezone/Makefile (CPPFLAGS-zic): Likewise.
27941
27942 * include/libc-symbols.h: Remove unnecessary check for
27943 NOT_IN_libc.
27944 * nptl/pthreadP.h: Likewise.
27945 * sysdeps/aarch64/setjmp.S: Likewise.
27946 * sysdeps/alpha/setjmp.S: Likewise.
27947 * sysdeps/arm/sysdep.h: Likewise.
27948 * sysdeps/i386/setjmp.S: Likewise.
27949 * sysdeps/m68k/setjmp.c: Likewise.
27950 * sysdeps/posix/getcwd.c: Likewise.
27951 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27952 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27953 * sysdeps/s390/s390-32/setjmp.S: Likewise.
27954 * sysdeps/s390/s390-64/setjmp.S: Likewise.
27955 * sysdeps/sh/sh3/setjmp.S: Likewise.
27956 * sysdeps/sh/sh4/setjmp.S: Likewise.
27957 * sysdeps/unix/alpha/sysdep.h: Likewise.
27958 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27959 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27960 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27961 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27964 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27965 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27966 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27967 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27968 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27969 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27970 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27971 * sysdeps/x86_64/setjmp.S: Likewise.
27972
27973 2014-08-13 Joseph Myers <joseph@codesourcery.com>
27974
27975 [BZ #17263]
27976 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27977 <stdint.h>.
27978 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27979 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27980
27981 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27982
27983 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27984
27985 [BZ #17262]
27986 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27987 and __x86_64__ when disabling x87 inline functions.
27988
27989 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
27990
27991 [BZ #17259]
27992 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27993 asm statement with __cpuid_count.
27994
27995 2014-08-12 Mike Frysinger <vapier@gentoo.org>
27996
27997 * configure.ac: Change __ehdr_start code to dereference the struct.
27998 Run readelf on the output to look for relocations.
27999 * configure: Regenerated.
28000
28001 2014-08-12 Joseph Myers <joseph@codesourcery.com>
28002
28003 [BZ #17261]
28004 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28005 value to 0.
28006 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28007
28008 2014-08-12 Roland McGrath <roland@hack.frob.com>
28009
28010 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28011
28012 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
28013
28014 [BZ #16892]
28015 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
28016 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
28017
28018 2014-08-12 Sean Anderson <seanga2@gmail.com>
28019
28020 * malloc/malloc.c: Fix typo in comment.
28021
28022 2014-08-09 Allan McRae <allan@archlinux.org>
28023
28024 * Regenerate libc.po.
28025
28026 2014-08-08 Mike Frysinger <vapier@gentoo.org>
28027
28028 * intl/tst-gettext2.sh: Check every lang file for creation.
28029
28030 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
28031
28032 * sysdeps/aarch64/fpu/math_private.h
28033 (libc_feholdsetround_noex_aarch64_ctx): New function.
28034
28035 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
28036
28037 * sysdeps/arm/armv6/strcpy.S (strcpy):
28038 Fix performance issue in misaligned cases.
28039
28040 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28041
28042 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
28043 Move definition from termios.h.
28044 (struct termio): Likewise.
28045 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28046 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28047 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28048 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28049 Likewise.
28050 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
28051 Move definition to ioctl-types.h
28052 (struct termio): Likewise.
28053 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28054 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28055 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28056 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28057 Likewise.
28058
28059 2014-08-05 Richard Henderson <rth@redhat.com>
28060
28061 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
28062 exceptions.
28063 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
28064 Add fraiseexcpt.
28065 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
28066 Use __feraiseexcept.
28067 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
28068 Protect libm symbols with IS_IN_libm.
28069
28070 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
28071
28072 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
28073
28074 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
28075
28076 2014-08-04 Will Newton <will.newton@linaro.org>
28077
28078 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
28079 file.
28080
28081 2014-08-04 Mike Frysinger <vapier@gentoo.org>
28082
28083 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
28084 variants for each function.
28085
28086 2014-08-04 Roland McGrath <roland@hack.frob.com>
28087
28088 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
28089 appended ...
28090 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
28091 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
28092 appended ...
28093 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
28094 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
28095 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
28096 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
28097 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
28098 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
28099 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
28100 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
28101 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
28102 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
28103 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
28104 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
28105 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
28106 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
28107 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
28108 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
28109 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
28110 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
28111 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
28112 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
28113 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
28114 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
28115 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
28116 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
28117 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
28118 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
28119 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
28120 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
28121 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
28122 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
28123 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
28124 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
28125 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28126 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28127 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28128 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28129 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28130 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28131 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28132 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28133 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28134 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28135 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28136 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28137 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28138 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28139 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28140 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28141 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28142 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28143 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28144 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28145 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28146 Update #include.
28147 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28148 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28149
28150 2014-08-04 Roland McGrath <roland@hack.frob.com>
28151
28152 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28153 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28154 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28155 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28156 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28157 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28158
28159 2014-08-04 Roland McGrath <roland@hack.frob.com>
28160
28161 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28162 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28163 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28164 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28165
28166 2014-08-04 Roland McGrath <roland@hack.frob.com>
28167
28168 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28169 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28170 (__libc_vfork): Define function under this name.
28171 (__vfork): Define as an alias.
28172 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28173 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28174
28175 2014-08-04 Roland McGrath <roland@hack.frob.com>
28176
28177 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28178 that was previously under [RESET_PID].
28179 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28180
28181 2014-08-04 Andreas Schwab <schwab@suse.de>
28182
28183 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28184
28185 2014-08-03 Mike Frysinger <vapier@gentoo.org>
28186
28187 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28188 (main): Likewise.
28189
28190 2014-08-01 Roland McGrath <roland@hack.frob.com>
28191
28192 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28193
28194 2014-08-01 Richard Henderon <rth@redhat.com>
28195
28196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28197 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28198 typo in exact zero test.
28199 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28200 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28201 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28202
28203 2014-08-01 Roland McGrath <roland@hack.frob.com>
28204
28205 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28206 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28207 * sysdeps/arm/sysdep.h: ... here.
28208 [!__ASSEMBLER__]: Include <stdint.h>.
28209
28210 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28211
28212 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28213 (HAVE_WCTYPE_H): Likewise.
28214 (HAVE_ISWCTYPE): Likewise.
28215 (ENABLE_NLS): Likewise.
28216 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28217 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28218
28219 * posix/regex_internal.c: Check if DEBUG is defined and is
28220 set.
28221
28222 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28223 (HAVE_MBSRTOWCS): Likewise.
28224 * posix/fnmatch.c: Include string.h unconditionally.
28225
28226 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
28227
28228 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28229 reversal.
28230
28231 2014-07-31 Roland McGrath <roland@hack.frob.com>
28232
28233 * sysdeps/generic/safe-fatal.h: New file.
28234 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28235 * nptl/forward.c: Include it.
28236 (__pthread_unwind): Use __safe_fatal as default action, rather
28237 than a bogus use of INTERNAL_SYSCALL that could never work.
28238
28239 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28240 * configure.ac (libc_cv_builtin_trap): New test.
28241 * configure: Regenerated.
28242 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28243 (ABORT_INSTRUCTION): Define using __builtin_trap.
28244
28245 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28246 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28247 * sysdeps/nptl/nptl-signals.h: New file.
28248 * nptl/pthreadP.h: Include <nptl-signals.h>.
28249
28250 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
28251
28252 * sysdeps/s390/s390-64/utf16-utf32-z9.c
28253 (ONE_DIRECTION): Define.
28254 * sysdeps/s390/s390-64/utf8-utf16-z9.c
28255 (ONE_DIRECTION): Define.
28256 * sysdeps/s390/s390-64/utf8-utf32-z9.c
28257 (ONE_DIRECTION): Define.
28258
28259 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
28260
28261 * sysdeps/s390/Makefile: Delete file.
28262 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28263 * sysdeps/s390/__longjmp.c: Delete file.
28264 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28265 Remove fields __flags and __reserved.
28266 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28267 and add versioning.
28268 * sysdeps/s390/rtld-__longjmp.c: Delete file.
28269 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28270 * sysdeps/s390/rtld-setjmp.S: Likewise.
28271 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28272 * sysdeps/s390/s390-32/__longjmp.c: ... here.
28273 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28274 * sysdeps/s390/s390-32/setjmp.S: ... here.
28275 Add versioning.
28276 (__sigsetjmp): Remove setting __flags field.
28277 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
28278 * sysdeps/s390/s390-64/__longjmp.c: ... here.
28279 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
28280 * sysdeps/s390/s390-64/setjmp.S: ... here.
28281 Add versioning.
28282 (__sigsetjmp): Remove setting __flags field.
28283 * sysdeps/s390/setjmp.S: Delete file.
28284 * sysdeps/s390/sigjmp.c: Likewise.
28285 * sysdeps/s390/v1-longjmp.c: Likewise.
28286 * sysdeps/s390/v1-setjmp.h: Likewise.
28287 * sysdeps/s390/v1-sigjmp.c: Likewise.
28288 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
28289 Remove v1-longjmp_chk.
28290 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
28291 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
28292 Include debug/longjmp_chk.c and add versioning.
28293 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
28294 Include nptl/pt-longjmp.c and add versioning.
28295 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
28296 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
28297 Include __longjmp.c.
28298 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28299 Move to ...
28300 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
28301 (__getcontext): Remove setting __flags field.
28302 Add versioning.
28303 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28304 Don't restore upper high grps.
28305 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
28306 Likewise.
28307 (__swapcontext): Remove setting uc_flags field.
28308 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
28309 Delete file.
28310 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28311 Include __longjmp.c.
28312 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28313 Move to ...
28314 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
28315 (__getcontext): Remove setting __flags field.
28316 Add versioning.
28317 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
28318 (__swapcontext): Remove setting uc_flags field.
28319 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
28320 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
28321 Remove fields uc_high_gprs and __reserved.
28322 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
28323 New file with reverted content.
28324 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
28325 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
28326 Regenerated.
28327 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
28328 Regenerated.
28329
28330 2014-07-31 Andreas Schwab <schwab@suse.de>
28331
28332 * config.h.in (HAVE_IFUNC): Define to 0.
28333 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
28334 definedness.
28335
28336 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
28337
28338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28339 memmove-avx-unaligned, memcpy-avx-unaligned and
28340 mempcpy-avx-unaligned.
28341 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28342 Add tests for AVX memcpy functions.
28343 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
28344 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
28345 memcpy_chk.
28346 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
28347 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
28348 memmove_chk.
28349 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
28350 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
28351 mempcpy_chk.
28352 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
28353 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
28354 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
28355
28356 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28357
28358 [BZ #17213]
28359 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
28360 powerpc64le.
28361
28362 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
28363
28364 [BZ #16839]
28365 * manual/llio.texi: Add section about open file description locks.
28366 * manual/examples/ofdlocks.c: Example of open file description
28367 lock usage.
28368 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
28369 F_OFD_SETLK, and F_OFD_SETLKW.
28370
28371 2014-07-23 Allan McRae <allan@archlinux.org>
28372
28373 * po/es.po: Update Spanish translation from translation project.
28374
28375 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
28376
28377 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28378
28379 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
28380
28381 [BZ #17078]
28382 * sysdeps/arm/dl-machine.h (elf_machine_rela)
28383 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28384 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28385
28386 2014-07-17 Joseph Myers <joseph@codesourcery.com>
28387
28388 [BZ #17088]
28389 * math/fesetenv.c (__fesetenv)
28390 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28391 * math/feupdateenv.c (__feupdateenv)
28392 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28393
28394 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28395 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28396 (__ASSUME_SOCKETCALL): Do not define.
28397
28398 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28399 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28400 (__ASSUME_SOCKETCALL): Do not define.
28401 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28402 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28403 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28404 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28405 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28406 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28407 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28408 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28409
28410 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28411 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28412 (__ASSUME_SOCKETCALL): Do not define.
28413 (__ASSUME_IPC64): Define unconditionally.
28414 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28415 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28416 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28417 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28418 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28419 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28420 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28421 Likewise.
28422
28423 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28424 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28425 (__ASSUME_SOCKETCALL): Do not define.
28426 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28427 (__ASSUME_FUTEX_LOCK_PI): Likewise.
28428 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28429 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28430 (__ASSUME_REQUEUE_PI): Define unconditionally.
28431 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28432 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28433 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28434 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28435 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28436 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28437
28438 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28439 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28440 (__ASSUME_SOCKETCALL): Do not define.
28441 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28442 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28443 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28444 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28445 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28446 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28447
28448 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28449 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28450 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28451 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28452 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28453 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28454 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28455 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28456 (__ASSUME_GETCPU_SYSCALL): Likewise.
28457
28458 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28459 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
28460 cases for individual architectures.
28461 * sysdeps/gnu/configure: Regenerated.
28462 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28463 LIBC_SLIBDIR_RTLDDIR.
28464 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28465 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28466 LIBC_SLIBDIR_RTLDDIR.
28467 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28469 LIBC_SLIBDIR_RTLDDIR.
28470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28471 Regenerated.
28472 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28473 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28474 file.
28475 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28476 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28477 file.
28478 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28479 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28480 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28481 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28482
28483 * sysdeps/aarch64/shlib-versions: Move to ...
28484 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28485 * sysdeps/alpha/shlib-versions: Move to ...
28486 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28487 * sysdeps/arm/shlib-versions: Move to ...
28488 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28489 * sysdeps/hppa/shlib-versions: Move all contents except for
28490 libgcc_s entry to ...
28491 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
28492 entry from ...
28493 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
28494 * sysdeps/ia64/shlib-versions: Move to ...
28495 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
28496 entry from ...
28497 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
28498 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28499 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28500 * sysdeps/microblaze/shlib-versions: Move to ...
28501 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28502 * sysdeps/mips/shlib-versions: Move to ...
28503 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
28504 entry from ...
28505 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
28506 * sysdeps/tile/shlib-versions: Move to ...
28507 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28508 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28509 from ...
28510 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
28511 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28512 entry from ...
28513 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
28514
28515 2014-07-17 Will Newton <will.newton@linaro.org>
28516
28517 * sysdeps/arm/bits/atomic.h
28518 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28519 (__arch_compare_and_exchange_bool_16_int): Likewise.
28520 (__arch_compare_and_exchange_bool_64_int): Likewise.
28521
28522 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28523 into an #else block.
28524
28525 2014-07-16 Roland McGrath <roland@hack.frob.com>
28526
28527 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28528 just Linux configurations. Test empirically that the compiler sets
28529 __ARM_EABI__, rather than using the tuple to decide.
28530 * sysdeps/arm/preconfigure: Regenerated.
28531 * sysdeps/unix/sysv/linux/arm/configure: File removed.
28532 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28533 contents appended ...
28534 * sysdeps/arm/configure.ac: ... here.
28535 * sysdeps/arm/configure: Regenerated.
28536
28537 2014-07-15 Roland McGrath <roland@hack.frob.com>
28538
28539 * nptl/pthread_kill.c: New file.
28540 * nptl/pthread_sigmask.c: New file.
28541 * nptl/pthread_sigqueue.c: New file.
28542
28543 * sysdeps/nptl/lowlevellock.h: New file.
28544 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28545 * sysdeps/nptl/lowlevellock-futex.h: New file.
28546
28547 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28548 Remove dead declarations.
28549
28550 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
28551
28552 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28553 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28554 config-cflags-avx2.
28555 * sysdeps/x86_64/configure.ac: Likewise.
28556 * sysdeps/i386/configure: Regenerated.
28557 * sysdeps/x86_64/configure: Likewise.
28558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28559 memset-avx2 only if config-cflags-avx2 is yes.
28560 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28561 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28562 defined.
28563 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28564 only if HAVE_AVX2_SUPPORT is defined.
28565 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28566
28567 2014-07-14 Alan Modra <amodra@gmail.com>
28568
28569 [BZ #17153]
28570 * elf/elf.h (DT_PPC64_NUM): Correct value.
28571 * NEWS: Add to fixed bug list.
28572
28573 2014-07-13 Jim Meyering <meyering@fb.com>
28574
28575 [BZ 17150]
28576 regex: don't deref NULL upon heap allocation failure
28577 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28578 failure in one more place.
28579 To trigger the segfault, configure grep -with-included-regex,
28580 build it, and run these commands:
28581 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28582
28583 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
28584
28585 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28586
28587 2014-07-11 Richard Henderson <rth@redhat.com>
28588
28589 * sysdeps/aarch64/libm-test-ulps: Update.
28590
28591 2014-07-10 Florian Weimer <fweimer@redhat.com>
28592
28593 [BZ #17135]
28594 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28595 * nptl/allocatestack.c (__nptl_setxid_error): New function.
28596 (__nptl_setxid): Initialize error member. Call
28597 __nptl_setxid_error.
28598 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28599 * nptl/descr.h (struct xid_command): Add error member.
28600 * nptl/tst-setuid3.c: New file.
28601 * nptl/Makefile (tests): Add it.
28602
28603 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28604
28605 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28606 New define.
28607 (__lll_trylock): Use __lll_base_trylock.
28608 (__lll_cond_trylock): Likewise.
28609
28610 2014-07-10 Roland McGrath <roland@hack.frob.com>
28611
28612 * nptl/pthread_create.c (start_thread): Use atomic_or and
28613 lll_futex_wake directly rather than lll_robust_dead.
28614 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28615 (lll_robust_dead): Macro removed.
28616 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28617 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28618 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28619 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28620 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28621 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28622 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28623 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28624 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28625 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28626 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28627 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28628 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28629 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28630 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28631
28632 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28633 Use atomic_compare_and_exchange_val_acq directly rather than
28634 lll_robust_trylock.
28635 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28636 (__lll_robust_trylock, lll_robust_trylock): Removed.
28637 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28638 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28639 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28640 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28641 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28642 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28643 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28644 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28645 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28646 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28647 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28648 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28649 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28650 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28651
28652 2014-07-02 Florian Weimer <fweimer@redhat.com>
28653
28654 * manual/locale.texi (Locale Names): New section documenting
28655 locale name syntax. Adjust menu and node chaining accordingly.
28656 (Choosing Locale): Reference Locale Names, Locale Categories.
28657 Mention setting LC_ALL=C. Reflect that name syntax is now
28658 documented.
28659 (Locale Categories): New section title. Reference Locale Names.
28660 LC_ALL is an environment variable, but not a category.
28661 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28662 description, now in Locale Name. Reference that section. Locale
28663 name syntax is now documented.
28664
28665 2014-07-02 Florian Weimer <fweimer@redhat.com>
28666
28667 [BZ #17137]
28668 * locale/findlocale.c (name_present, valid_locale_name): New
28669 functions.
28670 (_nl_find_locale): Use the loc_name variable to store name
28671 candidates. Call name_present and valid_locale_name to check and
28672 validate locale names. Return an error if the locale is invalid.
28673
28674 2014-07-02 Florian Weimer <fweimer@redhat.com>
28675
28676 * locale/setlocale.c (setlocale): Use strdup for allocating
28677 composite name copy.
28678
28679 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28680
28681 Sync up with gnulib.
28682 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28683 [!_LIBC && ENABLE_NLS]: Include gettext.h.
28684 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28685 and _GL_ARG_NONNULL.
28686 [USE_UNLOCKED_IO]: Include unlocked-io.h.
28687 [!_LIBC]: Include code for Windows and Cygwin.
28688 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28689 Include prototype for int strerror_r.
28690 [!_LIBC] (is_open): New function.
28691 (flush_stdout): New function.
28692 (print_errno_message): Use it.
28693 (error): Likewise.
28694 (error_at_line): Likewise.
28695 (error_tail) Add function attribute macros. Use
28696 __builtin_expect.
28697
28698 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28699
28700 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28701
28702 * io/ftw.c: Include sys/param.h unconditionally.
28703
28704 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28705
28706 [BZ #17125]
28707 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28708 libc_freeres_ptr.
28709 (freecache): New function to free CACHE on exit.
28710
28711 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28712 initialization.
28713
28714 2014-07-09 David S. Miller <davem@davemloft.net>
28715
28716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28717
28718 * sysdeps/sparc/nptl/internaltypes.h: Delete.
28719 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28720 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28721 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28722 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28723 * sysdeps/sparc/nptl/sem_init.c: Likewise.
28724 * sysdeps/sparc/nptl/sem_post.c: Likewise.
28725 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28726 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28727 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28728 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28729 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28730 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28731
28732 2014-07-09 Andreas Schwab <schwab@suse.de>
28733
28734 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28735 output.
28736 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28737 (do_test): Likewise.
28738
28739 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28740
28741 2014-07-09 Will Newton <will.newton@linaro.org>
28742
28743 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28744 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28745 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28746 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28747 * sysdeps/hppa/start.S (_start): Likewise.
28748
28749 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28750
28751 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28752
28753 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28754 defined.
28755
28756 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28757
28758 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28759 after checking that it is non-NULL.
28760
28761 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28762
28763 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28764
28765 * sysdeps/powerpc/memmove.c: Remove file.
28766 * sysdeps/powerpc/powerpc32/power4/memcopy.h
28767 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28768 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28769 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28770 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28771 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28772 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28773 string memmove instead of removed powerpc one.
28774
28775 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28776 [weak_alias]: Fix compiler warning due trailing data.
28777 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28778 [weak_alias]: Likewise.
28779 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28780 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28781
28782 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28783 (__libc_ifunc_impl_list): Add memmove functions.
28784
28785 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28786
28787 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28788 Remove code.
28789 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28790 Likewise.
28791 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28792 Likewise.
28793 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28794 Likewise.
28795 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28796 Likewise.
28797 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28798 Likewise.
28799 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28800 Likewise.
28801 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28802 Likewise.
28803 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28804 Likewise.
28805 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28806 Likewise.
28807 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28808 Likewise.
28809 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28810 Likewise.
28811 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28812 Likewise.
28813 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28814 Likewise.
28815 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28816 Likewise.
28817 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28818 Likewise.
28819 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28820 Likewise.
28821
28822 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28823
28824 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28825 to avoid alignment traps in non-cacheable memory.
28826 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28827
28828 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28829 multiarch objects.
28830 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28831 file: multiarch power7 memmove.
28832 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28833 multiarch default memmove.
28834 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28835 multiarch memove for powerpc32/power4.
28836
28837 * string/bcopy.c: Use full path to include memmove.c.
28838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28839 multiarch objects.
28840 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28841 bcopy for powerpc64.
28842 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28843 bcopy for powerpc64.
28844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28845 and memmove implementations.
28846 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28847 optimized multiarch memmove for POWER7/powerpc64.
28848 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28849 default multiarch memmove for powerpc64.
28850 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28851 multiarch for powerpc64.
28852 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28853 for POWER7/powerpc64.
28854 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28855 memmove for POWER7/powerpc64.
28856
28857 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28858 glibc default one.
28859
28860 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28861 __ELF_NATIVE_CLASS equal to 64.
28862
28863 2014-07-07 Roland McGrath <roland@hack.frob.com>
28864
28865 * sysdeps/nptl/lowlevellock.h: File removed.
28866
28867 * NEWS: NPTL is no longer an add-on!
28868 * nptl/internaltypes.h: Moved ...
28869 * sysdeps/nptl/internaltypes.h: ... here.
28870 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28871 * sysdeps/nptl/fork.c: Likewise.
28872 * sysdeps/nptl/gai_misc.h: Likewise.
28873 * sysdeps/nptl/librt-cancellation.c: Likewise.
28874 * sysdeps/nptl/jmp-unwind.c: Likewise.
28875 * sysdeps/nptl/setxid.h: Likewise.
28876 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28877 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28878 * sysdeps/unix/sysv/linux/arm/Implies: New file.
28879 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28880 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28881 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28882 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28883 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28884 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28885 * sysdeps/unix/sysv/linux/mips/Implies: New file.
28886 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28887 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28888 * sysdeps/unix/sysv/linux/sh/Implies: New file.
28889 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28890 * sysdeps/unix/sysv/linux/tile/Implies: New file.
28891 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28892 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28893 * nptl/Makeconfig: Moved ...
28894 * sysdeps/nptl/Makeconfig: ... here.
28895 * nptl/configure: File removed.
28896 * nptl/ANNOUNCE: File removed.
28897 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28898 * sysdeps/unix/sysv/linux/configure: Regenerated.
28899
28900 * nptl/Makefile (routines): Add libc_pthread_init,
28901 libc_multiple_threads, register-atfork and unregister-atfork.
28902 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28903 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28904 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28905 pthread-pi-defines.sym, structsem.sym.
28906 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28907 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28908 [$(subdir) = nptl] (tests): Add tst-setgetname.
28909 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28910 * sysdeps/unix/sysv/linux/sigaction.c: Just include
28911 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28912 [!LIBC_SIGACTION]: Remove aliases.
28913 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28914 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28915 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28916 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28917 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28918 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28919 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28920 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28921 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28922 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28923 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28924 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28925 __libc_allocate_rtsig_private.
28926 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28927 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28928 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28929 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28930 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28931 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28932 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28933 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28934 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28935 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28936 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28937 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28938 * nptl/internaltypes.h: ... here.
28939 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28940 * sysdeps/nptl/jmp-unwind.c: ... here.
28941 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28942 * nptl/libc-lowlevellock.c: ... here.
28943 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28944 * nptl/libc_multiple_threads.c: ... here.
28945 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28946 * nptl/libc_pthread_init.c: ... here.
28947 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28948 * nptl/lowlevelbarrier.sym: ... here.
28949 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28950 * nptl/lowlevelcond.sym: ... here.
28951 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28952 * nptl/lowlevellock.c: ... here.
28953 * nptl/lowlevellock.h: Moved ...
28954 * sysdeps/nptl/lowlevellock.h: ... here.
28955 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28956 * nptl/lowlevelrobustlock.c: ... here.
28957 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28958 * nptl/lowlevelrobustlock.sym: ... here.
28959 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28960 * nptl/lowlevelrwlock.sym: ... here.
28961 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28962 * nptl/pt-fork.c: ... here.
28963 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28964 * nptl/pthread-pi-defines.sym: ... here.
28965 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28966 * nptl/pthread_attr_getaffinity.c: ... here.
28967 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28968 * nptl/pthread_attr_setaffinity.c: ... here.
28969 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28970 * nptl/pthread_mutex_cond_lock.c: ... here.
28971 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28972 Update #include.
28973 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28974 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28975 * nptl/pthread_once.c: ... here, replacing old file.
28976 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28977 * nptl/pthread_yield.c: ... here.
28978 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28979 * nptl/register-atfork.c: ... here.
28980 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28981 * nptl/sem_post.c: ... here.
28982 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28983 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28984 * nptl/sem_timedwait.c: ... here.
28985 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28986 * nptl/sem_trywait.c: ... here.
28987 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28988 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28989 * nptl/sem_wait.c: ... here.
28990 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28991 * nptl/structsem.sym: ... here.
28992 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28993 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28994 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28995 * nptl/unregister-atfork.c: ... here.
28996 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28997 * nptl/unwindbuf.sym: ... here.
28998 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28999 * sysdeps/nptl/fork.c: ... here.
29000 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29001 * sysdeps/nptl/fork.h: ... here.
29002 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29003 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29004 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29005 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29006 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29007 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29008 * sysdeps/unix/sysv/linux/getpid.c: ... here.
29009 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29010 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29011 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29012 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
29013 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
29014 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
29015 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
29016 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
29017 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
29018 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
29019 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
29020 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
29021 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
29022 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
29023 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
29024 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
29025 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
29026 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
29027 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
29028 * sysdeps/unix/sysv/linux/raise.c: ... here.
29029 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
29030 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
29031 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
29032 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
29033 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
29034 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
29035 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
29036 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
29037 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
29038 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
29039 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
29040 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
29041 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
29042 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
29043 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
29044
29045 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29046
29047 * sysdeps/generic/memcopy.h: Add comment for
29048 MEMCPY_OK_FOR_FWD_MEMMOVE.
29049
29050 2014-07-04 Will Newton <will.newton@linaro.org>
29051
29052 * string/memchr.c: Merge from gnulib.
29053 [_LIBC]: Remove conditionals.
29054 (__ptr_t): Remove define.
29055 (LONG_MAX_32_BITS): Likewise.
29056 (LONG_MAX): Likewise.
29057 (MEMCHR): Use ANSI prototype and optimize algorithm.
29058
29059 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
29060
29061 2014-07-03 Roland McGrath <roland@hack.frob.com>
29062
29063 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
29064 (lll_futex_timed_wait_bitset): Fix syscall argument count.
29065
29066 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
29067 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
29068 in a bare environment with no <stdlib.h> installed.
29069 * sysdeps/nptl/configure: Regenerated.
29070
29071 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
29072
29073 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
29074 AC_EGREP_CPP for kernel header checks, so they only succeed if
29075 including <linux/version.h> actually works right.
29076 * sysdeps/unix/sysv/linux/configure: Regenerated.
29077
29078 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
29079 value so it's not diagnosed as unused.
29080
29081 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
29082 thing) with "ifeq ($(subdir),rt)".
29083
29084 2014-07-03 Richard Henderson <rth@redhat.com>
29085
29086 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
29087 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
29088 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
29089
29090 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
29091 (math_force_eval): New.
29092
29093 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
29094 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
29095
29096 * sysdeps/alpha/fpu/s_round.c: Remove file.
29097 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
29098
29099 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
29100 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
29101 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
29102 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
29103 (_dl_start, print_statistics): Likewise.
29104 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
29105 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
29106
29107 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29108 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29109 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29110 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29111 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29112 (HP_SMALL_TIMING_AVAIL): Define.
29113 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29114 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29115 (HP_SMALL_TIMING_AVAIL): Define.
29116 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29117 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29118
29119 * sysdeps/aarch64/hp-timing.h: New file.
29120
29121 * sysdeps/generic/hp-timing.h: Remove dead comment.
29122 * sysdeps/generic/hp-timing-common.h: New file.
29123 * sysdeps/alpha/hp-timing.h: Include it.
29124 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
29125 * sysdeps/i386/i686/hp-timing.h: Likewise.
29126 * sysdeps/ia64/hp-timing.h: Likewise.
29127 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29128 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29129 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29130 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29131 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29132 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29133 (hp_timing_t): New.
29134
29135 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29136 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29137 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29138 * elf/rtld.c (_dl_start_final): Likewise.
29139 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29140 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29141 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29142 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29143 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29144 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29145 (HP_TIMING_DIFF_INIT): Remove.
29146 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29147 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29148 (HP_TIMING_DIFF_INIT): Remove.
29149 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29150 * sysdeps/i386/i686/hp-timing.c: Remove file.
29151 * sysdeps/x86_64/hp-timing.c: Remove file.
29152 * sysdeps/ia64/hp-timing.c: Remove file.
29153 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29154 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29155 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29156 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29157
29158 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29159 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29160 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29161 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29162 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29163 (HP_TIMING_ACCUM): Remove.
29164 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29165 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29166 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29167
29168 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29169 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29170 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29171 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29172 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29173 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29174 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29175 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29176
29177 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29178
29179 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
29180
29181 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29182
29183 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29184
29185 Sync up with gettext.
29186 * intl/loadmsgcat.c: Define O_BINARY if not defined.
29187 [_MSC_VER]: Include malloc.h
29188 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29189 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29190 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
29191 TEMP_FAILURE_RETRY. Cast return of alloca.
29192 [!_LIBC] Call gl_rwlock_init.
29193 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29194
29195 2014-07-02 Roland McGrath <roland@hack.frob.com>
29196
29197 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29198 before checking its value.
29199
29200 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29201
29202 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29203
29204 * debug/memcpy_chk.c: Don't include pagecopy.h.
29205 * debug/mempcpy_chk.c: Likewise.
29206 * string/memcpy.c: Likewise.
29207 * string/memmove.c: Likewise.
29208 * sysdeps/powerpc/memmove.c: Likewise.
29209 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
29210 definition of PAGE_COPY_FWD_MAYBE here...
29211 * sysdeps/generic/pagecopy.h: ... from here.
29212 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29213
29214 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
29215 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29216
29217 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29219 optimizations.
29220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29221 (__libc_ifunc_impl_list): Likewise.
29222 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29223 multiarch strcat for PPC64.
29224 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29225 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29226
29227 2014-07-02 Roland McGrath <roland@hack.frob.com>
29228
29229 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29230
29231 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29232
29233 * intl/loadmsgcat.c: Remove declaration of
29234 get_sysdep_segment_value.
29235 (get_sysdep_segment_value): Use ISO C style.
29236 (_nl_load_domain): Use ISO C style. Get rid of redundant
29237 semicolon. Fix typo and formatting in comment.
29238 (_nl_unload_domain): Use ISO C style.
29239
29240 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29241
29242 2014-07-02 Will Newton <will.newton@linaro.org>
29243
29244 * malloc/obstack.c: Merge from gnulib master.
29245 [HAVE_CONFIG_H]: Remove conditional code.
29246 [!_LIBC]: Include config.h.
29247 [!ELIDE_CODE]: Don't include inttypes.h, include
29248 stdint.h unconditionally.
29249 (print_and_abort): Mark as _Noreturn.
29250 (_obstack_allocated_p): Mark as __attribute_pure__.
29251 (obstack_free): Rename to __obstack_free.
29252 [!__attribute__]: Remove conditional code.
29253 * malloc/obstack.h: Merge from gnulib master.
29254 [__cplusplus]: Move conditional down.
29255 [!__attribute_pure__]: Define __attribute_pure__ here
29256 if it is not already defined.
29257 (_obstack_memory_used): Mark as __attribute_pure__.
29258 [!__obstack_free]: Define as obstack_free.
29259 [__GNUC__]: Remove check for ancient NeXT gcc.
29260
29261 2014-07-02 Will Newton <will.newton@linaro.org>
29262 Paul Eggert <eggert@cs.ucla.edu>
29263
29264 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29265
29266 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29267
29268 * resolv/gethnamaddr.c: Add comment warning that the file is
29269 not maintained.
29270
29271 2014-07-01 Carlos O'Donell <carlos@redhat.com>
29272
29273 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29274 entries.
29275
29276 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
29277 entry for aio_cancel and aio_cancel64.
29278 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
29279 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
29280 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
29281 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
29282 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
29283 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
29284 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
29285 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
29286 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
29287 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
29288 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29289 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
29290 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
29291
29292 2014-07-01 Roland McGrath <roland@hack.frob.com>
29293
29294 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
29295 * nptl/pthread_mutex_lock.c: Likewise.
29296 * nptl/pthread_mutex_timedlock.c: Likewise.
29297 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
29298
29299 2014-07-01 Richard henderson <rth@redhat.com>
29300
29301 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
29302 (__isnan, __isnanl): Remove.
29303 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
29304
29305 * sysdeps/alpha/fpu/libm-test-ulps: Update.
29306
29307 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
29308
29309 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29310
29311 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29312
29313 * resolv/nss_dns/dns-host.c (getanswer_r)
29314 [MULTI_PTRS_ARE_ALIASES]: Remove code.
29315
29316 2014-07-01 Joseph Myers <joseph@codesourcery.com>
29317
29318 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29319 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
29320 undefine.
29321 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
29322 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
29323
29324 2014-07-01 Roland McGrath <roland@hack.frob.com>
29325
29326 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
29327 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
29328
29329 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
29330 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29331
29332 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
29333 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
29334 ... here.
29335 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
29336 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
29337
29338 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29339 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
29340 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
29341 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
29342
29343 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29344 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
29345 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
29346 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
29347 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
29348 Moved ...
29349 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
29350 ... here.
29351 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
29352 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
29353 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
29354 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
29355 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
29356 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
29357 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
29358 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
29359 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
29360 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
29361 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
29362 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
29363 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
29364 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
29365 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
29366 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
29367 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
29368 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
29369 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
29370 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
29371 ... here.
29372 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29373 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29374 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29375 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29376 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29377 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29378 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29379 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29380
29381 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
29382
29383 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29384 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29385 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29386 Add sysdep.
29387
29388 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29389
29390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29391
29392 2014-06-30 Joseph Myers <joseph@codesourcery.com>
29393
29394 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29395 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29396
29397 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29398
29399 * sysdeps/arm/libm-test-ulps: Regenerated.
29400
29401 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
29402 Roland McGrath <roland@hack.frob.com>
29403
29404 * test-skeleton.c (signal_handler): Kill the whole process group
29405 before killing the child individually.
29406 (main): Report any failure on `setpgid'.
29407
29408 2014-06-30 Roland McGrath <roland@hack.frob.com>
29409
29410 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29411 from _TLS_H to _ARM_NPTL_TLS_H.
29412 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29413 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29414
29415 2014-06-30 Joseph Myers <joseph@codesourcery.com>
29416
29417 [BZ #16539]
29418 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29419 (__expm1l): Return argument unchanged when small but not
29420 subnormal.
29421
29422 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29423 include macro name.
29424 (_FP_UNPACK_RAW_1_P): Likewise.
29425 (_FP_PACK_RAW_1): Likewise.
29426 (_FP_PACK_RAW_1_P): Likewise.
29427 (_FP_MUL_MEAT_1_wide): Likewise.
29428 (_FP_MUL_MEAT_DW_1_hard): Likewise.
29429 (_FP_MUL_MEAT_1_hard): Likewise.
29430 (_FP_DIV_MEAT_1_imm): Likewise.
29431 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29432 (_FP_DIV_MEAT_1_udiv): Likewise.
29433 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29434 (_FP_UNPACK_RAW_2): Likewise.
29435 (_FP_UNPACK_RAW_2_P): Likewise.
29436 (_FP_PACK_RAW_2): Likewise.
29437 (_FP_PACK_RAW_2_P): Likewise.
29438 (_FP_MUL_MEAT_DW_2_wide): Likewise.
29439 (_FP_MUL_MEAT_2_wide): Likewise.
29440 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29441 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29442 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29443 (_FP_MUL_MEAT_2_gmp): Likewise.
29444 (_FP_DIV_MEAT_2_udiv): Likewise.
29445 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29446 (_FP_FRAC_SRL_4): Likewise.
29447 (_FP_FRAC_SRST_4): Likewise.
29448 (_FP_FRAC_SRS_4): Likewise.
29449 (_FP_UNPACK_RAW_4): Likewise.
29450 (_FP_UNPACK_RAW_4_P): Likewise.
29451 (_FP_PACK_RAW_4): Likewise.
29452 (_FP_PACK_RAW_4_P): Likewise.
29453 (_FP_MUL_MEAT_DW_4_wide): Likewise.
29454 (_FP_MUL_MEAT_4_wide): Likewise.
29455 (_FP_MUL_MEAT_4_gmp): Likewise.
29456 (umul_ppppmnnn): Likewise.
29457 (_FP_DIV_MEAT_4_udiv): Likewise.
29458 (__FP_FRAC_ADD_4): Likewise.
29459 (__FP_FRAC_SUB_3): Likewise.
29460 (__FP_FRAC_SUB_4): Likewise.
29461 (__FP_FRAC_DEC_3): Likewise.
29462 (__FP_FRAC_DEC_4): Likewise.
29463 (__FP_FRAC_ADDI_4): Likewise.
29464 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29465 (_FP_FRAC_SRL_8): Likewise.
29466 (_FP_FRAC_SRS_8): Likewise.
29467
29468 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29469 include macro name.
29470 (FP_UNPACK_RAW_EP): Likewise.
29471 (FP_PACK_RAW_E): Likewise.
29472 (FP_PACK_RAW_EP): Likewise.
29473 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29474 (_FP_ISSIGNAN): Likewise.
29475 (_FP_ADD_INTERNAL): Likewise.
29476 (_FP_FMA): Likewise.
29477 (_FP_CMP): Likewise.
29478 (_FP_SQRT): Likewise.
29479 (_FP_TO_INT): Likewise.
29480 (_FP_FROM_INT): Likewise.
29481 (FP_EXTEND): Likewise.
29482 (_FP_DIV_MEAT_N_loop): Likewise.
29483
29484 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
29485
29486 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29487 throughout.
29488
29489 2014-06-29 Joseph Myers <joseph@codesourcery.com>
29490
29491 [BZ #17097]
29492 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29493 result with correct sign in case of exponents that produce
29494 overflow except for X very close to 1.
29495
29496 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
29497
29498 mktime: merge #if/#ifdef usage from glibc
29499 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29500 as that works with both Glibc's and Gnulib's style.
29501 See thread starting at Siddhesh Poyarekar's bug report at:
29502 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29503
29504 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29505
29506 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29507 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29508 * sysdeps/tile/tilegx/memmove.c: Remove file.
29509
29510 2014-06-27 Joseph Myers <joseph@codesourcery.com>
29511
29512 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29513 abi-name definition.
29514 * scripts/soversions.awk: Do not handle or generate ABI lines.
29515 * shlib-versions: Remove ABI entries.
29516 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29517 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29518
29519 2014-06-27 Roland McGrath <roland@hack.frob.com>
29520
29521 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29522 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29523 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29524 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29525 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29526 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29527 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29528 Moved ...
29529 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29530 ... here.
29531 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29532 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29533 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29534 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29535 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29536 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29537 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29538 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29539 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29540 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29541 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29542 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29543 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29544 Moved ...
29545 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29546 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29547 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29548 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29549 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29550 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29551 Moved ...
29552 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29553 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29554 Moved ...
29555 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29556 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29557 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29558 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29559 Moved ...
29560 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29561 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29562 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29563 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29564 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29565 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29566 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29567 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29568 Moved ...
29569 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29570 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29571 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29572 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29573 Moved ...
29574 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29575 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29576 Moved ...
29577 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29578 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29579 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29580 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29581 Moved ...
29582 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29583 ... here.
29584 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29585 Identical file removed.
29586 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29587 Moved ...
29588 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29589 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29590 Identical file removed.
29591 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29592 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29593 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29594 Moved ...
29595 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29596 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29597 Identical file removed.
29598 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29599 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29600 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29601 Identical file removed.
29602 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29603 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29604 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29605 Identical file removed.
29606 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29607 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29608 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29609 Identical file removed.
29610 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29611 Moved ...
29612 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29613 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29614 Identical file removed.
29615 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29616 Moved ...
29617 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29618 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29619 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29620 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29621 Identical file removed.
29622 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29623 Moved ...
29624 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29625 ... here.
29626 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29627 Identical file removed.
29628 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29629 Moved ...
29630 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29631 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29632 Identical file removed.
29633 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29634 Moved ...
29635 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29636 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29637 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29638 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29639 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29640 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29641 Moved ...
29642 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29643 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29644 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29645
29646 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29647 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29648 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29649 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29650 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29651
29652 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
29653
29654 [BZ #17092]
29655 * nscd/nscd.c (monitor_child): Return exit status of child
29656 instead of return value from wait syscall.
29657
29658 2014-06-27 Joseph Myers <joseph@codesourcery.com>
29659
29660 * configure.ac (libc_commonpagesize): Remove variable.
29661 (libc_relro_required): Likewise.
29662 (libc_cv_z_relro): Remove configure test.
29663 * configure: Regenerated.
29664 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29665 variable.
29666 (libc_relro_required): Likewise.
29667 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29668 (libc_relro_required): Likewise.
29669 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29670 (libc_relro_required): Likewise.
29671 * sysdeps/arm/preconfigure: Regenerated.
29672 * sysdeps/ia64/preconfigure: Remove file.
29673 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29674 variable.
29675 (libc_relro_required): Likewise.
29676
29677 [BZ #16561]
29678 [BZ #16562]
29679 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29680 (__ieee754_yn): Set FE_TONEAREST mode internally and then
29681 recompute overflowing results in original rounding mode.
29682 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29683 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29684 recompute overflowing results in original rounding mode.
29685 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29686 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29687 recompute overflowing results in original rounding mode.
29688 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29689 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29690 recompute overflowing results in original rounding mode.
29691 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29692 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29693 recompute overflowing results in original rounding mode.
29694 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29695 (libc_feholdsetround_ctx): New macro.
29696 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29697 * sysdeps/i386/fpu/libm-test-ulps: Update.
29698 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29699
29700 2014-06-26 Joseph Myers <joseph@codesourcery.com>
29701
29702 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29703 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29704 corresponding .cpsetup call.
29705
29706 2014-06-26 Roland McGrath <roland@hack.frob.com>
29707
29708 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29709 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29710 * sysdeps/arm/Makefile [$(subdir) = csu]
29711 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29712 (static-only-routines): Add aeabi_read_tp here.
29713 (shared-only-routines): Add libc-aeabi_read_tp here.
29714 (CFLAGS-libc-start.c): Add -fexceptions here.
29715 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29716 (sysdep_routines, static-only-routines, shared-only-routines):
29717 Don't add to these here.
29718 (CFLAGS-libc-start.c): Likewise.
29719
29720 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29721 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29722 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29723 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29724 * sysdeps/arm/Makefile [$(subdir) = rt]
29725 (librt-sysdep_routines, librt-shared-only-routines):
29726 Append rt-aeabi_unwind_cpp_pr1 here.
29727 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29728 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29729 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29730 (libpthread-sysdep_routines, libpthread-shared-only-routines):
29731 Append nptl-aeabi_unwind_cpp_pr1 here.
29732 (tests): Filter out tst-cleanupx4 here.
29733 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29734 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29735 Don't do those here.
29736
29737 2014-06-26 Joseph Myers <joseph@codesourcery.com>
29738
29739 * scripts/list-sources.sh: Do not handle ports specially.
29740
29741 2014-06-26 Roland McGrath <roland@hack.frob.com>
29742
29743 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29744 * sysdeps/arm/feupdateenv.c: Likewise.
29745
29746 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29747
29748 2014-06-26 Joseph Myers <joseph@codesourcery.com>
29749
29750 * manual/texinfo.tex: Update to version 2014-05-05.10 with
29751 trailing whitespace removed.
29752 * scripts/config.guess: Update to version 2014-03-23.
29753 * scripts/config.sub: Update to version 2014-05-01
29754 * scripts/install-sh: Update to version 2013-12-25.23.
29755 * scripts/move-if-change: Update from gnulib.
29756
29757 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29758
29759 * debug/memmove_chk.c: Remove pagecopy.h include.
29760
29761 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
29762
29763 * time/mktime.c (leapyear): Remove inline keyword. The code is now
29764 identical to gnulib mktime.
29765
29766 2014-06-26 Joseph Myers <joseph@codesourcery.com>
29767
29768 * configure.ac: Do not test for machine being rs6000. Do not test
29769 for powerpc*-*soft.
29770 * configure: Regenerated.
29771
29772 [BZ #11505]
29773 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29774 test.
29775 * configure: Regenerated.
29776 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29777 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29778 Remove configure test.
29779 * sysdeps/arm/configure: Regenerated.
29780 * sysdeps/nptl/configure.ac: Do not check
29781 libc_cv_asm_cfi_directives.
29782 * sysdeps/nptl/configure: Regenerated.
29783 * sysdeps/x86_64/nptl/configure.ac: Remove file.
29784 * sysdeps/x86_64/nptl/configure: Remove generated file.
29785 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29786 unconditional.
29787 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29788
29789 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29790
29791 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29792 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29793 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29794 it is defined.
29795
29796 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29797 instead of whether it is defined.
29798 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29799 * sysdeps/hppa/dl-machine.h: Likewise.
29800 * sysdeps/ia64/dl-machine.h: Likewise.
29801 * sysdeps/m68k/dl-machine.h: Likewise.
29802 * sysdeps/microblaze/dl-machine.h: Likewise.
29803 * sysdeps/mips/dl-machine.: Likewise.
29804 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29805 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29806 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29807 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29808 * sysdeps/sh/dl-machine.h: Likewise.
29809 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29810 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29811 * sysdeps/tile/dl-machine.h: Likewise.
29812 * sysdeps/x86_64/dl-machine.h: Likewise.
29813
29814 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29815 code.
29816 (verify_persistent_db): Likewise.
29817
29818 2014-06-26 Roland McGrath <roland@hack.frob.com>
29819
29820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29821 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29823 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29825 Moved ...
29826 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29827 ... here.
29828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29829 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29831 Identical file removed.
29832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29833 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29835 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29837 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29839 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29841 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29843 Moved ...
29844 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29846 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29848 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29850 Moved ...
29851 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29853 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29855 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29857 Identical file removed.
29858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29859 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29861 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29863 Moved ...
29864 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29865 ... here.
29866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29867 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29869 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29871 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29873 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29875 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29877 Moved ...
29878 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29880 Moved ...
29881 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29883 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29885 Moved ...
29886 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29888 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29889
29890 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29891 folded into ...
29892 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29893 * sysdeps/unix/sysv/linux/s390/Versions
29894 (libpthread: GLIBC_2.19): New version set.
29895 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29896 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29897 (librt: GLIBC_2.3.3): New version set.
29898 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29899 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29900 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29901 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29902 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29903 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29904 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29905 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29906 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29907 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29908 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29909 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29910 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29911 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29912 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29913 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29914 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29915 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29916 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29917 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29918 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29919 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29920 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29921 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29922 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29923 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29924 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29925 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29926 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29927 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29928 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29929 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29930 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29931 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29932 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29933 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29934 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29935 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29936 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29937 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29938 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29939 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29940 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29941 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29942 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29943
29944 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29945 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29946 (__libc_vfork): Define the function under this name.
29947 [!NOT_IN_libc] (__vfork): Make this an alias.
29948 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29949 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29950 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29951 (__libc_vfork): Define the function under this name.
29952 [!NOT_IN_libc] (__vfork): Make this an alias.
29953 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29954 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29955 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29956 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29957 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29958 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29959
29960 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29961 code that was previously under [RESET_PID].
29962 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29963 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29964 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29965
29966 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29967 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29968 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29969 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29970 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29971 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29972 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29973 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29974 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29975 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29976 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29977 Moved ...
29978 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29979 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29980 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29981 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29982 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29983 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29984 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29985 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29986 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29987 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29988 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29989 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29990 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29991 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29992 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29993 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29994 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29995 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29996 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29997 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29998 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29999 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30000 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30001 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30002 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30003 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30004 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30005 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30006 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30007
30008 2014-06-25 Roland McGrath <roland@hack.frob.com>
30009
30010 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30011 that was previously under [RESET_PID].
30012 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
30013
30014 2014-06-25 Joseph Myers <joseph@codesourcery.com>
30015
30016 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
30017 not undefine and redefine.
30018 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
30019 [O_CLOEXEC]: Make code unconditional.
30020 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
30021 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
30022 <kernel-features.h>.
30023 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
30024 conditional variable definition.
30025 (shm_open) [O_CLOEXEC]: Make code unconditional.
30026 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
30027 code.
30028
30029 * configure.ac (USE_REGPARMS): Don't define here.
30030 * configure: Regenerated.
30031 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
30032 * sysdeps/i386/configure: Regenerated.
30033
30034 * nptl/createthread.c: Don't include kernel-features.h.
30035 * nptl/pthread_cancel.c: Likewise.
30036 * nptl/pthread_condattr_setclock.c: Likewise.
30037 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
30038 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
30039 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
30040 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
30041 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
30042 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30043 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30044 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
30045 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30046 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
30047 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
30048 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
30049 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
30050 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
30051 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
30052 * nscd/gai.c: Likewise.
30053 * nss/nss_db/db-open.c: Likewise.
30054 * sysdeps/generic/ldsodefs.h: Likewise.
30055 * sysdeps/sh/nptl/tls.h: Likewise.
30056 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30057 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
30058 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
30059 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
30060 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30061 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30062 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
30063 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30064 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30065 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30066 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30067 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30068 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
30069 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
30070 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
30071 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
30072 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
30073 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
30074 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
30075 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
30076 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
30077 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
30078 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
30079 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
30080 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
30081 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
30082 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
30083 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
30084 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30085 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
30086 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
30087 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
30088 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
30089 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30090 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30091 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30092 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30093 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
30094 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
30095 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30096 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30097 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
30098 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
30099 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30100 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
30101 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
30102 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
30103 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
30104 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
30105 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
30106 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
30107 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
30108 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
30109 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30110 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
30111 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30112 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30113 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
30114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
30116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
30117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
30118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
30119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
30120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
30121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
30122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
30125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30136 * sysdeps/unix/sysv/linux/pread.c: Likewise.
30137 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30138 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30139 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30140 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30141 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30142 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30143 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30144 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30145 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30146 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30147 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30148 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30149 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30150 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30151 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30152 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30153 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30154 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30155 * sysdeps/unix/sysv/linux/system.c: Likewise.
30156 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30157 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30158 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30159 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30160 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30161 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30162 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30163
30164 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30165 * configure: Regenerated.
30166 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30167
30168 * configure.ac (base_machine): Do not set specially for particular
30169 machines here.
30170 * configure: Regenerated.
30171 * sysdeps/powerpc/preconfigure: Move machine and base_machine
30172 settings from configure.ac.
30173 * sysdeps/i386/preconfigure: New file.
30174 * sysdeps/s390/preconfigure: Likewise.
30175 * sysdeps/sh/preconfigure: Likewise.
30176 * sysdeps/sparc/preconfigure: Likewise.
30177
30178 2014-06-25 Roland McGrath <roland@hack.frob.com>
30179
30180 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30181 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30182 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30183 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30184 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30185 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30186 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30187 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30188 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30189 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30190 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30191 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30192 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30193 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30194 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30195 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30196 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30197 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30198 * sysdeps/sparc/sparc64/Makefile: ... appended here.
30199
30200 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30201 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30202 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30203 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30204 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30205 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30206 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30207 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30208 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30209 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30210 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30211 * sysdeps/sparc/sparc32/sem_post.c: ... here.
30212 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30213 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30214 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30215 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30216 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30217 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30218 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30219 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30220 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30221 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30222 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30223 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30224 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30225 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30226 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30227 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30228 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30229 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30230 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30231 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30232 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30233 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30234 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30235 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30236 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30237 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30238
30239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30240 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30242 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30244 Moved ...
30245 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30246 ... here.
30247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30248 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30250 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30252 Moved ...
30253 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30255 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30257 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30259 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30261 Moved ...
30262 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30264 Moved ...
30265 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30267 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30269 Moved ...
30270 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30272 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30274 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30276 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
30277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
30278 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
30279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30280 Moved ...
30281 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
30282 ... here.
30283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
30284 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
30285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
30286 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
30287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
30288 Moved ...
30289 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
30290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
30291 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
30292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
30293 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
30294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
30295 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
30296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30297 Moved ...
30298 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
30299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30300 Moved ...
30301 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
30302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
30303 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
30304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30305 Moved ...
30306 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
30307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
30308 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
30309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
30310 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
30311
30312 2014-06-25 Joseph Myers <joseph@codesourcery.com>
30313
30314 * timezone/checktab.awk: Update from tzcode 2014e.
30315 * timezone/private.h: Likewise.
30316 * timezone/tzfile.h: Likewise.
30317 * timezone/zdump.c: Likewise.
30318 * timezone/zic.c: Likewise.
30319
30320 * sysdeps/unix/sysv/linux/kernel-features.h
30321 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
30322 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
30323 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
30324 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30325 Remove conditional code.
30326
30327 2014-06-25 Will Newton <will.newton@linaro.org>
30328
30329 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
30330 (_dl_arm_cap_flags): Add HWCAP2 values.
30331 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
30332 (_DL_HWCAP_COUNT): Increase to 37.
30333 (_DL_HWCAP_LAST): New define.
30334 (_DL_HWCAP2_LAST): New define.
30335 (_dl_procinfo): Add support for printing
30336 AT_HWCAP2 entries.
30337 (_dl_string_hwcap): Use _dl_hwcap_string.
30338
30339 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30340
30341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30342
30343 2014-06-25 Joseph Myers <joseph@codesourcery.com>
30344
30345 * README: Do not mention ports directory.
30346
30347 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
30348 Remove macro.
30349 * sysdeps/unix/sysv/linux/futimes.c: Do not include
30350 <kernel-features.h>.
30351 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
30352 conditional variable definition.
30353 (__futimes): Update comment.
30354 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
30355 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
30356
30357 [BZ #16560]
30358 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
30359 arguments close to 0.
30360 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
30361 Likewise.
30362 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
30363 Likewise.
30364 * math/auto-libm-test-in: Add more tests of exp10.
30365 * math/auto-libm-test-out: Regenerated.
30366 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30367
30368 * sysdeps/unix/sysv/linux/kernel-features.h
30369 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
30370 * sysdeps/unix/sysv/linux/readv.c: Do not include
30371 <kernel-features.h>.
30372 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30373 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30374 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30375 unconditional.
30376 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30377 conditional code.
30378 * sysdeps/unix/sysv/linux/writev.c: Do not include
30379 <kernel-features.h>.
30380 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30381 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30382 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30383 unconditional.
30384 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30385 conditional code.
30386
30387 2014-06-25 Will Newton <will.newton@linaro.org>
30388
30389 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30390 comment changes throughout the file. Remove checks
30391 for HAVE_*_H definitions that are not required.
30392 (__gen_tempname): Call abort if an unknown kind value is
30393 passed.
30394
30395 2014-06-25 Andreas Schwab <schwab@suse.de>
30396
30397 [BZ #17086]
30398 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30399 scalbln, scalblnf, scalblnl in libc.
30400
30401 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30402
30403 [BZ #17086]
30404 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30405 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30406 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30407
30408 2014-06-24 Roland McGrath <roland@hack.frob.com>
30409
30410 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30411 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30412 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30413 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30414 Update #include.
30415 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30416 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30417 Update #include.
30418 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30419 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30420 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30421 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30422 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30423 * sysdeps/x86/bits/pthreadtypes.h: ... here.
30424 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30425 * sysdeps/x86/bits/semaphore.h: ... here.
30426 * sysdeps/x86/nptl/elide.h: Moved ...
30427 * sysdeps/x86/elide.h: ... here.
30428 * sysdeps/x86_64/nptl/Implies: File removed.
30429 * sysdeps/i386/nptl/Implies: File removed.
30430
30431 2014-06-24 Joseph Myers <joseph@codesourcery.com>
30432
30433 [BZ #16539]
30434 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30435 return the argument for normal arguments with exponent below -64.
30436 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30437 Likewise.
30438 * math/auto-libm-test-in: Add another test of expm1.
30439 * math/auto-libm-test-out: Regenerated.
30440
30441 [BZ #16287]
30442 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30443 calling __erfcl for arguments at least 16.
30444 * math/auto-libm-test-in: Add more tests of erf.
30445 * math/auto-libm-test-out: Regenerated.
30446
30447 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30448 individual architectures.
30449 * sysdeps/unix/sysv/linux/configure: Regenerated.
30450 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30451 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30452 * sysdeps/unix/sysv/linux/powerpc/configure.ac
30453 (ldd_rewrite_script): Define variable.
30454 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30456 file.
30457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30458 generated file.
30459 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30460 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30461 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30462 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30463 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30464 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30465 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30466 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30467
30468 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30469
30470 [BZ #17084]
30471 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30472 Rename member __data.d to __data.__elision_data.
30473
30474 2014-06-24 Wilco <wdijkstr@arm.com>
30475
30476 * NEWS: Add 16918 to fixed bug list.
30477
30478 2014-06-24 Wilco <wdijkstr@arm.com>
30479
30480 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30481
30482 2014-06-24 Wilco <wdijkstr@arm.com>
30483
30484 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30485 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30486 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30487 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30488 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30489 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30490 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30491 Use _FPU_MASK_RM.
30492
30493 2014-06-24 Wilco <wdijkstr@arm.com>
30494
30495 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30496
30497 2014-06-24 Wilco <wdijkstr@arm.com>
30498
30499 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30500 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30501 * sysdeps/arm/fesetround.c (fesetround): Remove space.
30502 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30503
30504 2014-06-24 Wilco <wdijkstr@arm.com>
30505
30506 [BZ #16918]
30507 * sysdeps/arm/feupdateenv.c (feupdateenv):
30508 Rewrite to reduce FPSCR accesses and fix return value.
30509
30510 2014-06-24 Wilco <wdijkstr@arm.com>
30511
30512 * sysdeps/arm/fclrexcpt.c (feclearexcept):
30513 Optimize to avoid unnecessary FPSCR writes.
30514 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30515 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30516 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30517 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30518
30519 2014-06-24 Wilco <wdijkstr@arm.com>
30520
30521 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30522 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30523 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30524 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30525 Call libc_fetestexcept_vfp.
30526 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30527 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30528 __SOFTFP__ ifdef so that they can be built for softfp.
30529
30530 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30531
30532 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30533 argument type signed char.
30534
30535 * Makerules (check-abi): Dump diff of symlist if the test
30536 fails.
30537
30538 2014-06-23 Roland McGrath <roland@hack.frob.com>
30539
30540 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30541 using abort.
30542
30543 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30544 Remove unused variable ST.
30545
30546 2014-06-23 Joseph Myers <joseph@codesourcery.com>
30547
30548 [BZ #16354]
30549 [BZ #17061]
30550 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30551 small arguments before calling __expm1.
30552 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30553 small arguments before calling __expm1f.
30554 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30555 small arguments before calling __expm1l.
30556 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30557 Likewise.
30558 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30559 * math/auto-libm-test-in: Add more cosh tests. Do not allow
30560 spurious underflow for some cosh tests.
30561 * math/auto-libm-test-out: Regenerated.
30562 * sysdeps/i386/fpu/libm-test-ulps: Update.
30563
30564 [BZ #17050]
30565 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30566 (__ieee754_y1): Set errno if return value overflows.
30567 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30568 (__ieee754_y1f): Set errno if return value overflows.
30569 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30570 (__ieee754_y1l): Set errno if return value overflows.
30571 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30572 (__ieee754_y1l): Set errno if return value overflows.
30573 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30574 * math/auto-libm-test-out: Regenerated.
30575
30576 * math/gen-auto-libm-tests.c: Document use of
30577 ignore-zero-inf-sign.
30578 (input_flag_type): Add value flag_ignore_zero_inf_sign.
30579 (input_flags): Add ignore-zero-inf-sign.
30580 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30581 * math/gen-libm-test.pl (generate_testfile): Handle
30582 ignore-zero-inf-sign.
30583 * math/auto-libm-test-in: Mark some cpow tests with
30584 ignore-zero-inf-sign and some with xfail-rounding.
30585 * math/auto-libm-test-out: Regenerated.
30586 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30587 * sysdeps/i386/fpu/libm-test-ulps: Update.
30588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30589
30590 [BZ #16315]
30591 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30592 overflowing or underflowing operations take place with sign of
30593 result.
30594 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30595 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30596 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30597 (__ieee754_pow): Recompute overflowing and underflowing results in
30598 original rounding mode.
30599 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30600 (__powl_helper): Allow negative argument X and scale negated value
30601 as needed. Avoid passing value outside [-1, 1] to f2xm1.
30602 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30603 overflowing or underflowing operations take place with sign of
30604 result.
30605 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30606 Include <math.h>.
30607 * math/auto-libm-test-in: Add more tests of pow.
30608 * math/auto-libm-test-out: Regenerated.
30609 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30610 (pow_tonearest_test_data): Remove.
30611 (pow_test_tonearest): Likewise.
30612 (pow_towardzero_test_data): Likewise.
30613 (pow_test_towardzero): Likewise.
30614 (pow_downward_test_data): Likewise.
30615 (pow_test_downward): Likewise.
30616 (pow_upward_test_data): Likewise.
30617 (pow_test_upward): Likewise.
30618 (main): Don't call removed functions.
30619 * sysdeps/i386/fpu/libm-test-ulps: Update.
30620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30621
30622 2014-06-23 Roland McGrath <roland@hack.frob.com>
30623
30624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30625 Moved ...
30626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30628 Moved ...
30629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30631 Moved ...
30632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30634 Moved ...
30635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30637 File removed.
30638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30639 File removed.
30640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30641 File removed.
30642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30643 File removed.
30644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30645 File removed.
30646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30647 File removed.
30648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30649 File removed.
30650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30651 File removed.
30652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30653 File removed.
30654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30655 File removed.
30656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30657 File removed.
30658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30659 File removed.
30660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30661 Moved ...
30662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30664 Moved ...
30665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30666 ... here.
30667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30668 Moved ...
30669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30671 Moved ...
30672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30674 Moved ...
30675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30677 Moved ...
30678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30680 Moved ...
30681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30683 Moved ...
30684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30686 Moved ...
30687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30690 ... here.
30691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30692 Moved ...
30693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30695 Moved ...
30696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30697 ... here.
30698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30699 Moved ...
30700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30701 ... here.
30702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30703 Moved ...
30704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30705 ... here.
30706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30707 Moved ...
30708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30710 Moved ...
30711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30715 Moved ...
30716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30717 ... here.
30718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30719 Moved ...
30720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30721 ... here.
30722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30723 Moved ...
30724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30726 Moved ...
30727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30729 Moved ...
30730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30732 Moved ...
30733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30735 Moved ...
30736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30737 ... here.
30738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30739 Moved ...
30740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30742 Moved ...
30743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30745 Moved ...
30746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30748 Moved ...
30749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30753 Moved ...
30754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30756 Moved ...
30757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30759 Moved ...
30760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30761 ... here.
30762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30763 Moved ...
30764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30765 ... here.
30766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30767 Moved ...
30768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30769 ... here.
30770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30771 Moved ...
30772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30774 Moved ...
30775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30777 Moved ...
30778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30780 Moved ...
30781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30782 ... here.
30783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30784 Moved ...
30785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30786 ... here.
30787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30788 Moved ...
30789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30790 ... here.
30791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30792 Moved ...
30793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30795 Moved ...
30796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30797
30798 2014-06-23 Will Newton <will.newton@linaro.org>
30799 Wilco <wdijkstr@arm.com>
30800
30801 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30802 implementation. Include get-rounding-mode.h.
30803 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30804 [!libc_feholdsetround_noex_ctx]: Define
30805 libc_feholdsetround_noex_ctx.
30806 [!libc_feholdsetround_noexf_ctx]: Define
30807 libc_feholdsetround_noexf_ctx.
30808 [!libc_feholdsetround_noexl_ctx]: Define
30809 libc_feholdsetround_noexl_ctx.
30810 (libc_feholdsetround_ctx): New function.
30811 (libc_feresetround_ctx): New function.
30812 (libc_feholdsetround_noex_ctx): New function.
30813 (libc_feresetround_noex_ctx): New function.
30814
30815 2014-06-23 Roland McGrath <roland@hack.frob.com>
30816
30817 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30818 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30819 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30820 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30821 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30822 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30823
30824 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30825 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30826 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30827 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30828 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30829 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30830 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30831 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30832 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30833 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30834 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30835 Moved ...
30836 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30837 ... here.
30838 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30839 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30840 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30841 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30842 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30843 Moved ...
30844 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30845 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30846 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30847 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30848 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30849 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30850 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30851 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30852 Moved ...
30853 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30854 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30855 Moved ...
30856 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30857 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30858 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30859 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30860 Moved ...
30861 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30862 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30863 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30864 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30865 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30866 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30867 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30868 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30869 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30870 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30871 Moved ...
30872 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30873 ... here.
30874 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30875 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30876 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30877 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30878 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30879 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30880 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30881 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30882 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30883 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30884 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30885 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30886 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30887 Moved ...
30888 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30889 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30890 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30891 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30892 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30893 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30894 Moved ...
30895 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30896 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30897 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30898 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30899 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30900
30901 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30902 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30903 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30904 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30905 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30906 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30907 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30908 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30909 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30910 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30911 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30912 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30913 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30914 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30915 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30916 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30917 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30918 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30919 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30920 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30921 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30922 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30923 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30924 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30925 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30926 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30927 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30928 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30929
30930 2014-06-23 Joseph Myers <joseph@codesourcery.com>
30931
30932 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30933 (FALLOC_FL_COLLAPSE_RANGE): New macro.
30934 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30935 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30936 (IPV6_PMTUDISC_INTERFACE): Likewise.
30937 (IPV6_PMTUDISC_OMIT): Likewise.
30938
30939 2014-06-23 Andreas Schwab <schwab@suse.de>
30940
30941 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30942 Remove unused errout label.
30943
30944 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30945
30946 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30947 macro: hardware supports Vector Crypto instructions.
30948
30949 2014-06-23 Will Newton <will.newton@linaro.org>
30950
30951 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30952 rather than __builtin_expect.
30953
30954 * elf/dl-lookup.c (undefined_msg): Remove variable.
30955 (_dl_lookup_symbol_x): Replace undefined_msg with string
30956 literal.
30957
30958 * elf/dl-lookup.c (do_lookup_unique): New function.
30959 (do_lookup_x): Move STB_GNU_UNIQUE handling code
30960 to a separate function.
30961
30962 2014-06-23 Andreas Schwab <schwab@suse.de>
30963
30964 [BZ #17079]
30965 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30966 before reading the next line.
30967
30968 2014-06-23 Will Newton <will.newton@linaro.org>
30969
30970 * test-skeleton.c (signal_handler): Use printf and %m
30971 rather than perror. Use printf rather than fprintf to
30972 stderr. Use puts rather than fputs to stderr.
30973 (main): Likewise.
30974
30975 2014-06-22 Ludovic Courtès <ludo@gnu.org>
30976
30977 * nscd/nscd.c (thread_info_t): Remove typedef.
30978 (thread_info): Remove variable.
30979
30980 2014-06-21 Allan McRae <allan@archlinux.org>
30981
30982 * NEWS: Mention CVE-2014-4043.
30983
30984 2014-06-20 Roland McGrath <roland@hack.frob.com>
30985
30986 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30987 * nptl/smp.h: ... here.
30988
30989 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30990
30991 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30992 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30993 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30994 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30995
30996 * nptl/allocatestack.c: Include <stack-aliasing.h>.
30997 * nptl/stack-aliasing.h: New file.
30998 * sysdeps/i386/i686/stack-aliasing.h: New file.
30999 * sysdeps/i386/i686/nptl/Makefile: File removed.
31000 * sysdeps/x86_64/stack-aliasing.h: New file.
31001 * sysdeps/x86_64/nptl/Makefile
31002 (CFLAGS-pthread_create.c): Variable removed.
31003
31004 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31005 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31006 old file.
31007 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31008 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31009 old file.
31010
31011 2014-06-21 Joseph Myers <joseph@codesourcery.com>
31012
31013 * sysdeps/unix/sysv/linux/arm/kernel-features.h
31014 (__ASSUME_SIGFRAME_V2): Remove macro.
31015 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
31016 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31017 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
31018 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31019 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
31020 Declare as function. Remove conditional macro definitions.
31021 (__default_rt_sa_restorer): Likewise.
31022 (__default_sa_restorer_v1): Remove declaration.
31023 (__default_sa_restorer_v2): Likewise.
31024 (__default_rt_sa_restorer_v1): Likewise.
31025 (__default_rt_sa_restorer_v2): Likewise.
31026 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
31027 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
31028 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
31029
31030 2014-06-20 Roland McGrath <roland@hack.frob.com>
31031
31032 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
31033 (libpthread-routines): Add sysdep.
31034 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
31035 * sysdeps/unix/sysv/linux/sparc/Versions
31036 (libpthread: GLIBC_2.3.3): New version set.
31037 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
31038 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
31039 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
31040 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31041 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
31042 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
31043 Moved ...
31044 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
31045 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
31046 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
31047 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
31048 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
31049 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
31050 * sysdeps/sparc/nptl/sem_init.c: ... here.
31051 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
31052 * sysdeps/sparc/nptl/sem_post.c: ... here.
31053 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
31054 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
31055 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
31056 * sysdeps/sparc/nptl/sem_wait.c: ... here.
31057 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
31058 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
31059 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31060 (libpthread-routines): Add cpu_relax.
31061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
31062 File removed.
31063 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
31064 (librt: GLIBC_2.3.3): New version set.
31065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
31066 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
31067 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
31068 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
31069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
31070 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
31071 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
31072 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
31073 Moved ...
31074 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
31075 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
31076 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
31077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
31078 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
31079 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
31080 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
31081 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
31082 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
31083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
31084 Moved ...
31085 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
31086 Update #include.
31087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
31088 Moved ...
31089 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
31090 Update #include.
31091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
31092 Moved ...
31093 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
31094 Update #include.
31095 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
31096 Moved ...
31097 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
31098 Update #include.
31099 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
31100 Moved ...
31101 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
31102 Update #include.
31103 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
31104 Moved ...
31105 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
31106 Update #include.
31107 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
31108 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
31109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
31110 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
31111 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
31112 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
31113 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
31114 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
31115 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
31116 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
31117 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31118 Moved ...
31119 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
31120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
31121 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
31122 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
31123 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
31124
31125 2014-06-20 Joseph Myers <joseph@codesourcery.com>
31126
31127 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31128 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31129 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31130 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31131 * nscd/nscd.c: Likewise.
31132 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31133 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31134 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31135 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31136
31137 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31138 <kernel-features.h>.
31139 (init_mq_netlink): Remove conditional have_sock_cloexec
31140 definitions. Remove code conditional on have_sock_cloexec < 0.
31141 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31142 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31143 * sysdeps/unix/sysv/linux/opensock.c: Do not include
31144 <kernel-features.h>.
31145 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31146 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31147
31148 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
31149
31150 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31151 Add tests for memset_chk and memset.
31152
31153 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31154 with AVX2_Usable.
31155
31156 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
31157
31158 [BZ #16046]
31159 * elf/tst-dl-iter-static.c: New file.
31160 * elf/Makefile (tests-static): Add tst-dl-iter-static.
31161
31162 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31163 error.
31164
31165 2014-06-20 Joseph Myers <joseph@codesourcery.com>
31166
31167 * sysdeps/unix/sysv/linux/kernel-features.h
31168 (__ASSUME_F_GETOWN_EX): Remove macro.
31169 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31170 <kernel-features.h>.
31171 (miss_F_GETOWN_EX): Remove variable or macro.
31172 (do_fcntl): Do not check miss_F_GETOWN_EX.
31173 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31174
31175 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31176 Remove macro.
31177 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31178 [!__ASSUME_AT_RANDOM]: Remove conditional code.
31179 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31180
31181 * sysdeps/unix/sysv/linux/kernel-features.h
31182 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31183 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31184 [ADJ_OFFSET_SS_READ]: Make code unconditional.
31185 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31186
31187 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
31188
31189 [BZ #17075]
31190 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31191 Fix calculation of the symbol's value.
31192 * sysdeps/arm/tst-armtlsdescloc.c: New file.
31193 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31194 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31195 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31196 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31197 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31198 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31199 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31200 (modules-names): Add `tst-armtlsdescmod',
31201 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31202 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31203 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31204 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31205 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31206 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31207 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31208 ($(objpfx)tst-armtlsdescloc): New dependency.
31209 ($(objpfx)tst-armtlsdescextnow): Likewise.
31210 ($(objpfx)tst-armtlsdescextlazy): Likewise.
31211 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31212 TLS scheme support.
31213 * sysdeps/arm/configure: Regenerate.
31214
31215 2014-06-20 Joseph Myers <joseph@codesourcery.com>
31216
31217 * include/fcntl.h (__atfct_seterrno): Remove prototype.
31218 (__atfct_seterrno_2): Likewise.
31219 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31220 <kernel-features.h>.
31221 (__ASSUME_ATFCTS): Do not undefine and redefine.
31222 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31223 (__have_atfcts): Remove conditional definition.
31224 (__fxstatat([__NR_fstatat64]: Make code unconditional.
31225 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31226 unreachable if [__ASSUME_ATFCTS].
31227 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31228 not undefine and redefine.
31229 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31230 <kernel-features.h>.
31231 (faccessat) [__NR_faccessat]: Make code unconditional.
31232 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31233 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31234 <kernel-features.h>.
31235 (fchmodat) [__NR_fchmodat]: Make code unconditional.
31236 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31237 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31238 <kernel-features.h>.
31239 (fchownat) [__NR_fchownat]: Make code unconditional.
31240 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31241 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31242 <kernel-features.h>.
31243 (futimesat) [__NR_futimesat]: Make code unconditional.
31244 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31245 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31246 <kernel-features.h>.
31247 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31248 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31249 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31250 <kernel-features.h>.
31251 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31252 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31253 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31254 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31255 <kernel-features.h>.
31256 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31257 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31258 * sysdeps/unix/sysv/linux/linkat.c: Do not include
31259 <kernel-features.h>.
31260 (linkat) [__NR_linkat]: Make code unconditional.
31261 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31262 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31263 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31264 <kernel-features.h>.
31265 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31266 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31267 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31268 <kernel-features.h>.
31269 (mkdirat) [__NR_mkdirat]: Make code unconditional.
31270 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31271 * sysdeps/unix/sysv/linux/openat.c: Do not include
31272 <kernel-features.h>.
31273 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31274 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31275 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31276 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
31277 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
31278 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
31279 <kernel-features.h>.
31280 (readlinkat) [__NR_readlinkat]: Make code unconditional.
31281 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
31282 result of INLINE_SYSCALL directly, not via int variable.
31283 * sysdeps/unix/sysv/linux/renameat.c: Do not include
31284 <kernel-features.h>.
31285 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
31286 (renameat) [__NR_renameat]: Make code unconditional.
31287 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
31288 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
31289 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
31290 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
31291 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
31292 (__ASSUME_ATFCTS): Do not undefine and redefine.
31293 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
31294 <kernel-features.h>.
31295 (symlinkat) [__NR_symlinkat]: Make code unconditional.
31296 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31297 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
31298 <kernel-features.h>.
31299 (unlinkat) [__NR_unlinkat]: Make code unconditional.
31300 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31301 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
31302 (__ASSUME_ATFCTS): Do not undefine and redefine.
31303 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31304 <kernel-features.h>.
31305 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31306 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31307 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31308 <kernel-features.h>.
31309 (__xmknodat) [__NR_mknodat]: Make code unconditional.
31310 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31311
31312 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
31313
31314 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
31315
31316 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
31317
31318 [BZ #17069]
31319 * posix/regcomp.c (parse_reg_exp): Deallocate partially
31320 constructed tree before returning error.
31321 * posix/bug-regexp36.c: Expand test case.
31322
31323 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
31324
31325 [BZ #6803]
31326 * math/libm-test.inc (scalbln_test_date):
31327 Add errno expectations.
31328 * math/w_scalblnf.c: New File.
31329 Add wrapper which checks for setting errno to ERANGE.
31330 Add weak_alias for corresponding scalbln function.
31331 * math/w_scalbln.c: Likewise.
31332 * math/w_scalblnl.c: Likewise.
31333 * math/Makefile (libm-calls): Add w_scalbln.
31334 * sysdeps/ieee754/flt-32/s_scalblnf.c:
31335 Remove weak_alias for corresponding scalbln function.
31336 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31337 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31338 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31339 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31340 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
31341 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31342 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
31343 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31344 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
31345 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
31346 Remove long_double_symbol for scalblnl function in libm, libc.
31347 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
31348 Add wrapper which checks for setting errno to ERANGE.
31349 Add long_double_symbol for scalblnl function in libm, libc.
31350 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
31351 Remove long_double_symbol for scalblnl in libm.
31352 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31353 Add wrapper which checks for setting errno to ERANGE.
31354 Add long_double_symbol for scalblnl function in libm.
31355 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
31356 Do not use wrapper because of own implementation.
31357
31358 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
31359
31360 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
31361 3 bytes for __pad1 for x32.
31362 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
31363
31364 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
31365 H.J. Lu <hongjiu.lu@intel.com>
31366
31367 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
31368 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
31369 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31370 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31371 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31372
31373 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
31374
31375 [BZ #17069]
31376 * posix/regcomp.c (parse_expression): Deallocate partially
31377 constructed tree before returning error.
31378 * posix/Makefile.c (tests): Add bug-regex36.
31379 (generated): Add bug-regex36.mtrace.
31380 (tests-special): Add $(objpfx)bug-regex36-mem.out
31381 (bug-regex36-ENV): New variable.
31382 ($(objpfx)bug-regex36-mem.out): New rule.
31383 * posix/bug-regex36.c: New file.
31384
31385 2014-06-19 Will Newton <will.newton@linaro.org>
31386
31387 * malloc/malloc.c (systrim): If extra is zero then return
31388 early.
31389
31390 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31391
31392 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31393
31394 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
31395
31396 * sysdeps/aarch64/strchr.S: New file.
31397
31398 2014-06-18 Joseph Myers <joseph@codesourcery.com>
31399
31400 [BZ #17022]
31401 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31402 from arguments -2 or below.
31403 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31404 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31405
31406 2014-06-18 Andreas Schwab <schwab@suse.de>
31407
31408 [BZ #17062]
31409 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31410 of a bracket expr not to run off the end of the string.
31411 * posix/Makefile (tests): Add tst-fnmatch3.
31412 * posix/tst-fnmatch3.c: New file.
31413
31414 2014-06-18 Joseph Myers <joseph@codesourcery.com>
31415
31416 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31417 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31418 [$(cross-compiling) = no]: Likewise.
31419 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31420 [$(cross-compiling) = no]: Likewise.
31421
31422 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31423
31424 [BZ #17031]
31425 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31426 double, adjusted for any remainder from the high double.
31427 * math/libm-test.inc (nearbyint): Add tests.
31428 (rint): Likewise.
31429
31430 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31431
31432 * nptl/sysdeps/powerpc/Makefile: Moved ...
31433 * sysdeps/powerpc/nptl/Makefile: ... here.
31434 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31435 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31436 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31437 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31438 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31439 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31440 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31441 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31442 * nptl/sysdeps/powerpc/tls.h: Moved ...
31443 * sysdeps/powerpc/nptl/tls.h: ... here.
31444
31445 2014-06-16 Joseph Myers <joseph@codesourcery.com>
31446
31447 [BZ #16681]
31448 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31449 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31450 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31451 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31452 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31453 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31454 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31455 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31456 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31457
31458 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
31459
31460 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31461
31462 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
31463
31464 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31465 defined operator.
31466
31467 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31468 $TIMEOUTFACTOR.
31469
31470 2014-06-16 Florian Weimer <fweimer@redhat.com>
31471
31472 [BZ #17058]
31473 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31474 non-executed part of the test.
31475
31476 2014-06-16 Andreas Schwab <schwab@suse.de>
31477
31478 * string/bits/string2.h (strdup, strndup): Update feature guard.
31479
31480 2014-06-14 David S. Miller <davem@davemloft.net>
31481
31482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31483
31484 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
31485
31486 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31487 that was previously under [RESET_PID].
31488 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31489
31490 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31491 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31492 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31493 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31494 (__libc_vfork): New strong alias.
31495 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31496
31497 2014-06-14 Andi Kleen <ak@linux.intel.com>
31498
31499 * sysdeps/generic/elide.h: New file.
31500
31501 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
31502
31503 * Makefile (installed-headers): Adjust path of pthread.h header.
31504
31505 2014-06-13 Roland McGrath <roland@hack.frob.com>
31506
31507 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31508 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31509 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31510 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31511
31512 * nptl/sysdeps/s390/Makefile: Moved ...
31513 * sysdeps/s390/nptl/Makefile: ... here.
31514 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31515 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31516 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31517 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31518 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31519 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31520 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31521 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31522 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31523 * sysdeps/s390/nptl/pthreaddef.h: ... here.
31524 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31525 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31526 * nptl/sysdeps/s390/tls.h: Moved ...
31527 * sysdeps/s390/nptl/tls.h: ... here.
31528
31529 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31530 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31531
31532 2014-06-13 David S. Miller <davem@davemloft.net>
31533
31534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31535 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31537 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31539 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31541 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31542 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31543 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31544 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31545 Remove RESET_PID cpp guards.
31546 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31547 Remove RESET_PID cpp guards.
31548 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31549
31550 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
31551
31552 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31553 __sp to uintptr_t.
31554
31555 2014-06-13 Andi Kleen <ak@linux.intel.com>
31556
31557 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31558 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31559 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31560 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31561 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31562 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31563 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31564 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31565 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31566 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31567 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31568 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31569 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31570 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31571 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31572 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31573 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31574 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31575 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31576 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31577
31578 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31579 (pthread_rwlock_rdlock): Add elision.
31580 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31581 (pthread_rwlock_wrlock): Add elision.
31582 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31583 (pthread_rwlock_trywrlock): Add elision.
31584 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31585 (pthread_rwlock_tryrdlock): Add elision.
31586 * nptl/pthread_rwlock_unlock.c: Include elide.h.
31587 (pthread_rwlock_tryrdlock): Add elision unlock.
31588 * nptl/sysdeps/pthread/pthread.h:
31589 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31590 (PTHREAD_RWLOCK_INITIALIZER,
31591 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31592 Handle new elision field.
31593 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31594 * sysdeps/arm/nptl/bits/pthreadtypes.h
31595 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31596 * sysdeps/sh/nptl/bits/pthreadtypes.h
31597 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31598 * sysdeps/tile/nptl/bits/pthreadtypes.h
31599 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31600 * sysdeps/a/nptl/bits/pthreadtypes.h
31601 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31602 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31603 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31604 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31605 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31606 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31607 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31608 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31609 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31610 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31611 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31612 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31613 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31614 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31615 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31616 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31617 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31618 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31619 (elision_init): Set try_xbegin to zero when no RTM.
31620 * sysdeps/x86/nptl/bits/pthreadtypes.h
31621 (pthread_rwlock_t): Change __pad1 to __rwelision.
31622 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31623
31624 2014-06-13 Andi Kleen <ak@linux.intel.com>
31625
31626 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31627 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31628 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31629 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31630
31631 2014-06-13 Meador Inge <meadori@codesourcery.com>
31632
31633 [BZ #16996]
31634 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31635 that the cached result has been set before returning it.
31636
31637 2014-06-12 Roland McGrath <roland@hack.frob.com>
31638
31639 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31640 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31641 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31642 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31643 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31644 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31645
31646 * nptl/sysdeps/sparc/Makefile: Moved ...
31647 * sysdeps/sparc/nptl/Makefile: ... here.
31648 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31649 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31650 * nptl/sysdeps/sparc/tls.h: Moved ...
31651 * sysdeps/sparc/nptl/tls.h: ... here.
31652 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31653 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31654 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31655 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31656 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31657 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31658 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31659 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31660 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31661 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31662 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31663 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31664 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31665 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31666 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31667 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31668 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31669 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31670 Update #include.
31671 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31672 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31673 Update #include.
31674 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31675 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31676 Update #include.
31677 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31678 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31679 Update #include.
31680
31681 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31682
31683 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31684 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31685
31686 * sysdeps/pthread/posix-timer.h: Include <list.h>.
31687 (struct list_links): Type removed.
31688 (struct thread_node, struct timer_node): Replace struct list_links
31689 with struct list_head.
31690 (list_unlink_ip): Likewise.
31691 * sysdeps/pthread/timer_routines.c
31692 (timer_free_list, thread_free_list, thread_active_list): Likewise.
31693 (list_append, list_insbefore): Likewise.
31694 (list_init): Function removed.
31695 (thread_init, init_module): Use INIT_LIST_HEAD instead.
31696 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31697 * sysdeps/pthread/Makefile: ... here, new file.
31698
31699 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31700 * sysdeps/nptl/Implies: ... here.
31701 * sysdeps/unix/sysv/linux/Implies: Add nptl.
31702 * nptl/sysdeps/pthread/list.h: Moved ...
31703 * include/list.h: ... here.
31704 * nptl/sysdeps/pthread/createthread.c: Moved ...
31705 * nptl/createthread.c: ... here.
31706 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31707 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31708 * nptl/pt-longjmp.c: ... here.
31709 * nptl/sysdeps/pthread/Makefile: Moved ...
31710 * sysdeps/nptl/Makefile: ... here.
31711 * nptl/sysdeps/pthread/Subdirs: Moved ...
31712 * sysdeps/nptl/Subdirs: ... here.
31713 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31714 * sysdeps/nptl/aio_misc.h: ... here.
31715 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31716 * sysdeps/nptl/bits/libc-lock.h: ... here.
31717 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31718 * sysdeps/nptl/bits/libc-lockP.h: ... here.
31719 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31720 * sysdeps/nptl/bits/stdio-lock.h: ... here.
31721 * nptl/sysdeps/pthread/configure: Moved ...
31722 * sysdeps/nptl/configure: ... here.
31723 * nptl/sysdeps/pthread/configure.ac: Moved ...
31724 * sysdeps/nptl/configure.ac: ... here.
31725 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31726 * sysdeps/nptl/gai_misc.h: ... here.
31727 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31728 * sysdeps/nptl/librt-cancellation.c: ... here.
31729 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31730 * sysdeps/nptl/malloc-machine.h: ... here.
31731 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31732 * sysdeps/nptl/pthread-functions.h: ... here.
31733 * nptl/sysdeps/pthread/pthread.h: Moved ...
31734 * sysdeps/nptl/pthread.h: ... here.
31735 * nptl/sysdeps/pthread/setxid.h: Moved ...
31736 * sysdeps/nptl/setxid.h: ... here.
31737 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31738 * sysdeps/nptl/sigfillset.c: ... here.
31739 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31740 * sysdeps/nptl/tcb-offsets.h: ... here.
31741 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31742 * sysdeps/nptl/tst-mqueue8x.c: ... here.
31743 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31744 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31745 * nptl/sysdeps/pthread/allocalim.h: Moved ...
31746 * sysdeps/pthread/allocalim.h: ... here.
31747 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31748 * sysdeps/pthread/bits/sigthread.h: ... here.
31749 * nptl/sysdeps/pthread/flockfile.c: Moved ...
31750 * sysdeps/pthread/flockfile.c: ... here.
31751 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31752 * sysdeps/pthread/ftrylockfile.c: ... here.
31753 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31754 * sysdeps/pthread/funlockfile.c: ... here.
31755 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31756 * sysdeps/pthread/posix-timer.h: ... here.
31757 * nptl/sysdeps/pthread/timer_create.c: Moved ...
31758 * sysdeps/pthread/timer_create.c: ... here.
31759 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31760 * sysdeps/pthread/timer_delete.c: ... here.
31761 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31762 * sysdeps/pthread/timer_getoverr.c: ... here.
31763 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31764 * sysdeps/pthread/timer_gettime.c: ... here.
31765 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31766 * sysdeps/pthread/timer_routines.c: ... here.
31767 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31768 * sysdeps/pthread/timer_settime.c: ... here.
31769 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31770 * sysdeps/pthread/tst-timer.c: ... here.
31771 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31772 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31773
31774 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31775 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31776
31777 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31778 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31779 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31780 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31781 Update #include target.
31782 * nptl/sysdeps/i386/i686/Makefile: Moved ...
31783 * sysdeps/i386/i686/nptl/Makefile: ... here.
31784 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31785 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31786 Update #include target.
31787 * nptl/sysdeps/i386/i686/tls.h: Moved ...
31788 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
31789 * nptl/sysdeps/i386/Makefile: Moved ...
31790 * sysdeps/i386/nptl/Makefile: ... here.
31791 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31792 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31793 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31794 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31795 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31796 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31797 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31798 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31799 * sysdeps/i386/nptl/pthreaddef.h: ... here.
31800 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31801 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31802 * nptl/sysdeps/i386/tls.h: Moved ...
31803 * sysdeps/i386/nptl/tls.h: ... here.
31804
31805 * sysdeps/sh/Makefile [$(subdir) = csu]
31806 (gen-as-const-headers): Add tcb-offsets.sym.
31807 * nptl/sysdeps/sh/Makefile: File removed.
31808 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31809 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31810 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31811 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31812 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31813 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31814 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31815 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31816 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31817 * sysdeps/sh/nptl/pthreaddef.h: ... here.
31818 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31819 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31820 * nptl/sysdeps/sh/tls.h: Moved ...
31821 * sysdeps/sh/nptl/tls.h: ... here.
31822 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31823 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31824 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31825 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31826 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31827 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31828 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31829 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31830 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31831 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31832 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31833 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31834 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31835 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31836 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31837 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31838 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31839 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31840 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31841 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31842 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31843 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31844 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31845 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31846 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31847 Moved ...
31848 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31849 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31850 Moved ...
31851 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31852 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31853 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31854 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31855 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31856 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31857 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31858 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31859 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31860 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31861 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31862 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31863 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31864 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31865 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31866 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31867 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31868 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31869 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31870
31871 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31872
31873 * posix/spawn_faction_addopen.c: Include string.h.
31874
31875 2014-06-11 Roland McGrath <roland@hack.frob.com>
31876
31877 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31878 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31879 * nptl/sysdeps/x86_64/Makefile: Moved ...
31880 * sysdeps/x86_64/nptl/Makefile: ... here.
31881 * nptl/sysdeps/x86_64/configure: Moved ...
31882 * sysdeps/x86_64/nptl/configure: ... here.
31883 * nptl/sysdeps/x86_64/configure.ac: Moved ...
31884 * sysdeps/x86_64/nptl/configure.ac: ... here.
31885 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31886 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31887 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31888 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31889 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31890 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31891 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31892 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31893 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31894 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31895 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31896 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31897 * nptl/sysdeps/x86_64/tls.h: Moved ...
31898 * sysdeps/x86_64/nptl/tls.h: ... here.
31899 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31900 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31901 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31902 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31903
31904 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31905
31906 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31907
31908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31909
31910 2014-06-11 Joseph Myers <joseph@codesourcery.com>
31911
31912 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31913 type.
31914 [POSIX] (off_t): Likewise.
31915 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31916 [POSIX] (S_ISBLK): Require macro.
31917 [POSIX] (S_ISCHR): Likewise.
31918 [POSIX] (S_ISDIR): Likewise.
31919 [POSIX] (S_ISFIFO): Likewise.
31920 [POSIX] (S_ISREG): Likewise.
31921 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31922 optional-macro.
31923 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31924 type.
31925 [POSIX] (time_t): Likewise.
31926 [POSIX] (timer_t): Likewise.
31927
31928 2014-06-11 Florian Weimer <fweimer@redhat.com>
31929
31930 [BZ #17048]
31931 * posix/spawn_int.h (struct __spawn_action): Make the path string
31932 non-const to support deallocation.
31933 * posix/spawn_faction_addopen.c
31934 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31935 * posix/spawn_faction_destroy.c
31936 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
31937 path in all spawn_do_open actions.
31938 * posix/tst-spawn.c (do_test): Exercise the copy operation in
31939 posix_spawn_file_actions_addopen.
31940
31941 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
31942
31943 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31944 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31945 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31946 conditional code always true.
31947 (__libc_vfork): New alias.
31948
31949 2014-06-11 Roland McGrath <roland@hack.frob.com>
31950
31951 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31952 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31953
31954 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31955
31956 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31957 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31958
31959 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31960 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31961
31962 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31963 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31964
31965 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31966
31967 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31968 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31969 multiarch strcmp for PPC64.
31970 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31971 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31973 multiarch optimizations.
31974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31975 (__libc_ifunc_impl_list): Likewise.
31976
31977 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31978
31979 * benchtests/scripts/validate_benchout.py: New script.
31980 * benchtests/Makefile (bench-func): Call it.
31981 * benchtests/scripts/benchout.schema.json: New file.
31982
31983 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
31984
31985 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31986 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31987 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31988 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31989 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31990 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31991 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31992 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31993 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31994 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31995 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31996 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31997 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31998 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31999 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32000 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32002 Moved ...
32003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32004 ... here.
32005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32006 Moved ...
32007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32009 Moved ...
32010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32011 ... here.
32012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
32013 Moved ...
32014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
32015 ... here.
32016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
32017 Moved ...
32018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
32019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
32020 Moved ...
32021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
32022 ... here.
32023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
32024 Moved ...
32025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
32026 ... here.
32027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
32028 Moved ...
32029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
32030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
32031 Moved ...
32032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
32033 ... here.
32034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
32035 Moved ...
32036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
32037 ... here.
32038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
32039 Moved ...
32040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
32041 ... here.
32042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
32043 Moved ...
32044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
32045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
32046 Moved ...
32047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
32048 ... here.
32049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
32050 Moved ...
32051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
32052 ... here.
32053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
32054 Moved ...
32055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
32056 ... here.
32057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
32058 Moved ...
32059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
32060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
32061 Moved ...
32062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
32063 ... here.
32064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
32065 Moved ...
32066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
32067 ... here.
32068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
32069 Moved ...
32070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
32071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
32072 Moved ...
32073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
32074 ... here.
32075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
32076 Moved ...
32077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
32078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
32079 Moved ...
32080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
32081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
32082 Moved ...
32083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
32084 ... here.
32085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
32086 Moved ...
32087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
32088 ... here.
32089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
32090 Moved ...
32091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
32092 ... here.
32093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
32094 Moved ...
32095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
32096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
32097 Moved ...
32098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
32099 ... here.
32100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
32101 Moved ...
32102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
32103 ... here.
32104 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
32105 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
32106 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
32107 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
32108 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
32109 Moved ...
32110 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
32111 ... here.
32112 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
32113 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
32114 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
32115 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
32116 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
32117 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
32118 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
32119 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
32120 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
32121 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
32122 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
32123 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
32124 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
32125 Moved ...
32126 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32127 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32128 Moved ...
32129 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32130 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32131 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32132 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32133 Moved ...
32134 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32135 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32136 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32137 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32138 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32139 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32140 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32141
32142 2014-06-10 Wilco <wdijkstr@arm.com>
32143
32144 * math/test-fenv-return.c: New file.
32145 * math/Makefile: Add new test test-fenv-return.
32146
32147 2014-06-10 Joseph Myers <joseph@codesourcery.com>
32148
32149 [BZ #17042]
32150 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32151 when x - 1 is zero.
32152 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32153 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32154 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32155 0.0L for an argument of 1.0L.
32156 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32157 Likewise.
32158 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32159 value when x - 1 is zero.
32160 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32161 * sysdeps/i386/fpu/libm-test-ulps: Update.
32162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32163
32164 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
32165
32166 [BZ #15119]
32167 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32168
32169 2014-06-09 Roland McGrath <roland@hack.frob.com>
32170
32171 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32172 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32173
32174 2014-06-09 Roland McGrath <roland@hack.frob.com>
32175
32176 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32177 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32178
32179 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32180 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32181
32182 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32183 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32184
32185 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32186 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32187
32188 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32189 if not already defined.
32190 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32191 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32192 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32193 (TLS_INIT_TP): Use it.
32194 (TLS_DEFINE_INIT_TP): New macro.
32195 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32196
32197 2014-06-09 Joseph Myers <joseph@codesourcery.com>
32198
32199 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32200 constant.
32201 [POSIX] (IXANY): Likewise.
32202 [POSIX] (OLCUC): Likewise.
32203 [POSIX || POSIX2008] (CBAUD): Do not allow.
32204 [POSIX || POSIX2008] (DEFECHO): Likewise.
32205 [POSIX || POSIX2008] (ECHOCTL): Likewise.
32206 [POSIX || POSIX2008] (ECHOKE): Likewise.
32207 [POSIX || POSIX2008] (ECHOPRT): Likewise.
32208 [POSIX || POSIX2008] (EXTA): Likewise.
32209 [POSIX || POSIX2008] (EXTB): Likewise.
32210 [POSIX || POSIX2008] (FLUSHO): Likewise.
32211 [POSIX || POSIX2008] (LOBLK): Likewise.
32212 [POSIX || POSIX2008] (PENDIN): Likewise.
32213 [POSIX || POSIX2008] (SWTCH): Likewise.
32214 [POSIX || POSIX2008] (VDISCARD): Likewise.
32215 [POSIX || POSIX2008] (VDSUSP): Likewise.
32216 [POSIX || POSIX2008] (VLNEXT): Likewise.
32217 [POSIX || POSIX2008] (VREPRINT): Likewise.
32218 [POSIX || POSIX2008] (VSTATUS): Likewise.
32219 [POSIX || POSIX2008] (VWERASE): Likewise.
32220 (B*): Change to B[0123456789]*.
32221 * conform/data/time.h-data [POSIX || UNIX98]
32222 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32223 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32224 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32225 [POSIX] (tm_*): Do not allow.
32226
32227 2014-06-07 Joseph Myers <joseph@codesourcery.com>
32228
32229 * Makefile (install): Don't set LANGUAGE.
32230 * Makefile.in (install): Likewise.
32231 * assert/Makefile (test-assert-ENV): Remove variable.
32232 (test-assert-perr-ENV): Likewise.
32233 * elf/Makefile (neededtest4-ENV): Likewise.
32234 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32235 [$(cross-compiling) = no]: Don't set LANGUAGE.
32236 * io/ftwtest-sh (LANG): Remove variable.
32237 * libio/Makefile (tst-widetext-ENV): Likewise.
32238 * manual/install.texi (Running make install): Don't refer to
32239 environment settings for make install.
32240 * INSTALL: Regenerated.
32241 * nptl/tst-tls6.sh: Don't set LANG.
32242 * posix/globtest.sh (LANG): Remove variable.
32243 * string/Makefile (tester-ENV): Likewise.
32244 (inl-tester-ENV): Likewise.
32245 (noinl-tester-ENV): Likewise.
32246 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32247 [$(cross-compiling) = no]: Don't set LANGUAGE.
32248 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32249 without explicit environment settings.
32250
32251 2014-06-06 Roland McGrath <roland@hack.frob.com>
32252
32253 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32254 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32255 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32256 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32257
32258 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
32259
32260 * crypt/crypt-private.h [DOS]: Add some includes taken from the
32261 other files in the crypt directory.
32262 * crypt/crypt.c: Remove duplicate includes.
32263 * crypt/crypt-entry.c: Likewise.
32264 * crypt/crypt_util.c: Likewise.
32265
32266 2014-06-06 Joseph Myers <joseph@codesourcery.com>
32267
32268 * Makeconfig (run-program-env): New variable.
32269 (run-program-prefix-before-env): Likewise.
32270 (run-program-prefix-after-env): Likewise.
32271 (run-program-prefix): Define in terms of new variables.
32272 (built-program-cmd-before-env): New variable.
32273 (built-program-cmd-after-env): Likewise.
32274 (built-program-cmd): Define in terms of new variables.
32275 (test-program-prefix-before-env): New variable.
32276 (test-program-prefix-after-env): Likewise.
32277 (test-program-prefix): Define in terms of new variables.
32278 (test-program-cmd-before-env): New variable.
32279 (test-program-cmd-after-env): Likewise.
32280 (test-program-cmd): Define in terms of new variables.
32281 * Rules (make-test-out): Use $(run-program-env).
32282 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
32283 (help): Do not mention environment variables. Mention
32284 --timeoutfactor option.
32285 (timeoutfactor): New variable.
32286 (blacklist_exports): Remove function.
32287 (exports): Remove variable.
32288 (command): Do not include ${exports}.
32289 * manual/install.texi (Configuring and compiling): Do not mention
32290 test wrappers preserving environment variables. Mention that last
32291 assignment to a variable must take precedence.
32292 * INSTALL: Regenerated.
32293 * benchtests/Makefile (run-bench): Use $(run-program-env).
32294 * catgets/Makefile ($(objpfx)test1.cat): Use
32295 $(built-program-cmd-before-env), $(run-program-env) and
32296 $(built-program-cmd-after-env).
32297 ($(objpfx)test2.cat): Do not specify environment variables
32298 explicitly.
32299 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
32300 $(run-program-env) and $(built-program-cmd-after-env).
32301 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
32302 $(run-program-env) and $(test-program-cmd-after-env).
32303 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
32304 explicitly.
32305 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
32306 run_program_env and test_program_cmd_after_env arguments.
32307 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
32308 * elf/tst-pathopt.sh: Use run_program_env argument.
32309 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
32310 $(test-wrapper-env) and $(run-program-env).
32311 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
32312 run_program_env arguments.
32313 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
32314 * intl/Makefile ($(objpfx)tst-gettext.out): Use
32315 $(test-program-prefix-before-env), $(run-program-env) and
32316 $(test-program-prefix-after-env).
32317 ($(objpfx)tst-gettext2.out): Likewise.
32318 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
32319 run_program_env and test_program_prefix_after_env arguments.
32320 * intl/tst-gettext2.sh: Likewise.
32321 * intl/tst-gettext4.sh: Do not set environment variables
32322 explicitly.
32323 * intl/tst-gettext6.sh: Likewise.
32324 * intl/tst-translit.sh: Likewise.
32325 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
32326 $(test-program-prefix-before-env), $(run-program-env) and
32327 $(test-program-prefix-after-env).
32328 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
32329 run_program_env and test_program_prefix_after_env arguments.
32330 * math/Makefile (run-regen-ulps): Use $(run-program-env).
32331 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
32332 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
32333 explicitly with each use of ${test_wrapper_env}.
32334 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
32335 $(test-program-prefix-before-env), $(run-program-env) and
32336 $(test-program-prefix-after-env).
32337 * posix/tst-getconf.sh: Do not set environment variables
32338 explicitly.
32339 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
32340 run_program_env and test_program_prefix_after_env arguments.
32341 * stdio-common/tst-printf.sh: Do not set environment variables
32342 explicitly.
32343 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
32344 $(test-program-prefix-before-env), $(run-program-env) and
32345 $(test-program-prefix-after-env).
32346 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
32347 run_program_env and test_program_prefix_after_env arguments.
32348 Split $test calls into $test_pre and $test.
32349 * timezone/Makefile (build-testdata): Use
32350 $(built-program-cmd-before-env), $(run-program-env) and
32351 $(built-program-cmd-after-env).
32352
32353 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32354
32355 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
32356 strlen for non SHARED builds.
32357
32358 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32359
32360 * nptl/allocatestack.c (check_list): Inlined function...
32361 (__reclaim_stacks): ... here.
32362
32363 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
32364
32365 [BZ #15698]
32366 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32367 memory overrun.
32368
32369 2014-06-05 Joseph Myers <joseph@codesourcery.com>
32370
32371 * Rules (make-test-out): Include
32372 LOCPATH=$(common-objpfx)localedata in default environment.
32373 * debug/Makefile (tst-chk1-ENV): Remove variable.
32374 (tst-chk2-ENV): Likewise.
32375 (tst-chk3-ENV): Likewise.
32376 (tst-chk4-ENV): Likewise.
32377 (tst-chk5-ENV): Likewise.
32378 (tst-chk6-ENV): Likewise.
32379 (tst-lfschk1-ENV): Likewise.
32380 (tst-lfschk2-ENV): Likewise.
32381 (tst-lfschk3-ENV): Likewise.
32382 (tst-lfschk4-ENV): Likewise.
32383 (tst-lfschk5-ENV): Likewise.
32384 (tst-lfschk6-ENV): Likewise.
32385 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32386 (tst-iconv7-ENV): Likewise.
32387 * intl/Makefile (LOCPATH-ENV): Likewise.
32388 (tst-codeset-ENV): Likewise.
32389 (tst-gettext3-ENV): Likewise.
32390 (tst-gettext5-ENV): Likewise.
32391 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32392 (tst-fopenloc-ENV): Likewise.
32393 (tst-fgetws-ENV): Remove variable.
32394 (tst-ungetwc1-ENV): Likewise.
32395 (tst-ungetwc2-ENV): Likewise.
32396 (bug-ungetwc2-ENV): Likewise.
32397 (tst-swscanf-ENV): Likewise.
32398 (bug-ftell-ENV): Likewise.
32399 (tst-fgetwc-ENV): Likewise.
32400 (tst-fseek-ENV): Likewise.
32401 (tst-ftell-partial-wide-ENV): Likewise.
32402 (tst-ftell-active-handler-ENV): Likewise.
32403 (tst-ftell-append-ENV): Likewise.
32404 * posix/Makefile (tst-fnmatch-ENV): Likewise.
32405 (tst-regexloc-ENV): Likewise.
32406 (bug-regex1-ENV): Likewise.
32407 (tst-regex-ENV): Likewise.
32408 (tst-regex2-ENV): Likewise.
32409 (bug-regex5-ENV): Likewise.
32410 (bug-regex6-ENV): Likewise.
32411 (bug-regex17-ENV): Likewise.
32412 (bug-regex18-ENV): Likewise.
32413 (bug-regex19-ENV): Likewise.
32414 (bug-regex20-ENV): Likewise.
32415 (bug-regex22-ENV): Likewise.
32416 (bug-regex23-ENV): Likewise.
32417 (bug-regex25-ENV): Likewise.
32418 (bug-regex26-ENV): Likewise.
32419 (bug-regex30-ENV): Likewise.
32420 (bug-regex32-ENV): Likewise.
32421 (bug-regex33-ENV): Likewise.
32422 (bug-regex34-ENV): Likewise.
32423 (bug-regex35-ENV): Likewise.
32424 (tst-rxspencer-ENV): Likewise.
32425 (tst-rxspencer-no-utf8-ENV): Likewise.
32426 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32427 (tst-sscanf-ENV): Likewise.
32428 (tst-swprintf-ENV): Likewise.
32429 (tst-swscanf-ENV): Likewise.
32430 (test-vfprintf-ENV): Likewise.
32431 (scanf13-ENV): Likewise.
32432 (bug14-ENV): Likewise.
32433 (tst-grouping-ENV): Likewise.
32434 * stdlib/Makefile (tst-strtod-ENV): Likewise.
32435 (tst-strtod3-ENV): Likewise.
32436 (tst-strtod4-ENV): Likewise.
32437 (tst-strtod5-ENV): Likewise.
32438 (testmb2-ENV): Likewise./
32439 * string/Makefile (tst-strxfrm-ENV): Likewise.
32440 (tst-strxfrm2-ENV): Likewise.
32441 (bug-strcoll1-ENV): Likewise.
32442 (test-strcasecmp-ENV): Likewise.
32443 (test-strncasecmp-ENV): Likewise.
32444 * time/Makefile (tst-strptime-ENV): Likewise.
32445 (tst-ftime_l-ENV): Likewise.
32446 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32447 (tst-mbrtowc-ENV): Likewise.
32448 (tst-wcrtomb-ENV): Likewise.
32449 (tst-mbrtowc2-ENV): Likewise.
32450 (tst-c16c32-1-ENV): Likewise.
32451 (tst-mbsnrtowcs-ENV): Likewise.
32452
32453 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
32454
32455 * manual/resource.texi (How to get information about the memory
32456 subsystem?): Fix typo.
32457 Reported by Peon de la Parra Ivan <peon@keba.com>
32458
32459 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
32460
32461 [BZ #16882]
32462 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32463 (pthread_spin_lock): Branch out of spin loop to proper location.
32464 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32465 (pthread_spin_lock): Likewise.
32466
32467 * nptl/tst-spin4.c: New test.
32468 * nptl/Makefile (tests): Add tst-spin4.
32469
32470 2014-06-03 Andreas Schwab <schwab@suse.de>
32471
32472 [BZ #15946]
32473 * resolv/res_send.c (send_dg): Reload file descriptor after
32474 calling reopen.
32475
32476 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
32477
32478 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32479
32480 2014-06-03 Richard Henderson <rth@redhat.com>
32481
32482 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32483 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32484 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32485 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
32486 in the SAVE_PID block.
32487 (__libc_vfork): New alias.
32488 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32489
32490 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32491 child in registers, not on the stack. Remove RESET_PID conditionals.
32492 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32493
32494 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
32495
32496 * sysdeps/aarch64/libm-test-ulps: Regenerate.
32497
32498 2014-06-03 Wilco <wdijkstr@arm.com>
32499
32500 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32501 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32502 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32503 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32504 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32505 Likewise.
32506
32507 2014-06-03 Wilco <wdijkstr@arm.com>
32508
32509 * sysdeps/aarch64/fpu/math_private.h
32510 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32511 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32512 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32513 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32514 Fix declarations.
32515
32516 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
32517
32518 * crypt/crypt-private.h: Include ufc-crypt.h.
32519 (__b64_from_24bit): Declare extern.
32520 * crypt/crypt_util.c(__b64_from_24bit): New function.
32521 (b64t): New static const variable.
32522 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32523 (b64t): Remove variable.
32524 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32525 * crypt/sha256-crypt.c: Include crypt-private.h.
32526 (b64t): Remove variable.
32527 (__sha256_crypt_r): Remove b64_from_24bit and replace
32528 with __b64_from_24bit.
32529 * crypt/sha512-crypt.c: Likewise.
32530
32531 2014-06-02 Roland McGrath <roland@hack.frob.com>
32532
32533 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32534 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32535 Label the code __libc_vfork rather than __vfork.
32536 [!NOT_IN_libc] (vfork): Define as weak alias.
32537 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32538 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32539 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32540
32541 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32542
32543 * malloc/malloc.c (malloc_info): Fix format specifier for
32544 n_mmaps.
32545
32546 2014-06-02 Wilco <wdijkstr@arm.com>
32547
32548 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32549 FPCR write.
32550
32551 2014-06-02 Wilco <wdijkstr@arm.com>
32552
32553 [BZ #17009]
32554 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32555 Rewrite to reduce FPCR/FPSR accesses.
32556
32557 2014-06-01 David S. Miller <davem@davemloft.net>
32558
32559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32560
32561 2014-05-31 David S. Miller <davem@davemloft.net>
32562
32563 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32564 to occur in round to nearest mode when |x| >= 2.0
32565
32566 2014-05-30 Richard Henderson <rth@twiddle.net>
32567
32568 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32569 (PSEUDO_RET_NOERRNO): Remove.
32570 (ret): Don't redefine.
32571 (ret_NOERRNO): Define in terms of ret.
32572 (ret_ERRVAL): Likewise.
32573
32574 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32575 use of PSEUDO_RET; perform the error check directly.
32576
32577 2014-05-30 Marko Myllynen <myllynen@redhat.com>
32578
32579 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32580 with __int128_t.
32581
32582 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32583
32584 * malloc/malloc (malloc_info): Fix formatting.
32585
32586 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32587 Roland McGrath <roland@hack.frob.com>
32588
32589 * malloc/malloc (malloc_info): Also print mmapped statistics.
32590
32591 2014-05-30 Roland McGrath <roland@hack.frob.com>
32592
32593 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32594 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32595
32596 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
32597
32598 * malloc/malloc.c (malloc_info): Inline mi_arena.
32599
32600 2014-05-29 Richard Henderson <rth@twiddle.net>
32601
32602 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32603 Remove comma before expanding ASM_ARGS_##nr.
32604 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32605 Make _x0 a strict output; make _x8 a strict input; adjust expansion
32606 of ASM_ARGS_##nr.
32607 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32608 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32609 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32610 (ASM_ARGS_1): Add leading comma.
32611
32612 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32613 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32614 to __errno_location.
32615 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32616 Remove the expected plt for __errno_location.
32617
32618 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32619 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32620 call to __read_tp.
32621
32622 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32623 Always allocate 64 bytes of stack frame. Use ldp/stp to create
32624 it and break it down.
32625 (DOCARGS_0, DOCARGS_1): Do nothing.
32626 (DOCARGS_2): Update to store into the new stack frame.
32627 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32628 (UNDOCARGS_1): Update to restore from the new stack frame.
32629 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32630 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32631
32632 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32633 (SINGLE_THREAD_P): New parameter for result regno.
32634 (PSEUDO): Update to match; use cbz instead of beq.
32635
32636 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32637 Use ENTRY to define the _nocancel entry point. Share the syscall
32638 and syscall error check paths with the cancel path.
32639 (PSEUDO_END): New.
32640
32641 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32642 whitespace; tabs before and after asm mnemonics.
32643
32644 2014-05-29 Eric Wong <normalperson@yhbt.net>
32645
32646 [BZ #15132]
32647 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32648 Call fstat64 or stat64 internally, depending on arguments passed.
32649 Replace stat buffer argument with file descriptor argument.
32650 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32651 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32652 Pass fd to __internal_statvfs instead of calling fstat64.
32653 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32654 Pass fd to __internal_statvfs64 instead of calling fstat64.
32655 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32656 Pass -1 to __internal_statvfs instead of calling stat64.
32657 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32658 Pass -1 to __internal_statvfs64 instead of calling stat64.
32659
32660 2014-05-28 Roland McGrath <roland@hack.frob.com>
32661
32662 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32663 that was previously under [RESET_PID].
32664 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32665
32666 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32667 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32668
32669 2014-05-27 Roland McGrath <roland@hack.frob.com>
32670
32671 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32672
32673 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32674 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32675
32676 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
32677
32678 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32679
32680 2014-05-27 Andreas Schwab <schwab@suse.de>
32681
32682 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32683 TLS_INIT_TP macro.
32684 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32685 * elf/rtld.c (init_tls, dl_main): Likewise.
32686 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32687 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32688 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32689 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32690 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32691 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32692 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32693 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32694 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32695 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32696 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32697 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32698 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32699 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32700 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32701 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32702 * sysdeps/generic/tls.h: Update description.
32703
32704 2014-05-27 Will Newton <will.newton@linaro.org>
32705
32706 [BZ #16990]
32707 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32708 and restore r2 rather than just restoring.
32709
32710 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32711
32712 [BZ #16724]
32713 * libio/tst-ftell-append.c: New test case.
32714 * libio/Makefile (tests): Add test case.
32715 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32716 append mode.
32717 * libio/wfileops.c (do_ftell_wide): Likewise.
32718
32719 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32720
32721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32722
32723 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32724 ...
32725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32727 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32728 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32729 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32730 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32731 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32732 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32733 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32734 Moved ...
32735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32736 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32737 Moved ...
32738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32739 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32740 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32741 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32742 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32743 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32744 ...
32745 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32746 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32747 Moved ...
32748 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32749 here.
32750 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32751 ...
32752 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32753 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32754 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32755
32756 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32757 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32758 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32759 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32760
32761 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32762 merge into ...
32763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32764 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32765 ...
32766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32767 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32768 ...
32769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32770 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32771 Moved ...
32772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32773 here.
32774 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32775 Moved ...
32776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32777 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32778 Moved ...
32779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32780
32781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32782 conditional [RESET_PID].
32783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32784 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32785 removed.
32786 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32787 removed.
32788
32789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32790 <tcb-offsets.h>.
32791 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32792 (__libc_vfork): New strong alias.
32793 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32794 removed.
32795 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32796 Removed.
32797
32798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32799 <tcb-offsets.h>.
32800 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32801 (__libc_vfork): New strong alias.
32802 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32803 removed.
32804 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32805 removed.
32806
32807 2014-05-26 Carlos O'Donell <carlos@redhat.com>
32808
32809 * malloc/malloc.c (mi_arena): New function.
32810 (malloc_info): Remove nested function mi_arena. Call non-nosted
32811 function mi_arena.
32812
32813 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32814
32815 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32816 by insrwi.
32817 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32818 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32819 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32820 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32821 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32822 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32823 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32824
32825 2014-05-26 Andreas Schwab <schwab@suse.de>
32826
32827 [BZ #16984]
32828 * locale/programs/repertoire.c (repertoire_read): Add slash
32829 between I18NPATH element and file name.
32830 * locale/programs/locfile.c (locfile_read): Likewise.
32831
32832 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
32833
32834 * nptl/pthread_mutexattr_settype.c
32835 (__pthread_mutexattr_settype):
32836 Disable lock elision for PTHREAD_MUTEX_NORMAL.
32837
32838 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
32839
32840 * nptl/tst-mutex5 (do_test):
32841 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32842
32843 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32844
32845 * benchtests/README: Document 'init' directive.
32846 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32847 BENCH_INIT.
32848 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32849 (parse_file): Recognize 'init' directive.
32850
32851 2014-05-26 Kyle McMartin <kyle@redhat.com>
32852
32853 [BZ #16796]
32854 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32855 alignment of struct pthread.
32856
32857 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32858
32859 [BZ #16878]
32860 * nscd/netgroupcache.c (addgetnetgrentX): Look for
32861 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32862 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32863 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32864
32865 2014-05-25 Richard Henderson <rth@twiddle.net>
32866
32867 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32868 (SINGLE_THREAD_P_PIC): Remove.
32869 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32870 (SINGLE_THREAD_P_PIC): Remove.
32871
32872 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32873 branch to syscall error ...
32874 (PSEUDO): ... here.
32875 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32876 from __local_syscall_error to .Lsyscall_error.
32877 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32878 (SYSCALL_ERROR): Update label name.
32879
32880 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32881 Do not use DOARGS/UNDOARGS.
32882 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32883 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32884 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32885 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32886 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32887
32888 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32889 block comment.
32890
32891 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32892 define if !NOT_IN_libc.
32893 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32894 define with non-default symbol versions.
32895
32896 2014-05-23 Richard Henderson <rth@twiddle.net>
32897
32898 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32899 (vfork, __vfork): Define via compat_symbol.
32900
32901 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32902 [!HAVE_IFUNC] (vfork_compat): Remove.
32903 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32904
32905 2014-05-23 Joseph Myers <joseph@codesourcery.com>
32906
32907 [BZ #16978]
32908 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32909 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32910 variable.
32911
32912 2014-05-23 Richard Henderson <rth@twiddle.net>
32913
32914 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32915 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32916 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32917 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32918
32919 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32920 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32921 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32922 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32923 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32924 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32925 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32926 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32927 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32928 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32929 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32930 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32931 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32932 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32933 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32934 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32935 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32936 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32937 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32938 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32939 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32940 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32941 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32942 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32943 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32944 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32945 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32946 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32947 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32948 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32949 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32950 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32951 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32952 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32953 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32954 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32955 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32956 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32957 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32958 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32959 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32960 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32961 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32962 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32963 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32964 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32965 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32966 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32967 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32968 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32969 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32970 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32971 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32972 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32973 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32974 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32975
32976 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32977 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32978 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
32979 before exiting on error.
32980 (__libc_vfork): New strong alias.
32981 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32982 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32983
32984 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32985 that was previously under [RESET_PID].
32986 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32987
32988 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32989
32990 2014-05-23 Joseph Myers <joseph@codesourcery.com>
32991
32992 [BZ #16977]
32993 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32994 value when x - 1 is zero.
32995 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32996 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32997 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32998 0.0L for an argument of 1.0L.
32999 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33000 Likewise.
33001 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33002 value when x - 1 is zero.
33003 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33004 * sysdeps/i386/fpu/libm-test-ulps: Update.
33005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33006
33007 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
33008
33009 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33010 alphasort and versionsort.
33011
33012 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33013
33014 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
33015 macro.
33016 [copysignf]: Likewise.
33017
33018 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33019
33020 * crypt/md5-crypt.c: Fix formatting.
33021
33022 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
33023
33024 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
33025 (b64_from_24bit): New function.
33026
33027 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33028
33029 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
33030 libc_hidden_builtin_def to ifunc.
33031 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33032 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
33033
33034 2014-05-21 Roland McGrath <roland@hack.frob.com>
33035
33036 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
33037 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
33038
33039 2014-05-21 Joseph Myers <joseph@codesourcery.com>
33040
33041 * nscd/Depend (linuxthreads): Remove.
33042 (nptl): Add.
33043 * resolv/Depend (linuxthreads): Remove.
33044 * rt/Depend (linuxthreads): Remove.
33045
33046 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
33047 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
33048 $(common-objpfx)elf/.
33049 (link-libc-before-gnulib): Likewise.
33050 (elfobjdir): Remove variable.
33051 * Makefile (install): Use $(elf-objpfx) instead of
33052 $(common-objpfx)elf/.
33053 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
33054 $(elfobjdir)/.
33055 (link-libc-deps): Likewise.
33056 ($(common-objpfx)libc.so): Likewise.
33057 ($(common-objpfx)linkobj/libc.so): Likewise.
33058 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
33059 instead of $(common-objpfx)elf/.
33060 (symbolic-link-list): Likewise.
33061 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33062 [$(cross-compiling) = no]: Likewise.
33063 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
33064 $(elfobjdir)/.
33065 (static-gnulib-arch): Likewise.
33066 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33067 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
33068 $(common-objpfx)elf/.
33069
33070 2014-05-21 Richard Henderson <rth@redhat.com>
33071
33072 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33073 (SINGLE_THREAD_P): Use the correct width load. Fold
33074 into the ldr offset.
33075
33076 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
33077 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
33078
33079 2014-05-20 Joseph Myers <joseph@codesourcery.com>
33080
33081 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
33082 (libgcc_s_resume): Use __attribute_used__.
33083 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
33084 Likewise.
33085
33086 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33087
33088 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
33089 optimization when used with float constants.
33090
33091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33092
33093 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
33094
33095 [BZ #16915]
33096 * locale/nl_langinfo_l.c: Make direct reference to every
33097 _nl_current_CATEGORY symbol.
33098 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
33099 (tests-static): Add tst-langinfo-static.
33100 (tests-special): Add tst-langinfo-static.out.
33101 ($(objpfx)tst-langinfo.out): Redirect output.
33102 ($(objpfx)tst-langinfo-static.out): New.
33103 * localedata/tst-langinfo.sh: Send output to stdout.
33104 * localedata/tst-langinfo-static.c: New file.
33105
33106 [BZ #16965]
33107 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
33108 when the shift amount is modulo the limb size.
33109
33110 2014-05-20 Richard Henderson <rth@redhat.com>
33111
33112 [BZ #16967]
33113 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
33114 Change type of sa_flags from unsigned int to int.
33115
33116 [BZ #16966]
33117 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
33118
33119 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
33120
33121 2014-05-20 Will Newton <will.newton@linaro.org>
33122
33123 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33124 Test the return value of the system call in the nocancel case.
33125
33126 2014-05-20 Will Newton <will.newton@linaro.org>
33127 Yvan Roux <yvan.roux@linaro.org>
33128
33129 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33130 #include of asm/ptrace.h.
33131 (PTRACE_GET_THREAD_AREA): Remove #undef.
33132 (PTRACE_GETHBPREGS): Likewise.
33133 (PTRACE_SETHBPREGS): Likewise.
33134 (struct user_regs_struct): New structure.
33135 (struct user_fpsimd_struct): New structure.
33136 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33137 #include of asm/ptrace.h and second #include of sys/user.h.
33138 (PTRACE_GET_THREAD_AREA): Remove #undef.
33139 (PTRACE_GETHBPREGS): Likewise.
33140 (PTRACE_SETHBPREGS): Likewise.
33141 (ELF_NGREG): Use new struct user_regs_struct.
33142 (elf_fpregset_t): Use new struct user_fpsimd_struct.
33143
33144 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33145
33146 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33147 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33148
33149 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
33150
33151 [BZ #16958]
33152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33153 membar to avoid block loads/stores to overlap previous stores.
33154
33155 2014-05-17 Richard Henderson <rth@redhat.com>
33156
33157 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33158 Create the __##syscall_name##_nocancel entry point.
33159 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33160 Remove; let the sysdep-cancel.h code create it.
33161
33162 2014-05-17 David S. Miller <davem@davemloft.net>
33163
33164 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33165 Protect with __USE_GNU.
33166 (TIOCSET_TEMPT): Likewise.
33167 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33168 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33169 these are already provided in bits/ioctl-types.h
33170
33171 2014-05-16 Roland McGrath <roland@hack.frob.com>
33172
33173 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33174 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33175
33176 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33177 Use wait4 regardless of [__NR_waitpid].
33178
33179 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
33180
33181 PR libgcc/60166
33182 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33183 (_FP_NANSIGN_Q): Set the quiet bit.
33184
33185 2014-05-16 Joseph Myers <joseph@codesourcery.com>
33186
33187 * benchtests/Makefile
33188 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33189 not $(common-objpfx)math/libm.so.
33190 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33191 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33192 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33193 $(common-objpfx)dlfcn/libdl.so.
33194 ($(objpfx)tst-audit8): Depend on $(libm), not
33195 $(common-objpfx)math/libm.so.
33196 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33197 not $(common-objpfx)dlfcn/libdl.so.
33198 * math/Makefile
33199 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33200 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
33201 [$(build-shared) = yes].
33202 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33203 $(common-objpfx)nptl/libpthread.so.
33204 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33205 $(common-objpfx)math/libm.so$(libm.so-version) or
33206 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33207 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33208 $(common-objpfx)dlfcn/libdl.so.
33209 * setjmp/Makefile (link-libm): Remove variable.
33210 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33211 * stdio-common/Makefile (link-libm): Remove variable.
33212 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33213 * stdlib/Makefile (link-libm): Remove variable.
33214 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33215 ($(objpfx)tst-strtod-round): Likewise.
33216 ($(objpfx)tst-tininess): Likewise.
33217 ($(objpfx)tst-strtod-underflow): Likewise.
33218 ($(objpfx)tst-strtod6): Likewise.
33219 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33220 $(libdl), not $(common-objpfx)nptl/libpthread.so and
33221 $(common-objpfx)dlfcn/libdl.so.
33222
33223 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33224
33225 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33226 BSD terminal modes definitions.
33227
33228 2014-05-16 Roland McGrath <roland@hack.frob.com>
33229
33230 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33231 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33232
33233 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33234 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33235 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33236 Don't do #include_next.
33237 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33238 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33239 Don't do #include_next.
33240 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33241 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33242 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33243 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33244
33245 2014-05-16 Allan McRae <allan@archlinux.org>
33246
33247 * po/sv.po: Update Swedish translation from translation project.
33248
33249 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33250 in sed expression.
33251
33252 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
33253
33254 [BZ #16917]
33255 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33256 errno if the TIOCGPTN ioctl fails with an error different than
33257 EINVAL.
33258 * login/tst-ptsname.c: New file.
33259 * login/Makefile (tests): Add tst-ptsname.
33260
33261 [BZ #16943]
33262 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33263 and prlimit64.
33264
33265 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33266
33267 [BZ #16849]
33268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33269 herrno to return EAI_AGAIN.
33270
33271 2014-05-14 Roland McGrath <roland@hack.frob.com>
33272
33273 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33274 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33275 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33276 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
33277 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
33278 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33279 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
33280 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
33281 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
33282 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
33283 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
33284 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
33285 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
33286 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
33287 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
33288 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
33289 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
33290 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
33291 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
33292 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
33293 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
33294 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
33295 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
33296 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
33297 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
33298 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
33299 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
33300 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
33301 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
33302 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
33303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
33304 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
33305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
33306 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
33307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33308 Moved ...
33309 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
33310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
33311 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
33312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
33313 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
33314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
33315 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
33316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
33317 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
33318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
33319 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
33320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
33321 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
33322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
33323 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
33324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
33325 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
33326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
33327 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
33328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
33329 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
33330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
33331 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
33332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
33333 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
33334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
33335 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
33336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33337 Moved ...
33338 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
33339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
33340 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
33341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
33342 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
33343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
33344 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
33345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
33346 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
33347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
33348 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
33349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
33350 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
33351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
33352 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
33353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
33354 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
33355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
33356 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
33357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33358 Moved ...
33359 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
33360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
33361 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
33362
33363 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
33364 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
33365 (libpthread-sysdep_routines): Add elision-related stuff here instead.
33366 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
33367 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
33368 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
33369 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
33370 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
33371 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
33372 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33373 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33374 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33375 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33376 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33377 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33378 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33379 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33380 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33381 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33382 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33383 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33384 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33385 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33386 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33387 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33388 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33389 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33390 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33391 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33392 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33393 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33394
33395 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33396 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33397
33398 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33399 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33400 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33401 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33402 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33403 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33404 Moved ...
33405 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33406 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33407 Moved ...
33408 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33409 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33410 Moved ...
33411 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33412 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33413 Moved ...
33414 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33415 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33416 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33417 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33418 Moved ...
33419 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33420 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33421 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33422 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33423 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33424 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33425 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33426 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33427 Moved ...
33428 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33429 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33430 Moved ...
33431 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33432 ... here.
33433 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33434 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33435 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33436 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33437 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33438 Moved ...
33439 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33440 ... here.
33441 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33442 Moved ...
33443 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33444 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33445 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33446 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33447 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33448 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33449 Moved ...
33450 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33451 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33452 Moved ...
33453 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33454 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33455 Moved ...
33456 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33457 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33458 Moved ...
33459 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33460 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33461 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33462 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33463 Moved ...
33464 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33465 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33466 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33467 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33468 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33469 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33470 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33471 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33472 Moved ...
33473 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33474 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33475 Moved ...
33476 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33477 ... here.
33478 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33479 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33480 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33481 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33482 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33483 Moved ...
33484 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33485 ... here.
33486 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33487 Moved ...
33488 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33489 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33490 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33491 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33492 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33493 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33494 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33495 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33496 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33497 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33498 Moved ...
33499 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33500 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33501 Moved ...
33502 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33503 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33504 Moved ...
33505 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33506 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33507 Moved ...
33508 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33509 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33510 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33511 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33512 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33513 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33514 Moved ...
33515 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33516 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33517 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33518 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33519 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33520 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33521 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33522 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33523 Moved ...
33524 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33525 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33526 Moved ...
33527 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33528 ... here.
33529 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33530 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33531 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33532 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33533 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33534 Moved ...
33535 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33536 ... here.
33537 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33538 Moved ...
33539 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33540 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33541 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33542 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33543 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33544 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33545 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33546 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33547 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33548 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33549 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33550
33551 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33552 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33553
33554 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33555 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33556
33557 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33558 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33559 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33560 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33561 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33562 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33563 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33564 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33565 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33566 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33567 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33568 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33569 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33570 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33571 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33572 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33573 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33574 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33575 Moved ...
33576 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33577 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33578 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33579 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33580 Moved ...
33581 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33582 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33583 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33584 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33585 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33586 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33587 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33588 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33589 Moved ...
33590 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33591 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33592 Moved ...
33593 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33594 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33595 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33596 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33597 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33598 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33599 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33600 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33601 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33602 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33603 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33604 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33605 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33606 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33607 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33608 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33609 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33610
33611 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33612 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33613 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33614 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33615 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33616
33617 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33618 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33619 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33620 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33621 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33622 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33623 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33624 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33625 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33626 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33627
33628 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33629 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33630
33631 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33632 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33633 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33634 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33635 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33636 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33637 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33638 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33639 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33640 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33641 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33642 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33643 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33644 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33645 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33646 Update #include.
33647 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33648 Likewise.
33649 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33650 Likewise.
33651 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33652 Likewise.
33653 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33654 Likewise.
33655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33656 Likewise.
33657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33658 Likewise.
33659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33660 Likewise.
33661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33662 Likewise.
33663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33664 Likewise.
33665 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33666 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33667 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33668 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33669 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33670 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33671 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33672 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33673 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33674 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33675 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33676 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33677 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33678 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
33679 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
33680
33681 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33682 that was previously under [RESET_PID].
33683 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33684 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33685 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33686
33687 * sysdeps/i386/nptl/Implies: New file.
33688 * sysdeps/x86_64/nptl/Implies: New file.
33689 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33690 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33691 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33692 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33693
33694 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33695 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33696 (__libc_vfork): New strong alias.
33697 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33698 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33699
33700 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33701 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33702 (__libc_vfork): New strong alias.
33703 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33704 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33705
33706 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33707 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33708 (__libc_vfork): New strong alias.
33709 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33710 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33711 * nptl/pt-vfork.c: New file.
33712 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33713 (libpthread: GLIBC_2.20): New version set (empty).
33714
33715 2014-05-14 Will Newton <will.newton@linaro.org>
33716
33717 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33718 rather than #if.
33719
33720 2014-05-14 Joseph Myers <joseph@codesourcery.com>
33721
33722 [BZ #16564]
33723 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33724 arguments with exponent 65 or above.
33725 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33726 arguments 0x1p113L or above.
33727 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33728 to arguments 0x1p107L or above.
33729 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33730 positive arguments with exponent 65 or above.
33731 * math/auto-libm-test-in: Add more tests of log1p.
33732 * math/auto-libm-test-out: Regenerated.
33733
33734 [BZ #16928]
33735 * math/s_cacos.c (__cacos): Ensure zero real part of result from
33736 non-finite arguments is +0.
33737 * math/s_cacosf.c (__cacosf): Likewise.
33738 * math/s_cacosl.c (__cacosl): Likewise.
33739 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33740 * sysdeps/i386/fpu/libm-test-ulps: Update.
33741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33742
33743 [BZ #16927]
33744 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33745 value.
33746 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33747 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33748 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33749 for explicit high bit of mantissa when testing for argument equal
33750 to 1.
33751 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33752 * sysdeps/i386/fpu/libm-test-ulps: Update.
33753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33754
33755 [BZ #16516]
33756 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33757 (__erf): Scale by 16 instead of 8 in potentially underflowing
33758 case. Ensure exception if result actually underflows.
33759 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33760 (__erff): Scale by 16 instead of 8 in potentially underflowing
33761 case. Ensure exception if result actually underflows.
33762 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33763 (efx8): Remove variable.
33764 (__erfl): Scale by 16 instead of 8 in potentially underflowing
33765 case. Ensure exception if result actually underflows.
33766 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33767 (efx8): Remove variable.
33768 (__erfl): Scale by 16 instead of 8 in potentially underflowing
33769 case. Ensure exception if result actually underflows.
33770 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33771 (efx8): Remove variable.
33772 (__erfl): Scale by 16 instead of 8 in potentially underflowing
33773 case. Ensure exception if result actually underflows.
33774 * math/auto-libm-test-in: Add more tests of erf.
33775 * math/auto-libm-test-out: Regenerated.
33776
33777 2014-05-14 Andreas Schwab <schwab@suse.de>
33778
33779 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33780 Remove code conditionalized on USE___THREAD.
33781
33782 * config.h.in (HAVE_PT_CHOWN): Define as 0.
33783 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33784 not definedness.
33785
33786 2014-05-14 Joseph Myers <joseph@codesourcery.com>
33787
33788 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33789 Define unconditionally.
33790 (__ASSUME_O_CLOEXEC): Likewise.
33791 (__ASSUME_SOCK_CLOEXEC): Likewise.
33792 (__ASSUME_IN_NONBLOCK): Likewise.
33793 (__ASSUME_PIPE2): Likewise.
33794 (__ASSUME_EVENTFD2): Likewise.
33795 (__ASSUME_SIGNALFD4): Likewise.
33796 (__ASSUME_DUP3): Likewise.
33797 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33798 (__ASSUME_DUP3): Do not define.
33799 (__ASSUME_EVENTFD2): Likewise.
33800 (__ASSUME_IN_NONBLOCK): Likewise.
33801 (__ASSUME_O_CLOEXEC): Likewise.
33802 (__ASSUME_PIPE2): Likewise.
33803 (__ASSUME_SIGNALFD4): Likewise.
33804 (__ASSUME_SOCK_CLOEXEC): Likewise.
33805 (__ASSUME_UTIMES): Undefine.
33806 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33807 (__ASSUME_UTIMES): Do not define.
33808 (__ASSUME_O_CLOEXEC): Likewise.
33809 (__ASSUME_SOCK_CLOEXEC): Likewise.
33810 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33811 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33812 0x020621].
33813 (__ASSUME_PIPE2): Likewise.
33814 (__ASSUME_EVENTFD2): Likewise.
33815 (__ASSUME_SIGNALFD4): Likewise.
33816 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33817 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33818 Do not define.
33819 (__ASSUME_EVENTFD2): Likewise.
33820 (__ASSUME_SIGNALFD4): Likewise.
33821 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33822 (__ASSUME_32BITUIDS): Likewise.
33823 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33824 (__ASSUME_IPC64): Likewise.
33825 (__ASSUME_ST_INO_64_BIT): Likewise.
33826 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33827 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33828 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33829 (__ASSUME_UTIMES): Do not define.
33830 (__ASSUME_PSELECT): Likewise.
33831 (__ASSUME_PPOLL): Likewise.
33832 (__ASSUME_O_CLOEXEC): Likewise.
33833 (__ASSUME_SOCK_CLOEXEC): Likewise.
33834 (__ASSUME_IN_NONBLOCK): Likewise.
33835 (__ASSUME_PIPE2): Likewise.
33836 (__ASSUME_EVENTFD2): Likewise.
33837 (__ASSUME_SIGNALFD4): Likewise.
33838 (__ASSUME_DUP3): Likewise.
33839 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33840 (__ASSUME_UTIMES): Likewise.
33841 (__ASSUME_O_CLOEXEC): Likewise.
33842 (__ASSUME_SOCK_CLOEXEC): Likewise.
33843 (__ASSUME_IN_NONBLOCK): Likewise.
33844 (__ASSUME_PIPE2): Likewise.
33845 (__ASSUME_EVENTFD2): Likewise.
33846 (__ASSUME_SIGNALFD4): Likewise.
33847 (__ASSUME_DUP3): Likewise.
33848 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33849 (__ASSUME_UTIMES): Likewise.
33850 (__ASSUME_O_CLOEXEC): Likewise.
33851 (__ASSUME_SOCK_CLOEXEC): Likewise.
33852 (__ASSUME_IN_NONBLOCK): Likewise.
33853 (__ASSUME_PIPE2): Likewise.
33854 (__ASSUME_EVENTFD2): Likewise.
33855 (__ASSUME_SIGNALFD4): Likewise.
33856 (__ASSUME_DUP3): Likewise.
33857 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33858 Likewise.
33859 (__ASSUME_UTIMES): Likewise.
33860 (__ASSUME_EVENTFD2): Likewise.
33861 (__ASSUME_SIGNALFD4): Likewise.
33862 * sysdeps/unix/sysv/linux/tile/kernel-features.h
33863 (__ASSUME_O_CLOEXEC): Likewise.
33864 (__ASSUME_SOCK_CLOEXEC): Likewise.
33865 (__ASSUME_IN_NONBLOCK): Likewise.
33866 (__ASSUME_PIPE2): Likewise.
33867 (__ASSUME_EVENTFD2): Likewise.
33868 (__ASSUME_SIGNALFD4): Likewise.
33869 (__ASSUME_DUP3): Likewise.
33870 (__ASSUME_UTIMES): Undefine.
33871
33872 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33873 feclearexcept. Remove symbol versioning code.
33874 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
33875 symbol versioning code.
33876 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
33877 symbol versioning code.
33878 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33879 feupdateenv. Remove symbol versioning code.
33880 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33881 fegetexceptflag. Remove symbol versioning code.
33882 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33883 fesetexceptflag. Remove symbol versioning code.
33884 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33885 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
33886 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33887 (__posix_fadvise64_l32): Remove prototype.
33888 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33889 code.
33890
33891 2014-05-13 Roland McGrath <roland@hack.frob.com>
33892
33893 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33894 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33895 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33896 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33897
33898 2014-05-13 Sami Kerola <kerolasa@iki.fi>
33899
33900 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33901 current working directory
33902
33903 2014-05-13 Roland McGrath <roland@hack.frob.com>
33904
33905 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33906 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33907 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33908 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33909 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33910 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33911 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33912 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33913 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33914 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33915 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33916 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33917 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33918 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33919 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33920 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33921 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33922 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33923 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33924 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33925 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33926 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33927 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33928 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33929 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33930 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33931 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33932 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33933 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33934 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33935 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33936 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33937 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33938 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33939 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33940 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33941 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33942 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33943 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33944 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33945 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33946 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33947
33948 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33949 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33950
33951 * sysdeps/unix/sysv/linux/arm/Makefile
33952 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33953 Add rt-aeabi_unwind_cpp_pr1.
33954 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33955 Add nptl-aeabi_unwind_cpp_pr1.
33956 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33957 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33958 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33959 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33960 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33961 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33962
33963 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33964 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33965 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33966 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33967
33968 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33969 Deconditionalize the code that was previously under [RESET_PID].
33970 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33971
33972 * sysdeps/generic/exit-thread.h: New file.
33973 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33974 * include/unistd.h (__exit_thread): Remove declaration.
33975 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33976 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33977 * csu/libc-start.c: Include <exit-thread.h>.
33978 (LIBC_START_MAIN): Pass no argument to __exit_thread.
33979 * nptl/pthread_create.c: Include <exit-thread.h>.
33980 (start_thread): Call __exit_thread in place of __exit_thread_inline.
33981 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33982 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33983 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33984 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33985 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33986 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33987 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33988 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33989 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33990 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33991 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33992 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33993 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33994 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33995 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33996 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33997
33998 2014-05-13 Andreas Schwab <schwab@suse.de>
33999
34000 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34001
34002 2014-05-12 Joseph Myers <joseph@codesourcery.com>
34003
34004 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34005 (__ASSUME_UTIMES): Do not condition on kernel version.
34006 (__ASSUME_PSELECT): Define unconditionally.
34007 (__ASSUME_PPOLL): Likewise.
34008 (__ASSUME_ATFCTS): Likewise.
34009 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34010 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34011 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34012 (__ASSUME_UTIMENSAT): Define unconditionally.
34013 (__ASSUME_PRIVATE_FUTEX): Likewise.
34014 (__ASSUME_FALLOCATE): Likewise.
34015 (__ASSUME_O_CLOEXEC): Likewise.
34016 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
34017 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
34018 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
34019 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
34020 (__ASSUME_IN_NONBLOCK): Likewise.
34021 (__ASSUME_PIPE2): Likewise.
34022 (__ASSUME_EVENTFD2): Likewise.
34023 (__ASSUME_SIGNALFD4): Likewise.
34024 (__ASSUME_DUP3): Likewise.
34025 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34026 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
34027 (__ASSUME_AT_RANDOM): Likewise.
34028 (__ASSUME_PREADV): Likewise.
34029 (__ASSUME_PWRITEV): Likewise.
34030 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34031 (__ASSUME_F_GETOWN_EX): Define unconditionally.
34032 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
34033 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34034 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
34035 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34036 (__ASSUME_O_CLOEXEC): Define unconditionally.
34037 (__ASSUME_PSELECT): Do not undefine conditionally.
34038 (__ASSUME_PPOLL): Likewise.
34039 (__ASSUME_ATFCTS): Likewise.
34040 (__ASSUME_SET_ROBUST_LIST): Likewise.
34041 (__ASSUME_UTIMENSAT): Likewise.
34042 (__ASSUME_FDATASYNC): Define unconditionally.
34043 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34044 (__ASSUME_SIGFRAME_V2): Likewise.
34045 )__ASSUME_EVENTFD2): Likewise.
34046 (__ASSUME_SIGNALFD4): Likewise.
34047 (__ASSUME_PSELECT): Do not undefine conditionally.
34048 (__ASSUME_PPOLL): Likewise.
34049 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34050 (__ASSUME_PSELECT): Define unconditionally.
34051 (__ASSUME_PPOLL): Likewise.
34052 (__ASSUME_O_CLOEXEC): Likewise.
34053 (__ASSUME_SOCK_CLOEXEC): Likewise.
34054 (__ASSUME_IN_NONBLOCK): Likewise.
34055 (__ASSUME_PIPE2): Likewise.
34056 (__ASSUME_EVENTFD2): Likewise.
34057 (__ASSUME_SIGNALFD4): Likewise.
34058 (__ASSUME_DUP3): Likewise.
34059 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34060 (__ASSUME_O_CLOEXEC): Likewise.
34061 (__ASSUME_SOCK_CLOEXEC): Likewise.
34062 (__ASSUME_IN_NONBLOCK): Likewise.
34063 (__ASSUME_PIPE2): Likewise.
34064 (__ASSUME_EVENTFD2): Likewise.
34065 (__ASSUME_SIGNALFD4): Likewise.
34066 (__ASSUME_DUP3): Likewise.
34067 * sysdeps/unix/sysv/linux/mips/kernel-features.h
34068 (__ASSUME_EVENTFD2): Likewise.
34069 (__ASSUME_SIGNALFD4): Likewise.
34070 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34071
34072 2014-05-12 Andreas Schwab <schwab@suse.de>
34073
34074 [BZ #16932]
34075 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
34076 (_nss_nis_gethostbyname4_r): Return error if item length is larger
34077 than maximum RPC packet size.
34078 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
34079 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
34080 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
34081 (_nss_nis_getservbyport_r): Likewise.
34082
34083 2014-05-12 Will Newton <will.newton@linaro.org>
34084
34085 * malloc/Makefile (tests): Add tst-mallopt.
34086 * malloc/tst-mallopt.c: New file.
34087
34088 2014-05-09 Roland McGrath <roland@hack.frob.com>
34089
34090 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
34091 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
34092
34093 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34094
34095 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
34096 (tst-tlsmod6.so): Likewise.
34097
34098 2014-05-09 Roland McGrath <roland@hack.frob.com>
34099
34100 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
34101
34102 2014-05-09 Joseph Myers <joseph@codesourcery.com>
34103
34104 [BZ #16064]
34105 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
34106 and <dl-procinfo.h>.
34107 (__fegetenv): Save SSE state in envp->__eip if supported.
34108 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
34109 envp->__eip if supported.
34110 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
34111 and <dl-procinfo.h>.
34112 (__fesetenv): Always set __eip, __cs_selector, __opcode,
34113 __data_offset and __data_selector in environment to 0. Set SSE
34114 state if supported.
34115 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
34116 test-fenv-sse.
34117 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
34118 -mfpmath=sse.
34119 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
34120
34121 2014-05-09 Will Newton <will.newton@linaro.org>
34122
34123 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
34124 and libc_relro_required for ARM.
34125 * sysdeps/arm/preconfigure: Regenerate.
34126
34127 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
34128 Stefan Liebler <stli@linux.vnet.ibm.com>
34129
34130 * config.make.in (enable-lock-elision): New Makefile variable.
34131 * configure.ac: Likewise.
34132 * configure: Regenerate.
34133 * sysdeps/s390/configure.ac:
34134 Add check for gcc transactions support.
34135 * sysdeps/s390/configure: Regenerate.
34136 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34137 Build elision files if enabled.
34138 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34139 Add lock elision support for s390.
34140 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34141 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34142 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34143 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34144 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34145 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34146 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34147 Likewise.
34148 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34149 Likewise.
34150 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34151 Likewise.
34152 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34153 Likewise.
34154 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34155 (__lll_timedlock_elision, __lll_lock_elision)
34156 (__lll_unlock_elision, __lll_trylock_elision)
34157 (lll_timedlock_elision, lll_lock_elision)
34158 (lll_unlock_elision, lll_trylock_elision): Add.
34159 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34160 (pthread_mutex_t): Add lock elision support for s390.
34161
34162 2014-05-14 Wilco <wdijkstr@arm.com>
34163
34164 * sysdeps/arm/fclrexcpt.c: Cleanup.
34165 * sysdeps/arm/fedisblxcpt.c: Cleanup.
34166 * sysdeps/arm/feenablxcpt.c: Cleanup.
34167 * sysdeps/arm/fegetenv.c: Cleanup.
34168 * sysdeps/arm/fegetexcept.c: Cleanup.
34169 * sysdeps/arm/fegetround.c: Cleanup.
34170 * sysdeps/arm/feholdexcpt.c: Cleanup.
34171 * sysdeps/arm/fesetenv.c: Cleanup.
34172 * sysdeps/arm/fesetround.c: Cleanup.
34173 * sysdeps/arm/feupdateenv.c: Cleanup.
34174 * sysdeps/arm/fgetexcptflg.c: Cleanup.
34175 * sysdeps/arm/fraiseexcpt.c: Cleanup.
34176 * sysdeps/arm/fsetexcptflg.c: Cleanup.
34177 * sysdeps/arm/ftestexcept.c: Cleanup.
34178 * sysdeps/arm/get-rounding-mode.h: Cleanup.
34179 * sysdeps/arm/setfpucw.c: Cleanup.
34180
34181 2014-05-09 Will Newton <will.newton@linaro.org>
34182
34183 * sysdeps/arm/armv7/strcmp.S: New file.
34184 * NEWS: Mention addition of ARMv7 optimized strcmp.
34185
34186 2014-05-08 Roland McGrath <roland@hack.frob.com>
34187
34188 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34189 look for %.ac rather than %.in.
34190
34191 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34192 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34193 * sysdeps/mach/hurd/configure: Regenerated.
34194 * sysdeps/unix/sysv/linux/configure: Regenerated.
34195
34196 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34197
34198 2014-05-07 Steve Ellcey <sellcey@mips.com>
34199
34200 [BZ# 16922]
34201 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34202 (LONG_SUB): Ditto.
34203 (PTR_SUB): Ditto.
34204
34205 2014-05-07 Andreas Schwab <schwab@suse.de>
34206
34207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34208 when skipping over non-matching result from nscd.
34209
34210 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
34211
34212 [BZ #16876]
34213 * nptl/sockperf.c (client): Check socket return value.
34214
34215 [BZ #16877]
34216 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34217 nscd security class.
34218
34219 2014-05-06 Roland McGrath <roland@hack.frob.com>
34220
34221 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34222 * sysdeps/arm/unwind.h: ... here.
34223
34224 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
34225
34226 [BZ# 16916]
34227 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34228 Define.
34229
34230 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
34231
34232 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34233 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34234 multiarch strncpy for PPC64.
34235 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34236 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34238 multiarch optimizations.
34239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34240 (__libc_ifunc_impl_list): Likewise.
34241 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34242 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34243 multiarch stpncpy for PPC64.
34244 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34245 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34246
34247 2014-05-06 Andreas Schwab <schwab@suse.de>
34248
34249 [BZ #16912]
34250 * gmon/mcount.c (_MCOUNT_DECL): Use
34251 atomic_compare_and_exchange_bool_acq instead of
34252 catomic_compare_and_exchange_bool_acq.
34253
34254 2014-05-05 Roland McGrath <roland@hack.frob.com>
34255
34256 * elf/Makefile (others, install-bin): Remove pldd.
34257 (pldd-modules): Variable removed.
34258 ($(objpfx)pldd): Target removed.
34259 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34260 (others, install-bin): Append pldd here.
34261 ($(objpfx)pldd): New target.
34262
34263 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34264 to 0, so the first #if test emitted later doesn't see it undefined.
34265 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34266 * sysdeps/gnu/errlist.c: Regenerated.
34267
34268 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34269
34270 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34271 [libc_hidden_builtin_def]: Define to empty value.
34272 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34273 [libc_hidden_builtin_def]: Likewise.
34274 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34275 [libc_hidden_builtin_def]: Likewise.
34276 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
34277 [libc_hidden_builtin_def]: Likewise.
34278 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
34279 __redirect_memcpy and define ifunc as default hidden symbol.
34280 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
34281 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
34282
34283 2014-05-04 Adam Conrad <adconrad@0c3.net>
34284
34285 * locale/iso-4217.def: Reintroduce XDR currency.
34286
34287 2014-05-04 Allan McRae <allan@archlinux.org>
34288
34289 * po/eo.po: Update Esperanto translation from translation project.
34290
34291 2014-05-02 Carlos O'Donell <carlos@redhat.com>
34292
34293 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
34294 and FEATURE_INDEX_MAX to 1.
34295 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
34296
34297 2014-05-01 Steve Ellcey <sellcey@mips.com>
34298
34299 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
34300 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
34301 * iconvdata/big5.c (ONE_DIRECTION): Define.
34302 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
34303 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
34304 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
34305 * iconvdata/cp932.c (ONE_DIRECTION): Define.
34306 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
34307 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
34308 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
34309 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
34310 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
34311 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
34312 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
34313 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
34314 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
34315 * iconvdata/gbk.c (ONE_DIRECTION): Define.
34316 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
34317 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
34318 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
34319 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
34320 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
34321 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
34322 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
34323 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
34324 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
34325 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
34326 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
34327 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
34328 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
34329 * iconvdata/iso646.c (ONE_DIRECTION): Define.
34330 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
34331 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
34332 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
34333 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
34334 * iconvdata/johab.c (ONE_DIRECTION): Define.
34335 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
34336 * iconvdata/sjis.c (ONE_DIRECTION): Define.
34337 * iconvdata/t.61.c (ONE_DIRECTION): Define.
34338 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
34339 * iconvdata/tscii.c (ONE_DIRECTION): Define.
34340 * iconvdata/uhc.c (ONE_DIRECTION): Define.
34341 * iconvdata/unicode.c (ONE_DIRECTION): Define.
34342 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
34343 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
34344 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
34345
34346 2014-05-01 Roland McGrath <roland@hack.frob.com>
34347
34348 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
34349 (_IO_JUMPS_OFFSET): Define to 0.
34350
34351 * nptl/sysdeps/pthread/bits/libc-lock.h
34352 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34353 (__libc_lock_define_initialized_recursive): Always define using
34354 initializer. Modern compilers treat uninitialized (implicit zero) and
34355 explicit zero initializers the same (i.e. put the datum in bss).
34356
34357 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
34358
34359 * nscd/nscd-client.h: Include <string.h>.
34360
34361 2014-05-01 David S. Miller <davem@davemloft.net>
34362
34363 [BZ #16885]
34364 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
34365 multiple zero bytes exist at the end of a string.
34366 Reported by Aurelien Jarno <aurelien@aurel32.net>
34367
34368 * string/test-strcmp.c (check): Add explicit test for situations where
34369 there are multiple zero bytes after the first.
34370
34371 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
34372
34373 [BZ #16890]
34374 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34375 when compiling wprintf.
34376 * stdio-common/tstdiomisc.c (t3): New function.
34377 (main): Call it.
34378
34379 2014-05-01 Steve Ellcey <sellcey@mips.com>
34380
34381 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34382 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34383 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34384 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34385
34386 2014-05-01 Steve Ellcey <sellcey@mips.com>
34387
34388 * stdlib/longlong.h: Updated from GCC.
34389
34390 2014-05-01 Will Newton <will.newton@linaro.org>
34391 Bernard Ogden <bernie.ogden@linaro.org>
34392
34393 * NEWS: Update fixed bug list.
34394
34395 [BZ #15119]
34396 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34397
34398 2014-04-30 David S. Miller <davem@davemloft.net>
34399
34400 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34401 (libc_feholdexcept_setround_sparc_ctx): New function.
34402 (libc_fesetenv_sparc_ctx): Likewise.
34403 (libc_feupdateenv_sparc_ctx): Likewise.
34404 (libc_feholdsetround_sparc_ctx): Likewise.
34405 (libc_feholdexcept_setround_ctx): Define.
34406 (libc_feholdexcept_setroundf_ctx): Likewise.
34407 (libc_feholdexcept_setroundl_ctx): Likewise.
34408 (libc_fesetenv_ctx): Likewise.
34409 (libc_fesetenvf_ctx): Likewise.
34410 (libc_fesetenvl_ctx): Likewise.
34411 (libc_feupdateenv_ctx): Likewise.
34412 (libc_feupdateenvf_ctx): Likewise.
34413 (libc_feupdateenvl_ctx): Likewise.
34414 (libc_feresetround_ctx): Likewise.
34415 (libc_feresetroundf_ctx): Likewise.
34416 (libc_feresetroundl_ctx): Likewise.
34417 (libc_feholdsetround_ctx): Likewise.
34418 (libc_feholdsetroundf_ctx): Likewise.
34419 (libc_feholdsetroundl_ctx): Likewise.
34420
34421 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34422 with __USE_GNU instead of XOPEN cpp guards.
34423
34424 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34425 0.
34426
34427 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34428 with XOPEN cpp guards.
34429
34430 2014-04-30 Julian Brown <julian@codesourcery.com>
34431
34432 [BZ #16888]
34433 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34434 handling.
34435
34436 2014-04-30 Joseph Myers <joseph@codesourcery.com>
34437
34438 [BZ #9894]
34439 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34440 Change to 2.6.32.
34441 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34442 * sysdeps/unix/sysv/linux/configure: Regenerated.
34443 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34444 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34445 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34446 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34447 * README: Update reference to required Linux kernel version.
34448 * manual/install.texi (Linux): Update reference to required Linux
34449 kernel headers version.
34450 * INSTALL: Regenerated.
34451
34452 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34453 header inclusion.
34454 [POSIX] (limits.h): Likewise.
34455 [POSIX] (math.h): Likewise.
34456 [POSIX] (sys/wait.h): Likewise.
34457 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34458 function.
34459 [POSIX] (stddef.h): Do not allow header inclusion.
34460
34461 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34462
34463 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34464
34465 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
34466
34467 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34468 Return immediately after lll_futex_wake.
34469
34470 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34471
34472 [BZ #16791]
34473 * nscd/nscd-client.h (datahead_init_common): Initialize entire
34474 structure.
34475 (datahead_init_pos): Call datahead_init_common early.
34476 (datahead_init_neg): Likewise.
34477
34478 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34479 datahead_init_neg): New functions.
34480 * nscd/aicache.c (addhstaiX): Use them.
34481 * nscd/grpcache.c (cache_addgr): Likewise.
34482 * nscd/hstcache.c (cache_addhst): Likewise.
34483 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34484 * nscd/netgroupcache.c (do_notfound): Likewise.
34485 (addgetnetgrentX): Likewise.
34486 (addinnetgrX): Likewise.
34487 * nscd/pwdcache.c (cache_addpw): Likewise.
34488 * nscd/servicescache.c (cache_addserv): Likewise.
34489
34490 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34491 Atsushi Onoe <atsushi@onoe.org>
34492
34493 [BZ #14308]
34494 [BZ #12994]
34495 [BZ #13651]
34496 * resolv/res_query.c (__libc_res_nsearch): Return if at least
34497 one response is valid.
34498 * resolv/res_send.c (send_dg): Check for validity of other
34499 response if the current response is a referral.
34500
34501 2014-04-29 Steve Ellcey <sellcey@mips.com>
34502
34503 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34504
34505 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
34506
34507 [BZ #16823]
34508 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34509 Always divide by positive zero when computing -Inf result.
34510 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34511 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34512
34513 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34514
34515 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34516 FPSCR if value do not change.
34517 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34518 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34519 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34520 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34521 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34522 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34523 function.
34524
34525 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
34526
34527 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34528 * sysdeps/unix/sysv/linux/hppa: Move directory from
34529 ports/systeps/unix/sysv/linux/hppa.
34530 * README: Update listing for hppa-*-linux-gnu.
34531
34532 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
34533
34534 [BZ #16754]
34535 * manual/stdio.texi (Hook functions): Fix types of stream hook
34536 functions.
34537 [BZ #16854]
34538 * socket/sys/socket.h: Fix typo in comment.
34539
34540 2014-04-28 Wilco <wdijkstr@arm.com>
34541
34542 * sysdeps/arm/fenv_private.h: New file.
34543 * sysdeps/arm/math_private.h: New file.
34544 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34545
34546 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
34547
34548 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34549 with __int128_t.
34550 (La_x86_64_retval): Likewise.
34551
34552 2014-04-24 Ian Bolton <ian.bolton@arm.com>
34553
34554 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34555 fpsr if value didn't change.
34556 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34557 to fpcr if value didn't change.
34558 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34559 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34560 fpsr or fpcr if value didn't change.
34561 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34562 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34563 fpcr if value didn't change.
34564 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34565 to fpsr if value didn't change.
34566
34567 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34568
34569 * nptl/tst-sem3.c: Use test-skeleton.c
34570 (main): Rename to do_test. Use return instead of
34571 exit.
34572 * nptl/tst-sem4.c: Use test-skeleton.c
34573 (main): Rename to do_test.
34574
34575 2014-04-22 David S. Miller <davem@davemloft.net>
34576
34577 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34578 (struct sigaction): New struct member __glibc_reserved0, change
34579 type of sa_flags to int.
34580
34581 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
34582
34583 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34584 (COUNT_LEADING_ZEROS_0): Define for AArch64.
34585
34586 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34587
34588 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34589 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34590
34591 2014-04-22 Will Newton <will.newton@linaro.org>
34592 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
34593
34594 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34595 (__longjmp): Add longjmp and longjmp_target SystemTap
34596 probes.
34597 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34598 (__sigsetjmp): Add setjmp SystemTap probe.
34599
34600 2014-04-17 Carlos O'Donell <carlos@redhat.com>
34601
34602 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34603 match manual order.
34604
34605 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34606
34607 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34608
34609 * sysdeps/powerpc/fpu/fenv_private.h
34610 (libc_feholdexcept_setroundl_ctx): Define to
34611 libc_feholdexcept_setround_ppc_ctx.
34612 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34613 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34614 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34615 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34616
34617 2014-04-17 Ian Bolton <ian.bolton@arm.com>
34618
34619 * sysdeps/aarch64/math-tests.h: New file.
34620
34621 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
34622
34623 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34624 New.
34625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34626 Check and set bit_AVX2_Usable.
34627 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34628 macro.
34629 (bit_AVX2): Likewise.
34630 (index_AVX2_Usable): Likewise.
34631 (CPUID_AVX2): Likewise.
34632 (HAS_AVX2): Likewise.
34633
34634 2014-04-17 Will Newton <will.newton@linaro.org>
34635
34636 * manual/setjmp.texi (System V contexts): Add note that
34637 calling setcontext on a context created by a call to a
34638 signal handler is undefined. Update text to note that
34639 setcontext from a signal handler is possible but not
34640 recommended.
34641
34642 [BZ #16629]
34643 * stdlib/tst-setcontext.c: Include signal.h.
34644 (main): Check that the signal stack before and
34645 after swapcontext is the same.
34646
34647 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34648 Re-implement to restore registers in user code and avoid
34649 rt_sigreturn system call.
34650
34651 2014-04-17 Wilco <wdijkstr@arm.com>
34652
34653 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34654 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34655 * math/test-fenv.c: Skip exception trap tests on targets which only
34656 support non-stop mode.
34657
34658 2014-04-17 Ian Bolton <ian.bolton@arm.com>
34659 Wilco Dijkstra <wilco.dijkstra@arm.com>
34660
34661 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34662 (libc_feholdsetround_aarch64_ctx)
34663 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34664 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34665 (libc_feresetround_ctx, libc_feresetroundf_ctx)
34666 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34667 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34668 (libc_feresetround_noexl_ctx): Define.
34669
34670 2014-04-16 Richard Henderson <rth@redhat.com>
34671
34672 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34673
34674 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34675 unwind tables.
34676
34677 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34678 const from the non-libc, non-ldso copy.
34679
34680 * sysdeps/alpha/libm-test-ulps: Regenerate.
34681
34682 2014-04-16 Ian Bolton <ian.bolton@arm.com>
34683 Wilco Dijkstra <wilco.dijkstra@arm.com>
34684
34685 * sysdeps/aarch64/fpu/math_private.h: New file.
34686
34687 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
34688
34689 * sysdeps/aarch64/libm-test-ulps: Regenerate.
34690
34691 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
34692
34693 [BZ #16275]
34694 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34695 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34696 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34697 Intel MPX bound registers before _dl_profile_fixup.
34698 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34699 registers after _dl_profile_fixup. Save and restore bound
34700 registers bnd0/bnd1 when calling _dl_call_pltexit.
34701 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34702 (LR_BND_OFFSET): Likewise.
34703 (LRV_BND0_OFFSET): Likewise.
34704 (LRV_BND1_OFFSET): Likewise.
34705
34706 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34707
34708 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34709 to...
34710 * sysdeps/mach/hurd/i386/tls.h: ... here.
34711 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34712 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34713 fields.
34714
34715 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34716
34717 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34718
34719 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
34720
34721 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34722
34723 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
34724
34725 [BZ #14770]
34726 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34727 * sysdeps/s390/configure: Regenerate.
34728
34729 [BZ #16824]
34730 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34731 Set round-to-nearest internally to reduce error accumulation.
34732
34733 2014-04-16 Alan Modra <amodra@gmail.com>
34734
34735 [BZ #16740]
34736 [BZ #16619]
34737 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34738 * math/libm-test.inc (frexp_test_data): Add tests.
34739 * NEWS: Update fixed bug list.
34740
34741 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34742
34743 * benchtests/Makefile: Depend on libraries in build directory.
34744 (bench-math): Separate out math tests.
34745 (bench-pthread): Separate out pthread tests.
34746 (bench): Include math and pthread tests.
34747
34748 2014-04-14 Carlos O'Donell <carlos@redhat.com>
34749
34750 [BZ #16831]
34751 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34752 _dl_debug_initialize.
34753
34754 * configure.ac: Remove SELinux header check.
34755 * configure: Regenerate.
34756 * nscd/selinux.c (perms): Array of const char* to permission names.
34757 (nscd_request_avc_has_perm): Call security_deny_unknown to find
34758 default policy. Call string_to_security_class and string_to_av_perm to
34759 translate strings. Enforce default policy and call avs_has_perm with
34760 results of translated strings.
34761
34762 2014-04-13 David S. Miller <davem@davemloft.net>
34763
34764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34765
34766 2014-04-12 Allan McRae <allan@archlinux.org>
34767
34768 [BZ #16838]
34769 * manual/string.texi (Collation Functions): Fix qsort argument
34770 order in example.
34771 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34772
34773 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
34774
34775 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34776 Make the test a no-op if there are no exceptions defined.
34777
34778 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
34779
34780 * elf/Makefile (tests): make tst-dlopen-aout conditional on
34781 enable-hardcoded-path-in-tests
34782
34783 2014-04-11 Will Newton <will.newton@linaro.org>
34784
34785 * benchtests/Makefile (extra-objs): Add json-lib.o.
34786 (bench-func): Tidy up JSON output.
34787 * benchtests/bench-skeleton.c: Include json-lib.h.
34788 (main): Use JSON library functions to do output of
34789 benchmark results.
34790 * benchtests/bench-timing-type.c (main): Output the
34791 timing type simply, leaving formatting to the user.
34792 * benchtests/json-lib.c: New file.
34793 * benchtests/json-lib.h: Likewise.
34794
34795 2014-04-11 Torvald Riegel <triegel@redhat.com>
34796
34797 [BZ #15215]
34798 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34799 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
34800 memory barriers. Add comments.
34801 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34802 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34803 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34804 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34805 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34806 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34807
34808 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
34809
34810 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34811 * sysdeps/s390/s390-64/configure.ac: ... this ...
34812 * sysdeps/s390/configure.ac: ... to here.
34813 * sysdeps/s390/s390-32/configure: Delete file.
34814 * sysdeps/s390/s390-64/configure: Delete file.
34815 * sysdeps/s390/configure: Regenerate.
34816
34817 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
34818
34819 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34820
34821 2014-04-11 Will Newton <will.newton@linaro.org>
34822
34823 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34824 to zero if it is not defined elsewhere. (mtrim): Test
34825 the value of MALLOC_DEBUG with #if rather than #ifdef.
34826
34827 2014-04-10 Torvald Riegel <triegel@redhat.com>
34828
34829 * benchtests/pthread_once-inputs: New file.
34830 * benchtests/pthread_once-source.c: New file.
34831 * benchtests/README: Update documentation.
34832
34833 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
34834 H.J. Lu <hongjiu.lu@intel.com>
34835
34836 [BZ #16275]
34837 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34838 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34839 * sysdeps/x86_64/configure: Regenerated.
34840 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34841 macro.
34842 (REGISTER_SAVE_RAX): Likewise.
34843 (REGISTER_SAVE_RCX): Likewise.
34844 (REGISTER_SAVE_RDX): Likewise.
34845 (REGISTER_SAVE_RSI): Likewise.
34846 (REGISTER_SAVE_RDI): Likewise.
34847 (REGISTER_SAVE_R8): Likewise.
34848 (REGISTER_SAVE_R9): Likewise.
34849 (REGISTER_SAVE_BND0): Likewise.
34850 (REGISTER_SAVE_BND1): Likewise.
34851 (REGISTER_SAVE_BND2): Likewise.
34852 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
34853 bound registers when calling _dl_fixup.
34854
34855 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34856
34857 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34858 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34859 of its definition.
34860 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34861 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34862 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34863 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34864 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34865 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34866 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34867
34868 2014-04-09 Peter Brett <peter@peter-b.co.uk>
34869
34870 [BZ #15514]
34871 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34872 pathconf(_PC_NAME_MAX).
34873
34874 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34875
34876 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34877 Remove macro usage.
34878 (__PTHREAD_SPINS): Move definition to ...
34879 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34880 (__PTHREAD_SPINS): ... here.
34881 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34882 (__PTHREAD_SPIN): Likewise.
34883 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34884 (__PTHREAD_SPIN): Likewise.
34885 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34886 (__PTHREAD_SPIN): Likewise.
34887 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34888 (__PTHREAD_SPIN): Likewise.
34889 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34890 (__PTHREAD_SPIN): Likewise.
34891 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34892 (__PTHREAD_SPIN): Likewise.
34893 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34894 (__PTHREAD_SPIN): Likewise.
34895 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34896 (__PTHREAD_SPIN): Likewise.
34897 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34898 (__PTHREAD_SPIN): Likewise.
34899 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34900 (__PTHREAD_SPIN): Likewise.
34901 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34902 (__PTHREAD_SPIN): Likewise.
34903 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34904 (__PTHREAD_SPIN): Likewise.
34905
34906 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34907 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34908 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34909 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34910 imply folder.
34911 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34912 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34913 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34914 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34915 correct imply path.
34916 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34917 strlen symbol for non multi-arch builds.
34918 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34919 missing hidden_def and weak_alias.
34920
34921 2014-04-08 Carlos O'Donell <carlos@redhat.com>
34922
34923 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34924
34925 2014-04-07 Will Newton <will.newton@linaro.org>
34926
34927 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34928 and contents. [!_LIBC] Remove #ifndef and contents.
34929 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
34930 * string/memccpy.c (__memccpy): Use ANSI prototype.
34931 * string/memfrob.c (memfrob): Likewise.
34932 * string/strcoll.c (STRCOLL): Likewise.
34933 * string/strlen.c (strlen): Likewise.
34934 * string/strtok.c (STRTOK): Likewise.
34935 * string/strcat.c: Remove unused #include of memcopy.h.
34936 (strcat): Use ANSI prototype.
34937 * string/strchr.c: Remove unused #include of memcopy.h.
34938 (strchr): Use ANSI prototype.
34939 * string/strcmp.c: Remove unused #include of memcopy.h.
34940 (strcmp): Use ANSI prototype.
34941 * string/strcpy.c: Remove unused #include of memcopy.h.
34942 (strcpy): Use ANSI prototype.
34943
34944 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34945
34946 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34947 * config.make.in (config-extra-cppflags): Set it from
34948 libc_extra_cppflags.
34949 * configure.ac (libc_extra_cflags): Make it accumulate over
34950 configure fragments.
34951 (libc_extra_cppflags): New flag.
34952 * configure. Regenerate.
34953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34954 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34955 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34957
34958 [BZ #16815]
34959 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34960 result for FE_DOWNWARD rounding mode.
34961 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34962 Likewise.
34963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34964
34965 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
34966
34967 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34968 in function argument name.
34969
34970 2014-04-03 David Svoboda <svoboda@cert.org>
34971
34972 [BZ #5666]
34973 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34974 explicitly.
34975
34976 2014-04-03 Roland McGrath <roland@hack.frob.com>
34977
34978 * elf/dl-unmap-segments.h: New file.
34979 * sysdeps/generic/ldsodefs.h
34980 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34981 * elf/dl-close.c: Include <dl-unmap-segments.h>.
34982 * elf/dl-fptr.c: Likewise.
34983 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34984 * sysdeps/aarch64/tlsdesc.c: Likewise.
34985 * sysdeps/arm/tlsdesc.c: Likewise.
34986 * sysdeps/i386/tlsdesc.c: Likewise.
34987 * sysdeps/tile/dl-runtime.c: Likewise.
34988 * sysdeps/x86_64/tlsdesc.c: Likewise.
34989 * elf/dl-load.h: New file.
34990 * elf/dl-load.c: Include it.
34991 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34992 Macros moved to dl-load.h.
34993 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34994 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34995 Use _dl_unmap_segments in place of __munmap.
34996 Break out segment-mapping loop into ...
34997 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34998
34999 2014-04-03 Will Newton <will.newton@linaro.org>
35000
35001 * elf/dl-lookup.c (do_lookup_x): Remove comment
35002 referring to nested function and move variable
35003 declarations down to before first use.
35004
35005 2014-04-02 Joseph Myers <joseph@codesourcery.com>
35006
35007 [BZ #16799]
35008 [BZ #16800]
35009 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35010 with 0 numerator.
35011 * math/s_catanf.c (__catanf): Likewise.
35012 * math/s_catanh.c (__catanh): Likewise.
35013 * math/s_catanhf.c (__catanhf): Likewise.
35014 * math/s_catanhl.c (__catanhl): Likewise.
35015 * math/s_catanl.c (__catanl): Likewise.
35016 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
35017 by positive zero when computing -Inf result.
35018 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
35019 (catanh_test): Likewise.
35020 * sysdeps/i386/fpu/libm-test-ulps: Update.
35021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35022
35023 [BZ #16789]
35024 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
35025 instead of using underflowing value in computing result.
35026 * math/s_clog10.c (__clog10): Likewise.
35027 * math/s_clog10f.c (__clog10f): Likewise.
35028 * math/s_clog10l.c (__clog10l): Likewise.
35029 * math/s_clogf.c (__clogf): Likewise.
35030 * math/s_clogl.c (__clogl): Likewise.
35031 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
35032 (clog10_test): Likewise.
35033 * sysdeps/i386/fpu/libm-test-ulps: Update.
35034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35035
35036 2014-04-02 Alan Modra <amodra@gmail.com>
35037
35038 [BZ #16739]
35039 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
35040 output when value is near a power of two. Use int64_t for lx and
35041 remove casts. Use decimal rather than hex exponent constants.
35042 Don't use long double multiplication when double will suffice.
35043 * math/libm-test.inc (nextafter_test_data): Add tests.
35044 * NEWS: Add 16739 and 16786 to bug list.
35045
35046 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
35047
35048 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
35049
35050 2014-04-01 Will Newton <will.newton@linaro.org>
35051
35052 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
35053 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
35054
35055 2014-04-01 Florian Weimer <fweimer@redhat.com>
35056
35057 [BZ #13347]
35058 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
35059 * nptl/tst-setuid2.c: New file.
35060 * nptl/Makefile (xtests): Add tst-setuid2.
35061
35062 2014-04-01 Alan Modra <amodra@gmail.com>
35063
35064 [BZ #16786]
35065 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35066
35067 2014-03-31 Joseph Myers <joseph@codesourcery.com>
35068
35069 [BZ #6803]
35070 [BZ #6804]
35071 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
35072 set errno as appropriate.
35073 * math/w_scalbf.c (__scalbf): Likewise.
35074 * math/w_scalbl.c (__scalbl): Likewise.
35075 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
35076 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
35077 * math/libm-test.inc (scalb_test_data): Add errno expectations.
35078 Add more NaN tests.
35079
35080 [BZ #16349]
35081 * math/w_atan2.c: Include <errno.h>.
35082 (__atan2): Set errno for result underflowing to zero.
35083 * math/w_atan2f.c: Include <errno.h>.
35084 (__atan2f): Set errno for result underflowing to zero.
35085 * math/w_atan2l.c: Include <errno.h>.
35086 (__atan2l): Set errno for result underflowing to zero.
35087 * math/auto-libm-test-in: Don't allow missing errno for some atan2
35088 tests.
35089 * math/auto-libm-test-out: Regenerated.
35090
35091 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35092
35093 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35094 Encode instruction correctly in little endian.
35095 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35096 Likewise.
35097 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35098 Likewise.
35099 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35100 Likewise.
35101 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35102 Likewise.
35103
35104 2014-03-31 Joseph Myers <joseph@codesourcery.com>
35105
35106 [BZ #9894]
35107 * sysdeps/unix/sysv/linux/kernel-features.h
35108 [__sparc__ && !__arch64__ && !__sparc_v9__]
35109 (__ASSUME_SET_ROBUST_LIST): Do not define.
35110 [__sparc__ && !__arch64__ && !__sparc_v9__]
35111 (__ASSUME_FUTEX_LOCK_PI): Likewise.
35112 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
35113 Likewise.
35114 * sysdeps/unix/sysv/linux/arm/kernel-features.h
35115 (__ASSUME_FUTEX_LOCK_PI): Undefine.
35116 (__ASSUME_REQUEUE_PI): Likewise.
35117 (__ASSUME_SET_ROBUST_LIST): Likewise.
35118 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35119 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
35120 Undefine.
35121 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35122 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
35123 Likewise.
35124 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
35125 Likewise.
35126 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35127 Likewise.
35128 * sysdeps/unix/sysv/linux/mips/kernel-features.h
35129 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35130 Undefine.
35131 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35132 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35133 Likewise.
35134
35135 [BZ #16648]
35136 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35137 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35138 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35139
35140 2014-03-31 Will Newton <will.newton@linaro.org>
35141
35142 * benchtests/Makefile (bench): Add ffs and ffsll to list
35143 of tests.
35144 * benchtests/ffs-inputs: New file.
35145 * benchtests/ffsll-inputs: Likewise.
35146
35147 2014-03-29 Joseph Myers <joseph@codesourcery.com>
35148
35149 [BZ #16770]
35150 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35151 too large before casting to int.
35152 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35153 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35154 * math/libm-test.inc (scalb_test_data): Add more tests.
35155
35156 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35157
35158 * benchtests/Makefile (DETAILED_OPT): New make option.
35159 (bench-func): Run benchmark program with -d if DETAILED_OPT is
35160 set.
35161 * benchtests/bench-skeleton.c: Include stdbool.h.
35162 (main): Store and print timings per input.
35163 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35164 member to each argument value.
35165 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35166 (_print_arg_data): Initialize per-input timing to 0.
35167
35168 * benchtests/Makefile (timing-type): New binary.
35169 (bench-clean): Also remove bench-timing-type.
35170 (bench): New target for timing-type.
35171 (bench-func): Print output in JSON format.
35172 * benchtests/bench-skeleton.c (main): Print output in JSON
35173 format.
35174 * benchtests/bench-timing-type.c: New file.
35175 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35176 (TIMING_PRINT_STATS): Remove.
35177 * benchtests/scripts/bench.py (_print_arg_data): Store variant
35178 name separately.
35179
35180 * benchtests/bench-modf.c: Remove.
35181 * benchtests/modf-inputs: New inputs file.
35182
35183 2014-03-28 Joseph Myers <joseph@codesourcery.com>
35184
35185 [BZ #16362]
35186 * math/s_clog10.c (M_PI_LOG10E): New macro.
35187 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35188 imaginary parts are 0.
35189 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35190 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35191 imaginary parts are 0.
35192 * math/s_clog10l.c (M_PI_LOG10El): New macro.
35193 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35194 imaginary parts are 0.
35195 * math/libm-test.inc (clog10_test_data): Update expected results
35196 for when real and imaginary parts are 0.
35197
35198 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35199
35200 * elf/dl-load.c: Finish conversion of __builtin_expect into
35201 __glibc_{un}likely.
35202
35203 2014-03-27 Joseph Myers <joseph@codesourcery.com>
35204
35205 [BZ #16348]
35206 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35207 1+x for argument with exponent below -67.
35208 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35209 Likewise.
35210 * math/auto-libm-test-in: Add more tests of exp.
35211 * math/auto-libm-test-out: Regenerated.
35212
35213 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35214
35215 [BZ #16759]
35216 * inet/getnetgrent_r.c (get_nonempty_val): New function.
35217 (nscd_getnetgrent): Use it.
35218
35219 [BZ #16760]
35220 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35221 of stpcpy.
35222
35223 2014-03-27 Andi Kleen <ak@linux.intel.com>
35224
35225 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35226 (lll_robust_lock, lll_cond_lock, lll_timedlock)
35227 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35228 (lll_robust_unlock): Remove out of line section. Use cfi
35229 intrinsics.
35230 (LLL_STUB_UNWIND_INFO*): Remove.
35231 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35232 (lll_robust_lock, lll_cond_lock, lll_timedlock)
35233 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35234 (lll_robust_unlock): Remove out of line section. Use cfi
35235 intrinsics.
35236 (LLL_STUB_UNWIND_INFO*): Remove.
35237
35238 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35239
35240 [BZ #16758]
35241 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35242 blank values.
35243
35244 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
35245
35246 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35247
35248 2014-03-26 Joseph Myers <joseph@codesourcery.com>
35249
35250 [BZ #16198]
35251 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35252 fnstenv.
35253 * math/test-fenv-preserve.c: New file.
35254 * math/Makefile (tests): Add test-fenv-preserve.
35255
35256 2014-03-26 Will Newton <will.newton@linaro.org>
35257
35258 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35259
35260 2014-03-25 Roland McGrath <roland@hack.frob.com>
35261
35262 * scripts/versionlist.awk: Partition the version sets and emit all
35263 GLIBC_* (sorted) before all others (sorted).
35264
35265 2014-03-25 Joseph Myers <joseph@codesourcery.com>
35266
35267 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35268 GLIBC_2.2.5 version.
35269
35270 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35271
35272 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35273 calls.
35274
35275 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35276 previous change.
35277
35278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35279
35280 2014-03-25 Andreas Schwab <schwab@suse.de>
35281
35282 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
35283 label to be used after in6ailist is initialized.
35284
35285 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35286
35287 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35288 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35289
35290 2014-03-25 Joseph Myers <joseph@codesourcery.com>
35291
35292 [BZ #16357]
35293 [BZ #16599]
35294 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
35295 min_plus_half.
35296 (fp_formats): Update initializers.
35297 (init_fp_formats): Initialize new field.
35298 (output_for_one_input_case): Allow underflow for results up to
35299 min_plus_half.
35300 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
35301 * math/auto-libm-test-in: Don't mark some underflows from asin and
35302 atanh as spurious.
35303 * math/auto-libm-test-out: Regenerated.
35304 * sysdeps/i386/fpu/libm-test-ulps: Update.
35305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35306
35307 2014-03-25 Andreas Schwab <schwab@suse.de>
35308
35309 * libio/Makefile (tst-ftell-partial-wide-ENV)
35310 (tst-ftell-active-handler-ENV): Define.
35311
35312 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
35313
35314 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
35315
35316 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
35317
35318 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
35319
35320 2014-03-24 Joseph Myers <joseph@codesourcery.com>
35321
35322 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
35323 * sysdeps/x86_64/fpu/multiarch/e_exp.c
35324 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
35325
35326 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
35327
35328 [BZ #16634]
35329 * elf/dl-load.c (open_verify): Add mode parameter.
35330 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
35331 (open_path): Change from boolean 'secure' to complete flag 'mode'
35332 (_dl_map_object): Adjust.
35333 * elf/Makefile (tests): Add tst-dlopen-aout.
35334 * elf/tst-dlopen-aout.c: New test.
35335
35336 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
35337
35338 [BZ #16714]
35339 * sysdeps/unix/sysv/linux/s390/bits/stat.h
35340 (struct stat): Rename member pad0 to __glibc_reserved0.
35341
35342 [BZ #16712]
35343 * sysdeps/s390/s390-32/bits/wordsize.h
35344 (__WORDSIZE32_SIZE_ULONG): New define.
35345 * sysdeps/s390/s390-64/bits/wordsize.h
35346 (__WORDSIZE32_SIZE_ULONG): Likewise.
35347 * sysdeps/generic/stdint.h (SIZE_MAX):
35348 Define as UL if __WORDSIZE32_SIZE_ULONG.
35349
35350 [BZ #16713]
35351 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35352 (__glibc_reserved0): New variable.
35353 (sa_flags): Change type to int.
35354
35355 * posix/Makefile (before-compile): Use += before-compile instead
35356 of a :=.
35357
35358 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35359 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35360
35361 2014-03-20 Andreas Schwab <schwab@suse.de>
35362
35363 [BZ #16743]
35364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
35365 non-matching result from nscd.
35366
35367 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35368
35369 * scripts/bench.py: Moved to ...
35370 * benchtests/scripts/bench.py: ... here.
35371 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35372
35373 2014-03-24 Andreas Schwab <schwab@suse.de>
35374
35375 [BZ #16002]
35376 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35377 alloca_account and account alloca use for struct in6ailist.
35378
35379 2014-03-24 Joseph Myers <joseph@codesourcery.com>
35380
35381 [BZ #16284]
35382 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35383 rounding mode to recompute results that overflow to infinity or
35384 underflow to zero.
35385 * math/auto-libm-test-in: Don't mark tests as expected to fail for
35386 bug 16284.
35387 * math/auto-libm-test-out: Regenerated.
35388 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35389 (ccosh_test): Likewise.
35390 (csin_test_data): Use plus_oflow.
35391 (csin_test): Use ALL_RM_TEST.
35392 (csinh_test_data): Use plus_oflow.
35393 (csinh_test): Use ALL_RM_TEST.
35394 * sysdeps/i386/fpu/libm-test-ulps: Update.
35395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35396
35397 2014-03-21 Joseph Myers <joseph@codesourcery.com>
35398
35399 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35400 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35401 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35402
35403 [BZ #16731]
35404 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35405 when x - 1 is zero.
35406 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35407 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35408 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35409 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35410 argument is 1.
35411 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35412 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35413 zero.
35414 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35415 * sysdeps/i386/fpu/libm-test-ulps: Update.
35416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35417
35418 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35419
35420 * scripts/bench.pl: Remove file.
35421 * scripts/bench.py: New benchmark script.
35422 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35423 * benchtests/README: Mention python dependency.
35424 * scripts/pylintrc: New file.
35425 * scripts/pylint: New file.
35426
35427 * bits/mathdef.h: Use #ifdef instead of #if.
35428 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35429 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35430 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35431 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35432 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35433 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35434
35435 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35436 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
35437
35438 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35440 and strpbrk-ppc64 objects.
35441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35442 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35443 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35444 multiarch strpbrk for POWER7.
35445 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35446 multiarch strpbrk for PPC64.
35447 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35448 ifunc selector.
35449 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35450 strpbrk for POWER7.
35451
35452 2014-03-20 Joseph Myers <joseph@codesourcery.com>
35453
35454 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35455 (atan_test): Likewise.
35456 (atanh_test_data): Use NO_TEST_INLINE for two tests.
35457 (atanh_test): Use ALL_RM_TEST.
35458 (atan2_test_data): Likewise.
35459 (cabs_test): Likewise.
35460 (cacosh_test): Likewise.
35461 (carg_test): Likewise.
35462 (casin_test): Likewise.
35463 (casinh_test): Likewise.
35464 (cbrt_test): Likewise.
35465 (csqrt_test): Likewise.
35466 (erf_test): Likewise.
35467 (erfc_test): Likewise.
35468 (pow10_test): Likewise.
35469 (exp2_test): Likewise.
35470 (hypot_test): Likewise.
35471 (j0_test): Likewise.
35472 (j1_test): Likewise.
35473 (lgamma_test): Likewise.
35474 (gamma_test): Likewise.
35475 (sincos_test): Likewise.
35476 (tanh_test): Likewise.
35477 (y0_test): Likewise.
35478 (y1_test): Likewise.
35479 * sysdeps/i386/fpu/libm-test-ulps: Update.
35480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35481
35482 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35483
35484 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35485 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35486 and strcspn-ppc64 objects.
35487 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35488 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35489 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35490 multiarch strcspn for POWER7.
35491 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35492 multiarch strcspn for PPC64.
35493 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35494 ifunc selector.
35495 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35496 strcspn for POWER7.
35497
35498 2014-03-20 Joseph Myers <joseph@codesourcery.com>
35499
35500 * math/gen-libm-test.pl (generate_testfile): Expect only function
35501 name as argument to AUTO_TESTS_* and pass results for all rounding
35502 modes to parse_args.
35503 (parse_auto_input): Separate inputs of automatic tests from
35504 outputs before storing in %auto_tests.
35505 * math/libm-test.inc (acos_test_data): Update call to
35506 AUTO_TESTS_f_f.
35507 (acos_test): Use ALL_RM_TEST.
35508 (acos_tonearest_test_data): Remove.
35509 (acos_test_tonearest): Likewise.
35510 (acos_towardzero_test_data): Likewise.
35511 (acos_test_towardzero): Likewise.
35512 (acos_downward_test_data): Likewise.
35513 (acos_test_downward): Likewise.
35514 (acos_upward_test_data): Likewise.
35515 (acos_test_upward): Likewise.
35516 (acosh_test_data): Update call to AUTO_TESTS_f_f.
35517 (asin_test_data): Likewise.
35518 (asin_test): Use ALL_RM_TEST.
35519 (asin_tonearest_test_data): Remove.
35520 (asin_test_tonearest): Likewise.
35521 (asin_towardzero_test_data): Likewise.
35522 (asin_test_towardzero): Likewise.
35523 (asin_downward_test_data): Likewise.
35524 (asin_test_downward): Likewise.
35525 (asin_upward_test_data): Likewise.
35526 (asin_test_upward): Likewise.
35527 (asinh_test_data): Update call to AUTO_TESTS_f_f.
35528 (atan_test_data): Likewise.
35529 (atanh_test_data): Likewise.
35530 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35531 (cabs_test_data): Update call to AUTO_TESTS_c_f.
35532 (carg_test_data): Likewise.
35533 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35534 (ccos_test_data): Update call to AUTO_TESTS_c_c.
35535 (ccosh_test_data): Likewise.
35536 (cexp_test_data): Likewise.
35537 (clog_test_data): Likewise.
35538 (clog10_test_data): Likewise.
35539 (cos_test_data): Update call to AUTO_TESTS_f_f.
35540 (cos_test): Use ALL_RM_TEST.
35541 (cos_tonearest_test_data): Remove.
35542 (cos_test_tonearest): Likewise.
35543 (cos_towardzero_test_data): Likewise.
35544 (cos_test_towardzero): Likewise.
35545 (cos_downward_test_data): Likewise.
35546 (cos_test_downward): Likewise.
35547 (cos_upward_test_data): Likewise.
35548 (cos_test_upward): Likewise.
35549 (cosh_test_data): Update call to AUTO_TESTS_f_f.
35550 (cosh_test): Use ALL_RM_TEST.
35551 (cosh_tonearest_test_data): Remove.
35552 (cosh_test_tonearest): Likewise.
35553 (cosh_towardzero_test_data): Likewise.
35554 (cosh_test_towardzero): Likewise.
35555 (cosh_downward_test_data): Likewise.
35556 (cosh_test_downward): Likewise.
35557 (cosh_upward_test_data): Likewise.
35558 (cosh_test_upward): Likewise.
35559 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35560 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35561 (ctan_test_data): Likewise.
35562 (ctan_test): Use ALL_RM_TEST.
35563 (ctan_tonearest_test_data): Remove.
35564 (ctan_test_tonearest): Likewise.
35565 (ctan_towardzero_test_data): Likewise.
35566 (ctan_test_towardzero): Likewise.
35567 (ctan_downward_test_data): Likewise.
35568 (ctan_test_downward): Likewise.
35569 (ctan_upward_test_data): Likewise.
35570 (ctan_test_upward): Likewise.
35571 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35572 (ctanh_test): Use ALL_RM_TEST.
35573 (ctanh_tonearest_test_data): Remove.
35574 (ctanh_test_tonearest): Likewise.
35575 (ctanh_towardzero_test_data): Likewise.
35576 (ctanh_test_towardzero): Likewise.
35577 (ctanh_downward_test_data): Likewise.
35578 (ctanh_test_downward): Likewise.
35579 (ctanh_upward_test_data): Likewise.
35580 (ctanh_test_upward): Likewise.
35581 (erf_test_data): Update call to AUTO_TESTS_f_f.
35582 (erfc_test_data): Likewise.
35583 (exp_test_data): Likewise.
35584 (exp_test): Use ALL_RM_TEST.
35585 (exp_tonearest_test_data): Remove.
35586 (exp_test_tonearest): Likewise.
35587 (exp_towardzero_test_data): Likewise.
35588 (exp_test_towardzero): Likewise.
35589 (exp_downward_test_data): Likewise.
35590 (exp_test_downward): Likewise.
35591 (exp_upward_test_data): Likewise.
35592 (exp_test_upward): Likewise.
35593 (exp10_test_data): Update call to AUTO_TESTS_f_f.
35594 (exp10_test): Use ALL_RM_TEST.
35595 (exp10_tonearest_test_data): Remove.
35596 (exp10_test_tonearest): Likewise.
35597 (exp10_towardzero_test_data): Likewise.
35598 (exp10_test_towardzero): Likewise.
35599 (exp10_downward_test_data): Likewise.
35600 (exp10_test_downward): Likewise.
35601 (exp10_upward_test_data): Likewise.
35602 (exp10_test_upward): Likewise.
35603 (exp2_test_data): Update call to AUTO_TESTS_f_f.
35604 (expm1_test_data): Likewise.
35605 (expm1_test): Use ALL_RM_TEST.
35606 (expm1_tonearest_test_data): Remove.
35607 (expm1_test_tonearest): Likewise.
35608 (expm1_towardzero_test_data): Likewise.
35609 (expm1_test_towardzero): Likewise.
35610 (expm1_downward_test_data): Likewise.
35611 (expm1_test_downward): Likewise.
35612 (expm1_upward_test_data): Likewise.
35613 (expm1_test_upward): Likewise.
35614 (fma_test_data): Update call to AUTO_TESTS_fff_f.
35615 (fma_test): Use ALL_RM_TEST.
35616 (fma_towardzero_test_data): Remove.
35617 (fma_test_towardzero): Likewise.
35618 (fma_downward_test_data): Likewise.
35619 (fma_test_downward): Likewise.
35620 (fma_upward_test_data): Likewise.
35621 (fma_test_upward): Likewise.
35622 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35623 (j0_test_data): Update call to AUTO_TESTS_f_f.
35624 (j1_test_data): Likewise.
35625 (jn_test_data): Update call to AUTO_TESTS_if_f.
35626 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35627 (log_test_data): Update call to AUTO_TESTS_f_f.
35628 (log10_test_data): Likewise.
35629 (log1p_test_data): Likewise.
35630 (log2_test_data): Likewise.
35631 (pow_test_data): Update call to AUTO_TESTS_ff_f.
35632 (pow_tonearest_test_data): Likewise.
35633 (sin_test_data): Update call to AUTO_TESTS_f_f.
35634 (sin_test): Use ALL_RM_TEST.
35635 (sin_tonearest_test_data): Remove.
35636 (sin_test_tonearest): Likewise.
35637 (sin_towardzero_test_data): Likewise.
35638 (sin_test_towardzero): Likewise.
35639 (sin_downward_test_data): Likewise.
35640 (sin_test_downward): Likewise.
35641 (sin_upward_test_data): Likewise.
35642 (sin_test_upward): Likewise.
35643 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35644 (sinh_test_data): Update call to AUTO_TESTS_f_f.
35645 (sinh_test): Use ALL_RM_TEST.
35646 (sinh_tonearest_test_data): Remove.
35647 (sinh_test_tonearest): Likewise.
35648 (sinh_towardzero_test_data): Likewise.
35649 (sinh_test_towardzero): Likewise.
35650 (sinh_downward_test_data): Likewise.
35651 (sinh_test_downward): Likewise.
35652 (sinh_upward_test_data): Likewise.
35653 (sinh_test_upward): Likewise.
35654 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35655 (sqrt_test): Use ALL_RM_TEST.
35656 (sqrt_tonearest_test_data): Remove.
35657 (sqrt_test_tonearest): Likewise.
35658 (sqrt_towardzero_test_data): Likewise.
35659 (sqrt_test_towardzero): Likewise.
35660 (sqrt_downward_test_data): Likewise.
35661 (sqrt_test_downward): Likewise.
35662 (sqrt_upward_test_data): Likewise.
35663 (sqrt_test_upward): Likewise.
35664 (tan_test_data): Update call to AUTO_TESTS_f_f.
35665 (tan_test): Use ALL_RM_TEST.
35666 (tan_tonearest_test_data): Remove.
35667 (tan_test_tonearest): Likewise.
35668 (tan_towardzero_test_data): Likewise.
35669 (tan_test_towardzero): Likewise.
35670 (tan_downward_test_data): Likewise.
35671 (tan_test_downward): Likewise.
35672 (tan_upward_test_data): Likewise.
35673 (tan_test_upward): Likewise.
35674 (tanh_test_data): Update call to AUTO_TESTS_f_f.
35675 (tgamma_test_data): Likewise.
35676 (y0_test_data): Likewise.
35677 (y1_test_data): Likewise.
35678 (yn_test_data): Update call to AUTO_TESTS_if_f.
35679 (main): Do not call removed functions.
35680
35681 2014-03-19 Joseph Myers <joseph@codesourcery.com>
35682
35683 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35684 (ldexp_test_data): Remove.
35685 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
35686 scalbn_test_data.
35687 (scalb_test): Use ALL_RM_TEST.
35688
35689 2014-03-19 Andreas Schwab <schwab@suse.de>
35690
35691 * nscd/nscd.service: Also invalidate netgroup cache on reload.
35692
35693 2014-03-19 Joseph Myers <joseph@codesourcery.com>
35694
35695 [BZ #16649]
35696 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35697 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35698 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35699 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35700 (__ASSUME_PREADV): Undefine.
35701 (__ASSUME_PWRITEV): Likewise.
35702
35703 2014-03-18 Roland McGrath <roland@hack.frob.com>
35704
35705 * bits/mman-linux.h: Add comment about non-Linux use.
35706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35707 bits/mman-linux.h resting place.
35708
35709 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35710 * bits/mman-linux.h: ... here.
35711
35712 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35713
35714 * conform/conformtest.pl: Add standard definition when calling C
35715 preprocessor on data files.
35716 (checknamespace): Remove unused variable.
35717
35718 2014-03-18 Joseph Myers <joseph@codesourcery.com>
35719
35720 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35721 minus_oflow, plus_uflow and minus_uflow in expected results.
35722 * math/libm-test.inc (scalbn_test_data): Add more tests of
35723 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
35724 minus_uflow.
35725 (scalbn_test): Use ALL_RM_TEST.
35726 (scalbln_test_data): Add more tests of negative arguments. Use
35727 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35728 (scalbln_test): Use ALL_RM_TEST.
35729
35730 2014-03-18 Roland McGrath <roland@hack.frob.com>
35731
35732 * scripts/abilist.awk: Ignore symbols marked with .hidden.
35733
35734 2014-03-18 Will Newton <will.newton@linaro.org>
35735
35736 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35737 inaccurate comment.
35738
35739 2014-03-18 Joseph Myers <joseph@codesourcery.com>
35740
35741 * Makerules [!subdir] (check-abi): Exit with error status if a
35742 test failed.
35743
35744 2014-03-17 Joseph Myers <joseph@codesourcery.com>
35745
35746 * math/libm-test.inc (nearbyint_test_data): Include all tests used
35747 for rint. Include results for all rounding modes.
35748 (nearbyint_test): Use ALL_RM_TEST.
35749 (rint_test_data): Include all tests used for nearbyint.
35750
35751 2014-03-17 Will Newton <will.newton@linaro.org>
35752
35753 * nptl/sysdeps/pthread/pthread.h: Revert previous
35754 change.
35755
35756 * sysdeps/generic/ldsodefs.h: Revert previous
35757 change.
35758
35759 * libio/genops.c: Revert previous change.
35760 * libio/libioP.h: Likewise.
35761 * stdio-common/vfprintf.c: Likewise.
35762
35763 * sysdeps/generic/math_private.h: Revert previous
35764 change.
35765
35766 * sysdeps/generic/math_private.h: Check whether
35767 HAVE_RM_CTX is defined with #ifdef rather
35768 than #if.
35769
35770 * argp/argp-fmtstream.h: Check whether
35771 __STRICT_ANSI__ is defined with #ifdef rather
35772 than #if.
35773 * argp/argp.h: Likewise.
35774
35775 * libio/genops.c: Check whether
35776 _IO_JUMPS_OFFSET is defined with #ifdef rather
35777 than #if.
35778 * libio/libioP.h: Likewise.
35779 * stdio-common/vfprintf.c: Likewise.
35780
35781 * sysdeps/generic/ldsodefs.h: Check whether
35782 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35783 than #if.
35784
35785 * nptl/sysdeps/pthread/pthread.h: Check
35786 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35787 its value.
35788
35789 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35790
35791 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35792 setting O_APPEND.
35793 * libio/tst-ftell-active-handler.c (do_append_test): Add a
35794 test case.
35795
35796 [BZ #16680]
35797 * libio/fileops.c (_IO_file_open): Seek to end of file but
35798 don't cache the offset.
35799 (get_file_offset): Remove function.
35800 (do_ftell): Use cached offset when available.
35801 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35802 don't cache the offset.
35803 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35804 case.
35805 (do_one_test): Call it.
35806 (do_ftell_test): Fix up expected old offset for a+ mode.
35807 * libio/wfileops.c (do_ftell_wide): Used cached offset when
35808 available.
35809
35810 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35811 up test status with function return status.
35812 (do_write_test): Likewise.
35813 (do_append_test): Likewise.
35814
35815 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35816 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35817 Remove.
35818
35819 2014-03-17 Joseph Myers <joseph@codesourcery.com>
35820
35821 * math/gen-libm-test.pl (parse_args): Handle results specified for
35822 each rounding mode separately.
35823 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35824 tests and results from lrint_tonearest_test_data,
35825 lrint_towardzero_test_data, lrint_downward_test_data and
35826 lrint_upward_test_data.
35827 (lrint_test): Use ALL_RM_TEST.
35828 (lrint_tonearest_test_data): Remove.
35829 (lrint_test_tonearest): Likewise.
35830 (lrint_towardzero_test_data): Likewise.
35831 (lrint_test_towardzero): Likewise.
35832 (lrint_downward_test_data): Likewise.
35833 (lrint_test_downward): Likewise.
35834 (lrint_upward_test_data): Likewise.
35835 (lrint_test_upward): Likewise.
35836 (llrint_test_data): Merge in per-rounding-mode tests and results
35837 from llrint_tonearest_test_data, llrint_towardzero_test_data,
35838 llrint_downward_test_data and llrint_upward_test_data.
35839 (llrint_test): Use ALL_RM_TEST.
35840 (llrint_tonearest_test_data): Remove.
35841 (llrint_test_tonearest): Likewise.
35842 (llrint_towardzero_test_data): Likewise.
35843 (llrint_test_towardzero): Likewise.
35844 (llrint_downward_test_data): Likewise.
35845 (llrint_test_downward): Likewise.
35846 (llrint_upward_test_data): Likewise.
35847 (llrint_test_upward): Likewise.
35848 (rint_test_data): Merge in per-rounding-mode tests and results
35849 from rint_tonearest_test_data, rint_towardzero_test_data,
35850 rint_downward_test_data and rint_upward_test_data. Add
35851 per-rounding-mode results for tests not in those arrays.
35852 (rint_test): Use ALL_RM_TEST.
35853 (rint_tonearest_test_data): Remove.
35854 (rint_test_tonearest): Likewise.
35855 (rint_towardzero_test_data): Likewise.
35856 (rint_test_towardzero): Likewise.
35857 (rint_downward_test_data): Likewise.
35858 (rint_test_downward): Likewise.
35859 (rint_upward_test_data): Likewise.
35860 (rint_test_upward): Likewise.
35861 (main): Don't call removed functions.
35862
35863 2014-03-14 Roland McGrath <roland@hack.frob.com>
35864
35865 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35866 "Compiled on ..." crapola. It is anti-useful.
35867
35868 2014-03-14 Joseph Myers <joseph@codesourcery.com>
35869
35870 * scripts/evaluate-test.sh: Handle fourth argument to determine
35871 whether test run should stop on failure.
35872 * Makeconfig (stop-on-test-failure): New variable.
35873 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35874 $(stop-on-test-failure).
35875 * Makefile (tests): Give a summary of results from testing and
35876 exit with failure status if they include an ERROR or FAIL.
35877 (xtests): Likewise.
35878 * manual/install.texi (Configuring and compiling): Mention
35879 stop-on-test-failure=y.
35880 * INSTALL: Regenerated.
35881
35882 2014-03-14 Roland McGrath <roland@hack.frob.com>
35883
35884 * scripts/versionlist.awk: New file.
35885 * Makerules [$(build-shared) = yes]
35886 (postclean-generated): Add Versions.def, not Versions.def.v and
35887 Versions.def.v.i.
35888 ($(common-objpfx)Versions.def.v.i): Target removed.
35889 ($(common-objpfx)Versions.def): New target.
35890 ($(common-objpfx)Versions.all): Depend on that rather that
35891 $(common-objpfx)Versions.def.v.
35892 * Versions.def: File removed.
35893
35894 * Makeconfig (+gccwarn): Add -Wundef.
35895 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35896 a dl-sysdep.h breaking its contract.
35897 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35898 * include/stackinfo.h: New file.
35899 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35900 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35901 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35902 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35903 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35904 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35905 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35906 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35907 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35908 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35909 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35910 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35911 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35912 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35913 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35914
35915 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35916
35917 [BZ #16707]
35918 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35919 implementation.
35920 * math/libm-test.inc (round_test_data): Add more tests.
35921
35922 [BZ #16706]
35923 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35924 implementation.
35925 * math/libm-test.inc (nearbyint_test_data): Add more tests.
35926
35927 [BZ #16701]
35928 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35929 implementation.
35930 * math/libm-test.inc (ceil_test_data): Add more tests.
35931
35932 * math/libm-test.inc (trunc_test_data): Add more tests related to
35933 BZ#16414.
35934
35935 2014-03-14 Roland McGrath <roland@hack.frob.com>
35936
35937 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35938 with #if rather than #ifdef.
35939 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35940
35941 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
35942
35943 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35944 first. Disable AVX-512 GCC support if assembler doesn't support
35945 it.
35946 * sysdeps/x86_64/configure: Regenerated.
35947
35948 2014-03-13 Carlos O'Donell <carlos@redhat.com>
35949
35950 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35951 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35952 (__old_pthread_attr_setstack): Likewise.
35953 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35954 [!_STACK_GROWS_DOWN]: Likewise.
35955
35956 2014-03-13 Mike Frysinger <vapier@gentoo.org>
35957
35958 * config.make.in (have-bash2): Delete.
35959 * configure.ac (libc_cv_have_bash2): Delete.
35960 * configure: Regenerate.
35961 * elf/Makefile (common-ldd-rewrite): Rename to ...
35962 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
35963 (sh-ldd-rewrite): Delete.
35964 (bash-ldd-rewrite): Delete.
35965 (have-bash2): Delete checks.
35966 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35967 ldd-rewrite.
35968
35969 * config.make.in (have-ksh): Delete.
35970 (KSH): Delete.
35971 * configure.ac (libc_cv_have_ksh): Delete.
35972 * configure: Regenerate.
35973
35974 * elf/Makefile: Delete $(have-ksh) check.
35975 ($(objpfx)sotruss): Change KSH to BASH.
35976 * elf/sotruss.ksh: Rename to ...
35977 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
35978 function style to match POSIX. Drop ksh vim mode setting.
35979
35980 * manual/time.texi (Specifying the Time Zone with TZ): Change
35981 Tuesday to Thursday.
35982
35983 * debug/tst-longjmp_chk2.c: Update header comment.
35984 (stackoverflow_handler): Add comment. Call assert on pass value.
35985
35986 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
35987
35988 [BZ #16194]
35989 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35990 (HAVE_AVX512_ASM_SUPPORT): Likewise.
35991 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35992 (La_x86_64_vector): Add zmm.
35993 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35994 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35995 ($(objpfx)tst-audit10): New target.
35996 ($(objpfx)tst-audit10.out): Likewise.
35997 (tst-audit10-ENV): New.
35998 (AVX512-CFLAGS): Likewise.
35999 (CFLAGS-tst-audit10.c): Likewise.
36000 (CFLAGS-tst-auditmod10a.c): Likewise.
36001 (CFLAGS-tst-auditmod10b.c): Likewise.
36002 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36003 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36004 * sysdeps/x86_64/configure: Regenerated.
36005 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36006 AVX-512 zmm register support.
36007 (_dl_x86_64_save_sse): Likewise.
36008 (_dl_x86_64_restore_sse): Likewise.
36009 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36010 size vector registers.
36011 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36012 (ZMM_SIZE): Likewise.
36013 * sysdeps/x86_64/tst-audit10.c: New file.
36014 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
36015 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
36016
36017 2014-03-13 Roland McGrath <roland@hack.frob.com>
36018
36019 * configure.ac (HAVE_EHDR_START): New check.
36020 * configure: Regenerated.
36021 * config.h.in (HAVE_EHDR_START): New #undef.
36022 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
36023 assuming the lowest-addressed segment maps the start of the file.
36024
36025 2014-03-13 Joseph Myers <joseph@codesourcery.com>
36026
36027 * INSTALL: Regenerated.
36028
36029 2014-03-13 Will Newton <will.newton@linaro.org>
36030
36031 * manual/setjmp.texi (System V contexts): Improve
36032 clarity and grammar of documentation.
36033
36034 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
36035
36036 [BZ #16381]
36037 * elf/Makefile (tests): Add tst-pie2.
36038 (tests-pie): Add tst-pie2.
36039 * elf/tst-pie2.c: New file.
36040 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
36041 for ET_EXEC.
36042 * elf/rtld.c (map_doit): Load executable as lt_executable.
36043 (dl_main): Likewise.
36044
36045 2014-03-12 Joseph Myers <joseph@codesourcery.com>
36046
36047 [BZ #16642]
36048 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36049 (__ASSUME_PSELECT): Undefine.
36050
36051 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36052
36053 [BZ #16689]
36054 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
36055 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
36056 static build.
36057 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
36058 selector for static builds.
36059
36060 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
36061
36062 [BZ #16695]
36063 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
36064 key in the buffer.
36065
36066 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36067
36068 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
36069 IFUNC selector for static builds.
36070
36071 2014-03-11 Joseph Myers <joseph@codesourcery.com>
36072
36073 * sysdeps/mips/math_private.h [__mips_hard_float]
36074 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
36075 libc_feresetround_mips_ctx.
36076 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
36077 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
36078 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
36079
36080 [BZ #16677]
36081 * math/s_nextafter.c (__nextafter): Do not return value from
36082 overflowing computation.
36083 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36084 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
36085 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36086 Likewise.
36087 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
36088 Likewise.
36089 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36090 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
36091
36092 2014-03-11 Roland McGrath <roland@hack.frob.com>
36093
36094 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
36095 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
36096 Move sfi_sp use from the load-multiple (that no longer sets sp) to
36097 the new mov targetting sp.
36098
36099 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36100
36101 [BZ #16683]
36102 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
36103 Define it for static builds as well.
36104 (NO_BZERO_IMPL): Likewise.
36105
36106 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36107
36108 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
36109 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
36110 multiarch strspn for PPC64.
36111 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
36112 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
36113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36114 (__libc_ifunc_impl_list): Likewise.
36115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
36116 multiarch optimizations
36117 * string/strspn.c (strspn): Using macro to redefine symbol name.
36118
36119 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36120 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36121
36122 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
36123 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
36124 multiarch strncat for PPC64.
36125 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36126 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36128 (__libc_ifunc_impl_list): Likewise.
36129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36130 multiarch optimizations
36131
36132 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36133
36134 [BZ #16639]
36135 * nscd/nscd.service: Make service type forking.
36136
36137 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36138
36139 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36140 sign in non default rounding modes.
36141 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36142
36143 2014-03-08 Joseph Myers <joseph@codesourcery.com>
36144
36145 * math/libm-test.inc (ALL_RM_TEST): New macro.
36146 (ceil_test): Use ALL_RM_TEST.
36147 (cimag_test): Likewise.
36148 (conj_test): Likewise.
36149 (copysign_test): Likewise.
36150 (cproj_test): Likewise.
36151 (creal_test): Likewise.
36152 (fabs_test): Likewise.
36153 (floor_test): Likewise.
36154 (fmax_test): Likewise.
36155 (fmin_test): Likewise.
36156 (fmod_test): Likewise.
36157 (fpclassify_test): Likewise.
36158 (frexp_test): Likewise.
36159 (ilogb_test): Likewise.
36160 (isfinite_test): Likewise.
36161 (finite_test): Likewise.
36162 (isgreater_test): Likewise.
36163 (isgreaterequal_test): Likewise.
36164 (isinf_test): Likewise.
36165 (isless_test): Likewise.
36166 (islessequal_test): Likewise.
36167 (islessgreater_test): Likewise.
36168 (isnan_test): Likewise.
36169 (isnormal_test): Likewise.
36170 (issignaling_test): Likewise.
36171 (isunordered_test): Likewise.
36172 (logb_test): Likewise.
36173 (logb_downward_test_data): Remove.
36174 (logb_test_downward): Likewise.
36175 (lround_test): Use ALL_RM_TEST.
36176 (llround_test): Likewise.
36177 (modf_test): Likewise.
36178 (nexttoward_test): Likewise.
36179 (remainder_test): Likewise.
36180 (drem_test): Likewise.
36181 (remainder_tonearest_test_data): Likewise.
36182 (remainder_test_tonearest): Likewise.
36183 (drem_test_tonearest): Likewise.
36184 (remainder_towardzero_test_data): Likewise.
36185 (remainder_test_towardzero): Likewise.
36186 (drem_test_towardzero): Likewise.
36187 (remainder_downward_test_data): Likewise.
36188 (remainder_test_downward): Likewise.
36189 (drem_test_downward): Likewise.
36190 (remainder_upward_test_data): Likewise.
36191 (remainder_test_upward): Likewise.
36192 (drem_test_upward): Likewise.
36193 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
36194 (round_test): Use ALL_RM_TEST.
36195 (signbit_test): Likewise.
36196 (trunc_test): Likewise.
36197 (significand_test): Likewise.
36198 (main): Don't call removed functions.
36199
36200 2014-03-07 Joseph Myers <joseph@codesourcery.com>
36201
36202 [BZ #16674]
36203 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36204 || __USE_XOPEN2K8].
36205 (ILL_ILLOPN): Likewise.
36206 (ILL_ILLADR): Likewise.
36207 (ILL_ILLTRP): Likewise.
36208 (ILL_PRVOPC): Likewise.
36209 (ILL_PRVREG): Likewise.
36210 (ILL_COPROC): Likewise.
36211 (ILL_BADSTK): Likewise.
36212 (FPE_INTDIV): Likewise.
36213 (FPE_INTOVF): Likewise.
36214 (FPE_FLTDIV): Likewise.
36215 (FPE_FLTOVF): Likewise.
36216 (FPE_FLTUND): Likewise.
36217 (FPE_FLTRES): Likewise.
36218 (FPE_FLTINV): Likewise.
36219 (FPE_FLTSUB): Likewise.
36220 (SEGV_MAPERR): Likewise.
36221 (SEGV_ACCERR): Likewise.
36222 (BUS_ADRALN): Likewise.
36223 (BUS_ADRERR): Likewise.
36224 (BUS_OBJERR): Likewise.
36225 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36226 (TRAP_TRACE): 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/alpha/bits/siginfo.h (ILL_ILLOPC):
36241 Likewise.
36242 (ILL_ILLOPN): Likewise.
36243 (ILL_ILLADR): Likewise.
36244 (ILL_ILLTRP): Likewise.
36245 (ILL_PRVOPC): Likewise.
36246 (ILL_PRVREG): Likewise.
36247 (ILL_COPROC): Likewise.
36248 (ILL_BADSTK): Likewise.
36249 (FPE_INTDIV): Likewise.
36250 (FPE_INTOVF): Likewise.
36251 (FPE_FLTDIV): Likewise.
36252 (FPE_FLTOVF): Likewise.
36253 (FPE_FLTUND): Likewise.
36254 (FPE_FLTRES): Likewise.
36255 (FPE_FLTINV): Likewise.
36256 (FPE_FLTSUB): Likewise.
36257 (SEGV_MAPERR): Likewise.
36258 (SEGV_ACCERR): Likewise.
36259 (BUS_ADRALN): Likewise.
36260 (BUS_ADRERR): Likewise.
36261 (BUS_OBJERR): Likewise.
36262 (BUS_MCEERR_AR): Likewise.
36263 (BUS_MCEERR_AO): Likewise.
36264 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36265 (TRAP_TRACE): Likewise.
36266 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36267 __USE_XOPEN2K8].
36268 (CLD_KILLED): Likewise.
36269 (CLD_DUMPED): Likewise.
36270 (CLD_TRAPPED): Likewise.
36271 (CLD_STOPPED): Likewise.
36272 (CLD_CONTINUED): Likewise.
36273 (POLL_IN): Likewise.
36274 (POLL_OUT): Likewise.
36275 (POLL_MSG): Likewise.
36276 (POLL_ERR): Likewise.
36277 (POLL_PRI): Likewise.
36278 (POLL_HUP): Likewise.
36279 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
36280 (ILL_ILLOPN): Likewise.
36281 (ILL_ILLADR): Likewise.
36282 (ILL_ILLTRP): Likewise.
36283 (ILL_PRVOPC): Likewise.
36284 (ILL_PRVREG): Likewise.
36285 (ILL_COPROC): Likewise.
36286 (ILL_BADSTK): Likewise.
36287 (FPE_INTDIV): Likewise.
36288 (FPE_INTOVF): Likewise.
36289 (FPE_FLTDIV): Likewise.
36290 (FPE_FLTOVF): Likewise.
36291 (FPE_FLTUND): Likewise.
36292 (FPE_FLTRES): Likewise.
36293 (FPE_FLTINV): Likewise.
36294 (FPE_FLTSUB): Likewise.
36295 (SEGV_MAPERR): Likewise.
36296 (SEGV_ACCERR): Likewise.
36297 (BUS_ADRALN): Likewise.
36298 (BUS_ADRERR): Likewise.
36299 (BUS_OBJERR): Likewise.
36300 (BUS_MCEERR_AR): Likewise.
36301 (BUS_MCEERR_AO): Likewise.
36302 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36303 (TRAP_TRACE): Likewise.
36304 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36305 __USE_XOPEN2K8].
36306 (CLD_KILLED): Likewise.
36307 (CLD_DUMPED): Likewise.
36308 (CLD_TRAPPED): Likewise.
36309 (CLD_STOPPED): Likewise.
36310 (CLD_CONTINUED): Likewise.
36311 (POLL_IN): Likewise.
36312 (POLL_OUT): Likewise.
36313 (POLL_MSG): Likewise.
36314 (POLL_ERR): Likewise.
36315 (POLL_PRI): Likewise.
36316 (POLL_HUP): Likewise.
36317 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
36318 Likewise.
36319 (ILL_ILLOPN): Likewise.
36320 (ILL_ILLADR): Likewise.
36321 (ILL_ILLTRP): Likewise.
36322 (ILL_PRVOPC): Likewise.
36323 (ILL_PRVREG): Likewise.
36324 (ILL_COPROC): Likewise.
36325 (ILL_BADSTK): Likewise.
36326 (ILL_BADIADDR): Likewise.
36327 (ILL_BREAK): Likewise.
36328 (FPE_INTDIV): Likewise.
36329 (FPE_INTOVF): Likewise.
36330 (FPE_FLTDIV): Likewise.
36331 (FPE_FLTOVF): Likewise.
36332 (FPE_FLTUND): Likewise.
36333 (FPE_FLTRES): Likewise.
36334 (FPE_FLTINV): Likewise.
36335 (FPE_FLTSUB): Likewise.
36336 (FPE_DECOVF): Likewise.
36337 (FPE_DECDIV): Likewise.
36338 (FPE_DECERR): Likewise.
36339 (FPE_INVASC): Likewise.
36340 (FPE_INVDEC): Likewise.
36341 (SEGV_MAPERR): Likewise.
36342 (SEGV_ACCERR): Likewise.
36343 (SEGV_PSTKOVF): Likewise.
36344 (BUS_ADRALN): Likewise.
36345 (BUS_ADRERR): Likewise.
36346 (BUS_OBJERR): Likewise.
36347 (BUS_MCEERR_AR): Likewise.
36348 (BUS_MCEERR_AO): Likewise.
36349 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36350 (TRAP_TRACE): Likewise.
36351 (TRAP_BRANCH): Likewise.
36352 (TRAP_HWBKPT): Likewise.
36353 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36354 __USE_XOPEN2K8].
36355 (CLD_KILLED): Likewise.
36356 (CLD_DUMPED): Likewise.
36357 (CLD_TRAPPED): Likewise.
36358 (CLD_STOPPED): Likewise.
36359 (CLD_CONTINUED): Likewise.
36360 (POLL_IN): Likewise.
36361 (POLL_OUT): Likewise.
36362 (POLL_MSG): Likewise.
36363 (POLL_ERR): Likewise.
36364 (POLL_PRI): Likewise.
36365 (POLL_HUP): Likewise.
36366 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
36367 (ILL_ILLOPN): Likewise.
36368 (ILL_ILLADR): Likewise.
36369 (ILL_ILLTRP): Likewise.
36370 (ILL_PRVOPC): Likewise.
36371 (ILL_PRVREG): Likewise.
36372 (ILL_COPROC): Likewise.
36373 (ILL_BADSTK): Likewise.
36374 (FPE_INTDIV): Likewise.
36375 (FPE_INTOVF): Likewise.
36376 (FPE_FLTDIV): Likewise.
36377 (FPE_FLTOVF): Likewise.
36378 (FPE_FLTUND): Likewise.
36379 (FPE_FLTRES): Likewise.
36380 (FPE_FLTINV): Likewise.
36381 (FPE_FLTSUB): Likewise.
36382 (SEGV_MAPERR): Likewise.
36383 (SEGV_ACCERR): Likewise.
36384 (BUS_ADRALN): Likewise.
36385 (BUS_ADRERR): Likewise.
36386 (BUS_OBJERR): Likewise.
36387 (BUS_MCEERR_AR): Likewise.
36388 (BUS_MCEERR_AO): Likewise.
36389 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36390 (TRAP_TRACE): Likewise.
36391 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36392 __USE_XOPEN2K8].
36393 (CLD_KILLED): Likewise.
36394 (CLD_DUMPED): Likewise.
36395 (CLD_TRAPPED): Likewise.
36396 (CLD_STOPPED): Likewise.
36397 (CLD_CONTINUED): Likewise.
36398 (POLL_IN): Likewise.
36399 (POLL_OUT): Likewise.
36400 (POLL_MSG): Likewise.
36401 (POLL_ERR): Likewise.
36402 (POLL_PRI): Likewise.
36403 (POLL_HUP): Likewise.
36404 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36405 (ILL_ILLOPN): Likewise.
36406 (ILL_ILLADR): Likewise.
36407 (ILL_ILLTRP): Likewise.
36408 (ILL_PRVOPC): Likewise.
36409 (ILL_PRVREG): Likewise.
36410 (ILL_COPROC): Likewise.
36411 (ILL_BADSTK): Likewise.
36412 (FPE_INTDIV): Likewise.
36413 (FPE_INTOVF): Likewise.
36414 (FPE_FLTDIV): Likewise.
36415 (FPE_FLTOVF): Likewise.
36416 (FPE_FLTUND): Likewise.
36417 (FPE_FLTRES): Likewise.
36418 (FPE_FLTINV): Likewise.
36419 (FPE_FLTSUB): Likewise.
36420 (SEGV_MAPERR): Likewise.
36421 (SEGV_ACCERR): Likewise.
36422 (BUS_ADRALN): Likewise.
36423 (BUS_ADRERR): Likewise.
36424 (BUS_OBJERR): Likewise.
36425 (BUS_MCEERR_AR): Likewise.
36426 (BUS_MCEERR_AO): Likewise.
36427 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36428 (TRAP_TRACE): Likewise.
36429 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36430 __USE_XOPEN2K8].
36431 (CLD_KILLED): Likewise.
36432 (CLD_DUMPED): Likewise.
36433 (CLD_TRAPPED): Likewise.
36434 (CLD_STOPPED): Likewise.
36435 (CLD_CONTINUED): Likewise.
36436 (POLL_IN): Likewise.
36437 (POLL_OUT): Likewise.
36438 (POLL_MSG): Likewise.
36439 (POLL_ERR): Likewise.
36440 (POLL_PRI): Likewise.
36441 (POLL_HUP): Likewise.
36442 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36443 (ILL_ILLOPN): Likewise.
36444 (ILL_ILLADR): Likewise.
36445 (ILL_ILLTRP): Likewise.
36446 (ILL_PRVOPC): Likewise.
36447 (ILL_PRVREG): Likewise.
36448 (ILL_COPROC): Likewise.
36449 (ILL_BADSTK): Likewise.
36450 (FPE_INTDIV): Likewise.
36451 (FPE_INTOVF): Likewise.
36452 (FPE_FLTDIV): Likewise.
36453 (FPE_FLTOVF): Likewise.
36454 (FPE_FLTUND): Likewise.
36455 (FPE_FLTRES): Likewise.
36456 (FPE_FLTINV): Likewise.
36457 (FPE_FLTSUB): Likewise.
36458 (SEGV_MAPERR): Likewise.
36459 (SEGV_ACCERR): Likewise.
36460 (BUS_ADRALN): Likewise.
36461 (BUS_ADRERR): Likewise.
36462 (BUS_OBJERR): Likewise.
36463 (BUS_MCEERR_AR): Likewise.
36464 (BUS_MCEERR_AO): Likewise.
36465 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36466 (TRAP_TRACE): Likewise.
36467 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36468 __USE_XOPEN2K8].
36469 (CLD_KILLED): Likewise.
36470 (CLD_DUMPED): Likewise.
36471 (CLD_TRAPPED): Likewise.
36472 (CLD_STOPPED): Likewise.
36473 (CLD_CONTINUED): Likewise.
36474 (POLL_IN): Likewise.
36475 (POLL_OUT): Likewise.
36476 (POLL_MSG): Likewise.
36477 (POLL_ERR): Likewise.
36478 (POLL_PRI): Likewise.
36479 (POLL_HUP): Likewise.
36480 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36481 (ILL_ILLOPN): Likewise.
36482 (ILL_ILLADR): Likewise.
36483 (ILL_ILLTRP): Likewise.
36484 (ILL_PRVOPC): Likewise.
36485 (ILL_PRVREG): Likewise.
36486 (ILL_COPROC): Likewise.
36487 (ILL_BADSTK): Likewise.
36488 (ILL_DBLFLT): Likewise.
36489 (ILL_HARDWALL): Likewise.
36490 (FPE_INTDIV): Likewise.
36491 (FPE_INTOVF): Likewise.
36492 (FPE_FLTDIV): Likewise.
36493 (FPE_FLTOVF): Likewise.
36494 (FPE_FLTUND): Likewise.
36495 (FPE_FLTRES): Likewise.
36496 (FPE_FLTINV): Likewise.
36497 (FPE_FLTSUB): Likewise.
36498 (SEGV_MAPERR): Likewise.
36499 (SEGV_ACCERR): Likewise.
36500 (BUS_ADRALN): Likewise.
36501 (BUS_ADRERR): Likewise.
36502 (BUS_OBJERR): Likewise.
36503 (BUS_MCEERR_AR): Likewise.
36504 (BUS_MCEERR_AO): Likewise.
36505 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36506 (TRAP_TRACE): Likewise.
36507 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36508 __USE_XOPEN2K8].
36509 (CLD_KILLED): Likewise.
36510 (CLD_DUMPED): Likewise.
36511 (CLD_TRAPPED): Likewise.
36512 (CLD_STOPPED): Likewise.
36513 (CLD_CONTINUED): Likewise.
36514 (POLL_IN): Likewise.
36515 (POLL_OUT): Likewise.
36516 (POLL_MSG): Likewise.
36517 (POLL_ERR): Likewise.
36518 (POLL_PRI): Likewise.
36519 (POLL_HUP): Likewise.
36520 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36521 (ILL_ILLOPN): Likewise.
36522 (ILL_ILLADR): Likewise.
36523 (ILL_ILLTRP): Likewise.
36524 (ILL_PRVOPC): Likewise.
36525 (ILL_PRVREG): Likewise.
36526 (ILL_COPROC): Likewise.
36527 (ILL_BADSTK): Likewise.
36528 (FPE_INTDIV): Likewise.
36529 (FPE_INTOVF): Likewise.
36530 (FPE_FLTDIV): Likewise.
36531 (FPE_FLTOVF): Likewise.
36532 (FPE_FLTUND): Likewise.
36533 (FPE_FLTRES): Likewise.
36534 (FPE_FLTINV): Likewise.
36535 (FPE_FLTSUB): Likewise.
36536 (SEGV_MAPERR): Likewise.
36537 (SEGV_ACCERR): Likewise.
36538 (BUS_ADRALN): Likewise.
36539 (BUS_ADRERR): Likewise.
36540 (BUS_OBJERR): Likewise.
36541 (BUS_MCEERR_AR): Likewise.
36542 (BUS_MCEERR_AO): Likewise.
36543 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36544 (TRAP_TRACE): Likewise.
36545 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36546 __USE_XOPEN2K8].
36547 (CLD_KILLED): Likewise.
36548 (CLD_DUMPED): Likewise.
36549 (CLD_TRAPPED): Likewise.
36550 (CLD_STOPPED): Likewise.
36551 (CLD_CONTINUED): Likewise.
36552 (POLL_IN): Likewise.
36553 (POLL_OUT): Likewise.
36554 (POLL_MSG): Likewise.
36555 (POLL_ERR): Likewise.
36556 (POLL_PRI): Likewise.
36557 (POLL_HUP): Likewise.
36558 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36559 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36560
36561 [BZ #16670]
36562 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36563 before #include of <time.h>.
36564 [!__USE_XOPEN2K] (__need_timespec): Likewise.
36565 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36566 (test-xfail-UNIX98/sched.h/conform): Likewise.
36567
36568 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
36569
36570 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36571 error absence of trapping exception support.
36572 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36573
36574 2014-03-07 Joseph Myers <joseph@codesourcery.com>
36575
36576 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36577 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36578 * timezone/Makefile (testdata): Move definition above include of
36579 Rules.
36580 (test-zones): New variable.
36581 (tests-special): Add zone files.
36582 (build-testdata): Use $(evaluate-test).
36583
36584 * elf/Makefile (tests-special): Rename tests to end with .out.
36585 ($(objpfx)noload-mem): Likewise.
36586 ($(objpfx)tst-leaks1-mem): Likewise.
36587 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36588 * iconv/Makefile (xtests-special): Change test-iconvconfig to
36589 $(objpfx)test-iconvconfig.out.
36590 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
36591 set -e inside subshell and redirect output to file.
36592 * iconvdata/Makefile (generated): Rename tests to end with .out.
36593 Correct type.
36594 (tests-special): Rename tests to end with .out.
36595 ($(objpfx)mtrace-tst-loading): Likewise.
36596 * intl/Makefile (generated): Likewise.
36597 (tests-special): Likewise.
36598 ($(objpfx)mtrace-tst-gettext): Likewise.
36599 * misc/Makefile (generated): Likewise.
36600 (tests-special): Likewise.
36601 ($(objpfx)tst-error1-mem): Likewise.
36602 * nptl/Makefile (tests-special): Likewise.
36603 ($(objpfx)tst-stack3-mem): Likewise.
36604 (generated): Likewise.
36605 * posix/Makefile (generated): Likewise.
36606 (tests-special): Likewise.
36607 (xtests-special): Likewise.
36608 ($(objpfx)tst-fnmatch-mem): Likewise.
36609 ($(objpfx)bug-regex2-mem): Likewise.
36610 ($(objpfx)bug-regex14-mem): Likewise.
36611 ($(objpfx)bug-regex21-mem): Likewise.
36612 ($(objpfx)bug-regex31-mem): Likewise.
36613 ($(objpfx)tst-vfork3-mem): Likewise.
36614 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36615 ($(objpfx)tst-pcre-mem): Likewise.
36616 ($(objpfx)tst-boost-mem): Likewise.
36617 ($(objpfx)bug-ga2-mem): Likewise.
36618 ($(objpfx)bug-glob2-mem): Likewise.
36619 * resolv/Makefile (generate): Likewise.
36620 (tests-special): Likewise.
36621 (xtests-special): Likewise.
36622 (generated): Likewise.
36623 ($(objpfx)mtrace-tst-leaks): Likewise.
36624 ($(objpfx)mtrace-tst-leaks2): Likewise.
36625
36626 * scripts/merge-test-results.sh: New file.
36627 * Makefile (tests-special-notdir): New variable.
36628 (tests): Run merge-test-results.sh.
36629 (xtests): Likewise.
36630 * Rules (tests-special-notdir): New variable.
36631 (xtests-special-notdir): Likewise.
36632 (tests): Run merge-test-results.sh
36633 (xtests): Likewise.
36634
36635 * Makeconfig (test-xfail-name): New variable.
36636 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36637 compute variable name for expected failures.
36638 * conform/Makefile (conformtest-headers-data): New variable.
36639 (conformtest-standards): Likewise.
36640 (conformtest-headers-ISO): Likewise.
36641 (conformtest-headers-ISO99): Likewise.
36642 (conformtest-headers-ISO11): Likewise.
36643 (conformtest-headers-POSIX): Likewise.
36644 (conformtest-headers-XPG3): Likewise.
36645 (conformtest-headers-XPG4): Likewise.
36646 (conformtest-headers-UNIX98): Likewise.
36647 (conformtest-headers-XOPEN2K): Likewise.
36648 (conformtest-headers-POSIX2008): Likewise.
36649 (conformtest-headers-XOPEN2K8): Likewise.
36650 (conformtest-header-list-base): Likewise.
36651 (conformtest-header-list-tests): Likewise.
36652 (conformtest-header-base): Likewise.
36653 (conformtest-header-tests): Likewise.
36654 (tests-special): Add $(conformtest-header-list-tests). If
36655 [$(fast-check) && !$(cross-compiling)], add
36656 $(conformtest-header-tests) instead of
36657 $(objpfx)run-conformtest.out.
36658 (generated): Add $(conformtest-header-list-base). If
36659 [$(fast-check) && !$(cross-compiling)], add
36660 $(conformtest-header-base). Remove previous setting.
36661 ($(conformtest-header-list-tests)): New target.
36662 (test-xfail-run-conformtest): Remove variable.
36663 ($(objpfx)run-conformtest.out): Remove target.
36664 (test-xfail-ISO11/complex.h/conform): New variable.
36665 (test-xfail-ISO11/stdalign.h/conform): Likewise.
36666 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36667 (test-xfail-XPG3/varargs.h/conform): Likewise.
36668 (test-xfail-XPG4/varargs.h/conform): Likewise.
36669 (test-xfail-UNIX98/varargs.h/conform): Likewise.
36670 (test-xfail-XPG4/ndbm.h/conform): Likewise.
36671 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36672 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36673 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36674 (test-xfail-XPG3/fcntl.h/conform): Likewise.
36675 (test-xfail-XPG3/ftw.h/conform): Likewise.
36676 (test-xfail-XPG3/grp.h/conform): Likewise.
36677 (test-xfail-XPG3/langinfo.h/conform): Likewise.
36678 (test-xfail-XPG3/limits.h/conform): Likewise.
36679 (test-xfail-XPG3/pwd.h/conform): Likewise.
36680 (test-xfail-XPG3/search.h/conform): Likewise.
36681 (test-xfail-XPG3/signal.h/conform): Likewise.
36682 (test-xfail-XPG3/stdio.h/conform): Likewise.
36683 (test-xfail-XPG3/stdlib.h/conform): Likewise.
36684 (test-xfail-XPG3/string.h/conform): Likewise.
36685 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36686 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36687 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36688 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36689 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36690 (test-xfail-XPG3/sys/types.h/conform): Likewise.
36691 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36692 (test-xfail-XPG3/termios.h/conform): Likewise.
36693 (test-xfail-XPG3/time.h/conform): Likewise.
36694 (test-xfail-XPG3/unistd.h/conform): Likewise.
36695 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36696 (test-xfail-XPG4/fcntl.h/conform): Likewise.
36697 (test-xfail-XPG4/langinfo.h/conform): Likewise.
36698 (test-xfail-XPG4/netdb.h/conform): Likewise.
36699 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36700 (test-xfail-XPG4/signal.h/conform): Likewise.
36701 (test-xfail-XPG4/stdio.h/conform): Likewise.
36702 (test-xfail-XPG4/stdlib.h/conform): Likewise.
36703 (test-xfail-XPG4/stropts.h/conform): Likewise.
36704 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36705 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36706 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36707 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36708 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36709 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36710 (test-xfail-XPG4/sys/time.h/conform): Likewise.
36711 (test-xfail-XPG4/sys/types.h/conform): Likewise.
36712 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36713 (test-xfail-XPG4/termios.h/conform): Likewise.
36714 (test-xfail-XPG4/ucontext.h/conform): Likewise.
36715 (test-xfail-XPG4/unistd.h/conform): Likewise.
36716 (test-xfail-XPG4/utmpx.h/conform): Likewise.
36717 (test-xfail-POSIX/sched.h/conform): Likewise.
36718 (test-xfail-POSIX/signal.h/conform): Likewise.
36719 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36720 (test-xfail-POSIX/tar.h/conform): Likewise.
36721 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36722 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36723 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36724 (test-xfail-UNIX98/netdb.h/conform): Likewise.
36725 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36726 (test-xfail-UNIX98/sched.h/conform): Likewise.
36727 (test-xfail-UNIX98/signal.h/conform): Likewise.
36728 (test-xfail-UNIX98/stdio.h/conform): Likewise.
36729 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36730 (test-xfail-UNIX98/stropts.h/conform): Likewise.
36731 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36732 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36733 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36734 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36735 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36736 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36737 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36738 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36739 (test-xfail-UNIX98/unistd.h/conform): Likewise.
36740 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36741 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36742 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36743 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36744 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36745 (test-xfail-XOPEN2K/math.h/conform): Likewise.
36746 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36747 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36748 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36749 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36750 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36751 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36752 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36753 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36754 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36755 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36756 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36757 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36758 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36759 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36760 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36761 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36762 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36763 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36764 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36765 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36766 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36767 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36768 (test-xfail-POSIX2008/signal.h/conform): Likewise.
36769 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36770 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36771 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36772 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36773 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36774 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36775 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36776 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36777 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36778 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36779 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36780 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36781 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36782 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36783 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36784 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36785 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36786 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36787 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36788 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36789 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36790 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36791 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36792 (conformtest-cc-flags): Likewise.
36793 ($(conformtest-header-tests): New target.
36794 * conform/check-header-lists.sh: New file.
36795 * conform/run-conformtest.sh: Remove.
36796
36797 * conform/conformtest.pl: Allow ' and \ in values given for
36798 constants.
36799 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36800 inclusion.
36801 [POSIX] (sys/types.h): Likewise.
36802 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36803 inclusion.
36804 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36805 inclusion.
36806 * conform/data/signal.h-data (SIGIO): Remove expectation.
36807 [XPG3] (SIGBUS): Do not expect.
36808 [POSIX || XPG3] (SIGPOLL): Likewise.
36809 [POSIX || XPG3] (SIGPROF): Likewise.
36810 [POSIX || XPG3] (SIGSYS): Likewise.
36811 [XPG3] (SIGTRAP): Likewise.
36812 [POSIX || XPG3] (SIGURG): Likewise.
36813 [POSIX || XPG3] (SIGVTALRM): Likewise.
36814 [POSIX || XPG3] (SIGXCPU): Likewise.
36815 [POSIX || XPG3] (SIGXFSZ): Likewise.
36816 [POSIX] (SA_SIGINFO): Expect.
36817 [XPG3] (siginfo_t): Do not expect type or contents.
36818 [POSIX] (si_pid): Do not expect element.
36819 [POSIX] (si_uid): Likewise.
36820 [POSIX] (si_addr): Likewise.
36821 [POSIX] (si_status): Likewise.
36822 [POSIX] (si_band): Likewise.
36823 [XPG4] (si_value): Likewise.
36824 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36825 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36826 [POSIX || XPG3] (ILL_ILLADR): Likewise.
36827 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36828 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36829 [POSIX || XPG3] (ILL_PRVREG): Likewise.
36830 [POSIX || XPG3] (ILL_COPROC): Likewise.
36831 [POSIX || XPG3] (ILL_BADSTK): Likewise.
36832 [POSIX || XPG3] (FPE_INTDIV): Likewise.
36833 [POSIX || XPG3] (FPE_INTOVF): Likewise.
36834 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36835 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36836 [POSIX || XPG3] (FPE_FLTUND): Likewise.
36837 [POSIX || XPG3] (FPE_FLTRES): Likewise.
36838 [POSIX || XPG3] (FPE_FLTINV): Likewise.
36839 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36840 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36841 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36842 [POSIX || XPG3] (BUS_ADRALN): Likewise.
36843 [POSIX || XPG3] (BUS_ADRERR): Likewise.
36844 [POSIX || XPG3] (BUS_OBJERR): Likewise.
36845 [POSIX || XPG3] (CLD_EXITED): Likewise.
36846 [POSIX || XPG3] (CLD_KILLED): Likewise.
36847 [POSIX || XPG3] (CLD_DUMPED): Likewise.
36848 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36849 [POSIX || XPG3] (CLD_STOPPED): Likewise.
36850 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36851 [POSIX || XPG3] (POLL_IN): Likewise.
36852 [POSIX || XPG3] (POLL_OUT): Likewise.
36853 [POSIX || XPG3] (POLL_MSG): Likewise.
36854 [POSIX || XPG3] (POLL_ERR): Likewise.
36855 [POSIX || XPG3] (POLL_PRI): Likewise.
36856 [POSIX || XPG3] (POLL_HUP): Likewise.
36857 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36858 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36859 (SIG*): Do not allow.
36860 [XPG3] (si_*): Likewise.
36861 [XPG3] (SI_*): Likewise.
36862 [XPG3 || XPG4] (sigev_*): Likewise.
36863 [XPG3 || XPG4] (SIGEV_*): Likewise.
36864 [XPG3 || XPG4] (sival_*): Likewise.
36865 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36866 [POSIX || XPG3] (BUS_*): Likewise.
36867 [POSIX || XPG3] (CLD_*): Likewise.
36868 [POSIX || XPG3] (FPE_*): Likewise.
36869 [POSIX || XPG3] (ILL_*): Likewise.
36870 [POSIX || XPG3] (POLL_*): Likewise.
36871 [POSIX || XPG3] (SEGV_*): Likewise.
36872 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36873 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36874 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36875 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36876 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36877 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36878 Specify type and value.
36879 (TVERSLEN): Likewise.
36880 (REGTYPE): Likewise.
36881 (AREGTYPE): Likewise.
36882 (LNKTYPE): Likewise.
36883 (SYMTYPE): Likewise.
36884 (CHRTYPE): Likewise.
36885 (BLKTYPE): Likewise.
36886 (DIRTYPE): Likewise.
36887 (FIFOTYPE): Likewise.
36888 (CONTTYPE): Likewise.
36889 (TSUID): Likewise.
36890 (TSGID): Likewise.
36891 (TSVTX): Likewise.
36892 (TUREAD): Likewise.
36893 (TUWRITE): Likewise.
36894 (TUEXEC): Likewise.
36895 (TGREAD): Likewise.
36896 (TGWRITE): Likewise.
36897 (TGEXEC): Likewise.
36898 (TOREAD): Likewise.
36899 (TOWRITE): Likewise.
36900 (TOEXEC): Likewise.
36901 [POSIX] (TSVTX): Expect constant.
36902
36903 2014-03-06 Joseph Myers <joseph@codesourcery.com>
36904
36905 * Makefile (tests): Change dependencies to ....
36906 (tests-special): ... additions to this variable.
36907 (tests): Depend on $(tests-special).
36908 * Makerules (check-abi-list): New variable.
36909 (check-abi): Depend on $(check-abi-list).
36910 [$(subdir) = elf] (tests-special): Add
36911 $(objpfx)check-abi-libc.out.
36912 [$(build-shared) = yes && subdir] (tests-special): Add
36913 $(check-abi-list).
36914 [$(build-shared) = yes && subdir] (tests): Do not depend on
36915 check-abi.
36916 * Rules (tests): Depend on $(tests-special).
36917 (xtests): Depend on $(xtests-special).
36918 * catgets/Makefile (tests): Change dependencies to ....
36919 (tests-special): ... additions to this variable.
36920 * conform/Makefile (tests): Change dependencies to ....
36921 (tests-special): ... additions to this variable.
36922 * elf/Makefile (tests): Change dependencies to ....
36923 (tests-special): ... additions to this variable.
36924 * grp/Makefile (tests): Change dependencies to ....
36925 (tests-special): ... additions to this variable.
36926 * iconv/Makefile (xtests): Change dependencies to ....
36927 (xtests-special): ... additions to this variable.
36928 * iconvdata/Makefile (tests): Change dependencies to ....
36929 (tests-special): ... additions to this variable.
36930 * intl/Makefile (tests): Change dependencies to ....
36931 (tests-special): ... additions to this variable. Also add
36932 $(objpfx)tst-gettext.out.
36933 * io/Makefile (tests): Change dependencies to ....
36934 (tests-special): ... additions to this variable.
36935 * libio/Makefile (tests): Change dependencies to ....
36936 (tests-special): ... additions to this variable.
36937 * malloc/Makefile (tests): Change dependencies to ....
36938 (tests-special): ... additions to this variable.
36939 * misc/Makefile (tests): Change dependencies to ....
36940 (tests-special): ... additions to this variable.
36941 * nptl/Makefile (tests): Change dependencies to ....
36942 (tests-special): ... additions to this variable.
36943 * nptl_db/Makefile (tests): Change dependencies to ....
36944 (tests-special): ... additions to this variable.
36945 * posix/Makefile (tests): Change dependencies to ....
36946 (tests-special): ... additions to this variable.
36947 (xtests): Change dependencies to ....
36948 (xtests-special): ... additions to this variable.
36949 * resolv/Makefile (tests): Change dependencies to ....
36950 (tests-special): ... additions to this variable.
36951 (xtests): Change dependencies to ....
36952 (xtests-special): ... additions to this variable.
36953 * stdio-common/Makefile (tests): Change dependencies to ....
36954 (tests-special): ... additions to this variable.
36955 (do-tst-unbputc): Remove target.
36956 (do-tst-printf): Likewise.
36957 * stdlib/Makefile (tests): Change dependencies to ....
36958 (tests-special): ... additions to this variable.
36959 * string/Makefile (tests): Change dependencies to ....
36960 (tests-special): ... additions to this variable.
36961 * sysdeps/x86/Makefile (tests): Change dependencies to ....
36962 (tests-special): ... additions to this variable.
36963
36964 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36965 whole file.
36966 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36967 whole file.
36968 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36969 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36970
36971 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36972 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36973 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36974 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36975 * conform/data/libgen.h-data [XPG3]: Likewise.
36976 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36977 * conform/data/ndbm.h-data [XPG3]: Likewise.
36978 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36979 * conform/data/netdb.h-data [XPG3]: Likewise.
36980 * conform/data/netinet/in.h-data [XPG3]: Likewise.
36981 * conform/data/poll.h-data [XPG3]: Likewise.
36982 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36983 * conform/data/strings.h-data [XPG3]: Likewise.
36984 * conform/data/stropts.h-data [XPG3]: Likewise.
36985 * conform/data/sys/mman.h-data [XPG3]: Likewise.
36986 * conform/data/sys/resource.h-data [XPG3]: Likewise.
36987 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36988 Likewise.
36989 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36990 * conform/data/sys/time.h-data [XPG3]: Likewise.
36991 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36992 * conform/data/sys/uio.h-data [XPG3]: Likewise.
36993 * conform/data/sys/un.h-data [XPG3]: Likewise.
36994 * conform/data/syslog.h-data [XPG3]: Likewise.
36995 * conform/data/ucontext.h-data [XPG3]: Likewise.
36996 * conform/data/utmpx.h-data [XPG3]: Likewise.
36997 * conform/data/varargs.h-data [UNIX98]: Enable file.
36998
36999 * manual/Makefile (INSTALL_INFO): Remove variable setting.
37000
37001 * math/libm-test.inc (struct test_f_f_data): Move expected results
37002 into structure for each rounding mode.
37003 (struct test_ff_f_data): Likewise.
37004 (struct test_ff_f_data_nexttoward): Likewise.
37005 (struct test_fi_f_data): Likewise.
37006 (struct test_fl_f_data): Likewise.
37007 (struct test_if_f_data): Likewise.
37008 (struct test_fff_f_data): Likewise.
37009 (struct test_c_f_data): Likewise.
37010 (struct test_f_f1_data): Likewise.
37011 (struct test_fF_f1_data): Likewise.
37012 (struct test_ffI_f1_data): Likewise.
37013 (struct test_c_c_data): Likewise.
37014 (struct test_cc_c_data): Likewise.
37015 (struct test_f_i_data): Likewise.
37016 (struct test_ff_i_data): Likewise.
37017 (struct test_f_l_data): Likewise.
37018 (struct test_f_L_data): Likewise.
37019 (struct test_fFF_11_data): Likewise.
37020 (RM_): New macro.
37021 (RM_FE_DOWNWARD): Likewise.
37022 (RM_FE_TONEAREST): Likewise.
37023 (RM_FE_TOWARDZERO): Likewise.
37024 (RM_FE_UPWARD): Likewise.
37025 (RUN_TEST_LOOP_f_f): Update references to expected results.
37026 (RUN_TEST_LOOP_2_f): Likewise.
37027 (RUN_TEST_LOOP_fff_f): Likewise.
37028 (RUN_TEST_LOOP_c_f): Likewise.
37029 (RUN_TEST_LOOP_f_f1): Likewise.
37030 (RUN_TEST_LOOP_fF_f1): Likewise.
37031 (RUN_TEST_LOOP_fI_f1): Likewise.
37032 (RUN_TEST_LOOP_ffI_f1): Likewise.
37033 (RUN_TEST_LOOP_c_c): Likewise.
37034 (RUN_TEST_LOOP_cc_c): Likewise.
37035 (RUN_TEST_LOOP_f_i): Likewise.
37036 (RUN_TEST_LOOP_f_i_tg): Likewise.
37037 (RUN_TEST_LOOP_ff_i_tg): Likewise.
37038 (RUN_TEST_LOOP_f_b): Likewise.
37039 (RUN_TEST_LOOP_f_b_tg): Likewise.
37040 (RUN_TEST_LOOP_f_l): Likewise.
37041 (RUN_TEST_LOOP_f_L): Likewise.
37042 (RUN_TEST_LOOP_fFF_11): Likewise.
37043 * math/gen-libm-test.pl (parse_args): Output four copies of
37044 expected results for each test.
37045
37046 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37047 (__ASSUME_UTIMES): Remove.
37048 * sysdeps/unix/sysv/linux/tile/kernel-features.h
37049 (__ASSUME_UTIMES): Likewise.
37050
37051 * math/gen-auto-libm-tests.c: Update comment on output format.
37052 (output_for_one_input_case): Generate before-rounding and
37053 after-rounding information as conditions on output flags not
37054 floating-point format.
37055 * math/auto-libm-test-out: Regenerated.
37056 * math/gen-libm-test.pl (cond_value): New function.
37057 (or_cond_value): Use cond_value.
37058 (generate_testfile): Handle conditional exceptions.
37059
37060 2014-03-05 Joseph Myers <joseph@codesourcery.com>
37061
37062 * math/libm-test.inc (max_valid_error): New variable.
37063 (init_max_error): Take new argument specifying whether function
37064 results are exactly determined. Set max_valid_error and bound
37065 other variables for errors based on this argument.
37066 (set_max_error): Do not record results above max_valid_error.
37067 (check_float_internal): Only accept errors of up to 0.5ulps if
37068 also at most max_valid_error.
37069 (START): Take new argument EXACT and pass it to init_max_error.
37070 (acos_test): Update call to START.
37071 (acos_test_tonearest): Likewise.
37072 (acos_test_towardzero): Likewise.
37073 (acos_test_downward): Likewise.
37074 (acos_test_upward): Likewise.
37075 (acosh_test): Likewise.
37076 (asin_test): Likewise.
37077 (asin_test_tonearest): Likewise.
37078 (asin_test_towardzero): Likewise.
37079 (asin_test_downward): Likewise.
37080 (asin_test_upward): Likewise.
37081 (asinh_test): Likewise.
37082 (atan_test): Likewise.
37083 (atanh_test): Likewise.
37084 (atan2_test): Likewise.
37085 (cabs_test): Likewise.
37086 (cacos_test): Likewise.
37087 (cacosh_test): Likewise.
37088 (carg_test): Likewise.
37089 (casin_test): Likewise.
37090 (casinh_test): Likewise.
37091 (catan_test): Likewise.
37092 (catanh_test): Likewise.
37093 (cbrt_test): Likewise.
37094 (ccos_test): Likewise.
37095 (ccosh_test): Likewise.
37096 (ceil_test): Likewise.
37097 (cexp_test): Likewise.
37098 (cimag_test): Likewise.
37099 (clog_test): Likewise.
37100 (clog10_test): Likewise.
37101 (conj_test): Likewise.
37102 (copysign_test): Likewise.
37103 (cos_test): Likewise.
37104 (cos_test_tonearest): Likewise.
37105 (cos_test_towardzero): Likewise.
37106 (cos_test_downward): Likewise.
37107 (cos_test_upward): Likewise.
37108 (cosh_test): Likewise.
37109 (cosh_test_tonearest): Likewise.
37110 (cosh_test_towardzero): Likewise.
37111 (cosh_test_downward): Likewise.
37112 (cosh_test_upward): Likewise.
37113 (cpow_test): Likewise.
37114 (cproj_test): Likewise.
37115 (creal_test): Likewise.
37116 (csin_test): Likewise.
37117 (csinh_test): Likewise.
37118 (csqrt_test): Likewise.
37119 (ctan_test): Likewise.
37120 (ctan_test_tonearest): Likewise.
37121 (ctan_test_towardzero): Likewise.
37122 (ctan_test_downward): Likewise.
37123 (ctan_test_upward): Likewise.
37124 (ctanh_test): Likewise.
37125 (ctanh_test_tonearest): Likewise.
37126 (ctanh_test_towardzero): Likewise.
37127 (ctanh_test_downward): Likewise.
37128 (ctanh_test_upward): Likewise.
37129 (erf_test): Likewise.
37130 (erfc_test): Likewise.
37131 (exp_test): Likewise.
37132 (exp_test_tonearest): Likewise.
37133 (exp_test_towardzero): Likewise.
37134 (exp_test_downward): Likewise.
37135 (exp_test_upward): Likewise.
37136 (exp10_test): Likewise.
37137 (exp10_test_tonearest): Likewise.
37138 (exp10_test_towardzero): Likewise.
37139 (exp10_test_downward): Likewise.
37140 (exp10_test_upward): Likewise.
37141 (pow10_test): Likewise.
37142 (exp2_test): Likewise.
37143 (expm1_test): Likewise.
37144 (expm1_test_tonearest): Likewise.
37145 (expm1_test_towardzero): Likewise.
37146 (expm1_test_downward): Likewise.
37147 (expm1_test_upward): Likewise.
37148 (fabs_test): Likewise.
37149 (fdim_test): Likewise.
37150 (floor_test): Likewise.
37151 (fma_test): Likewise.
37152 (fma_test_towardzero): Likewise.
37153 (fma_test_downward): Likewise.
37154 (fma_test_upward): Likewise.
37155 (fmax_test): Likewise.
37156 (fmin_test): Likewise.
37157 (fmod_test): Likewise.
37158 (fpclassify_test): Likewise.
37159 (frexp_test): Likewise.
37160 (hypot_test): Likewise.
37161 (ilogb_test): Likewise.
37162 (isfinite_test): Likewise.
37163 (finite_test): Likewise.
37164 (isgreater_test): Likewise.
37165 (isgreaterequal_test): Likewise.
37166 (isinf_test): Likewise.
37167 (isless_test): Likewise.
37168 (islessequal_test): Likewise.
37169 (islessgreater_test): Likewise.
37170 (isnan_test): Likewise.
37171 (isnormal_test): Likewise.
37172 (issignaling_test): Likewise.
37173 (isunordered_test): Likewise.
37174 (j0_test): Likewise.
37175 (j1_test): Likewise.
37176 (jn_test): Likewise.
37177 (ldexp_test): Likewise.
37178 (lgamma_test): Likewise.
37179 (gamma_test): Likewise.
37180 (lrint_test): Likewise.
37181 (lrint_test_tonearest): Likewise.
37182 (lrint_test_towardzero): Likewise.
37183 (lrint_test_downward): Likewise.
37184 (lrint_test_upward): Likewise.
37185 (llrint_test): Likewise.
37186 (llrint_test_tonearest): Likewise.
37187 (llrint_test_towardzero): Likewise.
37188 (llrint_test_downward): Likewise.
37189 (llrint_test_upward): Likewise.
37190 (log_test): Likewise.
37191 (log10_test): Likewise.
37192 (log1p_test): Likewise.
37193 (log2_test): Likewise.
37194 (logb_test): Likewise.
37195 (logb_test_downward): Likewise.
37196 (lround_test): Likewise.
37197 (llround_test): Likewise.
37198 (modf_test): Likewise.
37199 (nearbyint_test): Likewise.
37200 (nextafter_test): Likewise.
37201 (nexttoward_test): Likewise.
37202 (pow_test): Likewise.
37203 (pow_test_tonearest): Likewise.
37204 (pow_test_towardzero): Likewise.
37205 (pow_test_downward): Likewise.
37206 (pow_test_upward): Likewise.
37207 (remainder_test): Likewise.
37208 (drem_test): Likewise.
37209 (remainder_test_tonearest): Likewise.
37210 (drem_test_tonearest): Likewise.
37211 (remainder_test_towardzero): Likewise.
37212 (drem_test_towardzero): Likewise.
37213 (remainder_test_downward): Likewise.
37214 (drem_test_downward): Likewise.
37215 (remainder_test_upward): Likewise.
37216 (drem_test_upward): Likewise.
37217 (remquo_test): Likewise.
37218 (rint_test): Likewise.
37219 (rint_test_tonearest): Likewise.
37220 (rint_test_towardzero): Likewise.
37221 (rint_test_downward): Likewise.
37222 (rint_test_upward): Likewise.
37223 (round_test): Likewise.
37224 (scalb_test): Likewise.
37225 (scalbn_test): Likewise.
37226 (scalbln_test): Likewise.
37227 (signbit_test): Likewise.
37228 (sin_test): Likewise.
37229 (sin_test_tonearest): Likewise.
37230 (sin_test_towardzero): Likewise.
37231 (sin_test_downward): Likewise.
37232 (sin_test_upward): Likewise.
37233 (sincos_test): Likewise.
37234 (sinh_test): Likewise.
37235 (sinh_test_tonearest): Likewise.
37236 (sinh_test_towardzero): Likewise.
37237 (sinh_test_downward): Likewise.
37238 (sinh_test_upward): Likewise.
37239 (sqrt_test): Likewise.
37240 (sqrt_test_tonearest): Likewise.
37241 (sqrt_test_towardzero): Likewise.
37242 (sqrt_test_downward): Likewise.
37243 (sqrt_test_upward): Likewise.
37244 (tan_test): Likewise.
37245 (tan_test_tonearest): Likewise.
37246 (tan_test_towardzero): Likewise.
37247 (tan_test_downward): Likewise.
37248 (tan_test_upward): Likewise.
37249 (tanh_test): Likewise.
37250 (tgamma_test): Likewise.
37251 (trunc_test): Likewise.
37252 (y0_test): Likewise.
37253 (y1_test): Likewise.
37254 (yn_test): Likewise.
37255 (significand_test): Likewise.
37256
37257 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37258 individual tests in comment.
37259 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37260 (prev_max_error): New variable.
37261 (prev_real_max_error): Likewise.
37262 (prev_imag_max_error): Likewise.
37263 (compare_ulp_data): Don't refer to test names in comment.
37264 (find_test_ulps): Remove function.
37265 (find_function_ulps): Likewise.
37266 (find_complex_function_ulps): Likewise.
37267 (init_max_error): Take function name as argument. Look up ulps
37268 for that function.
37269 (print_ulps): Remove function.
37270 (print_max_error): Use prev_max_error instead of calling
37271 find_function_ulps.
37272 (print_complex_max_error): Use prev_real_max_error and
37273 prev_imag_max_error instead of calling find_complex_function_ulps.
37274 (check_float_internal): Take max_ulp parameter instead of calling
37275 find_test_ulps. Don't call print_ulps.
37276 (check_float): Update call to check_float_internal.
37277 (check_complex): Update calls to check_float_internal.
37278 (START): Pass argument to init_max_error.
37279 * math/gen-libm-test.pl (%results): Don't include "kind"
37280 information.
37281 (parse_ulps): Don't handle ulps of individual tests.
37282 (print_ulps_file): Likewise.
37283 (output_ulps): Likewise.
37284 * math/README.libm-test: Update.
37285 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
37286 individual tests.
37287 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
37288 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37289 * sysdeps/arm/libm-test-ulps: Likewise.
37290 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37291 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
37292 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
37293 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
37294 * sysdeps/microblaze/libm-test-ulps: Likewise.
37295 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
37296 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37297 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37298 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
37299 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37300 * sysdeps/sh/libm-test-ulps: Likewise.
37301 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37302 * sysdeps/tile/libm-test-ulps: Likewise.
37303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37304
37305 2014-03-04 Joseph Myers <joseph@codesourcery.com>
37306
37307 * math/libm-test.inc (print_complex_max_error): Check separately
37308 whether real and imaginary errors are within allowed range and
37309 pass 0 to print_complex_function_ulps instead of value within
37310 allowed range.
37311
37312 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37313
37314 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
37315 formatting.
37316 (get_handles_fopen): Likewise.
37317 (do_write_test): Likewise.
37318
37319 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
37320
37321 * libio/fileops.c (do_ftell): Use cached offset when
37322 available.
37323 * libio/iofwide.c (do_ftell_wide): Likewise.
37324 * libio/iofdopen.c (_IO_new_fdopen): Don't use
37325 _IO_file_attach.
37326 * libio/wfileops.c (_IO_fwide): Don't cache offset.
37327
37328 [BZ #16532]
37329 * libio/libioP.h (get_file_offset): New function.
37330 * libio/fileops.c (get_file_offset): Likewise.
37331 (do_ftell): Likewise.
37332 (_IO_new_file_seekoff): Split out ftell logic.
37333 * libio/wfileops.c (do_ftell_wide): Likewise.
37334 (_IO_wfile_seekoff): Split out ftell logic.
37335 * libio/tst-ftell-active-handler.c: New test case.
37336 * libio/Makefile (tests): Add it.
37337
37338 2014-03-03 Roland McGrath <roland@hack.frob.com>
37339
37340 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
37341 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
37342
37343 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37344
37345 [BZ #16639]
37346 * nscd/connections.c (nscd_init): Call do_exit.
37347 (start_threads): Call do_exit and notify_parent.
37348 (begin_drop_privileges): Call do_exit.
37349 (finish_drop_privileges): Likewise.
37350 * nscd/selinux.c (preserve_capabilities): Likewise.
37351 (install_real_capabilities): Likewise.
37352 (nscd_selinux_enabled): Likewise.
37353 (avc_create_thread): Likewise.
37354 (avc_alloc_lock): Likewise.
37355 (nscd_avc_init): Likewise.
37356 * nscd/nscd.c (parent_fd): New static variable.
37357 (main): Create a pipe between parent and child processes.
37358 Skip closing parent_fd.
37359 (monitor_child): New function.
37360 (do_exit): Likewise.
37361 (notify_parent): Likewise.
37362 * nscd/nscd.h (notify_parent): Likewise.
37363 (do_exit): Likewise.
37364
37365 2014-03-03 Carlos O'Donell <carlos@redhat.com>
37366
37367 * malloc/malloc.c (__libc_calloc): Revert last change.
37368
37369 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37370
37371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37372
37373 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37374
37375 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37377 implementation.
37378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37379 (__libc_ifunc_impl_list): Likewise.
37380 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37381 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37382 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37383 * string/strrchr.c: Define STRRCHR.
37384
37385 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
37386
37387 * benchtest/bench-strtok.c (simple_strtok): Delete.
37388 (strtok_string): Use as benchmark.
37389 * string/strtok (STRTOK): New macro.
37390
37391 2014-02-28 Carlos O'Donell <carlos@redhat.com>
37392
37393 * manual/threads.texi: Add header and standard comments to all
37394 functions.
37395
37396 * elf/dl-lookup.c (check_match): New function.
37397 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37398 (do_lookup_x): Remove nested function check_match. Use non-nested
37399 function check_match.
37400
37401 2014-02-28 Roland McGrath <roland@hack.frob.com>
37402
37403 * csu/Makefile (generated, before-compile): Use += rather than =.
37404 * catgets/Makefile (generated, generated-dirs): Likewise.
37405 * debug/Makefile (generated): Likewise.
37406 * dlfcn/Makefile (generated): Likewise.
37407 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37408 * iconvdata/Makefile (before-compile, generated): Likewise.
37409 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37410 * libio/Makefile (generated): Likewise.
37411 * malloc/Makefile (generated): Likewise.
37412 * manual/Makefile (generated, generated-dirs): Likewise.
37413 * misc/Makefile (generated): Likewise.
37414 * posix/Makefile (generated): Likewise.
37415 * resolv/Makefile (generated): Likewise.
37416 * sunrpc/Makefile (generated, generated-dirs): Likewise.
37417 * timezone/Makefile (generated, generated-dirs): Likewise.
37418
37419 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37420
37421 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37422
37423 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37424 power8 implementation.
37425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37426 file: POWER8 llround ifunc implementation.
37427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37428 (__lllround): Add POWER8 implementation.
37429 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37430 POWER8 llround implementation.
37431
37432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37433 power8 implementation.
37434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37435 file: POWER8 llrint ifunc implementation.
37436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37437 Add POWER8 implementation.
37438 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37439 POWER8 llrint implementation.
37440
37441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37442 power8 implementation.
37443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37444 file: POWER8 finite ifunc implementation.
37445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37446 Add POWER8 implementation.
37447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37448 Likewise.
37449 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37450 POWER8 finite implementation.
37451 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37452
37453 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37454 power8 implementation.
37455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37456 file: POWER8 isinf ifunc implementation.
37457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37458 POWER8 implementation.
37459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37460 Likewise.
37461 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37462 isinf implementation.
37463 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37464
37465 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37466 (INIT_ARCH): Add hwcap2 initialization.
37467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37468 power8 implementation.
37469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37470 file: POWER8 isnan ifunc implementation.
37471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37472 POWER8 implementation.
37473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37474 Likewise.
37475 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37476 isnan implementation.
37477 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37478
37479 2014-02-27 Joey Ye <joey.ye@arm.com>
37480
37481 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37482 (_FP_NANFRAC_Q): Set to zero.
37483
37484 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37485
37486 [BZ #16623]
37487 * math/auto-libm-test-in: New test inputs.
37488 * math/auto-libm-test-out: Regenerate.
37489 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37490 and DA.
37491 (__cos): Likewise.
37492 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37493
37494 2014-02-27 Joseph Myers <joseph@codesourcery.com>
37495
37496 * scripts/evaluate-test.sh: Take new argument indicating whether
37497 failure is expected.
37498 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37499 indicating whether failure is expected.
37500 * conform/Makefile (test-xfail-run-conformtest): New variable.
37501 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37502 level.
37503 * posix/Makefile (test-xfail-annexc): New variable.
37504 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37505
37506 2014-02-26 Joseph Myers <joseph@codesourcery.com>
37507
37508 * argp/Makefile: Include Makeconfig immediately after defining
37509 subdir.
37510 * assert/Makefile: Likewise.
37511 * benchtests/Makefile: Likewise.
37512 * catgets/Makefile: Likewise.
37513 * conform/Makefile: Likewise.
37514 * crypt/Makefile: Likewise.
37515 * csu/Makefile: Likewise.
37516 (all): Remove target.
37517 * ctype/Makefile: Include Makeconfig immediately after defining
37518 subdir.
37519 * debug/Makefile: Likewise.
37520 * dirent/Makefile: Likewise.
37521 * dlfcn/Makefile: Likewise.
37522 * gmon/Makefile: Likewise.
37523 * gnulib/Makefile: Likewise.
37524 * grp/Makefile: Likewise.
37525 * gshadow/Makefile: Likewise.
37526 * hesiod/Makefile: Likewise.
37527 * hurd/Makefile: Likewise.
37528 (all): Remove target.
37529 * iconvdata/Makefile: Include Makeconfig immediately after
37530 defining subdir.
37531 * inet/Makefile: Likewise.
37532 * intl/Makefile: Likewise.
37533 * io/Makefile: Likewise.
37534 * libio/Makefile: Likewise.
37535 (all): Remove target.
37536 * locale/Makefile: Include Makeconfig immediately after defining
37537 subdir.
37538 * login/Makefile: Likewise.
37539 * mach/Makefile: Likewise.
37540 (all): Remove target.
37541 * malloc/Makefile: Include Makeconfig immediately after defining
37542 subdir.
37543 (all): Remove target.
37544 * manual/Makefile: Include Makeconfig immediately after defining
37545 subdir.
37546 * math/Makefile: Likewise.
37547 * misc/Makefile: Likewise.
37548 * nis/Makefile: Likewise.
37549 * nss/Makefile: Likewise.
37550 * po/Makefile: Likewise.
37551 (all): Remove target.
37552 * posix/Makefile: Include Makeconfig immediately after defining
37553 subdir.
37554 * pwd/Makefile: Likewise.
37555 * resolv/Makefile: Likewise.
37556 * resource/Makefile: Likewise.
37557 * rt/Makefile: Likewise.
37558 * setjmp/Makefile: Likewise.
37559 * shadow/Makefile: Likewise.
37560 * signal/Makefile: Likewise.
37561 * socket/Makefile: Likewise.
37562 * soft-fp/Makefile: Likewise.
37563 * stdio-common/Makefile: Likewise.
37564 * stdlib/Makefile: Likewise.
37565 * streams/Makefile: Likewise.
37566 * string/Makefile: Likewise.
37567 * sunrpc/Makefile: Likewise.
37568 (all): Remove target.
37569 * sysvipc/Makefile: Include Makeconfig immediately after defining
37570 subdir.
37571 * termios/Makefile: Likewise.
37572 * time/Makefile: Likewise.
37573 * timezone/Makefile: Likewise.
37574 (all): Remove target.
37575 * wcsmbs/Makefile: Include Makeconfig immediately after defining
37576 subdir.
37577 * wctype/Makefile: Likewise.
37578
37579 2014-02-26 Steve Ellcey <sellcey@mips.com>
37580
37581 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37582 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37583 (libc_feholdexcept_setround_mips): Ditto.
37584 (libc_feholdsetround): New.
37585 (libc_feholdsetroundf): New.
37586 (libc_feholdsetroundl): New.
37587 (libc_feupdateenv_test_mips): New.
37588 (libc_feupdateenv_test): New.
37589 (libc_feupdateenv_testf): New.
37590 (libc_feupdateenv_testl): New.
37591 (libc_feresetround): New.
37592 (libc_feresetroundf): New.
37593 (libc_feresetroundl): New.
37594 (libc_fetestexcept_mips): New.
37595 (libc_fetestexcept): New.
37596 (libc_fetestexceptf): New.
37597 (libc_fetestexceptl): New.
37598 (HAVE_RM_CTX): New.
37599 (libc_feholdexcept_setround_mips_ctx): New.
37600 (libc_feholdexcept_setround_ctx): New.
37601 (libc_feholdexcept_setroundf_ctx): New.
37602 (libc_feholdexcept_setroundl_ctx): New.
37603 (libc_fesetenv_mips_ctx): New.
37604 (libc_fesetenv_ctx): New.
37605 (libc_fesetenv_ctxf): New.
37606 (libc_fesetenv_ctxl): New.
37607 (libc_feupdateenv_mips_ctx): New.
37608 (libc_feupdateenv_ctx): New.
37609 (libc_feupdateenvf_ctx): New.
37610 (libc_feupdateenvl_ctx): New.
37611 (libc_feholdsetround_mips_ctx): New.
37612 (libc_feholdsetround_ctx): New.
37613 (libc_feholdsetroundf_ctx): New.
37614 (libc_feholdsetroundl_ctx): New.
37615 (libc_feresetround_mips_ctx): New.
37616 (libc_feresetround_ctx): New.
37617 (libc_feresetroundf_ctx): New.
37618 (libc_feresetroundl_ctx): New.
37619
37620 2014-02-26 Carlos O'Donell <carlos@redhat.com>
37621
37622 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37623
37624 * manual/ipc.texi: New file.
37625 * manual/Makefile (chapters): Add ipc.
37626 * manual/job.texi: Add "Inter-Process Communication" to next.
37627 * manual/process.texi: Add "Inter-Process Communication" to prev.
37628
37629 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37630
37631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37632
37633 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
37634
37635 * malloc/malloc.c (__libc_calloc): Simplify implementation.
37636
37637 * manual/arith.texi: Fix spaces after sentences.
37638 * manual/charset.texi: Likewise.
37639 * manual/errno.texi: Likewise.
37640 * manual/install.texi: Likewise.
37641 * manual/llio.texi: Likewise.
37642 * manual/locale.texi: Likewise.
37643 * manual/maint.texi: Likewise.
37644 * manual/math.texi: Likewise.
37645 * manual/memory.texi: Likewise.
37646 * manual/message.texi: Likewise.
37647 * manual/probes.texi: Likewise.
37648 * manual/resource.texi: Likewise.
37649 * manual/signal.texi: Likewise.
37650 * manual/socket.texi: Likewise.
37651 * manual/stdio.texi: Likewise.
37652 * manual/string.texi: Likewise.
37653 * manual/time.texi: Likewise.
37654 * manual/users.texi: Likewise.
37655
37656 2014-02-25 Carlos O'Donell <carlos@redhat.com>
37657
37658 [BZ #16632]
37659 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37660 _DEFAULT_SOURCE is defined.
37661
37662 2014-02-25 Ulrich Drepper <drepper@gmail.com>
37663 Carlos O'Donell <carlos@redhat.com>
37664
37665 [BZ #16613]
37666 * elf/dl-tls.c (_dl_count_modids): New function.
37667 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37668 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37669 audit library and increment generation counter.
37670 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37671 * elf/tst-audit9.c: New file.
37672 * elf/tst-auditmod9a.c: New file.
37673 * elf/tst-auditmod9b.c: New file.
37674 * elf/Makefile: Add rules to build and run tst-audit9.
37675
37676 2014-02-25 Florian Weimer <fweimer@redhat.com>
37677
37678 [BZ #15347]
37679 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37680
37681 2014-02-25 Will Newton <will.newton@linaro.org>
37682
37683 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37684 (__longjmp): Restore sp and lr before restoring callee
37685 saved registers. Add longjmp and longjmp_target
37686 SystemTap probe point.
37687 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37688 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37689 Define to zero to match jmpbuf layout.
37690 * sysdeps/arm/setjmp.S: Include stap-probe.h.
37691 (__sigsetjmp): Save sp and lr before saving callee
37692 saved registers. Add setjmp SystemTap probe point.
37693
37694 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37695
37696 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37697
37698 2014-02-24 Andreas Schwab <schwab@suse.de>
37699
37700 [BZ #15804]
37701 * elf/pldd.c (wait_for_ptrace_stop): New function.
37702 (main): Call it after attaching.
37703
37704 2014-02-22 Roland McGrath <roland@hack.frob.com>
37705
37706 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37707 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37708 Versions files is now verboten.
37709 * hurd/Versions (libc: GLIBC_2.0):
37710 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37711 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37712 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37713 * mach/Versions: Likewise.
37714
37715 * csu/Versions: Remove unused %include.
37716 * resolv/Versions: Likewise.
37717
37718 2014-02-21 Joseph Myers <joseph@codesourcery.com>
37719
37720 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37721 ($(objpfx)check-local-headers.out): Likewise.
37722 ($(objpfx)begin-end-check.out): Likewise.
37723 * Makerules (check-abi-%.out): Likewise.
37724 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37725 ($(objpfx)test2.cat): Likewise.
37726 ($(objpfx)de/libc.cat): Likewise.
37727 ($(objpfx)test-gencat.out): Likewise.
37728 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37729 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37730 ($(objpfx)noload-mem): Likewise.
37731 ($(objpfx)tst-pathopt.out): Likewise.
37732 ($(objpfx)tst-rtld-load-self.out): Likewise.
37733 ($(objpfx)tst-array1-cmp.out): Likewise.
37734 ($(objpfx)tst-array1-static-cmp.out): Likewise.
37735 ($(objpfx)tst-array2-cmp.out): Likewise.
37736 ($(objpfx)tst-array3-cmp.out): Likewise.
37737 ($(objpfx)tst-array4-cmp.out): Likewise.
37738 ($(objpfx)tst-array5-cmp.out): Likewise.
37739 ($(objpfx)tst-array5-static-cmp.out): Likewise.
37740 ($(objpfx)check-textrel.out): Likewise.
37741 ($(objpfx)check-execstack.out): Likewise.
37742 ($(objpfx)check-localplt.out): Likewise.
37743 ($(objpfx)order2-cmp.out): Likewise.
37744 ($(objpfx)tst-leaks1-mem): Likewise.
37745 ($(objpfx)tst-leaks1-static-mem): Likewise.
37746 ($(objpfx)tst-initorder-cmp.out): Likewise.
37747 ($(objpfx)tst-initorder2-cmp.out): Likewise.
37748 ($(objpfx)tst-unused-dep.out): Likewise.
37749 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37750 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37751 * iconv/Makefile (test-iconvconfig): Likewise.
37752 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37753 ($(objpfx)iconv-test.out): Likewise.
37754 ($(objpfx)tst-tables.out): Likewise.
37755 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37756 ($(objpfx)tst-gettext.out): Likewise.
37757 ($(objpfx)tst-translit.out): Likewise.
37758 ($(objpfx)tst-gettext2.out): Likewise.
37759 ($(objpfx)tst-gettext4.out): Likewise.
37760 ($(objpfx)tst-gettext6.out): Likewise.
37761 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37762 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37763 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37764 ($(objpfx)tst-fopenloc-mem.out): Likewise.
37765 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37766 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37767 * posix/Makefile ($(objpfx)globtest.out): Likewise.
37768 ($(objpfx)wordexp-tst.out): Likewise.
37769 ($(objpfx)annexc.out): Likewise.
37770 ($(objpfx)tst-fnmatch-mem): Likewise.
37771 ($(objpfx)bug-regex2-mem): Likewise.
37772 ($(objpfx)bug-regex14-mem): Likewise.
37773 ($(objpfx)bug-regex21-mem): Likewise.
37774 ($(objpfx)bug-regex31-mem): Likewise.
37775 ($(objpfx)tst-vfork3-mem): Likewise.
37776 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37777 ($(objpfx)tst-pcre-mem): Likewise.
37778 ($(objpfx)tst-boost-mem): Likewise.
37779 ($(objpfx)tst-getconf.out): Likewise.
37780 ($(objpfx)bug-ga2-mem): Likewise.
37781 ($(objpfx)bug-glob2-mem): Likewise.
37782 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37783 ($(objpfx)mtrace-tst-leaks2): Likewise.
37784 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37785 ($(objpfx)tst-printf.out): Likewise.
37786 ($(objpfx)tst-setvbuf1.out): Likewise.
37787 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37788 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37789 ($(objpfx)tst-fmtmsg.out): Likewise.
37790 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37791 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37792
37793 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37794 * bits/sigaction.h [__USE_MISC]: Likewise.
37795 * bits/waitstatus.h: Update #endif comments.
37796 * ctype/ctype.h: Likewise.
37797 * dirent/dirent.h: Likewise.
37798 [__USE_MISC]: Remove redundant conditionals.
37799 * grp/grp.h: Update #endif comments.
37800 [__USE_GNU]: Remove redundant conditionals.
37801 [__USE_MISC]: Likewise.
37802 * inet/netinet/in.h [__USE_GNU]: Likewise.
37803 * io/sys/stat.h [__USE_MISC]: Likewise.
37804 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37805 * libio/bits/stdio.h: Update #endif comments.
37806 [__USE_MISC]: Remove redundant conditionals.
37807 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37808 * libio/stdio.h: Update #endif comments.
37809 [__USE_MISC]: Remove redundant conditionals.
37810 * math/bits/math-finite.h [__USE_MISC]: Likewise.
37811 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37812 * math/math.h: Update #else and #endif comments.
37813 [__USE_MISC]: Remove redundant conditionals.
37814 * misc/sys/uio.h: Update #endif comments.
37815 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37816 * posix/glob.h [__USE_MISC]: Likewise.
37817 * posix/sys/types.h: Update #endif comments.
37818 [__USE_MISC]: Remove redundant conditionals.
37819 * posix/sys/wait.h: Update #endif comments.
37820 [__USE_MISC]: Remove redundant conditionals.
37821 * posix/unistd.h: Update #endif comments.
37822 [__USE_MISC]: Remove redundant conditionals.
37823 * pwd/pwd.h [__USE_GNU]: Likewise.
37824 [__USE_MISC]: Likewise.
37825 * resolv/netdb.h [__USE_GNU]: Likewise.
37826 * signal/signal.h: Update #endif comments.
37827 [__USE_MISC]: Remove redundant conditionals.
37828 * stdlib/stdlib.h: Update #else and #endif comments.
37829 [__USE_MISC]: Remove redundant conditionals.
37830 [__USE_GNU]: Likewise.
37831 * string/bits/string2.h [__USE_MISC]: Likewise.
37832 * string/string.h: Update #endif comments.
37833 [__USE_MISC]: Remove redundant conditionals.
37834 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37835 Likewise.
37836 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37837 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37838 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37839 Likewise.
37840 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37841 Likewise.
37842 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37843 comments.
37844 [__USE_MISC]: Remove redundant conditionals.
37845 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37846 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37847 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37848 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37849 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37850 Likewise.
37851 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37852 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37853 Likewise.
37854 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37855 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37856 Likewise.
37857 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37858 Likewise.
37859 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37860 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37861 Likewise.
37862 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37863 Likewise.
37864 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37865 * sysdeps/x86/bits/string.h: Update #endif comments.
37866 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37867 conditionals.
37868 * time/sys/time.h: Update #endif comments.
37869 * time/time.h: Likewise.
37870 [__USE_MISC]: Remove redundant conditionals.
37871
37872 2014-02-21 Yury Gribov <y.gribov@samsung.com>
37873
37874 [BZ #16600]
37875 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37876
37877 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
37878
37879 * Versions.def (librt): Add GLIBC_2.17.
37880
37881 2014-02-21 Adam Conrad <adconrad@0c3.net>
37882
37883 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37884 synonym for _SYS_AUXV_H to allow direct inclusion.
37885 * sysdeps/sparc/bits/hwcap.h: Likewise.
37886 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37887 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37888 * sysdeps/sparc/sysdep.h: Likewise.
37889
37890 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37891
37892 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37893
37894 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37895
37896 * benchtests/bench-strrchr.c: Print length instead of position.
37897
37898 2014-02-20 Joseph Myers <joseph@codesourcery.com>
37899
37900 [BZ #16611]
37901 * sysdeps/unix/sysv/linux/kernel-features.h
37902 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37903 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37904 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37905 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37906 Likewise.
37907 [__i386__ || __powerpc__ || __sh__ || __sparc__]
37908 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37909 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37910 (__ASSUME_SENDMMSG): Define instead of using previous
37911 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37912 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37913 (__ASSUME_SENDMMSG_SYSCALL): Define.
37914 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37915 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37916 Likewise.
37917 * sysdeps/unix/sysv/linux/arm/kernel-features.h
37918 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37919 Likewise.
37920 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37921 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37922 Likewise.
37923 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37924 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37925 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37926 [__ASSUME_SENDMMSG]: Change conditionals to
37927 [__ASSUME_SENDMMSG_SOCKETCALL].
37928 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37929 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37930 Define.
37931 * sysdeps/unix/sysv/linux/mips/kernel-features.h
37932 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37933 Likewise.
37934 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37935 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37936 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37937 [!__ASSUME_SENDMMSG]: Change conditional to
37938 [!__ASSUME_SENDMMSG_SOCKETCALL].
37939 * sysdeps/unix/sysv/linux/tile/kernel-features.h
37940 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37941 Define.
37942
37943 [BZ #16610]
37944 * sysdeps/unix/sysv/linux/kernel-features.h
37945 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37946 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37947 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37948 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37949 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37950 [__i386__ || __sparc__]
37951 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37952 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37953 (__ASSUME_RECVMMSG): Define instead of using previous
37954 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37955 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37956 (__ASSUME_RECVMMSG_SYSCALL): Define.
37957 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37958 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37959 Likewise.
37960 * sysdeps/unix/sysv/linux/arm/kernel-features.h
37961 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37962 Likewise.
37963 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37964 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37965 Likewise.
37966 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37967 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37968 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37969 [__ASSUME_RECVMMSG]: Change condition to
37970 [__ASSUME_RECVMMSG_SOCKETCALL].
37971 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37972 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37973 Define.
37974 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37975 * sysdeps/unix/sysv/linux/mips/kernel-features.h
37976 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37977 Likewise.
37978 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37979 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37980 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37981 [!__ASSUME_RECVMMSG]: Change condition to
37982 [!__ASSUME_RECVMMSG_SOCKETCALL].
37983 * sysdeps/unix/sysv/linux/tile/kernel-features.h
37984 (__ASSUME_RECVMMSG_SYSCALL): Define.
37985
37986 [BZ #16609]
37987 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37988 __powerpc__ || __s390__ || __sh__ || __sparc__]
37989 (__ASSUME_SOCKETCALL): Define.
37990 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37991 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37992 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37993 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37994 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37995 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37996 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37997 (__ASSUME_ACCEPT4): Define instead of using previous
37998 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37999 __powerpc__ || __sparc__ || __s390__)] condition.
38000 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38001 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38002 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38003 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38004 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38005 [!__ASSUME_ACCEPT4]: Change condition to
38006 [!__ASSUME_ACCEPT4_SOCKETCALL].
38007 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38008 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
38009 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38010 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38011 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38012 __ASSUME_ACCEPT4_SYSCALL.
38013 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
38014 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
38015 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38016 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
38017 __ASSUME_ACCEPT4_SYSCALL.
38018 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
38019 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38020 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38021 [__ASSUME_ACCEPT4]: Change condition to
38022 [__ASSUME_ACCEPT4_SOCKETCALL].
38023 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38024 (__ASSUME_SOCKETCALL): Define.
38025 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
38026 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38027 (__ASSUME_SOCKETCALL): Define.
38028 (__ASSUME_ACCEPT4): Remove.
38029 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
38030 Define.
38031 * sysdeps/unix/sysv/linux/mips/kernel-features.h
38032 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
38033 Likewise.
38034 * sysdeps/unix/sysv/linux/tile/kernel-features.h
38035 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38036
38037 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
38038 macro.
38039 (HWCAP_ARM_LPAE): Likewise.
38040 (HWCAP_ARM_EVTSTRM): Likewise.
38041 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
38042 Add vpfd32, lpae and evtstrm.
38043 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
38044 Increase to 22.
38045
38046 2014-02-19 Joseph Myers <joseph@codesourcery.com>
38047
38048 * math/auto-libm-test-in: Add tests of clog10.
38049 * math/auto-libm-test-out: Regenerated.
38050 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
38051 * sysdeps/i386/fpu/libm-test-ulps: Update.
38052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38053
38054 2014-02-18 Andreas Schwab <schwab@suse.de>
38055
38056 [BZ #16574]
38057 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
38058 Store non-zero if the second buffer was newly allocated.
38059 (send_dg): Likewise.
38060 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
38061 to send_vc and send_dg.
38062 (res_nsend): Pass NULL for ansp2_malloced.
38063 * resolv/res_query.c (__libc_res_nquery): Add parameter
38064 answerp2_malloced and pass it down to __libc_res_nsend.
38065 (res_nquery): Pass additional NULL to __libc_res_nquery.
38066 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
38067 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
38068 second answer buffer if answerp2_malloced was set.
38069 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
38070 (__libc_res_nquerydomain): Add parameter
38071 answerp2_malloced and pass it down to __libc_res_nquery.
38072 (res_nquerydomain): Pass additional NULL to
38073 __libc_res_nquerydomain.
38074 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
38075 additional NULL to __libc_res_nsend and __libc_res_nquery.
38076 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
38077 additional NULL to __libc_res_nsearch.
38078 (_nss_dns_gethostbyname4_r): Revert last change. Use new
38079 parameter of __libc_res_nsearch to check for separately allocated
38080 second buffer.
38081 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
38082 __libc_res_nquery.
38083 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
38084 additional NULL to __libc_res_nquery.
38085 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
38086 __libc_res_nsearch.
38087 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
38088 * include/resolv.h: Update prototypes of __libc_res_nquery,
38089 __libc_res_nsearch, __libc_res_nsend.
38090
38091 2014-02-18 Joseph Myers <joseph@codesourcery.com>
38092
38093 * math/auto-libm-test-in: Add tests of fma.
38094 * math/auto-libm-test-out: Regenerated.
38095 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
38096 (fma_towardzero_test_data): Likewise.
38097 (fma_downward_test_data): Likewise.
38098 (fma_upward_test_data): Likewise.
38099 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
38100 mpc_mode.
38101 (rounding_modes): Add values for new field.
38102 (func_calc_method): Add value mpfr_fff_f.
38103 (func_calc_desc): Add mpfr_fff_f union field.
38104 (test_function): Add field exact_args.
38105 (FUNC): Add macro argument EXACT_ARGS.
38106 (FUNC_mpfr_f_f): Update call to FUNC.
38107 (FUNC_mpfr_f_f): Likewise.
38108 (FUNC_mpfr_ff_f): Likewise.
38109 (FUNC_mpfr_if_f): Likewise.
38110 (FUNC_mpc_c_f): Likewise.
38111 (FUNC_mpc_c_c): Likewise.
38112 (test_functions): Add fma. Update calls to FUNC.
38113 (handle_input_arg): Add argument exact_args.
38114 (add_test): Update call to handle_input_arg.
38115 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
38116 (output_for_one_input_case): Update call to calc_generic_results.
38117 Recalculate exact zero results in each rounding mode.
38118
38119 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
38120 non-negative before setting low bit.
38121 * math/auto-libm-test-in: Mark one asin test possibly having
38122 spurious underflow.
38123 * math/auto-libm-test-out: Regenerated.
38124 * sysdeps/i386/fpu/libm-test-ulps: Update.
38125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38126
38127 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
38128
38129 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38130 * sysdeps/unix/sysv/linux/microblaze: Move directory from
38131 ports/sysdeps/unix/sysv/linux/microblaze.
38132 * README: Add missing listing for microblaze*-*-linux-gnu.
38133
38134 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
38135
38136 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38137 duplicate code
38138
38139 2014-02-16 Mike Frysinger <vapier@gentoo.org>
38140
38141 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38142 * sysdeps/unix/sysv/linux/ia64: Move directory from
38143 ports/sysdeps/unix/sysv/linux/ia64.
38144 * README: Update listing for ia64-*-linux-gnu.
38145
38146 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
38147 Joseph Myers <joseph@codesourcery.com>
38148
38149 * Makeconfig (test-name): New variable.
38150 (evaluate-test): Likewise.
38151 * Makerules (do-test-clean): Remove .test-result files.
38152 (common-mostlyclean): Likewise.
38153 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38154 * scripts/evaluate-test.sh: New file.
38155
38156 2014-02-14 Joseph Myers <joseph@codesourcery.com>
38157
38158 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38159 separate $(objpfx)tst-fopenloc-cmp.out and
38160 $(objpfx)tst-fopenloc-mem.out targets.
38161 (tests): Update dependencies.
38162 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38163 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38164 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38165 (tst-rxspencer-no-utf8-ARGS): New variable.
38166 (tst-rxspencer-no-utf8-ENV): Likewise.
38167 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38168 instead of $(objpfx)tst-rxspencer-mem.
38169 ($(objpfx)tst-rxspencer-mem): Change target to
38170 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
38171 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38172 * posix/tst-rxspencer-no-utf8.c: New file.
38173
38174 * elf/Makefile ($(objpfx)order.out): Remove rule.
38175 [$(run-built-tests) = yes] (tests): Depend on
38176 $(objpfx)order-cmp.out.
38177 ($(objpfx)order-cmp.out): New rule.
38178 [$(run-built-tests) = yes] (tests): Depend on
38179 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38180 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38181 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38182 $(objpfx)tst-array5-static-cmp.out.
38183 ($(objpfx)tst-array1.out): Remove rule.
38184 ($(objpfx)tst-array1-cmp.out): New rule.
38185 ($(objpfx)tst-array1-static.out): Remove rule.
38186 ($(objpfx)tst-array1-static-cmp.out): New rule.
38187 ($(objpfx)tst-array2.out): Remove rule.
38188 ($(objpfx)tst-array2-cmp.out): New rule.
38189 ($(objpfx)tst-array3.out): Remove rule.
38190 ($(objpfx)tst-array3-cmp.out): New rule.
38191 ($(objpfx)tst-array4.out): Remove rule.
38192 ($(objpfx)tst-array4-cmp.out): New rule.
38193 ($(objpfx)tst-array5.out): Remove rule.
38194 ($(objpfx)tst-array5-cmp.out): New rule.
38195 ($(objpfx)tst-array5-static.out): Remove rule.
38196 ($(objpfx)tst-array5-static-cmp.out): New rule.
38197 [$(run-built-tests) = yes] (tests): Depend on
38198 $(objpfx)order2-cmp.out.
38199 ($(objpfx)order2.out): Remove rule.
38200 ($(objpfx)order2-cmp.out): New rule.
38201 ($(objpfx)tst-initorder.out): Remove rule.
38202 [$(run-built-tests) = yes] (tests): Depend on
38203 $(objpfx)tst-initorder-cmp.out.
38204 ($(objpfx)tst-initorder-cmp.out): New rule.
38205 ($(objpfx)tst-initorder2.out): Remove rule.
38206 [$(run-built-tests) = yes] (tests): Depend on
38207 $(objpfx)tst-initorder2-cmp.out.
38208 ($(objpfx)tst-initorder2-cmp.out): New rule.
38209 [$(run-built-tests) = yes] (tests): Depend on
38210 $(objpfx)tst-unused-dep-cmp.out.
38211 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38212 ($(objpfx)tst-unused-dep-cmp.out): New rule.
38213 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38214 on $(objpfx)tst-setvbuf1-cmp.out.
38215 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38216 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38217 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38218 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38219 ($(objpfx)tst-svc.out): Remove rule.
38220 ($(objpfx)tst-svc-cmp.out): New rule.
38221
38222 2014-02-13 Joseph Myers <joseph@codesourcery.com>
38223
38224 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38225 * ctype/ctype.h [__USE_MISC]: Likewise.
38226 * dirent/dirent.h [__USE_MISC]: Likewise.
38227 * grp/grp.h [__USE_MISC]: Likewise.
38228 * io/fcntl.h [__USE_MISC]: Likewise.
38229 * io/sys/stat.h [__USE_MISC]: Likewise.
38230 * libio/stdio.h [__USE_MISC]: Likewise.
38231 * posix/unistd.h [__USE_MISC]: Likewise.
38232 * pwd/pwd.h [__USE_MISC]: Likewise.
38233 * stdlib.h [__USE_MISC]: Likewise.
38234 * string/bits/string2.h [__USE_MISC]: Likewise.
38235 * string/string.h [__USE_MISC]: Likewise.
38236 * time/time.h [__USE_MISC]: Likewise.
38237
38238 2014-02-13 Andreas Schwab <schwab@suse.de>
38239
38240 [BZ #16574]
38241 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38242 second answer buffer if it was separately allocated.
38243
38244 2014-02-12 Joseph Myers <joseph@codesourcery.com>
38245
38246 * sysdeps/mips/math-tests.h: Include <features.h>.
38247 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38248 (ROUNDING_TESTS_long_double): Do not define.
38249 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38250 (EXCEPTION_TESTS_long_double): Likewise.
38251 * sysdeps/mips/mips64/libm-test-ulps: Update.
38252
38253 * include/features.h (__USE_BSD): Remove macro definitions.
38254 (__USE_SVID): Likewise.
38255 (_BSD_SOURCE): Likewise.
38256 (_SVID_SOURCE): Likewise.
38257 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38258 from definition of _DEFAULT_SOURCE.
38259 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38260 [_DEFAULT_SOURCE].
38261 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38262 * bits/mman.h [__USE_BSD]: Likewise.
38263 * bits/termios.h [__USE_BSD]: Likewise.
38264 * bits/waitstatus.h [__USE_BSD]: Likewise.
38265 * ctype/ctype.h [__USE_SVID]: Likewise.
38266 * dirent/dirent.h [__USE_BSD]: Likewise.
38267 * grp/grp.h [__USE_SVID]: Likewise.
38268 [__USE_BSD]: Likewise.
38269 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38270 * io/fcntl.h [__USE_BSD]: Likewise.
38271 * io/ftw.h [__USE_BSD]: Likewise.
38272 * io/sys/stat.h [__USE_BSD]: Likewise.
38273 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38274 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38275 * libio/stdio.h [__USE_SVID]: Likewise.
38276 [__USE_BSD]: Likewise.
38277 * math/math.h [__USE_SVID]: Likewise.
38278 [__USE_BSD]: Likewise.
38279 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
38280 * misc/bits/syslog.h [__USE_BSD]: Likewise.
38281 * misc/search.h [__USE_SVID]: Likewise.
38282 * misc/sys/mman.h [__USE_BSD]: Likewise.
38283 * misc/sys/syslog.h [__USE_BSD]: Likewise.
38284 * misc/sys/uio.h [__USE_BSD]: Likewise.
38285 * posix/bits/unistd.h [__USE_BSD]: Likewise.
38286 * posix/glob.h [__USE_BSD]: Likewise.
38287 * posix/regex.h [__USE_BSD]: Likewise.
38288 * posix/sys/types.h [__USE_BSD]: Likewise.
38289 [__USE_SVID]: Likewise.
38290 * posix/sys/utsname.h [__USE_SVID]: Likewise.
38291 * posix/sys/wait.h [__USE_BSD]: Likewise.
38292 [__USE_SVID]: Likewise.
38293 * posix/unistd.h [__USE_BSD]: Likewise.
38294 [__USE_SVID]: Likewise.
38295 * pwd/pwd.h [__USE_SVID]: Likewise.
38296 * resolv/netdb.h [__USE_BSD]: Likewise.
38297 * setjmp/setjmp.h [__USE_BSD]: Likewise.
38298 * signal/signal.h [__USE_BSD]: Likewise.
38299 [__USE_SVID]: Likewise.
38300 * socket/sys/socket.h [__USE_BSD]: Likewise.
38301 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
38302 * stdlib/stdlib.h [__USE_BSD]: Likewise.
38303 [__USE_SVID]: Likewise.
38304 * string/bits/string2.h [__USE_BSD]: Likewise.
38305 [__USE_SVID]: Likewise.
38306 * string/bits/string3.h [__USE_BSD]: Likewise.
38307 * string/endian.h [__USE_BSD]: Likewise.
38308 * string/string.h [__USE_SVID]: Likewise.
38309 [__USE_BSD]: Likewise.
38310 * string/strings.h [__USE_BSD]: Likewise.
38311 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
38312 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
38313 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
38314 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
38315 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
38316 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
38317 Likewise.
38318 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
38319 Likewise.
38320 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
38321 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
38322 Likewise.
38323 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
38324 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
38325 Likewise.
38326 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
38327 Likewise.
38328 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
38329 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
38330 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
38331 Likewise.
38332 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
38333 Likewise.
38334 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
38335 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
38336 * termios/termios.h [__USE_BSD]: Likewise.
38337 * time/sys/time.h [__USE_BSD]: Likewise.
38338 * time/time.h [__USE_BSD]: Likewise.
38339 [__USE_SVID]: Likewise.
38340
38341 * Makefile (subdir_targets): Remove subdir_lint.out.
38342
38343 * stdio-common/Makefile (do-tst-unbputc): Remove target.
38344 (do-tst-printf): Likewise.
38345 (tests): Depend directly on $(objpfx)tst-unbputc.out and
38346 $(objpfx)tst-printf.out.
38347
38348 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
38349
38350 * Makerules (check-abi-%): Change target to
38351 $(objpfx)check-abi-%.out.
38352 (check-abi target): Update dependencies.
38353 (check-abi-pattern variable): Redirect output of diff to $@.
38354 (check-abi variable): Likewise.
38355 * elf/Makefile (check-abi): Update dependencies.
38356
38357 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
38358 unused.
38359 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
38360 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
38361 subnormal range.
38362 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
38363 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
38364 value has largest subnormal exponent.
38365 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
38366 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
38367 * sysdeps/aarch64/soft-fp/sfp-machine.h
38368 (_FP_TININESS_AFTER_ROUNDING): New macro.
38369 * sysdeps/alpha/soft-fp/sfp-machine.h
38370 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38371 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38372 Likewise.
38373 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38374 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38375 * sysdeps/mips/soft-fp/sfp-machine.h
38376 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38377 * sysdeps/powerpc/soft-fp/sfp-machine.h
38378 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38379 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38380 Likewise.
38381 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38382 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38383 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38384 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38385 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38386 Likewise.
38387
38388 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
38389
38390 [BZ #16545]
38391 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38392 model 1.
38393
38394 2014-02-12 Richard Henderson <rth@redhat.com>
38395
38396 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38397 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38398 * sysdeps/unix/sysv/linux/alpha: Move directory from
38399 ports/sysdeps/unix/sysv/linux/alpha.
38400 * README: Update listing for alpha-*-linux-gnu.
38401
38402 2014-02-11 Joseph Myers <joseph@codesourcery.com>
38403
38404 * include/features.h: Update comment documenting feature test
38405 macros.
38406 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
38407 _DEFAULT_SOURCE.
38408 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38409 (_SVID_SOURCE): Likewise.
38410 (_DEFAULT_SOURCE): Update description of default features.
38411 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38412 with _GNU_SOURCE.
38413 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38414 (S_ISVTX): Likewise.
38415 * manual/math.texi (Mathematical Constants): Likewise.
38416 * manual/signal.texi (Interrupted Primitives): Likewise.
38417 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38418 * math/test-matherr.c (_SVID_SOURCE): Do not define.
38419 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38420 Don't refer to _SVID_SOURCE in warning text.
38421
38422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38423
38424 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38425 already defined.
38426 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38427 * sysdeps/mips/dl-lookup.c: Remove.
38428 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38429
38430 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
38431
38432 [BZ #16447]
38433 * math/auto-libm-test-in: Add testcase for expl.
38434 * math/auto-libm-test-out: Regenerate.
38435 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38436 calculation of unsafe.
38437 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38438
38439 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
38440
38441 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38442 * sysdeps/unix/sysv/linux/aarch64: Move directory from
38443 ports/sysdeps/unix/sysv/linux/aarch64.
38444 * README: Update listing for aarch64*-*-linux-gnu.
38445
38446 2014-02-11 Will Newton <will.newton@linaro.org>
38447
38448 * manual/probes.texi (Mathematical Function Probes): Use
38449 "triggered" instead of "hit".
38450
38451 * manual/probes.texi (Internal Probes): Add documentation
38452 of setjmp, longjmp and longjmp_target probes.
38453
38454 * include/stap-probe.h: Add comment about probe argument
38455 format.
38456
38457 * malloc/mtrace.c (attribute_hidden): Remove unused macro
38458 definition. (tr_where, tr_freehook, tr_mallochook,
38459 tr_reallochook, tr_memalignhook): Use ANSI protoype.
38460
38461 2014-02-11 David S. Miller <davem@davemloft.net>
38462
38463 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38464 processing int_tests.
38465
38466 2014-02-10 Joseph Myers <joseph@codesourcery.com>
38467
38468 * sysdeps/mips: Move directory from ports/sysdeps/mips.
38469 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38470 * sysdeps/unix/sysv/linux/mips: Move directory from
38471 ports/sysdeps/unix/sysv/linux/mips.
38472 * README: Update listing for mips-*-linux-gnu and
38473 mips64-*-linux-gnu.
38474
38475 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
38476
38477 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38478 * sysdeps/unix/sysv/linux/m68k: Move directory from
38479 ports/sysdeps/unix/sysv/linux/m68k.
38480 * README: Update listing for m68k-*-linux-gnu.
38481
38482 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
38483
38484 * sysdeps/tile: Move directory from ports/sysdeps/tile.
38485 * sysdeps/unix/sysv/linux/generic: Move directory from
38486 ports/sysdeps/unix/sysv/linux/generic.
38487 * sysdeps/unix/sysv/linux/tile: Move directory from
38488 ports/sysdeps/unix/sysv/linux/tile.
38489 * README: Update listing for tile*-*-linux-gnu.
38490
38491 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
38492
38493 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38494 __builtin_expect.
38495 * benchtests/bench-memmem.c (simple_memmem): Likewise.
38496 * catgets/open_catalog.c (__open_catalog): Likewise.
38497 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38498 * debug/confstr_chk.c: Likewise.
38499 * debug/fread_chk.c (__fread_chk): Likewise.
38500 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38501 * debug/getgroups_chk.c: Likewise.
38502 * debug/mbsnrtowcs_chk.c: Likewise.
38503 * debug/mbsrtowcs_chk.c: Likewise.
38504 * debug/mbstowcs_chk.c: Likewise.
38505 * debug/memcpy_chk.c: Likewise.
38506 * debug/memmove_chk.c: Likewise.
38507 * debug/mempcpy_chk.c: Likewise.
38508 * debug/memset_chk.c: Likewise.
38509 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38510 * debug/strcat_chk.c (__strcat_chk): Likewise.
38511 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38512 * debug/strncat_chk.c (__strncat_chk): Likewise.
38513 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38514 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38515 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38516 * debug/wcpncpy_chk.c: Likewise.
38517 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38518 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38519 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38520 * debug/wcsncpy_chk.c: Likewise.
38521 * debug/wcsnrtombs_chk.c: Likewise.
38522 * debug/wcsrtombs_chk.c: Likewise.
38523 * debug/wcstombs_chk.c: Likewise.
38524 * debug/wmemcpy_chk.c: Likewise.
38525 * debug/wmemmove_chk.c: Likewise.
38526 * debug/wmempcpy_chk.c: Likewise.
38527 * debug/wmemset_chk.c: Likewise.
38528 * dirent/scandirat.c (SCANDIRAT): Likewise.
38529 * dlfcn/dladdr1.c (dladdr1): Likewise.
38530 * dlfcn/dladdr.c (dladdr): Likewise.
38531 * dlfcn/dlclose.c (dlclose_doit): Likewise.
38532 * dlfcn/dlerror.c (__dlerror): Likewise.
38533 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38534 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38535 * dlfcn/dlopen.c (dlopen_doit): Likewise.
38536 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38537 * dlfcn/dlsym.c (dlsym_doit): Likewise.
38538 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38539 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38540 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38541 Likewise.
38542 * elf/dl-conflict.c: Likewise.
38543 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38544 * elf/dl-dst.h: Likewise.
38545 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38546 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38547 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38548 * elf/dl-init.c (call_init, _dl_init): Likewise.
38549 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38550 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38551 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38552 Likewise.
38553 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38554 Likewise.
38555 * elf/dl-minimal.c (__libc_memalign): Likewise.
38556 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38557 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38558 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38559 * elf/dl-sym.c (do_sym): Likewise.
38560 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38561 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38562 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38563 * elf/dl-writev.h (_dl_writev): Likewise.
38564 * elf/ldconfig.c (search_dir): Likewise.
38565 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38566 (dl_main): Likewise.
38567 * elf/setup-vdso.h (setup_vdso): Likewise.
38568 * grp/compat-initgroups.c (compat_call): Likewise.
38569 * grp/fgetgrent.c (fgetgrent): Likewise.
38570 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38571 * grp/putgrent.c (putgrent): Likewise.
38572 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38573 Likewise.
38574 * hurd/hurdinit.c: Likewise.
38575 * iconvdata/8bit-gap.c (struct): Likewise.
38576 * iconvdata/ansi_x3.110.c : Likewise.
38577 * iconvdata/big5.c : Likewise.
38578 * iconvdata/big5hkscs.c : Likewise.
38579 * iconvdata/cp1255.c: Likewise.
38580 * iconvdata/cp1258.c : Likewise.
38581 * iconvdata/cp932.c : Likewise.
38582 * iconvdata/euc-cn.c: Likewise.
38583 * iconvdata/euc-jisx0213.c : Likewise.
38584 * iconvdata/euc-jp.c: Likewise.
38585 * iconvdata/euc-jp-ms.c : Likewise.
38586 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38587 * iconvdata/gb18030.c : Likewise.
38588 * iconvdata/gbbig5.c (const): Likewise.
38589 * iconvdata/gbgbk.c: Likewise.
38590 * iconvdata/gbk.c : Likewise.
38591 * iconvdata/ibm1364.c : Likewise.
38592 * iconvdata/ibm930.c : Likewise.
38593 * iconvdata/ibm932.c: Likewise.
38594 * iconvdata/ibm933.c : Likewise.
38595 * iconvdata/ibm935.c : Likewise.
38596 * iconvdata/ibm937.c : Likewise.
38597 * iconvdata/ibm939.c : Likewise.
38598 * iconvdata/ibm943.c: Likewise.
38599 * iconvdata/iso_11548-1.c: Likewise.
38600 * iconvdata/iso-2022-cn.c : Likewise.
38601 * iconvdata/iso-2022-cn-ext.c : Likewise.
38602 * iconvdata/iso-2022-jp-3.c: Likewise.
38603 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38604 * iconvdata/iso-2022-kr.c : Likewise.
38605 * iconvdata/iso646.c (gconv_end): Likewise.
38606 * iconvdata/iso_6937-2.c : Likewise.
38607 * iconvdata/iso_6937.c : Likewise.
38608 * iconvdata/iso8859-1.c: Likewise.
38609 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38610 * iconvdata/shift_jisx0213.c : Likewise.
38611 * iconvdata/sjis.c : Likewise.
38612 * iconvdata/t.61.c : Likewise.
38613 * iconvdata/tcvn5712-1.c : Likewise.
38614 * iconvdata/tscii.c: Likewise.
38615 * iconvdata/uhc.c : Likewise.
38616 * iconvdata/unicode.c (gconv_end): Likewise.
38617 * iconvdata/utf-16.c (gconv_end): Likewise.
38618 * iconvdata/utf-32.c (gconv_end): Likewise.
38619 * iconvdata/utf-7.c (base64): Likewise.
38620 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38621 * iconv/gconv_close.c (__gconv_close): Likewise.
38622 * iconv/gconv_open.c (__gconv_open): Likewise.
38623 * iconv/gconv_simple.c (internal_ucs4_loop_single)
38624 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38625 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38626 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38627 (ucs4le_internal_loop_single): Likewise.
38628 * iconv/iconv.c (iconv): Likewise.
38629 * iconv/iconv_close.c: Likewise.
38630 * iconv/loop.c (SINGLE): Likewise.
38631 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38632 * include/atomic.h: Likewise.
38633 * inet/inet6_option.c (option_alloc): Likewise.
38634 * intl/bindtextdom.c (set_binding_values): Likewise.
38635 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38636 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38637 * intl/localealias.c (read_alias_file): Likewise.
38638 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38639 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38640 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38641 * libio/fmemopen.c (fmemopen): Likewise.
38642 * libio/iofgets.c (_IO_fgets): Likewise.
38643 * libio/iofgets_u.c (fgets_unlocked): Likewise.
38644 * libio/iofgetws.c (fgetws): Likewise.
38645 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38646 * libio/iogetdelim.c (_IO_getdelim): Likewise.
38647 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38648 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38649 * locale/findlocale.c (_nl_find_locale): Likewise.
38650 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38651 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38652 Likewise.
38653 * locale/setlocale.c (setlocale): Likewise.
38654 * login/programs/pt_chown.c (main): Likewise.
38655 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38656 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38657 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38658 (mmap, mmap64, mremap, munmap): Likewise.
38659 * math/e_exp2l.c: Likewise.
38660 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38661 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38662 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38663 * math/s_catan.c (__catan): Likewise.
38664 * math/s_catanf.c (__catanf): Likewise.
38665 * math/s_catanh.c (__catanh): Likewise.
38666 * math/s_catanhf.c (__catanhf): Likewise.
38667 * math/s_catanhl.c (__catanhl): Likewise.
38668 * math/s_catanl.c (__catanl): Likewise.
38669 * math/s_ccosh.c (__ccosh): Likewise.
38670 * math/s_ccoshf.c (__ccoshf): Likewise.
38671 * math/s_ccoshl.c (__ccoshl): Likewise.
38672 * math/s_cexp.c (__cexp): Likewise.
38673 * math/s_cexpf.c (__cexpf): Likewise.
38674 * math/s_cexpl.c (__cexpl): Likewise.
38675 * math/s_clog10.c (__clog10): Likewise.
38676 * math/s_clog10f.c (__clog10f): Likewise.
38677 * math/s_clog10l.c (__clog10l): Likewise.
38678 * math/s_clog.c (__clog): Likewise.
38679 * math/s_clogf.c (__clogf): Likewise.
38680 * math/s_clogl.c (__clogl): Likewise.
38681 * math/s_csin.c (__csin): Likewise.
38682 * math/s_csinf.c (__csinf): Likewise.
38683 * math/s_csinh.c (__csinh): Likewise.
38684 * math/s_csinhf.c (__csinhf): Likewise.
38685 * math/s_csinhl.c (__csinhl): Likewise.
38686 * math/s_csinl.c (__csinl): Likewise.
38687 * math/s_csqrt.c (__csqrt): Likewise.
38688 * math/s_csqrtf.c (__csqrtf): Likewise.
38689 * math/s_csqrtl.c (__csqrtl): Likewise.
38690 * math/s_ctan.c (__ctan): Likewise.
38691 * math/s_ctanf.c (__ctanf): Likewise.
38692 * math/s_ctanh.c (__ctanh): Likewise.
38693 * math/s_ctanhf.c (__ctanhf): Likewise.
38694 * math/s_ctanhl.c (__ctanhl): Likewise.
38695 * math/s_ctanl.c (__ctanl): Likewise.
38696 * math/w_pow.c: Likewise.
38697 * math/w_powf.c: Likewise.
38698 * math/w_powl.c: Likewise.
38699 * math/w_scalb.c (sysv_scalb): Likewise.
38700 * math/w_scalbf.c (sysv_scalbf): Likewise.
38701 * math/w_scalbl.c (sysv_scalbl): Likewise.
38702 * misc/error.c (error_tail): Likewise.
38703 * misc/pselect.c (__pselect): Likewise.
38704 * nis/nis_callback.c (__nis_create_callback): Likewise.
38705 * nis/nis_call.c (__nisfind_server): Likewise.
38706 * nis/nis_creategroup.c (nis_creategroup): Likewise.
38707 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38708 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38709 * nis/nis_getservlist.c (nis_getservlist): Likewise.
38710 * nis/nis_lookup.c (nis_lookup): Likewise.
38711 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38712 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38713 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38714 * nis/nis_xdr.c (xdr_endpoint): Likewise.
38715 * nis/nss_compat/compat-grp.c (getgrent_next_file)
38716 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38717 * nis/nss_compat/compat-initgroups.c (add_group)
38718 (internal_getgrent_r): Likewise.
38719 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38720 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38721 * nis/nss_compat/compat-spwd.c (getspent_next_file)
38722 (internal_getspnam_r): Likewise.
38723 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38724 (_nss_nis_getaliasbyname_r): Likewise.
38725 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38726 (_nss_nis_getntohost_r): Likewise.
38727 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38728 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38729 (_nss_nis_getgrgid_r): Likewise.
38730 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38731 (internal_nis_gethostent_r, internal_gethostbyname2_r)
38732 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38733 (_nss_nis_gethostbyname4_r): Likewise.
38734 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38735 (initgroups_netid): Likewise.
38736 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38737 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38738 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38739 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38740 (_nss_nis_getprotobynumber_r): Likewise.
38741 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38742 (_nss_nis_getsecretkey): Likewise.
38743 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38744 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38745 (_nss_nis_getpwuid_r): Likewise.
38746 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38747 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38748 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38749 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38750 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38751 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38752 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38753 Likewise.
38754 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38755 (_nss_nisplus_getntohost_r): Likewise.
38756 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38757 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38758 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38759 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38760 Likewise.
38761 * nis/nss_nisplus/nisplus-initgroups.c
38762 (_nss_nisplus_initgroups_dyn): Likewise.
38763 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38764 (_nss_nisplus_getnetbyaddr_r): Likewise.
38765 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38766 (_nss_nisplus_getprotobynumber_r): Likewise.
38767 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38768 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38769 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38770 Likewise.
38771 * nis/nss_nisplus/nisplus-service.c
38772 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38773 (_nss_nisplus_getservbyport_r): Likewise.
38774 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38775 (_nss_nisplus_getspnam_r): Likewise.
38776 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38777 Likewise.
38778 * nscd/aicache.c (addhstaiX): Likewise.
38779 * nscd/cache.c (cache_search, prune_cache): Likewise.
38780 * nscd/connections.c (register_traced_file, send_ro_fd)
38781 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38782 (main_loop_epoll): Likewise.
38783 * nscd/grpcache.c (addgrbyX): Likewise.
38784 * nscd/hstcache.c (addhstbyX): Likewise.
38785 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38786 * nscd/mem.c (gc, mempool_alloc): Likewise.
38787 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38788 (addinnetgrX): Likewise.
38789 * nscd/nscd-client.h (__nscd_acquire_maplock)
38790 (__nscd_drop_map_ref): Likewise.
38791 * nscd/nscd_getai.c (__nscd_getai): Likewise.
38792 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38793 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38794 Likewise.
38795 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38796 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38797 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38798 (__nscd_get_map_ref): Likewise.
38799 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38800 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38801 Likewise.
38802 * nscd/pwdcache.c (addpwbyX): Likewise.
38803 * nscd/selinux.c (preserve_capabilities): Likewise.
38804 * nscd/servicescache.c (addservbyX): Likewise.
38805 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38806 * posix/fnmatch.c (fnmatch): Likewise.
38807 * posix/getopt.c (_getopt_internal_r): Likewise.
38808 * posix/glob.c (glob, glob_in_dir): Likewise.
38809 * posix/wordexp.c (exec_comm_child): Likewise.
38810 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38811 (getanswer_r, gaih_getanswer_slice): Likewise.
38812 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38813 * resolv/res_init.c: Likewise.
38814 * resolv/res_mkquery.c (res_nmkquery): Likewise.
38815 * resolv/res_query.c (__libc_res_nquery): Likewise.
38816 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38817 Likewise.
38818 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38819 * stdio-common/perror.c (perror): Likewise.
38820 * stdio-common/printf_fp.c (___printf_fp): Likewise.
38821 * stdio-common/tmpnam.c (tmpnam): Likewise.
38822 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38823 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38824 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38825 Likewise.
38826 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38827 * stdlib/putenv.c (putenv): Likewise.
38828 * stdlib/setenv.c (__add_to_environ): Likewise.
38829 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38830 * stdlib/strtol_l.c (INTERNAL): Likewise.
38831 * string/memmem.c (memmem): Likewise.
38832 * string/strerror.c (strerror): Likewise.
38833 * string/strnlen.c (__strnlen): Likewise.
38834 * string/test-memmem.c (simple_memmem): Likewise.
38835 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38836 * sunrpc/pm_getport.c (__get_socket): Likewise.
38837 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38838 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38839 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38840 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38841 Likewise.
38842 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38843 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38844 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38845 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38846 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38847 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38848 Likewise.
38849 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38850 Likewise.
38851 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38852 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38853 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38854 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38855 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38856 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38857 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38858 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38859 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38860 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38861 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38862 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38863 Likewise.
38864 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38865 Likewise.
38866 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38867 Likewise.
38868 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38869 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38870 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38871 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38872 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38873 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38874 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38875 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38876 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38877 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38878 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38879 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38880 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38881 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38882 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38883 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38884 Likewise.
38885 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38886 Likewise.
38887 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38888 Likewise.
38889 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38890 Likewise.
38891 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38892 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38893 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38894 Likewise.
38895 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38896 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38897 * sysdeps/posix/opendir.c (__opendirat): Likewise.
38898 * sysdeps/posix/sleep.c: Likewise.
38899 * sysdeps/posix/tempname.c: Likewise.
38900 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38901 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38902 Likewise.
38903 * sysdeps/powerpc/powerpc32/dl-machine.h
38904 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38905 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38906 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38907 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38908 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38909 Likewise.
38910 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38911 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38912 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38913 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38914 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38915 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38916 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38917 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38918 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38919 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38920 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38921 (elf_machine_lazy_rel): Likewise.
38922 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38923 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38924 (elf_machine_lazy_rel): Likewise.
38925 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38926 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38927 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38928 * sysdeps/unix/grantpt.c (grantpt): Likewise.
38929 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38930 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38931 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38932 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38933 Likewise.
38934 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38935 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38936 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38937 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38938 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38939 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38940 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38941 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38942 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38943 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38944 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38945 Likewise.
38946 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38947 (__posix_fallocate64_l64): Likewise.
38948 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38949 (posix_fallocate): Likewise.
38950 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38951 Likewise.
38952 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38953 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38954 (getifaddrs_internal): Likewise.
38955 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38956 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38957 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38958 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38959 * sysdeps/unix/sysv/linux/posix_fallocate64.c
38960 (__posix_fallocate64_l64): Likewise.
38961 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38962 Likewise.
38963 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38964 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38965 (__get_clockfreq): Likewise.
38966 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38967 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38968 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38969 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38970 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38971 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38972 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38973 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38974 Likewise.
38975 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38976 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38977 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38978 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38979 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38980 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38981 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38982 Likewise.
38983 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38984 (posix_fallocate): Likewise.
38985 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38986 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38987 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38988 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38989 (elf_machine_rela, elf_machine_rela_relative)
38990 (elf_machine_lazy_rel): Likewise.
38991 * time/asctime.c (asctime_internal): Likewise.
38992 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38993 * time/tzset.c (__tzset_parse_tz): Likewise.
38994 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38995 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38996 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38997 * wcsmbs/wcsmbsload.h: Likewise.
38998
38999 [BZ #15894]
39000 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39001
39002 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39003 (arena_get2): Remove THREAD_STATS conditionals.
39004 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39005 (__malloc_stats, int): Likewise.
39006
39007 2014-02-08 Mike Frysinger <vapier@gentoo.org>
39008
39009 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39010 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
39011
39012 * manual/setjmp.texi: Fix typos/grammar errors.
39013
39014 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
39015 Only return early when n is <= 0. Delete unused return statement.
39016
39017 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
39018 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
39019 * debug/tst-longjmp_chk3.c: New file.
39020
39021 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
39022 (test_main): Replace code with set_fortify_handler call.
39023 * debug/test-strcpy_chk.c: Likewise.
39024 * debug/tst-chk1.c: Likewise.
39025 * debug/tst-longjmp_chk.c: Likewise.
39026 * test-skeleton.c: Include fcntl.h & paths.h
39027 (set_fortify_handler): Define.
39028
39029 * debug/tst-longjmp_chk.c: Add header comment and include
39030 ../test-skeleton.c.
39031 (do_test): Mark static.
39032 (TEST_FUNCTION): Define.
39033
39034 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
39035 (IP_PMTUDISC_INTERFACE): Likewise.
39036 (IP_MULTICAST_IF): Likewise.
39037 (IP_MULTICAST_TTL): Likewise.
39038 (IP_MULTICAST_LOOP): Likewise.
39039 (IP_ADD_MEMBERSHIP): Likewise.
39040 (IP_DROP_MEMBERSHIP): Likewise.
39041 (IP_UNBLOCK_SOURCE): Likewise.
39042 (IP_BLOCK_SOURCE): Likewise.
39043 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
39044 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
39045 (IP_MSFILTER): Likewise.
39046 (MCAST_JOIN_GROUP): Likewise.
39047 (MCAST_BLOCK_SOURCE): Likewise.
39048 (MCAST_UNBLOCK_SOURCE): Likewise.
39049 (MCAST_LEAVE_GROUP): Likewise.
39050 (MCAST_JOIN_SOURCE_GROUP): Likewise.
39051 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
39052 (MCAST_MSFILTER): Likewise.
39053 (IP_MULTICAST_ALL): Likewise.
39054 (IP_UNICAST_IF): Likewise.
39055
39056 * timezone/Makefile: Delete $(have-ksh) check.
39057 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
39058 * timezone/tzselect.ksh: Add +x mode bits.
39059
39060 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
39061 (ANON_INODE_FS_MAGIC): Likewise.
39062 (BDEVFS_MAGIC): Likewise.
39063 (BINFMTFS_MAGIC): Likewise.
39064 (BTRFS_TEST_MAGIC): Likewise.
39065 (CRAMFS_MAGIC_WEND): Likewise.
39066 (DEBUGFS_MAGIC): Likewise.
39067 (ECRYPTFS_SUPER_MAGIC): Likewise.
39068 (EXT3_SUPER_MAGIC): Likewise.
39069 (EXT4_SUPER_MAGIC): Likewise.
39070 (FUTEXFS_SUPER_MAGIC): Likewise.
39071 (HOSTFS_SUPER_MAGIC): Likewise.
39072 (HUGETLBFS_MAGIC): Likewise.
39073 (MINIX3_SUPER_MAGIC): Likewise.
39074 (MTD_INODE_FS_MAGIC): Likewise.
39075 (NILFS_SUPER_MAGIC): Likewise.
39076 (OPENPROM_SUPER_MAGIC): Likewise.
39077 (PIPEFS_MAGIC): Likewise.
39078 (PSTOREFS_MAGIC): Likewise.
39079 (QNX6_SUPER_MAGIC): Likewise.
39080 (RAMFS_MAGIC): Likewise.
39081 (REISERFS_SUPER_MAGIC_STRING): Likewise.
39082 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
39083 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
39084 (SECURITYFS_MAGIC): Likewise.
39085 (SELINUX_MAGIC): Likewise.
39086 (SMACK_MAGIC): Likewise.
39087 (SOCKFS_MAGIC): Likewise.
39088 (SQUASHFS_MAGIC): Likewise.
39089 (STACK_END_MAGIC): Likewise.
39090 (TMPFS_MAGIC): Likewise.
39091 (USBDEVICE_SUPER_MAGIC): Likewise.
39092 (V9FS_MAGIC): Likewise.
39093 (XENFS_SUPER_MAGIC): Likewise.
39094 (CRAMFS_MAGIC): Fix typo in comment.
39095 (EXT2_SUPER_MAGIC): Update comment.
39096 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
39097
39098 2014-02-08 Joseph Myers <joseph@codesourcery.com>
39099
39100 * sysdeps/arm: Move directory from ports/sysdeps/arm.
39101 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
39102 * sysdeps/unix/sysv/linux/arm: Move directory from
39103 ports/sysdeps/unix/sysv/linux/arm.
39104 * README: Update listing for arm-*-linux-gnueabi.
39105
39106 * README: Remove mention of am33.
39107
39108 2014-02-07 Roland McGrath <roland@hack.frob.com>
39109
39110 * bits/sigset.h (__sigemptyset): Use a statement expression rather
39111 than the comma operator, to avoid "rhs of comma has no effect"
39112 compiler warnings.
39113 (__sigfillset, __sigandset, __sigorset): Likewise.
39114 * include/signal.h (__sigemptyset): Likewise.
39115 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
39116
39117 2014-02-07 Allan McRae <allan@archlinux.org>
39118
39119 * version.h (RELEASE): Set to "development".
39120 (VERSION): Set to "2.19.90"
39121 * NEWS: Add 2.20 section.
39122
39123 2014-02-06 Carlos O'Donell <carlos@redhat.com>
39124
39125 [BZ #16529]
39126 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39127
39128 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39129
39130 * manual/contrib.texi: Update entry for Carlos O'Donell,
39131 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39132
39133 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
39134
39135 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39136
39137 * sysdeps/unix/sysv/linux/kernel-features.h
39138 [__LINUX_KERNEL_VERSION >= 0x020621]
39139 (__ASSUME_PROC_PID_TASK_COMM): Define.
39140
39141 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39142
39143 [BZ #16398]
39144 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39145 conversion when destination buffer does not have enough space.
39146 * libio/tst-ftell-partial-wide.c: New test case.
39147 * libio/Makefile (tests): Add tst-ftell-partial-wide.
39148
39149 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39150 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
39151 Leonard and Allan McRae.
39152
39153 2014-02-04 David S. Miller <davem@davemloft.net>
39154
39155 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39156 32-bit.
39157
39158 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39159
39160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39161 New file
39162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39163 New file
39164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39165 New file.
39166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39167 New file.
39168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39169 New file.
39170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39171 New file.
39172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39173 New file.
39174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39175 New file.
39176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39177 New file.
39178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39179 New file.
39180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39181 New file.
39182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39183 New file.
39184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39185 New file.
39186
39187 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39188
39189 * nptl/shlib-versions: Change powerpc*le start to 2.17.
39190 * shlib-versions: Likewise.
39191
39192 2014-02-04 Roland McGrath <roland@hack.frob.com>
39193 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39194
39195 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39196 (abilist-pattern): New variable, set to %-le.abilist.
39197
39198 * Makerules (abilist-pattern): New variable.
39199 (vpath): Use $(abilist-pattern) in place of %.abilist.
39200 (check-abi-% pattern rule): Likewise.
39201 (check-abi, update-abi): Likewise.
39202
39203 2014-02-04 Eric Wong <normalperson@yhbt.net>
39204
39205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39206
39207 2014-02-03 Carlos O'Donell <carlos@redhat.com>
39208
39209 * manual/startup.texi: Add next, previous, and top entries for
39210 the `Program Arguments' and `Environment Variables' nodes.
39211
39212 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
39213
39214 * manual/macros.texi: Add comments before MTASC-safety macros.
39215
39216 * manual/users.texi: Document MTASC-safety properties.
39217
39218 * manual/threads.texi (pthread_key_create, pthread_key_delete)
39219 (pthread_getspecific, pthread_setspecific): Format with
39220 @deftypefun, and add @safety note.
39221 * manual/signal.texi: Move comments that analyze the above
39222 functions to their home place.
39223
39224 2014-02-03 Allan McRae <allan@archlinux.org>
39225
39226 * po/sl.po: Update Slovenian translation from translation project.
39227
39228 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
39229
39230 * manual/time.texi (timegm): Add missing blank after @c.
39231 Reported by Joseph Myers <joseph@codesourcery.com>.
39232
39233 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
39234
39235 * manual/check-safety.sh: New.
39236 * manual/Makefile ($(objpfx)stamp-summary): Run it.
39237
39238 * manual/terminal.texi: Document MTASC-safety properties.
39239
39240 * manual/filesys.texi: Document MTASC-safety properties.
39241
39242 * manual/errno.texi: Document MTASC-safety properties.
39243
39244 * manual/intro.texi: Document safety identifiers and
39245 conditionals.
39246
39247 * manual/string.texi (wcstok): Fix prototype.
39248 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39249
39250 * manual/time.texi: Document MTASC-safety properties.
39251
39252 * manual/string.texi: Document MTASC-safety properties.
39253
39254 * manual/threads.texi: Document MTASC-safety properties.
39255
39256 * manual/stdio.texi: Document MTASC-safety properties.
39257
39258 * manual/syslog.texi: Document MTASC-safety properties.
39259
39260 * manual/sysinfo.texi: Document MTASC-safety properties.
39261
39262 * manual/startup.texi: Document MTASC-safety properties.
39263
39264 * manual/socket.texi: Document MTASC-safety properties.
39265
39266 * manual/signal.texi: Document MTASC-safety properties.
39267
39268 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
39269
39270 * manual/setjmp.texi: Document MTASC-safety properties.
39271
39272 * manual/search.texi: Document MTASC-safety properties.
39273
39274 * manual/resource.texi: Document MTASC-safety properties.
39275
39276 * manual/process.texi: Document MTASC-safety properties.
39277
39278 * manual/platform.texi: Document MTASC-safety properties.
39279
39280 * manual/pipe.texi: Document MTASC-safety properties.
39281
39282 * manual/pattern.texi: Document MTASC-safety properties.
39283
39284 * manual/message.texi: Document MTASC-safety properties.
39285
39286 [BZ #12751]
39287 * manual/memory.texi: Document MTASC-safety properties.
39288
39289 * manual/math.texi: Document MTASC-safety properties.
39290
39291 * manual/locale.texi: Document MTASC-safety properties.
39292
39293 * manual/llio.texi: Document MTASC-safety properties.
39294
39295 * manual/libdl.texi: New.
39296
39297 * manual/lang.texi: Document MTASC-safety properties.
39298
39299 * manual/job.texi: Document MTASC-safety properties.
39300
39301 * manual/getopt.texi: Document MTASC-safety properties.
39302
39303 * manual/ctype.texi: Document MTASC-safety properties.
39304
39305 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
39306
39307 [BZ #16046]
39308 * csu/libc-tls.c (static_map): Remove variable.
39309 (__libc_setup_tls): Use main executable's link map for TLS data.
39310 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
39311 casing for LM_ID_BASE and GL(dl_nns).
39312 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
39313 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
39314 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
39315 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
39316 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
39317 member.
39318 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
39319 l_phnum members.
39320
39321 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
39322
39323 * manual/debug.texi: Document MTASC-safety properties.
39324
39325 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
39326
39327 [BZ #16510]
39328 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
39329 of __x86_64__ when disabling x87 inline functions.
39330
39331 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
39332
39333 * manual/charset.texi: Document MTASC-safety properties.
39334
39335 * manual/crypt.texi: Document MTASC-safety properties.
39336
39337 * manual/conf.texi: Document MTASC-safety properties.
39338
39339 * manual/arith.texi: Document MTASC-safety properties.
39340
39341 * manual/argp.texi: Document MTASC-safety properties.
39342
39343 * manual/macros.texi: Introduce macros to document multi
39344 thread, asynchronous signal and asynchronous cancellation
39345 safety properties.
39346 * manual/intro.texi: Introduce the properties themselves.
39347
39348 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39349
39350 * sysdeps/sh/sh4/Makefile: New file.
39351
39352 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
39353
39354 * math/gen-libm-test.pl ($srcdir): New variable.
39355 ($auto_input): Use it.
39356
39357 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39358
39359 [BZ #16506]
39360 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
39361 access beyond array bounds when parsing netgroups file.
39362
39363 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
39364 the old buffer before realloc.
39365
39366 2014-01-27 Allan McRae <allan@archlinux.org>
39367
39368 * po/fr.po: Update French translation from translation project.
39369
39370 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39371
39372 * sysdeps/sh/libm-test-ulps: Regenerate.
39373
39374 2014-01-24 David S. Miller <davem@davemloft.net>
39375
39376 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39377
39378 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39379
39380 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39381 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39382
39383 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39384
39385 [BZ #16474]
39386 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39387 string pointers after reallocation.
39388
39389 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39390
39391 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39392 __SH4A__ instead of __SH_FPU_ANY__.
39393
39394 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39395
39396 * sysdeps/sh/fpu_control.h: New file.
39397 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39398 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39399 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39400 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39401 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39402 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39403 * sysdeps/sh/sys/ucontext.h: Remove.
39404 * sysdeps/sh/sys: Remove directory.
39405
39406 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39407
39408 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39409 s390/sys/ucontext.h.
39410 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39411 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39412
39413 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
39414
39415 [BZ #15605]
39416 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39417
39418 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39419
39420 [BZ#16431]
39421 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39422 Adjust the vDSO correctly for internal calls.
39423 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39424
39425 2014-01-20 Allan McRae <allan@archlinux.org>
39426
39427 * po/ca.po: Update Catalan translation from translation project.
39428
39429 2014-01-16 Mike Frysinger <vapier@gentoo.org>
39430
39431 * sysdeps/s390/sotruss-lib.c: New file.
39432
39433 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39434
39435 [BZ#16430]
39436 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39437 (__GI___gettimeofday): Alias for a different internal symbol to avoid
39438 local calls issues by not having a PLT stub required for IFUNC calls.
39439 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39440
39441 2014-01-16 Joseph Myers <joseph@codesourcery.com>
39442
39443 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39444 * math/test-fpucw-static.c: Likewise.
39445
39446 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39447
39448 [BZ #16453]
39449 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39450
39451 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39452
39453 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39454 implementation for powerpc.
39455
39456 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
39457
39458 [BZ #14782]
39459 * sysdeps/posix/system.c (__libc_system): Do not enable
39460 asynchronous cancellation.
39461
39462 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39463
39464 [BZ #16427]
39465 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39466 handling only for numbers special also in the IEEE case.
39467
39468 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39469
39470 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39471
39472 2014-01-11 Allan McRae <allan@archlinux.org>
39473
39474 * po/bg.po: Update Bulgarian translation from translation project.
39475
39476 * po/de.po: Update German translation from translation project.
39477
39478 2014-01-10 Roland McGrath <roland@hack.frob.com>
39479
39480 * sysdeps/generic/gcc-compat.h: New file.
39481
39482 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39483
39484 * benchtests/asin-inputs: Correct slow inputs.
39485 * benchtests/acos-inputs: Likewise.
39486
39487 2014-01-10 Allan McRae <allan@archlinux.org>
39488
39489 * po:sv.po: Update Swedish translation from translation project.
39490
39491 * po/vi.po: Update Vietnamese translation from translation project.
39492
39493 * po/eo.po: Update Esperanto translation from translation project.
39494
39495 * po/cs.po: Update Czech translation from translation project.
39496
39497 * po/nl.po: Update Dutch translation from translation project.
39498
39499 * po/pl.po: Update Polish translation from translation project.
39500
39501 * po/ru.po: Update Russian translation from translation project.
39502
39503 * po/uk.po: Update Ukrainian translation from translation project.
39504
39505 2014-01-08 Brooks Moses <bmoses@google.com>
39506
39507 * elf/dl-load.c: Fix comment typo.
39508
39509 2014-01-08 Carlos O'Donell <carlos@redhat.com>
39510
39511 * po/header.pot: Rename to...
39512 * po/pot.header: ... this.
39513 * po/Makefile: Use pot.header.
39514
39515 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
39516 Maxim Kuvyrkov <maxim@kugelworks.com>
39517
39518 [BZ #16394]
39519 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39520 SRC and DEST against LEN.
39521
39522 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39523
39524 [BZ #16414]
39525 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39526 implementation.
39527 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39528
39529 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39530
39531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39532
39533 2014-01-08 Joseph Myers <joseph@codesourcery.com>
39534
39535 [BZ #16408]
39536 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39537 for large positive arguments.
39538
39539 2014-01-07 Joseph Myers <joseph@codesourcery.com>
39540
39541 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39542
39543 * math/auto-libm-test-in: Mark various tests with
39544 xfail-rounding:ldbl-128ibm.
39545 * math/auto-libm-test-out: Regenerated.
39546
39547 [BZ #16407]
39548 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39549 Increase overflow threshold.
39550
39551 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
39552
39553 [BZ #14286]
39554 * stdio-common/vfprintf.c: Check for integer overflow.
39555
39556 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39557
39558 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39559 the first argument and return value of __tls_get_addr_internal.
39560
39561 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39562
39563 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39564 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39565
39566 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39567
39568 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39569 * sysdeps/s390/rtld-global-offsets.sym: New file.
39570 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39571 GLIBC_2.19 symbol.
39572 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39573 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39574 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39575 ... this.
39576 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39577 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39578 ... this.
39579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39580 Regenerate.
39581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39582 Regenerate.
39583 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39584 halfs of GPRs for high_gprs contexts.
39585 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39586 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
39587 field.
39588 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39589 uc_flags field.
39590 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39591 64 bit versions:
39592 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39593 for high GPRs (uc_high_gprs) and for future extensions
39594 (__reserved).
39595 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39596 for future extensions (__reserved).
39597 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39598 64 bit versions:
39599 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39600 SC_HIGHGPRS offset definition.
39601 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39602 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39603
39604 * Versions.def: Add GLIBC_2.19 for libpthread.
39605 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39606 siglongjmp for libpthread with GLIBC_2.19 symver.
39607 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39608 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39609 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39610 * sysdeps/s390/__longjmp.c: New file.
39611 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39612 * sysdeps/s390/longjmp.c: New file.
39613 * sysdeps/s390/setjmp.S: New file.
39614 * sysdeps/s390/sigjmp.S: New file.
39615 * sysdeps/s390/v1-longjmp.c: New file.
39616 * sysdeps/s390/v1-setjmp.h: New file.
39617 * sysdeps/s390/v1-sigjmp.c: New file.
39618 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39619 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39620 GLIBC_2.19 version.
39621 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39622 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39623 versioned symbols for ____longjmp_chk.
39624 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39625 Likewise.
39626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39627 Regenerate.
39628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39629 Regenerate.
39630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39631 Regenerate.
39632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39633 Regenerate.
39634 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39635 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39636 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39637 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39638 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39639 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39640 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39641 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39642 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39643 * sysdeps/s390/rtld-__longjmp.c: New file.
39644 * sysdeps/s390/rtld-setjmp.S: New file.
39645
39646 2014-01-06 Joseph Myers <joseph@codesourcery.com>
39647
39648 [BZ #16400]
39649 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39650 Return -__logl (x) for small positive arguments without evaluating
39651 a polynomial.
39652
39653 2014-01-06 Mike Frysinger <vapier@gentoo.org>
39654
39655 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39656 Rename to ...
39657 (__ptrace_peeksiginfo_args): ... this.
39658 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39659 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39660 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39661
39662 2014-01-06 Allan McRae <allan@archlinux.org>
39663
39664 * inet/netinet/in.h: Fix typo in comment.
39665
39666 2014-01-05 Andreas Jaeger <aj@suse.de>
39667
39668 * sysdeps/i386/fpu/libm-test-ulps: Update.
39669
39670 2014-01-05 Allan McRae <allan@archlinux.org>
39671
39672 * po/libc.pot: Regenerated.
39673
39674 * malloc/memusagestat.c: Fix gettext call formatting.
39675
39676 2014-01-04 Sami Kerola <kerolasa@iki.fi>
39677
39678 * nscd/nscd.c: Improve usage() output.
39679
39680 2014-01-04 Mike Frysinger <vapier@gentoo.org>
39681
39682 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39683 * sysdeps/unix/sysv/linux/configure: Regenerated.
39684 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39685 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39686
39687 2014-01-03 Joseph Myers <joseph@codesourcery.com>
39688
39689 [BZ #16390]
39690 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39691 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39692
39693 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39694
39695 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39696 extra tokens at end of #undef directive.
39697 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39698 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39699 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39700
39701 2014-01-03 Joseph Myers <joseph@codesourcery.com>
39702
39703 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39704
39705 * math/auto-libm-test-in: Mark various tests with
39706 xfail-rounding:ldbl-128ibm.
39707 * math/auto-libm-test-out: Regenerated.
39708
39709 2014-01-02 Joseph Myers <joseph@codesourcery.com>
39710
39711 [BZ #16386]
39712 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39713 numbers with subnormal high part when calculating exponent.
39714
39715 [BZ #16385]
39716 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39717 fabs.
39718
39719 [BZ #16384]
39720 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39721 M_LN2l.
39722 (__ieee754_acoshl): Use __log1pl not __log1p.
39723
39724 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
39725
39726 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39727 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39728 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39729 (grow_heap, heap_trim, _int_new_arena, get_free_list)
39730 (reused_arena, arena_get2): Convert to GNU style.
39731 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39732 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39733 (memalign_check, __malloc_set_state): Likewise.
39734 * malloc/mallocbug.c (main): Likewise.
39735 * malloc/malloc.c (__malloc_assert, malloc_init_state)
39736 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39737 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39738 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39739 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39740 (__posix_memalign, malloc_info): Likewise.
39741 * malloc/malloc.h: Likewise.
39742 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39743 (mallochook, memalignhook, reallochook, mabort): Likewise.
39744 * malloc/mcheck.h: Likewise.
39745 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39746 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39747 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39748 * malloc/morecore.c (__default_morecore): Likewise.
39749 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39750 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39751 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39752 (print_and_abort): Likewise.
39753 * malloc/obstack.h: Likewise.
39754 * malloc/set-freeres.c (__libc_freeres): Likewise.
39755 * malloc/tst-mallocstate.c (main): Likewise.
39756 * malloc/tst-mtrace.c (main): Likewise.
39757 * malloc/tst-realloc.c (do_test): Likewise.
39758
39759 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39760
39761 [BZ #16366]
39762 * nscd/netgroupcache.c (do_notfound): New function.
39763 (addgetnetgrentX): Use it.
39764
39765 [BZ # 16365]
39766 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39767 NSS_STATUS_NOTFOUND.
39768
39769 2014-01-01 Joseph Myers <joseph@codesourcery.com>
39770
39771 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39773
39774 2014-01-01 Allan McRae <allan@archlinux.org>
39775
39776 * scripts/update-copyrights: Update configure input file suffix.
39777
39778 * NEWS: Update copyright year.
39779 * catgets/gencat.c: Likewise.
39780 * csu/version.c: Likewise.
39781 * debug/catchsegv.sh: Likewise.
39782 * debug/pcprofiledump.c: Likewise.
39783 * debug/xtrace.sh: Likewise.
39784 * elf/ldconfig.c: Likewise.
39785 * elf/ldd.bash.in: Likewise.
39786 * elf/pldd.c: Likewise.
39787 * elf/sotruss.ksh: Likewise.
39788 * elf/sprof.c: Likewise.
39789 * iconv/iconv_prog.c: Likewise.
39790 * iconv/iconvconfig.c: Likewise.
39791 * locale/programs/locale.c: Likewise.
39792 * locale/programs/localedef.c: Likewise.
39793 * login/programs/pt_chown.c: Likewise.
39794 * malloc/memusage.sh: Likewise.
39795 * malloc/memusagestat.c: Likewise.
39796 * malloc/mtrace.pl: Likewise.
39797 * manual/libc.texinfo: Likewise.
39798 * nscd/nscd.c: Likewise.
39799 * nss/getent.c: Likewise.
39800 * nss/makedb.c: Likewise.
39801 * posix/getconf.c: Likewise.
39802 * scripts/test-installation.pl: Likewise.
39803
39804 * All files with FSF copyright notices: Update copyright dates
39805 using scripts/update-copyrights.
39806 * intl/plural.c: Regenerated.
39807 * locale/programs/charmap-kw.h: Likewise.
39808 * locale/programs/locfile-kw.h: Likewise.
39809
39810 2013-12-31 Mike Frysinger <vapier@gentoo.org>
39811
39812 * sysdeps/unix/sysv/linux/configure: Regenerated.
39813 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39814 the linux/fanotify.h header.
39815 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39816 HAVE_LINUX_FANOTIFY_H is defined.
39817
39818 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39819
39820 * benchtests/cos-inputs: New inputs.
39821 * benchtests/sin-inputs: Likewise.
39822
39823 * benchtests/atan-inputs: New inputs. Fix name of multiple
39824 precision fallback inputs.
39825
39826 * benchtests/atanh-inputs: New inputs.
39827 * benchtests/tanh-inputs: Likewise.
39828
39829 * benchtests/acosh-inputs: New inputs.
39830 * benchtests/asinh-inputs: Likewise.
39831
39832 * benchtests/cosh-inputs: New inputs.
39833 * benchtests/sinh-inputs: Likewise.
39834
39835 * benchtests/acos-inputs: Add more inputs.
39836 * benchtests/asin-inputs: Likewise.
39837
39838 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
39839
39840 [BZ #16375]
39841 * manual/arith.texi: Fix spelling.
39842 * manual/charset.texi: Likewise.
39843 * manual/errno.texi: Likewise.
39844 * manual/filesys.texi: Likewise.
39845 * manual/lang.texi: Likewise.
39846 * manual/llio.texi: Likewise.
39847 * manual/locale.texi: Likewise.
39848 * manual/message.texi: Likewise.
39849 * manual/resource.texi: Likewise.
39850 * manual/search.texi: Likewise.
39851 * manual/setjmp.texi: Likewise.
39852 * manual/stdio.texi: Likewise.
39853 * manual/string.texi: Likewise.
39854 * manual/sysinfo.texi: Likewise.
39855 * manual/time.texi: Likewise.
39856
39857 2013-12-27 Carlos O'Donell <carlos@redhat.com>
39858
39859 * po/sl.po: New file.
39860
39861 2013-12-27 Mike Frysinger <vapier@gentoo.org>
39862
39863 * .gitignore: Add core/.gdbinit/.gdb_history.
39864
39865 2013-12-27 Allan McRae <allan@archlinux.org>
39866
39867 [BZ #16369]
39868 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39869 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39870
39871 2013-12-24 Brooks Moses <bmoses@google.com>
39872
39873 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39874 all compilers that claim C++98 compliance, not just GCC.
39875 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39876 Likewise.
39877
39878 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
39879
39880 * NEWS: Restore accidentally deleted bug-fix entries.
39881
39882 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
39883 Ondřej Bílka <neleai@seznam.cz>
39884
39885 [BZ #15073]
39886 * malloc/malloc.c (_int_free): Perform sanity check only if we
39887 have_lock.
39888
39889 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
39890
39891 [BZ #12986]
39892 * manual/stdio.texi (String Input Conversions): Clarify that character
39893 classes are not supported.
39894
39895 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39896
39897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39898
39899 2013-12-22 Joseph Myers <joseph@codesourcery.com>
39900
39901 [BZ #16337]
39902 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39903 Calculate results for small negative arguments directly rather
39904 than using reflection formula with special underflow handling.
39905
39906 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39907 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39908 sysdeps/unix/bsd/bsd4.4/syscalls.list.
39909 (fchflags): Likewise.
39910 (revoke): Likewise.
39911 (setlogin): Likewise.
39912 (sigaltstack): Likewise.
39913 (wait4): Likewise.
39914 (sigblock): Remove.
39915 (sigsetmask): Likewise.
39916 (wait3): Likewise.
39917 (waitpid): Likewise.
39918 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39919 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39920 file.
39921 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39922 * sysdeps/unix/bsd/Makefile: ... here.
39923 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39924 * sysdeps/unix/bsd/Versions: ... here.
39925 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39926 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39927 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39928 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39929 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39930 * sysdeps/unix/bsd/sigblock.c: ... here.
39931 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39932 * sysdeps/unix/bsd/sigsetmask.c: ... here.
39933 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39934 * sysdeps/unix/bsd/sigvec.c: ... here.
39935 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39936 * sysdeps/unix/bsd/tcdrain.c: ... here.
39937 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39938 * sysdeps/unix/bsd/tcgetattr.c: ... here.
39939 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39940 * sysdeps/unix/bsd/tcsetattr.c: ... here.
39941 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39942 * sysdeps/unix/bsd/wait.c: ... here.
39943 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39944 * sysdeps/unix/bsd/wait3.c: ... here.
39945 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39946 * sysdeps/unix/bsd/waitpid.c: ... here.
39947
39948 2013-12-21 Joseph Myers <joseph@codesourcery.com>
39949
39950 [BZ #16356]
39951 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39952 round-to-nearest for [!USE_AS_EXPM1L].
39953 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39954 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
39955 more tests of exp and exp10. Expect some exp10 tests to miss
39956 exceptions or fail in directed rounding modes.
39957 * math/auto-libm-test-out: Regenerated.
39958 * math/libm-test.inc (exp10_tonearest_test_data): New array.
39959 (exp10_test_tonearest): New function.
39960 (exp10_towardzero_test_data): New array.
39961 (exp10_test_towardzero): New function.
39962 (exp10_downward_test_data): New array.
39963 (exp10_test_downward): New function.
39964 (exp10_upward_test_data): New array.
39965 (exp10_test_upward): New function.
39966 (main): Call the new functions.
39967 * sysdeps/i386/fpu/libm-test-ulps: Update.
39968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39969
39970 2013-12-20 Joseph Myers <joseph@codesourcery.com>
39971
39972 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39973 asinh, atan, atan2, atanh, cbrt, cos and cosh.
39974 * math/auto-libm-test-out: Regenerated.
39975 * math/libm-test.inc (acosh_test_data): Add more tests.
39976 (atanh_test_data): Likewise.
39977 (ceil_test_data): Likewise.
39978 (copysign_test_data): Likewise.
39979 * sysdeps/i386/fpu/libm-test-ulps: Update.
39980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39981
39982 * timezone/checktab.awk: Update from tzcode 2013i.
39983 * timezone/private.h: Likewise.
39984 * timezone/scheck.c: Likewise.
39985 * timezone/tzfile.h: Likewise.
39986 * timezone/tzselect.ksh: Likewise.
39987 * timezone/zdump.c: Likewise.
39988 * timezone/zic.c: Likewise.
39989
39990 * math/auto-libm-test-in: Add tests of cpow.
39991 * math/auto-libm-test-out: Regenerated.
39992 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39993 * math/gen-auto-libm-tests.c (func_calc_method): Add value
39994 mpc_cc_c.
39995 (func_calc_desc): Add mpc_cc_c union field.
39996 (test_functions): Add cpow.
39997 (special_fill_2pi): New function.
39998 (special_real_inputs): Add 2pi.
39999 (calc_generic_results): Handle mpc_cc_c.
40000 * sysdeps/i386/fpu/libm-test-ulps: Update.
40001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40002
40003 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40004 csqrt, ctan and ctanh.
40005 * math/auto-libm-test-out: Regenerated.
40006 * math/libm-test.inc (TEST_COND_x86_64): New macro.
40007 (TEST_COND_x86): Likewise.
40008 (ccos_test_data): Use AUTO_TESTS_c_c.
40009 (ccosh_test_data): Likewise.
40010 (cexp_test_data): Likewise.
40011 (clog_test_data): Likewise.
40012 (csqrt_test_data): Likewise.
40013 (ctan_test_data): Likewise.
40014 (ctan_tonearest_test_data): Likewise.
40015 (ctan_towardzero_test_data): Likewise.
40016 (ctan_downward_test_data): Likewise.
40017 (ctan_upward_test_data): Likewise.
40018 (ctanh_test_data): Likewise.
40019 (ctanh_tonearest_test_data): Likewise.
40020 (ctanh_towardzero_test_data): Likewise.
40021 (ctanh_downward_test_data): Likewise.
40022 (ctanh_upward_test_data): Likewise.
40023 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40024 mpc_c_c.
40025 (func_calc_desc): Add mpc_c_c union field.
40026 (FUNC_mpc_c_c): New macro.
40027 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
40028 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
40029 ctanh.
40030 (special_fill_min_subnorm_p120): New function.
40031 (special_real_inputs): Add min_subnorm_p120.
40032 (calc_generic_results): Handle mpc_c_c.
40033 * sysdeps/i386/fpu/libm-test-ulps: Update.
40034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40035
40036 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40037
40038 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
40039 (do_sin_slow): New functions.
40040 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
40041 (cslow2, csloww1, csloww2): Use the new functions.
40042
40043 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
40044 Use M to change sign of result instead of X. Assume X is
40045 positive.
40046 (csloww1): Likewise.
40047 (__sin): Adjust.
40048 (__cos): Adjust.
40049
40050 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
40051 arguments A and DA.
40052 (__sin): Adjust.
40053 (__cos): Likewise.
40054
40055 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
40056 (__cos): Likewise.
40057 (sloww1): Don't adjust sign of DX.
40058 (csloww1): Likewise.
40059 (sloww2): Use X directly and don't adjust sign of DX.
40060 (csloww2): Likewise.
40061
40062 2013-12-19 Joseph Myers <joseph@codesourcery.com>
40063
40064 * math/auto-libm-test-in: Add tests of cabs and carg.
40065 * math/auto-libm-test-out: Regenerated.
40066 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
40067 (carg_test_data): Likewise.
40068 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40069 mpc_c_f.
40070 (func_calc_desc): Add mpc_c_f union field.
40071 (test_functions): Add cabs and carg.
40072 (calc_generic_results): Handle mpc_c_f.
40073
40074 * sysdeps/powerpc/powerpc32/libgcc-compat.S
40075 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
40076 as a macro and a compat symbol.
40077 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40078 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40079 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40080 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40081 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
40082 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
40083 not use .hidden.
40084 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
40085 Likewise.
40086 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
40087 Likewise.
40088 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
40089 Likewise.
40090 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40091 Likewise.
40092 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
40093 Likewise.
40094 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
40095 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
40096 from GLIBC_2.3.2.
40097
40098 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40099
40100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40101
40102 2013-12-19 Joseph Myers <joseph@codesourcery.com>
40103
40104 * manual/texinfo.tex: Update to version 2013-11-26.10 with
40105 trailing whitespace removed.
40106 * scripts/config.guess: Update to version 2013-11-29.
40107 * scripts/config.sub: Update to version 2013-10-01.
40108
40109 * math/auto-libm-test-in: Add tests of sincos.
40110 * math/auto-libm-test-out: Regenerated.
40111 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
40112 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40113 mpfr_f_11.
40114 (func_calc_desc): Add mpfr_f_11 union field.
40115 (test_functions): Add sincos.
40116 (calc_generic_results): Handle mpfr_f_11.
40117 * sysdeps/i386/fpu/libm-test-ulps: Update.
40118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40119
40120 2013-12-19 Andreas Schwab <schwab@suse.de>
40121
40122 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
40123 CALL_MCOUNT.
40124 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40125 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40126 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40127
40128 2013-12-19 Joseph Myers <joseph@codesourcery.com>
40129
40130 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40131 * sysdeps/i386/fpu/libm-test-ulps: Update.
40132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40133
40134 [BZ #16293]
40135 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40136 round-to-nearest mode when using frndint.
40137 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40138 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40139 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40140 Likewise.
40141 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
40142 sinh test to fail.
40143 * math/auto-libm-test-out: Regenerated.
40144 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40145 (TEST_COND_x86): Likewise.
40146 (expm1_tonearest_test_data): New array.
40147 (expm1_test_tonearest): New function.
40148 (expm1_towardzero_test_data): New array.
40149 (expm1_test_towardzero): New function.
40150 (expm1_downward_test_data): New array.
40151 (expm1_test_downward): New function.
40152 (expm1_upward_test_data): New array.
40153 (expm1_test_upward): New function.
40154 (main): Run the new test functions.
40155 * sysdeps/i386/fpu/libm-test-ulps: Update.
40156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40157
40158 * include/features.h: Update comment documenting feature test
40159 macros. Mention _DEFAULT_SOURCE in comment.
40160 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40161 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40162 _BSD_SOURCE and _SVID_SOURCE.
40163 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40164 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40165 !_SVID_SOURCE]: Likewise.
40166 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40167 (__USE_POSIX_IMPLICITLY): Define.
40168 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40169 (_POSIX_SOURCE): Undefine and redefine.
40170 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40171 (_POSIX_C_SOURCE): Likewise.
40172 * manual/creature.texi (_DEFAULT_SOURCE): Document.
40173 (Feature Test Macros): Update documentation of default features.
40174
40175 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40176
40177 * benchtests/Makefile: Add bench-strtok.
40178 * benchtests/bench-strtok.c: New file: strtok benchtest.
40179
40180 2013-12-19 Allan McRae <allan@archlinux.org>
40181
40182 * manual/install.texi: Suppress menu for plain text output.
40183 * INSTALL: Regenerated.
40184
40185 2013-12-18 Brooks Moses <bmoses@google.com>
40186
40187 [BZ #15846]
40188 * misc/getauxval.c: Include errno.h.
40189 (__getauxval): Set errno to ENOENT if the requested type is not
40190 found.
40191 * misc/sys/auxv.h (getauxval): Document that it may set errno;
40192 don't declare with __attribute_const__.
40193 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40194 * manual/startup.texi: Document that getauxval sets errno.
40195
40196 2013-12-18 Joseph Myers <joseph@codesourcery.com>
40197
40198 * math/auto-libm-test-in: Add tests of jn and yn.
40199 * math/auto-libm-test-out: Regenerated.
40200 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40201 (yn_test_data): Likewise.
40202 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40203 mpfr_if_f.
40204 (func_calc_desc): Add mpfr_if_f union field.
40205 (FUNC_mpfr_if_f): New macro.
40206 (test_functions): Add jn and yn.
40207 (calc_generic_results): Assert type of second input for
40208 mpfr_ff_f. Handle mpfr_if_f.
40209 (output_for_one_input_case): Disable all checking for arguments
40210 fitting floating-point types in case of an integer argument.
40211 * sysdeps/i386/fpu/libm-test-ulps: Update.
40212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40213
40214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40215 Don't expect fegetround reference in libm.so.
40216
40217 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40218
40219 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40220 $(config-cflags-nofma).
40221
40222 2013-12-18 Joseph Myers <joseph@codesourcery.com>
40223
40224 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40225 * math/auto-libm-test-out: Regenerated.
40226
40227 [BZ #16338]
40228 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40229 to determine exponent and adjust argument to have exponent of -1.
40230 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40231 log2.
40232 * math/auto-libm-test-out: Regenerated.
40233 * sysdeps/i386/fpu/libm-test-ulps: Update.
40234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40235
40236 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
40237
40238 * manual/probes.texi: Remove cases when per-thread arenas are
40239 disabled.
40240
40241 2013-12-18 Andreas Schwab <schwab@suse.de>
40242
40243 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40244 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40245 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40246 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40247 * sysdeps/i386/i686/multiarch/Makefile: Update.
40248 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40249
40250 2013-12-17 Joseph Myers <joseph@codesourcery.com>
40251
40252 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40253 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40254
40255 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
40256
40257 [BZ #15968]
40258 Support TZ transition times < 00:00:00.
40259 This is needed for version-3 tz-format files; it supports time
40260 stamps past 2037 for America/Godthab (the only entry in the tz
40261 database for which this change is relevant).
40262 * manual/time.texi (TZ Variable): Document transition times
40263 from -167:59:59 through -00:00:01.
40264 * time/tzset.c (tz_rule): Time of day is now signed.
40265 (__tzset_parse_tz): Parse negative time of day.
40266
40267 Document TZ transition times >= 25:00:00.
40268 * manual/time.texi (TZ Variable): Document transition times from
40269 25:00:00 through 167:59:59. These are already supported, and this
40270 support will help with version-3 tz-format files.
40271
40272 * manual/time.texi (TZ Variable): Modernize North America example
40273 to reflect current (i.e., 2007-and-later) daylight saving rules.
40274
40275 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
40276
40277 2013-12-17 Joseph Myers <joseph@codesourcery.com>
40278
40279 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
40280 * sysdeps/unix/bsd/bits/stat.h: Likewise.
40281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
40282 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40283 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
40284 * sysdeps/unix/bsd/bsdstat.h: Likewise.
40285 * sysdeps/unix/bsd/clock.c: Likewise.
40286 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
40287 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
40288 * sysdeps/unix/bsd/init-posix.c: Likewise.
40289 * sysdeps/unix/bsd/poll.c: Likewise.
40290 * sysdeps/unix/bsd/ptsname.c: Likewise.
40291 * sysdeps/unix/bsd/seekdir.c: Likewise.
40292 * sysdeps/unix/bsd/setegid.c: Likewise.
40293 * sysdeps/unix/bsd/seteuid.c: Likewise.
40294 * sysdeps/unix/bsd/setgid.c: Likewise.
40295 * sysdeps/unix/bsd/setrgid.c: Likewise.
40296 * sysdeps/unix/bsd/setruid.c: Likewise.
40297 * sysdeps/unix/bsd/setsid.c: Likewise.
40298 * sysdeps/unix/bsd/setuid.c: Likewise.
40299 * sysdeps/unix/bsd/sigaction.c: Likewise.
40300 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
40301 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
40302 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
40303 * sysdeps/unix/bsd/telldir.c: Likewise.
40304 * sysdeps/unix/bsd/times.c: Likewise.
40305 * sysdeps/unix/bsd/usleep.c: Likewise.
40306
40307 * misc/Makefile (install-lib): Remove libbsd-compat.a.
40308 ($(objpfx)libbsd-compat.a): Remove rule.
40309
40310 * include/features.h (__FAVOR_BSD): Do not define.
40311 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
40312 features conflicting with POSIX.
40313 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
40314 (_BSD_SOURCE): Remove description of not being a subset of other
40315 feature test macros.
40316 * manual/job.texi (getpgrp): Do not document BSD version.
40317 (getpgid): Do not document by reference to BSD getpgrp.
40318 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
40319 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
40320 * signal/signal.h [__FAVOR_BSD]: Likewise.
40321 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
40322 instead of making contents conditional on [__FAVOR_BSD].
40323 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
40324
40325 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40326
40327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40328
40329 2013-12-17 Joseph Myers <joseph@codesourcery.com>
40330
40331 [BZ #16314]
40332 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
40333 values below 2**-450, not 2**-500.
40334 * math/auto-libm-test-in: Don't allow spurious underflow from
40335 hypot.
40336 * math/auto-libm-test-out: Regenerated.
40337
40338 [BZ #16316]
40339 [BZ #16330]
40340 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
40341 values of ha and hb and sort them after adjusting subnormal
40342 arguments.
40343 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
40344 Likewise.
40345 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
40346 values of ea and eb and sort them after adjusting subnormal
40347 arguments.
40348 * math/auto-libm-test-in: Do not expect some hypot tests of
40349 subnormals to fail. Add more hypot tests.
40350 * math/auto-libm-test-out: Regenerated.
40351
40352 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40353
40354 [BZ #13304]
40355 * sysdeps/sh/s_fma.c: New file.
40356 * sysdeps/sh/s_fmaf.c: New file.
40357 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
40358 version.
40359 * sysdeps/sh/Implies: Add sh/soft-fp.
40360
40361 2013-12-16 Roland McGrath <roland@hack.frob.com>
40362
40363 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
40364 level of indirection to members `objname', `errstring', `malloced'.
40365 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
40366 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
40367 it as the __longjmp argument (just pass 1 instead).
40368 (_dl_catch_error): Initialize C with argument pointers and address of
40369 volatile local ERRCODE rather than copying values out of C at return.
40370
40371 2013-12-16 Joseph Myers <joseph@codesourcery.com>
40372
40373 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40374 * math/auto-libm-test-out: Regenerated.
40375 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40376 (hypot_test_data): Likewise.
40377 (pow_test_data): Likewise.
40378 (pow_tonearest_test_data): Likewise.
40379 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40380 mpfr_ff_f.
40381 (func_calc_desc): Add mpfr_ff_f union field.
40382 (FUNC_mpfr_ff_f): New macro.
40383 (test_functions): Add atan2, hypot and pow.
40384 (special_fill_min): New function.
40385 (special_fill_minus_min): Likewise.
40386 (special_fill_min_subnorm): Likewise.
40387 (special_fill_minus_min_subnorm): Likewise.
40388 (special_real_inputs): Add min, -min, min_subnorm and
40389 -min_subnorm.
40390 (calc_generic_results): Handle mpfr_ff_f.
40391 * sysdeps/i386/fpu/libm-test-ulps: Update.
40392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40393
40394 2013-12-16 Will Newton <will.newton@linaro.org>
40395
40396 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40397 (Aligned Memory Blocks): Add documentation for aligned_alloc
40398 and suggest it as an alternative to posix_memalign.
40399 (Hooks for Malloc): Document __memalign_hook is also called
40400 for aligned_alloc. (Summary of Malloc): Add summary for
40401 aligned alloc. Document __memalign_hook is also called
40402 for aligned_alloc.
40403
40404 2013-12-16 Will Newton <will.newton@linaro.org>
40405
40406 * manual/memory.texi (Malloc Examples): Clarify default
40407 alignment documentation. Suggest posix_memalign rather
40408 than memalign or valloc.
40409 (Aligned Memory Blocks): Remove suggestion to use memalign
40410 or valloc. Remove obsolete comment about BSD.
40411 Document memalign errno values and mark the function obsolete.
40412 Document posix_memalign returned error codes. Mark valloc
40413 as obsolete. (Hooks for Malloc): __memalign_hook is also
40414 called for posix_memalign and valloc.
40415 (Summary of Malloc): Add posix_memalign to function summary.
40416 __memalign_hook is also called for posix_memalign and valloc.
40417
40418 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40419
40420 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40421 TAYLOR_SIN.
40422 (__sin): Adjust.
40423 (__cos): Likewise.
40424 (sloww): Use mynumber union. Expand ternary operator into
40425 if-else statements.
40426 (cslow): use mynumber union.
40427
40428 2013-12-16 Allan McRae <allan@archlinux.org>
40429
40430 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40431 * configure: Regenerated.
40432
40433 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40434
40435 [BZ #14120]
40436 * configure.ac: Added --enable-maintainer-mode. Check for
40437 autoconf when enabled.
40438 * configure: Regenerated.
40439
40440 * nscd/nscd.service: New file.
40441 * nscd/nscd.tmpfiles: New file.
40442
40443 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
40444
40445 [BZ #12100]
40446 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40447 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40448 * sysdeps/x86_64/multiarch/strstr.c: ... here.
40449 (strstr): Add __strstr_sse2_unaligned ifunc.
40450 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40451 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40452 (strcasestr): Remove __strcasestr_sse42 ifunc.
40453 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40456
40457 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40458
40459 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40460 * sysdeps/sh/bits/fenv.h: ... here.
40461 * sysdeps/sh/sh4/fpu/bits: Remove directory.
40462
40463 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40464
40465 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40466
40467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40468 hypotf multiarch implementations.
40469 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40470 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40471 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40472 multiarch hypot for PPC64.
40473 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40474 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40475 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40476 multiarch hypotf for PPC64.
40477
40478 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40479 modff multiarch implementations.
40480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40483 multiarch modf for PPC64.
40484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40487 multiarch modff for PPC64.
40488
40489 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40490 and logl multiarch implementations.
40491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40494 multiarch logb for PPC64.
40495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40498 multiarch logb for PPC64.
40499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40502 multiarch logb for PPC64.
40503
40504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40505 isinff multiarch implementation.
40506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40507 file.
40508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40510 multiarch isinf for PPC64.
40511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40512 file.
40513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40514 multiarch isinff for PPC64.
40515
40516 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40517 finitef multiarch implementation.
40518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40519 file.
40520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40522 multiarch finite for PPC64.
40523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40524 file.
40525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40526 multiarch finitef for PPC64.
40527
40528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40529 lrint multiarch implementation.
40530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40531 file.
40532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40534 multiarch llrint for PPC64.
40535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40536 multiarch lrint for PPC64.
40537
40538 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40539 copysignf multiarch implementation.
40540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40541 file.
40542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40543 file.
40544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40545 multiarch copysign for PPC64.
40546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40547 multiarch copysignf for PPC64.
40548
40549 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40550 multiarch implementation.
40551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40552 file.
40553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40554 file.
40555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40556 file.
40557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40558 file.
40559 multiarch llround for PPC64.
40560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40561 multiarch trunc for PPC64.
40562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40563 multiarch truncf for PPC64.
40564
40565 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40566 multiarch implementation.
40567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40568 file.
40569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40570 file.
40571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40572 file.
40573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40574 file.
40575 multiarch llround for PPC64.
40576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40577 multiarch round for PPC64.
40578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40579 multiarch roundf for PPC64.
40580
40581 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40582 multiarch implementation.
40583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40584 file.
40585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40586 file.
40587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40588 file.
40589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40590 file.
40591 multiarch llround for PPC64.
40592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40593 multiarch floor for PPC64.
40594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40595 multiarch floorf for PPC64.
40596
40597 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40598 multiarch implementation.
40599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40600 file.
40601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40602 file.
40603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40604 file.
40605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40606 file.
40607 multiarch llround for PPC64.
40608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40609 multiarch ceil for PPC64.
40610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40611 multiarch ceilf for PPC64.
40612
40613 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40614 multiarch implementation.
40615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40616 file.
40617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40618 file.
40619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40620 file.
40621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40622 multiarch llround for PPC64.
40623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40624 multiarch lround for PPC64.
40625
40626 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40627 multiarch implementation.
40628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40631 file.
40632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40635 multiarch isnan for PPC64.
40636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40637 multiarch isnanf for PPC64.
40638
40639 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40640 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40641 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40642 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40643 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40645
40646 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40647 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40648 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40649 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40650
40651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40652 multiarch implementations.
40653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40654 (__libc_ifunc_impl_list): Likewise.
40655 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40656 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40657 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40658 multiarch stpcpy for PPC64.
40659
40660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40661 multiarch implementations.
40662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40663 (__libc_ifunc_impl_list): Likewise.
40664 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40665 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40666 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40667 multiarch strcpy for PPC64.
40668
40669 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40670 redefine function name.
40671 (_wordcopy_fwd_dest_aligned): Likewise.
40672 (_wordcopy_bwd_aligned): Likewise.
40673 (_wordcopy_bwd_dest_aligned): Likewise.
40674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40675 multiarch implementations.
40676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40677 (__libc_ifunc_impl_list): Likewise.
40678 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40679 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40680 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40681 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40682 multiarch wcscpy for PPC64.
40683
40684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40685 multiarch implementations.
40686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40687 (__libc_ifunc_impl_list): Likewise.
40688 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40689 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40690 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40691 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40692 multiarch wcscpy for PPC64.
40693
40694 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40695 multiarch implementations.
40696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40697 (__libc_ifunc_impl_list): Likewise.
40698 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40699 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40700 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40701 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40702 multiarch wcsrchr for PPC64.
40703
40704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40705 multiarch implementations.
40706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40707 (__libc_ifunc_impl_list): Likewise.
40708 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40709 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40710 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40711 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40712 multiarch wcschr for PPC64.
40713
40714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40715 multiarch implementations.
40716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40717 (__libc_ifunc_impl_list): Likewise.
40718 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40719 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40720 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40721 multiarch strchrnul for PPC64.
40722
40723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40724 implementations.
40725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40726 (__libc_ifunc_impl_list): Likewise.
40727 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40728 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40729 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40730 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40731 strchr for PPC64.
40732
40733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40734 implementations.
40735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40736 (__libc_ifunc_impl_list): Likewise.
40737 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40738 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40739 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40740 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40741 strncmp for PPC64.
40742
40743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40744 multiarch implementations.
40745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40746 (__libc_ifunc_impl_list): Likewise.
40747 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40748 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40749 strncasecmp for PPC64.
40750 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40751 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40752 multiarch strncasecmp_l for PPC64.
40753
40754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40755 multiarch implementations.
40756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40757 (__libc_ifunc_impl_list): Likewise.
40758 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40759 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40760 multiarch strcasecmp for PPC64.
40761 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40762 file.
40763 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40764 multiarch strcasecmp_l for PPC64.
40765
40766 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40767 implementations.
40768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40769 (__libc_ifunc_impl_list): Likewise.
40770 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40771 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40772 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40773 strnlen for PPC64.
40774
40775 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40776 implementations.
40777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40778 (__libc_ifunc_impl_list): Likewise.
40779 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40780 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40781 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40782 strlen for PPC64.
40783
40784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40785 implementations.
40786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40787 (__libc_ifunc_impl_list): Likewise.
40788 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40789 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40790 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40791 rawmemrchr for PPC64.
40792
40793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40794 implementation.
40795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40796 (__libc_ifunc_impl_list): Likewise.
40797 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40798 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40799 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40800 memrchr for PPC64.
40801
40802 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40803 implementation.
40804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40805 (__libc_ifunc_impl_list): Likewise.
40806 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40807 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40808 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40809 memchr for PPC64.
40810
40811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40812 implementation.
40813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40814 (__libc_ifunc_impl_list): Likewise.
40815 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40816 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40817 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40818 mempcpy for PPC64.
40819
40820 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40821 avoid cretion of __bzero symbol.
40822 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40823 Likewise.
40824 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40825 Likewise.
40826 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40827 Likewise.
40828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40829 multiarch implementations.
40830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40831 (__libc_ifunc_impl_list): Likewise.
40832 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40833 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40834 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40835 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40836 bzero for PPC32.
40837 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40838 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40839 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40840 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40841 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40842 memset for PPC64.
40843 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40844
40845 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40847 implementations.
40848 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40849 (__libc_ifunc_impl_list): Likewise.
40850 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40851 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40852 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40853 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40854 memcmp for PPC64.
40855
40856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40857 multiarch for POWER/PPC64.
40858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40859 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40860 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40861 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40862 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40863 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40864 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40865 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40866 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40867 memcpy for PPC64.
40868
40869 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40870 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40871 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40872 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40873 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40874 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40875 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40876 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40877 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40878 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40879 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40880 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40881 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40882 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40883 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40891
40892 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40893
40894 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40895
40896 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
40897
40898 * benchtests/Makefile (bench): Add exp2 and log2.
40899 (LDLIBS-bench-exp2): Add -lm.
40900 (LDLIBS-bench-log2): Likewise.
40901 * benchtests/exp2-inputs: New inputs file.
40902 * benchtests/log2-inputs: New inputs file.
40903 * benchtests/log-inputs: Add new inputs.
40904 * benchtests/tan-inputs: Likewise.
40905
40906 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40907
40908 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40909 definition...
40910 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40911 (csloww2): ... from here.
40912
40913 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40914 instead of structures.
40915 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40916 (POLYNOMIAL): Likewise.
40917 (TAYLOR_SLOW): Likewise.
40918 (__sin): Likewise.
40919 (__cos): Likewise.
40920 (slow1): Likewise.
40921 (slow2): Likewise.
40922 (sloww): Likewise.
40923 (sloww1); Likewise.
40924 (sloww2): Likewise.
40925 (bsloww1): Likewise.
40926 (bsloww2): Likewise.
40927 (cslow2): Likewise.
40928 (csloww): Likewise.
40929 (csloww1): Likewise.
40930 (csloww2): Likewise.
40931
40932 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
40933
40934 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40935 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40936 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40937 * malloc/hooks.c (realloc_check): Likewise.
40938
40939 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40940 * malloc/arena.c: Remove PER_THREAD conditional.
40941 [!PER_THREAD]: Remove code.
40942 (ptmalloc_unlock_all2): Likewise.
40943 (ptmalloc_init): Likewise.
40944 (_int_new_arena): Likewise.
40945 (arena_get2): Likewise.
40946 * malloc/hooks.c (__malloc_get_state): Likewise.
40947 (__malloc_set_state): Likewise.
40948 * malloc/malloc.c: Likewise.
40949 (struct malloc_state): Likewise.
40950 (struct malloc_par): Likewise.
40951 (__libc_realloc): Likewise.
40952 (__libc_mallopt): Likewise.
40953
40954 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40955
40956 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40957
40958 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
40959
40960 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40961 macro to a function. Check for zero perturb_byte.
40962 (_int_malloc, _int_free): Remove zero perturb_byte checks.
40963
40964 * malloc/malloc.c: (force_reg): Remove.
40965 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40966 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40967 force_reg by atomic_forced_read.
40968 * malloc/arena.c (ptmalloc_init): Likewise.
40969 * malloc/hooks.c (top_check): Likewise.
40970
40971 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40972
40973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40974
40975 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
40976
40977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40978
40979 2013-12-08 Joseph Myers <joseph@codesourcery.com>
40980
40981 * math/auto-libm-test-in: Add tests of lgamma.
40982 * math/auto-libm-test-out: Regenerated.
40983 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40984 (M_LOG_2_SQRT_PIl): Likewise.
40985 (lgamma_test_data): Use AUTO_TESTS_f_f1.
40986 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40987 mpfr_f_f1.
40988 (func_calc_desc): Add mpfr_f_f1 union field.
40989 (ARGS1): New macro.
40990 (ARGS2): Likewise.
40991 (ARGS3): Likewise.
40992 (ARGS4): Likewise.
40993 (RET1): Likewise.
40994 (RET2): Likewise.
40995 (CALC): Likewise.
40996 (FUNC): Likewise.
40997 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40998 (test_functions): Add lgamma.
40999 (calc_generic_results): Handle mpfr_f_f1.
41000 * sysdeps/i386/fpu/libm-test-ulps: Update.
41001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41002
41003 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41004
41005 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41006 __mpn_add_n for PowerPC64/POWER7.
41007 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41008 __mpn_sub_n for PowerPC64/POWER7.
41009
41010 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41011 __mpn_addmul_1 for PowerPC64.
41012 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41013 __mpn_submul_1 for PowerPC64.
41014 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
41015 for PowerPC64.
41016 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
41017 for PowerPC64.
41018
41019 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
41020
41021 [BZ #15089]
41022 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
41023
41024 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41025
41026 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
41027
41028 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
41029 add multiarch folders.
41030 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
41031 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
41032 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
41033 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
41034 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
41035 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
41036 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
41037 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
41038 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
41039 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
41040 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
41041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
41042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
41043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
41044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
41045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
41046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
41047
41048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41049 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
41050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
41051 New file.
41052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
41053 New file.
41054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41055 multiarch __ieee754_hypot for PowerPC32.
41056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
41057 New file.
41058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
41059 New file.
41060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
41061 multiarch __ieee754_hypotf for PowerPC32.
41062
41063 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
41064 long_double_symbol only if __logbl is defined.
41065 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
41066 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
41067 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
41068 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
41069 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
41070 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
41071 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
41072 path for implementation.
41073 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
41074 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
41075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
41076 logb, and logbl multiarch implementations for PowerPC32.
41077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
41078 file.
41079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
41080 file.
41081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
41082 multiarch logb for PowerPC32.
41083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41084 file.
41085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
41086 file.
41087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
41088 multiarch logbf for PowerPC32.
41089 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
41090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
41091 file.
41092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
41093 multiarch logbl implementation for PowerPC32.
41094
41095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
41096 and modff multiarch implementations.
41097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
41098 New file.
41099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
41100 New file.
41101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
41102 multiarch modf for PowerPC32.
41103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
41104 New file.
41105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
41106 New file.
41107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
41108 multiarch modff for PowerPC32.
41109
41110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
41111 and lrintf multiarch implementations.
41112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
41113 New file.
41114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
41115 New file.
41116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
41117 multiarch lrint for PowerPC32.
41118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
41119 file: multiarch lrintf for PowerPC32.
41120
41121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
41122 and lroundf multiarch implementations.
41123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
41124 New file.
41125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41126 New file.
41127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41128 New file.
41129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41130 multiarch lround for PowerPC32.
41131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41132 file: multiarch lroundf for PowerPC32.
41133
41134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41135 copysign and copysignf multiarch implementations.
41136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41137 New file.
41138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41139 New file.
41140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41141 file: multiarch copysign for PowerPC32.
41142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41143 file: multiarch copysignf for PowerPC32.
41144
41145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41146 and truncf multiarch implementations.
41147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41148 New file.
41149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41150 file.
41151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41152 multiarch trunc for PowerPC32.
41153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41154 New file.
41155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41156 New file.
41157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41158 multiarch truncf for PowerPC32.
41159
41160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41161 and roundf multiarch implementations.
41162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41163 New file.
41164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41165 file.
41166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41167 multiarch round for PowerPC32.
41168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41169 New file.
41170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41171 New file.
41172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41173 multiarch roundf for PowerPC32.
41174
41175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41176 and floorf multiarch implementations.
41177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41178 New file.
41179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41180 file.
41181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41182 multiarch floor for PowerPC32.
41183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41184 New file.
41185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41186 New file.
41187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41188 multiarch floorf for PowerPC32.
41189
41190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41191 and ceilf multiarch implementations.
41192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41193 New file.
41194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41195 file.
41196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41197 multiarch ceil for PowerPC32.
41198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41199 New file.
41200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41201 file.
41202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41203 multiarch ceilf for PowerPC32.
41204
41205 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41206 is defined.
41207 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41208 FINITEF is defined.
41209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41210 and finitef multiarch implementations.
41211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41212 New file.
41213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41214 file.
41215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41216 multiarch finite for PowerPC32.
41217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41218 New file.
41219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41220 file: multiarch finitef for PowerPC32.
41221
41222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41223 and isinff multiarch implementations.
41224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41225 file.
41226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41227 file.
41228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41229 multiarch isinf for PowerPC32.
41230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41231 New file.
41232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41233 multiarch isinff for PowerPC32.
41234
41235 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41236 alias when __isnan is defined.
41237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41238 and isnanf multiarch implementations.
41239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41240 file.
41241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41242 file.
41243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41244 file.
41245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41246 file.
41247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41248 multiarch isnan for PowerPC32.
41249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41250 New file.
41251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41252 New file.
41253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41254 multiarch isnanf for PowerPC32.
41255
41256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41257 and sqrtf multiarch implementations.
41258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41259 file.
41260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41261 file.
41262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41263 multiarch sqrt for PowerPC32.
41264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41265 file.
41266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41267 file.
41268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41269 multiarch sqrtf for PowerPC32.
41270
41271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41272 and llroundf multiarch implementations.
41273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41274 New file.
41275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41276 New file.
41277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
41278 New file.
41279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
41280 file: multiarch llround for PowerPC32.
41281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
41282 file: multiarch llroundf for PowerPC32.
41283
41284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
41285 multiarch PowerPC32 fpu implementations.
41286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
41287 New file.
41288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
41289 New file.
41290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
41291 multiarch llrint for PowerPC32.
41292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
41293 New file.
41294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
41295 New file.
41296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
41297 file.
41298
41299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
41300
41301 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
41302 file.
41303 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
41304 file.
41305 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
41306 file.
41307 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
41308 multiarch wordcopy for PPC32.
41309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41310 wordcopy objects.
41311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41312 (__libc_ifunc_impl_list): Likewise.
41313 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
41314 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
41315 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
41316 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
41317 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
41318 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
41319
41320 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
41321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
41322 file.
41323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
41324 file.
41325 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
41326 file.
41327 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
41328 multiarch wcscpy for PPC32.
41329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41330 multiarch objects.
41331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41332 (__libc_ifunc_impl_list): Likewise.
41333 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41334 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41335 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
41336 sysdeps/powerpc/power6/wcscpy.c.
41337
41338 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
41339 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
41340 file.
41341 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
41342 file.
41343 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
41344 file.
41345 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
41346 multiarch wcsrchr for PPC32.
41347 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41348 multiarch objects.
41349 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41350 (__libc_ifunc_impl_list): Likewise.
41351 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41352 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41353 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
41354 sysdeps/powerpc/power6/wcsrchr.c.
41355
41356 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
41357 file.
41358 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
41359 file.
41360 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
41361 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
41362 multiarch wcschr for PPc32.
41363 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41364 multiarch objects.
41365 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41366 (__libc_ifunc_impl_list): Likewise.
41367 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
41368 * sysdeps/powerpc/power6/wcschr.c: ... to here.
41369 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
41370 sysdeps/powerpc/power6/wcschr.c.
41371
41372 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41373 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41374 file.
41375 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41376 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41377 file: multiarch strchr for PPC32.
41378 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41379 multiarch objects.
41380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41381 (__libc_ifunc_impl_list): Likewise.
41382
41383 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41384 name.
41385 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41386 file.
41387 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41388 file.
41389 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41390 multiarch strchrnul for PPC32.
41391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41392 multiarch objects.
41393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41394 (__libc_ifunc_impl_list): Likewise.
41395
41396 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41397 file.
41398 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41399 multiarch strncasecmp for PPC32.
41400 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41401 file.
41402 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41403 multiarch strncasecmp_l for PPC32.
41404 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41405 strncasecmp multiarch objects.
41406 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41407 (__libc_ifunc_impl_list): Likewise.
41408
41409 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41410 file.
41411 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41412 multiarch strncasecmp for PPC32.
41413 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41414 New file.
41415 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41416 multiarch strcasecmp_l for PPC32.
41417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41418 multiarch objects.
41419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41420 (__libc_ifunc_impl_list): Likewise.
41421
41422 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41423 file.
41424 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41425 file.
41426 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41427 multiarch strncmp for PPC32.
41428 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41429 multiarch objects.
41430 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41431 (__libc_ifunc_impl_list): Likewise.
41432
41433 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41434 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41435 file.
41436 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41437 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41438 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41439 multiarch objects.
41440 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41441 (__libc_ifunc_impl_list): Likewise.
41442
41443 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41444 file.
41445 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41446 file.
41447 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41449 multiarch objects.
41450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41451 (__libc_ifunc_impl_list): Likewise.
41452
41453 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41454 file.
41455 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41456 file.
41457 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41458 multiarch rawmemchr for PPC32.
41459 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41460 multiarch objects.
41461 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41462 (__libc_ifunc_impl_list): Likewise.
41463
41464 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41465 file.
41466 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41467 file.
41468 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41469 file: memrchr multiarch for PPC32.
41470 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41471 multiarch objects.
41472 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41473 (__libc_ifunc_impl_list): Likewise.
41474
41475 * string/memchr.c (__memchr): Using macro to redefine symbol name.
41476 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41477 file.
41478 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41479 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41480 multiarch memchr for PPC32.
41481 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41482 multiarch objects.
41483 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41484 (__libc_ifunc_impl_list): Likewise.
41485
41486 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41487 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41488 file.
41489 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41490 file.
41491 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41492 file: multiarch mempcpy for PPC32.
41493 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41494 multiarch objects.
41495 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41496 (__libc_ifunc_impl_list): Likewise.
41497
41498 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41499 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41500 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41501 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41502 multiarch bzero for PPC32.
41503 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41504 file.
41505 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41506 file.
41507 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41508 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41509 file: multiarch memset for PPC32.
41510 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41511 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41512 memset multiarch objects.
41513 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41514 (__libc_ifunc_impl_list): Likewise.
41515
41516 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41517 file.
41518 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41519 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41520 memcmp for PPC32.
41521 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41522 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41523 multiarch objects.
41524 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41525 (__libc_ifunc_impl_list): Likewise.
41526
41527 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41528 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41529 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41530 file.
41531 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41532 file.
41533 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41534 file.
41535 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41536 multiarch memcpy for PPC32.
41537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41538 multiarch objects.
41539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41540 (__libc_ifunc_impl_list): Likewise.
41541
41542 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41543 support multiarch for POWER/PPC32.
41544 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41545 Likewise.
41546 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41548 Implies file to make multiarch folder appers before the fpu and
41549 default folder for power4 configuration.
41550
41551 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41552
41553 * scripts/bench.pl: Append volatile keyword to type.
41554
41555 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41556
41557 * sysdeps/sh/sotruss-lib.c: New file.
41558 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41559
41560 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41561
41562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41563
41564 2013-12-05 Joseph Myers <joseph@codesourcery.com>
41565
41566 [BZ #6810]
41567 * math/w_tgamma.c: Include <errno.h>.
41568 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
41569 * math/w_tgammaf.c: Include <errno.h>.
41570 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
41571 * math/w_tgammal.c: Include <errno.h>.
41572 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
41573 * math/auto-libm-test-in: Do not allow missing errno on tgamma
41574 underflow. Add more tgamma tests.
41575 * math/auto-libm-test-out: Regenerated.
41576 * sysdeps/i386/fpu/libm-test-ulps: Update.
41577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41578
41579 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41580 sin, sinh, tan, tanh, tgamma, y0 and y1.
41581 * math/auto-libm-test-out: Regenerated.
41582 * math/libm-test.inc (TEST_COND_x86_64): New macro.
41583 (TEST_COND_x86): Likewise.
41584 (M_E2l): Remove macro.
41585 (M_E3l): Likewise.
41586 (M_2_SQRT_PIl): Likewise.
41587 (M_SQRT_PIl): Likewise.
41588 (M_1_DIV_El): Likewise.
41589 (log_test_data): Use AUTO_TESTS_f_f.
41590 (log10_test_data): Likewise.
41591 (log1p_test_data): Likewise.
41592 (log2_test_data): Likewise.
41593 (sin_test_data): Likewise.
41594 (sin_tonearest_test_data): Likewise.
41595 (sin_towardzero_test_data): Likewise.
41596 (sin_downward_test_data): Likewise.
41597 (sin_upward_test_data): Likewise.
41598 (sinh_test_data): Likewise.
41599 (sinh_tonearest_test_data): Likewise.
41600 (sinh_towardzero_test_data): Likewise.
41601 (sinh_downward_test_data): Likewise.
41602 (sinh_upward_test_data): Likewise.
41603 (tan_test_data): Likewise.
41604 (tan_tonearest_test_data): Likewise.
41605 (tan_towardzero_test_data): Likewise.
41606 (tan_downward_test_data): Likewise.
41607 (tan_upward_test_data): Likewise.
41608 (tanh_test_data): Likewise.
41609 (tgamma_test_data): Likewise.
41610 (y0_test_data): Likewise.
41611 (y1_test_data): Likewise.
41612 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41613 (special_real_inputs): Add pi/4.
41614 * sysdeps/i386/fpu/libm-test-ulps: Update.
41615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41616
41617 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41618
41619 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41620 "longjmp_target" static probes.
41621 (__longjmp): Rename to __longjmp_symbol.
41622 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41623 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41624 on which longjmp to generate.
41625 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41626 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41627 probe.
41628 (__sigsetjmp): Rename to __sigsetjmp_symbol.
41629 (__sigjmp_save): Rename to __sigjmp_save_symbol.
41630 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41631 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41632 and __sigjmp_save_symbol based on which sigsetjmp to generated.
41633 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41635 __longjmp_symbol based on which __longjmp to generate.
41636 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41637 probe.
41638 (setjmp): Rename to setjmp_symbol.
41639 (__sigsetjmp): Rename to __sigsetjmp_symbol.
41640 (_setjmp): Rename to _setjmp_symbol.
41641 (__sigsetjmp): Rename to __sigsetjmp_symbol.
41642 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41643 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41644 which setjmp to generate.
41645 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41646 "longjmp_target" static probes.
41647
41648 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41649
41650 * benchtests/README: Add note about output arguments.
41651 * benchtests/bench-sincos.c: Remove file.
41652 * benchtests/sincos-inputs: New file.
41653 * scripts/bench.pl: Identify output arguments and define
41654 static variables for them.
41655
41656 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41657
41658 [BZ #15941]
41659 * Makefile (INSTALL): Add install-plain.texi as the primary
41660 dependency.
41661 * manual/install-plain.texi: New file.
41662 * manual/install.texi: Include node directive only for
41663 non-plaintext output.
41664
41665 2013-12-04 Joseph Myers <joseph@codesourcery.com>
41666
41667 * stdlib/longlong.h: Update from GCC.
41668
41669 [BZ #6807]
41670 [BZ #15901]
41671 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41672 * math/w_j0f.c (y0f): Likewise.
41673 * math/w_j0l.c (__y0l): Likewise.
41674 * math/w_j1.c (y1): Likewise.
41675 * math/w_j1f.c (y1f): Likewise.
41676 * math/w_j1l.c (__y1l): Likewise.
41677 * math/w_jn.c (yn): Likewise.
41678 * math/w_jnf.c (ynf): Likewise.
41679 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41680 Bessel function pole errors in _POSIX_ mode. Use NAN as return
41681 value for Bessel function domain errors outside _SVID_ mode.
41682 Adjust sign of return value for yn (negative integer, 0).
41683 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41684 by zero in return for negative x and set sign appropriately for
41685 negative n.
41686 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41687 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41688 * math/libm-test.inc (y0_test_data): Add more tests and adjust
41689 expectations in error cases.
41690 (y1_test_data): Likewise.
41691 (yn_test_data): Likewise.
41692 * sysdeps/i386/fpu/libm-test-ulps: Update.
41693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41694
41695 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41696
41697 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41698 "64" to "64-v1". Add "64-v2".
41699 (abi-64-options): Rename to ...
41700 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
41701 (abi-64-condition): Rename to ...
41702 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
41703 (abi-64-ld-soname): Rename to ...
41704 (abi-64-v1-ld-soname): ... this.
41705 (abi-64-v2-options): Define.
41706 (abi-64-v2-condition): Likewise.
41707 (abi-64-v2-ld-soname): Likewise.
41708 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41709 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41713
41714 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41715 Alan Modra <amodra@gmail.com>
41716
41717 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41718 New versions for use with the ELFv2 ABI.
41719 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41720 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41721 declaration.
41722 (struct La_ppc64v2_retval): Likewise.
41723 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41724 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41725 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41726 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41727 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41728 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41729 Do not save or restore CR.
41730 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41731 (_dl_profile_resolve): Do no save or restore CR. Support extended
41732 return values for ELFv2 ABI. Fix location of FPR return registers.
41733 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41734 updated values for _CALL_ELF == 2.
41735 (La_regs, La_retval, int_retval): Likewise.
41736
41737 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41738
41739 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41740 (FRAME_MIN_SIZE_PARM): Likewise.
41741 (FRAME_BACKCHAIN): Likewise.
41742 (FRAME_CR_SAVE): Likewise.
41743 (FRAME_LR_SAVE): Likewise.
41744 (FRAME_TOC_SAVE): Likewise.
41745 (FRAME_PARM_SAVE): Likewise.
41746 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41747 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41748 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41749 (call_mcount_parm_offset): New macro.
41750 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41751 (PROF): Use symbolic stack frame offsets.
41752 (TAIL_CALL_SYSCALL_ERROR): Likewise.
41753 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41754 Redefine in terms of FRAME_MIN_SIZE.
41755 (_dl_runtime_resolve): Use symbolic stack frame offsets.
41756 (_dl_profile_resolve): Likewise. Update comment.
41757 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41758 symbols stack frame offsets.
41759 (__sigsetjmp): Likewise.
41760 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41761 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41762 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41763 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41764
41765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41766 (FRAME_BACKCHAIN): Remove.
41767 (FRAME_CR_SAVE): Likewise.
41768 (FRAME_LR_SAVE): Likewise.
41769 (FRAME_COMPILER_DW): Likewise.
41770 (FRAME_LINKER_DW): Likewise.
41771 (FRAME_TOC_SAVE): Likewise.
41772 (FRAME_PARM_SAVE): Likewise.
41773 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41774 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41775 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41777 (CHECK_SP): Use symbolic stack frame offsets.
41778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41779 zone" instead of caller's parameter save area for temp storage.
41780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41781 Likewise. Also, use symbolic stack frame offsets.
41782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41783 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41784 our own stack frame instead of the caller's.
41785 (__socket): Use symbolic stack frame offsets.
41786
41787 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41788 Alan Modra <amodra@gmail.com>
41789
41790 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41791 Define.
41792 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41793 (PPC64_LOCAL_ENTRY_OFFSET): Define.
41794 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41795 New function.
41796 (elf_machine_fixup_plt): Call it.
41797 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
41798 reloc arguments.
41799 (elf_machine_rela): Update call to elf_machine_plt_conflict.
41800 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41801 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41802 r2 before calling target.
41803
41804 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41805 Alan Modra <amodra@gmail.com>
41806
41807 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41808 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41809 versions of macros to support ELFv2 ABI.
41810 (LOCALENTRY): New macro.
41811 (ENTRY, EALIGN): Use it.
41812 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41813 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41814 fall through into ENTRY entry point.
41815 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41816 Only define if _CALL_ELF != 2.
41817
41818 (elf_machine_matches_host): Verify ABI version matches.
41819 (RTLD_START): Use LOCALENTRY.
41820 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41821 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41822 (PLT_ENTRY_WORDS): New macro.
41823 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41824 (elf_machine_runtime_setup): Support ELFv2 ABI.
41825 (elf_machine_fixup_plt): Likewise.
41826 (elf_machine_plt_conflict): Likewise.
41827 (resolve_ifunc): Likewise.
41828 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41829 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41830 Likewise.
41831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41832 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41834 (makecontext): Support ELFv2 ABI.
41835 * elf/elf.h (EF_PPC64_ABI): Define.
41836
41837 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41838
41839 * sysdeps/powerpc/powerpc64/sysdep.h
41840 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41841 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41842 (ENTRY) [ASSEMBLER]: ... but instead here ...
41843 (EALIGN) [ASSEMBLER]: ... and here.
41844 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41845 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41846 (ENTRY_2) [!ASSEMBLER]: Use it.
41847 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41848 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
41849 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41850 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41851 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41853 Use PPC64_LOAD_FUNCPTR.
41854
41855 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41856
41857 2013-12-04 Alan Modra <amodra@gmail.com>
41858
41859 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41860 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41861 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41862 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41863
41864 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41865 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41866 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41867 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41868 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41869 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41870
41871 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41872
41873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41874 (__makecontext): Fix incorrect CFI when backtracing out of
41875 context created via makecontext.
41876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41877 (__setcontext): Fix incorrect CFI during switch to new context.
41878 (__novec_setcontext): Likewise.
41879
41880 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
41881
41882 [BZ #4772]
41883 * time/strptime_l.c (__strptime_internal): Allow modifiers
41884 in strptime.
41885 * time/tst-strptime.c (day_tests): Add testcase.
41886
41887 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41888
41889 * scripts/bench.pl: Skip over blank lines.
41890
41891 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
41892
41893 [BZ #926]
41894 * manual/time.texi (Calendar Time): Clarify what timezone functions
41895 use.
41896
41897 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41898
41899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41900
41901 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
41902
41903 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41904 implementation.
41905 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41906 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41907 * debug/memset_chk.c (__memset_chk): Likewise.
41908 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41909 * debug/strncpy_chk.c: Likewise.
41910
41911 2013-12-03 Joseph Myers <joseph@codesourcery.com>
41912
41913 [BZ #15268]
41914 [BZ #15425]
41915 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41916 (__ieee754_exp): For possibly underflowing results, check size of
41917 result and force underflow exception if required.
41918 * math/auto-libm-test-in: Add more tests of exp.
41919 * math/auto-libm-test-out: Regenerated.
41920 * sysdeps/i386/fpu/libm-test-ulps: Update.
41921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41922
41923 [BZ #16283]
41924 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41925 * math/w_exp2f.c (__exp2f): Likewise.
41926 * math/w_exp2l.c (__exp2l): Likewise.
41927 * math/auto-libm-test-in: Do not allow missing errno on exp2
41928 underflow.
41929 * math/auto-libm-test-out: Regenerated.
41930
41931 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
41932
41933 [BZ #16274]
41934 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41935 handle filename validation.
41936 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41937 (do_open): Delete.
41938
41939 2013-12-03 Joseph Myers <joseph@codesourcery.com>
41940
41941 [BZ #6786]
41942 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41943 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41944 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41945 <float.h>.
41946 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41947 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41948 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41949 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41950 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41951 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41952 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41953 * math/auto-libm-test-in: Don't allow missing errno from erfc.
41954 Add more erfc tests.
41955 * math/auto-libm-test-out: Regenerated.
41956 * sysdeps/i386/fpu/libm-test-ulps: Update.
41957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41958
41959 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41960 exp2, expm1, j0 and j1.
41961 * math/auto-libm-test-out: Regenerated.
41962 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41963 (erfc_test_data): Likewise.
41964 (exp_test_data): Likewise.
41965 (exp_tonearest_test_data): Likewise.
41966 (exp_towardzero_test_data): Likewise.
41967 (exp_downward_test_data): Likewise.
41968 (exp_upward_test_data): Likewise.
41969 (exp10_test_data): Likewise.
41970 (exp2_test_data): Likewise.
41971 (expm1_test_data): Likewise.
41972 (j0_test_data): Likewise.
41973 (j1_test_data): Likewise.
41974 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41975 (input_flag_type): Add flag_xfail_rounding.
41976 (input_flags): Add xfail-rounding.
41977 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41978 (output_for_one_input_case): Handle flag_xfail_rounding.
41979 * sysdeps/i386/fpu/libm-test-ulps: Update.
41980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41981
41982 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
41983
41984 [BZ #16289]
41985 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41986 division by 0.
41987
41988 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
41989
41990 [BZ #16195]
41991 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41992 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41993 (STAP_PROBE0): New macro.
41994 (STAP_PROBE1): Likewise.
41995 (STAP_PROBE2): Likewise.
41996 (STAP_PROBE3): Likewise.
41997 (STAP_PROBE4): Likewise.
41998
41999 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
42000
42001 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42002
42003 2013-12-02 Steve Ellcey <sellcey@mips.com>
42004
42005 * benchtests/Makefile (bench): Add sqrt.
42006 (LDLIBS-bench-sqrt): New.
42007 * benchtests/sqrt-input: New.
42008
42009 2013-12-02 Pavel Simerda <psimerda@redhat.com>
42010
42011 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42012 (GAIH_EAI): Likewise.
42013 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
42014 (gaih_inet): Likewise.
42015 (getaddrinfo): Don't use GAIH_EAI.
42016
42017 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
42018 (struct gaih): Remove definition.
42019
42020 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42021
42022 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42023 Use HERRNOP directly.
42024
42025 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42026
42027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42028
42029 2013-11-30 Joseph Myers <joseph@codesourcery.com>
42030
42031 * math/gen-auto-libm-tests.c (test_functions): Add more
42032 single-argument functions.
42033 (special_fill_pi_2): New function.
42034 (special_fill_minus_pi_2): Likewise.
42035 (special_fill_pi_6): Likewise.
42036 (special_fill_minus_pi_6): Likewise.
42037 (special_fill_pi_3): Likewise.
42038 (special_fill_2pi_3): Likewise.
42039 (special_fill_e): Likewise.
42040 (special_fill_1_e): Likewise.
42041 (special_fill_e_minus_1): Likewise.
42042 (special_real_inputs): Add more special inputs.
42043 (output_for_one_input_case): Do not require ERANGE on underflow to
42044 zero if round-to-nearest result does not underflow to zero, unless
42045 exact results required.
42046 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
42047 atan, atanh, cbrt, cos and cosh.
42048 * math/auto-libm-test-out: Regenerated.
42049 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
42050 (acos_tonearest_test_data): Likewise.
42051 (acos_towardzero_test_data): Likewise.
42052 (acos_downward_test_data): Likewise.
42053 (acos_upward_test_data): Likewise.
42054 (acosh_test_data): Likewise.
42055 (asin_test_data): Likewise.
42056 (asin_tonearest_test_data): Likewise.
42057 (asin_towardzero_test_data): Likewise.
42058 (asin_upward_test_data): Likewise.
42059 (asinh_test_data): Likewise.
42060 (atan_test_data): Likewise.
42061 (atanh_test_data): Likewise.
42062 (cbrt_test_data): Likewise.
42063 (cos_test_data): Likewise.
42064 (cos_tonearest_test_data): Likewise.
42065 (cos_towardzero_test_data): Likewise.
42066 (cos_downward_test_data): Likewise.
42067 (cos_upward_test_data): Likewise.
42068 (cosh_test_data): Likewise.
42069 (cosh_tonearest_test_data): Likewise.
42070 (cosh_towardzero_test_data): Likewise.
42071 (cosh_downward_test_data): Likewise.
42072 (cosh_upward_test_data): Likewise.
42073 * sysdeps/i386/fpu/libm-test-ulps: Update.
42074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42075
42076 2013-11-29 Joseph Myers <joseph@codesourcery.com>
42077
42078 [BZ #6787]
42079 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
42080 * math/w_exp10f.c (__exp10f): Likewise.
42081 * math/w_exp10l.c (__exp10l): Likewise.
42082 * math/libm-test.inc (exp10_test_data): Add more tests and expect
42083 errno settings in existing tests.
42084
42085 [BZ #14032]
42086 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
42087 precision control set to double precision.
42088 * sysdeps/i386/fpu/w_sqrt.c: New file.
42089 * math/auto-libm-test-in: Add more tests.
42090 * math/auto-libm-test-out: Update.
42091
42092 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
42093 (sqrt_test_tonearest): New function.
42094 (sqrt_towardzero_test_data): New variable.
42095 (sqrt_test_towardzero): New function.
42096 (sqrt_downward_test_data): New variable.
42097 (sqrt_test_downward): New function.
42098 (sqrt_upward_test_data): New variable.
42099 (sqrt_test_upward): New function.
42100 (main): Call the new functions.
42101
42102 * math/gen-auto-libm-tests.c: New file.
42103 * math/auto-libm-test-in: Likewise.
42104 * math/auto-libm-test-out: New generated file.
42105 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
42106 variables.
42107 (%beautify): Add generated representations of zero.
42108 (top level): Set $auto_input and call parse_auto_input.
42109 (beautify): Remove trailing "f" from hex float constants.
42110 (parse_args): Handle XFAIL_TEST.
42111 (convert_condition): New function.
42112 (or_value): Likewise.
42113 (or_cond_value): Likewise.
42114 (generate_testfile): Handle AUTO_TESTS_* lines.
42115 (parse_auto_input): New function.
42116 * math/libm-test.inc (XFAIL_TEST): New macro.
42117 (ERRNO_UNCHANGED): Update value.
42118 (ERRNO_EDOM): Likewise.
42119 (ERRNO_ERANGE): Likewise.
42120 (IGNORE_RESULT): Likewise.
42121 (TEST_COND_flt_32): New macro.
42122 (TEST_COND_dbl_64): Likewise.
42123 (TEST_COND_ldbl_96_intel): Likewise.
42124 (TEST_COND_ldbl_96_m68k): Likewise.
42125 (TEST_COND_ldbl_128): Likewise.
42126 (TEST_COND_ldbl_128ibm): Likewise.
42127 (TEST_COND_long32): Likewise.
42128 (TEST_COND_long64): Likewise.
42129 (TEST_COND_before_rounding): Likewise.
42130 (TEST_COND_after_rounding): Likewise.
42131 (enable_test): Handle XFAIL_TEST flag.
42132 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42133 with finite results.
42134 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42135 auto-libm-test-out.
42136
42137 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42138 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42139
42140 [BZ #16214]
42141 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42142 __tls_get_addr_internal instead of __tls_get_offset in order to
42143 avoid GOT pointer dependency. Make rtld export
42144 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42145 __tls_get_addr since we are a __tls_get_offset platform.
42146 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42147 GOT pointer being set up before.
42148 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42149
42150 2013-11-28 Joseph Myers <joseph@codesourcery.com>
42151
42152 * manual/math.texi (Errors in Math Functions): Document accuracy
42153 goals.
42154
42155 [BZ #15004]
42156 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42157 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42158 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42159 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42160 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42161 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42162 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42163 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42164 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42165 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42166 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42167 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42168 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42169 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42170 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42171 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42172
42173 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42174 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42175 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42176 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42177 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42178 Likewise.
42179 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42180 Likewise.
42181 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42182 Likewise.
42183 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42184 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42185 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42186 atomic-feupdateenv and flt-rounds.
42187 * sysdeps/powerpc/nofpu/Versions (libc): Add
42188 __atomic_feholdexcept, __atomic_feclearexcept,
42189 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42190 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42191 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42192 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42193 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42194 here.
42195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42196 Update.
42197
42198 * manual/arith.texi (FP Exceptions): Document that exceptions may
42199 not be raised when matherr is used.
42200 (Math Error Reporting): Document overflow in directed rounding
42201 modes. Document that errno may not be set when finite values are
42202 returned on overflow. Document intent to set errno on underflow
42203 only for underflow to zero.
42204
42205 [BZ #16271]
42206 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42207 round-to-nearest then adjust result for other rounding modes.
42208 * include/fenv.h (fegetround): Use libm_hidden_proto.
42209 * math/fegetround.c (fegetround): Use libm_hidden_def.
42210 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42211 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42212 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42213 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42214 Likewise.
42215 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42216 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42217 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42218 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42219
42220 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42221
42222 [BZ #16077]
42223 * nss/Versions (libnss_files): Add
42224 _nss_files_gethostbyname3_r.
42225 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42226 New function.
42227 (HOST_DB_LOOKUP): Remove macro.
42228 (_nss_files_gethostbyname_r): Implement function without the
42229 HOST_DB_LOOKUP macro.
42230 (_nss_files_gethostbyname2_r): Likewise.
42231
42232 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
42233
42234 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42235
42236 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
42237
42238 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42239 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42240 warning.
42241
42242 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42243
42244 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42245 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42246 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42247 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42248 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42249 __fe_nomask_env_priv and attribute_hidden.
42250 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42251 (libc_feupdateenv_test_ppc): Likewise.
42252 (libc_feresetround_ppc): Likewise.
42253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42254 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42255 compat_symbol macro.
42256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42257 (__fe_nomask_env): Likewise.
42258 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42259
42260 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
42261
42262 * string/Makefile: Remove ifunc tests.
42263 * string/test-string.h: Define TEST_IFUNC.
42264 * string/test-bcopy-ifunc.c: Remove.
42265 * string/test-bzero-ifunc.c: Likewise.
42266 * string/test-memccpy-ifunc.c: Likewise.
42267 * string/test-memchr-ifunc.c: Likewise.
42268 * string/test-memcmp-ifunc.c: Likewise.
42269 * string/test-memcpy-ifunc.c: Likewise.
42270 * string/test-memmem-ifunc.c: Likewise.
42271 * string/test-memmove-ifunc.c: Likewise.
42272 * string/test-mempcpy-ifunc.c: Likewise.
42273 * string/test-memrchr-ifunc.c: Likewise.
42274 * string/test-memset-ifunc.c: Likewise.
42275 * string/test-rawmemchr-ifunc.c: Likewise.
42276 * string/test-stpcpy-ifunc.c: Likewise.
42277 * string/test-stpncpy-ifunc.c: Likewise.
42278 * string/test-strcasecmp-ifunc.c: Likewise.
42279 * string/test-strcasestr-ifunc.c: Likewise.
42280 * string/test-strcat-ifunc.c: Likewise.
42281 * string/test-strchr-ifunc.c: Likewise.
42282 * string/test-strchrnul-ifunc.c: Likewise.
42283 * string/test-strcmp-ifunc.c: Likewise.
42284 * string/test-strcpy-ifunc.c: Likewise.
42285 * string/test-strcspn-ifunc.c: Likewise.
42286 * string/test-strlen-ifunc.c: Likewise.
42287 * string/test-strncasecmp-ifunc.c: Likewise.
42288 * string/test-strncat-ifunc.c: Likewise.
42289 * string/test-strncmp-ifunc.c: Likewise.
42290 * string/test-strncpy-ifunc.c: Likewise.
42291 * string/test-strnlen-ifunc.c: Likewise.
42292 * string/test-strpbrk-ifunc.c: Likewise.
42293 * string/test-strrchr-ifunc.c: Likewise.
42294 * string/test-strspn-ifunc.c: Likewise.
42295 * string/test-strstr-ifunc.c: Likewise.
42296
42297 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
42298
42299 * benchtests/Makefile: Remove ifunc tests.
42300 * benchtests/bench-string.h: Define TEST_IFUNC.
42301 * benchtests/bench-bcopy-ifunc.c: Remove.
42302 * benchtests/bench-bzero-ifunc.c: Likewise.
42303 * benchtests/bench-memccpy-ifunc.c: Likewise.
42304 * benchtests/bench-memchr-ifunc.c: Likewise.
42305 * benchtests/bench-memcmp-ifunc.c: Likewise.
42306 * benchtests/bench-memcpy-ifunc.c: Likewise.
42307 * benchtests/bench-memmem-ifunc.c: Likewise.
42308 * benchtests/bench-memmove-ifunc.c: Likewise.
42309 * benchtests/bench-mempcpy-ifunc.c: Likewise.
42310 * benchtests/bench-memrchr-ifunc.c: Likewise.
42311 * benchtests/bench-memset-ifunc.c: Likewise.
42312 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
42313 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
42314 * benchtests/bench-stpcpy-ifunc.c: Likewise.
42315 * benchtests/bench-stpncpy-ifunc.c: Likewise.
42316 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
42317 * benchtests/bench-strcasestr-ifunc.c: Likewise.
42318 * benchtests/bench-strcat-ifunc.c: Likewise.
42319 * benchtests/bench-strchr-ifunc.c: Likewise.
42320 * benchtests/bench-strchrnul-ifunc.c: Likewise.
42321 * benchtests/bench-strcmp-ifunc.c: Likewise.
42322 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
42323 * benchtests/bench-strcpy-ifunc.c: Likewise.
42324 * benchtests/bench-strcspn-ifunc.c: Likewise.
42325 * benchtests/bench-strlen-ifunc.c: Likewise.
42326 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
42327 * benchtests/bench-strncat-ifunc.c: Likewise.
42328 * benchtests/bench-strncmp-ifunc.c: Likewise.
42329 * benchtests/bench-strncpy-ifunc.c: Likewise.
42330 * benchtests/bench-strnlen-ifunc.c: Likewise.
42331 * benchtests/bench-strpbrk-ifunc.c: Likewise.
42332 * benchtests/bench-strrchr-ifunc.c: Likewise.
42333 * benchtests/bench-strsep-ifunc.c: Likewise.
42334 * benchtests/bench-strspn-ifunc.c: Likewise.
42335 * benchtests/bench-strstr-ifunc.c: Likewise.
42336
42337 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
42338
42339 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
42340
42341 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
42342
42343 * resolv/netdb.h: Use __glibc_reserved instead __unused.
42344 * rt/aio.h: Likewise.
42345 * sysdeps/gnu/bits/utmp.h: Likewise.
42346 * sysdeps/gnu/bits/utmpx.h: Likewise.
42347 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42348 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
42349 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
42350 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
42351 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
42352 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
42353 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
42354 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
42355 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
42356 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
42357 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
42358 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
42359 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
42360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
42361 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42362 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
42363 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
42364 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
42365 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
42366 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
42367 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
42368 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
42369 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
42370 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42371 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
42372 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42373 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42374 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42375 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42376 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42377 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42378 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42379 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42380 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42381 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42382 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42383 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42384 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42385 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42386 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42387 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42388 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42389
42390 2013-11-25 Carlos O'Donell <carlos@redhat.com>
42391
42392 [BZ #16245]
42393 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42394 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42395
42396 2013-11-25 Joseph Myers <joseph@codesourcery.com>
42397
42398 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42399 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42400 Likewise.
42401
42402 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42403
42404 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42405 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42406 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42407 (__fesetround): Remove define.
42408 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42409 rounding and exceptions handling.
42410 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42411 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42412 (__fe_nomask_env): Likewise.
42413 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42414 __fegetround instead of fegetround.
42415 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42416 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42417
42418 2013-11-21 Roland McGrath <roland@hack.frob.com>
42419
42420 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42421 it's there.
42422
42423 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42424
42425 2013-11-21 Meador Inge <meadori@codesourcery.com>
42426
42427 [BZ #11157]
42428 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42429 (encrypt_r): Likewise.
42430 * malloc/obstack.h (obstack_free): Likewise.
42431 * posix/unistd.h (encrypt): Likewise.
42432
42433 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
42434
42435 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42436 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42437 DL_CALL_DT_FINI() that call the functions directly.
42438 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42439 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42440 * elf/dl-fini.c: Likewise.
42441
42442 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
42443
42444 * malloc/hooks.c (memalign_check): Add alignment rounding.
42445 * malloc/malloc.c (_mid_memalign): New function.
42446 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42447 Implement by calling _mid_memalign.
42448 * manual/probes.texi (Memory Allocation Probes): Remove
42449 memory_valloc_retry and memory_pvalloc_retry.
42450
42451 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
42452
42453 * locale/programs/locarchive.c (open_archive): Add const
42454 qualifier to ARCHIVEFNAME and copy default fname to
42455 DEFAULT_FNAME.
42456
42457 [BZ #15601]
42458 * libio/tst-widetext.input: Rename Oriya to Odia.
42459 * locale/iso-639.def: Likewise.
42460
42461 * manual/probes.texi (Mathematical Function Probes): Add
42462 documentation for sin, cos, asin and acos probes.
42463 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42464 (__sin32): Add slowasin probe.
42465 (__cos32): Add slowacos probe.
42466 (__mpsin): Add slowsin probe.
42467 (__mpcos): Add slowcos probe.
42468
42469 2013-11-19 Joseph Myers <joseph@codesourcery.com>
42470
42471 [BZ #15483]
42472 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42473 thread-local __sim_exceptions_thread and global
42474 __sim_exceptions_global.
42475 (__sim_disabled_exceptions): Change to thread-local
42476 __sim_disabled_exceptions_thread and global
42477 __sim_disabled_exceptions_global.
42478 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42479 and global __sim_round_mode_global.
42480 (__simulate_exceptions): Use thread-local floating-point state and
42481 set global state from it as needed.
42482 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42483 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42484 __sim_round_mode_thread.
42485 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42486 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42487 and global __sim_exceptions_global.
42488 (__sim_disabled_exceptions): Change to thread-local
42489 __sim_disabled_exceptions_thread and global
42490 __sim_disabled_exceptions_global.
42491 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42492 and global __sim_round_mode_global.
42493 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42494 (SIM_SET_GLOBAL): Likewise.
42495 * sysdeps/powerpc/soft-fp/sfp-machine.h
42496 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42497 __sim_round_mode_thread.
42498 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42499 __sim_disabled_exceptions_thread.
42500 (__sim_exceptions): Change to __sim_exceptions_thread.
42501 (__sim_disabled_exceptions): Change to
42502 __sim_disabled_exceptions_thread.
42503 (__sim_round_mode): Change to __sim_round_mode_thread.
42504 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42505 thread-local floating-point state and set global state from it as
42506 needed.
42507 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42508 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42509 (__sim_disabled_exceptions): Remove extern declaration.
42510 (feenableexcept): Use thread-local floating-point state and set
42511 global state from it as needed.
42512 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42513 extern declaration.
42514 (__sim_disabled_exceptions): Likewise.
42515 (__sim_round_mode): Likewise.
42516 (__fegetenv): Use thread-local floating-point state.
42517 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42518 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42519 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42520 floating-point state and set global state from it as needed.
42521 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42522 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42523 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42524 Likewise.
42525 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42526 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42527 Likewise.
42528 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42529 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42530 Use __sim_round_mode_thread.
42531 * math/test-fenv-tls.c: New file.
42532 * math/Makefile (tests): Add test-fenv-tls.
42533 ($(objpfx)test-fenv-tls): Depend on
42534 $(common-objpfx)nptl/libpthread.so.
42535
42536 2013-11-19 Andreas Schwab <schwab@suse.de>
42537
42538 * locale/programs/locale.c (show_info): Decode wordarray elements.
42539 * locale/categories.def (LC_MONETARY): Add element for
42540 _NL_MONETARY_CRNCYSTR.
42541 * locale/C-monetary.c (conversion_rate): New variable.
42542 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42543 element.
42544
42545 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
42546
42547 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42548 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42549
42550 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42551
42552 * elf/Makefile (tst-auxv): New test.
42553 * elf/tst-auxv.c: New
42554 * elf/rtld.c (dl_main): Adjust AT_EXECFN
42555
42556 2013-11-18 Joseph Myers <joseph@codesourcery.com>
42557
42558 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42559 (hidden_proto): Caller changed.
42560 (hidden_tls_proto): New macro.
42561 (libc_hidden_tls_proto): Likewise.
42562 (rtld_hidden_tls_proto): Likewise.
42563 (libm_hidden_tls_proto): Likewise.
42564 (libresolv_hidden_tls_proto): Likewise.
42565 (librt_hidden_tls_proto): Likewise.
42566 (libdl_hidden_tls_proto): Likewise.
42567 (libnss_files_hidden_tls_proto): Likewise.
42568 (libnsl_hidden_tls_proto): Likewise.
42569 (libnss_nisplus_hidden_tls_proto): Likewise.
42570 (libutil_hidden_tls_proto): Likewise.
42571
42572 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
42573
42574 [BZ #10253]
42575 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42576 (decompose_rpath): Defer expansion to fillin_rpath.
42577 (_dl_init_paths): Pass linkmap to fillin_rpath.
42578
42579 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42580
42581 * benchtests/Makefile: Add strsep.
42582 * benchtests/bench-strsep.c: New file: strsep benchtest.
42583 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42584
42585 2013-11-18 Andreas Schwab <schwab@suse.de>
42586
42587 * locale/programs/locale.c (show_info) [case byte]: Check for
42588 '\377' instead of '\177'.
42589 * locale/C-monetary.c (not_available): Always use "\377".
42590 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42591 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
42592 detect unavailable sign_posn locale elements.
42593 * locale/localeconv.c (__localeconv): For grouping and
42594 mon_grouping handle "\177" and "\377" like no grouping.
42595 (INT_ELEM): New macro. Use it to set all numeric members.
42596 * locale/programs/ld-monetary.c (monetary_read)
42597 <tok_mon_grouping>: Normalize single -1 to the empty string.
42598 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42599 Likewise.
42600
42601 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
42602
42603 [BZ #16055]
42604 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42605 when we match (nil).
42606 * stdio-common/tst-sscanf.c (struct test): Add testcase.
42607
42608 2013-11-16 Joseph Myers <joseph@codesourcery.com>
42609
42610 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42611 (NO_TEST_INLINE): Update value.
42612 (ERRNO_UNCHANGED): Likewise.
42613 (ERRNO_EDOM): Likewise.
42614 (ERRNO_ERANGE): Likewise.
42615 (IGNORE_RESULT): Likewise.
42616 (check_float_internal): Check signs of NaN results if
42617 TEST_NAN_SIGN used.
42618 (check_complex): Pass TEST_NAN_SIGN flag through to second
42619 check_float_internal call.
42620 (copysign_test_data): Add tests with quiet NaNs as second
42621 argument. Use TEST_NAN_SIGN.
42622 (fabs_test_data): Add test of negative quiet NaN argument. Use
42623 TEST_NAN_SIGN.
42624 (signbit_test_data): Add tests of quiet NaN argument.
42625 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42626
42627 * math/gen-libm-test.pl (show_exceptions): Take extra argument
42628 $ignore_result.
42629 (parse_args): Handle function results specified as IGNORE.
42630 * math/libm-test.inc (IGNORE_RESULT): New macro.
42631 (check_float_internal): Do not check numerical result if flag
42632 IGNORE_RESULT set.
42633 (check_complex): Pass through IGNORE_RESULT to second
42634 check_float_internal call.
42635 (check_int): Do not check numerical result if flag IGNORE_RESULT
42636 set.
42637 (check_long): Likewise.
42638 (check_bool): Likewise.
42639 (check_longlong): Likewise.
42640 (lrint_test_data): Add tests of infinite and NaN arguments.
42641 (lrint_tonearest_test_data): Likewise.
42642 (lrint_towardzero_test_data): Likewise.
42643 (lrint_downward_test_data): Likewise.
42644 (lrint_upward_test_data): Likewise.
42645 (llrint_test_data): Likewise.
42646 (llrint_tonearest_test_data): Likewise.
42647 (llrint_towardzero_test_data): Likewise.
42648 (llrint_downward_test_data): Likewise.
42649 (llrint_upward_test_data): Likewise.
42650 (lround_test_data): Likewise.
42651 (llround_test_data): Likewise.
42652
42653 * math/libm-test.inc (NO_TEST_INLINE): New macro.
42654 (ERRNO_UNCHANGED): Update value.
42655 (ERRNO_EDOM): Likewise.
42656 (ERRNO_ERANGE): Likewise.
42657 (NO_TEST_INLINE_FLOAT): New macro.
42658 (NO_TEST_INLINE_DOUBLE): Likewise.
42659 (enable_test): New function.
42660 (RUN_TEST_f_f): Check enable_test before running test.
42661 (RUN_TEST_2_f): Likewise.
42662 (RUN_TEST_fff_f): Likewise.
42663 (RUN_TEST_c_f): Likewise.
42664 (RUN_TEST_f_f1): Likewise.
42665 (RUN_TEST_fF_f1): Likewise.
42666 (RUN_TEST_fI_f1): Likewise.
42667 (RUN_TEST_ffI_f1): Likewise.
42668 (RUN_TEST_c_c): Likewise.
42669 (RUN_TEST_cc_c): Likewise.
42670 (RUN_TEST_f_i): Likewise.
42671 (RUN_TEST_f_i_tg): Likewise.
42672 (RUN_TEST_ff_i_tg): Likewise.
42673 (RUN_TEST_f_b): Likewise.
42674 (RUN_TEST_f_b_tg): Likewise.
42675 (RUN_TEST_f_l): Likewise.
42676 (RUN_TEST_f_L): Likewise.
42677 (RUN_TEST_fFF_11): Likewise.
42678 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42679 conditionals.
42680 (cosh_test_data): Likewise.
42681 (exp_test_data): Likewise.
42682 (expm1_test_data): Likewise.
42683 (hypot_test_data): Likewise.
42684 (pow_test_data): Likewise.
42685 (sinh_test_data): Likewise.
42686 (tanh_test_data): Likewise.
42687 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42688 flags argument.
42689
42690 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42691 tests with quiet NaN input and output.
42692 (acosh_test_data): Likewise.
42693 (asin_test_data): Likewise.
42694 (asinh_test_data): Likewise.
42695 (atan_test_data): Likewise.
42696 (atanh_test_data): Likewise.
42697 (atan2_test_data): Likewise.
42698 (cbrt_test_data): Likewise.
42699 (cos_test_data): Likewise.
42700 (cosh_test_data): Likewise.
42701 (erf_test_data): Likewise.
42702 (erfc_test_data): Likewise.
42703 (exp_test_data): Likewise.
42704 (exp10_test_data): Likewise.
42705 (exp2_test_data): Likewise.
42706 (expm1_test_data): Likewise.
42707 (hypot_test_data): Likewise.
42708 (j0_test_data): Likewise.
42709 (j1_test_data): Likewise.
42710 (jn_test_data): Likewise.
42711 (lgamma_test_data): Likewise.
42712 (log_test_data): Likewise.
42713 (log10_test_data): Likewise.
42714 (log1p_test_data): Likewise.
42715 (log2_test_data): Likewise.
42716 (pow_test_data): Likewise.
42717 (scalb_test_data): Likewise.
42718 (sin_test_data): Likewise.
42719 (sincos_test_data): Likewise.
42720 (sinh_test_data): Likewise.
42721 (tan_test_data): Likewise.
42722 (tanh_test_data): Likewise.
42723 (tgamma_test_data): Likewise.
42724 (y0_test_data): Likewise.
42725 (y1_test_data): Likewise.
42726 (yn_test_data): Likewise.
42727
42728 [BZ #16167]
42729 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42730 argument being NaN and avoid computations with second argument in
42731 that case.
42732 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42733 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42734 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42735
42736 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
42737
42738 * locale/iso-639.def: Add Chitwani Tharu (the).
42739
42740 2013-11-14 Andreas Schwab <schwab@suse.de>
42741
42742 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42743 word instead of empty string.
42744
42745 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42746
42747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42748 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42750 (__fe_nomask_env): Likewise.
42751
42752 2013-11-13 Steve Ellcey <sellcey@mips.com>
42753
42754 * benchtests/bench-timing.h: Include time.h.
42755
42756 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
42757
42758 [BZ #15997]
42759 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42760 to 3.4.0 for x32.
42761 * sysdeps/unix/sysv/linux/configure: Regenerated.
42762
42763 2013-11-13 Joseph Myers <joseph@codesourcery.com>
42764
42765 [BZ #16151]
42766 * stdlib/strtod_l.c (round_and_return): Do not consider
42767 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42768 exponent one less than half the least subnormal exponent.
42769 * stdlib/test-strtod-round-data: Add more tests.
42770 * stdlib/tst-strtod-round.c (tests): Regenerated.
42771
42772 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42773
42774 [BZ #14143]
42775 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42776 (__fe_mask_env): Likewise.
42777 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42778 libm_hidden_proto and add function prototype.
42779 (__fe_mask_env): Add function prototype.
42780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42781 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42783 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42785 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42786
42787 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42788
42789 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42790 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42791
42792 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42793
42794 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42795 of htab_find_slot().
42796
42797 2013-11-11 David S. Miller <davem@davemloft.net>
42798
42799 [BZ #16150]
42800 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42801 symbol in the non-vis3 case in static builds.
42802 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42803 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42804 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42805 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42806
42807 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
42808
42809 [BZ #387]
42810 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42811 it is empty.
42812
42813 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42814
42815 * benchtests/Makefile: Add bench-strtod.
42816 * benchtests/bench-strtod.c: New file: strtod benchtest
42817
42818 2013-11-11 Andreas Schwab <schwab@suse.de>
42819
42820 [BZ #16153]
42821 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42822 terminating NUL in key length.
42823
42824 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42825
42826 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42827 Add artificial ODP entry for vDSO symbol for PPC64.
42828 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42829 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42830
42831 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
42832
42833 [BZ #15374]
42834 * nss/getent.c (services_keys): Recognize services starting with digit.
42835
42836 2013-11-06 David S. Miller <davem@davemloft.net>
42837
42838 [BZ #15985]
42839 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42840 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42841
42842 2013-11-06 Will Newton <will.newton@linaro.org>
42843
42844 * manual/memory.texi (Malloc Examples): Remove register
42845 keyword from examples.
42846
42847 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
42848
42849 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42850
42851 2013-11-04 Joseph Myers <joseph@codesourcery.com>
42852
42853 [BZ #6981]
42854 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42855 depending on [__GCC_IEC_559 > 0].
42856 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42857 depending on [__GCC_IEC_559_COMPLEX > 0].
42858
42859 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
42860
42861 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42862 to iso-639.def.
42863
42864 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
42865
42866 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42867
42868 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
42869
42870 [BZ #16112]
42871 * malloc/malloc (malloc_info): Do not handle first bin as
42872 special case.
42873
42874 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
42875
42876 * locale/iso-639.def: Add Central Nahuatl (nhn).
42877
42878 2013-11-01 Bruno Haible <bruno@clisp.org>
42879
42880 [BZ #7003]
42881 * manual/math.texi (BSD Random): Specify range upper bound as
42882 in POSIX.
42883
42884 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
42885
42886 * locale/iso-639.def: Add Meadow Mari (mhr).
42887
42888 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
42889
42890 [BZ #14752], [BZ #15763]
42891 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42892 Validate name.
42893 * rt/tst_shm.c: Add test for escaping directory.
42894
42895 2013-10-31 Andreas Schwab <schwab@suse.de>
42896
42897 [BZ #15917]
42898 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42899 followed by 'x' as part of digit sequence.
42900 * stdio-common/tst-sscanf.c (double_tests2): New tests.
42901
42902 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42903
42904 [BZ #16037]
42905 * configure.ac: allow GNU Make 4.0 and greater.
42906 * configure: Regenerated.
42907
42908 2013-10-30 Will Newton <will.newton@linaro.org>
42909
42910 [BZ #16038]
42911 * malloc/hooks.c (memalign_check): Limit alignment to the
42912 maximum representable power of two.
42913 * malloc/malloc.c (__libc_memalign): Likewise.
42914 * malloc/tst-memalign.c (do_test): Add test for very
42915 large alignment values.
42916 * malloc/tst-posix_memalign.c (do_test): Likewise.
42917
42918 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
42919
42920 [BZ #11087]
42921 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42922 (munmap_chunk): Likewise.
42923 (mremap_chunk): Likewise.
42924
42925 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
42926
42927 [BZ #15799]
42928 * stdlib/div.c (div): Remove obsolete code.
42929 * stdlib/ldiv.c (ldiv): Likewise.
42930 * stdlib/lldiv.c (lldiv): Likewise.
42931
42932 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42933
42934 [BZ #16071]
42935 * nss/nss_files/files-XXX.c (get_contents_ret): New
42936 enumerator.
42937 (get_contents): New function.
42938 (internal_getent): Use it. Expand size of LINEBUFLEN.
42939
42940 2013-10-30 Mike Frysinger <vapier@gentoo.org>
42941
42942 * configure.in: Moved to ...
42943 * configure.ac: ... here. Change reference to configure.in
42944 to configure.ac.
42945 * sysdeps/arm/preconfigure.ac: ... here.
42946 configure.in to configure.ac.
42947 * sysdeps/gnu/configure.in: Moved to ...
42948 * sysdeps/gnu/configure.ac: ... here.
42949 * sysdeps/i386/configure.in: Moved to ...
42950 * sysdeps/i386/configure.ac: ... here.
42951 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42952 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42953 * sysdeps/mach/configure.in: Moved to ...
42954 * sysdeps/mach/configure.ac: ... here.
42955 * sysdeps/mach/hurd/configure.in: Moved to ...
42956 * sysdeps/mach/hurd/configure.ac: ... here.
42957 * sysdeps/powerpc/configure.in: Moved to ...
42958 * sysdeps/powerpc/configure.ac: ... here.
42959 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42960 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42961 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42962 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42963 * sysdeps/s390/s390-32/configure.in: Moved to ...
42964 * sysdeps/s390/s390-32/configure.ac: ... here.
42965 * sysdeps/s390/s390-64/configure.in: Moved to ...
42966 * sysdeps/s390/s390-64/configure.ac: ... here.
42967 * sysdeps/sh/configure.in: Moved to ...
42968 * sysdeps/sh/configure.ac: ... here.
42969 * sysdeps/sparc/configure.in: Moved to ...
42970 * sysdeps/sparc/configure.ac: ... here.
42971 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42972 * sysdeps/unix/sysv/linux/configure.ac: ... here.
42973 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42974 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42975 * sysdeps/x86_64/configure.in: Moved to ...
42976 * sysdeps/x86_64/configure.ac: ... here.
42977 * sysdeps/x86_64/preconfigure.in: Moved to ...
42978 * sysdeps/x86_64/preconfigure.ac: ... here.
42979 * aclocal.m4: Change reference to configure.in to configure.ac.
42980 * config.h.in: Likewise.
42981 * manual/install.texi: Likewise.
42982 * manual/maint.texi: Likewise.
42983 * Makefile: Likewise.
42984 * malloc/Makefile: Likewise.
42985 * nscd/Makefile: Likewise.
42986 * Makeconfig: Change reference to configure.in and
42987 preconfigure.in to configure.ac and preconfigure.ac
42988 respectively.
42989 * INSTALL: Regenerated.
42990 * configure: Likewise.
42991 * sysdeps/gnu/configure: Likewise.
42992 * sysdeps/i386/configure: Likewise.
42993 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42994 * sysdeps/mach/configure: Likewise.
42995 * sysdeps/mach/hurd/configure: Likewise.
42996 * sysdeps/powerpc/configure: Likewise.
42997 * sysdeps/powerpc/powerpc32/configure: Likewise.
42998 * sysdeps/powerpc/powerpc64/configure: Likewise.
42999 * sysdeps/s390/s390-32/configure: Likewise.
43000 * sysdeps/s390/s390-64/configure: Likewise.
43001 * sysdeps/sh/configure: Likewise.
43002 * sysdeps/sparc/configure: Likewise.
43003 * sysdeps/unix/sysv/linux/configure: Likewise.
43004 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43005 * sysdeps/x86_64/configure: Likewise.
43006 * sysdeps/x86_64/preconfigure: Likewise.
43007
43008 2013-10-29 Andreas Schwab <schwab@suse.de>
43009
43010 * stdio-common/Makefile (tst-swscanf-ENV): Define.
43011
43012 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43013
43014 * benchtests/pow-inputs: Add new inputs.
43015
43016 * benchtests/exp-inputs: Add new inputs.
43017
43018 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
43019 conditional check for return value.
43020 (__cos32): Likewise.
43021
43022 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43023
43024 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
43025 to provide a boost for large inputs with word alignment.
43026 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
43027 implementation based on optimized PPC64 strcpy.
43028 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
43029 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
43030 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
43031 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
43032
43033 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
43034
43035 [BZ #2801]
43036 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
43037
43038 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
43039
43040 [BZ #14876]
43041 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
43042 * time/tst-strptime.c (day_tests): Add testcase.
43043
43044 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
43045
43046 [BZ #14029]
43047 * manual/pattern.texi: Acknowledge that fnmatch can fail.
43048
43049 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
43050
43051 [BZ #16074]
43052 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
43053 MAP_FAILED on error.
43054
43055 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43056
43057 [BZ #16072]
43058 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
43059 heap for large requests.
43060
43061 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
43062
43063 [BZ #9954]
43064 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
43065 result if the result has no associated interface.
43066 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
43067 interface for all 127.X.Y.Z addresses.
43068
43069 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
43070
43071 * locale/iso-639.def: Add Ligurian (lij)
43072
43073 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
43074
43075 [BZ #15825]
43076 * sunrpc/rpc_main.c: Document rpcgen -5.
43077
43078 2013-10-19 Michael Stahl <mstahl@redhat.com>
43079
43080 * elf/rtld.c (do_preload): Print the reason why preloading failed.
43081
43082 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
43083
43084 [BZ #10278]
43085 * posix/glob.c: Match only directories when trailing slash is present.
43086 * posix/tst-gnuglob.c (my_opendir): Do not open files.
43087 (main): Add testcase.
43088
43089 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
43090
43091 [BZ #15670]
43092 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
43093
43094 2013-10-18 Carlos O'Donell <carlos@redhat.com>
43095
43096 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43097 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
43098 AUTH_DES and cindex for FIPS 140-2.
43099 (DES Encryption): Add cindex FIPS 46-3.
43100
43101 * locale/locarchive.h (struct locarhandle): Add fname.
43102 * locale/programs/localedef.c (main): Pass ARGV[remaining]
43103 if an optional argument was specified to --list-archive,
43104 otherwise NULL.
43105 * locale/programs/locarchive.c (show_archive_content): Take new
43106 argument fname and pass it via ah.fname to open_archive.
43107 * locale/programs/localedef.h: Update decl.
43108 (open_archive): If AH->fname is non-null, open that file
43109 rather than the default file name, and don't ignore ENOENT.
43110 (create_archive): Set AH.fname to NULL.
43111 (delete_locales_from_archive): Likewise.
43112 (add_locales_to_archive): Likewise.
43113 * locale/programs/locfile.c (write_all_categories): Likewise.
43114
43115 2013-10-18 Joseph Myers <joseph@codesourcery.com>
43116 Aldy Hernandez <aldyh@redhat.com>
43117
43118 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
43119 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
43120 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
43121 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
43122 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
43123 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
43124 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
43125 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43126 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43127 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43128 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43129 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43130 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43131 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43132 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43133 Likewise.
43134 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43135 Likewise.
43136 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43137 Likewise.
43138 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43139 Likewise.
43140 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43141 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43142 Likewise.
43143 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43144 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43145 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43146 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43147 Likewise.
43148 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43149 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43150 * sysdeps/powerpc/preconfigure: Likewise.
43151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43152 Likewise.
43153 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43154 Replace contents of file by #include of <fenv_libc.h>.
43155 * sysdeps/powerpc/soft-fp/sfp-machine.h
43156 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43157 and <sys/prctl.h>.
43158 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43159 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43160 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43161 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43162 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43163 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43165 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43166 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43167 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43168 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43169 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43171 Allow copysignl PLT reference to be missing.
43172
43173 2013-10-18 Richard Sandiford <richard@codesourcery.com>
43174 Joseph Myers <joseph@codesourcery.com
43175
43176 [BZ #15948]
43177 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43178 single character.
43179 (add_to_tablewc): Assert sequence of wide characters is nonempty.
43180
43181 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
43182
43183 * elf/tst-tls-dlinfo.c: Don't include tls.h.
43184 * elf/tst-tls1.c: Likewise.
43185 * elf/tst-tls10.h: Likewise.
43186 * elf/tst-tls14.c: Likewise.
43187 * elf/tst-tls2.c: Likewise.
43188 * elf/tst-tls3.c: Likewise.
43189 * elf/tst-tls4.c: Likewise.
43190 * elf/tst-tls5.c: Likewise.
43191 * elf/tst-tls6.c: Likewise.
43192 * elf/tst-tls7.c: Likewise.
43193 * elf/tst-tls8.c: Likewise.
43194 * elf/tst-tls9.c: Likewise.
43195 * elf/tst-tlsmod1.c: Likewise.
43196 * elf/tst-tlsmod13.c: Likewise.
43197 * elf/tst-tlsmod13a.c: Likewise.
43198 * elf/tst-tlsmod14a.c: Likewise.
43199 * elf/tst-tlsmod16a.c: Likewise.
43200 * elf/tst-tlsmod16b.c: Likewise.
43201 * elf/tst-tlsmod2.c: Likewise.
43202 * elf/tst-tlsmod3.c: Likewise.
43203 * elf/tst-tlsmod4.c: Likewise.
43204 * elf/tst-tlsmod5.c: Likewise.
43205 * elf/tst-tlsmod6.c: Likewise.
43206
43207 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
43208
43209 [BZ #12486]
43210 * malloc/malloc.c: remove checks for statistics.
43211
43212 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
43213
43214 [BZ #15277]
43215 * inet/inet_net.c (inet_network): Detect additional invalid strings.
43216 * inet/tst-network.c: Add testcase.
43217
43218 2013-10-17 Andreas Schwab <schwab@suse.de>
43219
43220 [BZ #15218]
43221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43222 to determine canonical name.
43223
43224 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
43225
43226 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43227 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43228 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43229 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43230 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43231 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43232 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43233 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43234 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43235 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43236 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43237 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43238 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43239 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43240 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43241 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43242 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43243 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43244 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43245 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43246 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43247 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43248 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43249 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43250 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43251 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43252 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43253 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43254 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43255 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43256 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43257 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43258 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43259 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43260 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43261 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43262 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43263 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43264 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43265 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43266 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43267 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43268 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43269 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43270 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43271 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43272 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43273 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43274 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43275 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43276 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43277 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43278 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43279 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43280 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43281 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43282 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43283 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43284
43285 2013-10-17 Joseph Myers <joseph@codesourcery.com>
43286
43287 [BZ #16041]
43288 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
43289 make result into a quiet NaN.
43290
43291 2013-10-16 Joseph Myers <joseph@codesourcery.com>
43292
43293 * soft-fp/adddf3.c: Fix horizontal whitespace.
43294 * soft-fp/addsf3.c: Likewise.
43295 * soft-fp/addtf3.c: Likewise.
43296 * soft-fp/divdf3.c: Likewise.
43297 * soft-fp/divsf3.c: Likewise.
43298 * soft-fp/divtf3.c: Likewise.
43299 * soft-fp/double.h: Likewise.
43300 * soft-fp/eqdf2.c: Likewise.
43301 * soft-fp/eqsf2.c: Likewise.
43302 * soft-fp/eqtf2.c: Likewise.
43303 * soft-fp/extenddftf2.c: Likewise.
43304 * soft-fp/extended.h: Likewise.
43305 * soft-fp/extendsfdf2.c: Likewise.
43306 * soft-fp/extendsftf2.c: Likewise.
43307 * soft-fp/extendxftf2.c: Likewise.
43308 * soft-fp/fixdfdi.c: Likewise.
43309 * soft-fp/fixdfsi.c: Likewise.
43310 * soft-fp/fixdfti.c: Likewise.
43311 * soft-fp/fixsfdi.c: Likewise.
43312 * soft-fp/fixsfsi.c: Likewise.
43313 * soft-fp/fixsfti.c: Likewise.
43314 * soft-fp/fixtfdi.c: Likewise.
43315 * soft-fp/fixtfsi.c: Likewise.
43316 * soft-fp/fixtfti.c: Likewise.
43317 * soft-fp/fixunsdfdi.c: Likewise.
43318 * soft-fp/fixunsdfsi.c: Likewise.
43319 * soft-fp/fixunsdfti.c: Likewise.
43320 * soft-fp/fixunssfdi.c: Likewise.
43321 * soft-fp/fixunssfsi.c: Likewise.
43322 * soft-fp/fixunssfti.c: Likewise.
43323 * soft-fp/fixunstfdi.c: Likewise.
43324 * soft-fp/fixunstfsi.c: Likewise.
43325 * soft-fp/fixunstfti.c: Likewise.
43326 * soft-fp/floatdidf.c: Likewise.
43327 * soft-fp/floatdisf.c: Likewise.
43328 * soft-fp/floatditf.c: Likewise.
43329 * soft-fp/floatsidf.c: Likewise.
43330 * soft-fp/floatsisf.c: Likewise.
43331 * soft-fp/floatsitf.c: Likewise.
43332 * soft-fp/floattidf.c: Likewise.
43333 * soft-fp/floattisf.c: Likewise.
43334 * soft-fp/floattitf.c: Likewise.
43335 * soft-fp/floatundidf.c: Likewise.
43336 * soft-fp/floatundisf.c: Likewise.
43337 * soft-fp/floatunditf.c: Likewise.
43338 * soft-fp/floatunsidf.c: Likewise.
43339 * soft-fp/floatunsisf.c: Likewise.
43340 * soft-fp/floatunsitf.c: Likewise.
43341 * soft-fp/floatuntidf.c: Likewise.
43342 * soft-fp/floatuntisf.c: Likewise.
43343 * soft-fp/floatuntitf.c: Likewise.
43344 * soft-fp/fmadf4.c: Likewise.
43345 * soft-fp/fmasf4.c: Likewise.
43346 * soft-fp/fmatf4.c: Likewise.
43347 * soft-fp/gedf2.c: Likewise.
43348 * soft-fp/gesf2.c: Likewise.
43349 * soft-fp/getf2.c: Likewise.
43350 * soft-fp/ledf2.c: Likewise.
43351 * soft-fp/lesf2.c: Likewise.
43352 * soft-fp/letf2.c: Likewise.
43353 * soft-fp/muldf3.c: Likewise.
43354 * soft-fp/mulsf3.c: Likewise.
43355 * soft-fp/multf3.c: Likewise.
43356 * soft-fp/negdf2.c: Likewise.
43357 * soft-fp/negsf2.c: Likewise.
43358 * soft-fp/negtf2.c: Likewise.
43359 * soft-fp/op-1.h: Likewise.
43360 * soft-fp/op-2.h: Likewise.
43361 * soft-fp/op-4.h: Likewise.
43362 * soft-fp/op-8.h: Likewise.
43363 * soft-fp/op-common.h: Likewise.
43364 * soft-fp/quad.h: Likewise.
43365 * soft-fp/single.h: Likewise.
43366 * soft-fp/soft-fp.h: Likewise.
43367 * soft-fp/sqrtdf2.c: Likewise.
43368 * soft-fp/sqrtsf2.c: Likewise.
43369 * soft-fp/sqrttf2.c: Likewise.
43370 * soft-fp/subdf3.c: Likewise.
43371 * soft-fp/subsf3.c: Likewise.
43372 * soft-fp/subtf3.c: Likewise.
43373 * soft-fp/truncdfsf2.c: Likewise.
43374 * soft-fp/trunctfdf2.c: Likewise.
43375 * soft-fp/trunctfsf2.c: Likewise.
43376 * soft-fp/trunctfxf2.c: Likewise.
43377 * soft-fp/unorddf2.c: Likewise.
43378 * soft-fp/unordsf2.c: Likewise.
43379 * soft-fp/unordtf2.c: Likewise.
43380
43381 2013-10-15 Joseph Myers <joseph@codesourcery.com>
43382
43383 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43384 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43385
43386 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
43387
43388 * elf/dl-libc.c: Clear initfini list after freeing.
43389
43390 2013-10-14 Joseph Myers <joseph@codesourcery.com>
43391
43392 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43393 * soft-fp/addsf3.c: Likewise.
43394 * soft-fp/addtf3.c: Likewise.
43395 * soft-fp/divdf3.c: Likewise.
43396 * soft-fp/divsf3.c: Likewise.
43397 * soft-fp/divtf3.c: Likewise.
43398 * soft-fp/double.h: Likewise.
43399 * soft-fp/eqdf2.c: Likewise.
43400 * soft-fp/eqsf2.c: Likewise.
43401 * soft-fp/eqtf2.c: Likewise.
43402 * soft-fp/extenddftf2.c: Likewise.
43403 * soft-fp/extended.h: Likewise.
43404 * soft-fp/extendsfdf2.c: Likewise.
43405 * soft-fp/extendsftf2.c: Likewise.
43406 * soft-fp/extendxftf2.c: Likewise.
43407 * soft-fp/fixdfdi.c: Likewise.
43408 * soft-fp/fixdfsi.c: Likewise.
43409 * soft-fp/fixdfti.c: Likewise.
43410 * soft-fp/fixsfdi.c: Likewise.
43411 * soft-fp/fixsfsi.c: Likewise.
43412 * soft-fp/fixsfti.c: Likewise.
43413 * soft-fp/fixtfdi.c: Likewise.
43414 * soft-fp/fixtfsi.c: Likewise.
43415 * soft-fp/fixtfti.c: Likewise.
43416 * soft-fp/fixunsdfdi.c: Likewise.
43417 * soft-fp/fixunsdfsi.c: Likewise.
43418 * soft-fp/fixunsdfti.c: Likewise.
43419 * soft-fp/fixunssfdi.c: Likewise.
43420 * soft-fp/fixunssfsi.c: Likewise.
43421 * soft-fp/fixunssfti.c: Likewise.
43422 * soft-fp/fixunstfdi.c: Likewise.
43423 * soft-fp/fixunstfsi.c: Likewise.
43424 * soft-fp/fixunstfti.c: Likewise.
43425 * soft-fp/floatdidf.c: Likewise.
43426 * soft-fp/floatdisf.c: Likewise.
43427 * soft-fp/floatditf.c: Likewise.
43428 * soft-fp/floatsidf.c: Likewise.
43429 * soft-fp/floatsisf.c: Likewise.
43430 * soft-fp/floatsitf.c: Likewise.
43431 * soft-fp/floattidf.c: Likewise.
43432 * soft-fp/floattisf.c: Likewise.
43433 * soft-fp/floattitf.c: Likewise.
43434 * soft-fp/floatundidf.c: Likewise.
43435 * soft-fp/floatundisf.c: Likewise.
43436 * soft-fp/floatunsidf.c: Likewise.
43437 * soft-fp/floatunsisf.c: Likewise.
43438 * soft-fp/floatuntidf.c: Likewise.
43439 * soft-fp/floatuntisf.c: Likewise.
43440 * soft-fp/floatuntitf.c: Likewise.
43441 * soft-fp/fmadf4.c: Likewise.
43442 * soft-fp/fmasf4.c: Likewise.
43443 * soft-fp/fmatf4.c: Likewise.
43444 * soft-fp/gedf2.c: Likewise.
43445 * soft-fp/gesf2.c: Likewise.
43446 * soft-fp/getf2.c: Likewise.
43447 * soft-fp/ledf2.c: Likewise.
43448 * soft-fp/lesf2.c: Likewise.
43449 * soft-fp/letf2.c: Likewise.
43450 * soft-fp/muldf3.c: Likewise.
43451 * soft-fp/mulsf3.c: Likewise.
43452 * soft-fp/multf3.c: Likewise.
43453 * soft-fp/negdf2.c: Likewise.
43454 * soft-fp/negsf2.c: Likewise.
43455 * soft-fp/negtf2.c: Likewise.
43456 * soft-fp/op-1.h: Likewise.
43457 * soft-fp/op-2.h: Likewise.
43458 * soft-fp/op-4.h: Likewise.
43459 * soft-fp/op-8.h: Likewise.
43460 * soft-fp/op-common.h: Likewise.
43461 * soft-fp/quad.h: Likewise.
43462 * soft-fp/single.h: Likewise.
43463 * soft-fp/soft-fp.h: Likewise.
43464 * soft-fp/sqrtdf2.c: Likewise.
43465 * soft-fp/sqrtsf2.c: Likewise.
43466 * soft-fp/sqrttf2.c: Likewise.
43467 * soft-fp/subdf3.c: Likewise.
43468 * soft-fp/subsf3.c: Likewise.
43469 * soft-fp/subtf3.c: Likewise.
43470 * soft-fp/truncdfsf2.c: Likewise.
43471 * soft-fp/trunctfdf2.c: Likewise.
43472 * soft-fp/trunctfsf2.c: Likewise.
43473 * soft-fp/trunctfxf2.c: Likewise.
43474 * soft-fp/unorddf2.c: Likewise.
43475 * soft-fp/unordsf2.c: Likewise.
43476 * soft-fp/unordtf2.c: Likewise.
43477
43478 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
43479
43480 [BZ #15672]
43481 * misc/error.c (error_tail): Fix possible buffer overflow.
43482
43483 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
43484
43485 [BZ #13028]
43486 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43487 address.
43488
43489 2013-10-14 P. J. McDermott <pj@pehjota.net>
43490
43491 [BZ #832]
43492 * elf/ldd.bash.in (try_trace): New function. Delete previous code
43493 testing pipefail option.
43494
43495 2013-10-12 Joseph Myers <joseph@codesourcery.com>
43496
43497 * soft-fp/double.h: Indent preprocessor directives inside #if.
43498 * soft-fp/extended.h: Likewise.
43499 * soft-fp/op-2.h: Likewise.
43500 * soft-fp/op-4.h: Likewise.
43501 * soft-fp/op-common.h: Likewise.
43502 * soft-fp/quad.h: Likewise.
43503 * soft-fp/single.h: Likewise.
43504 * soft-fp/soft-fp.h: Likewise.
43505
43506 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
43507
43508 * iconv/iconv_prog.c: Fix typos.
43509 * stdio-common/psiginfo-data.h: Likewise.
43510
43511 2013-10-12 Reuben Thomas <rrt@sc3d.org>
43512
43513 [BZ #15764]
43514 * locale/setlocale.c: Fix typo.
43515
43516 2013-10-12 Joseph Myers <joseph@codesourcery.com>
43517
43518 [BZ #16036]
43519 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43520 signaling NaN arguments.
43521 * soft-fp/unordsf2.c (__unordsf2): Likewise.
43522 * soft-fp/unordtf2.c (__unordtf2): Likewise.
43523
43524 [BZ #14910]
43525 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43526 unordered operands.
43527 * soft-fp/gesf2.c (__gesf2): Likewise.
43528 * soft-fp/getf2.c (__getf2): Likewise.
43529 * soft-fp/ledf2.c (__ledf2): Likewise.
43530 * soft-fp/lesf2.c (__lesf2): Likewise.
43531 * soft-fp/letf2.c (__letf2): Likewise.
43532
43533 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43534 * soft-fp/eqsf2.c (__eqsf2): Likewise.
43535 * soft-fp/eqtf2.c (__eqtf2): Likewise.
43536 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43537 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43538 * soft-fp/fixdfti.c (__fixdfti): Likewise.
43539 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43540 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43541 * soft-fp/fixsfti.c (__fixsfti): Likewise.
43542 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43543 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43544 * soft-fp/fixtfti.c (__fixtfti): Likewise.
43545 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43546 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43547 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43548 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43549 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43550 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43551 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43552 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43553 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43554 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43555 * soft-fp/floatdisf.c (__floatdisf): Likewise.
43556 * soft-fp/floatsisf.c (__floatsisf): Likewise.
43557 * soft-fp/floattidf.c (__floattidf): Likewise.
43558 * soft-fp/floattisf.c (__floattisf): Likewise.
43559 * soft-fp/floattitf.c (__floattitf): Likewise.
43560 * soft-fp/floatundidf.c (__floatundidf): Likewise.
43561 * soft-fp/floatundisf.c (__floatundisf): Likewise.
43562 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43563 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43564 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43565 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43566 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43567 * soft-fp/gesf2.c (__gesf2): Likewise.
43568 * soft-fp/getf2.c (__getf2): Likewise.
43569 * soft-fp/ledf2.c (__ledf2): Likewise.
43570 * soft-fp/lesf2.c (__lesf2): Likewise.
43571 * soft-fp/letf2.c (__letf2): Likewise.
43572
43573 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43574 Undefine and redefine.
43575 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43576 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43577 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43578 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43579 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43580 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43581 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43582 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43583 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43584 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43585 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43586 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43587 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43588 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43589 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43590
43591 [BZ #16032]
43592 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43593 without decrementing exponent if mantissa >= that for the
43594 denominator, not >.
43595 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43596 denominator, not >. Decrement exponent in < case instead of
43597 incrementing in >= case.
43598 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43599 without decrementing exponent if mantissa >= that for the
43600 denominator, not >.
43601
43602 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43603 computing saturated result for unsigned overflow.
43604
43605 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43606 Jeff Law <law@redhat.com>
43607
43608 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43609 (atan2Mp): Add systemtap probe marker.
43610 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43611 (__ieee754_log): Add systemtap probe marker.
43612 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43613 (atanMp): Add systemtap probe marker.
43614 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43615 (tanMp): Add systemtap probe marker.
43616 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43617 (__slowexp): Add systemtap probe marker.
43618 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43619 (__slowpow): Add systemtap probe marker.
43620 * manual/probes.texi: Document probes.
43621
43622 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
43623
43624 [BZ #15362]
43625 * libio/fileops.c (_IO_new_file_write): Return count of bytes
43626 written.
43627 (_IO_new_file_xsputn): Don't return EOF if nothing has been
43628 written.
43629 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43630 written to buffer but not flushed.
43631 * libio/iofwrite_u.c: Likewise.
43632 * libio/iopadn.c: Return bytes returned even if EOF was
43633 encountered.
43634 * libio/iowpadn.c: Likewise.
43635 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43636 if _IO_padn does not write the whole buffer.
43637 [!COMPILE_WPRINTF] (PAD): Likewise.
43638
43639 2013-10-10 David S. Miller <davem@davemloft.net>
43640
43641 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43642 directory block.
43643
43644 2013-10-10 Joseph Myers <joseph@codesourcery.com>
43645
43646 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
43647 instead of FSF address.
43648 * soft-fp/fixdfti.c: Likewise.
43649 * soft-fp/fixsfti.c: Likewise.
43650 * soft-fp/fixtfti.c: Likewise.
43651 * soft-fp/fixunsdfti.c: Likewise.
43652 * soft-fp/fixunssfti.c: Likewise.
43653 * soft-fp/fixunstfti.c: Likewise.
43654 * soft-fp/floattidf.c: Likewise.
43655 * soft-fp/floattisf.c: Likewise.
43656 * soft-fp/floattitf.c: Likewise.
43657 * soft-fp/floatuntidf.c: Likewise.
43658 * soft-fp/floatuntisf.c: Likewise.
43659 * soft-fp/floatuntitf.c: Likewise.
43660 * soft-fp/trunctfxf2.c: Likewise.
43661
43662 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
43663 * soft-fp/fixdfti.c: Likewise.
43664 * soft-fp/fixsfti.c: Likewise.
43665 * soft-fp/fixtfti.c: Likewise.
43666 * soft-fp/fixunsdfti.c: Likewise.
43667 * soft-fp/fixunssfti.c: Likewise.
43668 * soft-fp/fixunstfti.c: Likewise.
43669 * soft-fp/floattidf.c: Likewise.
43670 * soft-fp/floattisf.c: Likewise.
43671 * soft-fp/floattitf.c: Likewise.
43672 * soft-fp/floatuntidf.c: Likewise.
43673 * soft-fp/floatuntisf.c: Likewise.
43674 * soft-fp/floatuntitf.c: Likewise.
43675 * soft-fp/trunctfxf2.c: Likewise.
43676
43677 2013-10-10 David S. Miller <davem@davemloft.net>
43678
43679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43680
43681 2013-10-10 Joseph Myers <joseph@codsourcery.com>
43682
43683 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43684 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43685 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43686 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43687 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43688 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43689 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43690
43691 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43692 for NaNs before doing comparisons on argument.
43693 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43694 Likewise.
43695
43696 2013-10-10 Will Newton <will.newton@linaro.org>
43697
43698 * malloc/hooks.c (memalign_check): Ensure the value of bytes
43699 passed to _int_memalign does not overflow.
43700
43701 2013-10-10 Torvald Riegel <triegel@redhat.com>
43702
43703 * scripts/bench.pl: Add include-sources directive.
43704 * benchtests/README: Update documentation.
43705
43706 2013-10-10 Joseph Myers <joseph@codesourcery.com>
43707
43708 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43709 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43710 instead of FP_INIT_ROUNDMODE.
43711 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43712 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43713
43714 [BZ #16034]
43715 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
43716 copy class of input value.
43717 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
43718 not handle exceptions.
43719 * soft-fp/negsf2.c (__negsf2): Likewise.
43720 * soft-fp/negtf2.c (__negtf2): Likewise.
43721 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43722
43723 2013-10-09 Joseph Myers <joseph@codesourcery.com>
43724
43725 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43726 semicolon. From Linux kernel.
43727
43728 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
43729
43730 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43731
43732 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
43733
43734 [BZ #156]
43735 * manual/socket.texi: Added statement about buffer
43736 for gethostbyname2_r.
43737
43738 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
43739
43740 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43741 Use .p2align directive instead, throughout.
43742 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43743 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43744 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43745 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43746 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43747 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43748 * sysdeps/x86_64/strchr.S: Likewise.
43749 * sysdeps/x86_64/strrchr.S: Likewise.
43750
43751 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
43752
43753 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43754
43755 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43756
43757 * sysdeps/generic/math_private.h (__mpsin1): Remove
43758 declaration.
43759 (__mpcos1): Likewise.
43760 (__mpsin): New argument __range_reduce.
43761 (__mpcos): Likewise.
43762 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43763 (slow): Use __mpsin and __mpcos.
43764 (slow1): Likewise.
43765 (slow2): Likewise.
43766 (sloww): Likewise.
43767 (sloww1): Likewise.
43768 (sloww2): Likewise.
43769 (bsloww): Likewise.
43770 (bsloww1): Likewise.
43771 (bsloww2): Likewise.
43772 (cslow2): Likewise.
43773 (csloww): Likewise.
43774 (csloww1): Likewise.
43775 (csloww2): Likewise.
43776 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43777 range_reduce. Merge in __mpsin1.
43778 (__mpcos): Likewise.
43779 (__mpsin1): Remove.
43780 (__mpcos1): Likewise.
43781
43782 2013-10-07 Joseph Myers <joseph@codesourcery.com>
43783
43784 * locale/loadlocale.c (_nl_intern_locale_data): Use
43785 LOCFILE_ALIGNED_P.
43786 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43787 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43788 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43789 obstack data is appropriately aligned.
43790 (obstack_int32_grow_fast): Likewise.
43791 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43792 * locale/programs/locfile.c (add_locale_uint32): Likewise.
43793 (add_locale_uint32_array): Likewise.
43794
43795 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
43796
43797 * benchtests/Makefile: Remove ARGLIST and RET variables.
43798 ($(objpfx)bench-%.c): Pass only function name to the script.
43799 * benchtests/README: Update documentation.
43800 * benchtests/acos-inputs: Add new directives.
43801 * benchtests/acosh-inputs: Likewise.
43802 * benchtests/asin-inputs: Likewise.
43803 * benchtests/asinh-inputs: Likewise.
43804 * benchtests/atan-inputs: Likewise.
43805 * benchtests/atanh-inputs: Likewise.
43806 * benchtests/cos-inputs: Likewise.
43807 * benchtests/cosh-inputs: Likewise.
43808 * benchtests/exp-inputs: Likewise.
43809 * benchtests/log-inputs: Likewise.
43810 * benchtests/pow-inputs: Likewise.
43811 * benchtests/rint-inputs: Likewise.
43812 * benchtests/sin-inputs: Likewise.
43813 * benchtests/sinh-inputs: Likewise.
43814 * benchtests/tan-inputs: Likewise.
43815 * benchtests/tanh-inputs: Likewise.
43816 * scripts/bench.pl: Add support for new directives.
43817
43818 2013-10-07 Alan Modra <amodra@gmail.com>
43819
43820 * README: Fix careless merge.
43821
43822 2013-10-05 Alan Modra <amodra@gmail.com>
43823
43824 * NEWS: Mention powerpc64le support and bugs fixed.
43825 * README: Both big-endian and little-endian powerpc64 supported.
43826
43827 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43828
43829 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43830 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43831 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43832 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43833
43834 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
43835
43836 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43837 match prototype.
43838
43839 2013-10-04 Joseph Myers <joseph@codesourcery.com>
43840
43841 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43842 Move -mhard-float appending from
43843 ports/sysdeps/powerpc/powerpc32/Makefile.
43844 [$(with-fp) = yes] (ASFLAGS): Likewise.
43845 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43846 * sysdeps/powerpc/nofpu: Move directory from
43847 ports/sysdeps/powerpc/nofpu.
43848 * sysdeps/powerpc/soft-fp: Move directory from
43849 ports/sysdeps/powerpc/soft-fp.
43850 * sysdeps/powerpc/powerpc32/405: Move directory from
43851 ports/sysdeps/powerpc/powerpc32/405.
43852 * sysdeps/powerpc/powerpc32/440: Move directory from
43853 ports/sysdeps/powerpc/powerpc32/440.
43854 * sysdeps/powerpc/powerpc32/464: Move directory from
43855 ports/sysdeps/powerpc/powerpc32/464.
43856 * sysdeps/powerpc/powerpc32/476: Move directory from
43857 ports/sysdeps/powerpc/powerpc32/476.
43858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43859 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43861 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43863 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43865 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43867 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43868 * README: Update for powerpc-*-linux-gnu software floating point
43869 support in libc.
43870
43871 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43872 case to powerpc/powerpc32*.
43873 * sysdeps/unix/sysv/linux/configure: Regenerated.
43874
43875 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43876 (_FPU_MASK_OM): Define as 0x04.
43877 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43878 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43879 0x00c10080.
43880 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43881 0x0000003c.
43882 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43883
43884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43885 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43886 getcontext_e500.
43887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43888 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43889 setcontext_e500.
43890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43891 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43892 and setcontext_e500.
43893
43894 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
43895
43896 * locale/iso-3166.def: Update iso-1366.def and related occurrences
43897
43898 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43899
43900 * manual/threads.texi (Default Thread Attributes): Fix typo.
43901
43902 2013-10-04 Will Newton <will.newton@linaro.org>
43903
43904 * malloc/Makefile: Add tst-memalign.
43905 * malloc/tst-memalign.c: New file.
43906
43907 * malloc/tst-posix_memalign.c: Add comments.
43908 (do_test): Add comments and call free on all potentially
43909 allocated pointers. Add space after cast.
43910
43911 * malloc/tst-pvalloc.c: Add comments.
43912 (do_test): Add comments and call free on all potentially
43913 allocated pointers. Remove duplicate check for NULL pointer.
43914 Add space after cast.
43915
43916 * malloc/tst-valloc.c: Add comments.
43917 (do_test): Add comments and call free on all potentially
43918 allocated pointers. Remove duplicate check for NULL pointer.
43919 Add space after cast.
43920
43921 2013-10-04 Alan Modra <amodra@gmail.com>
43922
43923 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43924 Use stdint types in rather than __attribute__((mode())).
43925 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43926
43927 2013-10-04 Alan Modra <amodra@gmail.com>
43928
43929 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43930 Correct handling of unaligned relocs for little-endian.
43931 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43932
43933 2013-10-04 Alan Modra <amodra@gmail.com>
43934
43935 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43936 * configure: Regenerate.
43937 * nptl/shlib-versions: Powerpc*le starts at 2.18.
43938 * shlib-versions: Likewise.
43939
43940 2013-10-04 Alan Modra <amodra@gmail.com>
43941
43942 * string/tester.c (test_memrchr): Increment reported test cycle.
43943
43944 2013-10-04 Alan Modra <amodra@gmail.com>
43945
43946 * string/test-memcpy.c (do_one_test): When reporting errors, print
43947 string address and don't overrun end of string.
43948
43949 2013-10-04 Alan Modra <amodra@gmail.com>
43950
43951 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43952 insrdi. Make better use of reg selection to speed exit slightly.
43953 Schedule entry path a little better. Remove useless "are we done"
43954 checks on entry to main loop. Handle wrapping around zero address.
43955 Correct main loop count. Handle single left-over word from main
43956 loop inline rather than by using loop_small. Remove extra word
43957 case in loop_small caused by wrong loop count. Add little-endian
43958 support.
43959 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43960 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
43961 cache hint.
43962 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43963 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43964 support. Avoid rlwimi.
43965 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43966
43967 2013-10-04 Alan Modra <amodra@gmail.com>
43968
43969 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43970 insrdi. Formatting.
43971 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43972 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43973 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43974 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43975 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43976 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43977
43978 2013-10-04 Alan Modra <amodra@gmail.com>
43979
43980 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43981 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43982 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43983 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43984 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43985 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43986 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43987 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43988 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
43989 use of regs. Use power7 mtocrf. Tidy function tails.
43990
43991 2013-10-04 Alan Modra <amodra@gmail.com>
43992
43993 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43994 Formatting. Consistently use rXXX register defines or rN defines.
43995 Use early exit labels that avoid restoring unused non-volatile regs.
43996 Make cr field use more consistent with rWORDn compares. Rename
43997 regs used as shift registers for unaligned loop, using rN defines
43998 for short lifetime/multiple use regs.
43999 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44000 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
44001 addi 1,1,64 to pop stack frame. Simplify return value code.
44002 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44003
44004 2013-10-04 Alan Modra <amodra@gmail.com>
44005
44006 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44007 support. Correct typos, formatting. Optimize tail. Use insrdi
44008 rather than rlwimi.
44009 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44010 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44011 little-endian support. Correct typos.
44012 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
44013 rather than rlwimi.
44014 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
44015 in loop and entry code to keep "and." results.
44016 (strchr): Add little-endian support. Comment. Move cntlzd
44017 earlier in tail.
44018 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
44019
44020 2013-10-04 Alan Modra <amodra@gmail.com>
44021
44022 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
44023 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
44024 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
44025 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
44026
44027 2013-10-04 Alan Modra <amodra@gmail.com>
44028
44029 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
44030 (rTMP): Define as r11.
44031 (strcmp): Add little-endian support. Optimise tail.
44032 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
44033 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44034 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44035 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44036 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44037 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44038 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44039
44040 2013-10-04 Alan Modra <amodra@gmail.com>
44041
44042 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
44043 little-endian support. Remove unnecessary "are we done" tests.
44044 Handle "s" wrapping around zero and extremely large "size".
44045 Correct main loop count. Handle single left-over word from main
44046 loop inline rather than by using small_loop. Correct comments.
44047 Delete "zero" tail, use "end_max" instead.
44048 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
44049
44050 2013-10-04 Alan Modra <amodra@gmail.com>
44051
44052 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
44053 support. Don't branch over align.
44054 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
44055 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
44056 support. Rearrange tmp reg use to suit. Comment.
44057 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
44058
44059 2013-10-04 Alan Modra <amodra@gmail.com>
44060
44061 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
44062
44063 2013-10-04 Alan Modra <amodra@gmail.com>
44064
44065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
44066 conditional form of branch and link when obtaining pc.
44067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44068
44069 2013-10-04 Alan Modra <amodra@gmail.com>
44070
44071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
44072 HIWORD/LOWORD.
44073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
44074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
44075
44076 2013-10-04 Alan Modra <amodra@gmail.com>
44077
44078 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
44079 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
44080 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
44081 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
44082 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44083 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44084 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
44085 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44086 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
44087 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
44088
44089 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
44090 Alistair Popple <alistair@ozlabs.au.ibm.com>
44091 Alan Modra <amodra@gmail.com>
44092
44093 [BZ #15723]
44094 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
44095 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
44096 _dl_hwcap access for little-endian.
44097 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
44098 destroy vmx regs when saving unaligned.
44099 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
44100 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
44101 destroy vmx regs when saving unaligned.
44102
44103 2013-10-04 Alan Modra <amodra@gmail.com>
44104
44105 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
44106 Don't use a union to pack hi/low value.
44107
44108 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
44109
44110 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
44111 for little-endian.
44112 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44113 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
44114 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44115 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44116 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44117
44118 2013-10-04 Alan Modra <amodra@gmail.com>
44119
44120 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
44121 constants to usual value for .cst8 section, and remove redundant
44122 high address load.
44123 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
44124 constant for 0x1p52. Load little-endian words of double from
44125 correct stack offsets.
44126
44127 2013-10-04 Alan Modra <amodra@gmail.com>
44128
44129 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44130 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44131 words of double from correct stack offsets.
44132 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44133 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44134 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44135 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44136 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44137 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44138 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44139 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44140 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44141 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44142 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44143 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44144 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44145 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44146 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44147 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44148 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44149
44150 2013-10-04 Alan Modra <amodra@gmail.com>
44151
44152 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44153 64-bit int/double union.
44154 (_FPU_SETCW): Likewise.
44155 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44156 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44157
44158 2013-10-04 Alan Modra <amodra@gmail.com>
44159
44160 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44161 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44162
44163 2013-10-04 Alan Modra <amodra@gmail.com>
44164
44165 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44166 use vector int constants.
44167 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44168
44169 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
44170
44171 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44172 array with long long.
44173 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44174 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44175 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44176 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44177 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44178 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44179 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44180 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44181 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44182 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44183 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44184 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44185 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44186
44187 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
44188
44189 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44190 (__signbit): Likewise. Correct for little-endian.
44191 (__signbitl): Call __signbit.
44192 (lrint): Correct for little-endian.
44193 (lrintf): Call lrint.
44194
44195 2013-10-04 Alan Modra <amodra@gmail.com>
44196
44197 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44198 union 32-bit int array member with 64-bit int array.
44199 (t515, tm256): Double rather than long double.
44200 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44201
44202 2013-10-04 Alan Modra <amodra@gmail.com>
44203
44204 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44205 Delete.
44206 (IEEE854_LONG_DOUBLE_BIAS): Delete.
44207 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44208 version of math_ldbl.h.
44209
44210 2013-10-04 Alan Modra <amodra@gmail.com>
44211
44212 [BZ #15734], [BZ #15735]
44213 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44214 all uses of ieee875 long double macros and unions. Simplify test
44215 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
44216 ldbl_extract_mantissa value for ix,iy exponents. Properly
44217 normalize after ldbl_extract_mantissa, and don't add hidden bit
44218 already handled. Don't treat low word of ieee854 mantissa like
44219 low word of IBM long double and mask off bit when testing for
44220 zero.
44221 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44222 all uses of ieee875 long double macros and unions. Simplify tests
44223 for 0.0L and inf. Correct double adjustment of k. Delete dead code
44224 adjusting ha,hb. Simplify code setting kld. Delete two600 and
44225 two1022, instead use their values. Recognise that tests for large
44226 "a" and small "b" are mutually exclusive. Rename vars. Comment.
44227 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44228 Rewrite all uses of ieee875 long double macros and unions. Simplify
44229 test for 0.0L and nan. Correct negation.
44230 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44231 ieee875 long double macros and unions. Correct output for large
44232 magnitude x. Correct absolute value calculation.
44233 (__erfcl): Likewise.
44234 * math/libm-test.inc: Add tests for errors discovered in IBM long
44235 double versions of fmodl, remainderl, erfl and erfcl.
44236
44237 2013-10-04 Alan Modra <amodra@gmail.com>
44238
44239 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44240 all uses of ieee854 long double macros and unions. Simplify tests
44241 for long doubles that are fully specified by the high double.
44242 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44243 Likewise.
44244 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44245 Remove dead code too.
44246 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44247 (__ieee754_ynl): Likewise.
44248 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44249 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44251 Remove dead code too.
44252 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44253 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44254 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44255 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44256 Simplify.
44257 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44258 Simplify.
44259 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44260 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44261 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44262 Comment on variable precision.
44263 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44264 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44265 Likewise.
44266 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44267 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44268 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44269 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44270 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44271
44272 2013-10-04 Alan Modra <amodra@gmail.com>
44273
44274 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44275 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44276 all uses of ieee854 long double macros and unions.
44277 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
44278 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44279 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44280 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
44281 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
44282 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44283 Likewise.
44284 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
44285 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44286 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
44287 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44288 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
44289 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
44290 Simplify sign and nan test too.
44291 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
44292 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
44293 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
44294 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
44295 Likewise.
44296 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44297 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
44298 Likewise.
44299 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44300 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
44301 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
44302 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
44303 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
44304 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
44305
44306 2013-10-04 Alan Modra <amodra@gmail.com>
44307
44308 * stdio-common/printf_size.c (__printf_size): Don't use
44309 union ieee854_long_double in fpnum union.
44310 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
44311 signbit macro to retrieve sign from long double.
44312 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
44313 retrieve sign from long double.
44314 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
44315 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
44316 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
44317 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44318 * math/test-misc.c (main): Don't use union ieee854_long_double.
44319
44320 2013-10-04 Alan Modra <amodra@gmail.com>
44321
44322 [BZ #15680]
44323 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
44324 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
44325 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
44326 calculation. Remove unnecessary test for denormal exponent.
44327 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
44328 Correct handling of denormals. Avoid undefined shift behaviour.
44329 Correct normalisation of low mantissa when low double is denormal.
44330 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
44331 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
44332 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
44333 Correct normalisation of low mantissa. Test for overflow of high
44334 mantissa and normalise.
44335 (ldbl_nearbyint): Use more readable constant for two52.
44336 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
44337 (__mpn_construct_long_double): Fix test for overflow of high
44338 mantissa and correct normalisation. Avoid undefined shift.
44339
44340 2013-10-04 Alan Modra <amodra@gmail.com>
44341
44342 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44343 (union ibm_extended_long_double): Define as an array of ieee754_double.
44344 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
44345 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
44346 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
44347 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44348 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44349 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
44350 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44351 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44352 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44353 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
44354 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44355
44356 2013-10-03 Joseph Myers <joseph@codesourcery.com>
44357
44358 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
44359 page size instead of calling getpagesize.
44360
44361 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
44362 (LOCFILE_ALIGN_MASK): Likewise.
44363 (LOCFILE_ALIGN_UP): Likewise.
44364 (LOCFILE_ALIGNED_P): Likewise.
44365 * locale/programs/ld-collate.c (collate_output): Use the new
44366 macros instead of __alignof__ (int32_t).
44367 * locale/weight.h (findidx): Likewise.
44368
44369 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
44370
44371 [BZ #431]
44372 * manual/string.texi: Fix strncat and wcsncat.
44373
44374 2013-10-03 Brooks Moses <bmoses@google.com>
44375
44376 [BZ #15915]
44377 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44378 * Makerules: ...here, and adjust associated comments.
44379
44380 2013-10-02 Will Newton <will.newton@linaro.org>
44381
44382 * malloc/Makefile: Add tst-pvalloc.
44383 * malloc/tst-pvalloc.c: New file.
44384
44385 2013-10-02 Will Newton <will.newton@linaro.org>
44386
44387 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44388 improve test coverage.
44389
44390 2013-10-02 Will Newton <will.newton@linaro.org>
44391
44392 * malloc/Makefile: Add tst-posix_memalign.
44393 * malloc/tst-posix_memalign.c: New file.
44394
44395 2013-10-01 Eric Blake <eblake@redhat.com>
44396
44397 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44398 Use __THROWNL rather than __THROW on static functions.
44399
44400 2013-09-30 Petr Machata <pmachata@redhat.com>
44401
44402 * elf/elf.h (R_AARCH64_ABS16): New macro.
44403 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44404 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44405 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44406 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44407 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44408 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44409 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44410 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44411 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44412 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44413 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44414 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44415 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44416 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44417 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44418 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44419 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44420 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44421 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44422 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44423 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44424 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44425 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44426 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44427 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44428 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44429 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44430 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44431 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44432 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44433 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44434 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44435 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44436 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44437 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44438 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44439 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44440 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44441 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44442 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44443 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44444 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44445 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44446 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44447 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44448 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44449 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44450 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44451 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44452 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44453 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44454 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44455 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44456 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44457 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44458 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44459 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44460 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44461 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44462 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44463 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44464 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44465 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44466 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44467 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44468 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44469 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44470 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44471 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44472 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44473 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44474 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44475 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44476 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44477 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44478 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44479 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44480 (R_AARCH64_TLSDESC_LDR): Likewise.
44481 (R_AARCH64_TLSDESC_ADD): Likewise.
44482 (R_AARCH64_TLSDESC_CALL): Likewise.
44483
44484 2013-09-30 Andreas Schwab <schwab@suse.de>
44485
44486 [BZ #15048]
44487 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44488 the nss database lookup.
44489 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44491
44492 2013-09-28 Mike Frysinger <vapier@gentoo.org>
44493
44494 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44495
44496 2013-09-28 P. J. McDermott <pj@pehjota.net>
44497
44498 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44499 ${Bash-specific parameter/pattern/string} parameter expansion.
44500 * sysdeps/unix/make-syscalls.sh: Likewise.
44501
44502 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44503
44504 * sysdeps/sh/stackguard-macros.h: New file.
44505
44506 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
44507
44508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44509 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44510 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44511 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44512 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44513 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44514
44515 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44516
44517 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44518 Fix thread ID register.
44519
44520 2013-09-25 Joseph Myers <joseph@codesourcery.com>
44521
44522 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44523 [POSIX || UNIX98]: Require rather than permitting all symbols from
44524 <time.h>.
44525 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44526 element of struct sched_param.
44527 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44528 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44529 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44530 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44531 constant.
44532
44533 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
44534
44535 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44536 argument calculation.
44537
44538 2013-09-24 Joseph Myers <joseph@codesourcery.com>
44539
44540 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44541 Expect macro.
44542 [POSIX] (pthread_attr_t): Do not require type.
44543 [POSIX] (pthread_cond_t): Likewise.
44544 [POSIX] (pthread_condattr_t): Likewise.
44545 [POSIX] (pthread_key_t): Likewise.
44546 [POSIX] (pthread_mutex_t): Likewise.
44547 [POSIX] (pthread_mutexattr_t): Likewise.
44548 [POSIX] (pthread_once_t): Likewise.
44549 [POSIX] (pthread_t): Likewise.
44550 [POSIX-based standards] (pthread_atfork): Expect function.
44551
44552 2013-09-24 Joseph Myers <joseph@codesourcery.com>
44553 Richard Sandiford <richard@codesourcery.com>
44554
44555 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44556 (swap_endianness_p): New extern variable.
44557 (set_big_endian): New inline function.
44558 (maybe_swap_uint32): Likewise.
44559 (maybe_swap_uint32_array): Likewise.
44560 (maybe_swap_uint32_obstack): Likewise.
44561 * locale/programs/locfile.c: Include <stdbool.h>.
44562 (swap_endianness_p): New variable.
44563 (add_locale_uint32): Call maybe_swap_uint32.
44564 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44565 (write_locale_data): Call maybe_swap_uint32_array.
44566 * locale/programs/ld-collate.c (obstack_int32_grow): Call
44567 maybe_swap_uint32.
44568 (obstack_int32_grow_fast): Likewise.
44569 (output_weightwc): Call maybe_swap_uint32_obstack.
44570 (collate_output): Likewise.
44571 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44572 (OPT_LITTLE_ENDIAN): Likewise.
44573 (options): Add --little-endian and --big-endian options.
44574 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44575 * locale/programs/locarchive.c: Include "locfile.h".
44576 (GET): New macro.
44577 (SET): Likewise.
44578 (INC): Likewise.
44579 (create_archive): Use the new macros to access fields of
44580 structures directly mapped from or written to locale archives.
44581 (oldlocrecentcmp): Likewise.
44582 (enlarge_archive): Likewise.
44583 (insert_name): Likewise.
44584 (add_alias): Likewise.
44585 (add_locale): Likewise.
44586 (delete_locales_from_archive): Likewise.
44587 (show_archive_content): Likewise.
44588 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
44589 locale data.
44590
44591 2013-09-24 Roland McGrath <roland@hack.frob.com>
44592
44593 * manual/freemanuals.texi: Updated from (newly) canonical copy at
44594 http://www.gnu.org/doc/freemanuals.texi.
44595 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44596
44597 2013-09-24 Will Newton <will.newton@linaro.org>
44598
44599 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44600 macro.
44601
44602 2013-09-23 Joseph Myers <joseph@codesourcery.com>
44603
44604 * locale/hashval.h (compute_hashval): Interpret bytes of key as
44605 unsigned char.
44606
44607 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
44608
44609 * manual/threads.texi (POSIX Threads): Fix a typo.
44610
44611 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
44612
44613 [BZ #14547]
44614 * string/tst-strcoll-overflow.c: New test case.
44615 * string/Makefile (xtests): Add tst-strcoll-overflow.
44616 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44617 cache if string sizes may cause integer overflow.
44618
44619 [BZ #14547]
44620 * string/strcoll_l.c (coll_seq): New members rule, idx,
44621 save_idx and back_us.
44622 (get_next_seq_nocache): New function.
44623 (do_compare_nocache): New function.
44624 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44625 when malloc fails.
44626
44627 2013-09-23 Carlos O'Donell <carlos@redhat.com>
44628
44629 [BZ #15754]
44630 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44631 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44632 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44633
44634 [BZ #15754]
44635 * elf/Makefile (tests): Add tst-ptrguard1.
44636 (tests-static): Add tst-ptrguard1-static.
44637 (tst-ptrguard1-ARGS): Define.
44638 (tst-ptrguard1-static-ARGS): Define.
44639 * elf/tst-ptrguard1.c: New file.
44640 * elf/tst-ptrguard1-static.c: New file.
44641 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44642 * sysdeps/i386/stackguard-macros.h: Likewise.
44643 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44644 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44645 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44646 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44647 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44648 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44649
44650 2013-09-23 Hector Marco <hecmargi@upv.es>
44651 Ismael Ripoll <iripoll@disca.upv.es>
44652 Carlos O'Donell <carlos@redhat.com>
44653
44654 [BZ #15754]
44655 * sysdeps/generic/stackguard-macros.h: Define
44656 __pointer_chk_guard_local and POINTER_CHK_GUARD.
44657 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44658 Define __pointer_chk_guard_local.
44659 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44660 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44661
44662 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
44663
44664 [BZ #15859]
44665 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44666
44667 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
44668
44669 * include/string.h (__ffs): Declare as hidden.
44670 * string/ffs.c (__ffs): Define as hidden.
44671 * sysdeps/i386/ffs.c (__ffs): Likewise.
44672 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44673 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44674 * sysdeps/s390/ffs.c (__ffs): Likewise.
44675 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44676
44677 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
44678
44679 * NEWS: Mention malloc probes.
44680
44681 * malloc/arena.c (new_heap): New memory_heap_new probe.
44682 (grow_heap): New memory_heap_more probe.
44683 (shrink_heap): New memory_heap_less probe.
44684 (heap_trim): New memory_heap_free probe.
44685 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44686 (systrim): New memory_sbrk_less probe.
44687 * manual/probes.texi: Document them.
44688
44689 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44690 * manual/probes.texi: Document it.
44691
44692 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44693 (__libc_realloc): Add memory_realloc_retry probe.
44694 (__libc_memalign): Add memory_memalign_retry probe.
44695 (__libc_valloc): Add memory_valloc_retry probe.
44696 (__libc_pvalloc): Add memory_pvalloc_retry probe.
44697 (__libc_calloc): Add memory_calloc_retry probe.
44698 * manual/probes.texi: Document them.
44699
44700 * malloc/arena.c (get_free_list): Add probe
44701 memory_arena_reuse_free_list.
44702 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44703 and memory_arena_reuse.
44704 (arena_get2) [!PER_THREAD]: Likewise.
44705 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44706 memory_arena_reuse_realloc.
44707 * manual/probes.texi: Document them.
44708
44709 * malloc/malloc.c (__libc_free): Add
44710 memory_mallopt_free_dyn_thresholds probe.
44711 (__libc_mallopt): Add multiple memory_mallopt probes.
44712 * manual/probes.texi: Document them.
44713
44714 * malloc/malloc.c: Include stap-probe.h.
44715 (__libc_mallopt): Add memory_mallopt probe.
44716 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44717 * manual/probes.texi: New.
44718 * manual/Makefile (chapters): Add probes.
44719 * manual/threads.texi: Set next node.
44720
44721 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
44722
44723 [BZ #15963, #13985]
44724 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44725 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44726 Add `Chinese' to `nan' entry name.
44727
44728 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44729
44730 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44731 (POLYNOMIAL): Likewise.
44732 (TAYLOR_SINCOS): Likewise.
44733 (TAYLOR_SLOW): Likewise.
44734 (__sin): Use TAYLOR_SINCOS.
44735 (__cos): Likewise.
44736 (slow): Use TAYLOR_SLOW.
44737 (sloww): Likewise.
44738 (bsloww): Likewise.
44739 (csloww): Likewise.
44740
44741 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44742
44743 * stdlib/strtod_l.c: Fix buffer overrun.
44744
44745 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44746
44747 * benchtests/Makefile (bench): Add sincos.
44748 * benchtests/bench-sincos.c: New file.
44749
44750 * math/libm-test.inc (cos_test_data): New test inputs.
44751 (sin_test_data): Likewise.
44752
44753 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44754 macro.
44755 (__sin): Use it.
44756 (__cos): Likewise.
44757 (slow1): Likewise.
44758 (slow2): Likewise.
44759 (sloww1): Likewise.
44760 (sloww2): Likewise.
44761 (bsloww1): Likewise.
44762 (bsloww2): Likewise.
44763 (cslow2): Likewise.
44764 (csloww1): Likewise.
44765 (csloww2): Likewise.
44766
44767 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44768 function.
44769 (__sin): Use it.
44770 (__cos): Likewise.
44771
44772 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44773 gotos.
44774 (__cos): Likewise.
44775
44776 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
44777
44778 * config.h.in (HAVE_MIPS_NAN2008): New macro.
44779 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44780 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44781 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44782 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44783 * elf/cache.c (print_entry): Handle the new cache flags.
44784
44785 2013-09-18 Joseph Myers <joseph@codesourcery.com>
44786 Aldy Hernandez <aldyh@redhat.com>
44787
44788 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44789 Change condition to [_SOFT_FLOAT].
44790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44793 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44794 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44795 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44797 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44798 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44799 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44800 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44802 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44804 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44805 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44806 declaration.
44807
44808 2013-09-18 Joseph Myers <joseph@codesourcery.com>
44809
44810 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44811 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44812 (__longjmp): Use LOAD_GP to load saved GPRs.
44813 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44814 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44815 (__sigsetjmp): Use SAVE_GP to save GPRs.
44816
44817 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44818 Do not append -msoft-float.
44819 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44820
44821 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
44822
44823 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44824
44825 2013-09-17 Joseph Myers <joseph@codesourcery.com>
44826
44827 [BZ #15966]
44828 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44829 (_FPU_GETCW): Use initial "__" on variable and field names but not
44830 on macro parameter name.
44831 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
44832 parentheses around reference to macro parameter.
44833
44834 2013-09-13 Richard Sandiford <richard@codesourcery.com>
44835
44836 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44837 prototype.
44838 (ctype_startup): Use uint32_t in cast and sizeof for
44839 ctype->charnames.
44840
44841 2013-09-11 Jia Liu <proljc@gmail.com>
44842
44843 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44844 __daddr_t_defined.
44845 [__FreeBSD__]: Likewise.
44846
44847 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
44848
44849 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44850 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44851 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44852 (strchr): Remove __strchr_sse42 ifunc selection.
44853 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44854 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44855
44856 2013-09-11 Will Newton <will.newton@linaro.org>
44857
44858 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44859 parameter to RES. Remove hardcoded 1000 value.
44860 * benchtests/bench-skeleton.c (main): Pass RES parameter
44861 to TIMING_INIT and multiply result by 1000.
44862
44863 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44864
44865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44866
44867 2013-09-11 Andreas Schwab <schwab@suse.de>
44868
44869 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44870 if not defined.
44871 (O_TMPFILE) [__USE_GNU]: Define.
44872 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44873 Define.
44874
44875 2013-09-11 Will Newton <will.newton@linaro.org>
44876
44877 [BZ #15857]
44878 * malloc/malloc.c (__libc_memalign): Check the value of bytes
44879 does not overflow.
44880
44881 2013-09-11 Will Newton <will.newton@linaro.org>
44882
44883 [BZ #15856]
44884 * malloc/malloc.c (__libc_valloc): Check the value of bytes
44885 does not overflow.
44886
44887 2013-09-11 Will Newton <will.newton@linaro.org>
44888
44889 [BZ #15855]
44890 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44891 does not overflow.
44892
44893 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
44894
44895 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44896 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44897 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44898 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44899 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44900
44901 2013-09-10 Allan McRae <allan@archlinux.org>
44902
44903 [BZ #15748]
44904 * manual/arith.texi (Parsing of Floats): Clarify
44905 cross-reference.
44906
44907 [BZ #15849]
44908 * manual/install.texi (Running make install): Mention
44909 --enable-pt-chown.
44910 * INSTALL: Regenerated.
44911
44912 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
44913
44914 * csu/init-first.c (_init): Remove the !SHARED condition around
44915 FPU control word initialization.
44916 * elf/dl-support.c (_dl_fpu_control): New variable.
44917 (_dl_aux_init) <AT_FPUCW>: Initialize it.
44918 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44919 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44920 * math/test-fpucw-static.c: New file.
44921 * math/test-fpucw-ieee.c: New file.
44922 * math/test-fpucw-ieee-static.c: New file.
44923 * math/Makefile (tests): Add `test-fpucw-ieee' and
44924 `$(tests-static)'.
44925 (tests-static): New variable.
44926 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44927 dependency to...
44928 [($(build-shared),yes)]
44929 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44930 ... this.
44931 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44932 New dependency.
44933
44934 2013-09-09 Allan McRae <allan@archlinux.org>
44935
44936 [BZ #15939]
44937 * manual/string.texi (Collation Functions): Fix typo in
44938 strcoll example.
44939 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44940
44941 [BZ #15893]
44942 * stdlib/isomac.c (get_null_defines): Fix memory leak.
44943
44944 [BZ #15892]
44945 * libio/memstream.c (open_memstream): Fix memory leak.
44946 * libio/wmemstream.c (open_wmemstream): Likewise.
44947
44948 [BZ #15895]
44949 * nscd/netgroupcache.c: Fix nesting of ifdefs.
44950
44951 2013-09-09 Will Newton <will.newton@linaro.org>
44952
44953 * malloc/Makefile: Add tst-realloc to tests.
44954 * malloc/tst-realloc.c: New file.
44955
44956 2013-09-09 Allan McRae <allan@archlinux.org>
44957
44958 [BZ #15844]
44959 * COPYING: Update from GNU website to fix FSF address.
44960 * COPYING.LIB: Likewise.
44961
44962 2013-09-06 David S. Miller <davem@davemloft.net>
44963
44964 * po/zh_TW.po: Update Chinese (traditional) translation from
44965 translation project.
44966
44967 2013-09-06 Richard Sandiford <richard@codesourcery.com>
44968 Joseph Myers <joseph@codesourcery.com>
44969
44970 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44971 "localeinfo.h".
44972 (obstack_chunk_alloc): New macro.
44973 (obstack_chunk_free): Likewise.
44974 (record_offset): New function.
44975 (init_locale_data): Likewise.
44976 (align_locale_data): Likewise.
44977 (add_locale_empty): Likewise.
44978 (add_locale_raw_data): Likewise.
44979 (add_locale_raw_obstack): Likewise.
44980 (add_locale_string): Likewise.
44981 (add_locale_wstring): Likewise.
44982 (add_locale_uint32): Likewise.
44983 (add_locale_uint32_array): Likewise.
44984 (add_locale_char): Likewise.
44985 (start_locale_structure): Likewise.
44986 (end_locale_structure): Likewise.
44987 (start_locale_prelude): Likewise.
44988 (end_locale_prelude): Likewise.
44989 (write_locale_data): Take locale_file structure rather than an
44990 iovec.
44991 * locale/programs/locfile.h: Include "obstack.h".
44992 (struct locale_file): Change to store locale file contents instead
44993 of header.
44994 (init_locale_data): New prototype.
44995 (align_locale_data): Likewise.
44996 (add_locale_empty): Likewise.
44997 (add_locale_raw_data): Likewise.
44998 (add_locale_raw_obstack): Likewise.
44999 (add_locale_string): Likewise.
45000 (add_locale_wstring): Likewise.
45001 (add_locale_uint32): Likewise.
45002 (add_locale_uint32_array): Likewise.
45003 (add_locale_char): Likewise.
45004 (start_locale_structure): Likewise.
45005 (end_locale_structure): Likewise.
45006 (start_locale_prelude): Likewise.
45007 (end_locale_prelude): Likewise.
45008 (write_locale_data): Update prototype.
45009 * locale/programs/3level.h (struct TABLE): Remove result field.
45010 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45011 Use new locale_file interface.
45012 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
45013 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
45014 * locale/programs/ld-address.c (address_output): Use new
45015 locale_file interface.
45016 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
45017 NO_ADD_LOCALE.
45018 (collate_finish): Don't call collseq_table_finalize.
45019 (collate_output): Use new locale_file interface.
45020 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
45021 in file.
45022 (NO_FINALIZE): Change to NO_ADD_LOCALE.
45023 (TABLE): Move defines earlier in file.
45024 (ELEMENT): Likewise.
45025 (DEFAULT): Likewise.
45026 (wctrans_table_add): Move macro and inline function earlier in
45027 file.
45028 (struct wctype_table): Move type earlier in file.
45029 (add_locale_wctype_table): New static prototype.
45030 (struct locale_ctype_t): Use logical types instead of struct iovec
45031 pointers for members.
45032 (ctype_output): Use new locale_file interface.
45033 (wctype_table_finalize): Change to add_locale_wctype_table. Use
45034 new locale_file interface.
45035 (allocate_arrays): Update for use of new locale_file interface.
45036 * locale/programs/ld-identification.c (identification_output): Use
45037 new locale_file interface.
45038 * locale/programs/ld-measurement.c (measurement_output): Likewise.
45039 * locale/programs/ld-messages.c (messages_output): Likewise.
45040 * locale/programs/ld-monetary.c (monetary_output): Likewise.
45041 * locale/programs/ld-name.c (name_output): Likewise.
45042 * locale/programs/ld-numeric.c (numeric_output): Likewise.
45043 * locale/programs/ld-paper.c (paper_output): Likewise.
45044 * locale/programs/ld-telephone.c (telephone_output): Likewise.
45045 * locale/programs/ld-time.c (time_output): Likewise.
45046
45047 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45048
45049 * benchtests/Makefile: Add memrchr benchmark.
45050 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
45051 benchmark as memrchr.
45052 * benchtests/bench-memrchr-ifunc.c: New file.
45053 * benchtests/bench-memrchr.c: New file.
45054
45055 2013-09-06 Will Newton <will.newton@linaro.org>
45056
45057 * benchtests/Makefile (string-bench): Add memcpy.
45058
45059 2013-09-05 Carlos O'Donell <carlos@redhat.com>
45060 Cong Wang <amwang@redhat.com>
45061
45062 [BZ #15850]
45063 * sysdeps/unix/sysv/linux/bits/in.h
45064 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
45065 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
45066 before __USE_KERNEL_IPV6_DEFS uses.
45067 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
45068 IPPROTO_BEETPH.
45069 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
45070 sockaddr_in6, or ipv6_mreq.
45071
45072 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45073
45074 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
45075 memory access for final bytes in some large inputs.
45076 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
45077
45078 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45079
45080 * string/test-memrchr.c: New file.
45081 * string/test-memrchr-ifunc.c: New file.
45082 * string/Makefile: Add new memrchr testcase.
45083
45084 2013-09-05 Mike Frysinger <vapier@gentoo.org>
45085
45086 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
45087 fanotify_init returns EPERM.
45088
45089 2013-09-04 Joseph Myers <joseph@codesourcery.com>
45090
45091 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
45092 errors.
45093 (top level): Treat second token from macro or constant entries for
45094 allowed headers as allowed.
45095 * include/complex.h: Condition internal declarations on
45096 [!_ISOMAC].
45097 * include/fenv.h: Condition include of <stdbool.h> and internal
45098 declarations on [!_ISOMAC].
45099
45100 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
45101
45102 [BZ #15923]
45103 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
45104
45105 2013-09-04 Joseph Myers <joseph@codesourcery.com>
45106
45107 * configure.in (--enable-versioning): Remove configure option.
45108 (libc_cv_asm_symver_directive): Remove configure test.
45109 (libc_cv_ld_version_script_option): Likewise.
45110 (VERSIONING): Remove variable and AC_SUBST.
45111 (DO_VERSIONING): Remove AC_DEFINE.
45112 * configure: Regenerated.
45113 * config.h.in (DO_VERSIONING): Remove macro.
45114 * Makerules [$(versioning) = yes]: Change conditionals to
45115 [$(build-shared) = yes].
45116 * config.make.in (versioning): Remove variable.
45117 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
45118 [$(build-shared) = yes].
45119 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
45120 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
45121 * elf/Makefile [$(versioning) = yes]: Change conditionals to
45122 [$(build-shared) = yes].
45123 * extra-lib.mk [$(versioning) = yes]: Likewise.
45124 * hurd/Makefile [$(versioning) = yes]: Likewise.
45125 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45126 [SHARED].
45127 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45128 [SHARED].
45129 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45130 [SHARED && !NO_HIDDEN].
45131 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45132 [SHARED].
45133 [SHARED && DO_VERSIONING]: Likewise..
45134 * libio/Makefile [$(versioning) = yes]: Change conditionals to
45135 [$(build-shared) = yes].
45136 * manual/install.texi (--disable-versioning): Remove
45137 documentation.
45138 * INSTALL: Regenerated.
45139 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45140 to [SHARED].
45141 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45142 [$(build-shared) = yes].
45143 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45144 * sysdeps/i386/i686/multiarch/strstr-c.c
45145 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45146 [SHARED && !NO_HIDDEN].
45147 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45148 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45149 * sysdeps/powerpc/powerpc32/dl-machine.c
45150 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45151 * sysdeps/powerpc/powerpc32/sysdep.h
45152 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45153 to [SHARED && PIC && !NO_HIDDEN].
45154 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45155 conditional to [SHARED].
45156
45157 2013-09-04 Will Newton <will.newton@linaro.org>
45158
45159 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45160 * benchtests/bench-string.h: Include bench-timing.h instead
45161 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45162 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45163 call to HP_TIMING_DIFF_INIT.
45164 * benchtests/bench-memccpy.c: Use bench-timing.h macros
45165 instead of hp-timing.h macros.
45166 * benchtests/bench-memchr.c: Likewise.
45167 * benchtests/bench-memcmp.c: Likewise.
45168 * benchtests/bench-memcpy.c: Likewise.
45169 * benchtests/bench-memmem.c: Likewise.
45170 * benchtests/bench-memmove.c: Likewise.
45171 * benchtests/bench-memset.c: Likewise.
45172 * benchtests/bench-rawmemchr.c: Likewise.
45173 * benchtests/bench-strcasecmp.c: Likewise.
45174 * benchtests/bench-strcasestr.c: Likewise.
45175 * benchtests/bench-strcat.c: Likewise.
45176 * benchtests/bench-strchr.c: Likewise.
45177 * benchtests/bench-strcmp.c: Likewise.
45178 * benchtests/bench-strcpy.c: Likewise.
45179 * benchtests/bench-strcpy_chk.c: Likewise.
45180 * benchtests/bench-strlen.c: Likewise.
45181 * benchtests/bench-strncasecmp.c: Likewise.
45182 * benchtests/bench-strncat.c: Likewise.
45183 * benchtests/bench-strncmp.c: Likewise.
45184 * benchtests/bench-strncpy.c: Likewise.
45185 * benchtests/bench-strnlen.c: Likewise.
45186 * benchtests/bench-strpbrk.c: Likewise.
45187 * benchtests/bench-strrchr.c: Likewise.
45188 * benchtests/bench-strspn.c: Likewise.
45189 * benchtests/bench-strstr.c: Likewise.
45190
45191 2013-09-04 Will Newton <will.newton@linaro.org>
45192
45193 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45194
45195 2013-09-03 Joseph Myers <joseph@codesourcery.com>
45196
45197 [BZ #15427]
45198 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45199 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45200 * math/libm-test.inc (lgamma_test_data): Add more tests.
45201 * sysdeps/i386/fpu/libm-test-ulps: Update.
45202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45203
45204 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
45205
45206 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45207 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45208 Add ifunc.
45209 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45210 Add strcmp-sse2-unaligned
45211 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45212
45213 2013-09-02 Mike Frysinger <vapier@gentoo.org>
45214
45215 * Versions.def (libc): Add GLIBC_2.19.
45216
45217 2013-09-02 Mike Frysinger <vapier@gentoo.org>
45218
45219 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45220 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45221
45222 2013-09-02 Joseph Myers <joseph@codesourcery.com>
45223
45224 [BZ #14155]
45225 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45226 intermediate calculations in recurrence.
45227 (__ieee754_ynf): Likewise.
45228 * math/libm-test.inc (jn_test_data): Do not allow spurious
45229 underflow exception. Add more tests.
45230 (yn_test_data): Add more tests.
45231 * sysdeps/i386/fpu/libm-test-ulps: Update.
45232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45233
45234 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
45235
45236 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45237
45238 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
45239
45240 * csu/init-first.c: Fix then/than typos.
45241 * locale/programs/ld-collate.c: Likewise.
45242 * locale/programs/linereader.h: Likewise.
45243 * manual/charset.texi: Likewise.
45244 * manual/filesys.texi: Likewise.
45245 * manual/stdio.texi: Likewise.
45246 * manual/string.texi: Likewise.
45247 * stdlib/fmtmsg.c: Likewise.
45248 * sysdeps/i386/stpncpy.S: Likewise.
45249 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45250 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45251 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45252 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45253
45254 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
45255
45256 * elf/dl-open.c: Fix typos.
45257 * iconvdata/gbbig5.c: Likewise.
45258 * iconvdata/iso-2022-jp.c: Likewise.
45259 * iconv/gconv_int.h: Likewise.
45260 * iconv/loop.c: Likewise.
45261 * nis/rpcsvc/nis.h: Likewise.
45262 * resolv/ns_name.c: Likewise.
45263 * stdio-common/vfscanf.c: Likewise.
45264 * streams/stropts.h: Likewise.
45265 * sunrpc/rpc_thread.c: Likewise.
45266 * sysdeps/i386/strpbrk.S: Likewise.
45267 * sysdeps/ieee754/k_standard.c: Likewise.
45268 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45269 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45270 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45271 * sysdeps/mach/hurd/profil.c: Likewise.
45272 * sysdeps/s390/dl-procinfo.h: Likewise.
45273 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45274 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45275 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45276 * sysdeps/x86_64/dl-trampoline.S: Likewise.
45277 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45278
45279 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
45280
45281 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45282 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
45283
45284 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
45285
45286 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
45287 aix specific files.
45288 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
45289 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
45290 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
45291 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
45292 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
45293 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
45294 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
45295 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
45296
45297 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
45298 Roland McGrath <roland@hack.frob.com>
45299
45300 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
45301 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
45302
45303 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
45304
45305 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
45306 __executable_start symbol instead of _start.
45307
45308 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
45309
45310 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
45311 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
45312 Move macros to...
45313 * sysdeps/gnu/ldsodefs.h: ... this new file.
45314
45315 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
45316 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
45317 instead of ELFOSABI_LINUX.
45318
45319 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
45320 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
45321 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
45322 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
45323 Likewise.
45324 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
45325 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
45326 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
45327 Likewise.
45328 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45329 (ibm_extended_long_double): Add ieee_nan member.
45330 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
45331 (do_test): New function.
45332
45333 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
45334 TEST_TRUNC.
45335 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
45336 functions, renamed from truncdfsf_test, trunctfsf_test,
45337 trunctfdf_test.
45338 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
45339 functions.
45340 (do_test): Run all these.
45341
45342 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
45343
45344 * argp/argp-help.c: Fix typos.
45345 * argp/argp-parse.c: Likewise.
45346 * debug/backtracesyms.c: Likewise.
45347 * elf/elf.h: Likewise.
45348 * malloc/malloc.c: Likewise.
45349 * nis/nis_print.c: Likewise.
45350 * resolv/res_comp.c: Likewise.
45351 * stdlib/stdlib.h: Likewise.
45352 * sunrpc/clnt_tcp.c: Likewise.
45353 * sunrpc/clnt_udp.c: Likewise.
45354 * sunrpc/clnt_unix.c: Likewise.
45355 * sysdeps/unix/bsd/ptsname.c: Likewise.
45356 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45357 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
45358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
45359 Likewise.
45360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
45361 Likewise.
45362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
45363 Likewise.
45364 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45365
45366 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45367
45368 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
45369 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45370
45371 2013-08-27 Mike Frysinger <vapier@gentoo.org>
45372
45373 [BZ #15897]
45374 * dlfcn/Makefile (tests): Add bug-dl-leaf.
45375 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45376 ($(objpfx)bug-dl-leaf): New rule.
45377 ($(objpfx)bug-dl-leaf.so): Likewise.
45378 ($(objpfx)bug-dl-leaf.out): Likewise.
45379 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45380 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45381 * dlfcn/bug-dl-leaf.c: New test.
45382 * dlfcn/bug-dl-leaf-lib.c: Likewise.
45383 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45384 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45385 (dlclose): Likewise.
45386 (dlmopen): Likewise.
45387
45388 2013-08-27 Roland McGrath <roland@hack.frob.com>
45389
45390 * include/netdb.h [!_ISOMAC]:
45391 Don't include <tls.h>.
45392 (h_errno, __libc_h_errno): Move declaration and macros out of
45393 [_LIBC_REENTRANT].
45394
45395 * include/resolv.h [_RESOLV_H_]:
45396 Don't include <tls.h>.
45397 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45398 * resolv/res_libc.c: Don't include <tls.h>.
45399 (_res): Use __attribute__ ((nocommon)) in place of
45400 __attribute__ ((section (".bss"))).
45401
45402 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45403 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45404
45405 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45406
45407 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45408 only under [SIOCGIFCONF && SIOCGIFNETMASK].
45409
45410 * resolv/res_mkquery.c: Include <sys/time.h>.
45411
45412 * inet/ifreq.c: Moved to ...
45413 * sysdeps/unix/ifreq.c: ... here.
45414 * inet/ifreq.c: New file, true stub version.
45415
45416 * socket/sa_len.c: New file.
45417 * socket/Makefile (aux): Add it.
45418 * sysdeps/unix/sysv/linux/Makefile
45419 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45420 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45421 and #include <socket/sa_len.c>.
45422 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45423 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45424
45425 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45426 * bits/socket.h: ... here.
45427
45428 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45429 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45430 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45431
45432 2013-08-27 Andreas Schwab <schwab@suse.de>
45433
45434 [BZ #15736]
45435 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45436 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45437 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45438 * string/test-strcasecmp.c (test_main): Run tests in several
45439 locales.
45440 * string/test-strncasecmp.c (test_main): Likewise.
45441
45442 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45443 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45444 to __strcasecmp_nonascii and __strncasecmp_nonascii.
45445 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45446 (__strncasecmp_ssse3) [PIC]: Likewise.
45447
45448 2013-08-26 Roland McGrath <roland@hack.frob.com>
45449
45450 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45451
45452 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45453 instead of explicitly declaring xdecrypt.
45454 * nis/nss_nis/nis-publickey.c: Likewise.
45455
45456 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45457
45458 [BZ #15890]
45459 * nscd/aicache.c: Include res_hconf.h.
45460 (addhstaiX): Initialize res_hconf.
45461
45462 2013-08-26 Andreas Schwab <schwab@suse.de>
45463
45464 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45465 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45466
45467 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45468
45469 * nscd/aicache.c (addhstaiX): Fix indentation.
45470
45471 2013-08-25 Mike Frysinger <vapier@gentoo.org>
45472
45473 * configure.ac: Quote $build_pt_chown test.
45474 * configure: Regenerated.
45475
45476 2013-08-23 Joseph Myers <joseph@codesourcery.com>
45477
45478 [BZ #15532]
45479 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45480 * math/s_cexpf.c (__cexpf): Likewise.
45481 * math/s_cexpl.c (__cexpl): Likewise.
45482 * math/libm-test.inc (cexp_test_data): Correct expected return
45483 value for NaN + i0. Add another test.
45484
45485 2013-08-22 David S. Miller <davem@davemloft.net>
45486
45487 * po/ca.po: Update Catalan translation from translation project.
45488 * po/uk.po: Add Ukrainian translations from translation project.
45489
45490 2013-08-21 Joseph Myers <joseph@codesourcery.com>
45491
45492 [BZ #15797]
45493 * math/s_fdim.c (__fdim): Check for infinite arguments if result
45494 is infinite, not alongside NaN test.
45495 * math/s_fdimf.c (__fdimf): Likewise.
45496 * math/s_fdiml.c (__fdiml): Likewise.
45497 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
45498 errno is unchanged.
45499
45500 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
45501
45502 * argp/argp-help.c: Fix typos.
45503 * crypt/speeds.c: Likewise.
45504 * csu/check_fds.c: Likewise.
45505 * elf/dl-load.c: Likewise.
45506 * elf/dl-open.c: Likewise.
45507 * elf/reldep3.c: Likewise.
45508 * elf/reldep.c: Likewise.
45509 * elf/sprof.c: Likewise.
45510 * iconv/iconv_charmap.c: Likewise.
45511 * iconv/skeleton.c: Likewise.
45512 * iconv/strtab.c: Likewise.
45513 * io/lockf64.c: Likewise.
45514 * libio/libioP.h: Likewise.
45515 * resolv/gai_notify.c: Likewise.
45516 * resolv/ns_name.c: Likewise.
45517 * resolv/ns_samedomain.c: Likewise.
45518 * resolv/res_send.c: Likewise.
45519 * stdlib/random.c: Likewise.
45520 * sunrpc/rpc/xdr.h: Likewise.
45521 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45522 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45523 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45524 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45525 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45526 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45527 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45528 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45529 * sysdeps/mach/hurd/check_fds.c: Likewise.
45530 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45531 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45532 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45533 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45534 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45535 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45536 * sysdeps/pthread/aio_notify.c: Likewise.
45537 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45538 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45539 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45540 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45541 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45542
45543 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45544
45545 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45546 version if bit_Slow_SSE4_2 is set.
45547 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45548 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45549
45550 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45551
45552 [BZ #15867]
45553 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45554 trampoline stack frame information.
45555 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45556 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45557 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45558 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45559 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45560 * sysdeps/unix/sysv/linux/powerpc/init-first.c
45561 (_libc_vdso_platform_setup): Initialize the signal trampolines.
45562 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45563 sa_flags value.
45564 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45565 interrupting a syscall and set with option SA_SIGINFO.
45566
45567 2013-08-20 Joseph Myers <joseph@codesourcery.com>
45568
45569 [BZ #15531]
45570 * math/s_cproj.c (__cproj): Only return an infinity if one part of
45571 argument is infinite.
45572 * math/s_cprojf.c (__cprojf): Likewise.
45573 * math/s_cprojl.c (__cprojl): Likewise.
45574 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45575 * math/libm-test.inc (cproj_test_data): Add more tests.
45576
45577 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45578
45579 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45580 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45581 size. Use __ffs to determine corresponding shift.
45582
45583 2013-08-20 Joseph Myers <joseph@codesourcery.com>
45584 Roland McGrath <roland@hack.frob.com>
45585
45586 * Makefile (INSTALL): Remove trailing blank lines from output of
45587 makeinfo.
45588
45589 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45590
45591 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45592 Align 32 bit compat elf_greg to 8 bytes.
45593
45594 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
45595
45596 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45597
45598 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45599
45600 * string/strcoll_l.c (coll_seq): New structure.
45601 (get_next_seq_cached): New function.
45602 (get_next_seq): New function.
45603 (do_compare): New function.
45604 (STRCOLL): Use GNU style definition. Simplify implementation
45605 by using get_next_seq, get_next_seq_cached and do_compare.
45606
45607 2013-08-16 Florian Weimer <fweimer@redhat.com>
45608
45609 [BZ #14699]
45610 CVE-2013-4237
45611 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45612 member.
45613 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45614 member.
45615 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45616 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45617 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
45618 conditional.
45619 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45620 GETDENTS_64BIT_ALIGNED.
45621 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45622 * manual/filesys.texi (Reading/Closing Directory): Document
45623 ENAMETOOLONG return value of readdir_r. Recommend readdir more
45624 strongly.
45625 * manual/conf.texi (Limits for Files): Add portability note to
45626 NAME_MAX, PATH_MAX.
45627 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45628
45629 2013-08-13 Andreas Schwab <schwab@suse.de>
45630
45631 [BZ #15749]
45632 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45633 of fabs.
45634 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45635 LDBL_MAX_EXP >= 16384]: Add tests for it.
45636
45637 2013-08-12 David S. Miller <davem@davemloft.net>
45638
45639 * version.h (RELEASE): Set to "development".
45640 (VERSION): Set to "2.18.90".
45641 * NEWS: Add 2.19 section.
45642
45643 2013-08-03 David S. Miller <davem@davemloft.net>
45644
45645 * po/ko.po: Update Korean translation from translation project.
45646
45647 2013-08-01 David S. Miller <davem@davemloft.net>
45648
45649 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
45650 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45651 Bilka.
45652
45653 2013-07-30 David S. Miller <davem@davemloft.net>
45654
45655 * po/fr.po: Update French translation from translation project.
45656
45657 2013-07-28 David S. Miller <davem@davemloft.net>
45658
45659 * po/cs.po: Update Czech translation from translation project.
45660
45661 * po/sv.po: Update Swedish translation from translation project.
45662
45663 2013-07-27 David S. Miller <davem@davemloft.net>
45664
45665 * po/eo.po: Update Esperanto translation from translation project.
45666
45667 * po/vi.po: Update Vietnamese translation from translation project.
45668
45669 * po/de.po: Update German translation from translation project.
45670
45671 2013-07-26 David S. Miller <davem@davemloft.net>
45672
45673 * po/bg.po: Update Bulgarian translation from translation project.
45674
45675 * po/nl.po: Update Dutch translation from translation project.
45676 * po/pl.po: Update Polish translation from translation project.
45677 * po/ru.po: Update Russian translation from translation project.
45678
45679 2013-07-24 David S. Miller <davem@davemloft.net>
45680
45681 * po/libc.pot: Update.
45682
45683 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45684
45685 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45686 variable page size.
45687 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45688 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45689 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45690
45691 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45692
45693 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45694
45695 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45696 Andreas Schwab <schwab@suse.de>
45697 Roland McGrath <roland@hack.frob.com>
45698 Joseph Myers <joseph@codesourcery.com>
45699 Carlos O'Donell <carlos@redhat.com>
45700
45701 [BZ #15755]
45702 * config.h.in: Define HAVE_PT_CHOWN.
45703 * config.make.in (build-pt-chown): New variable.
45704 * configure.in (--enable-pt_chown): New configure option.
45705 * configure: Regenerate.
45706 * login/Makefile: Include Makeconfig. Build pt_chown only if
45707 build-pt-chown is enabled.
45708 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45709 pt_chown to fix pty ownership.
45710 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45711 CLOSE_ALL_FDS.
45712 * manual/install.texi (Configuring and compiling): Mention
45713 --enable-pt_chown. Add @findex for grantpt.
45714 * INSTALL: Regenerate.
45715
45716 2013-07-20 David S. Miller <davem@davemloft.net>
45717
45718 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45719 difference between 32-bit and 64-bit.
45720
45721 2013-07-15 Carlos O'Donell <carlos@redhat.com>
45722
45723 [BZ #15711]
45724 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45725 Avoid system header dependency with -ffreestanding.
45726 ($(objpfx)bits/syscall%d): Likewise.
45727
45728 2013-07-13 David S. Miller <davem@davemloft.net>
45729
45730 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45731 underflows from atanl/atan2l due to bug 15319.
45732 (casinh_test_data): Likewise.
45733
45734 2013-07-07 David S. Miller <davem@davemloft.net>
45735
45736 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45737
45738 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
45739
45740 * sysdeps/i386/fpu/libm-test-ulps: Update.
45741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45742
45743 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45744
45745 * configure.in (--enable-lock-elision): Fix message text.
45746 * INSTALL: Regenerate.
45747 * configure: Regenerate.
45748
45749 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45750
45751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45752
45753 2013-07-03 Andreas Jaeger <aj@suse.de>
45754
45755 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45756 define.
45757 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45758 (ptrace_peeksiginfo_args): Add.
45759 (__ptrace_peeksiginfo_flags): Add.
45760 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45761 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45762 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45763
45764 2013-07-03 Allan McRae <allan@archlinux.org>
45765
45766 * sysdeps/i386/fpu/libm-test-ulps: Update.
45767
45768 2013-07-02 David S. Miller <davem@davemloft.net>
45769
45770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45771
45772 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
45773
45774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45775
45776 2013-07-02 Joseph Myers <joseph@codesourcery.com>
45777
45778 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45780
45781 2013-07-02 Andi Kleen <ak@linux.intel.com>
45782
45783 * config.h.in (ENABLE_LOCK_ELISION): Add.
45784 * configure.in (--enable-lock-elision): Add option.
45785 * manual/install.texi: Document --enable lock elision.
45786 * configure: Regenerate
45787 * INSTALL: Regenerate.
45788
45789 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
45790
45791 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45792 SSE4.2 strcasecmp for libc.a.
45793 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45794
45795 2013-07-02 Joseph Myers <joseph@codesourcery.com>
45796
45797 [BZ #13304]
45798 * soft-fp/op-common.h (_FP_FMA): New macro.
45799 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45800 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
45801 (_FP_MUL_MEAT_1_imm): ... here.
45802 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
45803 (_FP_MUL_MEAT_1_wide): ... here.
45804 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
45805 (_FP_MUL_MEAT_1_hard): ... here.
45806 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45807 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
45808 (_FP_MUL_MEAT_2_wide): ... here.
45809 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
45810 (_FP_MUL_MEAT_2_wide_3mul): ... here.
45811 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
45812 (_FP_MUL_MEAT_2_gmp): ... here.
45813 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45814 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
45815 (_FP_MUL_MEAT_4_wide): ... here.
45816 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
45817 (_FP_MUL_MEAT_4_gmp): ... here.
45818 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45819 (_FP_WFRACBITS_DW_S): Likewise.
45820 (_FP_WFRACXBITS_DW_S): Likewise.
45821 (_FP_HIGHBIT_DW_S): Likewise.
45822 (FP_FMA_S): Likewise.
45823 (_FP_FRAC_HIGH_DW_S): Likewise.
45824 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45825 (_FP_WFRACBITS_DW_D): Likewise.
45826 (_FP_WFRACXBITS_DW_D): Likewise.
45827 (_FP_HIGHBIT_DW_D): Likewise.
45828 (FP_FMA_D): Likewise.
45829 (_FP_FRAC_HIGH_DW_D): Likewise.
45830 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45831 (_FP_WFRACBITS_DW_E): Likewise.
45832 (_FP_WFRACXBITS_DW_E): Likewise.
45833 (_FP_HIGHBIT_DW_E): Likewise.
45834 (FP_FMA_E): Likewise.
45835 (_FP_FRAC_HIGH_DW_E): Likewise.
45836 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45837 (_FP_WFRACBITS_DW_Q): Likewise.
45838 (_FP_WFRACXBITS_DW_Q): Likewise.
45839 (_FP_HIGHBIT_DW_Q): Likewise.
45840 (FP_FMA_Q): Likewise.
45841 (_FP_FRAC_HIGH_DW_Q): Likewise.
45842 * soft-fp/fmasf4.c: New file.
45843 * soft-fp/fmadf4.c: Likewise.
45844 * soft-fp/fmatf4.c: Likewise.
45845
45846 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45847
45848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45849 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45850 Silvermont.
45851 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45852 macro.
45853 (index_Slow_SSE4_2): Likewise.
45854 (index_Prefer_PMINUB_for_stringop): Likewise.
45855 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45856 bit_Slow_SSE4_2 is set.
45857 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45858 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45859
45860 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45861
45862 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45863 rtld_global._dl_hwcap2.
45864 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45865 POWER8.
45866 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45867 POWER8 feature descriptions defined in _dl_hwcap2.
45868 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45869 string handling for POWER8 feature bits.
45870 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45871 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45872 _dl_powerpc_cap_flags.
45873 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45874 * sysdeps/powerpc/rtld-global-offsets.sym
45875 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45876 _dl_hwcap2 in the rtld_global_ro structure.
45877
45878 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45879
45880 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45881 hardware capabilities in support of AT_HWCAP2.
45882 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45883 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45884 GLRO(dl_hwcap2).
45885 (_dl_show_auxv): Add support for calling _dl_procinfo to display
45886 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
45887 explicitly the unknown a_type display mechanism is used.
45888 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45889 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45890 struct member.
45891 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45892 to macro prototype for AT_HWCAP2 support.
45893 * sysdeps/i386/dl-procinfo.h: Likewise.
45894 * sysdeps/s390/dl-procinfo.h: Likewise.
45895 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45896 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
45897 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
45898 return -1 for unknown a_type display fallback.
45899 * sysdeps/sparc/dl-procinfo.h: Likewise.
45900 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45901 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45902
45903 2013-06-28 Joseph Myers <joseph@codesourcery.com>
45904
45905 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45906 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45907
45908 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
45909
45910 [BZ #12492]
45911 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45912 mprotect making __stack_prot writable.
45913
45914 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
45915 Joseph Myers <joseph@codesourcery.com>
45916
45917 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45918 as being properly aligned.
45919
45920 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
45921
45922 * dlfcn/modstatic5.c: New file.
45923 * dlfcn/tststatic5.c: New file.
45924 * dlfcn/Makefile (tests): Add tststatic5.
45925 (tests-static): Likewise.
45926 (modules-names): Add modstatic5.
45927 (tststatic5-ENV): New variable.
45928 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45929
45930 [BZ #15022]
45931 * elf/dl-support.c (_dl_main_map): New variable.
45932 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45933 (_dl_nns, _dl_load_adds): Set to 1.
45934 (_dl_initial_searchlist): Refer to _dl_main_map.
45935 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45936 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45937 call to _dl_get_origin.
45938 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45939 around call_map.
45940 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45941 * dlfcn/modstatic3.c: New file.
45942 * dlfcn/tststatic3.c: New file.
45943 * dlfcn/tststatic4.c: New file.
45944 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45945 (tests-static): Likewise.
45946 (modules-names): Add modstatic3.
45947 (tststatic3-ENV, tststatic4-ENV): New variables.
45948 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45949 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45950
45951 2013-06-26 Joseph Myers <joseph@codesourcery.com>
45952
45953 * configure.in (CC): Require GCC version 4.4 or later.
45954 * configure: Regenerated.
45955 * manual/install.texi (Tools for Compilation): Update GCC version
45956 requirement.
45957 * INSTALL: Regenerated.
45958
45959 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45960
45961 [BZ #15674]
45962 * string/test-memcmp.c (check2): New.
45963 (main): Call check2.
45964
45965 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45966
45967 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
45968
45969 [BZ #15022]
45970 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45971 over to...
45972 (dl_open_worker) [!SHARED]: ... here.
45973
45974 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45975
45976 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45977
45978 2013-06-25 Richard Henderson <rth@redhat.com>
45979
45980 * locale/programs/locarchive.c: Include <libc-internal.h>
45981
45982 2013-06-25 Joseph Myers <joseph@codesourcery.com>
45983
45984 * manual/texinfo.tex: Update to version 2013-06-21.17, with
45985 trailing whitespace removed.
45986
45987 2013-06-24 Mike Frysinger <vapier@gentoo.org>
45988
45989 [BZ #10283]
45990 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45991 * locale/programs/locarchive.c: Include libc-mmap.h.
45992 (prepare_address_space): Take two new outputs (the mmap base and len).
45993 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
45994 values.
45995 (create_archive): Declare new mmap base and len values for
45996 prepare_address_space, and store the result in ah.
45997 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45998 (enlarge_archive): If ah->mmap_base is not NULL, use that and
45999 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46000 Declare new mmap base and len values for
46001 prepare_address_space, and store the result in new_ah.
46002 (open_archive): Declare new mmap base and len values for
46003 prepare_address_space, and store the result in ah.
46004 (close_archive): If ah->mmap_base is not NULL, use that and
46005 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46006 * sysdeps/generic/libc-mmap.h: New file.
46007
46008 2013-06-24 Mike Frysinger <vapier@gentoo.org>
46009
46010 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46011 (ALIGN_UP): Likewise.
46012 (PTR_ALIGN_DOWN): Likewise.
46013 (PTR_ALIGN_UP): Likewise.
46014
46015 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46016
46017 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
46018 entry mapped to PPC_PLATFORM_POWER8.
46019 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
46020 POWER8.
46021 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
46022 (_dl_string_platform): Add case for exporting platform position for
46023 POWER8.
46024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
46025 search path to sysdeps/powerpc/powerpc32/power8 directory.
46026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
46027 search path to sysdeps/powerpc/powerpc64/power8 directory.
46028 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
46029 power7 directories.
46030 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
46031 power7 directories.
46032
46033 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
46034
46035 * INSTALL: Regenerate.
46036
46037 * nscd/connections.c (nscd_init): Fix comment.
46038
46039 2013-06-22 Joseph Myers <joseph@codesourcery.com>
46040
46041 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
46042
46043 [BZ #15667]
46044 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
46045 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
46046
46047 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
46048
46049 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
46050 DL_DST_REQ_STATIC.
46051 (DL_DST_REQ_STATIC): Remove macro.
46052
46053 2013-06-21 Joseph Myers <joseph@codesourcery.com>
46054
46055 [BZ #7006]
46056 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
46057 with a shift of 0 bits.
46058
46059 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
46060
46061 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
46062 $(tststatic-ENV).
46063
46064 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46065
46066 [BZ #15655]
46067 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
46068
46069 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46070
46071 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
46072 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
46073 accepts -fno-tree-loop-distribute-patterns.
46074 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
46075 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
46076 recursive call.
46077 * string/memset.c (memset): Likewise.
46078 * string/test-memmove.c (simple_memmove): Disable loop transformation
46079 to library calls.
46080 * string/test-memset.c (simple_memset): Likewise.
46081 * benchtests/bench-memmove.c (simple_memmove): Likewise.
46082 * benchtests/bench-memset.c (simple_memset): Likewise.
46083 * configure: Regenerated.
46084
46085 2013-06-20 Joseph Myers <joseph@codesourcery.com>
46086
46087 * math/test-misc.c (main): Ignore fesetround failure when failures
46088 of subsequent rounding tests would be ignored.
46089
46090 [BZ #15654]
46091 * math/fedisblxcpt.c (fedisableexcept): Return 0.
46092 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
46093 * math/fegetenv.c (__fegetenv): Return 0.
46094 * math/fegetexcept.c (fegetexcept): Return 0.
46095 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
46096 FE_TONEAREST.
46097 * math/feholdexcpt.c (feholdexcept): Return 0.
46098 * math/fesetenv.c (__fesetenv): Return 0.
46099 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
46100 argument FE_TONEAREST.
46101 * math/feupdateenv.c (__feupdateenv): Return 0.
46102 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
46103
46104 2013-06-18 Roland McGrath <roland@hack.frob.com>
46105
46106 * elf/rtld-Rules (rtld-compile-command.S): New variable.
46107 (rtld-compile-command.s, rtld-compile-command.c): New variables.
46108 ($(objpfx)rtld-%.os rules): Use them.
46109
46110 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46111
46112 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
46113 fields.
46114
46115 2013-06-17 Roland McGrath <roland@hack.frob.com>
46116
46117 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
46118 length of target pattern, then descending length of dependency pattern.
46119 * configure.in (AWK): Require gawk 3.1.2 or newer.
46120 * manual/install.texi (Tools for Compilation): Say that we do.
46121 * configure: Regenerated.
46122
46123 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
46124 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
46125 * scripts/sysd-rules.awk: ... this new script.
46126 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46127 than a glob-style pattern.
46128
46129 2013-06-17 Joseph Myers <joseph@codesourcery.com>
46130
46131 * math/test-misc.c (main): Do not treat incorrectly rounded
46132 conversions as failure unless ROUNDING_TESTS passes.
46133
46134 2013-06-15 Joseph Myers <joseph@codesourcery.com>
46135
46136 [BZ #15631]
46137 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46138 restore exception state around main square root computation, then
46139 check for inexactness explicitly.
46140
46141 * math/libm-test.inc (fma_test_data): Add another test.
46142
46143 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46144
46145 * manual/threads.texi (Non-POSIX Extensions): New document
46146 node. Document pthread_getattr_default_np and
46147 pthread_setattr_default_np.
46148
46149 * Versions.def (libpthread): Add GLIBC_2.18.
46150 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46152 Likewise.
46153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46154 Likewise.
46155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46156 Likewise.
46157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46158 Likewise.
46159 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46160 Likewise.
46161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46162 Likewise.
46163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46164 Likewise.
46165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46166 Likewise.
46167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46168 Likewise.
46169
46170 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46171
46172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46173 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46174
46175 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
46176 H.J. Lu <hjl.tools@gmail.com>
46177
46178 [BZ #15627]
46179 * sysdeps/x86_64/rtld-memset.c: Remove file.
46180 * sysdeps/x86_64/rtld-memset.S: New file.
46181
46182 2013-06-14 Joseph Myers <joseph@codesourcery.com>
46183
46184 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46185 (test_in_one_mode): Take arguments for whether the rounding mode
46186 is supported for each floating-point type.
46187 (do_test): Pass new arguments to test_in_one_mode using
46188 ROUNDING_TESTS.
46189
46190 2013-06-13 Roland McGrath <roland@hack.frob.com>
46191
46192 * posix/tst-waitid.c (do_test): Distinguish different instances of
46193 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
46194 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46195 before entering the kernel for waitpid.
46196
46197 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46198
46199 * NEWS: Fix note on clock function precision. Text by Roland
46200 McGrath.
46201
46202 2013-06-13 Roland McGrath <roland@hack.frob.com>
46203
46204 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46205 it into place only when and if the sanity check passes.
46206
46207 2013-06-13 Joseph Myers <joseph@codesourcery.com>
46208
46209 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46210 output for whether conversion result is exact. Take argument
46211 indicating whether type is IBM long double.
46212 (round_for_all): Change need_exact field to ibm_ld.
46213 * stdlib/tst-strtod-round.c (struct exactness): New type.
46214 (struct test): Change bool ld_ok field to struct exactness exact.
46215 (TEST): Update all definitions for change to field.
46216 (tests): Regenerate array contents.
46217 (test_in_one_mode): Take pointer to new field instead of old ld_ok
46218 field value. Check for IBM long double here.
46219 (do_test): Update calls to test_in_one_mode.
46220
46221 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46222
46223 [BZ #12515]
46224 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46225 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46226
46227 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46228
46229 [BZ #15605]
46230 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46231 generated by the compiler on loop optimizations.
46232 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46233 general definitions.
46234
46235 2013-06-12 Joseph Myers <joseph@codesourcery.com>
46236
46237 * math/bug-nextafter.c: Include <math-tests.h>.
46238 (main): Only test for exceptions if EXCEPTION_TESTS is true for
46239 the relevant type.
46240 * math/bug-nexttoward.c: Include <math-tests.h>.
46241 (main): Only test for exceptions if EXCEPTION_TESTS is true for
46242 the relevant type.
46243 * math/test-misc.c: Include <math-tests.h>.
46244 (main): Only test for exceptions if EXCEPTION_TESTS is true for
46245 the relevant type.
46246
46247 2013-06-12 Andreas Jaeger <aj@suse.de>
46248
46249 * po/ia.po: Update Interlingua translation from translation
46250 project.
46251
46252 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46253
46254 * include/fenv.h: Include stdbool.h.
46255 (struct rm_ctx): New structure.
46256 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46257 Define macro.
46258 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46259 (SET_RESTORE_ROUNDF): Likewise.
46260 (SET_RESTORE_ROUNDL): Likewise.
46261 (SET_RESTORE_ROUND_NOEX): Likewise.
46262 (SET_RESTORE_ROUND_NOEXF): Likewise.
46263 (SET_RESTORE_ROUND_NOEXL): Likewise.
46264 (SET_RESTORE_ROUND_53BIT): Likewise.
46265 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46266 (libc_feresetround_noexf_ctx): Likewise.
46267 (libc_feresetround_noexl_ctx): Likewise.
46268 (libc_feholdsetround_53bit_ctx): Likewise.
46269 (libc_feresetround_53bit_ctx): Likewise.
46270 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46271 (libc_feholdexcept_setround_sse_ctx): New function.
46272 (libc_fesetenv_sse_ctx): Likewise.
46273 (libc_feupdateenv_sse_ctx): Likewise.
46274 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46275 (libc_feholdexcept_setround_387_ctx): Likewise.
46276 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
46277 (libc_feholdsetround_387_prec_ctx): Likewise.
46278 (libc_feholdsetround_387_ctx): Likewise.
46279 (libc_feholdsetround_387_53bit_ctx): Likewise.
46280 (libc_feholdsetround_sse_ctx): Likewise.
46281 (libc_feresetround_sse_ctx): Likewise.
46282 (libc_feresetround_387_ctx): Likewise.
46283 (libc_feupdateenv_387_ctx): Likewise.
46284 (libc_feholdexcept_setroundf_ctx): Define macro.
46285 (libc_fesetenvf_ctx): Likewise.
46286 (libc_feupdateenvf_ctx): Likewise.
46287 (libc_feholdsetroundf_ctx): Likewise.
46288 (libc_feresetroundf_ctx): Likewise.
46289 (libc_feholdexcept_setround_ctx): Likewise.
46290 (libc_fesetenv_ctx): Likewise.
46291 (libc_feupdateenv_ctx): Likewise.
46292 (libc_feholdsetround_ctx): Likewise.
46293 (libc_feresetround_ctx): Likewise.
46294 (libc_feholdexcept_setroundl_ctx): Likewise.
46295 (libc_feupdateenvl_ctx): Likewise.
46296 (libc_feholdsetroundl_ctx): Likewise.
46297 (libc_feresetroundl_ctx): Likewise.
46298 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
46299 (libc_feresetround_53bit_ctx): Likewise.
46300
46301 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46302
46303 * locale/iso-639.def: Convert to UTF-8.
46304
46305 2013-06-11 Joseph Myers <joseph@codesourcery.com>
46306
46307 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
46308 (EXCEPTION_TESTS_double): Likewise.
46309 (EXCEPTION_TESTS_long_double): Likewise.
46310 (EXCEPTION_TESTS): Likewise.
46311 * math/libm-test.inc (test_exceptions): Only test exceptions if
46312 EXCEPTION_TESTS (FLOAT).
46313
46314 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46315
46316 * benchtests/Makefile (string-bench): Add strcpy_chk and
46317 stpcpy_chk.
46318 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
46319 * benchtests/bench-stpcpy_chk.c: New file.
46320 * benchtests/bench-strcpy_chk-ifunc.c: New file.
46321 * benchtests/bench-strcpy_chk.c: New file.
46322 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
46323 code.
46324 (do_test): Likewise.
46325
46326 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46327
46328 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
46329 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
46330 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
46331 with tabs where appropriate.
46332 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
46333 dl-procinfo.h.
46334 [PPC_PLATFORM_PPC440]: Likewise.
46335 [PPC_PLATFORM_PPC464]: Likewise.
46336 [PPC_PLATFORM_PPC476]: Likewise.
46337 (_dl_string_platform): Add support for detecting ppc405, ppc440,
46338 ppc464, and ppc476 platform strings merging from ports/
46339 dl-procinfo.h.
46340
46341 2013-06-11 Andreas Schwab <schwab@suse.de>
46342
46343 [BZ #14991]
46344 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
46345 (from_ucs4_idx): Regenerate.
46346 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
46347 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
46348 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
46349 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
46350 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
46351 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
46352 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
46353 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
46354 from FROM_LOOP and TO_LOOP specific macros.
46355 (BODY): Handle combining characters.
46356 * iconvdata/BIG5HKSCS.irreversible: Update.
46357 * iconvdata/BIG5HKSCS.precomposed: New file.
46358 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
46359 characters.
46360 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
46361
46362 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46363
46364 * include/sys/time.h: Fix indentation and add copyright header.
46365
46366 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
46367 (do_test): Likewise.
46368 * string/test-memchr.c (do_one_test): Likewise.
46369 (do_test): Likewise.
46370 * string/test-memcmp.c (do_one_test): Likewise.
46371 (do_test): Likewise.
46372 * string/test-memcpy.c (do_one_test): Likewise.
46373 (do_test): Likewise.
46374 * string/test-memmem.c (do_one_test): Likewise.
46375 (do_test): Likewise.
46376 (do_random_tests): Likewise.
46377 * string/test-memmove.c (do_one_test): Likewise.
46378 (do_test): Likewise.
46379 * string/test-memset.c (do_one_test): Likewise.
46380 (do_test): Likewise.
46381 * string/test-rawmemchr.c (do_one_test): Likewise.
46382 (do_test): Likewise.
46383 * string/test-strcasecmp.c (do_one_test): Likewise.
46384 (do_test): Likewise.
46385 * string/test-strcasestr.c (do_one_test): Likewise.
46386 (do_test): Likewise.
46387 * string/test-strcat.c (do_one_test): Likewise.
46388 (do_test): Likewise.
46389 * string/test-strchr.c (do_one_test): Likewise.
46390 (do_test): Likewise.
46391 * string/test-strcmp.c (do_one_test): Likewise.
46392 (do_test): Likewise.
46393 * string/test-strcpy.c (do_one_test): Likewise.
46394 (do_test): Likewise.
46395 * string/test-string.h: Likewise.
46396 (test_init): Likewise.
46397 * string/test-strlen.c (do_one_test): Likewise.
46398 (do_test): Likewise.
46399 * string/test-strncasecmp.c (do_one_test): Likewise.
46400 (do_test): Likewise.
46401 * string/test-strncat.c (do_one_test): Likewise.
46402 (do_test): Likewise.
46403 * string/test-strncmp.c (do_one_test): Likewise.
46404 (do_test_limit): Likewise.
46405 (do_test): Likewise.
46406 * string/test-strncpy.c (do_one_test): Likewise.
46407 (do_test): Likewise.
46408 * string/test-strnlen.c (do_one_test): Likewise.
46409 (do_test): Likewise.
46410 * string/test-strpbrk.c (do_one_test): Likewise.
46411 (do_test): Likewise.
46412 * string/test-strrchr.c (do_one_test): Likewise.
46413 (do_test): Likewise.
46414 * string/test-strspn.c (do_one_test): Likewise.
46415 (do_test): Likewise.
46416 * string/test-strstr.c (do_one_test): Likewise.
46417 (do_test): Likewise.
46418
46419 * benchtests/Makefile (string-bench): Add string benchmarks.
46420 * benchtests/bench-bcopy-ifunc.c: New file.
46421 * benchtests/bench-bcopy.c: New file.
46422 * benchtests/bench-bzero-ifunc.c: New file.
46423 * benchtests/bench-bzero.c: New file.
46424 * benchtests/bench-memccpy-ifunc.c: New file.
46425 * benchtests/bench-memccpy.c: New file.
46426 * benchtests/bench-memchr-ifunc.c: New file.
46427 * benchtests/bench-memchr.c: New file.
46428 * benchtests/bench-memcmp-ifunc.c: New file.
46429 * benchtests/bench-memcmp.c: New file.
46430 * benchtests/bench-memmem-ifunc.c: New file.
46431 * benchtests/bench-memmem.c: New file.
46432 * benchtests/bench-memmove-ifunc.c: New file.
46433 * benchtests/bench-memmove.c: New file.
46434 * benchtests/bench-mempcpy-ifunc.c: New file.
46435 * benchtests/bench-mempcpy.c: New file.
46436 * benchtests/bench-memset-ifunc.c: New file.
46437 * benchtests/bench-memset.c: New file.
46438 * benchtests/bench-rawmemchr-ifunc.c: New file.
46439 * benchtests/bench-rawmemchr.c: New file.
46440 * benchtests/bench-stpcpy-ifunc.c: New file.
46441 * benchtests/bench-stpcpy.c: New file.
46442 * benchtests/bench-stpncpy-ifunc.c: New file.
46443 * benchtests/bench-stpncpy.c: New file.
46444 * benchtests/bench-strcasecmp-ifunc.c: New file.
46445 * benchtests/bench-strcasecmp.c: New file.
46446 * benchtests/bench-strcasestr-ifunc.c: New file.
46447 * benchtests/bench-strcasestr.c: New file.
46448 * benchtests/bench-strcat-ifunc.c: New file.
46449 * benchtests/bench-strcat.c: New file.
46450 * benchtests/bench-strchr-ifunc.c: New file.
46451 * benchtests/bench-strchr.c: New file.
46452 * benchtests/bench-strchrnul-ifunc.c: New file.
46453 * benchtests/bench-strchrnul.c: New file.
46454 * benchtests/bench-strcmp-ifunc.c: New file.
46455 * benchtests/bench-strcmp.c: New file.
46456 * benchtests/bench-strcpy-ifunc.c: New file.
46457 * benchtests/bench-strcpy.c: New file.
46458 * benchtests/bench-strcspn-ifunc.c: New file.
46459 * benchtests/bench-strcspn.c: New file.
46460 * benchtests/bench-strlen-ifunc.c: New file.
46461 * benchtests/bench-strlen.c: New file.
46462 * benchtests/bench-strncasecmp-ifunc.c: New file.
46463 * benchtests/bench-strncasecmp.c: New file.
46464 * benchtests/bench-strncat-ifunc.c: New file.
46465 * benchtests/bench-strncat.c: New file.
46466 * benchtests/bench-strncmp-ifunc.c: New file.
46467 * benchtests/bench-strncmp.c: New file.
46468 * benchtests/bench-strncpy-ifunc.c: New file.
46469 * benchtests/bench-strncpy.c: New file.
46470 * benchtests/bench-strnlen-ifunc.c: New file.
46471 * benchtests/bench-strnlen.c: New file.
46472 * benchtests/bench-strpbrk-ifunc.c: New file.
46473 * benchtests/bench-strpbrk.c: New file.
46474 * benchtests/bench-strrchr-ifunc.c: New file.
46475 * benchtests/bench-strrchr.c: New file.
46476 * benchtests/bench-strspn-ifunc.c: New file.
46477 * benchtests/bench-strspn.c: New file.
46478 * benchtests/bench-strstr-ifunc.c: New file.
46479 * benchtests/bench-strstr.c: New file.
46480
46481 * benchtests/Makefile: Disable parallel execution of targets.
46482 (string-bench): Add memcpy.
46483 (benchset): New variable to store a list of benchmark sets.
46484 (bench-func): Renamed from bench.
46485 (bench-set): New target.
46486 (bench): Depend on bench-func and bench-set.
46487 * benchtests/README: Add section on benchmark sets.
46488 * benchtests/bench-memcpy-ifunc.c: New file.
46489 * benchtests/bench-memcpy.c: New file.
46490 * benchtests/bench-string.h: New file.
46491
46492 2013-06-11 Andreas Schwab <schwab@suse.de>
46493
46494 [BZ #15577]
46495 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46496 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46497 values in the triple.
46498 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46499 terminator in the group key.
46500
46501 2013-06-11 Andreas Jaeger <aj@suse.de>
46502
46503 * po/zh_TW.po: Update Chinese (traditional) translation from
46504 translation project.
46505
46506 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46507
46508 * include/time.h (__clock_gettime): Add libc_hidden_proto.
46509 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46510 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
46511 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46512 (clock_getcpuclockid): Likewise.
46513 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46514 Add weak_alias and libc_hidden_def.
46515 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46516 * rt/clock_gettime.c (clock_gettime): Rename to
46517 __clock_gettime. Add weak_alias and libc_hidden_def.
46518 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46519 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46520 __clock_nanosleep. Add weak_alias and libc_hidden_def.
46521 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46522 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46523 Likewise.
46524 * rt/clock_settime.c (clock_settime): Rename to
46525 __clock_settime. Add weak_alias and libc_hidden_def.
46526 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46527
46528 2013-06-10 Joseph Myers <joseph@codesourcery.com>
46529
46530 * mach/err_boot.sub: Remove trailing whitespace.
46531 * mach/err_ipc.sub: Likewise.
46532 * mach/err_mach.sub: Likewise.
46533
46534 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46535 (ROUNDING_TESTS_double): Likewise.
46536 (ROUNDING_TESTS_long_double): Likewise.
46537 (ROUNDING_TESTS): Likewise.
46538 * math/libm-test.inc: Include <math-tests.h>.
46539 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46540 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46541 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46542 (IF_ROUND_INIT_FE_UPWARD): Likewise.
46543
46544 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46545
46546 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46547 of assigning.
46548
46549 2013-06-08 Joseph Myers <joseph@codesourcery.com>
46550
46551 * sysdeps/gnu/errlist.awk: Do not generate space at end of
46552 otherwise empty TRANS lines.
46553 * sysdeps/gnu/errlist.c: Regenerated.
46554
46555 * catgets/gencat.c (error_print): Use (void) in function
46556 definition.
46557 * crypt/crypt_util.c (__init_des): Likewise.
46558 * crypt/speeds.c (Stop): Likewise.
46559 (main): Likewise.
46560 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46561 * inet/ruserpass.c (token): Likewise.
46562 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46563 * intl/localealias.c (extend_alias_table): Likewise.
46564 * intl/plural-exp.c (init_germanic_plural): Likewise.
46565 * libio/fcloseall.c (__fcloseall): Likewise.
46566 * libio/genops.c (_IO_flush_all): Likewise.
46567 (_IO_flush_all_linebuffered): Likewise.
46568 (_IO_cleanup): Likewise.
46569 (_IO_iter_begin): Likewise.
46570 (_IO_iter_end): Likewise.
46571 (_IO_list_lock): Likewise.
46572 (_IO_list_unlock): Likewise.
46573 (_IO_list_resetlock): Likewise.
46574 * libio/getchar.c (getchar): Likewise.
46575 * libio/getchar_u.c (getchar_unlocked): Likewise.
46576 * libio/getwchar.c (getwchar): Likewise.
46577 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46578 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46579 * login/getpt.c (__getpt): Likewise.
46580 * login/tst-utmp.c (main): Likewise.
46581 * malloc/hooks.c (__malloc_check_init): Likewise.
46582 * malloc/malloc.c (__malloc_stats): Likewise.
46583 * malloc/mtrace.c (tr_break): Likewise.
46584 (mtrace): Likewise.
46585 (muntrace): Likewise.
46586 * misc/fstab.c (endfsent): Likewise.
46587 * misc/getclktck.c (__getclktck): Likewise.
46588 * misc/getdtsz.c (__getdtablesize): Likewise.
46589 * misc/gethostid.c (gethostid): Likewise.
46590 * misc/getpagesize.c (__getpagesize): Likewise.
46591 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46592 (__get_nprocs): Likewise.
46593 (__get_phys_pages): Likewise.
46594 (__get_avphys_pages): Likewise.
46595 * misc/getttyent.c (getttyent): Likewise.
46596 (setttyent): Likewise.
46597 (endttyent): Likewise.
46598 * misc/getusershell.c (getusershell): Likewise.
46599 (endusershell): Likewise.
46600 (setusershell): Likewise.
46601 (initshells): Likewise.
46602 * misc/hsearch.c (__hdestroy): Likewise.
46603 * misc/sync.c (sync): Likewise.
46604 * misc/syslog.c (closelog_internal): Likewise.
46605 (closelog): Likewise.
46606 * misc/ttyslot.c (ttyslot): Likewise.
46607 * misc/vhangup.c (vhangup): Likewise.
46608 * posix/fork.c (__fork): Likewise.
46609 * posix/getegid.c (__getegid): Likewise.
46610 * posix/geteuid.c (__geteuid): Likewise.
46611 * posix/getgid.c (__getgid): Likewise.
46612 * posix/getpid.c (__getpid): Likewise.
46613 * posix/getppid.c (__getppid): Likewise.
46614 * posix/getuid.c (__getuid): Likewise.
46615 * posix/pause.c (pause): Likewise.
46616 * posix/setpgrp.c (setpgrp): Likewise.
46617 * posix/setsid.c (__setsid): Likewise.
46618 * posix/test-vfork.c (noop): Likewise.
46619 * resolv/gethnamaddr.c (_endhtent): Likewise.
46620 (_gethtent): Likewise.
46621 (ht_endhostent): Likewise.
46622 (gethostent): Likewise.
46623 (dns_service): Likewise.
46624 * stdlib/drand48.c (drand48): Likewise.
46625 * stdlib/lrand48.c (lrand48): Likewise.
46626 * stdlib/mrand48.c (mrand48): Likewise.
46627 * stdlib/rand.c (rand): Likewise.
46628 * stdlib/random.c (__random): Likewise.
46629 * stdlib/setenv.c (clearenv): Likewise.
46630 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46631 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46632 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46633 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46634 (__get_nprocs): Likewise.
46635 (__get_phys_pages): Likewise.
46636 (__get_avphys_pages): Likewise.
46637 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46638 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46639 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46640 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46641 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46642 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46643 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46644 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46645 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46646 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46647 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46648 * sysdeps/mach/hurd/sync.c (sync): Likewise.
46649 * sysdeps/posix/clock.c (clock): Likewise.
46650 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46651 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46652 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46653 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46654 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46655 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46656 (__get_nprocs_conf): Likewise.
46657 (__get_phys_pages): Likewise.
46658 (__get_avphys_pages): Likewise.
46659 * time/clock.c (clock): Likewise.
46660 * time/tzset.c (__tzname_max): Likewise.
46661
46662 2013-06-07 Joseph Myers <joseph@codesourcery.com>
46663
46664 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46665 (__bswap_32): Do not use "register".
46666 * crypt/crypt.c (_ufc_doit_r): Likewise.
46667 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46668 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46669 * gmon/gmon.c (__monstartup): Likewise.
46670 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46671 * hurd/hurdmalloc.c (more_memory): Likewise.
46672 (malloc): Likewise.
46673 (free): Likewise.
46674 (realloc): Likewise.
46675 (malloc_fork_prepare): Likewise.
46676 (malloc_fork_parent): Likewise.
46677 (malloc_fork_child): Likewise.
46678 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46679 (_svcauth_des): Likewise.
46680 * inet/inet_lnaof.c (inet_lnaof): Likewise.
46681 * inet/inet_net.c (inet_network): Likewise.
46682 * inet/inet_netof.c (inet_netof): Likewise.
46683 * inet/rcmd.c (__validuser2_sa): Likewise.
46684 * io/fts.c (fts_open): Likewise.
46685 (fts_load): Likewise.
46686 (fts_close): Likewise.
46687 (fts_read): Likewise.
46688 (fts_children): Likewise.
46689 (fts_build): Likewise.
46690 (fts_stat): Likewise.
46691 (fts_sort): Likewise.
46692 (fts_alloc): Likewise.
46693 (fts_lfree): Likewise.
46694 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46695 (_IO_file_xsgetn): Likewise.
46696 (_IO_file_xsgetn_mmap): Likewise.
46697 * libio/iofopncook.c (_IO_cookie_read): Likewise.
46698 (_IO_cookie_write): Likewise.
46699 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46700 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46701 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46702 * malloc/obstack.c (_obstack_begin): Likewise.
46703 (_obstack_begin_1): Likewise.
46704 (_obstack_newchunk): Likewise.
46705 (_obstack_allocated_p): Likewise.
46706 (obstack_free): Likewise.
46707 (_obstack_memory_used): Likewise.
46708 * misc/getttyent.c (getttynam): Likewise.
46709 (getttyent): Likewise.
46710 (skip): Likewise.
46711 (value): Likewise.
46712 * misc/getusershell.c (initshells): Likewise.
46713 * misc/syslog.c (__vsyslog_chk): Likewise.
46714 * misc/ttyslot.c (ttyslot): Likewise.
46715 * nis/nis_hash.c (__nis_hash): Likewise.
46716 * posix/fnmatch_loop.c (FCT): Likewise.
46717 * posix/getconf.c (print_all): Likewise.
46718 (main): Likewise.
46719 * posix/getopt.c (exchange): Likewise.
46720 * posix/glob.c (globfree): Likewise.
46721 (prefix_array): Likewise.
46722 (__glob_pattern_type): Likewise.
46723 * resolv/arpa/nameser.h (NS_GET16): Likewise.
46724 (NS_GET32): Likewise.
46725 (NS_PUT16): Likewise.
46726 (NS_PUT32): Likewise.
46727 * resolv/gethnamaddr.c (getanswer): Likewise.
46728 (gethostbyname2): Likewise.
46729 (gethostbyaddr): Likewise.
46730 (_gethtent): Likewise.
46731 (_gethtbyname2): Likewise.
46732 (_gethtbyaddr): Likewise.
46733 * resolv/ns_print.c (dst_s_get_int16): Likewise.
46734 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46735 * resolv/res_init.c (__res_vinit): Likewise.
46736 (net_mask): Likewise.
46737 * resolv/res_mkquery.c (outchar): Likewise.
46738 (PRINT): Likewise.
46739 * stdio-common/printf_fp.c (outchar): Likewise.
46740 (PRINT): Likewise.
46741 * stdio-common/printf_fphex.c (outchar): Likewise.
46742 (PRINT): Likewise.
46743 * stdio-common/printf_size.c (outchar): Likewise.
46744 (PRINT): Likewise.
46745 * stdio-common/test_rdwr.c (main): Likewise.
46746 * stdio-common/tfformat.c (matches): Likewise.
46747 * stdio-common/vfprintf.c (outchar): Likewise.
46748 (printf_unknown): Likewise.
46749 (buffered_vfprintf): Likewise.
46750 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46751 * stdio-common/xbug.c (AppendToBuffer): Likewise.
46752 (ReadFile): Likewise.
46753 * stdlib/qsort.c (SWAP): Likewise.
46754 (_quicksort): Likewise.
46755 * stdlib/setenv.c (__add_to_environ): Likewise.
46756 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46757 * stdlib/strtol_l.c (__strtol_l): Likewise.
46758 * stdlib/tst-strtod.c (main): Likewise.
46759 * stdlib/tst-strtol.c (main): Likewise.
46760 * stdlib/tst-strtoll.c (main): Likewise.
46761 * string/bits/string2.h (__strcmp_cc): Likewise.
46762 (__strcmp_cg): Likewise.
46763 (__strcspn_c1): Likewise.
46764 (__strcspn_c2): Likewise.
46765 (__strcspn_c3): Likewise.
46766 (__strspn_c1): Likewise.
46767 (__strspn_c2): Likewise.
46768 (__strspn_c3): Likewise.
46769 (__strsep_1c): Likewise.
46770 (__strsep_2c): Likewise.
46771 (__strsep_3c): Likewise.
46772 * string/memccpy.c (__memccpy): Likewise.
46773 * string/stpcpy.c (__stpcpy): Likewise.
46774 * string/strcmp.c (strcmp): Likewise.
46775 * string/strrchr.c (strrchr): Likewise.
46776 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46777 Likewise.
46778 * sysdeps/mach/hurd/getcwd.c
46779 (_hurd_canonicalize_directory_name_internal): Likewise.
46780 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46781 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46782 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46783 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46784 Likewise, in both definitions.
46785 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46786 definitions.
46787 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46788 64] (__bswap_64): Likewise.
46789 * time/test_time.c (main): Likewise.
46790 * time/tzfile.c (__tzfile_read): Likewise.
46791 (__tzfile_compute): Likewise.
46792 * time/tzset.c (__tzset_parse_tz): Likewise.
46793 (tzset_internal): Likewise.
46794 (compute_change): Likewise.
46795 * wcsmbs/wcscat.c (__wcscat): Likewise.
46796 * wcsmbs/wcschr.c (wcschr): Likewise.
46797 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46798 * wcsmbs/wcscspn.c (wcscspn): Likewise.
46799 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46800 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46801 * wcsmbs/wcsspn.c (wcsspn): Likewise.
46802 * wcsmbs/wcsstr.c (wcsstr): Likewise.
46803 * wcsmbs/wmemchr.c (wmemchr): Likewise.
46804 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46805 * wcsmbs/wmemset.c (wmemset): Likewise.
46806
46807 2013-06-06 Joseph Myers <joseph@codesourcery.com>
46808
46809 * scripts/config.guess: Update to version 2013-05-16.
46810 * scripts/config.sub: Update to version 2013-04-24.
46811 * scripts/install-sh: Update to version 2011-11-20.07.
46812 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46813 * scripts/move-if-change: Update to version 2012-01-06 07:23.
46814
46815 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
46816
46817 * debug/fgetws_u_chk.c: Fix leading whitespaces.
46818 * elf/sln.c: Likewise.
46819 * hurd/hurd/ioctl.h: Likewise.
46820 * hurd/hurdmalloc.c: Likewise.
46821 * hurd/xattr.c: Likewise.
46822 * include/shlib-compat.h: Likewise.
46823 * inet/ruserpass.c: Likewise.
46824 * libio/iofgets_u.c: Likewise.
46825 * libio/iofgetws_u.c: Likewise.
46826 * locale/programs/ld-identification.c: Likewise.
46827 * locale/programs/ld-time.c: Likewise.
46828 * mach/msg-destroy.c: Likewise.
46829 * nss/nss_files/files-netgrp.c: Likewise.
46830 * resolv/res_data.c: Likewise.
46831 * soft-fp/op-1.h: Likewise.
46832 * soft-fp/op-2.h: Likewise.
46833 * soft-fp/op-4.h: Likewise.
46834 * soft-fp/op-common.h: Likewise.
46835 * stdio-common/printf_fphex.c: Likewise.
46836 * stdlib/strtod_l.c: Likewise.
46837 * sunrpc/rpc/clnt.h: Likewise.
46838 * sysdeps/generic/framestate.c: Likewise.
46839 * sysdeps/i386/bsd-_setjmp.S: Likewise.
46840 * sysdeps/i386/bsd-setjmp.S: Likewise.
46841 * sysdeps/i386/__longjmp.S: Likewise.
46842 * sysdeps/i386/setjmp.S: Likewise.
46843 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46844 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46845 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46846 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46847 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46848 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46849 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46850 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46851 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46852 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46853 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46854 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46855 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46856 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46857 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46858 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46859 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46860 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46861 * sysdeps/ieee754/support.c: Likewise.
46862 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46863 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46864 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46865 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46866 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46867 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46868 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46869 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46870 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46871 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46872 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46873 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46874 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46875 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46876 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46877 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46878 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46880
46881 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
46882
46883 * posix/transbug.c: Remove executable mode.
46884
46885 2013-06-05 Joseph Myers <joseph@codesourcery.com>
46886
46887 * crypt/speeds.c: Remove trailing whitespace.
46888 * dlfcn/default.c: Likewise.
46889 * elf/ifuncdep2.c: Likewise.
46890 * elf/ifuncmain1.c: Likewise.
46891 * elf/ifuncmain1vis.c: Likewise.
46892 * elf/testobj.h: Likewise.
46893 * elf/tst-stackguard1.c: Likewise.
46894 * gmon/sys/gmon.h: Likewise.
46895 * hurd/hurdmsg.c: Likewise.
46896 * hurd/new-fd.c: Likewise.
46897 * hurd/ports-get.c: Likewise.
46898 * iconvdata/ibm1008_420.c: Likewise.
46899 * inet/tst-getni1.c: Likewise.
46900 * inet/tst-getni2.c: Likewise.
46901 * libio/ioungetc.c: Likewise.
46902 * libio/wfiledoalloc.c: Likewise.
46903 * manual/libm-err-tab.pl: Likewise.
46904 * math/w_dremf.c: Likewise.
46905 * misc/ftruncate.c: Likewise.
46906 * posix/bug-glob2.c: Likewise.
46907 * posix/tst-pcre.c: Likewise.
46908 * posix/wait4.c: Likewise.
46909 * resolv/README: Likewise.
46910 * resolv/res_debug.h: Likewise.
46911 * resolv/tst-inet_ntop.c: Likewise.
46912 * setjmp/bug269-setjmp.c: Likewise.
46913 * soft-fp/extended.h: Likewise.
46914 * soft-fp/op-1.h: Likewise.
46915 * soft-fp/op-2.h: Likewise.
46916 * soft-fp/op-4.h: Likewise.
46917 * soft-fp/op-8.h: Likewise.
46918 * soft-fp/testit.c: Likewise.
46919 * stdio-common/bug16.c: Likewise.
46920 * stdlib/random.c: Likewise.
46921 * sunrpc/rpcsvc/rquota.x: Likewise.
46922 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46923 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46924 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46925 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46926 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46927 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46928 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46929 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46930 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46931 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46932 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46933 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46934 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46935 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46936 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46937 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46938 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46939 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46940 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46941 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46942 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46943 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46944 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46945 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46946 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46947 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46948 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46949 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46950 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46951 * sysdeps/ieee754/s_lib_version.c: Likewise.
46952 * sysdeps/mach/hurd/check_fds.c: Likewise.
46953 * sysdeps/mach/hurd/getsockname.c: Likewise.
46954 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46955 * sysdeps/mach/hurd/recvfrom.c: Likewise.
46956 * sysdeps/powerpc/bits/link.h: Likewise.
46957 * sysdeps/powerpc/dl-procinfo.c: Likewise.
46958 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46959 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46960 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46961 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46962 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46963 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46964 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46965 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46966 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46967 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46968 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46969 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46970 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46971 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46972 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46973 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46974 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46975 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46976 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46977 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46978 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46979 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46980 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46981 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46982 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46983 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46984 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46985 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46986 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46987 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46988 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46989 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46990 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46991 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46992 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46993 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46994 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46995 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46996 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46997 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46998 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46999 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47000 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47001 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47002 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47003 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47004 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47005 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47006 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47007 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47008 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47009 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47010 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47011 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47012 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
47013 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
47014 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47015 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
47016 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47017 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
47018 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
47019 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
47020 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47021 * sysdeps/powerpc/sysdep.h: Likewise.
47022 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47023 * sysdeps/s390/s390-64/sub_n.S: Likewise.
47024 * sysdeps/sh/dl-trampoline.S: Likewise.
47025 * sysdeps/sh/memset.S: Likewise.
47026 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
47027 * sysdeps/sh/strlen.S: Likewise.
47028 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
47029 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
47030 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
47031 * sysdeps/sparc/sparc32/rem.S: Likewise.
47032 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
47033 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
47034 * sysdeps/sparc/sparc32/strchr.S: Likewise.
47035 * sysdeps/sparc/sparc32/udiv.S: Likewise.
47036 * sysdeps/sparc/sparc32/urem.S: Likewise.
47037 * sysdeps/sparc/sparc64/add_n.S: Likewise.
47038 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47039 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
47040 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
47041 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
47042 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
47043 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
47044 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
47045 * sysdeps/unix/bsd/times.c: Likewise.
47046 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
47047 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
47048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47051 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
47052 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47053 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
47054 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
47055 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
47056 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
47057 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47058 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
47059 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47060 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47061 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
47062 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47063 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
47064 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
47065 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
47066 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
47067 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
47068 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47069 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
47070 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
47071 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
47072 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
47073 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47074 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
47075 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
47076 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
47077 * sysdeps/x86_64/strcspn.S: Likewise.
47078
47079 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47080
47081 * locale/C-translit.h: Revert #include <stdint.h> because this is a
47082 generated file. Regenerate properly from gen-translit.pl.
47083 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
47084 locale/C-translit.h.
47085
47086 2013-06-05 Andreas Schwab <schwab@suse.de>
47087
47088 [BZ #15100]
47089 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
47090 week as 6 instead of -1.
47091 * time/tst-strptime.c (day_tests): Add test case.
47092
47093 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47094
47095 * sysdeps/generic/math_private.h
47096 (libc_feholdexcept_setround_53bit): Replace with
47097 libc_feholdsetround_53bit.
47098 (libc_feupdateenv_53bit): Replace with
47099 libc_feresetround_53bit.
47100 (SET_RESTORE_ROUND_53BIT): Adjust.
47101
47102 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
47103
47104 * string/test-strchrnul.c: Add copyright header.
47105
47106 * posix/tst-getaddrinfo4.c: Increase test timeout.
47107
47108 2013-06-03 Carlos O'Donell <carlos@redhat.com>
47109
47110 [BZ #15536]
47111 * math/libm-test.inc (MAX_EXP): Remove
47112 (MIN_EXP): Define.
47113 (ulp): Use MIN_EXP - MANT_DIG.
47114 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
47115
47116 2013-05-31 Carlos O'Donell <carlos@redhat.com>
47117
47118 * po/be.po: Revert last change.
47119 * po/zh_CN.po: Likewise.
47120 * po/header.pot: Likewise.
47121
47122 2013-05-31 Joseph Myers <joseph@codesourcery.com>
47123
47124 * Makefile ($(common-objpfx)linkobj/libc.so): Define
47125 link-libc-deps to empty as target-specific variable.
47126 * Makerules (link-libc-args): New variable.
47127 (libc-for-link): Likewise.
47128 (link-libc-deps): Likewise.
47129 (lib%.so): Depend on $(link-libc-deps). Link with
47130 $(link-libc-args).
47131 (build-module): Link with $(link-libc-args).
47132 (build-module-asneeded): Likewise.
47133 (build-module-helper-objlist): Filter out $(link-libc-deps) from
47134 list of objects.
47135 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47136 target-specific variable.
47137 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47138 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47139 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47140 libc.
47141 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47142 libc and ld.so.
47143 ($(objpfx)libpcprofile.so): Likewise.
47144 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47145 libc_nonshared.a.
47146 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47147 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47148 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47149 $(link-libc-deps).
47150 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47151 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47152 * login/Makefile ($(objpfx)libutil.so): Likewise.
47153 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47154 * math/Makefile ($(objpfx)libm.so): Likewise.
47155 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47156 $(objpfx)libnsl.so): Define libc-for-link as target-specific
47157 variable instead of depending directly on libc.
47158 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47159 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47160 $(link-libc-deps).
47161 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47162 libc.
47163 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47164 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47165 ($(objpfx)libanl.so): Likewise.
47166 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47167 ld.so.
47168 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47169 $(link-libc-deps).
47170 * sysdeps/i386/fpu/Makefile: Remove file.
47171 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47172 ($(objpfx)libm.so): Remove dependency on ld.so.
47173
47174 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
47175
47176 [BZ # 15553]
47177 * nis/yp_xdr.c (XDRMAXNAME): Define.
47178 (XDRMAXRECORD): Define.
47179 (xdr_domainname): Use XDRMAXNAME.
47180 (xdr_mapname): Likewise.
47181 (xdr_peername): Likewise.
47182 (xdr_keydat): Use XDRMAXRECORD.
47183 (xdr_valdat): Likewise.
47184
47185 2013-05-30 Jeff Law <law@redhat.com>
47186
47187 [BZ #14256]
47188 * manual/errno.texi (ESTALE): Update to account for more than
47189 just NFS file systems.
47190 * sysdeps/gnu/errlist.c: Regenerated.
47191
47192 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
47193
47194 [BZ #15465]
47195 * elf/Makefile (tests): Add tst-null-argv.
47196 (modules-names): Add tst-null-argv-lib.
47197 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47198 (tst-null-argv-ENV): Set environment for tst-null-argv.
47199 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47200 (RTLD_PROGNAME): New macro.
47201 * elf/tst-null-argv.c: New test case.
47202 * elf/tst-null-argv-lib.c: Library for test case.
47203 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47204 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47205 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47206 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47207 * elf/dl-init.c (call_init): Likewise.
47208 (_dl_init): Likewise.
47209 * elf/dl-load.c (print_search_path): Likewise.
47210 (_dl_map_object): Likewise.
47211 * elf/dl-lookup.c (do_lookup_x): Likewise.
47212 (add_dependency): Likewise.
47213 (_dl_lookup_symbol_x): Likewise.
47214 (_dl_debug_bindings): Likewise.
47215 * elf/dl-open.c (_dl_show_scope): Likewise.
47216 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47217 * elf/dl-version.c (match_symbol): Likewise.
47218 (_dl_check_map_versions): Likewise.
47219 * elf/rtld.c (dl_main): Likewise.
47220 (print_unresolved): Use RTLD_PROGNAME.
47221 (print_missing_version): Likewise.
47222 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47223 (elf_machine_rela): Likewise.
47224 * sysdeps/powerpc/powerpc32/dl-machine.c
47225 (__process_machine_rela): Likewise.
47226 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47227 Likewise.
47228 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47229 Likewise.
47230 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47231 Likewise.
47232 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47233 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47234 Likewise.
47235 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47236 Likewise.
47237 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47238
47239 2013-05-28 Carlos O'Donell <carlos@redhat.com>
47240
47241 * po/be.po: Add descriptive title.
47242 * po/zh_CN.po: Likewise.
47243 * po/header.pot: Likewise.
47244
47245 2013-05-28 Mike Frysinger <vapier@gentoo.org>
47246
47247 * locale/programs/locarchive.c (create_archive): Inlucde fname in
47248 error message.
47249 (enlarge_archive): Likewise.
47250
47251 2013-05-28 Ben North <ben@redfrontdoor.org>
47252
47253 * manual/arith.texi (frexp): It is the magnitude of the return
47254 value which lies in [0.5, 1), not the return value itself.
47255
47256 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47257
47258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47259
47260 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
47261
47262 * stdio-common/bug26.c (main): Correct fscanf template.
47263
47264 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47265 declare _dl_skip_args.
47266
47267 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47268 Don't declare.
47269
47270 * manual/platform.texi: Add missing @end deftypefun.
47271
47272 2013-05-24 Joseph Myers <joseph@codesourcery.com>
47273
47274 [BZ #15529]
47275 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47276 bit of mantissa of 2^16382.
47277 * math/libm-test.inc (hypot_test_data): Add more tests.
47278
47279 * math/libm-test.inc: Add drem and pow10 to list of tested
47280 functions.
47281 (pow10_test): New function.
47282 (drem_test): Likewise.
47283 (drem_test_tonearest): Likewise.
47284 (drem_test_towardzero): Likewise.
47285 (drem_test_downward): Likewise.
47286 (drem_test_upward): Likewise.
47287 (main): Call the new functions.
47288
47289 * math/libm-test.inc (finite_test_data): Remove.
47290 (finite_test): Run tests from isfinite_test_data.
47291 (gamma_test_data): Remove.
47292 (gamma_test): Run tests from lgamma_test_data.
47293 * sysdeps/i386/fpu/libm-test-ulps: Update.
47294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47295
47296 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47297
47298 * manual/platform.texi: Add PowerPC PPR function set documentation.
47299 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
47300 implementation.
47301
47302 2013-05-24 Carlos O'Donell <carlos@redhat.com>
47303
47304 * math/libm-test.inc (MAX_EXP): Define.
47305 (ULPDIFF): Define.
47306 (ulp): New function.
47307 (check_float_internal): Use ULPDIFF.
47308 (cpow_test): Disable failing test.
47309 (check_ulp): Test ulp() implemetnation.
47310 (main): Call check_ulp before starting tests.
47311
47312 2013-05-24 Joseph Myers <joseph@codesourcery.com>
47313
47314 * math/gen-libm-test.pl (generate_testfile): Do not handle
47315 START_DATA and END_DATA.
47316 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
47317 END_DATA.
47318 (acos_tonearest_test_data): Likewise.
47319 (acos_towardzero_test_data): Likewise.
47320 (acos_downward_test_data): Likewise.
47321 (acos_upward_test_data): Likewise.
47322 (acosh_test_data): Likewise.
47323 (asin_test_data): Likewise.
47324 (asin_tonearest_test_data): Likewise.
47325 (asin_towardzero_test_data): Likewise.
47326 (asin_downward_test_data): Likewise.
47327 (asin_upward_test_data): Likewise.
47328 (asinh_test_data): Likewise.
47329 (atan_test_data): Likewise.
47330 (atanh_test_data): Likewise.
47331 (atan2_test_data): Likewise.
47332 (cabs_test_data): Likewise.
47333 (cacos_test_data): Likewise.
47334 (cacosh_test_data): Likewise.
47335 (carg_test_data): Likewise.
47336 (casin_test_data): Likewise.
47337 (casinh_test_data): Likewise.
47338 (catan_test_data): Likewise.
47339 (catanh_test_data): Likewise.
47340 (cbrt_test_data): Likewise.
47341 (ccos_test_data): Likewise.
47342 (ccosh_test_data): Likewise.
47343 (ceil_test_data): Likewise.
47344 (cexp_test_data): Likewise.
47345 (cimag_test_data): Likewise.
47346 (clog_test_data): Likewise.
47347 (clog10_test_data): Likewise.
47348 (conj_test_data): Likewise.
47349 (copysign_test_data): Likewise.
47350 (cos_test_data): Likewise.
47351 (cos_tonearest_test_data): Likewise.
47352 (cos_towardzero_test_data): Likewise.
47353 (cos_downward_test_data): Likewise.
47354 (cos_upward_test_data): Likewise.
47355 (cosh_test_data): Likewise.
47356 (cosh_tonearest_test_data): Likewise.
47357 (cosh_towardzero_test_data): Likewise.
47358 (cosh_downward_test_data): Likewise.
47359 (cosh_upward_test_data): Likewise.
47360 (cpow_test_data): Likewise.
47361 (cproj_test_data): Likewise.
47362 (creal_test_data): Likewise.
47363 (csin_test_data): Likewise.
47364 (csinh_test_data): Likewise.
47365 (csqrt_test_data): Likewise.
47366 (ctan_test_data): Likewise.
47367 (ctan_tonearest_test_data): Likewise.
47368 (ctan_towardzero_test_data): Likewise.
47369 (ctan_downward_test_data): Likewise.
47370 (ctan_upward_test_data): Likewise.
47371 (ctanh_test_data): Likewise.
47372 (ctanh_tonearest_test_data): Likewise.
47373 (ctanh_towardzero_test_data): Likewise.
47374 (ctanh_downward_test_data): Likewise.
47375 (ctanh_upward_test_data): Likewise.
47376 (erf_test_data): Likewise.
47377 (erfc_test_data): Likewise.
47378 (exp_test_data): Likewise.
47379 (exp_tonearest_test_data): Likewise.
47380 (exp_towardzero_test_data): Likewise.
47381 (exp_downward_test_data): Likewise.
47382 (exp_upward_test_data): Likewise.
47383 (exp10_test_data): Likewise.
47384 (exp2_test_data): Likewise.
47385 (expm1_test_data): Likewise.
47386 (fabs_test_data): Likewise.
47387 (fdim_test_data): Likewise.
47388 (finite_test_data): Likewise.
47389 (floor_test_data): Likewise.
47390 (fma_test_data): Likewise.
47391 (fma_towardzero_test_data): Likewise.
47392 (fma_downward_test_data): Likewise.
47393 (fma_upward_test_data): Likewise.
47394 (fmax_test_data): Likewise.
47395 (fmin_test_data): Likewise.
47396 (fmod_test_data): Likewise.
47397 (fpclassify_test_data): Likewise.
47398 (frexp_test_data): Likewise.
47399 (gamma_test_data): Likewise.
47400 (hypot_test_data): Likewise.
47401 (ilogb_test_data): Likewise.
47402 (isfinite_test_data): Likewise.
47403 (isgreater_test_data): Likewise.
47404 (isgreaterequal_test_data): Likewise.
47405 (isinf_test_data): Likewise.
47406 (isless_test_data): Likewise.
47407 (islessequal_test_data): Likewise.
47408 (islessgreater_test_data): Likewise.
47409 (isnan_test_data): Likewise.
47410 (isnormal_test_data): Likewise.
47411 (issignaling_test_data): Likewise.
47412 (isunordered_test_data): Likewise.
47413 (j0_test_data): Likewise.
47414 (j1_test_data): Likewise.
47415 (jn_test_data): Likewise.
47416 (ldexp_test_data): Likewise.
47417 (lgamma_test_data): Likewise.
47418 (lrint_test_data): Likewise.
47419 (lrint_tonearest_test_data): Likewise.
47420 (lrint_towardzero_test_data): Likewise.
47421 (lrint_downward_test_data): Likewise.
47422 (lrint_upward_test_data): Likewise.
47423 (llrint_test_data): Likewise.
47424 (llrint_tonearest_test_data): Likewise.
47425 (llrint_towardzero_test_data): Likewise.
47426 (llrint_downward_test_data): Likewise.
47427 (llrint_upward_test_data): Likewise.
47428 (log_test_data): Likewise.
47429 (log10_test_data): Likewise.
47430 (log1p_test_data): Likewise.
47431 (log2_test_data): Likewise.
47432 (logb_test_data): Likewise.
47433 (logb_downward_test_data): Likewise.
47434 (lround_test_data): Likewise.
47435 (llround_test_data): Likewise.
47436 (modf_test_data): Likewise.
47437 (nearbyint_test_data): Likewise.
47438 (nextafter_test_data): Likewise.
47439 (nexttoward_test_data): Likewise.
47440 (pow_test_data): Likewise.
47441 (pow_tonearest_test_data): Likewise.
47442 (pow_towardzero_test_data): Likewise.
47443 (pow_downward_test_data): Likewise.
47444 (pow_upward_test_data): Likewise.
47445 (remainder_test_data): Likewise.
47446 (remainder_tonearest_test_data): Likewise.
47447 (remainder_towardzero_test_data): Likewise.
47448 (remainder_downward_test_data): Likewise.
47449 (remainder_upward_test_data): Likewise.
47450 (remquo_test_data): Likewise.
47451 (rint_test_data): Likewise.
47452 (rint_tonearest_test_data): Likewise.
47453 (rint_towardzero_test_data): Likewise.
47454 (rint_downward_test_data): Likewise.
47455 (rint_upward_test_data): Likewise.
47456 (round_test_data): Likewise.
47457 (scalb_test_data): Likewise.
47458 (scalbn_test_data): Likewise.
47459 (scalbln_test_data): Likewise.
47460 (signbit_test_data): Likewise.
47461 (sin_test_data): Likewise.
47462 (sin_tonearest_test_data): Likewise.
47463 (sin_towardzero_test_data): Likewise.
47464 (sin_downward_test_data): Likewise.
47465 (sin_upward_test_data): Likewise.
47466 (sincos_test_data): Likewise.
47467 (sinh_test_data): Likewise.
47468 (sinh_tonearest_test_data): Likewise.
47469 (sinh_towardzero_test_data): Likewise.
47470 (sinh_downward_test_data): Likewise.
47471 (sinh_upward_test_data): Likewise.
47472 (sqrt_test_data): Likewise.
47473 (tan_test_data): Likewise.
47474 (tan_tonearest_test_data): Likewise.
47475 (tan_towardzero_test_data): Likewise.
47476 (tan_downward_test_data): Likewise.
47477 (tan_upward_test_data): Likewise.
47478 (tanh_test_data): Likewise.
47479 (tgamma_test_data): Likewise.
47480 (trunc_test_data): Likewise.
47481 (y0_test_data): Likewise.
47482 (y1_test_data): Likewise.
47483 (yn_test_data): Likewise.
47484 (significand_test_data): Likewise.
47485
47486 * math/gen-libm-test.pl (@functions): Remove variable.
47487 (generate_testfile): Don't handle START and END lines.
47488 * math/libm-test.inc (START): New macro.
47489 (END): Likewise.
47490 (END_COMPLEX): Likewise.
47491 (acos_test): Use END macro without arguments.
47492 (acos_test_tonearest): Likewise.
47493 (acos_test_towardzero): Likewise.
47494 (acos_test_downward): Likewise.
47495 (acos_test_upward): Likewise.
47496 (acosh_test): Likewise.
47497 (asin_test): Likewise.
47498 (asin_test_tonearest): Likewise.
47499 (asin_test_towardzero): Likewise.
47500 (asin_test_downward): Likewise.
47501 (asin_test_upward): Likewise.
47502 (asinh_test): Likewise.
47503 (atan_test): Likewise.
47504 (atanh_test): Likewise.
47505 (atan2_test): Likewise.
47506 (cabs_test): Likewise.
47507 (cacos_test): Use END_COMPLEX macro without arguments.
47508 (cacosh_test): Likewise.
47509 (carg_test): Use END macro without arguments.
47510 (casin_test): Use END_COMPLEX macro without arguments.
47511 (casinh_test): Likewise.
47512 (catan_test): Likewise.
47513 (catanh_test): Likewise.
47514 (cbrt_test): Use END macro without arguments.
47515 (ccos_test): Use END_COMPLEX macro without arguments.
47516 (ccosh_test): Likewise.
47517 (ceil_test): Use END macro without arguments.
47518 (cexp_test): Use END_COMPLEX macro without arguments.
47519 (cimag_test): Use END macro without arguments.
47520 (clog_test): Use END_COMPLEX macro without arguments.
47521 (clog10_test): Likewise.
47522 (conj_test): Likewise.
47523 (copysign_test): Use END macro without arguments.
47524 (cos_test): Likewise.
47525 (cos_test_tonearest): Likewise.
47526 (cos_test_towardzero): Likewise.
47527 (cos_test_downward): Likewise.
47528 (cos_test_upward): Likewise.
47529 (cosh_test): Likewise.
47530 (cosh_test_tonearest): Likewise.
47531 (cosh_test_towardzero): Likewise.
47532 (cosh_test_downward): Likewise.
47533 (cosh_test_upward): Likewise.
47534 (cpow_test): Use END_COMPLEX macro without arguments.
47535 (cproj_test): Likewise.
47536 (creal_test): Use END macro without arguments.
47537 (csin_test): Use END_COMPLEX macro without arguments.
47538 (csinh_test): Likewise.
47539 (csqrt_test): Likewise.
47540 (ctan_test): Likewise.
47541 (ctan_test_tonearest): Likewise.
47542 (ctan_test_towardzero): Likewise.
47543 (ctan_test_downward): Likewise.
47544 (ctan_test_upward): Likewise.
47545 (ctanh_test): Likewise.
47546 (ctanh_test_tonearest): Likewise.
47547 (ctanh_test_towardzero): Likewise.
47548 (ctanh_test_downward): Likewise.
47549 (ctanh_test_upward): Likewise.
47550 (erf_test): Use END macro without arguments.
47551 (erfc_test): Likewise.
47552 (exp_test): Likewise.
47553 (exp_test_tonearest): Likewise.
47554 (exp_test_towardzero): Likewise.
47555 (exp_test_downward): Likewise.
47556 (exp_test_upward): Likewise.
47557 (exp10_test): Likewise.
47558 (exp2_test): Likewise.
47559 (expm1_test): Likewise.
47560 (fabs_test): Likewise.
47561 (fdim_test): Likewise.
47562 (finite_test): Likewise.
47563 (floor_test): Likewise.
47564 (fma_test): Likewise.
47565 (fma_test_towardzero): Likewise.
47566 (fma_test_downward): Likewise.
47567 (fma_test_upward): Likewise.
47568 (fmax_test): Likewise.
47569 (fmin_test): Likewise.
47570 (fmod_test): Likewise.
47571 (fpclassify_test): Likewise.
47572 (frexp_test): Likewise.
47573 (gamma_test): Likewise.
47574 (hypot_test): Likewise.
47575 (ilogb_test): Likewise.
47576 (isfinite_test): Likewise.
47577 (isgreater_test): Likewise.
47578 (isgreaterequal_test): Likewise.
47579 (isinf_test): Likewise.
47580 (isless_test): Likewise.
47581 (islessequal_test): Likewise.
47582 (islessgreater_test): Likewise.
47583 (isnan_test): Likewise.
47584 (isnormal_test): Likewise.
47585 (issignaling_test): Likewise.
47586 (isunordered_test): Likewise.
47587 (j0_test): Likewise.
47588 (j1_test): Likewise.
47589 (jn_test): Likewise.
47590 (ldexp_test): Likewise.
47591 (lgamma_test): Likewise.
47592 (lrint_test): Likewise.
47593 (lrint_test_tonearest): Likewise.
47594 (lrint_test_towardzero): Likewise.
47595 (lrint_test_downward): Likewise.
47596 (lrint_test_upward): Likewise.
47597 (llrint_test): Likewise.
47598 (llrint_test_tonearest): Likewise.
47599 (llrint_test_towardzero): Likewise.
47600 (llrint_test_downward): Likewise.
47601 (llrint_test_upward): Likewise.
47602 (log_test): Likewise.
47603 (log10_test): Likewise.
47604 (log1p_test): Likewise.
47605 (log2_test): Likewise.
47606 (logb_test): Likewise.
47607 (logb_test_downward): Likewise.
47608 (lround_test): Likewise.
47609 (llround_test): Likewise.
47610 (modf_test): Likewise.
47611 (nearbyint_test): Likewise.
47612 (nextafter_test): Likewise.
47613 (nexttoward_test): Likewise.
47614 (pow_test): Likewise.
47615 (pow_test_tonearest): Likewise.
47616 (pow_test_towardzero): Likewise.
47617 (pow_test_downward): Likewise.
47618 (pow_test_upward): Likewise.
47619 (remainder_test): Likewise.
47620 (remainder_test_tonearest): Likewise.
47621 (remainder_test_towardzero): Likewise.
47622 (remainder_test_downward): Likewise.
47623 (remainder_test_upward): Likewise.
47624 (remquo_test): Likewise.
47625 (rint_test): Likewise.
47626 (rint_test_tonearest): Likewise.
47627 (rint_test_towardzero): Likewise.
47628 (rint_test_downward): Likewise.
47629 (rint_test_upward): Likewise.
47630 (round_test): Likewise.
47631 (scalb_test): Likewise.
47632 (scalbn_test): Likewise.
47633 (scalbln_test): Likewise.
47634 (signbit_test): Likewise.
47635 (sin_test): Likewise.
47636 (sin_test_tonearest): Likewise.
47637 (sin_test_towardzero): Likewise.
47638 (sin_test_downward): Likewise.
47639 (sin_test_upward): Likewise.
47640 (sincos_test): Likewise.
47641 (sinh_test): Likewise.
47642 (sinh_test_tonearest): Likewise.
47643 (sinh_test_towardzero): Likewise.
47644 (sinh_test_downward): Likewise.
47645 (sinh_test_upward): Likewise.
47646 (sqrt_test): Likewise.
47647 (tan_test): Likewise.
47648 (tan_test_tonearest): Likewise.
47649 (tan_test_towardzero): Likewise.
47650 (tan_test_downward): Likewise.
47651 (tan_test_upward): Likewise.
47652 (tanh_test): Likewise.
47653 (tgamma_test): Likewise.
47654 (trunc_test): Likewise.
47655 (y0_test): Likewise.
47656 (y1_test): Likewise.
47657 (yn_test): Likewise.
47658 (significand_test): Likewise.
47659
47660 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
47661
47662 [BZ #15381]
47663 * libio/genops.c (_IO_no_init): Initialize wide struct info.
47664
47665 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
47666
47667 [BZ #14894]
47668 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47669 __ppc_mdoio and __ppc_mdoom.
47670 * manual/platform.texi: Document new functions __ppc_yield,
47671 __ppc_mdoio and __ppc_mdoom.
47672
47673 2013-05-22 Carlos O'Donell <carlos@redhat.com>
47674
47675 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47676 (main): Mention "tls" pseudo-hwcap is legacy.
47677 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47678
47679 2013-05-22 Joseph Myers <joseph@codesourcery.com>
47680
47681 * math/gen-libm-test.pl (parse_args): Output only string of
47682 arguments as text for test name, not full call or descriptions of
47683 tests for extra outputs.
47684 (generate_testfile): Do not pass function name to parse_args.
47685 Generate this_func variable from START.
47686 * math/libm-test.inc (struct test_f_f_data): Rename test_name
47687 field to arg_str.
47688 (struct test_ff_f_data): Likewise.
47689 (test_ff_f_data_nexttoward): Likewise.
47690 (struct test_fi_f_data): Likewise.
47691 (struct test_fl_f_data): Likewise.
47692 (struct test_if_f_data): Likewise.
47693 (struct test_fff_f_data): Likewise.
47694 (struct test_c_f_data): Likewise.
47695 (struct test_f_f1_data): Likewise. Remove field extra_name.
47696 (struct test_fF_f1_data): Likewise.
47697 (struct test_ffI_f1_data): Likewise.
47698 (struct test_c_c_data): Rename test_name field to arg_str.
47699 (struct test_cc_c_data): Likewise.
47700 (struct test_f_i_data): Likewise.
47701 (struct test_ff_i_data): Likewise.
47702 (struct test_f_l_data): Likewise.
47703 (struct test_f_L_data): Likewise.
47704 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
47705 and extra2_name.
47706 (COMMON_TEST_SETUP): New macro.
47707 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47708 (COMMON_TEST_CLEANUP): Likewise.
47709 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47710 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
47711 macros.
47712 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47713 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
47714 macros.
47715 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47716 (RUN_TEST_fff_f): Take argument string. Call new setup and
47717 cleanup macros.
47718 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47719 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
47720 macros.
47721 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47722 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
47723 macros.
47724 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47725 (RUN_TEST_fF_f1): Take argument string. Call new setup and
47726 cleanup macros.
47727 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47728 (RUN_TEST_fI_f1): Take argument string. Call new setup and
47729 cleanup macros.
47730 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47731 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
47732 cleanup macros.
47733 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47734 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
47735 macros.
47736 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47737 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
47738 macros.
47739 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47740 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
47741 macros.
47742 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47743 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
47744 cleanup macros.
47745 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47746 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
47747 cleanup macros.
47748 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47749 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
47750 macros.
47751 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47752 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
47753 cleanup macros.
47754 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47755 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
47756 macros.
47757 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47758 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
47759 macros.
47760 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47761 (RUN_TEST_fFF_11): Take argument string. Call new setup and
47762 cleanup macros.
47763 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47764
47765 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
47766
47767 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47768 to _sifields.sigfault.
47769 (si_addr_lsb): Define new macro.
47770 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47771 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47772 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47773
47774 2013-05-03 Carlos O'Donell <carlos at redhat.com>
47775
47776 [BZ #15441]
47777 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47778 returns -1.
47779 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47780 null return -1.
47781 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47782 loading the domain.
47783
47784 2013-05-22 Joseph Myers <joseph@codesourcery.com>
47785
47786 * math/gen-libm-test.pl (parse_args): Do not include expected
47787 result in test name.
47788 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47789 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47790 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47791 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47792 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47794
47795 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47796
47797 * benchtests/Makefile: Sort function entries.
47798
47799 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47800 tanh, asinh, acosh, atanh.
47801 * benchtests/acos-inputs: New file.
47802 * benchtests/acosh-inputs: New file.
47803 * benchtests/asin-inputs: New file.
47804 * benchtests/asinh-inputs: New file.
47805 * benchtests/atanh-inputs: New file.
47806 * benchtests/cosh-inputs: New file.
47807 * benchtests/log-inputs: New file.
47808 * benchtests/sinh-inputs: New file.
47809 * benchtests/tanh-inputs: New file.
47810
47811 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
47812
47813 [BZ #15339]
47814 * posix/tst-getaddrinfo4.c: New test.
47815 * posix/Makefile (tests): Add it.
47816
47817 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47818
47819 [BZ #15339]
47820 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47821 when no services were used.
47822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47823 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47824
47825 2013-05-21 Andreas Schwab <schwab@suse.de>
47826
47827 [BZ #15014]
47828 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47829 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47830 successful.
47831 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47832 redundant variable declarations and reallocation of buffer when
47833 parsing as IPv6 address. Always set NSS status when called from
47834 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
47835 buffer too small. Correct computation of needed size.
47836 * nss/Makefile (tests): Add test-digits-dots.
47837 * nss/test-digits-dots.c: New test.
47838
47839 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47840
47841 * benchtests/Makefile: Remove instructions for adding
47842 benchmark tests.
47843 * benchtests/README: New file to explain how to execute and
47844 enhance the benchmark tests.
47845
47846 2013-05-21 Andreas Schwab <schwab@suse.de>
47847
47848 [BZ #15493]
47849 * setjmp/Makefile (tests): Add tst-sigsetjmp.
47850 * setjmp/tst-sigsetjmp.c: New test.
47851
47852 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
47853
47854 * sysdeps/x86_64/memset.S (memset): New implementation.
47855 (__bzero): Likewise.
47856 (__memset_tail): New function.
47857
47858 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
47859
47860 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47861 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47862 __memcpy_sse2_unaligned ifunc selection.
47863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47864 Add memcpy-sse2-unaligned.S.
47865 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47866 Add: __memcpy_sse2_unaligned.
47867
47868 2013-05-19 Joseph Myers <joseph@codesourcery.com>
47869
47870 [BZ #15490]
47871 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47872 math_force_eval before restoring floating-point envrionment.
47873 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47874 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47875 Likewise.
47876 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47877 <math_private.h>.
47878 (__nearbyintl): Use math_force_eval before restoring
47879 floating-point environment.
47880 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47881
47882 * math/gen-libm-test.pl (special_functions): Remove.
47883 (parse_args): Don't handle TEST_extra. Handle functions with no
47884 return value.
47885 * math/libm-test.inc (struct test_sincos_data): Replace with
47886 struct test_fFF_11_data.
47887 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47888 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47889 (sincos_test_data): Change element type to struct
47890 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
47891 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47892 RUN_TEST_LOOP_sincos.
47893 * math/README.libm-test: Don't mention special handling of
47894 individual functions.
47895 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47896 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47897 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47898 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47899 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47901
47902 * math/gen-libm-test.pl (get_variable): Remove function.
47903 (parse_args): Don't show pointer parameters to call in test
47904 names. Use "extra output N" in test names for extra outputs
47905 rather than naming variables.
47906
47907 2013-05-18 Joseph Myers <joseph@codesourcery.com>
47908
47909 [BZ #15488]
47910 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47911 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47912 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47913 double tests.
47914 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47915 disable.
47916 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47917 check_long_double.
47918
47919 * math/gen-libm-test.pl (@tests): Remove variable.
47920 ($count): Likewise.
47921 (new_test): Remove function.
47922 (show_exceptions): New function.
47923 (special_functions): Use show_exceptions instead of new_test.
47924 (parse_args): Likewise.
47925 (generate_testfile): Pass only function name in generated call to
47926 print_max_error or print_complex_max_error.
47927 (get_ulps): Do not handle complex tests specially.
47928 (output_test): Rename to ...
47929 (get_all_ulps_for_test): ... this. Return a string rather than
47930 printing to a file. Require ulps to be present.
47931 (output_ulps): Generate arrays rather than #defines.
47932 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47933 (struct ulp_data): New type.
47934 (BUILD_COMPLEX_ULP): Remove macro.
47935 (compare_ulp_data): New function.
47936 (find_ulps): Likewise.
47937 (find_test_ulps): Likewise.
47938 (find_function_ulps): Likewise.
47939 (find_complex_function_ulps): Likewise.
47940 (print_max_error): Determine allowed ulps using
47941 find_function_ulps.
47942 (print_complex_max_error): Determine allowed ulps using
47943 find_complex_function_ulps.
47944 (check_float_internal): Determine max ulps using find_test_ulps.
47945 (check_float): Do not take max_ulp parameter. Update call to
47946 check_float_internal.
47947 (check_complex): Likewise.
47948 (check_int): Do not take max_ulp parameter.
47949 (check_long): Likewise.
47950 (check_bool): Likewise.
47951 (check_longlong): Likewise.
47952 (struct test_f_f_data): Remove max_ulp field.
47953 (struct test_ff_f_data): Likewise.
47954 (struct test_ff_f_data_nexttoward): Likewise.
47955 (struct test_fi_f_data): Likewise.
47956 (struct test_fl_f_data): Likewise.
47957 (struct test_if_f_data): Likewise.
47958 (struct test_fff_f_data): Likewise.
47959 (struct test_c_f_data): Likewise.
47960 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47961 (struct test_fF_f1_data): Likewise.
47962 (struct test_ffI_f1_data): Likewise.
47963 (struct test_c_c_data): Remove max_ulp field.
47964 (struct test_cc_c_data): Likewise.
47965 (struct test_f_i_data): Likewise.
47966 (struct test_ff_i_data): Likewise.
47967 (struct test_f_l_data): Likewise.
47968 (struct test_f_L_data): Likewise.
47969 (struct test_sincos_data): Likewise.
47970 (RUN_TEST_f_f): Do not handle ulps.
47971 (RUN_TEST_LOOP_f_f): Likewise.
47972 (RUN_TEST_2_f): Likewise.
47973 (RUN_TEST_LOOP_2_f): Likewise.
47974 (RUN_TEST_fff_f): Likewise.
47975 (RUN_TEST_LOOP_fff_f): Likewise.
47976 (RUN_TEST_c_f): Likewise.
47977 (RUN_TEST_LOOP_c_f): Likewise.
47978 (RUN_TEST_f_f1): Likewise.
47979 (RUN_TEST_LOOP_f_f1): Likewise.
47980 (RUN_TEST_fF_f1): Likewise.
47981 (RUN_TEST_LOOP_fF_f1): Likewise.
47982 (RUN_TEST_fI_f1): Likewise.
47983 (RUN_TEST_LOOP_fI_f1): Likewise.
47984 (RUN_TEST_ffI_f1): Likewise.
47985 (RUN_TEST_LOOP_ffI_f1): Likewise.
47986 (RUN_TEST_c_c): Likewise.
47987 (RUN_TEST_LOOP_c_c): Likewise.
47988 (RUN_TEST_cc_c): Likewise.
47989 (RUN_TEST_LOOP_cc_c): Likewise.
47990 (RUN_TEST_f_i): Likewise.
47991 (RUN_TEST_LOOP_f_i): Likewise.
47992 (RUN_TEST_f_i_tg): Likewise.
47993 (RUN_TEST_LOOP_f_i_tg): Likewise.
47994 (RUN_TEST_ff_i_tg): Likewise.
47995 (RUN_TEST_LOOP_ff_i_tg): Likewise.
47996 (RUN_TEST_f_b): Likewise.
47997 (RUN_TEST_LOOP_f_b): Likewise.
47998 (RUN_TEST_f_b_tg): Likewise.
47999 (RUN_TEST_LOOP_f_b_tg): Likewise.
48000 (RUN_TEST_f_l): Likewise.
48001 (RUN_TEST_LOOP_f_l): Likewise.
48002 (RUN_TEST_f_L): Likewise.
48003 (RUN_TEST_LOOP_f_L): Likewise.
48004 (RUN_TEST_sincos): Likewise.
48005 (RUN_TEST_LOOP_sincos): Likewise.
48006
48007 2013-05-17 Joseph Myers <joseph@codesourcery.com>
48008
48009 [BZ #15480]
48010 [BZ #15485]
48011 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48012 main case of finite arguments, set rounding mode to FE_TONEAREST
48013 and discard exceptions.
48014 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
48015 exceptions.
48016 (remainder_tonearest_test_data): New variable.
48017 (remainder_test_tonearest): New function.
48018 (remainder_towardzero_test_data): New variable.
48019 (remainder_test_towardzero): New function.
48020 (remainder_downward_test_data): New variable.
48021 (remainder_test_downward): New function.
48022 (remainder_upward_test_data): New variable.
48023 (remainder_test_upward): New function.
48024 (main): Call the new test functions.
48025
48026 * math/libm-test.inc (struct test_f_f1_data): Remove field
48027 extra_init.
48028 (struct test_fF_f1_data): Likewise.
48029 (struct test_ffI_f1_data): Likewise.
48030 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
48031 based on value of EXTRA_EXPECTED.
48032 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48033 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
48034 EXTRA_VAR based on value of EXTRA_EXPECTED.
48035 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48036 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
48037 EXTRA_VAR based on value of EXTRA_EXPECTED.
48038 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48039 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
48040 EXTRA_VAR based on value of EXTRA_EXPECTED.
48041 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48042 * math/gen-libm-test.pl (parse_args): Don't output initializers
48043 for extra output values.
48044
48045 * math/libm-test.inc (check_int): Expect result to be exactly
48046 equal to expected value and do not handle ulps.
48047 (check_long): Likewise.
48048 (check_longlong): Likewise.
48049
48050 * math/libm-test.inc (ceil_test_data): Test for "inexact"
48051 exceptions.
48052 (cimag_test_data): Likewise.
48053 (conj_test_data): Likewise.
48054 (copysign_test_data): Likewise.
48055 (cproj_test_data): Likewise.
48056 (creal_test_data): Likewise.
48057 (fabs_test_data): Likewise.
48058 (fdim_test_data): Likewise.
48059 (finite_test_data): Likewise.
48060 (floor_test_data): Likewise.
48061 (fmax_test_data): Likewise.
48062 (fmin_test_data): Likewise.
48063 (fmod_test_data): Likewise.
48064 (fpclassify_test_data): Likewise.
48065 (frexp_test_data): Likewise.
48066 (ilogb_test_data): Likewise.
48067 (isfinite_test_data): Likewise.
48068 (isgreater_test_data): Likewise.
48069 (isgreaterequal_test_data): Likewise.
48070 (isinf_test_data): Likewise.
48071 (isless_test_data): Likewise.
48072 (islessequal_test_data): Likewise.
48073 (islessgreater_test_data): Likewise.
48074 (isnan_test_data): Likewise.
48075 (isnormal_test_data): Likewise.
48076 (issignaling_test_data): Likewise.
48077 (isunordered_test_data): Likewise.
48078 (ldexp_test_data): Likewise.
48079 (lrint_test_data): Likewise.
48080 (lrint_test_data) [TEST_FLOAT]: Disable one test.
48081 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
48082 (lrint_tonearest_test_data): Test for "inexact" exceptions.
48083 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48084 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
48085 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48086 test input.
48087 (lrint_towardzero_test_data): Test for "inexact" exceptions.
48088 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48089 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
48090 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
48091 that test input.
48092 (lrint_downward_test_data): Test for "inexact" exceptions.
48093 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48094 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
48095 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48096 test input.
48097 (lrint_upward_test_data): Test for "inexact" exceptions.
48098 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
48099 test input.
48100 (llrint_test_data): Test for "inexact" exceptions.
48101 (llrint_test_data) [TEST_FLOAT]: Disable one test.
48102 (llrint_tonearest_test_data): Test for "inexact" exceptions.
48103 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48104 (llrint_towardzero_test_data): Test for "inexact" exceptions.
48105 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48106 (llrint_downward_test_data): Test for "inexact" exceptions.
48107 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48108 (llrint_upward_test_data): Test for "inexact" exceptions.
48109 (logb_test_data): Likewise.
48110 (logb_downward_test_data): Likewise.
48111 (nextafter_test_data): Likewise.
48112 (nexttoward_test_data): Likewise.
48113 (remainder_test_data): Likewise.
48114 (remquo_test_data): Likewise.
48115 (scalbn_test_data): Likewise.
48116 (scalbln_test_data): Likewise.
48117 (signbit_test_data): Likewise.
48118 (sqrt_test_data): Likewise.
48119 (significand_test_data): Likewise.
48120
48121 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
48122
48123 [BZ #15424]
48124 * benchtests/bench-modf.c (struct args): Mark arg0 as
48125 volatile.
48126 * scripts/bench.pl: Mark members of struct args as volatile.
48127
48128 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48129
48130 [BZ # 15497]
48131 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48132 negative infinity on POWER6 or lower.
48133 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48134
48135 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
48136
48137 [BZ #15442]
48138 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48139 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48140 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48141 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48142 (_FP_SETQNAN): New macro.
48143 (_FP_SETQNAN_SEMIRAW): Likewise.
48144 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48145 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48146 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48147 (FP_EXTEND): Use _FP_FRAC_SNANP.
48148 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48149 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48150 into account.
48151 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48152 New macro.
48153 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48154 Likewise.
48155
48156 2013-05-16 Joseph Myers <joseph@codesourcery.com>
48157
48158 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48159 with DIVIDE_BY_ZERO_EXCEPTION.
48160 (gamma_test_data): Likewise.
48161 (lgamma_test_data): Likewise.
48162 (log_test_data): Likewise.
48163 (log10_test_data): Likewise.
48164 (log2_test_data): Likewise.
48165 (tgamma_test_data): Likewise.
48166
48167 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48168 (acos_test_tonearest): Likewise.
48169 (acos_test_towardzero): Likewise.
48170 (acos_test_downward): Likewise.
48171 (acos_test_upward): Likewise.
48172 (acosh_test): Likewise.
48173 (asin_test): Likewise.
48174 (asin_test_tonearest): Likewise.
48175 (asin_test_towardzero): Likewise.
48176 (asin_test_downward): Likewise.
48177 (asin_test_upward): Likewise.
48178 (asinh_test): Likewise.
48179 (atan_test): Likewise.
48180 (atanh_test): Likewise.
48181 (atan2_test): Likewise.
48182 (cabs_test): Likewise.
48183 (cacos_test): Likewise.
48184 (cacosh_test): Likewise.
48185 (casin_test): Likewise.
48186 (casinh_test): Likewise.
48187 (catan_test): Likewise.
48188 (catanh_test): Likewise.
48189 (cbrt_test): Likewise.
48190 (ccos_test): Likewise.
48191 (ccosh_test): Likewise.
48192 (cexp_test): Likewise.
48193 (clog_test): Likewise.
48194 (clog10_test): Likewise.
48195 (cos_test): Likewise.
48196 (cos_test_tonearest): Likewise.
48197 (cos_test_towardzero): Likewise.
48198 (cos_test_downward): Likewise.
48199 (cos_test_upward): Likewise.
48200 (cosh_test): Likewise.
48201 (cosh_test_tonearest): Likewise.
48202 (cosh_test_towardzero): Likewise.
48203 (cosh_test_downward): Likewise.
48204 (cosh_test_upward): Likewise.
48205 (cpow_test): Likewise.
48206 (csin_test): Likewise.
48207 (csinh_test): Likewise.
48208 (csqrt_test): Likewise.
48209 (ctan_test): Likewise.
48210 (ctan_test_tonearest): Likewise.
48211 (ctan_test_towardzero): Likewise.
48212 (ctan_test_downward): Likewise.
48213 (ctan_test_upward): Likewise.
48214 (ctanh_test): Likewise.
48215 (ctanh_test_tonearest): Likewise.
48216 (ctanh_test_towardzero): Likewise.
48217 (ctanh_test_downward): Likewise.
48218 (ctanh_test_upward): Likewise.
48219 (erf_test): Likewise.
48220 (erfc_test): Likewise.
48221 (exp_test): Likewise.
48222 (exp_test_tonearest): Likewise.
48223 (exp_test_towardzero): Likewise.
48224 (exp_test_downward): Likewise.
48225 (exp_test_upward): Likewise.
48226 (exp10_test): Likewise.
48227 (exp2_test): Likewise.
48228 (expm1_test): Likewise.
48229 (fmod_test): Likewise.
48230 (gamma_test): Likewise.
48231 (hypot_test): Likewise.
48232 (j0_test): Likewise.
48233 (j1_test): Likewise.
48234 (jn_test): Likewise.
48235 (lgamma_test): Likewise.
48236 (log_test): Likewise.
48237 (log10_test): Likewise.
48238 (log1p_test): Likewise.
48239 (log2_test): Likewise.
48240 (logb_test_downward): Likewise.
48241 (pow_test): Likewise.
48242 (pow_test_tonearest): Likewise.
48243 (pow_test_towardzero): Likewise.
48244 (pow_test_downward): Likewise.
48245 (pow_test_upward): Likewise.
48246 (remainder_test): Likewise.
48247 (remquo_test): Likewise.
48248 (sin_test): Likewise.
48249 (sin_test_tonearest): Likewise.
48250 (sin_test_towardzero): Likewise.
48251 (sin_test_downward): Likewise.
48252 (sin_test_upward): Likewise.
48253 (sincos_test): Likewise.
48254 (sinh_test): Likewise.
48255 (sinh_test_tonearest): Likewise.
48256 (sinh_test_towardzero): Likewise.
48257 (sinh_test_downward): Likewise.
48258 (sinh_test_upward): Likewise.
48259 (sqrt_test): Likewise.
48260 (tan_test): Likewise.
48261 (tan_test_tonearest): Likewise.
48262 (tan_test_towardzero): Likewise.
48263 (tan_test_downward): Likewise.
48264 (tan_test_upward): Likewise.
48265 (tanh_test): Likewise.
48266 (tgamma_test): Likewise.
48267 (y0_test): Likewise.
48268 (y1_test): Likewise.
48269 (yn_test): Likewise.
48270
48271 * math/gen-libm-test.pl (adjust_arg): Remove function.
48272 (special_function): Remove argument $in_func. Only handle
48273 generating output for tables of tests, not inside functions.
48274 (parse_args): Likewise.
48275 (generate_testfile): Remove variable $in_func. Update call to
48276 parse_args.
48277 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
48278 (MINUS_ZERO_INIT): Rename macro to minus_zero.
48279 (PLUS_INFTY_INIT): Rename macro to plus_infty.
48280 (MINUS_INFTY_INIT): Rename macro to minus_infty.
48281 (QNAN_VALUE_INIT): Rename macro to qnan_value.
48282 (MAX_VALUE_INIT): Rename macro to max_value.
48283 (MIN_VALUE_INIT): Rename macro to min_value.
48284 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
48285 (plus_zero): Remove variable.
48286 (minus_zero): Likewise.
48287 (plus_infty): Likewise.
48288 (minus_infty): Likewise.
48289 (qnan_value): Likewise.
48290 (max_value): Likewise.
48291 (min_value): Likewise.
48292 (min_subnorm_value): Likewise.
48293
48294 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48295
48296 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
48297 uint64_t or uint32_t usage.
48298 * crypt/sha256-block.c: Likewise.
48299 * crypt/sha256-crypt.c: Likewise.
48300 * crypt/sha256.c: Likewise.
48301 * crypt/sha512-block.c: Likewise.
48302 * crypt/sha512-crypt.c: Likewise.
48303 * crypt/sha512.c: Likewise.
48304 * debug/backtrace-tst.c: Likewise.
48305 * debug/pcprofiledump.c: Likewise.
48306 * elf/cache.c: Likewise.
48307 * elf/dl-cache.c: Likewise.
48308 * elf/dl-misc.c: Likewise.
48309 * elf/dl-profile.c: Likewise.
48310 * elf/dl-support.c: Likewise.
48311 * elf/ldconfig.c: Likewise.
48312 * elf/sprof.c: Likewise.
48313 * iconv/dummy-repertoire.c: Likewise.
48314 * iconv/iconv_charmap.c: Likewise.
48315 * iconv/skeleton.c: Likewise.
48316 * iconvdata/8bit-generic.c: Likewise.
48317 * iconvdata/cp737.h: Likewise.
48318 * iconvdata/cp775.h: Likewise.
48319 * iconvdata/ibm1008.h: Likewise.
48320 * iconvdata/ibm1025.h: Likewise.
48321 * iconvdata/ibm1046.h: Likewise.
48322 * iconvdata/ibm1097.h: Likewise.
48323 * iconvdata/ibm1112.h: Likewise.
48324 * iconvdata/ibm1122.h: Likewise.
48325 * iconvdata/ibm1123.h: Likewise.
48326 * iconvdata/ibm1124.h: Likewise.
48327 * iconvdata/ibm1129.h: Likewise.
48328 * iconvdata/ibm1130.h: Likewise.
48329 * iconvdata/ibm1132.h: Likewise.
48330 * iconvdata/ibm1133.h: Likewise.
48331 * iconvdata/ibm1137.h: Likewise.
48332 * iconvdata/ibm1140.h: Likewise.
48333 * iconvdata/ibm1141.h: Likewise.
48334 * iconvdata/ibm1142.h: Likewise.
48335 * iconvdata/ibm1143.h: Likewise.
48336 * iconvdata/ibm1144.h: Likewise.
48337 * iconvdata/ibm1145.h: Likewise.
48338 * iconvdata/ibm1146.h: Likewise.
48339 * iconvdata/ibm1147.h: Likewise.
48340 * iconvdata/ibm1148.h: Likewise.
48341 * iconvdata/ibm1149.h: Likewise.
48342 * iconvdata/ibm1153.h: Likewise.
48343 * iconvdata/ibm1154.h: Likewise.
48344 * iconvdata/ibm1155.h: Likewise.
48345 * iconvdata/ibm1156.h: Likewise.
48346 * iconvdata/ibm1157.h: Likewise.
48347 * iconvdata/ibm1158.h: Likewise.
48348 * iconvdata/ibm1160.h: Likewise.
48349 * iconvdata/ibm1161.h: Likewise.
48350 * iconvdata/ibm1162.h: Likewise.
48351 * iconvdata/ibm1163.h: Likewise.
48352 * iconvdata/ibm1164.h: Likewise.
48353 * iconvdata/ibm1166.h: Likewise.
48354 * iconvdata/ibm1167.h: Likewise.
48355 * iconvdata/ibm12712.h: Likewise.
48356 * iconvdata/ibm1390.h: Likewise.
48357 * iconvdata/ibm1399.h: Likewise.
48358 * iconvdata/ibm16804.h: Likewise.
48359 * iconvdata/ibm4517.h: Likewise.
48360 * iconvdata/ibm4899.h: Likewise.
48361 * iconvdata/ibm4909.h: Likewise.
48362 * iconvdata/ibm4971.h: Likewise.
48363 * iconvdata/ibm5347.h: Likewise.
48364 * iconvdata/ibm803.h: Likewise.
48365 * iconvdata/ibm856.h: Likewise.
48366 * iconvdata/ibm901.h: Likewise.
48367 * iconvdata/ibm902.h: Likewise.
48368 * iconvdata/ibm9030.h: Likewise.
48369 * iconvdata/ibm9066.h: Likewise.
48370 * iconvdata/ibm921.h: Likewise.
48371 * iconvdata/ibm922.h: Likewise.
48372 * iconvdata/ibm9448.h: Likewise.
48373 * iconvdata/isiri-3342.h: Likewise.
48374 * iconvdata/jis0201.h: Likewise.
48375 * include/link.h: Likewise.
48376 * include/netdb.h: Likewise.
48377 * inet/check_native.c: Likewise.
48378 * inet/check_pf.c: Likewise.
48379 * inet/getipv4sourcefilter.c: Likewise.
48380 * inet/getnameinfo.c: Likewise.
48381 * inet/getsourcefilter.c: Likewise.
48382 * inet/htonl.c: Likewise.
48383 * inet/setipv4sourcefilter.c: Likewise.
48384 * inet/setsourcefilter.c: Likewise.
48385 * inet/test-inet6_opt.c: Likewise.
48386 * inet/tst-network.c: Likewise.
48387 * locale/C-collate.c: Likewise.
48388 * locale/C-ctype.c: Likewise.
48389 * locale/C-time.c: Likewise.
48390 * locale/C-translit.h: Likewise.
48391 * locale/loadarchive.c: Likewise.
48392 * locale/programs/3level.h: Likewise.
48393 * locale/programs/charmap.c: Likewise.
48394 * locale/programs/charmap.h: Likewise.
48395 * locale/programs/ld-address.c: Likewise.
48396 * locale/programs/ld-collate.c: Likewise.
48397 * locale/programs/ld-ctype.c: Likewise.
48398 * locale/programs/ld-identification.c: Likewise.
48399 * locale/programs/ld-measurement.c: Likewise.
48400 * locale/programs/ld-messages.c: Likewise.
48401 * locale/programs/ld-monetary.c: Likewise.
48402 * locale/programs/ld-name.c: Likewise.
48403 * locale/programs/ld-numeric.c: Likewise.
48404 * locale/programs/ld-paper.c: Likewise.
48405 * locale/programs/ld-telephone.c: Likewise.
48406 * locale/programs/ld-time.c: Likewise.
48407 * locale/programs/linereader.c: Likewise.
48408 * locale/programs/locale.c: Likewise.
48409 * locale/programs/locarchive.c: Likewise.
48410 * locale/programs/locfile.h: Likewise.
48411 * locale/programs/repertoire.c: Likewise.
48412 * locale/programs/simple-hash.c: Likewise.
48413 * locale/programs/simple-hash.h: Likewise.
48414 * malloc/memusage.c: Likewise.
48415 * malloc/memusagestat.c: Likewise.
48416 * nis/nis_defaults.c: Likewise.
48417 * nis/nis_hash.c: Likewise.
48418 * nis/nis_print.c: Likewise.
48419 * nis/nis_xdr.c: Likewise.
48420 * nscd/connections.c: Likewise.
48421 * nscd/hstcache.c: Likewise.
48422 * nscd/nscd_gethst_r.c: Likewise.
48423 * nscd/nscd_getserv_r.c: Likewise.
48424 * nscd/nscd_helper.c: Likewise.
48425 * nscd/servicescache.c: Likewise.
48426 * nss/makedb.c: Likewise.
48427 * nss/nss_db/db-XXX.c: Likewise.
48428 * nss/nss_db/db-initgroups.c: Likewise.
48429 * nss/nss_db/db-netgrp.c: Likewise.
48430 * nss/nss_files/files-network.c: Likewise.
48431 * nss/nss_files/files-parse.c: Likewise.
48432 * posix/bug-regex5.c: Likewise.
48433 * posix/fnmatch_loop.c: Likewise.
48434 * posix/regcomp.c: Likewise.
48435 * posix/regexec.c: Likewise.
48436 * posix/tst-rfc3484-2.c: Likewise.
48437 * posix/tst-rfc3484-3.c: Likewise.
48438 * posix/tst-rfc3484.c: Likewise.
48439 * resolv/nss_dns/dns-canon.c: Likewise.
48440 * resolv/nss_dns/dns-network.c: Likewise.
48441 * resolv/res_init.c: Likewise.
48442 * resolv/res_mkquery.c: Likewise.
48443 * resolv/tst-aton.c: Likewise.
48444 * stdlib/cxa_atexit.c: Likewise.
48445 * stdlib/cxa_finalize.c: Likewise.
48446 * stdlib/gen-fpioconst.c: Likewise.
48447 * stdlib/strtol_l.c: Likewise.
48448 * string/tst-endian.c: Likewise.
48449 * sunrpc/auth_des.c: Likewise.
48450 * sunrpc/clnt_udp.c: Likewise.
48451 * sunrpc/rtime.c: Likewise.
48452 * sunrpc/svcauth_des.c: Likewise.
48453 * sunrpc/xdr.c: Likewise.
48454 * sunrpc/xdr_intXX_t.c: Likewise.
48455 * sunrpc/xdr_rec.c: Likewise.
48456 * sysdeps/generic/ldconfig.h: Likewise.
48457 * sysdeps/generic/ldsodefs.h: Likewise.
48458 * sysdeps/generic/memusage.h: Likewise.
48459 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48460 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48461 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48462 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48463 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48464 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48465 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48466 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48467 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48468 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48469 * sysdeps/posix/getaddrinfo.c: Likewise.
48470 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48471 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48472 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48473 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48474 * sysdeps/powerpc/test-gettimebase.c: Likewise.
48475 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48476 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48477 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48478 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48479 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48480 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48481 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48482 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48483 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48484 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48485 * sysdeps/x86_64/dl-tls.h: Likewise.
48486 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48487 * time/alt_digit.c: Likewise.
48488 * time/era.c: Likewise.
48489 * wcsmbs/tst-c16c32-1.c: Likewise.
48490
48491 2013-05-16 Joseph Myers <joseph@codesourcery.com>
48492
48493 * math/libm-test.inc (struct test_sincos_data): New type.
48494 (RUN_TEST_LOOP_sincos): New macro.
48495 (sincos_test_data): New variable.
48496 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48497
48498 2013-05-16 Richard Henderson <rth@redhat.com>
48499
48500 * math/atest-exp2.c (LIMB64): New macro.
48501 (CONSTSZ): New macro.
48502 (mp_exp1, mp_exp_m1, mp_log2): New variables.
48503 (hexdig): Move ...
48504 (print_mpn_fp): ... to function scope.
48505 (read_mpn_hex): Remove.
48506 (get_log2): Remove.
48507 (exp2_mpn): Use mp_log2.
48508 (main): Use mp_exp1.
48509
48510 2013-05-16 Joseph Myers <joseph@codesourcery.com>
48511
48512 * math/libm-test.inc: Remove comment about not testing "inexact"
48513 exceptions.
48514 (INEXACT_EXCEPTION): New macro.
48515 (NO_INEXACT_EXCEPTION): Likewise.
48516 (INVALID_EXCEPTION_OK): Update value.
48517 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48518 (OVERFLOW_EXCEPTION_OK): Likewise.
48519 (UNDERFLOW_EXCEPTION_OK): Likewise.
48520 (IGNORE_ZERO_INF_SIGN): Likewise.
48521 (ERRNO_UNCHANGED): Likewise.
48522 (ERRNO_EDOM): Likewise.
48523 (ERRNO_ERANGE): Likewise.
48524 (test_exceptions): Handle testing "inexact" exceptions.
48525 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48526 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48527 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48528 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48529 INEXACT_EXCEPTION.
48530 (rint_towardzero_test_data): Likewise.
48531 (rint_downward_test_data): Likewise.
48532 (rint_upward_test_data): Likewise.
48533
48534 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48535 with OVERFLOW_EXCEPTION.
48536 (exp10_test_data): Likewise.
48537 (exp2_test_data): Likewise.
48538 (expm1_test_data): Likewise.
48539 (lgamma_test_data): Likewise.
48540 (pow_test_data): Likewise.
48541 (tgamma_test_data): Likewise.
48542 (yn_test_data): Remove duplicate test of overflow.
48543
48544 * math/libm-test.inc (struct test_cc_c_data): New type.
48545 (RUN_TEST_LOOP_cc_c): New macro.
48546 (cpow_test_data): New variable.
48547 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48548
48549 * math/libm-test.inc (struct test_f_L_data): New type.
48550 (RUN_TEST_LOOP_f_L): New macro.
48551 (llrint_test_data): New variable.
48552 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48553 (llrint_tonearest_test_data): New variable.
48554 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48555 (llrint_towardzero_test_data): New variable.
48556 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48557 (llrint_downward_test_data): New variable.
48558 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48559 (llrint_upward_test_data): New variable.
48560 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48561 (llround_test_data): New variable.
48562 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48563
48564 2013-05-13 Peter Collingbourne <pcc@google.com>
48565
48566 * math/atest-exp2.c (get_log2): Remove const attribute.
48567
48568 2013-05-15 Joseph Myers <joseph@codesourcery.com>
48569
48570 * math/libm-test.inc (struct test_f_l_data): New type.
48571 (RUN_TEST_LOOP_f_l): New macro.
48572 (lrint_test_data): New variable.
48573 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48574 (lrint_tonearest_test_data): New variable.
48575 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48576 (lrint_towardzero_test_data): New variable.
48577 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48578 (lrint_downward_test_data): New variable.
48579 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48580 (lrint_upward_test_data): New variable.
48581 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48582 (lround_test_data): New variable.
48583 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48584
48585 2013-05-15 Peter Collingbourne <pcc@google.com>
48586
48587 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48588 (EXTRACT_WORDS64) Use where appropriate.
48589 (INSERT_WORDS64) Likewise.
48590
48591 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48592 constraints with x constraints.
48593 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48594
48595 * malloc/obstack.c (_obstack_compat): Add initializer.
48596
48597 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
48598
48599 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48600 si_trapno and add si_addr_lsb to _sifields.sigfault.
48601 (si_trapno): Remove macro.
48602 (si_addr_lsb): Define new macro.
48603 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48604
48605 2013-05-15 Joseph Myers <joseph@codesourcery.com>
48606
48607 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48608 instead of TEST_f_l.
48609 (llrint_test_tonearest): Likewise.
48610 (llrint_test_towardzero): Likewise.
48611 (llrint_test_downward): Likewise.
48612 (llrint_test_upward): Likewise.
48613 (llround_test): Likewise.
48614
48615 * math/libm-test.inc (struct test_f_i_data): Add comment.
48616 (RUN_TEST_LOOP_f_b): New macro.
48617 (RUN_TEST_LOOP_f_b_tg): Likewise.
48618 (finite_test_data): New variable.
48619 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48620 (isfinite_test_data): New variable.
48621 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48622 (isinf_test_data): New variable.
48623 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48624 (isnan_test_data): New variable.
48625 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48626 (isnormal_test_data): New variable.
48627 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48628 (issignaling_test_data): New variable.
48629 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48630 (signbit_test_data): New variable.
48631 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48632
48633 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48634 with INVALID_EXCEPTION.
48635 (acosh_test_data): Likewise.
48636 (asin_test_data): Likewise.
48637 (atanh_test_data): Likewise.
48638 (fmod_test_data): Likewise.
48639 (log_test_data): Likewise.
48640 (log10_test_data): Likewise.
48641 (log2_test_data): Likewise.
48642 (pow_test_data): Likewise.
48643 (sqrt_test_data): Likewise.
48644 (y0_test_data): Likewise.
48645 (y1_test_data): Likewise.
48646 (yn_test_data): Likewise.
48647
48648 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48649 function contents.
48650
48651 * math/libm-test.inc (struct test_ff_i_data): New type.
48652 (RUN_TEST_LOOP_ff_i_tg): New macro.
48653 (isgreater_test_data): New variable.
48654 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48655 (isgreaterequal_test_data): New variable.
48656 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48657 (isless_test_data): New variable.
48658 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48659 (islessequal_test_data): New variable.
48660 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48661 (islessgreater_test_data): New variable.
48662 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48663 (isunordered_test_data): New variable.
48664 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48665
48666 2013-05-14 David S. Miller <davem@davemloft.net>
48667
48668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48669
48670 2013-05-14 Joseph Myers <joseph@codesourcery.com>
48671
48672 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48673
48674 * math/libm-test.inc (struct test_fF_f1_data): Change type of
48675 extra_test to int.
48676 (struct test_f_i_data): Change type of max_ulp to int.
48677
48678 * math/libm-test.inc (test_ffI_f1_data): New type.
48679 (RUN_TEST_LOOP_ffI_f1): New macro.
48680 (remquo_test_data): New variable.
48681 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48682
48683 * setjmp/tst-setjmp-fp.c: New file.
48684 * setjmp/Makefile (tests): Add tst-setjmp-fp.
48685 (link-libm): New variable.
48686 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48687
48688 * math/libm-test.inc (struct test_f_i_data): New type.
48689 (RUN_TEST_LOOP_f_i): New macro.
48690 (RUN_TEST_LOOP_f_i_tg): Likewise.
48691 (fpclassify_test_data): New variable.
48692 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48693 (ilogb_test_data): New variable.
48694 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48695
48696 * math/libm-test.inc (scalbln_test): Correct function name in END
48697 call.
48698
48699 * math/libm-test.inc (struct test_f_f1_data): Add comment.
48700 (RUN_TEST_LOOP_fI_f1): New macro.
48701 (frexp_test_data): New variable.
48702 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48703
48704 * math/libm-test.inc (struct test_fF_f1_data): New type.
48705 (RUN_TEST_LOOP_fF_f1): New macro.
48706 (modf_test_data): New variable.
48707 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48708
48709 * math/libm-test.inc (struct test_f_f1_data): New type.
48710 (RUN_TEST_LOOP_f_f1): New macro.
48711 (gamma_test_data): New variable.
48712 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48713 (lgamma_test_data): New variable.
48714 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48715
48716 2013-05-13 Carlos O'Donell <carlos@redhat.com>
48717
48718 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48719 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48720 (main): Comment "tls" pseudo-hwcap.
48721
48722 2013-05-13 Joseph Myers <joseph@codesourcery.com>
48723
48724 * math/libm-test.inc (struct test_fl_f_data): New type.
48725 (RUN_TEST_LOOP_fl_f): New variable.
48726 (scalbln_test_data): New variable.
48727 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48728
48729 * math/libm-test.inc (struct test_fi_f_data): New type.
48730 (RUN_TEST_LOOP_fi_f): New macro.
48731 (ldexp_test_data): New variable.
48732 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48733 (scalbn_test_data): New variable.
48734 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48735
48736 * math/libm-test.inc (struct test_c_f_data): New type.
48737 (RUN_TEST_LOOP_c_f): New macro.
48738 (cabs_test_data): New variable.
48739 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48740 (carg_test_data): New variable.
48741 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48742 (cimag_test_data): New variable.
48743 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48744 (creal_test_data): New variable.
48745 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48746
48747 * math/libm-test.inc (struct test_if_f_data): New type.
48748 (RUN_TEST_LOOP_if_f): New macro.
48749 (jn_test_data): New variable.
48750 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48751 (yn_test_data): New variable.
48752 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48753
48754 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48755
48756 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48757
48758 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48759 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48760
48761 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
48762
48763 * benchtests/Makefile (CPPFLAGS-nonlib): Add
48764 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48765 (bench-deps): Add bench-timing.h.
48766 * benchtests-bench-skeleton.c: Include bench-timing.h.
48767 (main): Use TIMING_* macros instead of clock_gettime.
48768 * benchtests/bench-timing.h: New file.
48769
48770 [BZ #14582]
48771 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48772 Renamed from _LIB_VERSION.
48773 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48774
48775 2013-05-12 Joseph Myers <joseph@codesourcery.com>
48776
48777 * math/libm-test.inc (struct test_fff_f_data): New type.
48778 (RUN_TEST_LOOP_fff_f): New macro.
48779 (fma_test_data): New variable.
48780 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48781 (fma_towardzero_test_data): New variable.
48782 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48783 (fma_downward_test_data): New variable.
48784 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48785 (fma_upward_test_data): New variable.
48786 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48787
48788 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48789 (struct test_c_c_data): New type.
48790 (RUN_TEST_LOOP_c_c): New macro.
48791 (cacos_test_data): New variable.
48792 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48793 (cacosh_test_data): New variable.
48794 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48795 (casin_test_data): New variable.
48796 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48797 (casinh_test_data): New variable.
48798 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48799 (catan_test_data): New variable.
48800 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48801 (catanh_test_data): New variable.
48802 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48803 (ccos_test_data): New variable.
48804 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48805 (ccosh_test_data): New variable.
48806 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48807 (cexp_test_data): New variable.
48808 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48809 (clog_test_data): New variable.
48810 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48811 (clog10_test_data): New variable.
48812 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48813 (conj_test_data): New variable.
48814 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48815 (cproj_test_data): New variable.
48816 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48817 (csin_test_data): New variable.
48818 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48819 (csinh_test_data): New variable.
48820 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48821 (csqrt_test_data): New variable.
48822 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48823 (ctan_test_data): New variable.
48824 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48825 (ctan_tonearest_test_data): New variable.
48826 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48827 (ctan_towardzero_test_data): New variable.
48828 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48829 (ctan_downward_test_data): New variable.
48830 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48831 (ctan_upward_test_data): New variable.
48832 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48833 (ctanh_test_data): New variable.
48834 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48835 (ctanh_tonearest_test_data): New variable.
48836 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48837 (ctanh_towardzero_test_data): New variable.
48838 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48839 (ctanh_downward_test_data): New variable.
48840 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48841 (ctanh_upward_test_data): New variable.
48842 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48843 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48844 of BUILD_COMPLEX.
48845
48846 * math/libm-test.inc (struct test_ff_f_data): New type.
48847 (struct test_ff_f_data_nexttoward): Likewise.
48848 (RUN_TEST_LOOP_2_f): New macro.
48849 (RUN_TEST_LOOP_ff_f): Likewise.
48850 (atan2_test_data): New variable.
48851 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48852 (copysign_test_data): New variable.
48853 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48854 (fdim_test_data): New variable.
48855 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48856 (fmax_test_data): New variable.
48857 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48858 (fmin_test_data): New variable.
48859 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48860 (fmod_test_data): New variable.
48861 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48862 (hypot_test_data): New variable.
48863 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48864 (nextafter_test_data): New variable.
48865 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48866 (nexttoward_test_data): New variable.
48867 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48868 (pow_test_data): New variable.
48869 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48870 (pow_tonearest_test_data): New variable.
48871 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48872 (pow_towardzero_test_data): New variable.
48873 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48874 (pow_downward_test_data): New variable.
48875 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48876 (pow_upward_test_data): New variable.
48877 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48878 (remainder_test_data): New variable.
48879 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48880 (scalb_test_data): New variable.
48881 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48882 * sysdeps/i386/fpu/libm-test-ulps: Update.
48883
48884 2013-05-11 Joseph Myers <joseph@codesourcery.com>
48885
48886 * math/libm-test.inc (fma_test): Use max_value instead of local
48887 variable fltmax.
48888 (nextafter_test): Likewise.
48889
48890 * math/libm-test.inc (acos_towardzero_test_data): New variable.
48891 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48892 (acos_downward_test_data): New variable.
48893 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48894 (acos_upward_test_data): New variable.
48895 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48896 (acosh_test_data): New variable.
48897 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48898 (asin_test_data): New variable.
48899 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48900 (asin_tonearest_test_data): New variable.
48901 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48902 (asin_towardzero_test_data): New variable.
48903 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48904 (asin_downward_test_data): New variable.
48905 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48906 (asin_upward_test_data): New variable.
48907 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48908 (asinh_test_data): New variable.
48909 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48910 (atan_test_data): New variable.
48911 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48912 (atanh_test_data): New variable.
48913 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48914 (cbrt_test_data): New variable.
48915 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48916 (ceil_test_data): New variable.
48917 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48918 (cos_test_data): New variable.
48919 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48920 (cos_tonearest_test_data): New variable.
48921 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48922 (cos_towardzero_test_data): New variable.
48923 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48924 (cos_downward_test_data): New variable.
48925 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48926 (cos_upward_test_data): New variable.
48927 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48928 (cosh_test_data): New variable.
48929 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48930 (cosh_tonearest_test_data): New variable.
48931 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48932 (cosh_towardzero_test_data): New variable.
48933 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48934 (cosh_downward_test_data): New variable.
48935 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48936 (cosh_upward_test_data): New variable.
48937 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48938 (erf_test_data): New variable.
48939 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48940 (erfc_test_data): New variable.
48941 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48942 (exp_test_data): New variable.
48943 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48944 (exp_tonearest_test_data): New variable.
48945 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48946 (exp_towardzero_test_data): New variable.
48947 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48948 (exp_downward_test_data): New variable.
48949 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48950 (exp_upward_test_data): New variable.
48951 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48952 (exp10_test_data): New variable.
48953 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48954 (exp2_test_data): New variable.
48955 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48956 (expm1_test_data): New variable.
48957 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48958 (fabs_test_data): New variable.
48959 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48960 (floor_test_data): New variable.
48961 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48962 (j0_test_data): New variable.
48963 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48964 (j1_test_data): New variable.
48965 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48966 (log_test_data): New variable.
48967 (log_test): Run tests with RUN_TEST_LOOP_f_f.
48968 (log10_test_data): New variable.
48969 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48970 (log1p_test_data): New variable.
48971 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48972 (log2_test_data): New variable.
48973 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48974 (logb_test_data): New variable.
48975 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48976 (logb_downward_test_data): New variable.
48977 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48978 (nearbyint_test_data): New variable.
48979 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48980 (rint_test_data): New variable.
48981 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48982 (rint_tonearest_test_data): New variable.
48983 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48984 (rint_towardzero_test_data): New variable.
48985 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48986 (rint_downward_test_data): New variable.
48987 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48988 (rint_upward_test_data): New variable.
48989 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48990 (round_test_data): New variable.
48991 (round_test): Run tests with RUN_TEST_LOOP_f_f.
48992 (sin_test_data): New variable.
48993 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48994 (sin_tonearest_test_data): New variable.
48995 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48996 (sin_towardzero_test_data): New variable.
48997 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48998 (sin_downward_test_data): New variable.
48999 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49000 (sin_upward_test_data): New variable.
49001 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49002 (sinh_test_data): New variable.
49003 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49004 (sinh_tonearest_test_data): New variable.
49005 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49006 (sinh_towardzero_test_data): New variable.
49007 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49008 (sinh_downward_test_data): New variable.
49009 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49010 (sinh_upward_test_data): New variable.
49011 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49012 (sqrt_test_data): New variable.
49013 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
49014 (tan_test_data): New variable.
49015 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
49016 (tan_tonearest_test_data): New variable.
49017 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49018 (tan_towardzero_test_data): New variable.
49019 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49020 (tan_downward_test_data): New variable.
49021 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49022 (tan_upward_test_data): New variable.
49023 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49024 (tanh_test_data): New variable.
49025 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
49026 (tgamma_test_data): New variable.
49027 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
49028 (trunc_test_data): New variable.
49029 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
49030 (y0_test_data): New variable.
49031 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
49032 (y1_test_data): New variable.
49033 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
49034 (significand_test_data): New variable.
49035 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
49036
49037 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
49038
49039 [BZ #12387]
49040 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
49041
49042 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
49043
49044 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
49045
49046 2013-05-10 Andreas Jaeger <aj@suse.de>
49047
49048 [BZ #15448]
49049 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
49050 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
49051
49052 2013-05-10 Joseph Myers <joseph@codesourcery.com>
49053
49054 * math/gen-libm-test.pl (adjust_arg): New function.
49055 (special_functions): Handle generating output in both functions
49056 and arrays.
49057 (parse_args): Likewise.
49058 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
49059 $in_func argument to parse_args.
49060 * math/libm-test.inc (struct test_f_f_data): New type.
49061 (IF_ROUND_INIT_): New macro.
49062 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
49063 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49064 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49065 (IF_ROUND_INIT_FE_UPWARD): Likewise.
49066 (ROUND_RESTORE_): Likewise.
49067 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
49068 (ROUND_RESTORE_FE_TONEAREST): Likewise.
49069 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
49070 (ROUND_RESTORE_FE_UPWARD): Likewise.
49071 (RUN_TEST_LOOP_f_f): New macro.
49072 (acos_test_data): New variable.
49073 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
49074 (acos_tonearest_test_data): New variable.
49075 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49076
49077 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49078
49079 * benchtests/bench-skeleton.c (startup): Fix coding style.
49080
49081 2013-05-10 Joseph Myers <joseph@codesourcery.com>
49082
49083 [BZ #6809]
49084 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
49085 negative infinity argument.
49086 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
49087 negative infinity argument.
49088 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
49089 negative infinity argument.
49090 * math/libm-test.inc (tgamma_test): Expect errno to be set for
49091 domain errors.
49092
49093 2013-05-10 Florian Weimer <fweimer@redhat.com>
49094
49095 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
49096 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
49097 * iconv/iconv_prog.c (main): Likewise.
49098 * locale/programs/charmap-dir.c (charmap_readdir)
49099 (fopen_uncompressed): Likewise.
49100 * locale/programs/locfile.c (siblings_uncached)
49101 (write_locale_data): Use lstat64 instead of lstat.
49102 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
49103 stat.
49104
49105 2013-05-10 Andreas Jaeger <aj@suse.de>
49106
49107 [BZ #15395]
49108 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
49109 localization.
49110 Include <locale.h>.
49111
49112 2013-05-09 Carlos O'Donell <carlos@redhat.com>
49113
49114 * elf/dl-close.c (_dl_close_worker): Add comments.
49115
49116 2013-05-09 Joseph Myers <joseph@codesourcery.com>
49117
49118 [BZ #15359]
49119 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
49120 high part of pi/2.
49121 (__ieee754_rem_pio2l): Update comments.
49122
49123 [BZ #15429]
49124 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49125 high part of pi/2.
49126 (__ieee754_rem_pio2l): Update comments.
49127
49128 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49129 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49130
49131 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49132 M_PI_4l.
49133
49134 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49135 (M_PI_34_LOG10El): Likewise.
49136 (M_PI2_LOG10El): Likewise.
49137 (M_PI4_LOG10El): Likewise.
49138 (M_PI_LOG10El): Likewise.
49139
49140 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49141
49142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49143
49144 2013-05-08 Joseph Myers <joseph@codesourcery.com>
49145
49146 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49147 (MINUS_ZERO_INIT): Likewise.
49148 (PLUS_INFTY_INIT): Likewise.
49149 (MINUS_INFTY_INIT): Likewise.
49150 (QNAN_VALUE_INIT): Likewise.
49151 (MAX_VALUE_INIT): Likewise.
49152 (MIN_VALUE_INIT): Likewise.
49153 (MIN_SUBNORM_VALUE_INIT): Likewise.
49154 (plus_zero): Initialize with PLUS_ZERO_INIT.
49155 (minus_zero): Initialize with MINUS_ZERO_INIT.
49156 (plus_infty): Initialize with PLUS_INFTY_INIT.
49157 (minus_infty): Initialize with MINUS_INFTY_INIT.
49158 (qnan_value): Initialize with QNAN_VALUE_INIT.
49159 (max_value): Initialize with MAX_VALUE_INIT.
49160 (min_value): Initialize with MIN_VALUE_INIT.
49161 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49162
49163 * math/libm-test.inc (RUN_TEST_if_f): New macro.
49164 (jn_test): Use TEST_if_f instead of TEST_ff_f.
49165 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49166 (yn_test): Use TEST_if_f instead of TEST_ff_f.
49167
49168 * math/libm-test.inc (RUN_TEST_f_f): New macro.
49169 (RUN_TEST_2_f): Likewise.
49170 (RUN_TEST_ff_f): Likewise.
49171 (RUN_TEST_fi_f): Likewise.
49172 (RUN_TEST_fl_f): Likewise.
49173 (RUN_TEST_fff_f): Likewise.
49174 (RUN_TEST_c_f): Likewise.
49175 (RUN_TEST_f_f1): Likewise.
49176 (RUN_TEST_fF_f1): Likewise.
49177 (RUN_TEST_fI_f1): Likewise.
49178 (RUN_TEST_ffI_f1): Likewise.
49179 (RUN_TEST_c_c): Likewise.
49180 (RUN_TEST_cc_c): Likewise.
49181 (RUN_TEST_f_i): Likewise.
49182 (RUN_TEST_f_i_tg): Likewise.
49183 (RUN_TEST_ff_i_tg): Likewise.
49184 (RUN_TEST_f_b): Likewise.
49185 (RUN_TEST_f_b_tg): Likewise.
49186 (RUN_TEST_f_l): Likewise.
49187 (RUN_TEST_f_L): Likewise.
49188 (RUN_TEST_sincos): Likewise.
49189 * math/gen-libm-test.pl (new_test): Take new argument to indicate
49190 whether to show exceptions. Do not include ");\n" in return
49191 value.
49192 (special_functions): Output call to RUN_TEST_sincos instead of
49193 check_float calls. Update calls to new_test.
49194 (parse_args): Output call to single RUN_TEST_* macro instead of
49195 check_* calls and other assignments. Update calls to new_test.
49196
49197 [BZ #2546]
49198 [BZ #2560]
49199 [BZ #5159]
49200 [BZ #15426]
49201 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49202 input to result for tgamma overflow.
49203 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49204 (gamma_coeff): New variable.
49205 (NCOEFF): New macro.
49206 (gamma_positive): New function.
49207 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49208 underflow here. Use gamma_positive instead of exp (lgamma) for
49209 other arguments.
49210 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49211 (gamma_coeff): New variable.
49212 (NCOEFF): New macro.
49213 (gammaf_positive): New function.
49214 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49215 underflow here. Use gamma_positive instead of exp (lgamma) for
49216 other arguments.
49217 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49218 (gamma_coeff): New variable.
49219 (NCOEFF): New macro.
49220 (gammal_positive): New function.
49221 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49222 underflow here. Use gamma_positive instead of exp (lgamma) for
49223 other arguments.
49224 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49225 (gamma_coeff): New variable.
49226 (NCOEFF): New macro.
49227 (gammal_positive): New function.
49228 (__ieee754_gammal_r): Handle positive infinity, overflow and
49229 underflow here. Handle NaN the same as positive infinity. Remove
49230 check x < 0xffffffff for negative integers. Use gamma_positive
49231 instead of exp (lgamma) for other arguments.
49232 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49233 (gamma_coeff): New variable.
49234 (NCOEFF): New macro.
49235 (gammal_positive): New function.
49236 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49237 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49238 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49239 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49240 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49241 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49242 * sysdeps/generic/math_private.h (__gamma_productf): New
49243 prototype.
49244 (__gamma_product): Likewise.
49245 (__gamma_productl): Likewise.
49246 * math/Makefile (libm-calls): Add gamma_product.
49247 * math/libm-test.inc (tgamma_test): Add more tests.
49248 * sysdeps/i386/fpu/libm-test-ulps: Update.
49249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49250
49251 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
49252
49253 * benchtests/bench-skeleton.c (main): Preheat CPU.
49254
49255 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
49256
49257 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49258
49259 2013-05-07 Roland McGrath <roland@hack.frob.com>
49260
49261 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49262 and _dl_skip_args_internal.
49263
49264 2013-05-07 Carlos O'Donell <carlos@redhat.com>
49265
49266 * manual/message.texi (Message Translation): Talk about users.
49267 Message to key mapping impacts design.
49268
49269 2013-05-06 Roland McGrath <roland@hack.frob.com>
49270
49271 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49272
49273 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49274
49275 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49276 * sysdeps/wordsize-64/glob64.c: ... here.
49277
49278 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
49279 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
49280 New macros.
49281
49282 * debug/getlogin_r_chk.c: Moved to ...
49283 * login/getlogin_r_chk.c: ... here.
49284 * debug/Makefile (routines): Move getlogin_r_chk to ...
49285 * login/Makefile (routines): ... here.
49286 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
49287 * login/Versions (libc: GLIBC_2.4): ... here.
49288
49289 * io/poll.c (__poll): Renamed from poll.
49290 Add libc_hidden_def.
49291 (poll): Define as weak alias.
49292
49293 * debug/ptsname_r_chk.c: Moved to ...
49294 * login/ptsname_r_chk.c: ... here.
49295 * debug/Makefile (routines): Move ptsname_r_chk to ...
49296 * login/Makefile (routines): ... here.
49297 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
49298 * login/Versions (libc: GLIBC_2.4): ... here.
49299
49300 * posix/getlogin.c: Moved to ...
49301 * login/getlogin.c: ... here.
49302 * posix/getlogin_r.c: Moved to ...
49303 * login/getlogin_r.c: ... here.
49304 * posix/getlogin_r.c: Moved to ...
49305 * login/getlogin_r.c: ... here.
49306 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
49307 * login/Makefile (routines): ... here.
49308 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
49309 * login/Versions (libc: GLIBC_2.0): ... here.
49310
49311 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
49312 (setrlimit): Define as weak alias.
49313
49314 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
49315 Call __ names for open, ftruncate, and close.
49316 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
49317 (truncate): Define as weak alias.
49318
49319 2013-05-06 Joseph Myers <joseph@codesourcery.com>
49320
49321 * math/gen-libm-test.pl (parse_args): Initialize x before each
49322 test of frexp, modf and remquo.
49323
49324 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
49325 test signgam value.
49326
49327 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49328
49329 [BZ #15418]
49330 [BZ #15419]
49331 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
49332 internal tests.
49333 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49334
49335 2013-05-06 Roland McGrath <roland@hack.frob.com>
49336
49337 * elf/dl-writev.h: New file.
49338 * elf/dl-misc.c: Include it.
49339 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
49340 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
49341
49342 2013-05-04 Joseph Myers <joseph@codesourcery.com>
49343
49344 * math/libm-test.inc (noXFails): Remove variable.
49345 (noXPasses): Likewise.
49346 (BUILD_COMPLEX_INT): Remove macro.
49347 (print_screen): Remove xfail argument.
49348 (print_screen_max_error): Likewise.
49349 (update_stats): Likewise.
49350 (print_max_error): Likewise. Update calls to other affected
49351 functions.
49352 (print_complex_max_error): Likewise.
49353 (test_single_exception): Update calls to print_screen.
49354 (test_single_errno): Likewise.
49355 (check_float_internal): Remove xfail argument. Update calls to
49356 other affected functions.
49357 (check_float): Likewise.
49358 (check_complex): Likewise.
49359 (check_int): Likewise.
49360 (check_long): Likewise.
49361 (check_bool): Likewise.
49362 (check_longlong): Likewise.
49363 (main): Don't print noXFails and noXPasses.
49364 * math/gen-libm-test.pl (top level): Don't mention expected
49365 failure handling in comment.
49366 (new_test): Don't handle expected failures.
49367 (parse_args): Don't mention expected failure handling in comment.
49368 (generate_testfile): Don't handle expected failures.
49369 (parse_ulps): Likewise.
49370 (print_ulps_file): Likewise.
49371 (get_failure): Remove function.
49372 (output_test): Don't handle expected failures.
49373 * make/README.libm-test: Don't mention expected failure handling.
49374
49375 * math/libm-test.inc (plus_zero): Make const. Add initializer.
49376 (minus_zero): Likewise.
49377 (plus_infty): Likewise.
49378 (minus_infty): Likewise.
49379 (qnan_value): Likewise.
49380 (max_value): Likewise.
49381 (min_value): Likewise.
49382 (min_subnorm_value): Likewise.
49383 (initialize): Do not initialize those variables dynamically.
49384
49385 2013-05-03 Roland McGrath <roland@hack.frob.com>
49386
49387 * io/open.c (__open_2): Moved to ...
49388 * io/open_2.c: ... this new file.
49389 * io/open64.c (__open64_2): Moved to ...
49390 * io/open64_2.c: ... this new file.
49391 * io/openat.c (__openat_2): Moved to ...
49392 * io/openat_2.c: ... this new file.
49393 * io/openat64.c (__openat64_2): Moved to ...
49394 * io/openat64_2.c: ... this new file.
49395 * io/Makefile (routines): Add them.
49396 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49397 * sysdeps/unix/sysv/linux/open_2.c: File removed.
49398 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49399 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49400 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49401 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49402 (__openat64): Add hidden_ver.
49403 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49404 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49405
49406 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49407 Separately conditionalize setting of GLRO(dl_sysinfo) so
49408 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49409 as well, but the actual setting is only under [NEED_DL_SYSINFO].
49410
49411 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49412
49413 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49414 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49415 definition.
49416 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49417 * sysdeps/unix/sysv/linux/powerpc/init-first.c
49418 (_libc_vdso_platform_setup): Add __vdso_time initialization.
49419 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49420 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49421
49422 2013-05-03 Joseph Myers <joseph@codesourcery.com>
49423
49424 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49425 test signgam value.
49426
49427 * math/libm-test.inc (hypot_test): Do not use
49428 IGNORE_ZERO_INF_SIGN.
49429
49430 2013-05-03 Andreas Jaeger <aj@suse.de>
49431
49432 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49433 Linux 3.9.
49434 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49435 (PF_MAX): Adjust for VSOCK change.
49436
49437 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49438
49439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49440
49441 2013-05-02 Carlos O'Donell <carlos@redhat.com>
49442
49443 [BZ #15264]
49444 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49445 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49446 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49447
49448 2013-05-02 David S. Miller <davem@davemloft.net>
49449
49450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49451
49452 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
49453
49454 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49455
49456 2013-05-01 Roland McGrath <roland@hack.frob.com>
49457
49458 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49459
49460 2013-05-01 Richard Smith <richard@metafoo.co.uk>
49461
49462 [BZ #14952]
49463 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49464 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49465 Use __attribute__ ((__gnu_inline__)).
49466 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49467 Don't use __attribute__ ((__gnu_inline__)).
49468
49469 2013-05-01 Joseph Myers <joseph@codesourcery.com>
49470
49471 [BZ #15423]
49472 * math/s_catan.c (__catan): Handle small real or imaginary part of
49473 input specially to avoid spurious underflow.
49474 * math/s_catanf.c (__catanf): Likewise.
49475 * math/s_catanh.c (__catanh): Likewise.
49476 * math/s_catanhf.c (__catanhf): Likewise.
49477 * math/s_catanhl.c (__catanhl): Likewise.
49478 * math/s_catanl.c (__catanl): Likewise.
49479 * math/libm-test.inc (catan_test): Add more tests.
49480 (catanh_test): Likewise.
49481 * sysdeps/i386/fpu/libm-test-ulps: Update.
49482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49483
49484 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49485
49486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49487
49488 2013-04-30 Joseph Myers <joseph@codesourcery.com>
49489
49490 [BZ #15416]
49491 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49492 accurately for denominator in atan2.
49493 * math/s_catanf.c (__catanf): Likewise.
49494 * math/s_catanh.c (__catanh): Likewise.
49495 * math/s_catanhf.c (__catanhf): Likewise.
49496 * math/s_catanhl.c (__catanhl): Likewise.
49497 * math/s_catanl.c (__catanl): Likewise.
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-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49504
49505 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49506
49507 * benchtests/Makefile (bench): Remove slow benchmarks.
49508 * benchtests/atan-inputs: Add slow benchmark inputs.
49509 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49510 (BENCH_FUNC): Accept variant offset.
49511 (VARIANT): Define.
49512 * benchtests/bench-skeleton.c (main): Run benchmark for each
49513 variant.
49514 * benchtests/cos-inputs: Add slow benchmark inputs.
49515 * benchtests/exp-inputs: Likewise.
49516 * benchtests/pow-inputs: Likewise.
49517 * benchtests/sin-inputs: Likewise.
49518 * benchtests/slowatan-inputs: Remove.
49519 * benchtests/slowatan.c: Remove.
49520 * benchtests/slowcos-inputs: Remove.
49521 * benchtests/slowcos.c: Remove.
49522 * benchtests/slowexp-inputs: Remove.
49523 * benchtests/slowexp.c: Remove.
49524 * benchtests/slowpow-inputs: Remove.
49525 * benchtests/slowpow.c: Remove.
49526 * benchtests/slowsin-inputs: Remove.
49527 * benchtests/slowsin.c: Remove.
49528 * benchtests/slowtan-inputs: Remove.
49529 * benchtests/slowtan.c: Remove.
49530 * benchtests/tan-inputs: Add slow benchmark inputs.
49531 * scripts/bench.pl: Parse comments and directives.
49532
49533 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
49534 in CPPFLAGS.
49535 ($(objpfx)bench-%.c): Remove *-ITER.
49536 * benchtests/bench-modf.c: Remove definition of ITER.
49537 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49538 (main): Loop for DURATION seconds instead of fixed number of
49539 iterations.
49540 * scripts/bench.pl: Don't expect iterations in parameters.
49541
49542 2013-04-29 Roland McGrath <roland@hack.frob.com>
49543
49544 * io/fchdir.c (__fchdir): Renamed from fchdir.
49545 (fchdir): Define as weak alias.
49546
49547 2013-04-29 Joseph Myers <joseph@codesourcery.com>
49548
49549 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49550 (ERRNO_EDOM): Likewise.
49551 (ERRNO_ERANGE): Likewise.
49552 (noErrnoTests): New variable.
49553 (init_max_error): Set errno to 0.
49554 (test_single_errno): New function.
49555 (test_errno): Likewise.
49556 (check_float_internal): Call test_errno. Set errno to 0.
49557 (check_complex): Refer to errno tests in comment.
49558 (check_int): Call test_errno. Set errno to 0.
49559 (check_long): Likewise.
49560 (check_bool): Likewise.
49561 (check_longlong): Likewise.
49562 (cos_test): Use ERRNO_* flags for errno tests instead of
49563 check_int.
49564 (expm1_test): Likewise.
49565 (fmod_test): Likewise.
49566 (ilogb_test): Likewise.
49567 (lgamma_test): Likewise.
49568 (pow_test): Likewise.
49569 (remainder_test): Likewise.
49570 (sin_test): Likewise.
49571 (tan_test): Likewise.
49572 (yn_test): Likewise.
49573 (initialize): Set errno to 0.
49574 (main): Print number of errno tests.
49575 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49576
49577 2013-04-29 Andreas Jaeger <aj@suse.de>
49578
49579 [BZ #15084]
49580 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49581 and RES_USEVC.
49582
49583 [BZ #15085]
49584 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49585 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49586 unimplemented.
49587
49588 [BZ #15380]
49589 * stdlib/random.c (__initstate): Return NULL if
49590 __initstate fails.
49591
49592 [BZ #15086]
49593 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49594 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49595 RES_SNGLKUPREOP.
49596
49597 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49598
49599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49600
49601 2013-04-29 Joseph Myers <joseph@codesourcery.com>
49602
49603 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49604 of individual tests.
49605 (casin_test): Likewise.
49606 (casinh_test): Likewise.
49607
49608 2013-04-27 Joseph Myers <joseph@codesourcery.com>
49609
49610 [BZ #15409]
49611 * math/s_catan.c (__catan): Handle arguments with large real or
49612 imaginary part separately without squaring.
49613 * math/s_catanf.c (__catanf): Likewise.
49614 * math/s_catanh.c (__catanh): Likewise.
49615 * math/s_catanhf.c (__catanhf): Likewise.
49616 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49617 and redefine.
49618 (__catanhl): Handle arguments with large real or imaginary part
49619 separately without squaring.
49620 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49621 and redefine.
49622 (__catanl): Handle arguments with large real or imaginary part
49623 separately without squaring.
49624 * math/libm-test.inc (catan_test): Add more tests.
49625 (catanh_test): Likewise.
49626 * sysdeps/i386/fpu/libm-test-ulps: Update.
49627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49628
49629 2013-04-27 Andreas Jaeger <aj@suse.de>
49630
49631 [BZ #15007]
49632 * stdlib/stdlib.h: Update guards for qecvt.
49633 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49634 <stdlib.h>.
49635
49636 2013-04-27 Allan McRae <allan@archlinux.org>
49637
49638 * sysdeps/i386/fpu/libm-test-ulps: Update.
49639
49640 2013-04-26 Joseph Myers <joseph@codesourcery.com>
49641
49642 [BZ #15406]
49643 * math/s_catan.c: Include <float.h>.
49644 (__catan): Ensure underflow exception occurs for underflowed
49645 result.
49646 * math/s_catanf.c: Include <float.h>.
49647 (__catanf): Ensure underflow exception occurs for underflowed
49648 result.
49649 * math/s_catanh.c: Include <float.h>.
49650 (__catanh): Ensure underflow exception occurs for underflowed
49651 result.
49652 * math/s_catanhf.c: Include <float.h>.
49653 (__catanhf): Ensure underflow exception occurs for underflowed
49654 result.
49655 * math/s_catanhl.c: Include <float.h>.
49656 (__catanhl): Ensure underflow exception occurs for underflowed
49657 result.
49658 * math/s_catanl.c: Include <float.h>.
49659 (__catanl): Ensure underflow exception occurs for underflowed
49660 result.
49661 * math/libm-test.inc (catan_test): Add more tests.
49662 (catanh_test): Likewise.
49663
49664 [BZ #15405]
49665 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49666 underflowed result.
49667 * math/s_ccoshf.c (__ccoshf): Likewise.
49668 * math/s_ccoshl.c (__ccoshl): Likewise.
49669 * math/s_csin.c (__csin): Likewise.
49670 * math/s_csinf.c (__csinf): Likewise.
49671 * math/s_csinh.c (__csinh): Likewise.
49672 * math/s_csinhf.c (__csinhf): Likewise.
49673 * math/s_csinhl.c (__csinhl): Likewise.
49674 * math/s_csinl.c (__csinl): Likewise.
49675 * math/libm-test.inc (ccos_test): Add more tests.
49676 (ccosh_test): Likewise.
49677 (csin_test): Likewise.
49678 (csinh_test): Likewise.
49679
49680 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49681
49682 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49683 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49684 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49685 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49686 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49687 powerpc/power5+/fpu folders.
49688 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49689
49690
49691 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
49692
49693 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49694
49695 2013-04-25 Joseph Myers <joseph@codesourcery.com>
49696
49697 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49698 additions to variable.
49699 [$(config-machine) = x86_64] (modules-names): Likewise.
49700 ($(objpfx)tst-audit3): Remove dependency.
49701 ($(objpfx)tst-audit3.out): Likewise.
49702 ($(objpfx)tst-audit4): Likewise.
49703 ($(objpfx)tst-audit4.out): Likewise.
49704 ($(objpfx)tst-audit5): Likewise.
49705 ($(objpfx)tst-audit5.out): Likewise.
49706 ($(objpfx)tst-audit6): Likewise.
49707 ($(objpfx)tst-audit6.out): Likewise.
49708 ($(objpfx)tst-audit7): Likewise.
49709 ($(objpfx)tst-audit7.out): Likewise.
49710 (tst-audit3-ENV): Remove variable.
49711 (tst-audit4-ENV): Likewise.
49712 (tst-audit5-ENV): Likewise.
49713 (tst-audit6-ENV): Likewise.
49714 (tst-audit7-ENV): Likewise.
49715 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49716 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49717 addition to variable.
49718 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49719 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49720 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49721 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49722 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49723 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49724 tst-audit3, tst-audit4 and tst-audit5.
49725 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49726 tst-audit6 and tst-audit7.
49727 [$(subdir) = elf] (modules-names): Add audit modules for those
49728 tests.
49729 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49730 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49731 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49732 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49733 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49734 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49735 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49736 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49737 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49738 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49739 [$(subdir) = elf] (tst-audit3-ENV): New variable.
49740 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49741 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49742 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49743 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49744 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49745 Likewise.
49746 [$(subdir) = elf && $(config-cflags-avx) = yes]
49747 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49748 [$(subdir) = elf && $(config-cflags-avx) = yes]
49749 (CFLAGS-tst-auditmod4a.c): Likewise.
49750 [$(subdir) = elf && $(config-cflags-avx) = yes]
49751 (CFLAGS-tst-auditmod4b.c): Likewise.
49752 [$(subdir) = elf && $(config-cflags-avx) = yes]
49753 (CFLAGS-tst-auditmod6b.c): Likewise.
49754 [$(subdir) = elf && $(config-cflags-avx) = yes]
49755 (CFLAGS-tst-auditmod6c.c): Likewise.
49756 [$(subdir) = elf && $(config-cflags-avx) = yes]
49757 (CFLAGS-tst-auditmod7b.c): Likewise.
49758 * elf/tst-audit3.c: Move to ...
49759 * sysdeps/x86_64/tst-audit3.c: ... here.
49760 * elf/tst-audit4.c: Move to ...
49761 * sysdeps/x86_64/tst-audit4.c: ... here.
49762 * elf/tst-audit5.c: Move to ...
49763 * sysdeps/x86_64/tst-audit5.c: ... here.
49764 * elf/tst-audit6.c: Move to ...
49765 * sysdeps/x86_64/tst-audit6.c: ... here.
49766 * elf/tst-audit7.c: Move to ...
49767 * sysdeps/x86_64/tst-audit7.c: ... here.
49768 * elf/tst-auditmod3a.c: Move to ...
49769 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49770 * elf/tst-auditmod3b.c: Move to ...
49771 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49772 * elf/tst-auditmod4a.c: Move to ...
49773 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49774 * elf/tst-auditmod4b.c: Move to ...
49775 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49776 * elf/tst-auditmod5a.c: Move to ...
49777 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49778 * elf/tst-auditmod5b.c: Move to ...
49779 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49780 * elf/tst-auditmod6a.c: Move to ...
49781 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49782 * elf/tst-auditmod6b.c: Move to ...
49783 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49784 * elf/tst-auditmod6c.c: Move to ...
49785 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49786 * elf/tst-auditmod7a.c: Move to ...
49787 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49788 * elf/tst-auditmod7b.c: Move to ...
49789 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49790
49791 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
49792
49793 [BZ #15366]
49794 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49795 define unconditionally.
49796 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49797 define unconditionally.
49798 (INT8_C, INT16_C, etc.): Likewise.
49799
49800 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
49801
49802 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49803 __ehdr_start with hidden visibility.
49804
49805 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49806
49807 2013-04-24 Carlos O'Donell <carlos@redhat.com>
49808
49809 * math/libm-test.inc (cos_test): Use accurate hex constants.
49810 (sincost_test): Likewise.
49811
49812 2013-04-24 Joseph Myers <joseph@codesourcery.com>
49813
49814 * math/libm-test.inc (catan_test): Add more tests.
49815 (catanh_test): Likewise.
49816
49817 * math/s_catanf.c (__catanf): Use suffixed floating-point
49818 constants.
49819 * math/s_catanhf.c (__catanhf): Likewise.
49820 * math/s_catanhl.c (__catanhl): Likewise.
49821 * math/s_catanl.c (__catanl): Likewise.
49822
49823 [BZ #15394]
49824 * math/s_catan.c (__catan): Calculate imaginary part of result
49825 with log1p not log unless computing log of number close to 0.
49826 * math/s_catanf.c (__catanf): Likewise.
49827 * math/s_catanl.c (__catanl): Likewise.
49828 * math/s_catanh.c (__catanh): Calculate real part of result with
49829 log1p not log unless computing log of number close to 0.
49830 * math/s_catanhf.c (__catanhf): Likewise.
49831 * math/s_catanhl.c (__catanhl): Likewise.
49832 * math/libm-test.inc (catan_test): Add more tests.
49833 (catanh_test): Likewise.
49834 * sysdeps/i386/fpu/libm-test-ulps: Update.
49835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49836
49837 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49838
49839 * benchtests/Makefile: Mention files in which fast and slow
49840 paths of math functions are implemented.
49841
49842 2013-04-23 Roland McGrath <roland@hack.frob.com>
49843
49844 * sysdeps/posix/timespec_get.c: New file.
49845
49846 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49847
49848 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49849 POWER.
49850 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49851 for POWER.
49852 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49853 powerpc/power5/fpu folders.
49854 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49855 * benchtests/Makefile: Add modf testcase.
49856 * benchtests/bench-modf.c: New file: Benchmark test for mo
49857
49858 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
49859
49860 [BZ #14888]
49861 * time/Makefile (tests): Add tst-strptime-whitespace.
49862 * time/strptime_l.c (get_number): Use ISSPACE.
49863 (__strptime_internal): Likewise.
49864 * time/tst-strptime-whitespace.c: New test case.
49865
49866 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
49867
49868 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49869 member.
49870 (_nss_files_init): Set it here.
49871
49872 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
49873
49874 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49875 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49876 unsigned.
49877
49878 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
49879
49880 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49881
49882 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49883
49884 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49885 size just once.
49886
49887 2013-04-21 David S. Miller <davem@davemloft.net>
49888
49889 * po/ru.po: Update Russion translation from translation project.
49890
49891 2013-04-17 Adam Conrad <adconrad@0c3.net>
49892
49893 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49894 and setfsgid.
49895
49896 2013-04-17 Carlos O'Donell <carlos@redhat.com>
49897
49898 * configure.in: Remove i386 configure warning. Remove i386 case.
49899 * configure: Regenerate.
49900 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49901 Add example to error message.
49902 * sysdeps/i386/configure: Regenerate.
49903
49904 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
49905
49906 * benchtests/Makefile (bench): Add cos, tan, slowcos and
49907 slowtan.
49908 * benchtests/cos-inputs: New file.
49909 * benchtests/slowcos-inputs: New file.
49910 * benchtests/slowcos.c: New file.
49911 * benchtests/slowtan-inputs: New file.
49912 * benchtests/slowtan.c: New file.
49913 * benchtests/tan-inputs: New file.
49914
49915 2013-04-16 Roland McGrath <roland@hack.frob.com>
49916
49917 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49918 considered kosher.
49919
49920 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
49921
49922 * benchtests/Makefile: Include cppflags-iterator.mk to add
49923 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49924
49925 * Makefile.in (bench-clean): New target.
49926 * benchtests/Makefile (bench-clean): Likewise.
49927
49928 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
49929
49930 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49931
49932 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
49933
49934 * stdio-common/tstdiomisc.c: Fix coding-style violation.
49935
49936 2013-04-15 Andreas Schwab <schwab@suse.de>
49937
49938 * nscd/grpcache.c (cache_addgr): Properly check for short write.
49939 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49940 * nscd/pwdcache.c (cache_addpw): Likewise.
49941 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
49942 more than recsize.
49943
49944 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
49945
49946 * benchtests/Makefile (bench): Write all output to
49947 bench-out.tmp together.
49948
49949 2013-04-15 Andreas Schwab <schwab@suse.de>
49950
49951 * nscd/nscd.c (main): Don't fork again after closing files.
49952
49953 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
49954
49955 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49956
49957 * benchtests/Rules (bench-deps): Collect dependencies into a
49958 single variable. Add Makefile to dependencies.
49959 ($(objpfx)bench-%.c): Depend on bench-deps.
49960
49961 2013-04-12 Roland McGrath <roland@hack.frob.com>
49962 Xavier Roche <roche+kml2@exalead.com>
49963
49964 [BZ #15361]
49965 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49966 just that it's a file descriptor.
49967 * manual/llio.texi (Synchronizing AIO Operations): Update description
49968 for EBADF error from aio_fsync.
49969
49970 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
49971
49972 * Rules (bench): Move target definition...
49973 * benchtests/Makefile: ... here.
49974
49975 2013-04-11 Carlos O'Donell <carlos@redhat.com>
49976
49977 * math/libm-test.inc (cos_test): Fix PI/2 test.
49978 (sincos_test): Likewise.
49979 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49980 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49981
49982 2013-04-11 Andreas Schwab <schwab@suse.de>
49983
49984 [BZ #13988]
49985 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49986 accept exponent character only when digits were seen.
49987 * stdio-common/Makefile (tests): Add bug26.
49988 * stdio-common/bug26.c: New file.
49989
49990 [BZ #14293]
49991 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49992 non-freeable.
49993
49994 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
49995
49996 * Makeconfig (rtld-prefix): Define built linker prefix.
49997 * Rules (run-bench): Use it.
49998 * math/Makefile (run-regen-ulps): Likewise.
49999
50000 * Rules (bench): Remove eval.
50001
50002 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50003 Roland McGrath <roland@hack.frob.com>
50004 Ondrej Bilka <neleai@seznam.cz>
50005
50006 [BZ #15346]
50007 * time/getdate.c: Include ctype.h and alloca.h.
50008 (__getdate_r): Trim leading and trailing spaces of input.
50009 * time/tst-getdate.c (tests): Add tests with leading and
50010 trailing spaces.
50011
50012 2013-04-08 Roland McGrath <roland@hack.frob.com>
50013
50014 [BZ #14280]
50015 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
50016 when computing value.
50017
50018 2013-04-06 Carlos O'Donell <carlos@redhat.com>
50019
50020 * math/README.libm-test (How can I generate "libm-test-ulps"?):
50021 Use testrun.sh to run libm tests.
50022
50023 [BZ #15309]
50024 * elf/dl-open.c (dl_open_worker): memset all of seen array.
50025
50026 2013-04-06 Marko Myllynen <myllynen@redhat.com>
50027
50028 [BZ #15264]
50029 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
50030
50031 2013-04-06 Carlos O'Donell <carlos@redhat.com>
50032
50033 * Makefile.in (regen-ulps): New target.
50034 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
50035 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
50036 [ifneq (no,$(PERL)] (regen-ulps): New target.
50037 [ifeq (no,$(PERL)] (regen-ulps): New target.
50038 * math/libm-test.inc (ulps_file_name): Define.
50039 (output_dir): New variable.
50040 (options): Add "output-dir" option.
50041 (parse_opt): Handle 'o' case.
50042 (main): If output_dir is non-NULL use it as a prefix
50043 otherwise use "".
50044 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
50045
50046 2013-04-06 Carlos O'Donell <carlos@redhat.com>
50047
50048 [BZ #10060, #10062]
50049 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
50050 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50051 fail configure if __sync_val_compare_and_swap is not inlined.
50052 * sysdeps/i386/configure: Regenerate.
50053 * configure.in: Build for i686 when configured for i386.
50054 * configure: Regenerate.
50055 * README: Remove i386 reference.
50056
50057 2013-04-06 Carlos O'Donell <carlos@redhat.com>
50058
50059 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
50060 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50061
50062 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
50063
50064 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
50065 (lmsnanval): New variables.
50066 (F): Add conversion tests.
50067 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
50068 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
50069
50070 * stdio-common/tstdiomisc.c (F): Properly collect individual
50071 tests' results.
50072
50073 [BZ #14686, #15336]
50074 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
50075 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
50076 Instead, use input NaN values or generate a qNaN by arithmetic
50077 operation. Also fix bugs to comply with the standard.
50078 * math/libm-test.inc (remainder_test): Add more tests.
50079
50080 [BZ #15335, #15342]
50081 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
50082 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
50083 input NaN values or generate a qNaN by arithmetic operation.
50084
50085 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
50086 unreachable code.
50087
50088 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
50089 definitions.
50090
50091 2013-04-03 Joseph Myers <joseph@codesourcery.com>
50092
50093 [BZ #14478]
50094 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
50095 underflowed result.
50096 * math/s_cexpf.c (__cexpf): Likewise.
50097 * math/s_cexpl.c (__cexpl): Likewise.
50098 * math/libm-test.inc (cexp_test): Add more tests.
50099
50100 2013-04-03 Andreas Schwab <schwab@suse.de>
50101
50102 [BZ #15330]
50103 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
50104 order arrays from heap if bigger than alloca cutoff.
50105
50106 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
50107
50108 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
50109 (SNAN_TESTS_double): Refer to GCC PR56831.
50110 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
50111 GCC PR56828.
50112
50113 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
50114
50115 * Rules (bench): Move bench.out after the run is complete.
50116
50117 * Rules (bench): Echo currently running benchmark.
50118
50119 * benchtests/Makefile (bench): Add atan and slowatan.
50120 * benchtests/atan-inputs: New file.
50121 * benchtests/slowatan-inputs: New file.
50122 * benchtests/slowatan.c: New file.
50123
50124 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
50125 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50126 its value.
50127
50128 [BZ #15305]
50129 * sysdeps/unix/sysv/linux/kernel-features.h
50130 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50131 __ASSUME_XFS_RESTRICTED_CHOWN.
50132 * sysdeps/unix/sysv/linux/pathconf.c
50133 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50134 Save and restore errno.
50135
50136 2013-04-02 Joseph Myers <joseph@codesourcery.com>
50137
50138 [BZ #15327]
50139 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50140 arguments using __kernel_casinh.
50141 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50142 arguments using __kernel_casinhf.
50143 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50144 arguments using __kernel_casinhl.
50145 * math/libm-test.inc (cacosh_test): Add more tests.
50146 * sysdeps/i386/fpu/libm-test-ulps: Update.
50147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50148
50149 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
50150
50151 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50152 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50153
50154 * bench/Makefile (bench): Add sin and slowsin.
50155 * benchtests/sin-inputs: New file.
50156 * benchtests/slowsin-inputs: New file.
50157 * benchtests/slowsin.c: New file.
50158
50159 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50160 (bench): Add slowexp and slowpow.
50161 (exp-ITER): Increase iterations.
50162 (pow-ITER): Likewise.
50163 * benchtests/exp-inputs: Change input.
50164 * benchtests/pow-inputs: Likewise.
50165 * benchtests/slowexp-inputs: New file.
50166 * benchtests/slowexp.c: New file.
50167 * benchtests/slowpow-inputs: New file.
50168 * benchtests/slowpow.c: New file.
50169
50170 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50171
50172 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50173 instructions.
50174 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50175 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50176 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50177 * benchtests/Makefile: Add rint benchtest.
50178 * benchtests/rint-inputs: Input for rint benchtest.
50179
50180 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
50181
50182 * Versions.def (libm): Add GLIBC_2.18.
50183 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50184 hidden libm prototypes.
50185 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50186 * math/Makefile (libm-calls): Add s_issignaling.
50187 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50188 __issignalingf, __issignalingl. Adjust all libm.abilist files.
50189 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50190 declaration.
50191 * math/math.h [__USE_GNU] (issignaling): New macro.
50192 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50193 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50194 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50195 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50196 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50197 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50198 * manual/arith.texi (issignaling): New section.
50199 * manual/libm-err-tab.pl (@all_functions): Update comment.
50200 * math/gen-libm-test.pl (parse_args): Apply special handling for
50201 issignaling.
50202 * math/libm-test.inc (print_float, issignaling_test): New
50203 functions.
50204 (check_float_internal): Add issignaling checks.
50205 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50206 default definition.
50207 * sysdeps/powerpc/math-tests.h: New file.
50208 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50209 tests.
50210 * math/test-snan.c (TEST_FUNC): Likewise.
50211
50212 2013-03-30 David S. Miller <davem@davemloft.net>
50213
50214 * po/de.po: Update from translation team.
50215
50216 2013-03-30 Joseph Myers <joseph@codesourcery.com>
50217
50218 [BZ #10357]
50219 * math/k_casinh.c (__kernel_casinh): Handle arguments with
50220 imaginary part less than 1.0 and real part less than 0.5
50221 specially.
50222 * math/k_casinhf.c (__kernel_casinhf): Likewise.
50223 * math/k_casinhl.c (__kernel_casinhl): Likewise.
50224 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50225 (cacos_test): Add more tests.
50226 (casin_test): Likewise.
50227 (casinh_test): Likewise.
50228 * sysdeps/i386/fpu/libm-test-ulps: Update.
50229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50230
50231 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50232
50233 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50234 ONE with its value.
50235
50236 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50237 (__pow_mp): Replace ONE and MONE with their values.
50238 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50239 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50240 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50241 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50242 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50243 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50244
50245 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50246
50247 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50248 (__pow_mp): Replace ZERO and MZERO with their values.
50249 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50250 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50251 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50252 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50253 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50254 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50255 (__sqr): Likewise.
50256
50257 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50258
50259 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50260
50261 2013-03-28 Roland McGrath <roland@hack.frob.com>
50262
50263 * include/stdlib.h [!SHARED] (__call_tls_dtors):
50264 Declare with __attribute__ ((weak)).
50265 * stdlib/exit.c (__libc_atexit) [!SHARED]:
50266 Call __call_tls_dtors only if it's not NULL.
50267
50268 2013-03-28 Roland McGrath <roland@hack.frob.com>
50269
50270 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50271 didn't do it already, then set _dl_phdr and _dl_phnum based on the
50272 magic __ehdr_start linker symbol if it's defined.
50273 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50274 them up here if it was already done.
50275
50276 * elf/dl-support.c (_dl_phdr): Make pointer to const.
50277 (_dl_aux_init): Use const in cast when setting it.
50278 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
50279 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50280 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
50281
50282 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
50283 Declare them here.
50284 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
50285 * csu/libc-tls.c: Nor here.
50286 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
50287
50288 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
50289 (__libc_message): Never call vsyslog.
50290
50291 2013-03-28 Alan Modra <amodra@gmail.com>
50292
50293 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
50294 Define as empty.
50295 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
50296 Likewise.
50297
50298 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50299
50300 [BZ #15214]
50301 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
50302 underflow.
50303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50304
50305 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50306
50307 [BZ #15304]
50308 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50309 Don't add gid passed as argument.
50310
50311 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
50312
50313 2013-03-27 Joseph Myers <joseph@codesourcery.com>
50314
50315 [BZ #15307]
50316 * math/k_casinh.c (__kernel_casinh): Handle arguments with
50317 imaginary part between 1.0 and 1.5 and real part less than 0.5
50318 specially.
50319 * math/k_casinhf.c (__kernel_casinhf): Likewise.
50320 * math/k_casinhl.c (__kernel_casinhl): Likewise.
50321 * math/libm-test.inc (cacos_test): Add more tests.
50322 (casin_test): Likewise.
50323 (casinh_test): Likewise.
50324 * sysdeps/i386/fpu/libm-test-ulps: Update.
50325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50326
50327 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50328
50329 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
50330 constants.
50331 (norm): Likewise.
50332 (denorm): Likewise.
50333 (__dbl_mp): Likewise.
50334 (add_magnitudes): Likewise.
50335 (sub_magnitudes): Likewise.
50336 (__add): Likewise.
50337 (__sub): Likewise.
50338 (__mul): Likewise.
50339 (__sqr): Likewise.
50340 (__inv): Likewise.
50341 (__dvd): Likewise.
50342
50343 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
50344 commented code.
50345 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
50346 (__dubcos): Likewise.
50347 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
50348 (__ieee754_acos): Likewise.
50349 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50350 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
50351 (__exp1): Likewise.
50352 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50353 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50354 (log1): Likewise.
50355 (my_log2): Likewise.
50356 (checkint): Likewise.
50357 * sysdeps/ieee754/dbl-64/e_remainder.c
50358 (__ieee754_remainder): Likewise.
50359 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50360 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
50361 (bsloww): Likewise.
50362 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50363
50364 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50365 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
50366 MANTISSA_STORE_T to store computations on mantissa. Use
50367 macros for rounding and division.
50368 (denorm): Likewise.
50369 (__dbl_mp): Likewise.
50370 (add_magnitudes): Likewise.
50371 (sub_magnitudes): Likewise.
50372 (__mul): Likewise.
50373 (__sqr): Likewise.
50374 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
50375 powers of two in terms of TWOPOW macro.
50376 (mp_no): Make type of mantissa as MANTISSA_T.
50377 [!RADIXI]: Define RADIXI.
50378 [!TWO52]: Define TWO52.
50379 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50380
50381 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50382
50383 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50384 llroundl symbol when building for PPC32.
50385
50386 2013-03-24 Mark H Weaver <mhw@netris.org>
50387
50388 * manual/arith.texi (Normalization Functions): Fix prototypes for
50389 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50390
50391 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50392
50393 [BZ #13889]
50394 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50395 high value to check if expl overflow.
50396 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50397 to check for underflow and overflow.
50398 * math/libm-test.inc: Add exp test.
50399
50400 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
50401
50402 [BZ #11120]
50403 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50404 with NOT_IN_libc.
50405
50406 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50407
50408 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50409 symbol.
50410
50411 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
50412
50413 * math/gen-libm-test.pl (parse_args, special_functions): Properly
50414 wrap blocks consisting of several statements.
50415
50416 * sysdeps/generic/math-tests.h: New file.
50417 * sysdeps/i386/fpu/math-tests.h: Likewise.
50418 * math/test-snan.c: Include it.
50419 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50420
50421 2013-03-21 Joseph Myers <joseph@codesourcery.com>
50422
50423 [BZ #15285]
50424 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50425 (__ieee754_j0l): Do not improve calculations using cos of twice
50426 input for inputs above LDBL_MAX / 2.0L.
50427 (__ieee754_y0l): Likewise.
50428 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50429 (__ieee754_j1l): Do not improve calculations using cos of twice
50430 input for inputs above LDBL_MAX / 2.0L.
50431 (__ieee754_y1l): Likewise.
50432 * math/libm-test.inc (j0_test): Add another test.
50433 (j1_test): Likewise.
50434 (y0_test): Likewise.
50435 (y1_test): Likewise.
50436 * sysdeps/i386/fpu/libm-test-ulps: Update.
50437
50438 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
50439
50440 * Rules ($(objpfx)bench-%.c): Include code from a C source
50441 file.
50442
50443 2013-03-21 Joseph Myers <joseph@codesourcery.com>
50444
50445 [BZ #15287]
50446 * math/k_casinh.c (__kernel_casinh): Handle arguments with
50447 imaginary part 1.0 and real part less than 0.5 specially.
50448 * math/k_casinhf.c (__kernel_casinhf): Likewise.
50449 * math/k_casinhl.c (__kernel_casinhl): Likewise.
50450 * math/libm-test.inc (cacos_test): Add more tests.
50451 (casin_test): Likewise.
50452 (casinh_test): Likewise.
50453 * sysdeps/i386/fpu/libm-test-ulps: Update.
50454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50455
50456 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
50457
50458 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50459 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50460
50461 2013-03-20 Joseph Myers <joseph@codesourcery.com>
50462
50463 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50464 * config.make.in (config-cflags-sse4): Remove variable.
50465 (config-cflags-avx): Likewise.
50466 (config-cflags-sse2avx): Likewise.
50467 (config-cflags-novzeroupper): Likewise.
50468 (config-asflags-i686): Likewise.
50469 (have-mfma4): Likewise.
50470 (have-as-vis3): Likewise.
50471 (MIG): Likewise.
50472 * configure.in (MIG): Do not AC_SUBST.
50473 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50474 (libc_cv_cc_sse4): Do not AC_SUBST.
50475 (libc_cv_cc_avx): Likewise.
50476 (libc_cv_cc_sse2avx): Likewise.
50477 (libc_cv_cc_novzeroupper): Likewise.
50478 (libc_cv_cc_fma4): Likewise.
50479 (libc_cv_as_i686): Likewise.
50480 (libc_cv_sparc_as_vis3): Likewise.
50481 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50482 LIBC_CONFIG_VAR.
50483 (config-asflags-i686): Likewise.
50484 (config-cflags-avx): Likewise.
50485 (config-cflags-sse2avx): Likewise.
50486 (have-mfma4): Likewise.
50487 (config-cflags-novzeroupper): Likewise.
50488 * sysdeps/mach/configure.in (MIG): Likewise.
50489 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50490 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50491 LIBC_CONFIG_VAR.
50492 (config-cflags-avx): Likewise.
50493 (config-cflags-sse2avx): Likewise.
50494 (have-mfma4): Likewise.
50495 (config-cflags-novzeroupper): Likewise.
50496 * configure: Regenerated.
50497 * sysdeps/i386/configure: Likewise.
50498 * sysdeps/mach/configure: Likewise.
50499 * sysdeps/sparc/configure: Likewise.
50500 * sysdeps/x86_64/configure: Likewise.
50501
50502 2013-03-20 Roland McGrath <roland@hack.frob.com>
50503
50504 [BZ #14812]
50505 * locale/programs/localedef.c (options): Put N_ translation marker
50506 on argument names, not just descriptions.
50507
50508 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50509
50510 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50511
50512 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
50513
50514 [BZ #14176]
50515 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50516
50517 2013-03-19 Roland McGrath <roland@hack.frob.com>
50518
50519 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50520 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50521 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50522 [!BEFORE_ABORT] (before_abort): New function.
50523 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50524 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50525 (writev_for_fatal): New function.
50526 (WRITEV_FOR_FATAL): New macro; call that.
50527 (backtrace_and_maps): New function.
50528 (BEFORE_ABORT): New macro; call that.
50529 (struct str_list): Type removed.
50530 (__libc_message, __libc_fatal): Functions removed.
50531 Include <sysdeps/posix/libc_fatal.c> instead.
50532
50533 2013-03-19 Joseph Myers <joseph@codesourcery.com>
50534
50535 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50536 constants.
50537 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50538 double constants.
50539
50540 2013-03-19 Andreas Schwab <schwab@suse.de>
50541
50542 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50543 * sysdeps/gnu/configure: Regenerate.
50544
50545 * configure.in: Substitute libc_cv_rtlddir.
50546 * configure: Regenerate.
50547 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50548 * Makeconfig (rtlddir, inst_rtlddir): New variables.
50549 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50550 * elf/Makefile (install-others, CFLAGS-interp.c)
50551 (ldso_install, common-ldd-rewrite): Likewise.
50552 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50553 $(inst_slibdir)/$(rtld-installed-name).
50554 * scripts/rellns-sh: Add -p option.
50555 * Makerules (make-shlib-link): Use rellns-sh to get relative name
50556 for source.
50557
50558 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50559
50560 * manual/nptl.texi: Renamed to ...
50561 * manual/threads.texi: ... this.
50562 * manual/Makefile (chapters): Update.
50563
50564 2013-03-18 Roland McGrath <roland@hack.frob.com>
50565
50566 [BZ #14812]
50567 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50568 on argument names, not just descriptions.
50569 * malloc/memusagestat.c (options): Likewise.
50570 * nss/getent.c (options): Likewise.
50571
50572 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
50573
50574 [BZ #14812]
50575 * iconv/iconv_prog.c (options): Put N_ translation marker
50576 on argument names, not just descriptions.
50577 * iconv/iconvconfig.c (options): Likewise.
50578
50579 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
50580
50581 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50582 implementation which is faster on all x86_64 architectures.
50583 Tested on AMD, Intel Nehalem, SNB, IVB.
50584 * sysdeps/x86_64/strnlen.S: Likewise.
50585
50586 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50587 Remove all multiarch strlen and strnlen versions.
50588 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50589 Remove strlen and strnlen related parts.
50590
50591 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50592 Inline strlen part.
50593 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50594
50595 * sysdeps/x86_64/multiarch/strlen.S: Remove.
50596 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50597 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50598 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50599 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50600 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50601
50602 2013-03-17 Carlos O'Donell <carlos@redhat.com>
50603
50604 * manual/memory.texi (Malloc Tunable Parameters):
50605 Sort parameters alphabetically. Add comments for missing entries.
50606
50607 2013-03-17 David S. Miller <davem@davemloft.net>
50608
50609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50610
50611 2013-03-16 Joseph Myers <joseph@codesourcery.com>
50612
50613 [BZ #15283]
50614 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50615 for arguments at most half maximum finite value.
50616 * math/libm-test.inc (j0_test): Add more tests.
50617 (j1_test): Likewise.
50618 (y0_test): Likewise.
50619 (y1_test): Likewise.
50620 * sysdeps/i386/fpu/libm-test-ulps: Update.
50621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50622
50623 [BZ #14155]
50624 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50625 1 / x and functions P and Q for arguments above 0x1p256L.
50626 (__ieee754_y0l): Likewise.
50627 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50628 (__ieee754_y1l): Likewise.
50629 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50630 (j1_test): Likewise.
50631 (y0_test): Likewise.
50632 (y1_test): Likewise.
50633
50634 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
50635
50636 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50637 variable.
50638
50639 2013-03-15 Roland McGrath <roland@hack.frob.com>
50640
50641 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50642 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50643 zero since it's initialized to EXEC_PAGESIZE.
50644
50645 * sysdeps/unix/sysv/linux/ldsodefs.h
50646 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50647 * sysdeps/generic/ldsodefs.h: ... here.
50648
50649 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
50650
50651 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50652
50653 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50654 math/test-snan.c.
50655 * math/test-snan.c: Renamed from
50656 sysdeps/powerpc/fpu/test-powerpc-snan.c.
50657 * math/Makefile (tests): Add test-snan.
50658 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50659 test-powerpc-snan.
50660
50661 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50662 SUFFIX. Initialize qNaN_var with __builtin_nan family of
50663 functions.
50664 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
50665 __builtin_nan family of functions.
50666 * math/libm-test.inc (initialize): Initialize qnan_value with
50667 __builtin_nan family of functions.
50668 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50669 Remove variables.
50670 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50671 Remove functions.
50672 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
50673 storage class. Initialize qNaN_var and sNaN_var with
50674 __builtin_nan and __builtin_nans families of functions,
50675 respectively.
50676
50677 * math/libm-test.inc (acosh_test): Also test with qNaN input.
50678 (sqrt_test): Remove duplicate test with qNaN input.
50679 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50680 (round_test, signbit_test, significand_test): Note missing +/-Inf
50681 as well as qNaN tests.
50682
50683 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50684 qNaN_var. Fix a few strings, too.
50685 * math/libm-test.inc (nan_value): Rename to qnan_value.
50686 * math/gen-libm-test.pl (%beautify): Adjust to that.
50687 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50688 * math/test-misc.c (main): Likewise.
50689 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50690 to __qnan_bytes, and __qnan_union, respectively.
50691 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50692 Likewise.
50693 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50694 and lqnanval, respectively.
50695 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50696 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50697 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50698 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50699
50700 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50701 * math/test-misc.c (main) [__x86_64__]: Enable test for long
50702 doubles.
50703
50704 * math/test-misc.c (main): Fix copy'n'pastos.
50705 * misc/tst-efgcvt.c (special): Likewise.
50706
50707 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50708 Remove declarations.
50709
50710 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50711
50712 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50713 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50714 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50715 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50716
50717 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50718
50719 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50720 macro to return vdso values correctly in IFUNC implementations.
50721 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50722 Optimization by using IFUNC.
50723
50724 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50725 Richard Henderson <rth@redhat.com>
50726 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50727
50728 * Makefile.in (bench): New target.
50729 * NEWS: Mention the benchmark framework.
50730 * Rules (bench): Likewise.
50731 (binaries-bench): Generate binaries for functions to
50732 benchmark.
50733 * benchtests/Makefile: New makefile for benchmark tests.
50734 * benchtests/bench-skeleton.c: New skeleton file for benchmark
50735 programs.
50736 * benchtests/exp-inputs: New input file for EXP function.
50737 * benchtests/pow-inputs: New input file for POW function.
50738 * scripts/bench.pl: New script to generate source files for
50739 benchmark programs.
50740
50741 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50742
50743 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50744 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50745 computations on mantissa. Use macros for rounding and
50746 division.
50747 (denorm): Likewise.
50748 (__dbl_mp): Likewise.
50749 (add_magnitudes): Likewise.
50750 (sub_magnitudes): Likewise.
50751 (__mul): Likewise.
50752 (__sqr): Likewise.
50753 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
50754 powers of two in terms of TWOPOW macro.
50755 (mp_no): Make type of mantissa as MANTISSA_T.
50756 [!RADIXI]: Define RADIXI.
50757 [!TWO52]: Define TWO52.
50758 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50759
50760 * manual/nptl.texi (cindex): Modify threads to pthreads.
50761
50762 2013-03-15 Joseph Myers <joseph@codesourcery.com>
50763
50764 * sysdeps/x86_64/preconfigure: Regenerated.
50765
50766 2013-03-14 Joseph Myers <joseph@codesourcery.com>
50767
50768 [BZ #14155]
50769 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50770 0x1p28 and above.
50771 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50772 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50773 0x1p28 and above.
50774 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50775 * math/libm-test.inc (j0_test): Do not allow one spurious
50776 underflow exception.
50777 (y1_test): Likewise.
50778
50779 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
50780
50781 * manual/Makefile (chapters): Add nptl.
50782 * manual/debug.texi (Debugging Support): Add link to Threads
50783 chapter.
50784 * manual/nptl.texi: New file.
50785
50786 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50787
50788 2013-03-14 Petr Baudis <pasky@ucw.cz>
50789
50790 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50791 for non-NULL pointer before the memory validity test. Pointed
50792 out by Holger Brunck <holger.brunck@keymile.com>.
50793
50794 2013-03-13 Andreas Schwab <schwab@suse.de>
50795
50796 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50797 instead of .os.
50798
50799 2013-03-13 Joseph Myers <joseph@codesourcery.com>
50800
50801 * timezone/zic.c: Update from tzcode 2013b.
50802
50803 2013-03-12 Carlos O'Donell <carlos@redhat.com>
50804
50805 * manual/install.texi (Configuring and compiling):
50806 Mention i686 and i586.
50807 * INSTALL: Regenerate.
50808
50809 2013-03-12 Roland McGrath <roland@hack.frob.com>
50810
50811 * sysdeps/init_array/elf-init.c: New file.
50812 * csu/elf-init.c
50813 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50814 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50815
50816 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50817 __gmon_start__ as global, but as static with a .preinit_array pointer.
50818 * sysdeps/init_array/gmon-start.c: New file. Use that.
50819 * sysdeps/init_array/crti.S: New file, empty except for comments.
50820 * sysdeps/init_array/crtn.S: Likewise.
50821
50822 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
50823
50824 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50825 definining bcopy.
50826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50827 Remove Prefer_SSE_for_memop.
50828 * sysdeps/x86_64/multiarch/init-arch.h: Remove
50829 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50830 HAS_PREFER_SSE_FOR_MEMOP.
50831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50832 memset-x86-64.
50833 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50834 Remove bzero, memset ifunc support.
50835 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50836 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50837 * sysdeps/x86_64/multiarch/memset.S: Likewise.
50838 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50839
50840 2013-03-11 Andreas Schwab <schwab@suse.de>
50841
50842 [BZ #15234]
50843 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50844 by SHLIB_COMPAT.
50845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50846 (GLIBC_2.16): Remove pthread_atfork.
50847
50848 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
50849
50850 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50851 (ptestcases.h): Likewise.
50852
50853 2013-03-08 Roland McGrath <roland@hack.frob.com>
50854
50855 * Makeconfig ($(common-objpfx)config.status): Depend on
50856 sysdeps/*/preconfigure{,.in} too.
50857
50858 2013-03-08 Joseph Myers <joseph@codesourcery.com>
50859
50860 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50861 (__free_hook): Use void * instead of __malloc_ptr_t.
50862 (__malloc_hook): Likewise.
50863 (__realloc_hook): Likewise.
50864 (__memalign_hook): Likewise.
50865 (__after_morecore_hook): Likewise.
50866 * malloc/arena.c (save_malloc_hook): Likewise.
50867 (save_free_hook): Likewise.
50868 * malloc/hooks.c (malloc_hook_ini): Likewise.
50869 (realloc_hook_ini): Likewise.
50870 (memalign_hook_ini): Likewise.
50871 * malloc/malloc.c (malloc_hook_ini): Likewise.
50872 (realloc_hook_ini): Likewise.
50873 (memalign_hook_ini): Likewise.
50874 (__free_hook): Likewise.
50875 (__malloc_hook): Likewise.
50876 (__realloc_hook): Likewise.
50877 (__memalign_hook): Likewise.
50878 (__libc_malloc): Likewise.
50879 (__libc_free): Likewise.
50880 (__libc_realloc): Likewise.
50881 (__libc_memalign): Likewise.
50882 (__libc_valloc): Likewise.
50883 (__libc_pvalloc): Likewise.
50884 (__libc_calloc): Likewise.
50885 (__posix_memalign): Likewise.
50886 * malloc/morecore.c (__sbrk): Likewise.
50887 (__default_morecore): Likewise.
50888
50889 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50890
50891 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50892 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50893 __malloc_ptrdiff_t.
50894
50895 * malloc/malloc.h (__malloc_size_t): Remove macro.
50896 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50897 __malloc_size_t.
50898 (old_memalign_hook): Likewise.
50899 (old_realloc_hook): Likewise.
50900 (struct hdr): Likewise.
50901 (flood): Likewise.
50902 (mallochook): Likewise.
50903 (memalignhook): Likewise.
50904 (reallochook): Likewise.
50905 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50906 (tr_old_realloc_hook): Likewise.
50907 (tr_old_memalign_hook): Likewise.
50908 (tr_mallochook): Likewise.
50909 (tr_reallochook): Likewise.
50910 (tr_memalignhook): Likewise.
50911
50912 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50913
50914 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50915 default_ldbl_pack and using as default implementation.
50916 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50917 implementation.
50918 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50919 redundant definition.
50920 (ldbl_insert_mantissa): Likewise.
50921 (ldbl_canonicalize): Likewise.
50922 (ldbl_nearbyint): Likewise.
50923 (ldbl_pack): Rename to ldbl_pack_ppc.
50924 (ldbl_unpack): Rename to ldbl_unpack_ppc.
50925 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50926 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50927
50928 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
50929
50930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50931 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50932 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50933 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50934 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50935 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50936 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50937 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50938
50939 2013-03-07 Andreas Jaeger <aj@suse.de>
50940
50941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50942 bits/mman-linux.h.
50943
50944 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
50945
50946 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50947 Include mpa.h and declare __MPEXP.
50948 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50949 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50950 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50951 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50952 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50953 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50954 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50955
50956 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50957 (__slowpow): Use long double EXPL and LOGL functions to
50958 compute POW.
50959 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50960 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50961 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50962 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50963 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50964 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50965
50966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50967 intermediate variable to calculate exponent.
50968 (__sqr): Likewise.
50969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50970 Likewise.
50971 (__sqr): Likewise.
50972
50973 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50974 [!NO__SQR]: Define __sqr.
50975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50976 and NO__SQR. Remove all code except __mul and __sqr. Include
50977 sysdeps/ieee754/dbl-64/mpa.c.
50978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50979
50980 [BZ #12723]
50981 * posix/Makefile (tests): Add tst-pathconf.
50982 * posix/tst-pathconf.c: New test case.
50983 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50984 _PC_PIPE_BUF.
50985 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50986
50987 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
50988
50989 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50990
50991 2013-03-06 Andreas Jaeger <aj@suse.de>
50992
50993 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50994 definition via __MAP_ANONYMOUS.
50995
50996 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50997 it's not part of Linux headers.
50998
50999 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51000 (MAP_HUGE_MASK): Define.
51001
51002 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51003 Define.
51004 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51005 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51006 Define.
51007 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51008 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51009 Define.
51010 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51011 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51012 Define.
51013 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51014
51015 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
51016 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
51017 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
51018 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
51019 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
51020 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
51021
51022 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51023 Handle f2fs.
51024
51025 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51026 Handle f2fs and efivarfs.
51027
51028 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
51029 f2fs.
51030
51031 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
51032 (EFIVARFS_MAGIC): Add.
51033 (F2FS_LINK_MAX): Add.
51034
51035 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51036
51037 * stdio-common/vfprintf.c: Replace __builtin_expect with
51038 __glibc_unlikely.
51039
51040 2013-03-06 Joseph Myers <joseph@codesourcery.com>
51041
51042 [BZ #13550]
51043 * sysdeps/generic/bp-sym.h: Remove file.
51044 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
51045 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
51046 <bp-sym.h> and <bp-asm.h>.
51047 (__longjmp): Don't use BP_SYM.
51048 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
51049 and <bp-asm.h>.
51050 (memcpy): Don't use BP_SYM.
51051 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
51052 <bp-sym.h> and <bp-asm.h>.
51053 (memcpy): Don't use BP_SYM.
51054 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
51055 <bp-asm.h>.
51056 (memcpy): Don't use BP_SYM.
51057 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
51058 <bp-asm.h>.
51059 (memset): Don't use BP_SYM.
51060 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51061 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51062 (__bzero): Don't use BP_SYM.
51063 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51064 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51065 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
51066 <bp-sym.h> and <bp-asm.h>.
51067 (memcmp): Don't use BP_SYM. Remove comment about bounded
51068 pointers.
51069 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
51070 <bp-sym.h> and <bp-asm.h>.
51071 (memcpy): Don't use BP_SYM.
51072 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
51073 <bp-sym.h> and <bp-asm.h>.
51074 (memset): Don't use BP_SYM.
51075 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51076 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51077 (__bzero): Don't use BP_SYM.
51078 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51079 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51080 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
51081 <bp-sym.h> and <bp-asm.h>.
51082 (strncmp): Don't use BP_SYM. Remove comment about bounded
51083 pointers.
51084 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51085 <bp-sym.h> and <bp-asm.h>.
51086 (memcpy): Don't use BP_SYM.
51087 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
51088 <bp-sym.h> and <bp-asm.h>.
51089 (memset): Don't use BP_SYM.
51090 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51091 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51092 (__bzero): Don't use BP_SYM.
51093 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51094 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51095 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
51096 <bp-sym.h> and <bp-asm.h>.
51097 (__memchr): Don't use BP_SYM.
51098 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
51099 <bp-sym.h> and <bp-asm.h>.
51100 (memcmp): Don't use BP_SYM. Remove comment about bounded
51101 pointers.
51102 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
51103 <bp-sym.h> and <bp-asm.h>.
51104 (memcpy): Don't use BP_SYM.
51105 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
51106 <bp-sym.h> and <bp-asm.h>.
51107 (__mempcpy): Don't use BP_SYM.
51108 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
51109 <bp-sym.h> and <bp-asm.h>.
51110 (__memrchr): Don't use BP_SYM.
51111 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
51112 <bp-sym.h> and <bp-asm.h>.
51113 (memset): Don't use BP_SYM.
51114 (__bzero): Likewise.
51115 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
51116 <bp-sym.h> and <bp-asm.h>.
51117 (__rawmemchr): Don't use BP_SYM.
51118 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
51119 <bp-sym.h> and <bp-asm.h>.
51120 (__STRCMP): Don't use BP_SYM.
51121 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
51122 <bp-sym.h> and <bp-asm.h>.
51123 (strchr): Don't use BP_SYM.
51124 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
51125 <bp-sym.h> and <bp-asm.h>.
51126 (__strchrnul): Don't use BP_SYM.
51127 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51128 <bp-sym.h> and <bp-asm.h>.
51129 (strlen): Don't use BP_SYM.
51130 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51131 <bp-sym.h> and <bp-asm.h>.
51132 (strncmp): Don't use BP_SYM. Remove comment about bounded
51133 pointers.
51134 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51135 <bp-sym.h> and <bp-asm.h>.
51136 (__strnlen): Don't use BP_SYM.
51137 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51138 <bp-sym.h> and <bp-asm.h>.
51139 (__GI__setjmp): Don't use BP_SYM.
51140 (_setjmp): Likewise.
51141 (__sigsetjmp): Likewise.
51142 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51143 (L(start_addresses)): Don't use BP_SYM.
51144 (_start): Likewise.
51145 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51146 <bp-asm.h>.
51147 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51148 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51149 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51150 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51151 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51152 <bp-asm.h>.
51153 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51154 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
51155 about bounded pointers.
51156 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51157 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51158 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51159 <bp-asm.h>.
51160 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
51161 about bounded pointers. Remove GKM FIXME comments.
51162 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51163 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51164 <bp-asm.h>.
51165 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51166 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
51167 Remove GKM FIXME comments.
51168 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51169 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51170 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51171 <bp-asm.h>.
51172 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
51173 about bounded pointers. Remove GKM FIXME comment.
51174 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51175 and <bp-asm.h>.
51176 (strncmp): Don't use BP_SYM. Remove comment about bounded
51177 pointers.
51178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51179 <bp-sym.h> and <bp-asm.h>.
51180 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51182 <bp-sym.h> and <bp-asm.h>.
51183 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
51184 comment.
51185
51186 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51187
51188 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51189 call free(NULL).
51190
51191 2013-03-05 David S. Miller <davem@davemloft.net>
51192
51193 * po/es.po: Update from translation team.
51194
51195 2013-03-05 Andreas Jaeger <aj@suse.de>
51196
51197 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51198 <bits/mman-linux.h>.
51199 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51200 is fine.
51201 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
51202 <bits/mman-linux.h> to end of file.
51203 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51204 is fine.
51205 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
51206 <bits/mman-linux.h> to end of file.
51207 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51208 is fine.
51209 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51210 <bits/mman-linux.h> to end of file.
51211
51212 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51213 (MCL_CURRENT, MCL_FUTURE): Define here.
51214
51215 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51216
51217 [BZ #15232]
51218 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51219 attribute_hidden.
51220 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51221
51222 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51223
51224 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51225 fourth parameter needed for rt_sigprocmask syscall.
51226 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51227 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51228 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51229 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51230 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51231 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51232
51233 2013-03-04 Joseph Myers <joseph@codesourcery.com>
51234
51235 [BZ #13550]
51236 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51237 comment about bounded pointers.
51238 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51239 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51240
51241 2013-03-04 Andreas Jaeger <aj@suse.de>
51242
51243 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51244 common definitions.
51245
51246 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51247 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51248 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51249 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51250 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51251 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51252
51253 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51254
51255 [BZ #15055]
51256 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51257 __ieee754_sqrl instead of __sqrl.
51258
51259 2013-03-01 Joseph Myers <joseph@codesourcery.com>
51260
51261 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51262 * sysdeps/powerpc/fpu_control.h: ... here.
51263 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51264 * sysdeps/powerpc/bits/fenvinline.h: ... here.
51265 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51266 * sysdeps/powerpc/bits/mathinline.h: ... here.
51267
51268 2013-03-01 Roland McGrath <roland@hack.frob.com>
51269
51270 * elf/dl-hwcaps.c (_dl_important_hwcaps):
51271 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51272 to just [NEED_DL_SYSINFO_DSO].
51273 * elf/dl-support.c: Likewise.
51274 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51275 * elf/rtld.c (dl_main): Likewise.
51276 * elf/setup-vdso.h (setup_vdso): Likewise.
51277 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
51278 * sysdeps/unix/sysv/linux/dl-sysdep.c
51279 (_dl_discover_osversion): Likewise.
51280
51281 2013-03-01 Carlos O'Donell <carlos@redhat.com>
51282
51283 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
51284 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51285
51286 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
51287
51288 * NEWS: Mention libm performance improvements and non-x86 PI
51289 futex support.
51290
51291 * csu/libc-start.c (__pthread_initialize_minimal): Change
51292 function arguments.
51293 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51294
51295 2013-02-28 Joseph Myers <joseph@codesourcery.com>
51296
51297 [BZ #13550]
51298 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
51299 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
51300 <bp-sym.h> and <bp-asm.h>.
51301 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51302 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
51303 and <bp-asm.h>.
51304 (memcpy): Don't use BP_SYM.
51305 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
51306 <bp-asm.h>.
51307 (__mpn_add_n): Don't use BP_SYM.
51308 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
51309 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
51310 and <bp-asm.h>.
51311 (__mpn_addmul_1): Don't use BP_SYM.
51312 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51313 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
51314 <bp-sym.h>.
51315 (_setjmp): Don't use BP_SYM.
51316 (__novmx_setjmp): Likewise.
51317 (__GI__setjmp): Likewise.
51318 (__vmx_setjmp): Likewise.
51319 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
51320 <bp-sym.h>.
51321 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
51322 (__bzero): Don't use BP_SYM.
51323 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51324 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51325 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
51326 <bp-sym.h> and <bp-asm.h>.
51327 (memcpy): Don't use BP_SYM.
51328 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
51329 <bp-sym.h> and <bp-asm.h>.
51330 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51331 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
51332 <bp-sym.h> and <bp-asm.h>.
51333 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51334 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
51335 <bp-asm.h>.
51336 (__mpn_lshift): Don't use BP_SYM.
51337 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51338 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
51339 <bp-asm.h>.
51340 (memset): Don't use BP_SYM.
51341 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51342 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51343 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
51344 <bp-asm.h>.
51345 (__mpn_mul_1): Don't use BP_SYM.
51346 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51347 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
51348 <bp-sym.h> and <bp-asm.h>.
51349 (memcmp): Don't use BP_SYM.
51350 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
51351 <bp-sym.h> and <bp-asm.h>.
51352 (memcpy): Don't use BP_SYM.
51353 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
51354 <bp-sym.h> and <bp-asm.h>.
51355 (memset): Don't use BP_SYM.
51356 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
51357 <bp-sym.h> and <bp-asm.h>.
51358 (strncmp): Don't use BP_SYM.
51359 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
51360 <bp-sym.h> and <bp-asm.h>.
51361 (memcpy): Don't use BP_SYM.
51362 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
51363 <bp-sym.h> and <bp-asm.h>.
51364 (memset): Don't use BP_SYM.
51365 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
51366 <bp-sym.h> and <bp-asm.h>.
51367 (__memchr): Don't use BP_SYM.
51368 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
51369 <bp-sym.h> and <bp-asm.h>.
51370 (memcmp): Don't use BP_SYM.
51371 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
51372 <bp-sym.h> and <bp-asm.h>.
51373 (memcpy): Don't use BP_SYM.
51374 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51375 <bp-sym.h> and <bp-asm.h>.
51376 (__mempcpy): Don't use BP_SYM.
51377 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51378 <bp-sym.h> and <bp-asm.h>.
51379 (__memrchr): Don't use BP_SYM.
51380 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51381 <bp-sym.h> and <bp-asm.h>.
51382 (memset): Don't use BP_SYM.
51383 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51384 <bp-sym.h> and <bp-asm.h>.
51385 (__rawmemchr): Don't use BP_SYM.
51386 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51387 <bp-sym.h> and <bp-asm.h>.
51388 (__STRCMP): Don't use BP_SYM.
51389 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51390 <bp-sym.h> and <bp-asm.h>.
51391 (strchr): Don't use BP_SYM.
51392 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51393 <bp-sym.h> and <bp-asm.h>.
51394 (__strchrnul): Don't use BP_SYM.
51395 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51396 <bp-sym.h> and <bp-asm.h>.
51397 (strlen): Don't use BP_SYM.
51398 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51399 <bp-sym.h> and <bp-asm.h>.
51400 (strncmp): Don't use BP_SYM.
51401 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51402 <bp-sym.h> and <bp-asm.h>.
51403 (__strnlen): Don't use BP_SYM.
51404 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51405 <bp-asm.h>.
51406 (__mpn_rshift): Don't use BP_SYM.
51407 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51408 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51409 <bp-sym.h> and <bp-asm.h>.
51410 (__sigsetjmp): Don't use BP_SYM.
51411 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51412 (L(start_addresses)): Don't use BP_SYM.
51413 (_start): Likewise.
51414 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51415 <bp-asm.h>.
51416 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51417 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51418 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51419 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51420 <bp-asm.h>.
51421 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51422 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51423 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51424 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51425 <bp-asm.h>.
51426 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
51427 comments.
51428 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51429 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51430 <bp-asm.h>.
51431 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
51432 FIXME comments.
51433 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51434 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51435 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51436 <bp-asm.h>.
51437 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
51438 comment.
51439 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51440 and <bp-asm.h>.
51441 (strncmp): Don't use BP_SYM,
51442 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51443 <bp-asm.h>.
51444 (__mpn_sub_n): Don't use BP_SYM.
51445 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51446 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51447 and <bp-asm.h>.
51448 (__mpn_submul_1): Don't use BP_SYM.
51449 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51451 <bp-sym.h> and <bp-asm.h>.
51452 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51454 <bp-sym.h> and <bp-asm.h>.
51455 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
51456 comment.
51457
51458 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51459
51460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51461 Use ZK to minimize writes to Z.
51462 (sub_magnitudes): Simplify code a bit.
51463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51464 Use ZK to minimize writes to Z.
51465 (sub_magnitudes): Simplify code a bit.
51466
51467 2013-02-27 Roland McGrath <roland@hack.frob.com>
51468
51469 * csu/gmon-start.c: Add special exception to license text.
51470
51471 2013-02-27 Richard Henderson <rth@redhat.com>
51472
51473 * scripts/config.guess: Update from config.git.
51474 * scripts/config.sub: Likewise.
51475
51476 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51477
51478 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51479
51480 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51481
51482 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51483
51484 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51485
51486 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51487
51488 2013-02-26 Roland McGrath <roland@hack.frob.com>
51489
51490 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51491 [$(build-shared = yes].
51492
51493 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51494
51495 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51496 (__mul): Reduce iterations for calculating mantissa.
51497
51498 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51499 MPTWO.
51500 (__mpranred): Likewise.
51501
51502 [BZ #15160]
51503 * malloc/memusagestat.c (main): Draw graphs for heap and stack
51504 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51505
51506 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
51507
51508 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51509 Define __attribute__.
51510
51511 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51512
51513 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51514 unused.
51515 * posix/regex_internal.h (__attribute): Remove.
51516 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51517 (re_string_context_at): Likewise.
51518 (bitset_not): Use __attribute__ and mark function as possibly
51519 unused.
51520 (bitset_merge): Likewise.
51521 (bitset_mask): Likewise.
51522 (re_string_char_size_at): Likewise.
51523 (re_string_wchar_at): Likewise.
51524 (re_string_elem_size_at): Likewise.
51525
51526 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51527
51528 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51529 code.
51530 (cc32): Likewise.
51531
51532 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51533 (__acr): Likewise.
51534 (__cpy): Likewise.
51535 (norm): Likewise.
51536 (denorm): Likewise.
51537 (__dbl_mp): Likewise.
51538 (add_magnitudes): Likewise.
51539 (sub_magnitudes): Likewise.
51540 (__mul): Likewise.
51541 (__inv): Likewise.
51542
51543 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51544 style.
51545
51546 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51547 style.
51548
51549 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51550 code.
51551
51552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51553 up changes with default code.
51554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51555 Likewise.
51556
51557 2013-02-24 Allan McRae <allan@archlinux.org>
51558
51559 * manual/socket.texi (The Internet Namespace): Order menu items
51560 to match that in the file.
51561
51562 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51563 node listing of the info page menu.
51564
51565 2013-02-21 Joseph Myers <joseph@codesourcery.com>
51566
51567 [BZ #13550]
51568 * sysdeps/i386/bp-asm.h: Remove file.
51569 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51570 (PARMS): Do not use macros from bp-asm.h.
51571 (S1): Likewise.
51572 (S2): Likewise.
51573 (SIZE): Likewise.
51574 (__mpn_add_n): Do not use BP_SYM
51575 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51576 "bp-asm.h".
51577 (PARMS): Do not use macros from bp-asm.h.
51578 (S1): Likewise.
51579 (SIZE): Likewise.
51580 (__mpn_addmul_1): Do not use BP_SYM
51581 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51582 "bp-asm.h".
51583 (PARMS): Do not use macros from bp-asm.h.
51584 (SIGMSK): Likewise.
51585 (_setjmp): Likewise. Do not use BP_SYM.
51586 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51587 "bp-asm.h".
51588 (PARMS): Do not use macros from bp-asm.h.
51589 (SIGMSK): Likewise.
51590 (setjmp): Likewise. Do not use BP_SYM.
51591 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51592 "bp-asm.h".
51593 (PARMS): Do not use macros from bp-asm.h.
51594 (__frexp): Do not use BP_SYM.
51595 (frexp): Likewise.
51596 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51597 "bp-asm.h".
51598 (PARMS): Do not use macros from bp-asm.h.
51599 (__frexpf): Do not use BP_SYM.
51600 (frexpf): Likewise.
51601 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51602 "bp-asm.h".
51603 (PARMS): Do not use macros from bp-asm.h.
51604 (__frexpl): Do not use BP_SYM.
51605 (frexpl): Likewise.
51606 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51607 "bp-asm.h".
51608 (PARMS): Do not use macros from bp-asm.h.
51609 (__remquo): Do not use BP_SYM.
51610 (remquo): Likewise.
51611 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51612 "bp-asm.h".
51613 (PARMS): Do not use macros from bp-asm.h.
51614 (__remquof): Do not use BP_SYM.
51615 (remquof): Likewise.
51616 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51617 "bp-asm.h".
51618 (PARMS): Do not use macros from bp-asm.h.
51619 (__remquol): Do not use BP_SYM.
51620 (remquol): Likewise.
51621 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51622 "bp-asm.h".
51623 (PARMS): Do not use macros from bp-asm.h.
51624 (DEST): Likewise.
51625 (SRC): Likewise.
51626 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
51627 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51628 "bp-asm.h".
51629 (PARMS): Do not use macros from bp-asm.h.
51630 (strlen): Do not use BP_SYM.
51631 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51632 "bp-asm.h".
51633 (PARMS): Do not use macros from bp-asm.h.
51634 (S1): Likewise.
51635 (S2): Likewise.
51636 (SIZE): Likewise.
51637 (__mpn_add_n): Do not use BP_SYM.
51638 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51639 "bp-asm.h".
51640 (PARMS): Do not use macros from bp-asm.h.
51641 (S1): Likewise.
51642 (SIZE): Likewise.
51643 (__mpn_addmul_1): Do not use BP_SYM.
51644 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51645 weak_alias.
51646 (bzero): Likewise.
51647 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51648 "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/i586/memcpy.S: Do not include "bp-sym.h" and
51654 "bp-asm.h".
51655 (PARMS): Do not use macros from bp-asm.h.
51656 (DEST): Likewise.
51657 (SRC): Likewise.
51658 (LEN): Likewise.
51659 (memcpy): Likewise. Do not use BP_SYM.
51660 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51661 libc_hidden_def and weak_alias.
51662 (mempcpy): Do not use BP_SYM in weak_alias.
51663 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51664 "bp-asm.h".
51665 (PARMS): Do not use macros from bp-asm.h.
51666 (DEST): Likewise.
51667 (LEN): Likewise.
51668 [!BZERO_P] (CHR): Likewise.
51669 (memset): Likewise. Do not use BP_SYM.
51670 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51671 "bp-asm.h".
51672 (PARMS): Do not use macros from bp-asm.h.
51673 (S1): Likewise.
51674 (SIZE): Likewise.
51675 (__mpn_mul_1): Do not use BP_SYM.
51676 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51677 "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/i586/strchr.S: Do not include "bp-sym.h" and
51683 "bp-asm.h".
51684 (PARMS): Do not use macros from bp-asm.h.
51685 (STR): Likewise.
51686 (CHR): Likewise.
51687 (strchr): Likewise. Do not use BP_SYM.
51688 (index): Do not use BP_SYM in weak_alias.
51689 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51690 "bp-asm.h".
51691 (PARMS): Do not use macros from bp-asm.h.
51692 (DEST): Likewise.
51693 (SRC): Likewise.
51694 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
51695 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51696 "bp-asm.h".
51697 (PARMS): Do not use macros from bp-asm.h.
51698 (strlen): Do not use BP_SYM.
51699 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51700 "bp-asm.h".
51701 (PARMS): Do not use macros from bp-asm.h.
51702 (S1): Likewise.
51703 (S2): Likewise.
51704 (SIZE): Likewise.
51705 (__mpn_sub_n): Do not use BP_SYM.
51706 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51707 "bp-asm.h".
51708 (PARMS): Do not use macros from bp-asm.h.
51709 (S1): Likewise.
51710 (SIZE): Likewise.
51711 (__mpn_submul_1): Do not use BP_SYM.
51712 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51713 "bp-asm.h".
51714 (PARMS): Do not use macros from bp-asm.h.
51715 (S1): Likewise.
51716 (S2): Likewise.
51717 (SIZE): Likewise.
51718 (__mpn_add_n): Do not use BP_SYM.
51719 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51720 weak_alias.
51721 (bzero): Likewise.
51722 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51723 "bp-asm.h".
51724 (PARMS): Do not use macros from bp-asm.h.
51725 (BLK2): Likewise.
51726 (LEN): Likewise.
51727 (memcmp): Do not use BP_SYM.
51728 (bcmp): Do not use BP_SYM in weak_alias.
51729 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51730 "bp-asm.h".
51731 (PARMS): Do not use macros from bp-asm.h.
51732 (DEST): Likewise.
51733 (SRC): Likewise.
51734 (LEN): Likewise.
51735 (memcpy): Likewise. Do not use BP_SYM.
51736 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51737 "bp-asm.h".
51738 (PARMS): Do not use macros from bp-asm.h.
51739 (DEST): Likewise.
51740 (SRC): Likewise.
51741 (LEN): Likewise.
51742 (memmove): Likewise. Do not use BP_SYM.
51743 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51744 "bp-asm.h".
51745 (PARMS): Do not use macros from bp-asm.h.
51746 (DEST): Likewise.
51747 (SRC): Likewise.
51748 (LEN): Likewise.
51749 (__mempcpy): Likewise. Do not use BP_SYM.
51750 (mempcpy): Do not use BP_SYM in weak_alias.
51751 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51752 "bp-asm.h".
51753 (PARMS): Do not use macros from bp-asm.h.
51754 (DEST): Likewise.
51755 (LEN): Likewise.
51756 [!BZERO_P] (CHR): Likewise.
51757 (memset): Likewise. Do not use BP_SYM.
51758 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51759 "bp-asm.h".
51760 (PARMS): Do not use macros from bp-asm.h.
51761 (STR2): Likewise.
51762 (strcmp): Do not use BP_SYM.
51763 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51764 "bp-asm.h".
51765 (PARMS): Do not use macros from bp-asm.h.
51766 (STR): Likewise.
51767 (DELIM): Likewise.
51768 [USE_AS_STRTOK_R] (SAVE): Likewise.
51769 (FUNCTION): Likewise. Do not use BP_SYM.
51770 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51771 aliases.
51772 (strtok_r): Likewise.
51773 (__GI___strtok_r): Likewise.
51774 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51775 (PARMS): Do not use macros from bp-asm.h.
51776 (S): Likewise.
51777 (SIZE): Likewise.
51778 (__mpn_lshift): Do not use BP_SYM.
51779 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51780 (PARMS): Do not use macros from bp-asm.h.
51781 (STR): Likewise.
51782 (CHR): Likewise.
51783 (__memchr): Do not use BP_SYM.
51784 (memchr): Do not use BP_SYM in weak_alias.
51785 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51786 (PARMS): Do not use macros from bp-asm.h.
51787 (BLK2): Likewise.
51788 (LEN): Likewise.
51789 (memcmp): Do not use BP_SYM.
51790 (bcmp): Do not use BP_SYM in weak_alias.
51791 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51792 (PARMS): Do not use macros from bp-asm.h.
51793 (S1): Likewise.
51794 (SIZE): Likewise.
51795 (__mpn_mul_1): Do not use BP_SYM.
51796 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51797 "bp-asm.h".
51798 (PARMS): Do not use macros from bp-asm.h.
51799 (STR): Likewise.
51800 (CHR): Likewise.
51801 (__rawmemchr): Do not use BP_SYM.
51802 (rawmemchr): Do not use BP_SYM in weak_alias.
51803 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51804 (PARMS): Do not use macros from bp-asm.h.
51805 (S): Likewise.
51806 (SIZE): Likewise.
51807 (__mpn_rshift): Do not use BP_SYM.
51808 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51809 (PARMS): Do not use macros from bp-asm.h.
51810 (SIGMSK): Likewise.
51811 (__sigsetjmp): Likewise. Do not use BP_SYM.
51812 * sysdeps/i386/start.S: Do not include "bp-sym.h".
51813 (_start): Do not use BP_SYM.
51814 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51815 (PARMS): Do not use macros from bp-asm.h.
51816 (DEST): Likewise.
51817 (SRC): Likewise.
51818 (__stpcpy): Likewise. Do not use BP_SYM.
51819 (stpcpy): Do not use BP_SYM in weak_alias.
51820 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51821 "bp-asm.h".
51822 (PARMS): Do not use macros from bp-asm.h.
51823 (DEST): Likewise.
51824 (SRC): Likewise.
51825 (LEN): Likewise.
51826 (__stpncpy): Likewise. Do not use BP_SYM.
51827 (stpncpy): Do not use BP_SYM in weak_alias.
51828 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51829 (PARMS): Do not use macros from bp-asm.h.
51830 (STR): Likewise.
51831 (CHR): Likewise.
51832 (strchr): Likewise. Do not use BP_SYM.
51833 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51834 "bp-asm.h".
51835 (PARMS): Do not use macros from bp-asm.h.
51836 (STR): Likewise.
51837 (CHR): Likewise.
51838 (__strchrnul): Likewise. Do not use BP_SYM.
51839 (strchrnul): Do not use BP_SYM in weak_alias.
51840 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51841 "bp-asm.h".
51842 (PARMS): Do not use macros from bp-asm.h.
51843 (STOP): Likewise.
51844 (strcspn): Do not use BP_SYM.
51845 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51846 "bp-asm.h".
51847 (PARMS): Do not use macros from bp-asm.h.
51848 (STR): Likewise.
51849 (STOP): Likewise.
51850 (strpbrk): Likewise. Do not use BP_SYM.
51851 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51852 "bp-asm.h".
51853 (PARMS): Do not use macros from bp-asm.h.
51854 (STR): Likewise.
51855 (CHR): Likewise.
51856 (strrchr): Likewise. Do not use BP_SYM.
51857 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51858 (PARMS): Do not use macros from bp-asm.h.
51859 (SKIP): Likewise.
51860 (strspn): Do not use BP_SYM.
51861 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51862 (PARMS): Do not use macros from bp-asm.h.
51863 (STR): Likewise.
51864 (DELIM): Likewise.
51865 (SAVE): Likewise.
51866 (FUNCTION): Likewise. Do not use BP_SYM.
51867 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51868 aliases.
51869 (strtok_r): Likewise.
51870 (__GI___strtok_r): Likewise.
51871 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51872 (PARMS): Do not use macros from bp-asm.h.
51873 (S1): Likewise.
51874 (S2): Likewise.
51875 (SIZE): Likewise.
51876 (__mpn_sub_n): Do not use BP_SYM.
51877 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51878 "bp-asm.h".
51879 (PARMS): Do not use macros from bp-asm.h.
51880 (S1): Likewise.
51881 (SIZE): Likewise.
51882 (__mpn_submul_1): Do not use BP_SYM.
51883 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51884 <bp-sym.h>.
51885 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51886 and <bp-asm.h>.
51887 (PARMS): Do not use macros from bp-asm.h.
51888 (FLAGS): Likewise.
51889 (PTID): Likewise.
51890 (TLS): Likewise.
51891 (CTID): Likewise.
51892 (__clone): Do not use BP_SYM.
51893 (clone): Do not use BP_SYM in weak_alias.
51894 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51895 and <bp-asm.h>.
51896 (PARMS): Do not use macros from bp-asm.h.
51897 (LEN): Likewise.
51898 (__mmap64): Do not use BP_SYM.
51899 (mmap64): Do not use BP_SYM in weak_alias.
51900 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51901 <bp-sym.h> and <bp-asm.h>.
51902 (PARMS): Do not use macros from bp-asm.h.
51903 (__posix_fadvise64_l64): Do not use BP_SYM.
51904 * sysdeps/unix/sysv/linux/i386/semtimedop.S
51905 (PARMS): Do not use macros from bp-asm.h.
51906 (NSOPS): Likewise.
51907 (semtimedop): Do not use BP_SYM.
51908 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51909 and <bp-asm.h>.
51910
51911 2013-02-21 Allan McRae <allan@archlinux.org>
51912
51913 * manual/message.texi (Charset conversion in gettext):
51914 Move @end statement to beginning of line.
51915
51916 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
51917
51918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51919 static.
51920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51921 Likewise.
51922
51923 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51924 (denorm): Likewise.
51925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51927
51928 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51929
51930 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51931 tail-call to the resolved function if pltexit isn't needed.
51932
51933 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
51934
51935 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51936 or Y being zero as being unlikely.
51937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51938 Likewise.
51939
51940 2013-02-20 Carlos O'Donell <carlos@redhat.com>
51941
51942 * manual/nss.texi (System Databases and Name Service Switch):
51943 Remove frobnicate @pxref.
51944
51945 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
51946
51947 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51948 __attribute__ ((unused)) to __attribute__ ((__unused__)).
51949
51950 2013-02-20 Petr Machata <pmachata@redhat.com>
51951
51952 * elf/elf.h (R_ARM_TARGET1): New macro.
51953 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51954 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51955 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51956 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51957 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51958 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51959 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51960 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51961 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51962 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51963 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51964 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51965 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51966 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51967 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51968 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51969 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51970 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51971 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51972 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51973 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51974 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51975 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51976 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51977 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51978 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51979 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51980 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51981 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51982 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51983 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51984 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51985 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51986 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51987 (R_ARM_THM_GOT_BREL12): Likewise.
51988 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51989 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51990 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51991 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51992 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51993 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51994 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51995 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51996 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51997
51998 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
51999
52000 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52001 __attribute_used__ to __attribute__ ((unused)).
52002
52003 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
52004
52005 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52006 powerpc mpa.c.
52007 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52008 comment formatting.
52009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52010
52011 2013-02-19 Joseph Myers <joseph@codesourcery.com>
52012
52013 [BZ #13550]
52014 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
52015 Remove macro.
52016 (ENTER): Remove both macro definitions.
52017 (LEAVE): Likewise.
52018 (CHECK_BOUNDS_LOW): Likewise.
52019 (CHECK_BOUNDS_HIGH): Likewise.
52020 (CHECK_BOUNDS_BOTH): Likewise.
52021 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
52022 (RETURN_BOUNDED_POINTER): Likewise.
52023 (RETURN_NULL_BOUNDED_POINTER): Likewise.
52024 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
52025 (POP_ERRNO_LOCATION_RETURN): Likewise.
52026 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
52027 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52028 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
52029 macros.
52030 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52031 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
52032 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
52033 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
52034 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
52035 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
52036 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
52037 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
52038 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
52039 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
52040 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
52041 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
52042 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52043 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
52044 removed macros.
52045 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52046 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
52047 macros.
52048 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52049 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
52050 * sysdeps/i386/i586/memset.S (memset): Likewise.
52051 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
52052 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52053 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
52054 macros.
52055 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52056 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
52057 Change uses of L(2) to L(out).
52058 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
52059 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
52060 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
52061 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52062 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
52063 removed macros.
52064 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52065 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
52066 macros.
52067 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52068 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
52069 (RETURN): Do not use macro LEAVE.
52070 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
52071 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
52072 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
52073 * sysdeps/i386/i686/memset.S (memset): Likewise.
52074 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
52075 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
52076 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52077 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
52078 Likewise.
52079 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52080 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
52081 L(1_2) and L(1_3) into L(1).
52082 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52083 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
52084 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52085 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
52086 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52087 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
52088 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
52089 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52090 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
52091 macros.
52092 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
52093 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52094 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
52095 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
52096 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
52097 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52098 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
52099 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
52100 * sysdeps/i386/strcspn.S (strcspn): Likewise.
52101 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
52102 * sysdeps/i386/strrchr.S (strrchr): Likewise.
52103 * sysdeps/i386/strspn.S (strspn): Likewise.
52104 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
52105 conditional code.
52106 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52107 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
52108 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52109 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
52110 L(1_3) into L(1_1).
52111 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
52112 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52113 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
52114 macros.
52115 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52116
52117 2013-02-19 Jakub Jelinek <jakub@redhat.com>
52118
52119 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
52120 macro.
52121
52122 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52123
52124 * math/atest-exp.c (exp_mpn): Remove ROUND.
52125 * math/atest-exp2.c (exp_mpn): Likewise.
52126 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52127
52128 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52129 * stdlib/tst-tls-atexit-lib.c: Likewise.
52130 * stdlib/tst-tls-atexit.c: Likewise.
52131
52132 2013-02-18 Mike Frysinger <vapier@gentoo.org>
52133
52134 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52135 and __attribute_alloc_size__.
52136
52137 2013-02-18 Mike Frysinger <vapier@gentoo.org>
52138
52139 * include/programs/xmalloc.h: Change __attribute_alloc_size to
52140 __attribute_alloc_size__.
52141 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52142 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52143
52144 2013-02-18 Mike Frysinger <vapier@gentoo.org>
52145
52146 * include/programs/xmalloc.h: New file.
52147 * catgets/gencat.c: Include it.
52148 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52149 * elf/pldd.c: Likewise.
52150 * iconv/iconv_charmap.c: Likewise.
52151 * iconv/iconvconfig.c: Likewise.
52152 * iconv/strtab.c: Likewise.
52153 * locale/programs/locale.c: Likewise.
52154 * locale/programs/localedef.h: Likewise.
52155 * locale/programs/simple-hash.c: Likewise.
52156 * nscd/nscd.h: Likewise.
52157 * nss/makedb.c: Likewise.
52158 * sysdeps/generic/ldconfig.h: Likewise.
52159
52160 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52161
52162 * Versions.def: Add GLIBC_2.18.
52163 * include/link.h (struct link_map): New member l_tls_dtor_count.
52164 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52165 (__call_tls_dtors): Likewise.
52166 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52167 __cxa_thread_atexit_impl.
52168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52169 Likewise.
52170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52171 Likewise.
52172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52173 Likewise.
52174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52175 Likewise.
52176 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52178 Likewise.
52179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52180 Likewise.
52181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52183 Likewise.
52184 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52185 (tests): Add test case tst-tls-atexit.
52186 (modules-names): Add shared library for tst-tls-atexit.
52187 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52188 (GLIBC_PRIVATE): Add __call_tls_dtors.
52189 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52190 for libstdc++.
52191 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52192 * stdlib/tst-tls-atexit.c: New test case.
52193 * stdlib/tst-tls-atexit-lib.c: New test case.
52194
52195 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52196
52197 * elf/Versions (ld): Add _dl_find_dso_for_object.
52198 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52199 * elf/dl-open.c (_dl_find_dso_for_object): New function.
52200 (dl_open_worker): Use _dl_find_dso_for_object.
52201 * elf/dl-sym.c (do_sym): Likewise.
52202 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52203
52204 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52205
52206 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52207 Syntactic changes only.
52208 (_dl_runtime_profile): Do a tail-call to the resolved function.
52209
52210 2013-02-17 Joseph Myers <joseph@codesourcery.com>
52211
52212 [BZ #13550]
52213 * sysdeps/x86_64/bp-asm.h: Remove file.
52214 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52215 <bp-sym.h> and <bp-asm.h>.
52216 (__clone): Do not use BP_SYM.
52217 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52218 <bp-sym.h> and <bp-asm.h>.
52219 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52220 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52221 "bp-asm.h".
52222 (_setjmp): Do not use BP_SYM.
52223 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52224 "bp-asm.h".
52225 (setjmp): Do not use BP_SYM.
52226 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52227 libc_hidden_def.
52228 (mempcpy): Do not use BP_SYM in weak_alias.
52229 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52230 "bp-asm.h".
52231 (strchr): Do not use BP_SYM.
52232 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52233 "bp-asm.h".
52234 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52235 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52236 (_start): Do not use BP_SYM.
52237 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52238 "bp-asm.h".
52239 (strcat): Do not use BP_SYM.
52240 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52241 "bp-asm.h".
52242 (STRCMP): Do not use BP_SYM.
52243 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52244 "bp-asm.h".
52245 (STRCPY): Do not use BP_SYM.
52246 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52247 "bp-asm.h".
52248 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52249 "bp-asm.h".
52250 (FUNCTION): Do not use BP_SYM.
52251 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52252 weak_alias.
52253 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52254
52255 2013-02-17 Andreas Jaeger <aj@suse.de>
52256
52257 * time/Versions: Sort entries.
52258 * string/Versions: Likewise.
52259 * resolv/Versions: Likewise.
52260 * posix/Versions: Likewise.
52261 * iconv/Versions: Likewise.
52262 * elf/Versions: Likewise.
52263 * wcsmbs/Versions: Likewise.
52264
52265 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52266
52267 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52268 loop termination condition.
52269
52270 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52271 variable to calculate EZ.
52272 (__sqr): Likewise.
52273
52274 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52275 the lower precision input.
52276
52277 2013-02-15 Joseph Myers <joseph@codesourcery.com>
52278
52279 [BZ #13550]
52280 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
52281 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
52282 (run-via-rtld-prefix): Do not handle %-bp tests.
52283 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
52284 (all-object-suffixes): Remove .ob.
52285 (bppfx): Remove variable.
52286 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
52287 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
52288 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
52289 [$(build-bounded) = yes] (libtype.ob): Likewise.
52290 * Makerules (elide-routines.ob): Remove variable.
52291 (do-tests-clean): Do not handle *-bp.out.
52292 (common-mostlyclean): Do not handle *-bp and *-bp.out.
52293 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
52294 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
52295 (tests): Do not include $(tests-bp.out).
52296 (xtests): Do not include $(xtests-bp.out).
52297 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
52298 [$(build-bounded) = yes] ($(addprefix
52299 $(objpfx),$(binaries-bounded))): Remove rule.
52300 ($(objpfx)%-bp.out): Remove rule.
52301 * config.make.in (build-bounded): Remove variable.
52302 * crypt/Makefile [$(build-bounded) = yes]
52303 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
52304 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
52305 append to variable.
52306 [$(build-bounded) = yes] (install-lib): Likewise.
52307 [$(build-bounded) = yes] (generated): Likewise.
52308 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
52309 Remove rule.
52310 * intl/Makefile [$(build-bounded) = yes]
52311 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
52312 * math/Makefile [$(build-bounded) = yes]
52313 ($(tests:%=$(objpfx)%-bp): Likewise.
52314 * misc/Makefile [$(build-bounded) = yes]
52315 ($(objpfx)tst-tsearch-bp): Likewise.
52316 * nptl/Makeconfig (bounded-thread-library): Remove variable.
52317 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
52318 Remove dependency.
52319 * string/Makefile (o-objects.ob): Remove variable.
52320 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
52321 (CFLAGS-.ob): Remove variable.
52322 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52323 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
52324 both definitions of variable.
52325 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
52326 (ASFLAGS-.ob): Remove variable.
52327
52328 2013-02-14 Joseph Myers <joseph@codesourcery.com>
52329
52330 [BZ #13550]
52331 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
52332 Remove __BOUNDED_POINTERS__ from condition.
52333 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
52334 * string/bits/string2.h [!__NO_STRING_INLINES &&
52335 !__BOUNDED_POINTERS__]: Likewise.
52336 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
52337 Likewise.
52338 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
52339 Remove conditional code.
52340 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
52341 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
52342 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
52343 condition.
52344
52345 [BZ #13550]
52346 * csu/libc-start.c: Do not include <bp-sym.h>.
52347 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
52348 * elf/dl-open.c: Do not include <bp-sym.h>.
52349 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
52350 * math/fegetenv.c: Do not include <bp-sym.h>.
52351 (fegetenv): Do not use BP_SYM in versioned symbols.
52352 * nptl/sysdeps/pthread/bits/libc-lockP.h
52353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
52354 <bp-sym.h>.
52355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52356 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
52357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52358 (__pthread_mutex_destroy): Likewise.
52359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52360 (__pthread_mutex_lock): Likewise.
52361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52362 (__pthread_mutex_trylock): Likewise.
52363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52364 (__pthread_mutex_unlock): Likewise.
52365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52366 (__pthread_mutexattr_init): Likewise.
52367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52368 (__pthread_mutexattr_destroy): Likewise.
52369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52370 (__pthread_mutexattr_settype): Likewise.
52371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52372 (__pthread_rwlock_init): Likewise.
52373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52374 (__pthread_rwlock_destroy): Likewise.
52375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52376 (__pthread_rwlock_rdlock): Likewise.
52377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52378 (__pthread_rwlock_tryrdlock): Likewise.
52379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52380 (__pthread_rwlock_wrlock): Likewise.
52381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52382 (__pthread_rwlock_trywrlock): Likewise.
52383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52384 (__pthread_rwlock_unlock): Likewise.
52385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52386 (__pthread_key_create): Likewise.
52387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52388 (__pthread_setspecific): Likewise.
52389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52390 (__pthread_getspecific): Likewise.
52391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52392 Likewise.
52393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52394 (_pthread_cleanup_push_defer): Likewise.
52395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52396 (_pthread_cleanup_pop_restore): Likewise.
52397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52398 (pthread_setcancelstate): Likewise.
52399 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52400 <bp-sym.h>.
52401 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52402 (memchr): Do not use BP_SYM in weak_alias.
52403 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52404 (fegetenv): Do not use BP_SYM in versioned symbols.
52405 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52406 (fesetenv): Do not use BP_SYM in versioned symbols.
52407 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52408 (feupdateenv): Do not use BP_SYM in versioned symbols.
52409 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52410 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52411 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52412 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52413 (open64): Do not use BP_SYM in weak_alias.
52414 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52415 (fegetenv): Do not use BP_SYM in versioned symbols.
52416 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52417 (fesetenv): Do not use BP_SYM in versioned symbols.
52418 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52419 (feupdateenv): Do not use BP_SYM in versioned symbols.
52420 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52421 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52422 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52423 (feraiseexcept): Do not use BP_SYM in versioned symbols.
52424 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52425 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52426 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52427 <bp-sym.h>.
52428 (__libc_start_main): Do not use BP_SYM.
52429
52430 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
52431
52432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52433 redundant return line.
52434 (norm): Likewise.
52435 (denorm): Likewise.
52436 (dbl_mp): Likewise.
52437 (sub_magnitudes): Likewise.
52438 (__add): Likewise.
52439 (__sub): Likewise.
52440 (__mul): Likewise.
52441 (__inv): Likewise.
52442 (__dvd): Likewise.
52443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52444 (norm): Likewise.
52445 (denorm): Likewise.
52446 (dbl_mp): Likewise.
52447 (sub_magnitudes): Likewise.
52448 (__add): Likewise.
52449 (__sub): Likewise.
52450 (__mul): Likewise.
52451 (__inv): Likewise.
52452 (__dvd): Likewise.
52453
52454 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52455 instead of __mul.
52456 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52457 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52458 (cc32): Likewise.
52459
52460 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52461 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52462 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52463 of __mul for squares.
52464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52465 function
52466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52467 Likewise.
52468 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52469 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52470
52471 2013-02-13 Joseph Myers <joseph@codesourcery.com>
52472
52473 [BZ #13550]
52474 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52475 code.
52476 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52477 prototype or function definition. Rename ubp_* variables and
52478 parameters. Remove argv definitions conditional on
52479 [__BOUNDED_POINTERS__].
52480 * debug/backtrace.c (__backtrace): Do not use __unbounded.
52481 * elf/dl-runtime.c (_dl_fixup): Likewise.
52482 * include/set-hooks.h (RUN_HOOK): Likewise.
52483 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52484 definition.
52485 * string/strcpy.c (strcpy): Do not use __unbounded.
52486 * sysdeps/generic/frame.h (struct layout): Likewise.
52487 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52488 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52489 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52490 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52491 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52492 (__backtrace): Likewise.
52493 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52494 use __ptrvalue.
52495 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52496 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52497 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52498 Likewise.
52499 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52500 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52501 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52502 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52503 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52504 Do not use __unbounded.
52505 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52506 Rename __unboundedrlimits parameter to rlimits in prototype.
52507 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52508 Do not use __unbounded.
52509 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52510 not use __ptrvalue.
52511 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52512 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52513 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52514 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52515 __ptrvalue or __unbounded.
52516 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52517 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52518 use __unbounded.
52519 (__new_msgctl): Do not use __ptrvalue.
52520 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52521 __unbounded.
52522 (__libc_msgrcv): Do not use __ptrvalue.
52523 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52524 startup_info): Do not use __unbounded.
52525 (__libc_start_main): Likewise. Rename ubp_* variables and
52526 parameters. Remove argv definitions conditional on
52527 [__BOUNDED_POINTERS__].
52528 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52529 __ptrvalue.
52530 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52531 use __unbounded.
52532 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52533 or __ptrvalue.
52534 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52535 use __unbounded.
52536 (__new_shmctl): Do not use __ptrvalue.
52537 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52538 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52539 Likewise.
52540 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52541 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52542 (__libc_sigaction): Likewise.
52543 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52544 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52545 Likewise.
52546 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52547
52548 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
52549
52550 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52551
52552 * string/mempcpy.c: Implement by calling memcpy.
52553
52554 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
52555
52556 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52557
52558 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52559 evaluation.
52560
52561 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52562 values in the mantissa.
52563
52564 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52565 minimize writes to Z.
52566 (sub_magnitudes): Simplify code a bit.
52567
52568 2013-02-12 Roland McGrath <roland@hack.frob.com>
52569
52570 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52571 from the message. The linker prefixes all warnings with that already.
52572
52573 2013-02-12 Andreas Schwab <schwab@suse.de>
52574
52575 [BZ #15078]
52576 * posix/regexec.c (extend_buffers): Add parameter min_len.
52577 (check_matching): Pass minimum needed length.
52578 (clean_state_log_if_needed): Likewise.
52579 (get_subexp): Likewise.
52580 * posix/Makefile (tests): Add bug-regex34.
52581 (bug-regex34-ENV): Define.
52582 * posix/bug-regex34.c: New file.
52583
52584 [BZ #11561]
52585 * posix/regcomp.c (parse_bracket_exp): When looking up collating
52586 elements compare against the byte sequence of it, not its name.
52587 * posix/Makefile (tests): Add bug-regex35.
52588 (bug-regex35-ENV): Define.
52589 * posix/bug-regex35.c: New file.
52590
52591 2013-02-11 Tom de Vries <tom@codesourcery.com>
52592
52593 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
52594 comment.
52595 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52596 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52597 (CHECK_EOL): Add undef.
52598
52599 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
52600
52601 * bits/stdlib-bsearch.h: New file.
52602 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52603 * stdlib/stdlib.h: Likewise.
52604
52605 2013-02-11 Roland McGrath <roland@hack.frob.com>
52606
52607 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52608 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52609 declaration.
52610 * manual/search.texi (Array Search Function): Add missing const in
52611 lfind prototype.
52612 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52613 declaration to use rlim_t.
52614 (Basic Scheduling Functions): Remove erroneous const from
52615 sched_getparam prototype. Remove erroneous * from
52616 sched_get_priority_max and sched_get_priority_min prototypes.
52617 (Resource Usage): Fix summary @comment on vtimes to refer to
52618 sys/vtimes.h rather than vtimes.h.
52619 Add missing *s in vtimes prototype.
52620 (Limits on Resources): Fix ulimit prototype to return long int.
52621 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52622 prototypes to use long int rather than double.
52623 (BSD Random): Fix initstate and setstate to use char *, not void *.
52624 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52625 prototype to make second argument 'struct aiocb64 *const[]'.
52626 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52627 (Status of AIO Operations): Remove erroneous const in aio_return and
52628 aio_return64 prototypes.
52629 (Synchronizing I/O): Fix sync prototype to return void.
52630 * manual/startup.texi (Suboptions): Remove an erroneous const in
52631 getsubopt prototype.
52632 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52633 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52634 use size_t rather than int.
52635 (Scanning All Users): Likewise for getpwent_r.
52636 (Setting Groups): Add missing const to setgroups prototype.
52637 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52638 * manual/socket.texi (Host Names): Fix gethostbyaddr and
52639 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52640 'const void *' rather than 'const char *'.
52641 (Host Address Functions): Likewise for inet_ntop.
52642 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52643 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52644 ssize_t for return value.
52645 (Sending Data): Likewise for send, sendto, sendmsg.
52646 (Socket Option Functions): Add a missing const in setsockopt prototype.
52647 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52648 use wchar_t for the argument.
52649 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52650 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52651 take no arguments.
52652 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52653 double/float/long double for second argument.
52654 Fix return types of significand, significandf, significandl.
52655 * manual/filesys.texi (Setting Permissions): Use mode_t for second
52656 argument in fchmod prototype.
52657 (File Owner): Use uid_t and gid_t in fchown prototype.
52658 (File Times): Add const to utimes, futimes, and lutimes prototypes.
52659 (Making Special Files): Use mode_t and dev_t in mknod prototype.
52660 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52661 use 'const struct dirent **' as argument types to CMP function pointer
52662 argument.
52663 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52664 (File Times): Fix summary magic @comment for struct utimbuf and utime
52665 to refer to utime.h, not time.h.
52666 * manual/string.texi (Argz Functions): Add missing const in
52667 argz_extract and argz_next prototypes.
52668 (Finding Tokens in a String): Likewise for basename.
52669 (String/Array Comparison): Fix typo in wcscasecmp prototype.
52670 (Copying and Concatenation): Fix typo in wmemmove prototype.
52671 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52672 (Signal Stack): Remove erroneous const in sigstack prototype.
52673 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52674 prototype.
52675 (Simple Calendar Time): Likewise for stime.
52676 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52677 prototype.
52678 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52679 say sys/sysctl.h instead.
52680 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52681 and vsyslog prototypes.
52682
52683 2013-02-11 Tom de Vries <tom@codesourcery.com>
52684
52685 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52686 Remove.
52687
52688 2013-02-11 Roland McGrath <roland@hack.frob.com>
52689
52690 * misc/sys/mman.h: Fix typo in mremap comment.
52691
52692 2013-02-08 Roland McGrath <roland@hack.frob.com>
52693
52694 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52695 the '\0' terminator.
52696
52697 2013-02-08 Joseph Myers <joseph@codesourcery.com>
52698
52699 [BZ #13550]
52700 * debug/segfault.c: Don't include <bp-checks.h>.
52701 * sysdeps/generic/bp-checks.h: Remove file.
52702 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52703 (__GETDENTS): Don't use CHECK_N.
52704 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52705 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52706 (__getgroups): Don't use CHECK_N.
52707 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52708 (setgroups): Don't use CHECK_N.
52709 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52710 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52711 (__libc_msgrcv): Don't use CHECK_N.
52712 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52713 (__libc_msgsnd): Don't use CHECK_N.
52714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52715 <bp-checks.h>.
52716 (__libc_pread): Don't use CHECK_N.
52717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52718 include <bp-checks.h>.
52719 (__libc_pread64): Don't use CHECK_N.
52720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52721 include <bp-checks.h>.
52722 (__libc_pwrite): Don't use CHECK_N.
52723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52724 include <bp-checks.h>.
52725 (__libc_pwrite64): Don't use CHECK_N.
52726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52727 <bp-checks.h>.
52728 (__libc_pread): Don't use CHECK_N.
52729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52730 include <bp-checks.h>.
52731 (__libc_pread64): Don't use CHECK_N.
52732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52733 include <bp-checks.h>.
52734 (__libc_pwrite): Don't use CHECK_N.
52735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52736 include <bp-checks.h>.
52737 (__libc_pwrite64): Don't use CHECK_N.
52738 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52739 (do_pread): Don't use CHECK_N.
52740 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52741 (do_pread64): Don't use CHECK_N.
52742 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52743 (do_pwrite): Don't use CHECK_N.
52744 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52745 (do_pwrite64): Don't use CHECK_N.
52746 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52747 (__libc_readv): Don't use CHECK_N.
52748 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52749 (semop): Don't use CHECK_N.
52750 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52751 <bp-checks.h>.
52752 (semtimedop): Don't use CHECK_N.
52753 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52754 (__libc_pread): Don't use CHECK_N.
52755 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52756 <bp-checks.h>.
52757 (__libc_pread64): Don't use CHECK_N.
52758 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52759 <bp-checks.h>.
52760 (__libc_pwrite): Don't use CHECK_N.
52761 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52762 <bp-checks.h>.
52763 (__libc_pwrite64): Don't use CHECK_N.
52764 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52765 <bp-checks.h>.
52766 (__libc_msgrcv): Don't use CHECK_N.
52767 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52768 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
52769 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52770 (__libc_writev): Don't use CHECK_N.
52771
52772 2013-02-08 Roland McGrath <roland@hack.frob.com>
52773
52774 * string/strcpy.c: Removed unused variable.
52775
52776 * Makeconfig (+sysdep-includes): Define with := rather than =.
52777 Use an existing include/ subdir of each sysdeps dir before it.
52778
52779 2013-02-08 Carlos O'Donell <carlos@redhat.com>
52780
52781 * nscd/connection.c (register_traced_file): Comment function.
52782 [HAVE_INOTIFY] (union __inev): Define.
52783 [HAVE_INOTIFY] (inotify_check_files): New function.
52784 [HAVE_INOTIFY] (clear_db_cache): Likewise.
52785 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52786 clear_db_cache.
52787 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52788
52789 2013-02-08 Carlos O'Donell <carlos@redhat.com>
52790
52791 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52792 loaded if not already and that a failure is permanent.
52793
52794 2013-02-08 Carlos O'Donell <carlos@redhat.com>
52795
52796 [BZ #15006]
52797 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52798 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52799
52800 2013-02-08 Joseph Myers <joseph@codesourcery.com>
52801
52802 [BZ #13550]
52803 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52804 (CHECK_1_NULL_OK): Likewise.
52805 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52806 (__fxstat): Do not use CHECK_1.
52807 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52808 <bp-checks.h>.
52809 (___fxstat64): Do not use CHECK_1.
52810 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52811 <bp-checks.h>.
52812 (__fxstatat): Do not use CHECK_1.
52813 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52814 <bp-checks.h>.
52815 (__fxstatat64): Do not use CHECK_1.
52816 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52817 <bp-checks.h>.
52818 (__fxstat): Do not use CHECK_1.
52819 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52820 <bp-checks.h>.
52821 (__fxstatat): Do not use CHECK_1.
52822 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52823 <bp-checks.h>.
52824 (__getresgid): Do not use CHECK_1.
52825 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52826 <bp-checks.h>.
52827 (__getresuid): Do not use CHECK_1.
52828 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52829 <bp-checks.h>.
52830 (__lxstat): Do not use CHECK_1.
52831 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52832 <bp-checks.h>.
52833 (__old_msgctl): Do not use CHECK_1.
52834 (__new_msgctl): Likewise.
52835 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52836 <bp-checks.h>.
52837 (__new_setrlimit): Do not use CHECK_1.
52838 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52839 <bp-checks.h>.
52840 (__old_shmctl): Do not use CHECK_1.
52841 (__new_shmctl): Likewise.
52842 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52843 <bp-checks.h>.
52844 (__xstat): Do not use CHECK_1.
52845 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52846 (__lxstat): Do not use CHECK_1.
52847 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52848 <bp-checks.h>.
52849 (___lxstat64): Do not use CHECK_1.
52850 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52851 (__old_msgctl): Do not use CHECK_1.
52852 (__new_msgctl): Likewise.
52853 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52854 <bp-checks.h>.
52855 (__gettimeofday): Do not use CHECK_1.
52856 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52857 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52858 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52859 <bp-checks.h>.
52860 (__gettimeofday): Do not use CHECK_1.
52861 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52862 (__old_shmctl): Do not use CHECK_1_NULL_OK.
52863 (__new_shmctl): Do not use CHECK_1.
52864 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52865 <bp-checks.h>.
52866 (do_sigtimedwait): Do not use CHECK_1.
52867 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52868 <bp-checks.h>.
52869 (do_sigwaitinfo): Do not use CHECK_1.
52870 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52871 <bp-checks.h>.
52872 (msgctl): Do not use CHECK_1.
52873 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52874 <bp-checks.h>.
52875 (shmctl): Do not use CHECK_1.
52876 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52877 (ustat): Do not use CHECK_1.
52878 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52879 <bp-checks.h>.
52880 (__fxstat): Do not use CHECK_1.
52881 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52882 <bp-checks.h>.
52883 (__fxstatat): Do not use CHECK_1.
52884 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52885 <bp-checks.h>.
52886 (__lxstat): Do not use CHECK_1.
52887 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52888 <bp-checks.h>.
52889 (__xstat): Do not use CHECK_1.
52890 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52891 (__xstat): Do not use CHECK_1.
52892 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52893 (___xstat64): Do not use CHECK_1.
52894
52895 [BZ #13550]
52896 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52897 definitions.
52898 (CHECK_BOUNDS_HIGH): Likewise.
52899 * string/strcpy.c: Do not include <bp-checks.h>.
52900 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52901
52902 2013-02-07 Roland McGrath <roland@hack.frob.com>
52903
52904 * nscd/nscd-client.h (__nscd_drop_map_ref):
52905 Add __attribute__ ((unused)).
52906 * nis/nss-nisplus.h (niserr2nss): Likewise.
52907
52908 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52909 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52910
52911 * csu/libc-tls.c (init_static_tls, init_slotinfo):
52912 Remove inline keyword.
52913 * include/rounding-mode.h (round_away): Likewise.
52914 * libio/wfileops.c (adjust_wide_data): Likewise.
52915 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52916 (__m128i_strloadu_tolower): Likewise.
52917 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52918 (__m128i_strloadu_tolower): Likewise.
52919 * time/mktime.c (ydhms_diff): Likewise.
52920 * locale/elem-hash.h (elem_hash): Likewise.
52921 * locale/setlocale.c (setdata): Likewise.
52922 * posix/regex_internal.h (re_string_char_size_at): Likewise.
52923 (re_string_wchar_at): Likewise.
52924 (bitset_not, bitset_merge, bitset_mask): Likewise.
52925 [!(__GNUC__ > 3)] (inline): Remove macro.
52926 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52927 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52928 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52929 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52930 * string/memcmp.c (memcmp_bytes): Likewise.
52931 * locale/programs/locarchive.c (compute_hashval): Likewise.
52932 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52933 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52934 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52935 * nss/getent.c (print_rpc, print_protocols): Likewise.
52936 (print_passwd, print_group, print_aliases): Likewise.
52937 * nis/nss-nisplus.h (niserr2nss): Likewise.
52938 * nscd/connections.c (restart_p): Likewise.
52939 Change return type to bool.
52940
52941 2013-02-05 Roland McGrath <roland@hack.frob.com>
52942
52943 * Makeconfig (all-Depend-files): Add existing
52944 $(sorted-subdirs:=/Depend) files.
52945 (all-subdirs): Remove nss.
52946 * sysdeps/unix/inet/Subdirs: Add it here instead.
52947 * hesiod/Depend: New file.
52948
52949 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52950 instead of calling alloca.
52951
52952 * io/lseek.c (__lseek): Rename to __libc_lseek.
52953 Define __lseek as an alias.
52954
52955 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52956
52957 2013-02-04 Carlos O'Donell <carlos@redhat.com>
52958
52959 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52960 else clause and remove check for non-standard endianness.
52961
52962 2013-02-04 David S. Miller <davem@davemloft.net>
52963
52964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52965
52966 2013-02-04 Joseph Myers <joseph@codesourcery.com>
52967
52968 [BZ #13550]
52969 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52970 (__ubp_memchr): Remove prototype.
52971 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52972 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52973 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52974 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52975 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52976 Remove alias.
52977 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52978 (__ubp_memchr): Likewise.
52979 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52980 (__ubp_memchr): Likewise.
52981 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52982 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52983 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52984 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52985 CHECK_STRING.
52986 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52987 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52988 (__getcwd): Do not use CHECK_STRING.
52989 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52990 <bp-checks.h>.
52991 (__real_chown): Do not use CHECK_STRING.
52992 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52993 <bp-checks.h>.
52994 (fchownat): Do not use CHECK_STRING.
52995 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52996 CHECK_STRING.
52997 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52998 <bp-checks.h>.
52999 (__lchown): Do not use CHECK_STRING.
53000 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53001 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53002 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53003 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53005 include <bp-checks.h>.
53006 (truncate64): Do not use CHECK_STRING.
53007 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53008 <bp-checks.h>.
53009 (__real_chown): Do not use CHECK_STRING.
53010 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53011 <bp-checks.h>.
53012 (__lchown): Do not use CHECK_STRING.
53013 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53014 <bp-checks.h>.
53015 (__chown): Do not use CHECK_STRING.
53016 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
53017 <bp-checks.h>.
53018 (truncate64): Do not use CHECK_STRING.
53019 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
53020 Likewise.
53021 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
53022 (__xmknod): Do not use CHECK_STRING.
53023 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
53024 <bp-checks.h>.
53025 (__xmknodat): Do not use CHECK_STRING.
53026 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53027 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
53028
53029 2013-02-04 Andreas Schwab <schwab@suse.de>
53030
53031 [BZ #14142]
53032 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
53033 * include/netdb.h: Likewise for h_errno.
53034 * elf/tst-stackguard1.c: Include <tls.h>.
53035
53036 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
53037
53038 * elf/link.h (struct link_map): Extend the l_addr comment.
53039 * include/link.h (struct link_map): Likewise.
53040
53041 2013-02-01 Joseph Myers <joseph@codesourcery.com>
53042
53043 [BZ #13550]
53044 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
53045 (BOUNDED_1): Remove macro.
53046 * debug/backtrace.c: Don't include <bp-checks.h>.
53047 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
53048 (__backtrace): Likewise.
53049 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
53050 <bp-checks.h>.
53051 (__backtrace): Don't use BOUNDED_1.
53052 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
53053 <bp-checks.h>.
53054 (__backtrace): Don't use BOUNDED_1.
53055 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
53056 (__backtrace): Don't use BOUNDED_1.
53057 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
53058 (shmat): Don't use BOUNDED_N.
53059
53060 2013-01-31 Joseph Myers <joseph@codesourcery.com>
53061
53062 [BZ #13550]
53063 * sysdeps/generic/bp-start.h: Remove file.
53064 * csu/libc-start.c: Don't include <bp-start.h>.
53065 (LIBC_START_MAIN): Set up __environ directly instead of using
53066 INIT_ARGV_and_ENVIRON.
53067 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
53068 <bp-start.h>.
53069
53070 [BZ #13550]
53071 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
53072 definitions.
53073 (CHECK_FCNTL): Likewise.
53074 (CHECK_N_PAGES): Likewise.
53075
53076 [BZ #13550]
53077 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
53078 definitions.
53079 (CHECK_SIGSET_NULL_OK): Likewise.
53080 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
53081 <bp-checks.h>.
53082 (sigpending): Don't use CHECK_SIGSET.
53083 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
53084 <bp-checks.h>.
53085 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53086 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
53087 <bp-checks.h>.
53088 (do_sigsuspend): Don't use CHECK_SIGSET.
53089 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
53090 use CHECK_SIGSET.
53091 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
53092 (do_sigwait): Don't use CHECK_SIGSET.
53093 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
53094 use CHECK_SIGSET.
53095 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
53096 include <bp-checks.h>.
53097 (sigpending): Don't use CHECK_SIGSET.
53098 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
53099 include <bp-checks.h>.
53100 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53101 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
53102 <bp-checks.h>.
53103 (sigpending): Don't use CHECK_SIGSET.
53104 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
53105 <bp-checks.h>.
53106 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53107
53108 [BZ #13550]
53109 * sysdeps/generic/bp-semctl.h: Remove file.
53110 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
53111 <bp-checks.h> and <bp-semctl.h>.
53112 (__old_semctl): Don't use CHECK_SEMCTL.
53113 (__new_semctl): Likewise.
53114 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
53115 and <bp-semctl.h>.
53116 (__old_semctl): Don't use CHECK_SEMCTL.
53117 (__new_semctl): Likewise.
53118 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
53119 <bp-checks.h> and <bp-semctl.h>.
53120 (__old_semctl): Don't use CHECK_SEMCTL.
53121 (__new_semctl): Likewise.
53122 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
53123 <bp-checks.h> and <bp-semctl.h>.
53124 (semctl): Don't use CHECK_SEMCTL.
53125
53126 [BZ #13550]
53127 * Makerules (elide-bp-thunks): Remove variable.
53128 (elide-routines.oS): Don't use $(elide-bp-thunks).
53129 (elide-routines.os): Likewise.
53130 (elide-routines.o): Likewise.
53131 (elide-routines.op): Likewise.
53132 (elide-routines.og): Likewise.
53133 (objects): Don't use $(bp-thunks).
53134 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53135 include.
53136 (common-generated): Do not add s-proto-bp.d.
53137 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53138 (int): Likewise.
53139 (typ): Likewise.
53140 Do not generate makefile rules for bounded-pointer thunks.
53141 * sysdeps/generic/bp-thunks.h: Remove file.
53142 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53143 * sysdeps/unix/s-proto-bp.S: Likewise.
53144
53145 [BZ #15062]
53146 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53147 parts of result separately when argument is not close to line from
53148 -i to i and one part of argument is small.
53149 * math/k_casinhf.c (__kernel_casinhf): Likewise.
53150 * math/k_casinhl.c (__kernel_casinhl): Likewise.
53151 * math/libm-test.inc (cacos_test): Add more tests.
53152 (casin_test): Likewise.
53153 (casinh_test): Likewise.
53154 * sysdeps/i386/fpu/libm-test-ulps: Update.
53155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53156
53157 2013-01-31 David S. Miller <davem@davemloft.net>
53158
53159 * po/de.po: Update from translation team.
53160
53161 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
53162
53163 * time/tzfile.c: Include stdint.h for SIZE_MAX.
53164
53165 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
53166
53167 * configure.in (_AC_PROG_CC_C89): New definition.
53168 * configure: Regenerate.
53169
53170 * configure.in (AC_PROG_CPP): New definition.
53171 * configure: Regenerate.
53172
53173 2013-01-23 Joseph Myers <joseph@codesourcery.com>
53174
53175 * debug/tst-backtrace.h: New file.
53176 * debug/tst-backtrace2.c: Include tst-backtrace.h.
53177 (ret): Remove variable.
53178 (x): Likewise.
53179 (FAIL): Remove macro.
53180 (NO_INLINE): Likewise.
53181 (fn1): Use match function instead of strstr.
53182 * debug/tst-backtrace3.c: Include tst-backtrace.h.
53183 (ret): Remove variable.
53184 (x): Likewise.
53185 (FAIL): Remove macro.
53186 (NO_INLINE): Likewise.
53187 (fn): Use match function instead of strstr.
53188 * debug/tst-backtrace4.c: Include tst-backtrace.h.
53189 (ret): Remove variable.
53190 (x): Likewise.
53191 (FAIL): Remove macro.
53192 (NO_INLINE): Likewise.
53193 (handle_signal): Use match function instead of strstr.
53194 * debug/tst-backtrace5.c: Include tst-backtrace.h.
53195 (ret): Remove variable.
53196 (x): Likewise.
53197 (FAIL): Remove macro.
53198 (NO_INLINE): Likewise.
53199 (handle_signal): Use match function instead of strstr.
53200
53201 2013-01-23 Roland McGrath <roland@hack.frob.com>
53202
53203 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53204
53205 2013-01-23 David S. Miller <davem@davemloft.net>
53206
53207 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53208 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53209 argument of CAS if possible.
53210 * sysdeps/sparc/sparc64/bits/atomic.h
53211 (__arch_compare_and_exchange_val_32_acq): Likewise.
53212 (__arch_compare_and_exchange_val_64_acq): Likewise.
53213
53214 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
53215
53216 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53217 * sysdeps/posix/ulimit.c: ... this.
53218 Include <limits.h>.
53219 * sysdeps/unix/bsd/ulimit.c: Remove file.
53220
53221 2013-01-23 Adam Conrad <adconrad@0c3.net>
53222
53223 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53224 (LDFLAGS-tst-array5): Likewise.
53225
53226 2013-01-23 Joseph Myers <joseph@codesourcery.com>
53227
53228 [BZ #15036]
53229 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53230 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53231 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53232 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53233
53234 2013-01-21 David S. Miller <davem@davemloft.net>
53235
53236 * sysdeps/sparc/backtrace.c: New file.
53237 * sysdeps/sparc/sparc32/backtrace.h: New file.
53238 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53239 * sysdeps/sparc/sparc64/backtrace.h: New file.
53240 * sysdeps/sparc/sparc64/backtrace.c: Delete.
53241 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53242 -funwind-tables.
53243
53244 2013-01-21 Andreas Schwab <schwab@suse.de>
53245
53246 [BZ #15020]
53247 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53248 closed its stdout.
53249
53250 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
53251
53252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53253 "mpa2.h".
53254 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53255
53256 2013-01-18 Joseph Myers <joseph@codesourcery.com>
53257 Mark Mitchell <mark@codesourcery.com>
53258 Tom de Vries <tom@codesourcery.com>
53259 Paul Pluzhnikov <ppluzhnikov@google.com>
53260
53261 * debug/tst-backtrace2.c: New file.
53262 * debug/tst-backtrace3.c: Likewise.
53263 * debug/tst-backtrace4.c: Likewise.
53264 * debug/tst-backtrace5.c: Likewise.
53265 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53266 (CFLAGS-tst-backtrace3.c): Likewise.
53267 (CFLAGS-tst-backtrace4.c): Likewise.
53268 (CFLAGS-tst-backtrace5.c): Likewise.
53269 (LDFLAGS-tst-backtrace2): Likewise.
53270 (LDFLAGS-tst-backtrace3): Likewise.
53271 (LDFLAGS-tst-backtrace4): Likewise.
53272 (LDFLAGS-tst-backtrace5): Likewise.
53273 (tests): Add new tests tst-backtrace2, tst-backtrace3,
53274 tst-backtrace4 and tst-backtrace5.
53275
53276 2013-01-18 Anton Blanchard <anton@samba.org>
53277 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53278
53279 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
53280 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
53281 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
53282 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53284 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
53285 "+r" and remove output regs list as redundant. Add explicit inline
53286 asm to specify register of return val to work around compiler codegen
53287 bug. Remove (int) cast on return value. Add return type parameter to
53288 use in macro so that this macro does not truncate return value for
53289 64-bit values.
53290 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
53291 pass to INTERNAL_VSYSCALL_NCS.
53292 (INLINE_VSYSCALL): Add 'long int' as return type to
53293 INTERNAL_VSYSCALL_NCS macro invocation.
53294 (INTERNAL_VSYSCALL): Add 'long int' as return type to
53295 INTERNAL_VSYSCALL_NCS macro invocation.
53296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53297
53298 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
53299
53300 [BZ #14496]
53301 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53302 Fix application of SIMD FP exception mask.
53303
53304 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
53305 mp_no from a power of two.
53306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
53307 __mpexp_twomm1. Use __pow_mp.
53308
53309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
53310 multiplication.
53311
53312 2013-01-17 David S. Miller <davem@davemloft.net>
53313
53314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53315
53316 2013-01-17 Joseph Myers <joseph@codesourcery.com>
53317
53318 [BZ #15023]
53319 * include/complex.h: Condition contents on [!_COMPLEX_H].
53320 (__kernel_casinhf): New prototype.
53321 (__kernel_casinh): Likewise.
53322 (__kernel_casinhl): Likewise.
53323 * math/Makefile (libm_calls): Add k_casinh.
53324 * math/k_casinh.c: New file.
53325 * math/k_casinhf.c: Likewise.
53326 * math/k_casinhl.c: Likewise.
53327 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53328 finite nonzero arguments.
53329 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
53330 finite nonzero arguments.
53331 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
53332 finite nonzero arguments.
53333 * math/s_casinh.c: Do not include <float.h>.
53334 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
53335 * math/s_casinhf.c: Do not include <float.h>.
53336 (__casinhf): Move code for finite nonzero arguments to
53337 k_casinhf.c.
53338 * math/s_casinhl.c: Do not include <float.h>.
53339 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
53340 redefine.
53341 (__casinhl): Move code for finite nonzero arguments to
53342 k_casinhl.c.
53343 * math/libm-test.inc (cacos_test): Add more tests.
53344 * sysdeps/i386/fpu/libm-test-ulps: Update.
53345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53346
53347 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
53348
53349 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
53350 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
53351 [!HAVE_MREMAP]: Remove [defined linux] case.
53352 * malloc/arena.c: Do not include <malloc-sysdep.h>.
53353
53354 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
53355
53356 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
53357
53358 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
53359
53360 * elf/elf.h (R_386_SIZE32): New relocation.
53361 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
53362 R_386_SIZE32.
53363 (elf_machine_rela): Likewise.
53364 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53365 R_X86_64_SIZE64 and R_X86_64_SIZE32.
53366
53367 2013-01-17 Joseph Myers <joseph@codesourcery.com>
53368
53369 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
53370 (FP_FAST_FMA): Do not define.
53371 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
53372 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53373 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53374 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53375 !_SOFT_FLOAT]: Likewise.
53376 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53377 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53378 value.
53379 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53380 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53381 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53382 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53383 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53384 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53385 file.
53386
53387 2013-01-16 Andreas Schwab <schwab@suse.de>
53388
53389 [BZ #14327]
53390 * include/stdlib.h (__mktemp): Add declaration.
53391 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53392 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53393
53394 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
53395
53396 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53397 definitions.
53398 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53399 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53400 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53401 definitions here.
53402 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53403 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53404 definitions.
53405 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53406 and ONE.
53407 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53408 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53409 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53410 definitions.
53411 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53412 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53413 definitions.
53414 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53415
53416 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53417
53418 2013-01-15 David S. Miller <davem@davemloft.net>
53419
53420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53421 trunc{,f} to libm-sysdep_routes.
53422 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53424 file.
53425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53427 file.
53428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53429 file.
53430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53432 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53433 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53434 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53435 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53436 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53437 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53438
53439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53440 nearbyint{,f} to libm-sysdep_routes.
53441 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53443 New file.
53444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53445 file.
53446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53447 New file.
53448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53449 file.
53450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53452 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53453 file.
53454 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53455 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53456 file.
53457 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53458 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53459 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53460
53461 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53462 libc_feholdexcept and libc_fesetenv.
53463
53464 2013-01-15 Mike Frysinger <vapier@gentoo.org>
53465
53466 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53467
53468 2013-01-14 David S. Miller <davem@davemloft.net>
53469
53470 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53471 (SPARC_ASM_VIS2_IFUNC): Likewise.
53472 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53474 use of 'siam' instruction.
53475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53476 Likewise.
53477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53478 Likewise.
53479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53480 Likewise.
53481 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53482 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53486 file.
53487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53488 file.
53489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53490 file.
53491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53492 file.
53493 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53494 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53495 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53496 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53498 new VIS2 routines.
53499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53502 Likewise.
53503 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53504 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53506 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53508 routines to libm-sysdep_routines.
53509 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53510
53511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53512 fdim/fdimf to libm-sysdep_routines.
53513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53514 file.
53515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53517 file.
53518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53521 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53522 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53523 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53524 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53525
53526 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
53527
53528 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53529 to optimize copies.
53530
53531 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53532 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53534
53535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53536 local variable MPTWO.
53537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53538 Likewise.
53539
53540 2013-01-13 Mike Frysinger <vapier@gentoo.org>
53541
53542 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53543 GLOB_NOESCAPE.
53544
53545 2013-01-13 Mike Frysinger <vapier@gentoo.org>
53546
53547 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53548
53549 2013-01-13 Mike Frysinger <vapier@gentoo.org>
53550
53551 * manual/pattern.texi (glob_t): Document gl_flags.
53552 (glob64_t): Likewise.
53553
53554 2013-01-11 David S. Miller <davem@davemloft.net>
53555
53556 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53557 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53558 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
53559 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53560 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53561 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53562 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53563 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53564 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53565 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53566 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53567 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53568 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53569
53570 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53571 sparc V9 rather than using V8 code.
53572 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53573 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53574
53575 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53576 Move to...
53577 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53578 Here.
53579
53580 2013-01-11 Roland McGrath <roland@hack.frob.com>
53581
53582 [BZ #14941]
53583 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53584 not in the main loop.
53585 * configure: Regenerated.
53586
53587 2013-01-11 Joseph Myers <joseph@codesourcery.com>
53588
53589 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53590 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53591 to just #else.
53592 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
53593 [!__GLIBC_HAVE_LONG_LONG] case.
53594 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53595 condition to just #else.
53596 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53597 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53598 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53599 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53600 unconditional.
53601 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53602 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53603 #elif condition to just #else.
53604 * sysdeps/unix/sysv/linux/sys/sysmacros.h
53605 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53606 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53607 #elif condition to just #else.
53608
53609 2013-01-11 Steve Ellcey <sellcey@mips.com>
53610
53611 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53612 (EF_MIPS_ARCH_64): Fix value.
53613 (EF_MIPS_ARCH_32R2): New.
53614 (EF_MIPS_ARCH_64R2): New.
53615
53616 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
53617
53618 * Makeconfig (+link-pie-before-libc): New.
53619 (+link-pie-after-libc): Likewise.
53620 (+link-pie-tests): Likewise.
53621 (+link-pie): Rewritten.
53622 (link-before-libc): Remove $(config-LDFLAGS).
53623 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53624 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53625 (config-LDFLAGS): Renamed to ...
53626 (rtld-LDFLAGS): This.
53627 (rtld-tests-LDFLAGS): New macro.
53628 (link-libc-rpath-link): Likewise.
53629 (link-libc-tests-rpath-link): Likewise.
53630 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53631 (link-libc): Prepand $(link-libc-rpath-link).
53632 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53633 (test-program-prefix): New macro.
53634 (test-via-rtld-prefix): Likewise.
53635 (test-program-cmd): Likewise.
53636 (host-test-program-cmd): Likewise.
53637 * Makefile ($(common-objpfx)testrun.sh): Replace
53638 $(run-program-prefix) with $(test-program-prefix).
53639 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53640 $(rtld-LDFLAGS).
53641 ($(common-objpfx)shlib.lds): Likewise.
53642 (build-module-helper): Likewise.
53643 ($(common-objpfx)format.lds): Likewise.
53644 * Rules (binaries-pie-tests): New.
53645 (binaries-pie-notests): Likewise.
53646 (binaries-pie): Rewritten.
53647 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53648 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53649 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53650 (make-test-out): Replace $(host-built-program-cmd) with
53651 $(host-test-program-cmd).
53652 * config.make.in (build-hardcoded-path-in-tests): New variable.
53653 * configure.in (--enable-hardcoded-path-in-tests): New configure
53654 option.
53655 (hardcoded_path_in_tests): New AC_SUBST.
53656 * configure: Regenerated.
53657 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53658 $(built-program-cmd) with $(test-program-cmd).
53659 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53660 (test_program_cmd): This.
53661 * elf/Makefile ($(objpfx)order.out): Run test with
53662 $(test-program-prefix).
53663 ($(objpfx)order2.out): Likewise.
53664 ($(objpfx)tst-initorder.out): Likewise.
53665 ($(objpfx)tst-initorder2.out): Likewise.
53666 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53667 $(test-program-cmd).
53668 ($(objpfx)tst-array1-static.out): Likewise.
53669 ($(objpfx)tst-array2.out): Likewise.
53670 ($(objpfx)tst-array3.out): Likewise.
53671 ($(objpfx)tst-array4.out): Likewise.
53672 ($(objpfx)tst-array5.out): Likewise.
53673 ($(objpfx)tst-array5-static.out): Likewise.
53674 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53675 $(test-program-cmd).
53676 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53677 $(run-program-prefix) with $(test-program-prefix).
53678 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53679 (test_program_prefix): This.
53680 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53681 $(run-program-prefix) with $(test-program-prefix).
53682 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53683 (test_program_prefix): This.
53684 * iconvdata/tst-tables.sh: Likewise.
53685 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53686 $(run-program-prefix) with $(test-program-prefix).
53687 ($(objpfx)tst-translit.out): Likewise.
53688 ($(objpfx)tst-gettext2.out): Likewise.
53689 ($(objpfx)tst-gettext4.out): Likewise.
53690 ($(objpfx)tst-gettext6.out): Likewise.
53691 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53692 (test_program_prefix): This.
53693 * intl/tst-gettext2.sh: Likewise.
53694 * intl/tst-gettext4.sh Likewise.
53695 * intl/tst-gettext6.sh: Likewise.
53696 * intl/tst-translit.sh: Likewise.
53697 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53698 with $(test-program-cmd).
53699 * libio/Makefile ($(objpfx)test-freopen.out): Replace
53700 $(run-program-prefix) with $(test-program-prefix).
53701 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53702 (test_program_prefix): This.
53703 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53704 $(run-program-prefix) with $(test-program-prefix).
53705 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53706 (test_program_prefix): This.
53707 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53708 * posix/Makefile ($(objpfx)globtest.out): Replace
53709 $(run-via-rtld-prefix) and $(test-wrapper) with
53710 $(test-program-prefix) and $(test-via-rtld-prefix).
53711 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53712 $(test-program-prefix).
53713 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53714 $(host-test-program-cmd).
53715 (tst-spawn-ARGS): Likewise.
53716 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53717 $(test-program-prefix).
53718 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53719 (test_via_rtld_prefix): This.
53720 (test_wrapper): Renamed to ...
53721 (test_program_prefix): This.
53722 (run_program_prefix): Replaced by test_program_prefix.
53723 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53724 (test_program_prefix): This.
53725 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53726 with $(host-test-program-cmd).
53727 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53728 $(run-program-prefix) with $(test-program-prefix).
53729 ($(objpfx)tst-printf.out): Likewise.
53730 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53731 $(test-program-cmd).
53732 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53733 (test_program_prefix): This.
53734 * stdio-common/tst-unbputc.sh: Likewise.
53735 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53736 $(run-program-prefix) with $(test-program-prefix).
53737 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53738 (test_program_prefix): This.
53739 * string/Makefile ($(objpfx)tst-svc.out): Replace
53740 $(built-program-cmd) with $(test-program-cmd).
53741
53742 2013-01-11 Andreas Jaeger <aj@suse.de>
53743
53744 [BZ #15003]
53745 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53746 value. Sync with Linux 3.7.
53747
53748 2013-01-10 David S. Miller <davem@davemloft.net>
53749
53750 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53751 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53752 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53753
53754 2013-01-10 Roland McGrath <roland@hack.frob.com>
53755
53756 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53757 never set.
53758 * configure: Regenerated.
53759
53760 2013-01-10 David S. Miller <davem@davemloft.net>
53761
53762 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53763 sparc V9 rather than using V8 code.
53764 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53765 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53766
53767 2013-01-10 Roland McGrath <roland@hack.frob.com>
53768
53769 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53770 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53771 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53772 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53773 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53774 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53775 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53776 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53777 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53778 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53779 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53780 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53781 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53782 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53783 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53784 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53785 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53786 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53787 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53788 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53789 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53790 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53791 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53792 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53793 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53794 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53795 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53796
53797 2013-01-10 David S. Miller <davem@davemloft.net>
53798
53799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53800
53801 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
53802
53803 * posix/Makefile (tests-static): New variable.
53804 (tests): Add $(tests-static).
53805 (tst-exec-static-ARGS): New variable.
53806 (tst-spawn-static-ARGS): Likewise.
53807 * posix/tst-exec-static.c: New file.
53808 * posix/tst-spawn-static.c: Likewise.
53809 * posix/tst-exec.c: Support run directly.
53810 * posix/tst-spawn.c: Likewise.
53811
53812 2013-01-10 Joseph Myers <joseph@codesourcery.com>
53813
53814 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53815 long.
53816 * math/bits/mathcalls.h (llrint): Likewise.
53817 (llround): Likewise.
53818 * stdlib/stdlib.h (struct drand48_data): Likewise.
53819 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53820 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53821 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53822 Likewise.
53823 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53824 Likewise.
53825 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53826 (elf_greg_t): Likewise.
53827 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53828 (__jmp_buf): Likewise.
53829 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53830 definitions.
53831 (llrint): Likewise, for all definitions.
53832 (llrintl): Likewise.
53833
53834 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53835 Remove [__GNUC__] condition.
53836 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53837 condition to just [__USE_ISOC99].
53838 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53839
53840 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
53841
53842 [BZ #14200]
53843 * sysdeps/unix/sysv/linux/x86/bits/environments.h
53844 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53845 defined.
53846 (_POSIX_V6_ILP32_OFF32): Likewise.
53847 (_XBS5_ILP32_OFF32): Likewise.
53848 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53849 (__ILP32_OFFBIG_LDFLAGS): Likewise.
53850
53851 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53852
53853 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53854
53855 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53856 doubles __mpexp_twomm1. Adjust usage.
53857 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53858 Remove.
53859
53860 2013-01-10 Andreas Schwab <schwab@suse.de>
53861
53862 [BZ #14964]
53863 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53864 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53865
53866 2013-01-09 David S. Miller <davem@davemloft.net>
53867
53868 [BZ #15003]
53869 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53870 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53871 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53872 (TCP_FASTOPEN): Define.
53873 (tcp_repair_opt): New structure.
53874 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53875 enum values.
53876 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53877 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53878 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53879 (tcp_cookie_transactions): New structure.
53880
53881 2013-01-09 Anton Blanchard <anton@samba.org>
53882
53883 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53884 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53885 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53886 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53887
53888 2013-01-09 Joseph Myers <joseph@codesourcery.com>
53889
53890 * include/features.h (__USE_ANSI): Remove.
53891
53892 2013-01-09 Roland McGrath <roland@hack.frob.com>
53893
53894 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53895
53896 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53897
53898 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
53899
53900 * sysdeps/s390/fpu/libm-test-ulps: Update.
53901
53902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53903
53904 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53905 (__acr): Likewise.
53906 (__cpy): Likewise.
53907 (norm): Likewise.
53908 (denorm): Likewise.
53909 (__mp_dbl): Likewise.
53910 (__dbl_mp): Likewise.
53911 (add_magnitudes): Likewise.
53912 (sub_magnitudes): Likewise.
53913 (__add): Likewise.
53914 (__sub): Likewise.
53915 (__mul): Likewise.
53916 (__inv): Likewise.
53917 (__dvd): Likewise.
53918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53919 (__acr): Likewise.
53920 (__cpy): Likewise.
53921 (norm): Likewise.
53922 (denorm): Likewise.
53923 (__mp_dbl): Likewise.
53924 (__dbl_mp): Likewise.
53925 (add_magnitudes): Likewise.
53926 (sub_magnitudes): Likewise.
53927 (__add): Likewise.
53928 (__sub): Likewise.
53929 (__mul): Likewise.
53930 (__inv): Likewise.
53931 (__dvd): Likewise.
53932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53933 (__acr): Likewise.
53934 (__cpy): Likewise.
53935 (norm): Likewise.
53936 (denorm): Likewise.
53937 (__mp_dbl): Likewise.
53938 (__dbl_mp): Likewise.
53939 (add_magnitudes): Likewise.
53940 (sub_magnitudes): Likewise.
53941 (__add): Likewise.
53942 (__sub): Likewise.
53943 (__mul): Likewise.
53944 (__inv): Likewise.
53945 (__dvd): Likewise.
53946
53947 2013-01-08 Joseph Myers <joseph@codesourcery.com>
53948
53949 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53950 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53951 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53952 2 && __USE_EXTERN_INLINES]: Likewise.
53953
53954 2013-01-08 Andreas Jaeger <aj@suse.de>
53955
53956 [BZ# 14985]
53957 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53958 Remove.
53959 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53960 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53961
53962 2013-01-07 Anton Blanchard <anton@samba.org>
53963
53964 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53965 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53966 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53967 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53968 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53969 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53970 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53971 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53973 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53974 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53975 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53976 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53977 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53978 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53979 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53980 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53981 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53982 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53983 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53984 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53985 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53986 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53987 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53988 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53989 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53990 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53991 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53992 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53993 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53994 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53996 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53997 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53998 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53999 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54000 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54001 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54002 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54003 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54004 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54005 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54006 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54007
54008 2013-01-07 Joseph Myers <joseph@codesourcery.com>
54009
54010 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54011 (__MALLOC_PMT): Likewise.
54012 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
54013 [__GNUC__], only on [_LIBC].
54014 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54015 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
54016 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54017 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
54018 forward declaration.
54019 (realloc_hook_ini): Likewise.
54020 (memalign_hook_ini): Likewise.
54021 (__libc_memalign): Do not use __MALLOC_PMT in variable
54022 declaration.
54023 (__libc_valloc): Likewise.
54024 (__libc_pvalloc): Likewise.
54025 (__libc_calloc): Likewise.
54026 (__posix_memalign): Likewise.
54027
54028 [BZ #14996]
54029 * math/s_casinh.c: Include <float.h>.
54030 (__casinh): Do not do computation with squaring and square root
54031 for large arguments.
54032 * math/s_casinhf.c: Include <float.h>.
54033 (__casinhf): Do not do computation with squaring and square root
54034 for large arguments.
54035 * math/s_casinhl.c: Include <float.h>.
54036 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
54037 (__casinhl): Do not do computation with squaring and square root
54038 for large arguments.
54039 * math/libm-test.inc (casin_test): Add more tests.
54040 (casinh_test): Likewise.
54041 * sysdeps/i386/fpu/libm-test-ulps: Update.
54042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54043
54044 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
54045
54046 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
54047 (__x86_64_raw_data_cache_size): Likewise.
54048 (__x86_64_data_cache_size_half): Likewise.
54049 (__x86_64_raw_data_cache_size_half): Likewise.
54050 (__x86_64_shared_cache_size): Likewise.
54051 (__x86_64_raw_shared_cache_size): Likewise.
54052 (__x86_64_shared_cache_size_half): Likewise.
54053 (__x86_64_raw_shared_cache_size_half): Likewise.
54054 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
54055 to ...
54056 (__x86_data_cache_size): This.
54057 (__x86_64_raw_data_cache_size): Renamed to ...
54058 (__x86_raw_data_cache_size): This.
54059 (__x86_64_data_cache_size_half): Renamed to ...
54060 (__x86_data_cache_size_half): This.
54061 (__x86_64_raw_data_cache_size_half): Renamed to ...
54062 (__x86_raw_data_cache_size_half): This.
54063 (__x86_64_shared_cache_size): Renamed to ...
54064 (__x86_shared_cache_size): This.
54065 (__x86_64_raw_shared_cache_size): Renamed to ...
54066 (__x86_raw_shared_cache_size): This.
54067 (__x86_64_shared_cache_size_half): Renamed to ...
54068 (__x86_shared_cache_size_half): This.
54069 (__x86_64_raw_shared_cache_size_half): Renamed to ...
54070 (__x86_raw_shared_cache_size_half): This.
54071 * sysdeps/x86_64/memcpy.S: Updated.
54072 * sysdeps/x86_64/memset.S: Likewise.
54073 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54074 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54075 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54076
54077 2013-01-04 David S. Miller <davem@davemloft.net>
54078
54079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54080
54081 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
54082
54083 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
54084 1 to avoid redefinition warning.
54085 (__USE_GNU): Don't define.
54086 (init_signaling_nan): Protoize.
54087
54088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54089
54090 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
54091
54092 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
54093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
54094 (__cpymn): Likewise.
54095 (norm): Remove commented code.
54096 (denorm): Likewise.
54097 (__mp_dbl): Likewise.
54098 (__inv): Likewise.
54099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
54100 (__cpymn): Likewise.
54101 (norm): Remove commented code.
54102 (denorm): Likewise.
54103 (__mp_dbl): Likewise.
54104 (__inv): Likewise.
54105
54106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
54107 mp_no value for 1.0 and 2.0.
54108 (norm): Use RADIXI instead of radixi.d.
54109 (denorm): Likewise.
54110 (__mul): Use 0.0 instead of zero.d.
54111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
54112 mp_no value for 1.0 and 2.0.
54113 (norm): Use RADIXI instead of radixi.d.
54114 (denorm): Likewise.
54115 (__mul): Use 0.0 instead of zero.d.
54116
54117 2013-01-04 Joseph Myers <joseph@codesourcery.com>
54118
54119 [BZ #14994]
54120 * math/s_casinh.c (__casinh): Reduce finite argument to first
54121 quadrant then set signs of results at the end.
54122 * math/s_casinhf.c (__casinhf): Likewise.
54123 * math/s_casinhl.c (__casinhl): Likewise.
54124 * math/libm-test.inc (casin_test): Add more tests.
54125 (casinh_test): Likewise.
54126 * sysdeps/i386/fpu/libm-test-ulps: Update.
54127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54128
54129 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
54130
54131 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54132
54133 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54134
54135 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54136 declarations.
54137 (denorm): Likewise.
54138 (__mp_dbl): Likewise.
54139 (__inv): Likewise.
54140
54141 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54142 and adjust the header comment.
54143
54144 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54145 variable name from declaration.
54146
54147 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
54148
54149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54150 Initialize COMMON_CPUID_INDEX_7 element.
54151 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54152 (CPUID_RTM): Likewise.
54153 (HAS_RTM): Likewise.
54154 (COMMON_CPUID_INDEX_7): New enum.
54155
54156 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
54157
54158 [BZ #14981]
54159 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54160 size is zero, record memory as freed.
54161
54162 2013-01-03 Andreas Jaeger <aj@suse.de>
54163
54164 * po/ia.po: Add new Interlingua translation.
54165
54166 2012-01-03 Allan McRae <allan@archlinux.org>
54167
54168 * locale/programs/localedef.c: Fix description of '--posix' flag.
54169
54170 2013-01-02 Joseph Myers <joseph@codesourcery.com>
54171
54172 * NEWS: Update dates in second copyright notice.
54173 * README: Update copyright dates in example.
54174 * manual/libc.texinfo: Update copyright dates.
54175 * scripts/test-installation.pl: Update copyright date in --version
54176 output.
54177
54178 * hurd/ctty-input.c: Fix copyright notice formatting.
54179 * hurd/ctty-output.c: Likewise.
54180 * hurd/dtable.c: Likewise.
54181 * hurd/hurd-raise.c: Likewise.
54182 * hurd/hurdprio.c: Likewise.
54183 * hurd/msgportdemux.c: Likewise.
54184 * misc/sys/file.h: Likewise.
54185 * misc/sys/ioctl.h: Likewise.
54186 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54187 * sysdeps/mach/hurd/chdir.c: Likewise.
54188 * sysdeps/mach/hurd/fchdir.c: Likewise.
54189 * sysdeps/mach/hurd/rename.c: Likewise.
54190 * sysdeps/mach/hurd/rmdir.c: Likewise.
54191 * sysdeps/mach/hurd/seekdir.c: Likewise.
54192 * sysdeps/mach/hurd/setsid.c: Likewise.
54193 * sysdeps/posix/wait3.c: Likewise.
54194
54195 * All files with FSF copyright notices: Update copyright dates
54196 using scripts/update-copyrights.
54197 * intl/plural.c: Regenerated.
54198 * locale/programs/charmap-kw.h: Likewise.
54199 * locale/programs/locfile-kw.h: Likewise.
54200
54201 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
54202
54203 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54204 four values.
54205
54206 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54207 calculation loop and add branch prediction.
54208
54209 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54210 check access beyond bounds of m1np.
54211
54212 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54213 MPTWO.
54214 (__inv): Remove local variable MPTWO to use the global
54215 constant.
54216 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54217 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54218 variable MPTWO.
54219 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54220 MP3HALFS static const.
54221
54222 2013-01-01 David S. Miller <davem@davemloft.net>
54223
54224 * po/ca.po: Update from translation team.
54225
54226 2013-01-01 Joseph Myers <joseph@codesourcery.com>
54227
54228 * scripts/update-copyrights: New file.
54229 * Makeconfig: Reformat copyright notice.
54230 * ctype/ctype.h: Likewise.
54231 * debug/swprintf_chk.c: Likewise.
54232 * elf/dl-cache.c: Likewise.
54233 * elf/dl-debug.c: Likewise.
54234 * elf/dl-object.c: Likewise.
54235 * grp/initgroups.c: Likewise.
54236 * hurd/Makefile: Likewise.
54237 * hurd/hurd/signal.h: Likewise.
54238 * hurd/hurdfault.c: Likewise.
54239 * hurd/hurdioctl.c: Likewise.
54240 * hurd/hurdlookup.c: Likewise.
54241 * hurd/intr-msg.c: Likewise.
54242 * iconv/gconv_open.c: Likewise.
54243 * libio/swprintf.c: Likewise.
54244 * locale/lc-ctype.c: Likewise.
54245 * locale/nl_langinfo.c: Likewise.
54246 * mach/Machrules: Likewise.
54247 * mach/Makefile: Likewise.
54248 * malloc/obstack.h: Likewise.
54249 * manual/Makefile: Likewise.
54250 * manual/tsort.awk: Likewise.
54251 * misc/bits/stab.def: Likewise.
54252 * nis/nis_print_group_entry.c: Likewise.
54253 * nis/nis_table.c: Likewise.
54254 * nis/nss_compat/compat-pwd.c: Likewise.
54255 * nis/nss_compat/compat-spwd.c: Likewise.
54256 * po/Makefile: Likewise.
54257 * posix/fnmatch.c: Likewise.
54258 * posix/regex.h: Likewise.
54259 * resolv/Makefile: Likewise.
54260 * resolv/nss_dns/dns-network.c: Likewise.
54261 * resolv/res_hconf.c: Likewise.
54262 * scripts/gen-sorted.awk: Likewise.
54263 * soft-fp/soft-fp.h: Likewise.
54264 * stdio-common/printf.h: Likewise.
54265 * stdlib/monetary.h: Likewise.
54266 * stdlib/random.c: Likewise.
54267 * stdlib/random_r.c: Likewise.
54268 * sysdeps/generic/Makefile: Likewise.
54269 * sysdeps/gnu/Makefile: Likewise.
54270 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54271 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54272 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54273 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54274 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54275 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54276 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54277 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54278 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54279 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54280 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54281 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54282 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54283 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54284 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
54285 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54286 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54287 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54288 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54290 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54291 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54292 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54293 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54294 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
54295 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54296 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54297 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
54298 * sysdeps/mach/hurd/errnos.awk: Likewise.
54299 * sysdeps/mach/hurd/fork.c: Likewise.
54300 * sysdeps/mach/hurd/getcwd.c: Likewise.
54301 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
54302 * sysdeps/mach/hurd/mmap.c: Likewise.
54303 * sysdeps/mach/hurd/utimes.c: Likewise.
54304 * sysdeps/mach/hurd/xmknod.c: Likewise.
54305 * sysdeps/posix/profil.c: Likewise.
54306 * sysdeps/posix/readdir_r.c: Likewise.
54307 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54308 * sysdeps/powerpc/bits/setjmp.h: Likewise.
54309 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
54310 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54312 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54313 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54314 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54316 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54317 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54318 * sysdeps/pthread/lio_listio.c: Likewise.
54319 * sysdeps/sparc/dl-procinfo.h: Likewise.
54320 * sysdeps/unix/i386/sysdep.S: Likewise.
54321 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
54322 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
54323 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
54324 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
54325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54326 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
54327 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
54328 * sysdeps/unix/sysv/linux/speed.c: Likewise.
54329 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
54330 * sysdeps/wordsize-32/divdi3.c: Likewise.
54331 * time/sys/time.h: Likewise.
54332 * wcsmbs/Makefile: Likewise.
54333
54334 2013-01-01 David S. Miller <davem@davemloft.net>
54335
54336 * po/fr.po: Update from translation team.
54337
54338 * catgets/gencat.c: Update copyright year.
54339 * csu/version.c: Likewise.
54340 * debug/catchsegv.sh: Likewise.
54341 * debug/pcprofiledump.c: Likewise.
54342 * debug/xtrace.sh: Likewise.
54343 * elf/ldconfig.c: Likewise.
54344 * elf/ldd.bash.in: Likewise.
54345 * elf/pldd.c: Likewise.
54346 * elf/sotruss.ksh: Likewise.
54347 * elf/sprof.c: Likewise.
54348 * iconv/iconv_prog.c: Likewise.
54349 * iconv/iconvconfig.c: Likewise.
54350 * locale/programs/locale.c: Likewise.
54351 * locale/programs/localedef.c: Likewise.
54352 * login/programs/pt_chown.c: Likewise.
54353 * malloc/memusage.sh: Likewise.
54354 * malloc/memusagestat.c: Likewise.
54355 * malloc/mtrace.pl: Likewise.
54356 * nscd/nscd.c: Likewise.
54357 * nss/getent.c: Likewise.
54358 * nss/makedb.c: Likewise.
54359 * posix/getconf.c: Likewise.
54360
54361 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54362
54363 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
54364 numbers.
54365
54366 2012-12-30 Mike Frysinger <vapier@gentoo.org>
54367
54368 * math/bits/mathcalls.h (modf): Use __nonnull.
54369
54370 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
54371
54372 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54373 (split): Use macro CN instead of the bare value.
54374 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54375 could be used.
54376 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54377 instead of the bare value.
54378 (power1): Likewise.
54379
54380 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54381
54382 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54383 __ATAN_TWOM.
54384 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54385
54386 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54387 their values.
54388 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54389 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54390 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54391 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54392
54393 2012-12-28 Andreas Jaeger <aj@suse.de>
54394
54395 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
54396 values are from Linux 3.7.
54397
54398 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54399 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
54400
54401 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54402
54403 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54404 TRUE case.
54405
54406 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54407 (norm): Likewise.
54408 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54409 variables with preprocessor constants.
54410 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54411 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54412 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54413
54414 2012-12-27 Bruno Haible <bruno@clisp.org>
54415
54416 [BZ #14317]
54417 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54418 only if needed.
54419
54420 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54421
54422 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54423 and use variable directly.
54424 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54425
54426 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54427 MPONE.
54428 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54429 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54430 variable MPONE.
54431 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54432 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54433 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54434 include directive. Remove local variable MPONE.
54435 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54436 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54437 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54438
54439 2012-12-25 David S. Miller <davem@davemloft.net>
54440
54441 * version.h (RELEASE): Set to "development".
54442 (VERSION): Set to "2.17.90".
54443 * NEWS: Add 2.18 section.
54444
54445 2012-12-21 David S. Miller <davem@davemloft.net>
54446
54447 * po/hr.po: Update from translation team.
54448
54449 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54450
54451 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54452
54453 2012-12-19 Steve Ellcey <sellcey@mips.com>
54454
54455 * NEWS: Mention new memcpy for MIPS.
54456
54457 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
54458
54459 * manual/contrib.texi (Contributors): Spelling correction.
54460
54461 2012-12-15 David S. Miller <davem@davemloft.net>
54462
54463 * po/ru.po: Update from translation team.
54464
54465 2012-12-13 David S. Miller <davem@davemloft.net>
54466
54467 * NEWS: Mention IFUNC testsuite enhancements.
54468
54469 * po/pl.po: Update from translation team.
54470 * po/bg.po: Likewise.
54471
54472 * manual/contrib.texi (Contributors): Update entries for Hongjiu
54473 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
54474
54475 2012-12-11 David S. Miller <davem@davemloft.net>
54476
54477 * po/sv.po: Update from translation team.
54478
54479 * po/vi.po: Update from translation team.
54480
54481 * po/cs.po: Update from translation team.
54482
54483 * po/de.po: Update from translation team.
54484 * po/eo.po: Likewise.
54485 * po/nl.po: Likewise.
54486
54487 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54488
54489 [BZ #14246]
54490 * manual/argp.texi (Argp Helper Functions): Move node to follow
54491 Argp Parsing State.
54492
54493 [BZ #14872]
54494 * manual/conf.texi (Limits on File System Capacity): Mention if
54495 terminating null is included in the max size.
54496
54497 2012-12-10 Andreas Jaeger <aj@suse.de>
54498
54499 * po/cs.po: Update from translation team.
54500
54501 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
54502
54503 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54504 void pointer and cast to uintptr_t.
54505 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54506 path.
54507 * sysdeps/s390/s390-64/memcpy.S: Likewise.
54508 * sysdeps/s390/s390-64/memset.S: Likewise.
54509
54510 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
54511
54512 [BZ #14833]
54513 * menual/message.texi (Message Translation): Fix typos.
54514 (Helper programs for gettext): Likewise.
54515
54516 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
54517
54518 [BZ #14898]
54519 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54520 Change to -1.
54521
54522 2012-12-07 David S. Miller <davem@davemloft.net>
54523
54524 * po/libc.pot: Update.
54525
54526 2012-12-07 Richard Henderson <rth@redhat.com>
54527
54528 [BZ #10114]
54529 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54530 normal/normal case to before the switch.
54531 (_FP_DIV): Likewise.
54532
54533 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
54534 Mike Frysinger <vapier@gentoo.org>
54535
54536 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54537 check for __NR_fadvise64_64.
54538
54539 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
54540
54541 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54542 0, not just to plain "0" as a statement.
54543 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54544 with cw.
54545
54546 2012-12-06 Joseph Myers <joseph@codesourcery.com>
54547
54548 * NEWS: Use sourceware.org in Bugzilla URL.
54549
54550 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
54551
54552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54553 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54554
54555 * stdio-common/tst-put-error.c (do_test): Add newline to the
54556 padded test to ensure flush.
54557
54558 2012-12-05 Jeff Law <law@redhat.com>
54559
54560 * sunrpc/etc.rpc (fedfs_admin): Add entry.
54561
54562 2012-12-05 Joseph Myers <joseph@codesourcery.com>
54563
54564 * README: Don't refer to ports add-on as distributed separately.
54565 Mention AArch64 in list of systems supported in the ports add-on.
54566
54567 * LICENSES: Add more non-FSF copyright and license notices.
54568
54569 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54570 ((unused)).
54571
54572 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54573
54574 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54575 10000 as width of padded output.
54576
54577 2012-12-04 Joseph Myers <joseph@codesourcery.com>
54578
54579 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54580
54581 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54582 variable LX with __attribute__ ((unused)).
54583 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54584 Likewise.
54585 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54586 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54587 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54588 with __attribute__ ((unused)).
54589
54590 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
54591
54592 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54593
54594 2012-12-04 Joseph Myers <joseph@codesourcery.com>
54595
54596 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54597 (CFLAGS-nldbl-acos.c): New variable.
54598 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54599 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54600 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54601 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54602 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54603 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54604 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54605 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54606 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54607 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54608 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54609 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54610 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54611 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54612 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54613 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54614 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54615 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54616 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54617 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54618 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54619 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54620 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54621 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54622 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54623 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54624 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54625 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54626 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54627 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54628 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54629 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54630 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54631 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54632 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54633 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54634 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54635 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54636 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54637 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54638 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54639 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54640 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54641 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54642 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54643 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54644 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54645 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54646 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54647 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54648 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54649 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54650 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54651 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54652 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54653 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54654 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54655 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54656 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54657 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54658 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54659 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54660 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54661 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54662 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54663 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54664 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54665 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54666 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54667 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54668 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54669 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54670 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54671 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54672 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54673 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54674 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54675 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54676 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54677 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54678 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54679 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54680 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54681 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54682 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54683 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54684 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54685 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54686 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54687 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54688 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54689 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54690 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54691 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54692 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54693 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54694 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54695
54696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54697 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54698
54699 [BZ #14914]
54700 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54701 whole low double instead of just low 47 bits when splitting values
54702 into two parts.
54703
54704 2012-12-03 Allan McRae <allan@archlinux.org>
54705
54706 * manual/stdio.texi (Predefined Printf Handlers): Remove
54707 @hsep and @vsep usage.
54708
54709 2012-12-03 Mike Frysinger <vapier@gentoo.org>
54710
54711 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54712 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54713
54714 2012-12-03 Jeff Law <law@redhat.com>
54715
54716 * time/sys/time.h (settimeofday): Do not mark TV argument
54717 as __nonnull.
54718
54719 2012-12-01 Mike Frysinger <vapier@gentoo.org>
54720
54721 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54722 when currently writing and seek to current position when not.
54723 * libio/Makefile (tests): Remove bug-fclose1.
54724 * libio/bug-fclose1.c: Delete.
54725
54726 2012-12-01 Joseph Myers <joseph@codesourcery.com>
54727
54728 * manual/arith.texi (feenableexcept): Fix typo.
54729 (fedisableexcept): Likewise.
54730
54731 2012-11-30 Roland McGrath <roland@hack.frob.com>
54732
54733 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54734 second, differently-typed declaration, rather than a cast.
54735
54736 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54737
54738 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54739 * include/rpc/svc.h: ... here.
54740
54741 2012-11-30 Aurelien Jarno <aurel32@debian.org>
54742
54743 [BZ #13013]
54744 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54745 depending n and resplen2 to catch cases where answer
54746 equals answerp2.
54747
54748 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
54749
54750 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54751 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54752
54753 2012-11-29 Mike Frysinger <vapier@gentoo.org>
54754
54755 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54756
54757 2012-11-29 Roland McGrath <roland@hack.frob.com>
54758
54759 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54760
54761 2012-11-28 Jeff Law <law@redhat.com>
54762
54763 [BZ #13761]
54764 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54765 dataset_temporary. Track alloca usage into alloca_used.
54766 If dataset is large allocate and release it via malloc/free.
54767
54768 2012-06-04 Florian Weimer <fweimer@redhat.com>
54769
54770 [BZ #14197]
54771 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54772
54773 2012-11-28 David S. Miller <davem@davemloft.net>
54774
54775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54776
54777 2012-11-28 Joseph Myers <joseph@codesourcery.com>
54778
54779 [BZ #14803]
54780 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54781 of pi/2 rounded to nearest to 64 bits.
54782 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54783 nearest to 64 bits.
54784 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54785 bits.
54786
54787 2012-11-28 Jeff Law <law@redhat.com>
54788 Martin Osvald <mosvald@redhat.com>
54789
54790 [BZ #14889]
54791 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54792 * sunrpc/svc.c: Include time.h.
54793 (__svc_accept_failed): New function.
54794 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54795 any reason other than EINTR, call __svc_accept_failed.
54796 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54797 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54798
54799 2012-11-28 Andreas Schwab <schwab@suse.de>
54800
54801 * scripts/abilist.awk: Also handle indirect functions in .opd
54802 section.
54803
54804 2012-11-28 Joseph Myers <joseph@codesourcery.com>
54805
54806 [BZ #13881]
54807 * sysdeps/x86/fpu/powl_helper.c: New file.
54808 * sysdeps/x86/fpu/Makefile: Likewise.
54809 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54810 (p3): New object.
54811 (__ieee754_powl): Use __powl_helper for finite arguments except
54812 integer exponents below 8.
54813 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54814 (p3): New object.
54815 (__ieee754_powl): Use __powl_helper for finite arguments except
54816 integer exponents below 8.
54817 * math/libm-test.inc (pow_test): Add more tests and enable some
54818 previously disabled tests.
54819 * sysdeps/i386/fpu/libm-test-ulps: Update.
54820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54821
54822 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54823 Carlos O'Donell <carlos_odonell@mentor.com>
54824
54825 * nss/makedb.c (is_prime): Assert that input is odd and greater
54826 than 4. Note that fact in a comment too.
54827 (next_prime): Add 4 to input.
54828
54829 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54830
54831 [BZ #11741]
54832 * libio/Makefile (tests): Add test case tst-fwrite-error.
54833 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54834 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54835 * libio/tst-fwrite-error.c: New test case.
54836
54837 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
54838
54839 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54840 before casting to void *.
54841 * include/libc-internal.h (__pointer_type): New macro.
54842 (__integer_if_pointer_type_sub): Likewise.
54843 (__integer_if_pointer_type): Likewise.
54844 (cast_to_integer): Likewise.
54845 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54846 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54847 before casting to atomic64_t.
54848 (atomic_exchange_acq): Likewise.
54849 (__arch_exchange_and_add_body): Likewise.
54850 (__arch_add_body): Likewise.
54851 (atomic_add_negative): Likewise.
54852 (atomic_add_zero): Likewise.
54853
54854 2012-11-26 Joseph Myers <joseph@codesourcery.com>
54855
54856 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54857 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54858 (add_fdes): Likewise.
54859 (linear_search_fdes): Likewise.
54860 (binary_search_unencoded_fdes): Likewise.
54861
54862 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
54863
54864 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54865
54866 2012-11-24 Adam Conrad <adconrad@0c3.net>
54867
54868 * configure.in: Autodetect C++ header directories.
54869 * configure: Regenerated.
54870
54871 2012-11-23 Mike Frysinger <vapier@gentoo.org>
54872
54873 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54874
54875 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
54876
54877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54878
54879 2012-11-22 Joseph Myers <joseph@codesourcery.com>
54880
54881 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54882 LDBL_MANT_DIG == 106]: Disable some tests.
54883 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54884 Likewise.
54885 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54886 Likewise.
54887
54888 [BZ #14871]
54889 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54890 input for small inputs. Return +/- pi/2 for large inputs.
54891 * math/libm-test.inc (atan_test): Add more tests.
54892
54893 * sysdeps/generic/unwind-dw2-fde-glibc.c
54894 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54895 __attribute__ ((unused)).
54896
54897 [BZ #14645]
54898 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54899 x * y if x and y are nonzero and z is zero.
54900
54901 [BZ #14811]
54902 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54903 nonzero exponents with absolute value below 0x1p-117 to +/-
54904 0x1p-117.
54905
54906 [BZ #14869]
54907 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54908 up arguments below 2**-450, not just those below 2**-500.
54909 * math/libm-test.inc (hypot_test): Add another test.
54910
54911 [BZ #14868]
54912 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54913 Return a+b for ratio over 2**120, not 2**60.
54914 * math/libm-test.inc (hypot_test): Add another test.
54915
54916 * math/libm-test.inc (clog_test): Use
54917 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54918 (clog10_test): Likewise.
54919
54920 [BZ #6778]
54921 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54922
54923 2012-11-22 Andreas Schwab <schwab@suse.de>
54924
54925 * sysdeps/i386/fpu/libm-test-ulps: Update.
54926
54927 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
54928
54929 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54930 printf output with newline.
54931
54932 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
54933
54934 [BZ #14865]
54935 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54936 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54937 -z nodlopen, -z initfirst and -z execstack support.
54938 * configure: Regenerated.
54939
54940 * elf/elf.h (DF_1_NODIRECT): New macro.
54941 (DF_1_IGNMULDEF): Likewise.
54942 (DF_1_NOKSYMS): Likewise.
54943 (DF_1_NOHDR): Likewise.
54944 (DF_1_EDITED): Likewise.
54945 (DF_1_NORELOC): Likewise.
54946 (DF_1_SYMINTPOSE): Likewise.
54947 (DF_1_GLOBAUDIT): Likewise.
54948 (DF_1_SINGLETON): Likewise.
54949 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54950 DT_1_SUPPORTED_MASK bits.
54951 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54952
54953 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
54954
54955 * sysdeps/unix/make-syscalls.sh: Document prefixes.
54956
54957 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
54958
54959 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54960 macro.
54961
54962 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54963 (sendmmsg): Move declarations...
54964 * socket/sys/socket.h: ... here.
54965 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54966 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54967 include it from...
54968 * socket/recvmmsg.c: ... this new file.
54969 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54970 (sendmmsg): Rename to __sendmmsg, create weak alias and make
54971 definition of __sendmmsg hidden.
54972 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54973 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54974 Move ENOSYS stub into and include it from...
54975 * socket/sendmmsg.c: ... this new file.
54976 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54977 (sysdep_routines): Move recvmmsg and sendmmsg...
54978 * socket/Makefile (routines): ... here.
54979 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54980 (GLIBC_PRIVATE): Add __sendmmsg.
54981 * include/sys/socket.h (__sendmmsg): Add declarations.
54982 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54983 sendmmsg.
54984
54985 2012-11-20 Joseph Myers <joseph@codesourcery.com>
54986
54987 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54988 variable I1 with __attribute__ ((unused)).
54989 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54990
54991 2012-11-19 Joseph Myers <joseph@codesourcery.com>
54992
54993 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54994 DUMMY variables with __attribute__ ((unused)).
54995
54996 * bits/byteswap.h: Include <bits/types.h>.
54997 (__bswap_64): Use __uint64_t instead of unsigned long long int.
54998
54999 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
55000
55001 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55002 string_t. Do not manually set errno.
55003 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55004 length with __strnlen. Make sure to both set errno and return it on
55005 failure.
55006
55007 2012-11-19 David S. Miller <davem@davemloft.net>
55008
55009 With help from Joseph Myers.
55010 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55011 very large arguments properly.
55012 * math/libm-test.inc (atan_test): New tests.
55013 (atan2_test): New tests.
55014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55016
55017 2012-11-19 Joseph Myers <joseph@codesourcery.com>
55018
55019 [BZ #14856]
55020 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
55021 Define to 3.
55022
55023 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
55024 [POSIX] (EADDRNOTAVAIL): Likewise.
55025 [POSIX] (EAFNOSUPPORT): Likewise.
55026 [POSIX] (EALREADY): Likewise.
55027 [POSIX] (ECONNABORTED): Likewise.
55028 [POSIX] (ECONNREFUSED): Likewise.
55029 [POSIX] (ECONNRESET): Likewise.
55030 [POSIX] (EDESTADDRREQ): Likewise.
55031 [POSIX] (EDQUOT): Likewise.
55032 [POSIX] (EHOSTUNREACH): Likewise.
55033 [POSIX] (EIDRM): Likewise.
55034 [POSIX] (EISCONN): Likewise.
55035 [POSIX] (ELOOP): Likewise.
55036 [POSIX] (EMULTIHOP): Likewise.
55037 [POSIX] (ENETDOWN): Likewise.
55038 [POSIX] (ENETUNREACH): Likewise.
55039 [POSIX] (ENOBUFS): Likewise.
55040 [POSIX] (ENODATA): Likewise.
55041 [POSIX] (ENOLINK): Likewise.
55042 [POSIX] (ENOMSG): Likewise.
55043 [POSIX] (ENOPROTOOPT): Likewise.
55044 [POSIX] (ENOSR): Likewise.
55045 [POSIX] (ENOSTR): Likewise.
55046 [POSIX] (ENOTCONN): Likewise.
55047 [POSIX] (ENOTSOCK): Likewise.
55048 [POSIX] (EOPNOTSUPP): Likewise.
55049 [POSIX] (EOVERFLOW): Likewise.
55050 [POSIX] (EPROTO): Likewise.
55051 [POSIX] (EPROTONOSUPPORT): Likewise.
55052 [POSIX] (EPROTOTYPE): Likewise.
55053 [POSIX] (ESTALE): Likewise.
55054 [POSIX] (ETIME): Likewise.
55055 [POSIX] (ETXTBSY): Likewise.
55056 [POSIX] (EWOULDBLOCK): Likewise.
55057 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
55058 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
55059 [POSIX] (SEEK_CUR): Likewise.
55060 [POSIX] (SEEK_END): Likewise.
55061 [POSIX || UNIX98] (mode_t): Do not require.
55062 [POSIX] (off_t): Likewise.
55063 [POSIX] (pid_t): Likewise.
55064 [POSIX] (sys/stat.h): Do not allow header.
55065 [POSIX] (unistd.h): Likewise.
55066 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
55067 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
55068 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
55069 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
55070 require.
55071 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
55072 sigevent): Specify elements.
55073 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
55074 entry.
55075 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
55076 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
55077
55078 * conform/data/cpio.h-data [POSIX]: Disable whole file.
55079 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
55080 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
55081 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
55082 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
55083 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
55084 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
55085 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
55086 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
55087 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
55088 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
55089 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
55090 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
55091 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
55092 Likewise.
55093 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
55094 Likewise.
55095 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
55096 Likewise.
55097 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
55098 Likewise.
55099 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
55100 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
55101 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
55102 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
55103 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
55104 Specify lower bound on value.
55105 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
55106 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
55107 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
55108 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
55109 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
55110 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
55111 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
55112 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
55113 value.
55114 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
55115 as optional.
55116 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
55117 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
55118 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
55119 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
55120 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
55121 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
55122 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
55123 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
55124 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
55125 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55126 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55127 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55128 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55129 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55130 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55131 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55132 entry.
55133 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55134 optional.
55135 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55136 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55137 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55138 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55139 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55140 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55141 Likewise.
55142 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55143 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55144 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55145 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55146 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
55147 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55148 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55149 as optional.
55150 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55151 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55152 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55153 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55154 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55155 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55156 specify as optional.
55157 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55158 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55159 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55160 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55161 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55162 [XPG3] (NL_LANGMAX): Likewise.
55163 [POSIX || XPG3] (NL_MSGMAX): Likewise.
55164 [POSIX || XPG3] (NL_NMAX): Likewise.
55165 [POSIX || XPG3] (NL_SETMAX): Likewise.
55166 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55167 [XPG3] (NZERO): Likewise.
55168 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55169 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55170 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55171 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55172 (REG_ERANGE): Expect.
55173 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55174 optional-constant.
55175 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55176 Use (void) in prototype.
55177 [POSIX] (*_t): Allow.
55178 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55179 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55180 (WRDE_BADVAL): Expect.
55181
55182 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55183 expect.
55184 [XPG3 || XPG4] (O_RSYNC): Likewise.
55185 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55186 Likewise.
55187 [XPG3 || XPG4] (pthread_sigmask): Likewise.
55188 [XPG3 || XPG4] (sigqueue): Likewise.
55189 [XPG3 || XPG4] (sigtimedwait): Likewise.
55190 [XPG3 || XPG4] (sigwaitinfo): Likewise.
55191 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55192 [XPG3 || XPG4] (vsnprintf): Likewise.
55193 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55194 Likewise.
55195 [XPG3 || XPG4] (blksize_t): Likewise.
55196 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55197 Likewise.
55198 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55199 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55200 [XPG3 || XPG4] (struct itimerspec): Likewise.
55201 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55202 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55203 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55204 [XPG3 || XPG4] (clockid_t): Likewise.
55205 [XPG3 || XPG4] (timer_t): Likewise.
55206 [XPG3 || XPG4] (clock_getres): Likewise.
55207 [XPG3 || XPG4] (clock_gettime): Likewise.
55208 [XPG3 || XPG4] (clock_settime): Likewise.
55209 [XPG3 || XPG4] (nanosleep): Likewise.
55210 [XPG3 || XPG4] (timer_create): Likewise.
55211 [XPG3 || XPG4] (timer_delete): Likewise.
55212 [XPG3 || XPG4] (timer_gettime): Likewise.
55213 [XPG3 || XPG4] (timer_getoverrun): Likewise.
55214 [XPG3 || XPG4] (timer_settime): Likewise.
55215 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55216 [XPG3 || XPG4] (getlogin_r): Likewise.
55217 [XPG3 || XPG4] (pread): Likewise.
55218 [XPG3 || XPG4] (pthread_atfork): Likewise.
55219 [XPG3 || XPG4] (pwrite): Likewise.
55220
55221 [BZ #14835]
55222 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55223 <bits/siginfo.h>.
55224
55225 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
55226
55227 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55228 finalizing MALLSTREAM.
55229
55230 * sysdeps/mach/hurd/syncfs.c: New file.
55231
55232 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
55233
55234 [BZ #14719]
55235 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55236 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55237 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55238 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55239 (_nss_dns_gethostbyname4_r): Likewise.
55240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55241 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55242
55243 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
55244
55245 [BZ #13763]
55246 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55247
55248 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
55249
55250 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55251 * elf/cache.c (print_entry): Print ",AArch64" for
55252 FLAG_AARCH64_LIB64
55253
55254 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55255 * elf/cache.c (print_entry): Print ",hard-float" for
55256 FLAG_ARM_LIBHF.
55257
55258 2012-11-18 David S. Miller <davem@davemloft.net>
55259
55260 With help from Joseph Myers.
55261 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55262 cutoff to 2**-13.
55263 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55264 cutoff to 2**-25.
55265 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55266 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55267 small.
55268 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55269 * math/libm-test.inc (y0_test): New tests.
55270 (y1_test): New tests.
55271 * sysdeps/i386/fpu/libm-test-ulps: Update.
55272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55274
55275 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
55276
55277 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
55278 64-bit targets.
55279 * configure: Regenerated.
55280
55281 2012-11-17 David S. Miller <davem@davemloft.net>
55282
55283 [BZ #14811]
55284 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
55285 nonzero exponents with absolute value below 0x1p-128 to +/-
55286 0x1p-128.
55287
55288 2012-11-17 Joseph Myers <joseph@codesourcery.com>
55289
55290 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
55291
55292 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
55293
55294 * posix/getconf-speclist.c: New file.
55295 * posix/posix-envs.def: Likewise.
55296 * posix/confstr.c (START_ENV_GROUP): New macro.
55297 (END_ENV_GROUP): Likewise.
55298 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55299 (KNOWN_PRESENT_ENV_STRING): Likewise.
55300 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55301 (UNKNOWN_ENVIRONMENT): Likewise.
55302 (confstr): Include posix-envs.def instead of handling
55303 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
55304 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
55305 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
55306 (END_ENV_GROUP): Likewise.
55307 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55308 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55309 (UNKNOWN_ENVIRONMENT): Likewise.
55310 (__sysconf): Include posix-envs.def instead of handling associated
55311 cases directly here.
55312 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
55313 preprocessing getconf-speclist.c rather than running getconf or
55314 generating empty file.
55315
55316 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
55317
55318 * scripts/check-local-headers.sh: Ignore 'mach' headers.
55319
55320 2012-11-16 Andrej Lajovic <natrij@gmail.com>
55321
55322 [BZ #14672]
55323 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
55324
55325 2012-11-16 David S. Miller <davem@davemloft.net>
55326
55327 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
55328 smaller than LDBL_EPSILON/2.0L, just return xm1.
55329
55330 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
55331
55332 * elf/tst-array1.c (init): Set constructor priority to 1000.
55333 (fini): Set destructor priority to 1000.
55334 * elf/tst-array2dep.c: Likewise.
55335
55336 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
55337
55338 [BZ #11741]
55339 * libio/fileops.c (_IO_new_file_write): Correctly return error.
55340 (_IO_new_file_xsputn): Also return EOF if none of the input
55341 data was written when overflow failed.
55342 * libio/iopadn.c (_IO_padn): Likewise.
55343 * libio/iowpadn.c (_IO_wpadn): Likewise.
55344 * stdio-common/tst-put-error.c: Add copyright notice.
55345 (do_test): Add case for printing padded string.
55346 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
55347 _IO_padn returned error.
55348 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
55349 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
55350 return EOF.
55351
55352 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
55353
55354 * libio/libioP.h: Add comment note that the references to C++
55355 bits are now obsolete.
55356
55357 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55358
55359 * math/libm-test.inc (check_complex): Use asprintf.
55360
55361 2012-11-14 Joseph Myers <joseph@codesourcery.com>
55362
55363 * debug/pcprofiledump.c (print_version): Update copyright year.
55364 * malloc/memusagestat.c (print_version): Likewise.
55365
55366 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
55367
55368 [BZ #14831]
55369 * elf/Makefile (tests): Add tst-audit8.
55370 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
55371 ($(objpfx)tst-audit8.out): New target.
55372 (tst-audit8-ENV): New variable.
55373 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55374 audit if l_reloc_result is NULL.
55375 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55376 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55377 * elf/tst-audit8.c: New file.
55378
55379 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55380
55381 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55382 * misc/Makefile (CFLAGS-select.c): Define.
55383 * posix/Makefile (CFLAGS-pause.c): Define.
55384
55385 2012-11-13 David S. Miller <davem@davemloft.net>
55386
55387 * crypt/Makefile: Move test targets after toplevel Rules
55388 inclusion. Grab any necessary sysdep routines when linking.
55389 * crypt/md5.c (md5_process_block): Remove define, we will always
55390 name it __md5_process_block.
55391 (md5_finish_ctx): Update md5_process_block call.
55392 (md5_stream): Likewise.
55393 (md5_process_bytes): Likewise.
55394 (md5_process_block): Rename to __md5_process_block and move to ...
55395 * crypt/md5-block.c: ... here.
55396 * crypt/sha256.c (sha256_process_block): Move to ...
55397 * crypt/sha256-block.c: ... here.
55398 * crypt/sha512.c (sha512_process_block): Move to ...
55399 * crypt/sha512-block.c: ... here.
55400 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55401 path.
55402 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55403 * sysdeps/sparc/sparc64/multiarch/Makefile
55404 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55405 crypt subdir.
55406 (localedef-aux): Add md5 crypto assembler when in locale subdir.
55407 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55408 multiarch changes.
55409 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55410 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55411 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55412 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55413 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55414 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55415 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55416 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55417 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55418 file.
55419 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55420 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55421 file.
55422 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55423
55424 2012-11-13 Joseph Myers <joseph@codesourcery.com>
55425
55426 * timezone/tzselect.ksh: Update from tzcode git revision
55427 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55428 * timezone/zdump.c: Likewise.
55429 * timezone/zic.c: Likewise.
55430 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55431 in TZVERSION setting, not $(PKGVERSION).
55432 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
55433 REPORT_BUGS_TO settings.
55434
55435 [BZ #14838]
55436 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55437 macro.
55438
55439 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55440
55441 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55442 detection to immediately after _FP_ROUND().
55443 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55444 bits are 0.
55445
55446 2012-11-11 David S. Miller <davem@davemloft.net>
55447
55448 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55449 inttypes.h
55450 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55451 __close rather than their public counterparts.
55452
55453 2012-11-10 Joseph Myers <joseph@codesourcery.com>
55454
55455 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55456 file.
55457 [UNIX98] (sem_timedwait): Do not expect.
55458 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55459 [XPG4 || UNIX98] (sockatmark): Do not expect.
55460 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55461 (clock_getcpuclockid): Do not expect.
55462 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55463 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55464 Do not expect.
55465 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55466 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55467 [UNIX98] (vwscanf): Likewise.
55468 [UNIX98] (vswscanf): Likewise.
55469
55470 2012-11-09 Joseph Myers <joseph@codesourcery.com>
55471
55472 * timezone/version.h: Remove file.
55473 * timezone/README: Do not refer to version.h.
55474 * timezone/Makefile ($(objpfx)zic.o): New dependency on
55475 $(objpfx)version.h.
55476 ($(objpfx)zdump.o): Likewise.
55477 ($(objpfx)version.h): New target.
55478
55479 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55480 2012i.
55481 * timezone/README: Don't mention modification to tzselect.ksh.
55482 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55483 work on unmodified tzselect.ksh. Substitute version numbers in
55484 tzselect.ksh.
55485
55486 * Makefile (format-me): Remove.
55487 (INSTALL): Adjust indentation. Use commands directly instead of
55488 using $(format-me).
55489
55490 * aclocal.m4 (ACX_PKGVERSION): New macro.
55491 (ACX_BUGURL): Likewise.
55492 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55493 (PKGVERSION): New AC_DEFINE_UNQUOTED.
55494 (REPORT_BUGS_TO): Likewise.
55495 * configure: Regenerated.
55496 * config.h.in (PKGVERSION): New macro.
55497 (REPORT_BUGS_TO): Likewise.
55498 * config.make.in (PKGVERSION): New variable.
55499 (PKGVERSION_TEXI): Likewise.
55500 (REPORT_BUGS_TO): Likewise.
55501 (REPORT_BUGS_TEXI): Likewise.
55502 * Makefile (format-me): Use -I$(common-objpfx)manual.
55503 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55504 ($(common-objpfx)manual/%): New target.
55505 (manual/%): Remove target.
55506 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55507 (print_version): Use PKGVERSION.
55508 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55509 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55510 and REPORT_BUGS_TO.
55511 ($(objpfx)xtrace): Likewise.
55512 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55513 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55514 (print_version): Use PKGVERSION.
55515 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55516 (do_version): Use PKGVERSION.
55517 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55518 REPORT_BUGS_TO.
55519 (common-ldd-rewrite): Likewise.
55520 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55521 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55522 (print_version): Use PKGVERSION.
55523 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55524 * elf/pldd.c (argp_program_bug_address): Remove variable.
55525 (more_help): New function.
55526 (argp): Use more_help.
55527 (print_version): Use PKGVERSION.
55528 * elf/sln.c (main): Use PKGVERSION.
55529 (usage): Use REPORT_BUGS_TO.
55530 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55531 (top level): Use PKGVERSION.
55532 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55533 (print_version): Use PKGVERSION.
55534 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55535 (print_version): Use PKGVERSION.
55536 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55537 (print_version): Use PKGVERSION.
55538 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55539 (print_version): Use PKGVERSION.
55540 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55541 (print_version): Use PKGVERSION.
55542 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55543 (print_version): Use PKGVERSION.
55544 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55545 and BUGURL.
55546 ($(objpfx)memusage): Likewise.
55547 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55548 (do_version): Use PKGVERSION.
55549 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55550 (print_version): Use PKGVERSION.
55551 * malloc/mtrace.pl ($PACKAGE): Remove variable.
55552 ($PKGVERSION): New variable.
55553 ($REPORT_BUGS_TO): Likewise.
55554 (usage): Use $REPORT_BUGS_TO.
55555 (top level): Use $PKGVERSION.
55556 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55557 ($(objpfx)pkgvers.texi): New rule.
55558 ($(objpfx)stamp-pkgvers): Likewise.
55559 * manual/install.texi: Include pkgvers.texi.
55560 (--with-pkgversion): Document new configure option.
55561 (--with-bugurl): Likewise.
55562 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55563 than necessarily for this particular distribution. Use
55564 REPORT_BUGS_TO for where to report bugs.
55565 * INSTALL: Regenerated.
55566 * manual/libc.texinfo: Include pkgvers.texi.
55567 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55568 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55569 (print_version): Use PKGVERSION.
55570 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55571 (print_version): Use PKGVERSION.
55572 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55573 (print_version): Use PKGVERSION.
55574 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55575 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55576 macro.
55577 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55578 (print_version): Use PKGVERSION.
55579 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55580 (print_version): Use PKGVERSION.
55581 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55582 and PKGVERSION.
55583
55584 * timezone/checktab.awk: Update from tzcode 2012i.
55585 * timezone/ialloc.c: Likewise.
55586 * timezone/private.h: Likewise.
55587 * timezone/scheck.c: Likewise.
55588 * timezone/tzfile.h: Likewise.
55589 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55590 (TZVERSION): Hardcode tzcode version number.
55591 * timezone/zdump.c: Update from tzcode 2012i.
55592 * timezone/zic.c: Likewise.
55593 * timezone/version.h: New file.
55594 * timezone/README: Describe version.h. Update upstream location.
55595
55596 [BZ #14824]
55597 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55598 (mktemp): Enable declaration.
55599 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55600 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55601 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55602 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55603 Likewise.
55604 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55605 Likewise.
55606 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55607 Likewise.
55608 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55609 Likewise.
55610 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55611 Likewise.
55612 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55613 Likewise.
55614
55615 [BZ #14821]
55616 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55617 offset in buffer as u_int32_t not u_long. Consistently use memcpy
55618 for copies of such integer values.
55619 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55620 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55621
55622 2012-11-09 Andreas Jaeger <aj@suse.de>
55623
55624 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55625 definitions and declarations that are provided by
55626 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55627
55628 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55629
55630 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55631 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55632 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55633 definition.
55634
55635 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55636
55637 * elf/elf.h: Update comment before AArch64 relocations.
55638
55639 2012-11-07 David S. Miller <davem@davemloft.net>
55640
55641 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55642 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55643 (__start_context): Declare.
55644 (__makecontext_ret): Delete.
55645 (__makecontext): Hook up __start_context instead of
55646 __makecontext_ret.
55647 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55648 (sysdep_routines): Add __start_context when in stdlib.
55649
55650 2012-11-07 Joseph Myers <joseph@codesourcery.com>
55651
55652 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55653 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55654 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
55655 hardcoded "nm".
55656 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
55657 (READELF): New variable. Use it instead of hardcoded "readelf".
55658
55659 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
55660
55661 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55662 * sysdeps/x86/Makefile: Here.
55663 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55664 * sysdeps/x86/tst-xmmymm.sh: This.
55665
55666 2012-11-07 Joseph Myers <joseph@codesourcery.com>
55667
55668 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55669 expectations.
55670 [UNIX98] (pthread_barrier_t): Do not expect.
55671 [UNIX98] (pthread_barrierattr_t): Likewise.
55672 [UNIX98] (pthread_spinlock_t): Likewise.
55673 [UNIX98] (pthread_barrier_destroy): Likewise.
55674 [UNIX98] (pthread_barrier_init): Likewise.
55675 [UNIX98] (pthread_barrier_wait): Likewise.
55676 [UNIX98] (pthread_barrierattr_destroy): Likewise.
55677 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55678 [UNIX98] (pthread_barrierattr_init): Likewise.
55679 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55680 [UNIX98] (pthread_getcpuclockid): Likewise.
55681 [UNIX98] (pthread_mutex_timedlock): Likewise.
55682 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55683 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55684 [UNIX98] (pthread_sigmask): Likewise.
55685 [UNIX98] (pthread_spin_destroy): Likewise.
55686 [UNIX98] (pthread_spin_init): Likewise.
55687 [UNIX98] (pthread_spin_lock): Likewise.
55688 [UNIX98] (pthread_spin_trylock): Likewise.
55689 [UNIX98] (pthread_spin_unlock): Likewise.
55690 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55691 Do not expect.
55692 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55693 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55694 [XPG3 || XPG4] (pthread_cond_t): Likewise.
55695 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55696 [XPG3 || XPG4] (pthread_key_t): Likewise.
55697 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55698 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55699 [XPG3 || XPG4] (pthread_once_t): Likewise.
55700 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55701 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55702 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55703 [XPG3 || XPG4] (pthread_t): Likewise.
55704
55705 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55706 not expect.
55707 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55708
55709 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55710 Change function return type to int.
55711
55712 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55713 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55714 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55715 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55716 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55717 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55718 [!POSIX] (posix_madvise): Likewise.
55719 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55720 && !UNIX98].
55721 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55722 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55723 (mode_t): Likewise.
55724 (posix_mem_offset): Likewise.
55725 (posix_typed_mem_get_info): Likewise.
55726 (posix_typed_mem_open): Likewise.
55727
55728 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55729 Change condition to [XOPEN2K8].
55730
55731 * conform/conformtest.pl: Preprocess allow-header data with -x c
55732 instead of from stdin.
55733 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55734 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55735 [C99-based standards] (cerfc): Likewise.
55736 [C99-based standards] (cexp2): Likewise.
55737 [C99-based standards] (cexpm1): Likewise.
55738 [C99-based standards] (clog10): Likewise.
55739 [C99-based standards] (clog1p): Likewise.
55740 [C99-based standards] (clog2): Likewise.
55741 [C99-based standards] (clgamma): Likewise.
55742 [C99-based standards] (ctgamma): Likewise.
55743 [C99-based standards] (cerff): Likewise.
55744 [C99-based standards] (cerfcf): Likewise.
55745 [C99-based standards] (cexp2f): Likewise.
55746 [C99-based standards] (cexpm1f): Likewise.
55747 [C99-based standards] (clog10f): Likewise.
55748 [C99-based standards] (clog1pf): Likewise.
55749 [C99-based standards] (clog2f): Likewise.
55750 [C99-based standards] (clgammaf): Likewise.
55751 [C99-based standards] (ctgammaf): Likewise.
55752 [C99-based standards] (cerfl): Likewise.
55753 [C99-based standards] (cerfcl): Likewise.
55754 [C99-based standards] (cexp2l): Likewise.
55755 [C99-based standards] (cexpm1l): Likewise.
55756 [C99-based standards] (clog10l): Likewise.
55757 [C99-based standards] (clog1pl): Likewise.
55758 [C99-based standards] (clog2l): Likewise.
55759 [C99-based standards] (clgammal): Likewise.
55760 [C99-based standards] (ctgammal): Likewise.
55761 * conform/data/inttypes.h-data [C99-based standards]: Include
55762 stdint.h-data. Remove all expectations for stdint.h contents.
55763 [C99-based standards] (PRI*): Do not allow.
55764 [C99-based standards] (SCN*): Likewise.
55765 [C99-based standards] (*_t): Likewise.
55766 [C99-based-standards] (PRId8): Expect macro.
55767 [C99-based-standards] (PRIi8): Likewise.
55768 [C99-based-standards] (PRIo8): Likewise.
55769 [C99-based-standards] (PRIu8): Likewise.
55770 [C99-based-standards] (PRIx8): Likewise.
55771 [C99-based-standards] (PRIX8): Likewise.
55772 [C99-based-standards] (SCNd8): Likewise.
55773 [C99-based-standards] (SCNi8): Likewise.
55774 [C99-based-standards] (SCNo8): Likewise.
55775 [C99-based-standards] (SCNu8): Likewise.
55776 [C99-based-standards] (SCNx8): Likewise.
55777 [C99-based-standards] (PRIdLEAST8): Likewise.
55778 [C99-based-standards] (PRIiLEAST8): Likewise.
55779 [C99-based-standards] (PRIoLEAST8): Likewise.
55780 [C99-based-standards] (PRIuLEAST8): Likewise.
55781 [C99-based-standards] (PRIxLEAST8): Likewise.
55782 [C99-based-standards] (PRIXLEAST8): Likewise.
55783 [C99-based-standards] (SCNdLEAST8): Likewise.
55784 [C99-based-standards] (SCNiLEAST8): Likewise.
55785 [C99-based-standards] (SCNoLEAST8): Likewise.
55786 [C99-based-standards] (SCNuLEAST8): Likewise.
55787 [C99-based-standards] (SCNxLEAST8): Likewise.
55788 [C99-based-standards] (PRIdFAST8): Likewise.
55789 [C99-based-standards] (PRIiFAST8): Likewise.
55790 [C99-based-standards] (PRIoFAST8): Likewise.
55791 [C99-based-standards] (PRIuFAST8): Likewise.
55792 [C99-based-standards] (PRIxFAST8): Likewise.
55793 [C99-based-standards] (PRIXFAST8): Likewise.
55794 [C99-based-standards] (SCNdFAST8): Likewise.
55795 [C99-based-standards] (SCNiFAST8): Likewise.
55796 [C99-based-standards] (SCNoFAST8): Likewise.
55797 [C99-based-standards] (SCNuFAST8): Likewise.
55798 [C99-based-standards] (SCNxFAST8): Likewise.
55799 [C99-based-standards] (PRId16): Likewise.
55800 [C99-based-standards] (PRIi16): Likewise.
55801 [C99-based-standards] (PRIo16): Likewise.
55802 [C99-based-standards] (PRIu16): Likewise.
55803 [C99-based-standards] (PRIx16): Likewise.
55804 [C99-based-standards] (PRIX16): Likewise.
55805 [C99-based-standards] (SCNd16): Likewise.
55806 [C99-based-standards] (SCNi16): Likewise.
55807 [C99-based-standards] (SCNo16): Likewise.
55808 [C99-based-standards] (SCNu16): Likewise.
55809 [C99-based-standards] (SCNx16): Likewise.
55810 [C99-based-standards] (PRIdLEAST16): Likewise.
55811 [C99-based-standards] (PRIiLEAST16): Likewise.
55812 [C99-based-standards] (PRIoLEAST16): Likewise.
55813 [C99-based-standards] (PRIuLEAST16): Likewise.
55814 [C99-based-standards] (PRIxLEAST16): Likewise.
55815 [C99-based-standards] (PRIXLEAST16): Likewise.
55816 [C99-based-standards] (SCNdLEAST16): Likewise.
55817 [C99-based-standards] (SCNiLEAST16): Likewise.
55818 [C99-based-standards] (SCNoLEAST16): Likewise.
55819 [C99-based-standards] (SCNuLEAST16): Likewise.
55820 [C99-based-standards] (SCNxLEAST16): Likewise.
55821 [C99-based-standards] (PRIdFAST16): Likewise.
55822 [C99-based-standards] (PRIiFAST16): Likewise.
55823 [C99-based-standards] (PRIoFAST16): Likewise.
55824 [C99-based-standards] (PRIuFAST16): Likewise.
55825 [C99-based-standards] (PRIxFAST16): Likewise.
55826 [C99-based-standards] (PRIXFAST16): Likewise.
55827 [C99-based-standards] (SCNdFAST16): Likewise.
55828 [C99-based-standards] (SCNiFAST16): Likewise.
55829 [C99-based-standards] (SCNoFAST16): Likewise.
55830 [C99-based-standards] (SCNuFAST16): Likewise.
55831 [C99-based-standards] (SCNxFAST16): Likewise.
55832 [C99-based-standards] (PRId32): Likewise.
55833 [C99-based-standards] (PRIi32): Likewise.
55834 [C99-based-standards] (PRIo32): Likewise.
55835 [C99-based-standards] (PRIu32): Likewise.
55836 [C99-based-standards] (PRIx32): Likewise.
55837 [C99-based-standards] (PRIX32): Likewise.
55838 [C99-based-standards] (SCNd32): Likewise.
55839 [C99-based-standards] (SCNi32): Likewise.
55840 [C99-based-standards] (SCNo32): Likewise.
55841 [C99-based-standards] (SCNu32): Likewise.
55842 [C99-based-standards] (SCNx32): Likewise.
55843 [C99-based-standards] (PRIdLEAST32): Likewise.
55844 [C99-based-standards] (PRIiLEAST32): Likewise.
55845 [C99-based-standards] (PRIoLEAST32): Likewise.
55846 [C99-based-standards] (PRIuLEAST32): Likewise.
55847 [C99-based-standards] (PRIxLEAST32): Likewise.
55848 [C99-based-standards] (PRIXLEAST32): Likewise.
55849 [C99-based-standards] (SCNdLEAST32): Likewise.
55850 [C99-based-standards] (SCNiLEAST32): Likewise.
55851 [C99-based-standards] (SCNoLEAST32): Likewise.
55852 [C99-based-standards] (SCNuLEAST32): Likewise.
55853 [C99-based-standards] (SCNxLEAST32): Likewise.
55854 [C99-based-standards] (PRIdFAST32): Likewise.
55855 [C99-based-standards] (PRIiFAST32): Likewise.
55856 [C99-based-standards] (PRIoFAST32): Likewise.
55857 [C99-based-standards] (PRIuFAST32): Likewise.
55858 [C99-based-standards] (PRIxFAST32): Likewise.
55859 [C99-based-standards] (PRIXFAST32): Likewise.
55860 [C99-based-standards] (SCNdFAST32): Likewise.
55861 [C99-based-standards] (SCNiFAST32): Likewise.
55862 [C99-based-standards] (SCNoFAST32): Likewise.
55863 [C99-based-standards] (SCNuFAST32): Likewise.
55864 [C99-based-standards] (SCNxFAST32): Likewise.
55865 [C99-based-standards] (PRId64): Likewise.
55866 [C99-based-standards] (PRIi64): Likewise.
55867 [C99-based-standards] (PRIo64): Likewise.
55868 [C99-based-standards] (PRIu64): Likewise.
55869 [C99-based-standards] (PRIx64): Likewise.
55870 [C99-based-standards] (PRIX64): Likewise.
55871 [C99-based-standards] (SCNd64): Likewise.
55872 [C99-based-standards] (SCNi64): Likewise.
55873 [C99-based-standards] (SCNo64): Likewise.
55874 [C99-based-standards] (SCNu64): Likewise.
55875 [C99-based-standards] (SCNx64): Likewise.
55876 [C99-based-standards] (PRIdLEAST64): Likewise.
55877 [C99-based-standards] (PRIiLEAST64): Likewise.
55878 [C99-based-standards] (PRIoLEAST64): Likewise.
55879 [C99-based-standards] (PRIuLEAST64): Likewise.
55880 [C99-based-standards] (PRIxLEAST64): Likewise.
55881 [C99-based-standards] (PRIXLEAST64): Likewise.
55882 [C99-based-standards] (SCNdLEAST64): Likewise.
55883 [C99-based-standards] (SCNiLEAST64): Likewise.
55884 [C99-based-standards] (SCNoLEAST64): Likewise.
55885 [C99-based-standards] (SCNuLEAST64): Likewise.
55886 [C99-based-standards] (SCNxLEAST64): Likewise.
55887 [C99-based-standards] (PRIdFAST64): Likewise.
55888 [C99-based-standards] (PRIiFAST64): Likewise.
55889 [C99-based-standards] (PRIoFAST64): Likewise.
55890 [C99-based-standards] (PRIuFAST64): Likewise.
55891 [C99-based-standards] (PRIxFAST64): Likewise.
55892 [C99-based-standards] (PRIXFAST64): Likewise.
55893 [C99-based-standards] (SCNdFAST64): Likewise.
55894 [C99-based-standards] (SCNiFAST64): Likewise.
55895 [C99-based-standards] (SCNoFAST64): Likewise.
55896 [C99-based-standards] (SCNuFAST64): Likewise.
55897 [C99-based-standards] (SCNxFAST64): Likewise.
55898 [C99-based-standards] (PRIdMAX): Likewise.
55899 [C99-based-standards] (PRIiMAX): Likewise.
55900 [C99-based-standards] (PRIoMAX): Likewise.
55901 [C99-based-standards] (PRIuMAX): Likewise.
55902 [C99-based-standards] (PRIxMAX): Likewise.
55903 [C99-based-standards] (PRIXMAX): Likewise.
55904 [C99-based-standards] (SCNdMAX): Likewise.
55905 [C99-based-standards] (SCNiMAX): Likewise.
55906 [C99-based-standards] (SCNoMAX): Likewise.
55907 [C99-based-standards] (SCNuMAX): Likewise.
55908 [C99-based-standards] (SCNxMAX): Likewise.
55909 [C99-based-standards] (PRIdPTR): Likewise.
55910 [C99-based-standards] (PRIiPTR): Likewise.
55911 [C99-based-standards] (PRIoPTR): Likewise.
55912 [C99-based-standards] (PRIuPTR): Likewise.
55913 [C99-based-standards] (PRIxPTR): Likewise.
55914 [C99-based-standards] (PRIXPTR): Likewise.
55915 [C99-based-standards] (SCNdPTR): Likewise.
55916 [C99-based-standards] (SCNiPTR): Likewise.
55917 [C99-based-standards] (SCNoPTR): Likewise.
55918 [C99-based-standards] (SCNuPTR): Likewise.
55919 [C99-based-standards] (SCNxPTR): Likewise.
55920 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55921 allow.
55922 * conform/data/stdint.h-data: Update comments to clarify
55923 requirements.
55924 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
55925 type.
55926 [C99-based standards] (INT8_MAX): Likewise.
55927 [C99-based standards] (INT16_MIN): Likewise.
55928 [C99-based standards] (INT16_MAX): Likewise.
55929 [C99-based standards] (INT32_MIN): Likewise.
55930 [C99-based standards] (INT32_MAX): Likewise.
55931 [C99-based standards] (INT64_MIN): Likewise.
55932 [C99-based standards] (INT64_MAX): Likewise.
55933 [C99-based standards] (UINT8_MAX): Likewise.
55934 [C99-based standards] (UINT16_MAX): Likewise.
55935 [C99-based standards] (UINT32_MAX): Likewise.
55936 [C99-based standards] (UINT64_MAX): Likewise.
55937 [C99-based standards] (INT_LEAST8_MIN): Likewise.
55938 [C99-based standards] (INT_LEAST8_MAX): Likewise.
55939 [C99-based standards] (INT_LEAST16_MIN): Likewise.
55940 [C99-based standards] (INT_LEAST16_MAX): Likewise.
55941 [C99-based standards] (INT_LEAST32_MIN): Likewise.
55942 [C99-based standards] (INT_LEAST32_MAX): Likewise.
55943 [C99-based standards] (INT_LEAST64_MIN): Likewise.
55944 [C99-based standards] (INT_LEAST64_MAX): Likewise.
55945 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55946 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55947 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55948 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55949 [C99-based standards] (INT_FAST8_MIN): Likewise.
55950 [C99-based standards] (INT_FAST8_MAX): Likewise.
55951 [C99-based standards] (INT_FAST16_MIN): Likewise.
55952 [C99-based standards] (INT_FAST16_MAX): Likewise.
55953 [C99-based standards] (INT_FAST32_MIN): Likewise.
55954 [C99-based standards] (INT_FAST32_MAX): Likewise.
55955 [C99-based standards] (INT_FAST64_MIN): Likewise.
55956 [C99-based standards] (INT_FAST64_MAX): Likewise.
55957 [C99-based standards] (UINT_FAST8_MAX): Likewise.
55958 [C99-based standards] (UINT_FAST16_MAX): Likewise.
55959 [C99-based standards] (UINT_FAST32_MAX): Likewise.
55960 [C99-based standards] (UINT_FAST64_MAX): Likewise.
55961 [C99-based standards] (INTPTR_MIN): Likewise.
55962 [C99-based standards] (INTPTR_MAX): Likewise.
55963 [C99-based standards] (UINTPTR_MAX): Likewise.
55964 [C99-based standards] (INTMAX_MIN): Likewise.
55965 [C99-based standards] (INTMAX_MAX): Likewise.
55966 [C99-based standards] (UINTMAX_MAX): Likewise.
55967 [C99-based standards] (PTRDIFF_MIN): Likewise.
55968 [C99-based standards] (PTRDIFF_MAX): Likewise.
55969 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55970 [C99-based standards] (SIZE_MAX): Likewise.
55971 [C99-based standards] (WCHAR_MAX): Likewise.
55972 [C99-based standards] (WINT_MAX): Likewise.
55973 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
55974 constraint on value.
55975 [C99-based standards] (WCHAR_MIN): Likewise.
55976 [C99-based standards] (WINT_MIN): Likewise.
55977 [C99-based standards] (*_t): Allow.
55978 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55979 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55980 Include math.h-data and complex.h-data. Remove all expectations
55981 of math.h and complex.h contents.
55982 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55983 at end of line.
55984 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55985 (struct tm): Expect tag.
55986 [C99-based-standards] (wcstof): Expect function.
55987 [C99-based-standards] (wcstold): Likewise.
55988 [C99-based-standards] (wcstoll): Likewise.
55989 [C99-based-standards] (wcstoull): Likewise.
55990 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55991 macro-int-constant. Specify type.
55992 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
55993 constraint on value.
55994 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55995 Specify type.
55996 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55997 Specify value.
55998 [ISO C standards]: Do not allow headers.
55999 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56000 wcs[abcdefghijklmnopqrstuvwxyz]*.
56001 [ISO C standards] (*_t): Do not allow.
56002 * conform/data/wctype.h-data [C99-based standards] (iswblank):
56003 Expect function.
56004 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56005 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56006 Specify type.
56007 [ISO C standards]: Do not allow headers.
56008 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56009 is[abcdefghijklmnopqrstuvwxyz]*.
56010 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56011 to[abcdefghijklmnopqrstuvwxyz]*.
56012 [ISO C standards] (*_t): Do not allow.
56013 * conform/data/stdalign.h-data: New file.
56014 * conform/data/stdbool.h-data: Likewise.
56015 * conform/data/stdnoreturn.h-data: Likewise.
56016
56017 2012-11-07 Roland McGrath <roland@hack.frob.com>
56018
56019 [BZ #14815]
56020 * manual/filesys.texi (Directory Entries): Typo fix.
56021 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
56022
56023 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
56024
56025 * elf/elf.h (EM_AARCH64): New macro.
56026 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
56027 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
56028 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
56029 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
56030 (R_AARCH64_TLSDESC): Likewise.
56031 (NT_ARM_TLS): Likewise.
56032 (NT_ARM_HW_BREAK): Likewise.
56033 (NT_ARM_HW_WATCH): Likewise.
56034
56035 2012-11-07 Joseph Myers <joseph@codesourcery.com>
56036
56037 [BZ #14811]
56038 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
56039 (__ieee754_powl): Saturate nonzero exponents with absolute value
56040 below 0x1p-79 to +/- 0x1p-79.
56041 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
56042 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
56043 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
56044 nonzero exponents with absolute value below 0x1p-32 to +/-
56045 0x1p-32.
56046 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
56047 (__ieee754_powl): Saturate nonzero exponents with absolute value
56048 below 0x1p-79 to +/- 0x1p-79.
56049 * math/libm-test.inc (pow_test): Add more tests.
56050
56051 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56052
56053 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
56054 _dl_s390_cap_flags with kernel. Increase string length.
56055 (_dl_s390_platforms): Add z196 and zEC12.
56056
56057 2012-11-07 Joseph Myers <joseph@codesourcery.com>
56058
56059 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
56060 Change XOPEN21K to XOPEN2K.
56061
56062 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
56063
56064 * string/memmove.c: Use memcpy when possible.
56065
56066 2012-11-06 Andreas Jaeger <aj@suse.de>
56067
56068 * po/eo.po: Update from translation team.
56069
56070 2012-11-06 Joseph Myers <joseph@codesourcery.com>
56071
56072 [BZ #14793]
56073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
56074 exponent and small x and y exponents, scale x or y up. Increase
56075 by 2 the exponent used in scaling up.
56076 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56077 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56078 * math/libm-test.inc (fma_test): Add more tests.
56079 (fma_test_towardzero): Likewise.
56080 (fma_test_downward): Likewise.
56081 (fma_test_upward): Likewise.
56082
56083 2012-11-05 Joseph Myers <joseph@codesourcery.com>
56084
56085 [BZ #14805]
56086 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
56087 fenv_t *.
56088
56089 [BZ #14801]
56090 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
56091 namespace for names of struct fields.
56092 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
56093 fenv_t fields.
56094 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
56095 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
56096
56097 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
56098
56099 [BZ #3665]
56100 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
56101
56102 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
56103
56104 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
56105 PTR_DEMANGLE.
56106
56107 [BZ #5246]
56108 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
56109 PTR_DEMANGLE.
56110
56111 2012-11-04 Joseph Myers <joseph@codesourcery.com>
56112
56113 [BZ #14797]
56114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
56115 definitely overflow as x * y not x * y + z.
56116 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56117 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56118 * math/libm-test.inc (fma_test): Add more tests.
56119 (fma_test_towardzero): Likewise.
56120 (fma_test_downward): Likewise.
56121 (fma_test_upward): Likewise.
56122
56123 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
56124
56125 [BZ #157]
56126
56127 * include/stub-tag.h: Remove file.
56128 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56129 '#include' of it.
56130 * manual/maint.texi (Porting): Don't reference it.
56131 * Makerules ($(objpfx)stubs): Likewise.
56132 * dirent/closedir.c: Don't include <stub-tag.h>.
56133 * dirent/dirfd.c: Likewise.
56134 * dirent/fdopendir.c: Likewise.
56135 * dirent/getdents.c: Likewise.
56136 * dirent/getdents64.c: Likewise.
56137 * dirent/opendir.c: Likewise.
56138 * dirent/readdir.c: Likewise.
56139 * dirent/readdir64.c: Likewise.
56140 * dirent/readdir64_r.c: Likewise.
56141 * dirent/readdir_r.c: Likewise.
56142 * dirent/rewinddir.c: Likewise.
56143 * dirent/seekdir.c: Likewise.
56144 * dirent/telldir.c: Likewise.
56145 * gmon/profil.c: Likewise.
56146 * grp/setgroups.c: Likewise.
56147 * inet/if_index.c: Likewise.
56148 * io/access.c: Likewise.
56149 * io/chdir.c: Likewise.
56150 * io/chmod.c: Likewise.
56151 * io/chown.c: Likewise.
56152 * io/close.c: Likewise.
56153 * io/dup.c: Likewise.
56154 * io/dup2.c: Likewise.
56155 * io/dup3.c: Likewise.
56156 * io/euidaccess.c: Likewise.
56157 * io/faccessat.c: Likewise.
56158 * io/fchdir.c: Likewise.
56159 * io/fchmod.c: Likewise.
56160 * io/fchmodat.c: Likewise.
56161 * io/fchown.c: Likewise.
56162 * io/fchownat.c: Likewise.
56163 * io/fcntl.c: Likewise.
56164 * io/flock.c: Likewise.
56165 * io/fstatfs.c: Likewise.
56166 * io/fstatfs64.c: Likewise.
56167 * io/fstatvfs.c: Likewise.
56168 * io/fstatvfs64.c: Likewise.
56169 * io/futimens.c: Likewise.
56170 * io/fxstat.c: Likewise.
56171 * io/fxstat64.c: Likewise.
56172 * io/fxstatat.c: Likewise.
56173 * io/fxstatat64.c: Likewise.
56174 * io/getcwd.c: Likewise.
56175 * io/isatty.c: Likewise.
56176 * io/lchmod.c: Likewise.
56177 * io/lchown.c: Likewise.
56178 * io/link.c: Likewise.
56179 * io/linkat.c: Likewise.
56180 * io/lseek.c: Likewise.
56181 * io/lseek64.c: Likewise.
56182 * io/lxstat64.c: Likewise.
56183 * io/mkdir.c: Likewise.
56184 * io/mkdirat.c: Likewise.
56185 * io/mkfifo.c: Likewise.
56186 * io/mkfifoat.c: Likewise.
56187 * io/open.c: Likewise.
56188 * io/open64.c: Likewise.
56189 * io/openat.c: Likewise.
56190 * io/openat64.c: Likewise.
56191 * io/pipe.c: Likewise.
56192 * io/pipe2.c: Likewise.
56193 * io/poll.c: Likewise.
56194 * io/posix_fadvise.c: Likewise.
56195 * io/posix_fadvise64.c: Likewise.
56196 * io/posix_fallocate.c: Likewise.
56197 * io/posix_fallocate64.c: Likewise.
56198 * io/read.c: Likewise.
56199 * io/readlink.c: Likewise.
56200 * io/readlinkat.c: Likewise.
56201 * io/rmdir.c: Likewise.
56202 * io/sendfile.c: Likewise.
56203 * io/sendfile64.c: Likewise.
56204 * io/statfs.c: Likewise.
56205 * io/statfs64.c: Likewise.
56206 * io/statvfs.c: Likewise.
56207 * io/statvfs64.c: Likewise.
56208 * io/symlink.c: Likewise.
56209 * io/symlinkat.c: Likewise.
56210 * io/ttyname.c: Likewise.
56211 * io/ttyname_r.c: Likewise.
56212 * io/umask.c: Likewise.
56213 * io/unlink.c: Likewise.
56214 * io/unlinkat.c: Likewise.
56215 * io/utime.c: Likewise.
56216 * io/utimensat.c: Likewise.
56217 * io/write.c: Likewise.
56218 * io/xmknod.c: Likewise.
56219 * io/xmknodat.c: Likewise.
56220 * io/xstat.c: Likewise.
56221 * io/xstat64.c: Likewise.
56222 * login/getpt.c: Likewise.
56223 * login/grantpt.c: Likewise.
56224 * login/unlockpt.c: Likewise.
56225 * math/e_acoshl.c: Likewise.
56226 * math/e_acosl.c: Likewise.
56227 * math/e_asinl.c: Likewise.
56228 * math/e_atan2l.c: Likewise.
56229 * math/e_atanhl.c: Likewise.
56230 * math/e_coshl.c: Likewise.
56231 * math/e_expl.c: Likewise.
56232 * math/e_fmodl.c: Likewise.
56233 * math/e_gammal_r.c: Likewise.
56234 * math/e_hypotl.c: Likewise.
56235 * math/e_j0l.c: Likewise.
56236 * math/e_j1l.c: Likewise.
56237 * math/e_jnl.c: Likewise.
56238 * math/e_lgammal_r.c: Likewise.
56239 * math/e_log10l.c: Likewise.
56240 * math/e_log2l.c: Likewise.
56241 * math/e_logl.c: Likewise.
56242 * math/e_powl.c: Likewise.
56243 * math/e_rem_pio2l.c: Likewise.
56244 * math/e_sinhl.c: Likewise.
56245 * math/e_sqrtl.c: Likewise.
56246 * math/fclrexcpt.c: Likewise.
56247 * math/fedisblxcpt.c: Likewise.
56248 * math/feenablxcpt.c: Likewise.
56249 * math/fegetenv.c: Likewise.
56250 * math/fegetexcept.c: Likewise.
56251 * math/fegetround.c: Likewise.
56252 * math/feholdexcpt.c: Likewise.
56253 * math/fesetenv.c: Likewise.
56254 * math/fesetround.c: Likewise.
56255 * math/feupdateenv.c: Likewise.
56256 * math/fgetexcptflg.c: Likewise.
56257 * math/fraiseexcpt.c: Likewise.
56258 * math/fsetexcptflg.c: Likewise.
56259 * math/ftestexcept.c: Likewise.
56260 * math/k_cosl.c: Likewise.
56261 * math/k_rem_pio2l.c: Likewise.
56262 * math/k_sinl.c: Likewise.
56263 * math/k_tanl.c: Likewise.
56264 * math/s_asinhl.c: Likewise.
56265 * math/s_atanl.c: Likewise.
56266 * math/s_cbrtl.c: Likewise.
56267 * math/s_erfl.c: Likewise.
56268 * math/s_expm1l.c: Likewise.
56269 * math/s_log1pl.c: Likewise.
56270 * math/s_tanhl.c: Likewise.
56271 * misc/acct.c: Likewise.
56272 * misc/brk.c: Likewise.
56273 * misc/chflags.c: Likewise.
56274 * misc/chroot.c: Likewise.
56275 * misc/fchflags.c: Likewise.
56276 * misc/fgetxattr.c: Likewise.
56277 * misc/flistxattr.c: Likewise.
56278 * misc/fremovexattr.c: Likewise.
56279 * misc/fsetxattr.c: Likewise.
56280 * misc/fsync.c: Likewise.
56281 * misc/ftruncate.c: Likewise.
56282 * misc/futimes.c: Likewise.
56283 * misc/futimesat.c: Likewise.
56284 * misc/getdomain.c: Likewise.
56285 * misc/getdtsz.c: Likewise.
56286 * misc/gethostid.c: Likewise.
56287 * misc/gethostname.c: Likewise.
56288 * misc/getloadavg.c: Likewise.
56289 * misc/getpagesize.c: Likewise.
56290 * misc/getsysstats.c: Likewise.
56291 * misc/getxattr.c: Likewise.
56292 * misc/gtty.c: Likewise.
56293 * misc/ioctl.c: Likewise.
56294 * misc/lgetxattr.c: Likewise.
56295 * misc/listxattr.c: Likewise.
56296 * misc/llistxattr.c: Likewise.
56297 * misc/lremovexattr.c: Likewise.
56298 * misc/lsetxattr.c: Likewise.
56299 * misc/lutimes.c: Likewise.
56300 * misc/madvise.c: Likewise.
56301 * misc/mincore.c: Likewise.
56302 * misc/mlock.c: Likewise.
56303 * misc/mlockall.c: Likewise.
56304 * misc/mmap.c: Likewise.
56305 * misc/mprotect.c: Likewise.
56306 * misc/msync.c: Likewise.
56307 * misc/munlock.c: Likewise.
56308 * misc/munlockall.c: Likewise.
56309 * misc/munmap.c: Likewise.
56310 * misc/preadv.c: Likewise.
56311 * misc/preadv64.c: Likewise.
56312 * misc/ptrace.c: Likewise.
56313 * misc/pwritev.c: Likewise.
56314 * misc/pwritev64.c: Likewise.
56315 * misc/readv.c: Likewise.
56316 * misc/reboot.c: Likewise.
56317 * misc/remap_file_pages.c: Likewise.
56318 * misc/removexattr.c: Likewise.
56319 * misc/revoke.c: Likewise.
56320 * misc/select.c: Likewise.
56321 * misc/setdomain.c: Likewise.
56322 * misc/setegid.c: Likewise.
56323 * misc/seteuid.c: Likewise.
56324 * misc/sethostid.c: Likewise.
56325 * misc/sethostname.c: Likewise.
56326 * misc/setregid.c: Likewise.
56327 * misc/setreuid.c: Likewise.
56328 * misc/setxattr.c: Likewise.
56329 * misc/sstk.c: Likewise.
56330 * misc/stty.c: Likewise.
56331 * misc/swapoff.c: Likewise.
56332 * misc/swapon.c: Likewise.
56333 * misc/sync.c: Likewise.
56334 * misc/syncfs.c: Likewise.
56335 * misc/syscall.c: Likewise.
56336 * misc/truncate.c: Likewise.
56337 * misc/ualarm.c: Likewise.
56338 * misc/usleep.c: Likewise.
56339 * misc/ustat.c: Likewise.
56340 * misc/utimes.c: Likewise.
56341 * misc/vhangup.c: Likewise.
56342 * misc/writev.c: Likewise.
56343 * posix/_exit.c: Likewise.
56344 * posix/alarm.c: Likewise.
56345 * posix/execve.c: Likewise.
56346 * posix/fexecve.c: Likewise.
56347 * posix/fork.c: Likewise.
56348 * posix/fpathconf.c: Likewise.
56349 * posix/getaddrinfo.c: Likewise.
56350 * posix/getegid.c: Likewise.
56351 * posix/geteuid.c: Likewise.
56352 * posix/getgid.c: Likewise.
56353 * posix/getgroups.c: Likewise.
56354 * posix/getlogin.c: Likewise.
56355 * posix/getlogin_r.c: Likewise.
56356 * posix/getpgid.c: Likewise.
56357 * posix/getpid.c: Likewise.
56358 * posix/getppid.c: Likewise.
56359 * posix/getresgid.c: Likewise.
56360 * posix/getresuid.c: Likewise.
56361 * posix/getsid.c: Likewise.
56362 * posix/getuid.c: Likewise.
56363 * posix/glob64.c: Likewise.
56364 * posix/nanosleep.c: Likewise.
56365 * posix/pathconf.c: Likewise.
56366 * posix/pause.c: Likewise.
56367 * posix/posix_madvise.c: Likewise.
56368 * posix/pread.c: Likewise.
56369 * posix/pread64.c: Likewise.
56370 * posix/pwrite.c: Likewise.
56371 * posix/pwrite64.c: Likewise.
56372 * posix/sched_getaffinity.c: Likewise.
56373 * posix/sched_getp.c: Likewise.
56374 * posix/sched_gets.c: Likewise.
56375 * posix/sched_primax.c: Likewise.
56376 * posix/sched_primin.c: Likewise.
56377 * posix/sched_rr_gi.c: Likewise.
56378 * posix/sched_setaffinity.c: Likewise.
56379 * posix/sched_setp.c: Likewise.
56380 * posix/sched_sets.c: Likewise.
56381 * posix/sched_yield.c: Likewise.
56382 * posix/setgid.c: Likewise.
56383 * posix/setlogin.c: Likewise.
56384 * posix/setpgid.c: Likewise.
56385 * posix/setresgid.c: Likewise.
56386 * posix/setresuid.c: Likewise.
56387 * posix/setsid.c: Likewise.
56388 * posix/setuid.c: Likewise.
56389 * posix/sleep.c: Likewise.
56390 * posix/spawni.c: Likewise.
56391 * posix/sysconf.c: Likewise.
56392 * posix/times.c: Likewise.
56393 * posix/wait.c: Likewise.
56394 * posix/wait3.c: Likewise.
56395 * posix/wait4.c: Likewise.
56396 * posix/waitpid.c: Likewise.
56397 * resolv/gai_sigqueue.c: Likewise.
56398 * resource/getpriority.c: Likewise.
56399 * resource/getrlimit.c: Likewise.
56400 * resource/getrusage.c: Likewise.
56401 * resource/nice.c: Likewise.
56402 * resource/setpriority.c: Likewise.
56403 * resource/setrlimit.c: Likewise.
56404 * resource/ulimit.c: Likewise.
56405 * rt/aio_cancel.c: Likewise.
56406 * rt/aio_fsync.c: Likewise.
56407 * rt/aio_read.c: Likewise.
56408 * rt/aio_sigqueue.c: Likewise.
56409 * rt/aio_suspend.c: Likewise.
56410 * rt/aio_write.c: Likewise.
56411 * rt/clock_getres.c: Likewise.
56412 * rt/clock_gettime.c: Likewise.
56413 * rt/clock_nanosleep.c: Likewise.
56414 * rt/clock_settime.c: Likewise.
56415 * rt/lio_listio.c: Likewise.
56416 * rt/mq_close.c: Likewise.
56417 * rt/mq_getattr.c: Likewise.
56418 * rt/mq_notify.c: Likewise.
56419 * rt/mq_open.c: Likewise.
56420 * rt/mq_receive.c: Likewise.
56421 * rt/mq_send.c: Likewise.
56422 * rt/mq_setattr.c: Likewise.
56423 * rt/mq_timedreceive.c: Likewise.
56424 * rt/mq_timedsend.c: Likewise.
56425 * rt/mq_unlink.c: Likewise.
56426 * rt/shm_open.c: Likewise.
56427 * rt/shm_unlink.c: Likewise.
56428 * rt/timer_create.c: Likewise.
56429 * rt/timer_delete.c: Likewise.
56430 * rt/timer_getoverr.c: Likewise.
56431 * rt/timer_gettime.c: Likewise.
56432 * rt/timer_settime.c: Likewise.
56433 * setjmp/__longjmp.c: Likewise.
56434 * setjmp/setjmp.c: Likewise.
56435 * signal/kill.c: Likewise.
56436 * signal/killpg.c: Likewise.
56437 * signal/raise.c: Likewise.
56438 * signal/sigaction.c: Likewise.
56439 * signal/sigaltstack.c: Likewise.
56440 * signal/sigblock.c: Likewise.
56441 * signal/sigignore.c: Likewise.
56442 * signal/sigintr.c: Likewise.
56443 * signal/signal.c: Likewise.
56444 * signal/sigpause.c: Likewise.
56445 * signal/sigpending.c: Likewise.
56446 * signal/sigqueue.c: Likewise.
56447 * signal/sigreturn.c: Likewise.
56448 * signal/sigset.c: Likewise.
56449 * signal/sigsetmask.c: Likewise.
56450 * signal/sigstack.c: Likewise.
56451 * signal/sigsuspend.c: Likewise.
56452 * signal/sigtimedwait.c: Likewise.
56453 * signal/sigvec.c: Likewise.
56454 * signal/sigwait.c: Likewise.
56455 * signal/sigwaitinfo.c: Likewise.
56456 * signal/sysv_signal.c: Likewise.
56457 * socket/accept.c: Likewise.
56458 * socket/accept4.c: Likewise.
56459 * socket/bind.c: Likewise.
56460 * socket/connect.c: Likewise.
56461 * socket/getpeername.c: Likewise.
56462 * socket/getsockname.c: Likewise.
56463 * socket/getsockopt.c: Likewise.
56464 * socket/isfdtype.c: Likewise.
56465 * socket/listen.c: Likewise.
56466 * socket/recv.c: Likewise.
56467 * socket/recvfrom.c: Likewise.
56468 * socket/recvmsg.c: Likewise.
56469 * socket/send.c: Likewise.
56470 * socket/sendmsg.c: Likewise.
56471 * socket/sendto.c: Likewise.
56472 * socket/setsockopt.c: Likewise.
56473 * socket/shutdown.c: Likewise.
56474 * socket/sockatmark.c: Likewise.
56475 * socket/socket.c: Likewise.
56476 * socket/socketpair.c: Likewise.
56477 * stdio-common/ctermid.c: Likewise.
56478 * stdio-common/cuserid.c: Likewise.
56479 * stdio-common/remove.c: Likewise.
56480 * stdio-common/rename.c: Likewise.
56481 * stdio-common/renameat.c: Likewise.
56482 * stdio-common/tempname.c: Likewise.
56483 * stdlib/getcontext.c: Likewise.
56484 * stdlib/makecontext.c: Likewise.
56485 * stdlib/setcontext.c: Likewise.
56486 * stdlib/swapcontext.c: Likewise.
56487 * stdlib/system.c: Likewise.
56488 * streams/fattach.c: Likewise.
56489 * streams/fdetach.c: Likewise.
56490 * streams/getmsg.c: Likewise.
56491 * streams/getpmsg.c: Likewise.
56492 * streams/putmsg.c: Likewise.
56493 * streams/putpmsg.c: Likewise.
56494 * sysdeps/unix/bsd/getpt.c: Likewise.
56495 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56496 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56497 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56499 Likewise.
56500 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56501 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56502 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56503 * sysvipc/msgctl.c: Likewise.
56504 * sysvipc/msgget.c: Likewise.
56505 * sysvipc/msgrcv.c: Likewise.
56506 * sysvipc/msgsnd.c: Likewise.
56507 * sysvipc/semctl.c: Likewise.
56508 * sysvipc/semget.c: Likewise.
56509 * sysvipc/semop.c: Likewise.
56510 * sysvipc/semtimedop.c: Likewise.
56511 * sysvipc/shmat.c: Likewise.
56512 * sysvipc/shmctl.c: Likewise.
56513 * sysvipc/shmdt.c: Likewise.
56514 * sysvipc/shmget.c: Likewise.
56515 * termios/tcdrain.c: Likewise.
56516 * termios/tcflow.c: Likewise.
56517 * termios/tcflush.c: Likewise.
56518 * termios/tcgetattr.c: Likewise.
56519 * termios/tcgetpgrp.c: Likewise.
56520 * termios/tcsendbrk.c: Likewise.
56521 * termios/tcsetattr.c: Likewise.
56522 * termios/tcsetpgrp.c: Likewise.
56523 * time/adjtime.c: Likewise.
56524 * time/clock.c: Likewise.
56525 * time/getitimer.c: Likewise.
56526 * time/gettimeofday.c: Likewise.
56527 * time/setitimer.c: Likewise.
56528 * time/settimeofday.c: Likewise.
56529 * time/stime.c: Likewise.
56530 * time/time.c: Likewise.
56531
56532 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
56533
56534 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56535 /usr/old/bin.
56536
56537 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56538 instead of spaces.
56539 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56540
56541 2012-11-03 Joseph Myers <joseph@codesourcery.com>
56542
56543 [BZ #14796]
56544 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56545 FE_TONEAREST before applying Dekker multiplication and Knuth
56546 addition. Clear inexact exceptions and check for exact zero
56547 results afterwards.
56548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56549 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56550 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56551 * math/libm-test.inc (fma_test): Add more tests.
56552 (fma_test_towardzero): Likewise.
56553 (fma_test_downward): Likewise.
56554 (fma_test_upward): Likewise.
56555 * sysdeps/generic/math_private.h (default_libc_fesetround): New
56556 function.
56557 (libc_fesetround): New macro.
56558 (libc_fesetroundf): Likewise.
56559 (libc_fesetroundl): Likewise.
56560 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56561 function.
56562 (libc_fesetround_387): Likewise.
56563 (libc_fesetroundf): New macro.
56564 (libc_fesetround): Likewise.
56565 (libc_fesetroundl): Likewise.
56566 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56567 function.
56568 (libc_fesetroundf): New macro.
56569 (libc_fesetround): Likewise.
56570 (libc_fesetroundl): Likewise.
56571 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56572 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56573 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56574 libm_hidden_ver.
56575 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56576 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56577 libm_hidden_def.
56578 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56579 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56580 libm_hidden_ver.
56581 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56582 libm_hidden_def.
56583
56584 [BZ #3439]
56585 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56586 integer constant usable in #if and use that to give value to enum
56587 constant.
56588 (FE_DIVBYZERO): Likewise.
56589 (FE_UNDERFLOW): Likewise.
56590 (FE_OVERFLOW): Likewise.
56591 (FE_INVALID): Likewise.
56592 (FE_INVALID_SNAN): Likewise.
56593 (FE_INVALID_ISI): Likewise.
56594 (FE_INVALID_IDI): Likewise.
56595 (FE_INVALID_ZDZ): Likewise.
56596 (FE_INVALID_IMZ): Likewise.
56597 (FE_INVALID_COMPARE): Likewise.
56598 (FE_INVALID_SOFTWARE): Likewise.
56599 (FE_INVALID_SQRT): Likewise.
56600 (FE_INVALID_INTEGER_CONVERSION): Likewise.
56601 (FE_TONEAREST): Likewise.
56602 (FE_TOWARDZERO): Likewise.
56603 (FE_UPWARD): Likewise.
56604 (FE_DOWNWARD): Likewise.
56605 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56606 (FE_DIVBYZERO): Likewise.
56607 (FE_OVERFLOW): Likewise.
56608 (FE_UNDERFLOW): Likewise.
56609 (FE_INEXACT): Likewise.
56610 (FE_TONEAREST): Likewise.
56611 (FE_DOWNWARD): Likewise.
56612 (FE_UPWARD): Likewise.
56613 (FE_TOWARDZERO): Likewise.
56614 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56615 (FE_UNDERFLOW): Likewise.
56616 (FE_OVERFLOW): Likewise.
56617 (FE_DIVBYZERO): Likewise.
56618 (FE_INVALID): Likewise.
56619 (FE_TONEAREST): Likewise.
56620 (FE_TOWARDZERO): Likewise.
56621 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56622 (FE_OVERFLOW): Likewise.
56623 (FE_UNDERFLOW): Likewise.
56624 (FE_DIVBYZERO): Likewise.
56625 (FE_INEXACT): Likewise.
56626 (FE_TONEAREST): Likewise.
56627 (FE_TOWARDZERO): Likewise.
56628 (FE_UPWARD): Likewise.
56629 (FE_DOWNWARD): Likewise.
56630 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56631 (FE_DIVBYZERO): Likewise.
56632 (FE_OVERFLOW): Likewise.
56633 (FE_UNDERFLOW): Likewise.
56634 (FE_INEXACT): Likewise.
56635 (FE_TONEAREST): Likewise.
56636 (FE_DOWNWARD): Likewise.
56637 (FE_UPWARD): Likewise.
56638 (FE_TOWARDZERO): Likewise.
56639
56640 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
56641
56642 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56643
56644 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
56645
56646 * scripts/cross-test-ssh.sh (command): Use newlines to separate
56647 commands. Quote $PWD.
56648 (blacklist_exports): Don't use remove_newlines. Replace "declare
56649 -x" by "export".
56650 (remove_newlines): Remove.
56651
56652 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
56653
56654 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56655 * stdlib/stdlib.h (atof): Moved to ...
56656 * include/bits/stdlib-float.h: Here. New file.
56657 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56658 * stdlib/bits/stdlib-float.h: New file.
56659 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56660 -mno-sse -mno-mmx.
56661 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56662 <xmmintrin.h>.
56663
56664 2012-11-02 Joseph Myers <joseph@codesourcery.com>
56665
56666 * conform/conformtest.pl (@headers): Add fenv.h.
56667 * conform/data/fenv.h-data: New file.
56668 * include/fenv.h [_ISOMAC]: Disable all contents of file except
56669 include of <math/fenv.h>.
56670
56671 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56672 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56673 && !UNIX98]. Enables tests for XOPEN2K8.
56674 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56675 POSIX2008]: Likewise.
56676
56677 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56678 (struct rusage): Do not expect type or its members.
56679
56680 [BZ #3439]
56681 * math/math.h (FP_NAN): Define macro to integer constant usable in
56682 #if and use that to give value to enum constant.
56683 (FP_INFINITE): Likewise.
56684 (FP_ZERO): Likewise.
56685 (FP_SUBNORMAL): Likewise.
56686 (FP_NORMAL): Likewise.
56687
56688 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
56689
56690 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56691 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56692 arguments.
56693
56694 2012-11-02 Roland McGrath <roland@hack.frob.com>
56695
56696 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56697 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56698 autoconf-time if not.
56699 * configure.in: Remove AC_PREREQ.
56700
56701 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56702
56703 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56704 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56705 of the internal implementation.
56706
56707 2012-11-02 Joseph Myers <joseph@codesourcery.com>
56708
56709 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56710 except include of <misc/sys/syslog.h>.
56711
56712 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
56713
56714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56715 function returns with a NULL context exit with zero.
56716
56717 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56718
56719 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56720
56721 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
56722
56723 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56724 (run_program_cmd): This.
56725 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56726 (tst_langinfo): New variable. Use it.
56727
56728 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
56729
56730 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56731 floating point opcodes.
56732
56733 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
56734
56735 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56736 variable.
56737
56738 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56739
56740 * sysdeps/mach/hurd/powerpc: Remove directory.
56741 * sysdeps/mach/powerpc: Likewise.
56742
56743 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
56744
56745 * scripts/check-local-headers.sh: Ignore c++ headers.
56746
56747 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
56748
56749 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56750 __libc_cleanup_region_start argument.
56751
56752 2012-11-01 Joseph Myers <joseph@codesourcery.com>
56753
56754 [BZ #14784]
56755 [BZ #14785]
56756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56757 x * y using scaling, not as x * y + z.
56758 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56759 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56760 * math/libm-test.inc (fma_test): Add more tests.
56761 (fma_test_towardzero): Likewise.
56762 (fma_test_downward): Likewise.
56763 (fma_test_upward): Likewise.
56764
56765 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
56766
56767 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56768
56769 2012-10-31 Joseph Myers <joseph@codesourcery.com>
56770
56771 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56772 New variable.
56773
56774 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
56775
56776 * rt/tst-shm.c (worker): Correct checking for mmap failure.
56777
56778 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
56779
56780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56781 Fix sort order.
56782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56783 Likewise.
56784
56785 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56786
56787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56788 Fix the order of the list for glibc 2.17.
56789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56790 Likewise.
56791
56792 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
56793
56794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56795
56796 2012-10-31 Joseph Myers <joseph@codesourcery.com>
56797
56798 [BZ #14610]
56799 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56800 for low part of x being zero before using __atanl (y).
56801 * math/libm-test.inc (atan2_test): Add another test.
56802
56803 * manual/install.texi (Configuring and compiling): Document
56804 general use of test-wrapper and test-wrapper-env.
56805 * INSTALL: Regenerated.
56806
56807 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56808 (__fma): Do not extract and scale down low bits on after-rounding
56809 systems when result rounded to normal precision would have normal
56810 exponent.
56811 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56812 (__fmal): Do not extract and scale down low bits on after-rounding
56813 systems when result rounded to normal precision would have normal
56814 exponent.
56815 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56816 (__fmal): Do not extract and scale down low bits on after-rounding
56817 systems when result rounded to normal precision would have normal
56818 exponent.
56819 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56820 macro.
56821 (fma_test): Add more tests.
56822 (fma_test_towardzero): Likewise.
56823 (fma_test_downward): Likewise.
56824 (fma_test_upward): Likewise.
56825
56826 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
56827
56828 * sysdeps/i386/tininess.h: Renamed to ...
56829 * sysdeps/x86/tininess.h: This.
56830 * sysdeps/x86_64/tininess.h: Removed.
56831
56832 2012-10-30 Joseph Myers <joseph@codesourcery.com>
56833
56834 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56835 input. Use $(build-program-cmd).
56836 ($(objpfx)tst-array1-static.out): Likewise.
56837 ($(objpfx)tst-array2.out): Likewise.
56838 ($(objpfx)tst-array3.out): Likewise.
56839 ($(objpfx)tst-array4.out): Likewise.
56840 ($(objpfx)tst-array5.out): Likewise.
56841 ($(objpfx)tst-array5-static.out): Likewise.
56842
56843 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
56844
56845 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56846 if defined.
56847
56848 * nss/nsswitch.h (nss_interface_function): Provide new
56849 macro for use with NSS functions.
56850 * grp/initgroups.c: Use new macro.
56851 * nss/getXXbyYY.c: Likewise.
56852 * nss/getXXbyYY_r.c: Likewise.
56853 * nss/getXXent.c: Likewise.
56854 * nss/getXXent_r.c: Likewise.
56855 * sysdeps/posix/getaddrinfo.c: Likewise.
56856
56857 2012-10-30 Andreas Jaeger <aj@suse.de>
56858
56859 * po/ru.po: Update Russion translation from translation project.
56860
56861 2012-10-30 Joseph Myers <joseph@codesourcery.com>
56862
56863 [BZ #14152]
56864 [BZ #14783]
56865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56866 result and shift together with sticky bit instead of replicating
56867 round-to-nearest rounding.
56868 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56869 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56870 * math/libm-test.inc (fma_test): Add more tests. Do not permit
56871 missing underflow exceptions.
56872 (fma_test_towardzero): Add more tests.
56873 (fma_test_downward): Likewise.
56874 (fma_test_upward): Likewise.
56875
56876 [BZ #14047]
56877 * sysdeps/generic/tininess.h: New file.
56878 * sysdeps/i386/tininess.h: Likewise.
56879 * sysdeps/sh/tininess.h: Likewise.
56880 * sysdeps/x86_64/tininess.h: Likewise.
56881 * stdlib/tst-strtod-underflow.c: Likewise.
56882 * stdlib/tst-tininess.c: Likewise.
56883 * stdlib/strtod_l.c: Include <tininess.h>.
56884 (round_and_return): Do not set errno for exact underflow cases.
56885 Force an underflow exception when setting errno for underflow.
56886 Determine underflow based on rounding to normal precision if
56887 TININESS_AFTER_ROUNDING.
56888 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56889 ERANGE for exact underflow cases.
56890 * stdlib/Makefile (tests): Add tst-tininess and
56891 tst-strtod-underflow.
56892 ($(objpfx)tst-tininess): Use $(link-libm).
56893 ($(objpfx)tst-strtod-underflow): Likewise.
56894
56895 2012-10-30 Andreas Jaeger <aj@suse.de>
56896
56897 [BZ#14767]
56898 * elf/Makefile (tests): Remove conditional for have-initfini-array
56899 since this is now always required and the variable does not exist
56900 anymore.
56901 (tests-static): Likewise.
56902 (modules-names): Likewise.
56903
56904 * po/eo.po: Add Esperanto translation from translation project.
56905
56906 * elf/tst-array1.c (fini_array): Make writeable so that it can be
56907 merged with constructor/destructor.
56908 (init_array): Likewise.
56909 * elf/tst-array2dep.c (fini_array): Likewise.
56910 (init_array): Likewise.
56911
56912 2012-10-29 Mike Frysinger <vapier@gentoo.org>
56913
56914 * manual/message.texi: Delete @cartouche tags.
56915
56916 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
56917
56918 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56919 EOPNOTSUPP.
56920 * sysdeps/mach/hurd/fsync.c: Likewise.
56921
56922 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56923 [_POSIX_REALTIME_SIGNALS]: Change condition to
56924 [_POSIX_REALTIME_SIGNALS > 0].
56925
56926 2012-10-27 Andreas Jaeger <aj@suse.de>
56927
56928 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56929 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56930 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56931 [__WORDSIZE != 64]: Likewise.
56932
56933 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
56934
56935 * iconvdata/tst-table.sh: Remove ${SHELL}.
56936 * iconvdata/tst-tables.sh: Likewise.
56937
56938 2012-10-25 David S. Miller <davem@davemloft.net>
56939
56940 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56941 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56942 of strtoull.
56943
56944 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56945 ifunc-impl-list.c
56946 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56947 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56948 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56949 file.
56950
56951 2012-10-25 Roland McGrath <roland@hack.frob.com>
56952
56953 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56954 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56955 __getdirentries.
56956
56957 2012-10-25 Joseph Myers <joseph@codesourcery.com>
56958 Jim Blandy <jimb@codesourcery.com>
56959
56960 * scripts/cross-test-ssh.sh: New file.
56961 * manual/install.texi (Configuring and compiling): Document use of
56962 cross-test-ssh.sh.
56963 * INSTALL: Regenerated.
56964
56965 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
56966
56967 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56968 EOPNOTSUPP.
56969
56970 2012-10-25 Joseph Myers <joseph@codesourcery.com>
56971
56972 * Makeconfig (run-program-prefix): Fix comment.
56973
56974 2012-10-24 Joseph Myers <joseph@codesourcery.com>
56975 Jim Blandy <jimb@codesourcery.com>
56976
56977 * Makeconfig (test-wrapper): New variable,
56978 (test-wrapper-env): Likewise.
56979 [$(cross-compiling) = yes && $(test-wrapper) != ""]
56980 (run-built-tests): Define to yes.
56981 (run-program-prefix): Use $(test-wrapper).
56982 (built-program-cmd): Likewise.
56983 * Rules (make-test-out): Use $(test-wrapper-env) and
56984 $(host-built-program-cmd).
56985 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56986 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56987 tst-pathopt.sh.
56988 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56989 $(test-wrapper-env) to tst-rtld-load-self.sh.
56990 ($(objpfx)order2.out): Use $(test-wrapper).
56991 ($(objpfx)tst-initorder.out): Likewise.
56992 ($(objpfx)tst-initorder2.out): Likewise.
56993 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56994 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56995 (test_wrapper_env): New variable. Use it to run ld.so.
56996 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56997 Use it to run ld.so.
56998 (test_wrapper_env): Likewise.
56999 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57000 $(test-wrapper) to run-iconv-test.sh.
57001 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57002 (ICONV): Use $test_wrapper.
57003 * posix/Makefile ($(objpfx)globtest.out): Pass
57004 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57005 globtest.sh, not $(run-program-prefix).
57006 * posix/globtest.sh (run_via_rtld_prefix): New variable.
57007 (test_wrapper): Likewise.
57008 (test_wrapper_env): Likewise. Use it to run globtest with HOME
57009 set together with run_via_rtld_prefix.
57010 (run_program_prefix): Define in terms of test_wrapper and
57011 run_via_rtld_prefix.
57012
57013 2012-10-24 Roland McGrath <roland@hack.frob.com>
57014
57015 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
57016 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
57017 Targets removed.
57018
57019 [BZ #14743]
57020 * include/time.h: Remove librt_hidden_proto (clock_gettime).
57021 Declare __clock_getres, __clock_gettime, __clock_settime,
57022 __clock_nanosleep, and __clock_getcpuclockid.
57023 * rt/clock_gettime.c: Define __clock_gettime as an alias.
57024 Remove librt_hidden_def (clock_gettime).
57025 * sysdeps/unix/clock_gettime.c: Likewise.
57026 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
57027 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
57028 * rt/clock_getres.c: Define __clock_getres as an alias.
57029 * sysdeps/posix/clock_getres.c: Likewise.
57030 * rt/clock_settime.c: Define __clock_settime as an alias.
57031 * sysdeps/unix/clock_settime.c: Likewise.
57032 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
57033 * sysdeps/unix/clock_nanosleep.c: Likewise.
57034 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
57035 * rt/clock-compat.c: New file.
57036 * rt/Makefile (librt-routines): Add clock-compat and move
57037 $(clock-routines) to ...
57038 (routines): ... here, new variable.
57039 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
57040 Don't add get_clockfreq here.
57041 * rt/Versions (libc: GLIBC_2.17): New version set.
57042 Add clock_* symbols here.
57043 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
57044 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
57045 (GLIBC_2.17): Add clock_* symbols.
57046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57048 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57050 Likewise.
57051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57052 Likewise.
57053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57057 * NEWS: Mention the move.
57058
57059 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57060 Use __open, __read, __close rather than their public counterparts.
57061 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57062 (__get_clockfreq_via_cpuinfo): Likewise.
57063 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
57064 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
57065
57066 * config.h.in (HAVE_IFUNC): New #undef.
57067 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
57068 was successful.
57069 * configure: Regenerated.
57070
57071 2012-10-24 Mike Frysinger <vapier@gentoo.org>
57072
57073 * configure.in: Move READELF check to start of file.
57074 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
57075 libc_cv_asm_gnu_indirect_function in the process.
57076 * configure: Regenerated.
57077
57078 2012-10-24 Mike Frysinger <vapier@gentoo.org>
57079
57080 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
57081 send the output to /dev/null.
57082 (libc_cv_cc_with_libunwind): Likewise.
57083 (libc_cv_as_noexecstack): Likewise.
57084 * configure: Regenerate.
57085
57086 2012-10-24 Joseph Myers <joseph@codesourcery.com>
57087
57088 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
57089
57090 * posix/globtest.sh (TMPDIR): Do not set.
57091 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
57092 (testout): Likewise.
57093
57094 2012-10-24 Andreas Jaeger <aj@suse.de>
57095
57096 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
57097 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
57098 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
57099 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
57100 posix_fadvise64, posix_fallocate64.
57101
57102 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
57103 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
57104 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
57105 Likewise.
57106 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
57107 Likewise.
57108 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
57109
57110 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
57111 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
57112 <bits/fcntl-linux.h>.
57113 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
57114
57115 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
57116 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
57117 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
57118 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
57119 [__WORDSIZE != 64]: Likewise.
57120
57121 2012-10-23 Joseph Myers <joseph@codesourcery.com>
57122
57123 * Makeconfig (run-built-tests): New variable.
57124 * Rules [$(cross-compiling) = yes]: Change condition to
57125 [$(run-built-tests) = no].
57126 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57127 to [$(run-built-tests) = yes].
57128 * elf/Makefile [$(cross-compiling) = no]: Likewise.
57129 * grp/Makefile [$(cross-compiling) = no]: Likewise.
57130 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57131 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57132 * intl/Makefile [$(cross-compiling) = no]: Likewise.
57133 * io/Makefile [$(cross-compiling) = no]: Likewise.
57134 * libio/Makefile [$(cross-compiling) = no]: Likewise.
57135 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57136 * misc/Makefile [$(cross-compiling) = no]: Likewise.
57137 * posix/Makefile [$(cross-compiling) = no]: Likewise.
57138 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57139 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57140 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57141 * string/Makefile [$(cross-compiling) = no]: Likewise.
57142
57143 * posix/Makefile ($(objpfx)globtest.out): Pass
57144 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57145 $(rtld-installed-name).
57146 * posix/globtest.sh (elf_objpfx): Remove variable.
57147 (rtld_installed_name): Likewise.
57148 (library_path): Likewise.
57149 (run_program_prefix): New variable. Use for running globtest
57150 binary.
57151
57152 2012-10-23 Jim Blandy <jimb@codesourcery.com>
57153 Joseph Myers <joseph@codesourcery.com>
57154
57155 * Makeconfig (host-built-program-cmd): New variable.
57156 * elf/Makefile (tst-stackguard1-ARGS): Use
57157 $(host-built-program-cmd).
57158 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57159 (tst-spawn-ARGS): Likewise.
57160 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57161
57162 2012-10-23 Joseph Myers <joseph@codesourcery.com>
57163 Jim Blandy <jimb@codesourcery.com>
57164
57165 * Makeconfig (run-via-rtld-prefix): New variable.
57166 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57167 (built-program-cmd): Likewise.
57168
57169 2012-10-22 Andreas Jaeger <aj@suse.de>
57170
57171 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57172 __O_RSYNC if it exists, otherwise to O_SYNC.
57173
57174 2012-10-22 Jim Blandy <jimb@codesourcery.com>
57175 Joseph Myers <joseph@codesourcery.com>
57176
57177 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57178 /dev/null.
57179 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57180 from /dev/null
57181 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57182 /dev/null.
57183
57184 2012-10-22 Andreas Jaeger <aj@suse.de>
57185
57186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57187 Define always.
57188 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57189
57190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57191 bits/fcntl-linux.h.
57192
57193 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57194 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57195
57196 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57197 to __O_LARGEFILE.
57198 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57199 to __O_LARGEFILE.
57200
57201 2012-10-21 Jim Blandy <jimb@codesourcery.com>
57202 Joseph Myers <joseph@codesourcery.com>
57203
57204 * config.make.in (NM): New variable.
57205
57206 2012-10-21 Andreas Jaeger <aj@suse.de>
57207
57208 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57209 definitions and declarations that are provided by
57210 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57211
57212 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
57213
57214 [BZ #14683]
57215 * elf/Makefile (tests-static): Add tst-leaks1-static.
57216 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57217 ($(objpfx)tst-leaks1-static): New rule.
57218 ($(objpfx)tst-leaks1-static-mem): Likewise.
57219 (tst-leaks1-static-ENV): New macro.
57220 * elf/dl-open.c (dl_open_worker): Check the main application
57221 only if SHARED is defined.
57222 * elf/tst-leaks1-static.c: New file.
57223
57224 2012-10-20 Andreas Jaeger <aj@suse.de>
57225
57226 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57227 generic values for Linux.
57228 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57229 and declarations that are provided by <bits/fcntl-linux.h> and
57230 include <bits/fcntl-linux.h>.
57231 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57232 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57233
57234 2012-10-20 Roland McGrath <roland@hack.frob.com>
57235
57236 * io/fcntl.h: Move include of <bits/types.h> to the top and
57237 include it unconditionally.
57238
57239 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
57240
57241 * wcsmbs/Makefile (tests-ifunc): New variable.
57242 (tests): Add $(tests-ifunc).
57243 * wcsmbs/test-wcschr-ifunc.c: New file.
57244 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57245 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57246 * wcsmbs/test-wcslen-ifunc.c: Likewise.
57247 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57248 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57249
57250 * string/Makefile (tests-ifunc): New variable.
57251 (tests): Add $(tests-ifunc).
57252 * string/test-memccpy.c (TEST_NAME): New macro.
57253 * string/test-memchr.c (TEST_NAME): Likewise.
57254 * string/test-memcmp.c (TEST_NAME): Likewise.
57255 * string/test-memcpy.c (TEST_NAME): Likewise.
57256 * string/test-memmem.c (TEST_NAME): Likewise.
57257 * string/test-memmove.c (TEST_NAME): Likewise.
57258 * string/test-memset.c (TEST_NAME): Likewise.
57259 * string/test-rawmemchr.c (TEST_NAME): Likewise.
57260 * string/test-stpcpy.c (TEST_NAME): Likewise.
57261 * string/test-stpncpy.c (TEST_NAME): Likewise.
57262 * string/test-strcasecmp.c (TEST_NAME): Likewise.
57263 * string/test-strcasestr.c (TEST_NAME): Likewise.
57264 * string/test-strcat.c (TEST_NAME): Likewise.
57265 * string/test-strchr.c (TEST_NAME): Likewise.
57266 * string/test-strcmp.c(TEST_NAME): Likewise.
57267 * string/test-strcpy.c (TEST_NAME): Likewise.
57268 * string/test-strcspn.c (TEST_NAME): Likewise.
57269 * string/test-strlen.c (TEST_NAME): Likewise.
57270 * string/test-strncasecmp.c (TEST_NAME): Likewise.
57271 * string/test-strncmp.c (TEST_NAME): Likewise.
57272 * string/test-strncpy.c (TEST_NAME): Likewise.
57273 * string/test-strnlen.c (TEST_NAME): Likewise.
57274 * string/test-strpbrk.c (TEST_NAME): Likewise.
57275 * string/test-strrchr.c (TEST_NAME): Likewise.
57276 * string/test-strspn.c (TEST_NAME): Likewise.
57277 * string/test-strstr.c (TEST_NAME): Likewise.
57278 * string/test-bcopy-ifunc.c: New file.
57279 * string/test-bzero-ifunc.c: Likewise.
57280 * string/test-memccpy-ifunc.c: Likewise.
57281 * string/test-memchr-ifunc.c: Likewise.
57282 * string/test-memcmp-ifunc.c: Likewise.
57283 * string/test-memcpy-ifunc.c: Likewise.
57284 * string/test-memmem-ifunc.c: Likewise.
57285 * string/test-memmove-ifunc.c: Likewise.
57286 * string/test-mempcpy-ifunc.c: Likewise.
57287 * string/test-memset-ifunc.c: Likewise.
57288 * string/test-rawmemchr-ifunc.c: Likewise.
57289 * string/test-stpcpy-ifunc.c: Likewise.
57290 * string/test-stpncpy-ifunc.c: Likewise.
57291 * string/test-strcasecmp-ifunc.c: Likewise.
57292 * string/test-strcasestr-ifunc.c: Likewise.
57293 * string/test-strcat-ifunc.c: Likewise.
57294 * string/test-strchr-ifunc.c: Likewise.
57295 * string/test-strchrnul-ifunc.c: Likewise.
57296 * string/test-strcmp-ifunc.c: Likewise.
57297 * string/test-strcpy-ifunc.c: Likewise.
57298 * string/test-strcspn-ifunc.c: Likewise.
57299 * string/test-strlen-ifunc.c: Likewise.
57300 * string/test-strncasecmp-ifunc.c: Likewise.
57301 * string/test-strncat-ifunc.c: Likewise.
57302 * string/test-strncmp-ifunc.c: Likewise.
57303 * string/test-strncpy-ifunc.c: Likewise.
57304 * string/test-strnlen-ifunc.c: Likewise.
57305 * string/test-strpbrk-ifunc.c: Likewise.
57306 * string/test-strrchr-ifunc.c: Likewise.
57307 * string/test-strspn-ifunc.c: Likewise.
57308 * string/test-strstr-ifunc.c: Likewise.
57309
57310 * debug/Makefile (tests-ifunc): New variable.
57311 (tests): Add $(tests-ifunc).
57312 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
57313 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
57314 * debug/test-stpcpy_chk-ifunc.c: New file.
57315 * debug/test-strcpy_chk-ifunc.c: Likewise.
57316
57317 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
57318
57319 [BZ #13601]
57320 * elf/dl-load.c (open_verify): Retry read if the entire ELF
57321 header is not read in.
57322
57323 2012-10-19 Joseph Myers <joseph@codesourcery.com>
57324
57325 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
57326 script to $(SHELL) as $<. Pass $(common-objpfx) to script
57327 directly. Pass built executable to script as
57328 $(built-program-cmd).
57329 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
57330 $testprogram without using LD_LIBRARY_PATH and $ldso.
57331
57332 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
57333 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
57334 $(rtld-installed-name).
57335 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
57336 (rtld_installed_name): Likewise.
57337 (library_path): Likewise.
57338 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
57339 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
57340 $(run-program-prefix) to tst-tables.sh.
57341 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
57342 it to run tst-table-from and tst-table-to.
57343 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
57344 Pass it to tst-table.sh.
57345 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
57346 $(run-program-prefix) to tst-gettext.sh.
57347 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
57348 tst-translit.sh.
57349 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
57350 tst-gettext2.sh.
57351 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
57352 to run tst-gettext.
57353 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
57354 to run tst-gettext2.
57355 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
57356 to run tst-translit.
57357 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
57358 $(run-program-prefix) to tst-mtrace.sh.
57359 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
57360 to run tst-mtrace.
57361 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
57362 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
57363 $(rtld-installed-name).
57364 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
57365 (rtld_installed_name): Likewise.
57366 (run_program_prefix): New variable. Use it to run wordexp-test.
57367
57368 * Makeconfig (ARCH): Remove all definitions.
57369 (machine): Likewise.
57370 [ARCH]: Remove conditional code.
57371 [!objdir]: Give error.
57372 [!objdir] (objpfx): Remove.
57373 [!objdir] (common-objpfx): Likewise.
57374 [!objdir] (common-objdir): Likewise.
57375 * configure.in (config_makefile): Remove. Hardcode Makefile in
57376 AC_CONFIG_FILES call.
57377 * configure: Regenerated.
57378
57379 [BZ #13888]
57380 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57381 or TMPDIR.
57382 (testout): Likewise.
57383
57384 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57385 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57386 $(rtld-installed-name).
57387 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57388 (rtld_installed_name): Likwise.
57389 (runit): Remove function.
57390 (run_getconf): New variable, Use it for running getconf binary.
57391
57392 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
57393
57394 [BZ #14716]
57395 * string/test-memmem.c (check_result): New function.
57396 (do_one_test): Use it.
57397 (check1): New function.
57398 (test_main): Use it.
57399
57400 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
57401
57402 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57403
57404 2012-10-18 Joseph Myers <joseph@codesourcery.com>
57405
57406 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57407 (_G_LSEEK64): Likewise.
57408 (_G_MMAP64): Likewise.
57409 (_G_FSTAT64): Likewise.
57410 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57411 (_G_LSEEK64): Likewise.
57412 (_G_MMAP64): Likewise.
57413 (_G_FSTAT64): Likewise.
57414 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57415 unconditional. Call __mmap64 directly.
57416 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57417 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
57418 __lseek64 directly.
57419 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57420 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
57421 __mmap64 directly.
57422 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57423 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
57424 __lseek64 directly.
57425 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57426 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
57427 __lseek64 directly.
57428 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57429 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
57430 __lseek64 directly.
57431 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57432 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
57433 __fxstat64 directly.
57434 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57435 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57436 unconditional.
57437 (freopen64) [!_G_OPEN64]: Remove conditional code.
57438 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57439 unconditional.
57440 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57441 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57442 unconditional.
57443 (ftello64) [!_G_LSEEK64]: Remove conditional code.
57444 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57445 unconditional.
57446 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57447 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57448 unconditional.
57449 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57450 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57451 unconditional.
57452 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57453 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57454 unconditional.
57455 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57456 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57457 unconditional.
57458 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57459
57460 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
57461
57462 [BZ #12140]
57463 * manual/memory.texi (Malloc Tunable Parameters): Add note
57464 about free list pointers overwriting some perturb bytes.
57465 Wording suggested by Roland McGrath.
57466
57467 2012-10-17 Joseph Myers <joseph@codesourcery.com>
57468
57469 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57470 (lgamma_test): Likewise.
57471 (tgamma_test): Likewise.
57472
57473 2012-10-16 Florian Weimer <fweimer@redhat.com>
57474
57475 [BZ #14700]
57476 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57477 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57478
57479 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
57480
57481 * NEWS: Mention BZ #14716.
57482 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57483 when removing AVAILABLE1_USES_J macro.
57484
57485 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
57486
57487 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57488 (__bswap_64): __uint64_t for unsigned 64-bit int.
57489
57490 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
57491
57492 * include/string.h (memmem): Declare libc hidden alias.
57493 * string/memmem.c (memmem): Define libc hidden alias.
57494 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57495 __read, __close instead of open, read, close.
57496
57497 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
57498
57499 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57500 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57501 global and hidden.
57502 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57503 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57504 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57505 Likewise.
57506 (__rawmemchr_sse2): Likewise.
57507 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57508 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57509 (__strchr_sse2): Likewise.
57510 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57511 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57512 (__strcasecmp_sse2): Likewise.
57513 (__strncasecmp_sse2): Likewise.
57514 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57515 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57516 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57517 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57518 (__strrchr_sse2): Likewise.
57519 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57520 ifunc-impl-list.c.
57521 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57522 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57523 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57524 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57525 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57526 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57527 * sysdeps/x86_64/multiarch/memset.S: Likewise.
57528 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57529 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57530 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57531 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57532 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57533 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57534 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57535 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57536 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57537 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57538 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57539 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57540 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57541 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57542 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57543 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57544 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57545 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57546 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57547 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57548 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57549 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57550 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57551
57552 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57553 global and hidden.
57554 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57555 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57556 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57557 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57558 Likewise.
57559 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57560 Likewise.
57561 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57562 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57563 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57564 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57565 ifunc-impl-list.c.
57566 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57567 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57568 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57569 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57570 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57571 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57572 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57573 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57574 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57575 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57576 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57577 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57578 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57579 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57580 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57581 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57582 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57583 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57584 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57585 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57586 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57587 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57588 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57589 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57590 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57591 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57592 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57593 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57594 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57595 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57596 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57597 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57598 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57599 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57600 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57601 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57602 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57603 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57604 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57605 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57606 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57607
57608 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57609 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57610 * include/ifunc-impl-list.h: New file.
57611 * misc/ifunc-impl-list.c: Likewise.
57612 * misc/Makefile (routines): Add ifunc-impl-list.
57613 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57614 * string/test-string.h: Include <ifunc-impl-list.h>.
57615 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57616 TEST_NAME]: New variables.
57617 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57618 are defined.
57619 (test_init): Call __libc_ifunc_impl_list to initialize
57620 func_list if TEST_IFUNC and TEST_NAME are defined.
57621
57622 * string/Makefile (strop-tests): Add bcopy and bzero.
57623 * string/test-bcopy.c: New file.
57624 * string/test-bzero.c: Likewise.
57625 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57626 defined.
57627 * string/test-memset.c: Support bzero test if TEST_BZERO is
57628 defined.
57629 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57630 __libc_memmove.
57631 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57632 __libc_memset.
57633 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57634 of memset.
57635
57636 2012-10-10 Joseph Myers <joseph@codesourcery.com>
57637
57638 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57639 * configure: Regenerated.
57640
57641 * Makeconfig (+link-static-before-libc): Don't include
57642 $(link-static-libc).
57643
57644 * libio/libio.h (_IO_pos_t): Remove.
57645
57646 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
57647
57648 * NEWS: Add note about FIPS mode. Wording suggested by Roland
57649 McGrath.
57650
57651 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
57652
57653 * crypt/crypt-entry.c: Include fips-private.h.
57654 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57655 * crypt/md5c-test.c (main): Tolerate disabled MD5.
57656 * sysdeps/unix/sysv/linux/fips-private.h: New file.
57657 * sysdeps/generic/fips-private.h: New file, dummy fallback.
57658
57659 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
57660
57661 * crypt/crypt-private.h: Include stdbool.h.
57662 (_ufc_setup_salt_r): Return bool.
57663 * crypt/crypt-entry.c: Include errno.h.
57664 (__crypt_r): Return NULL with EINVAL for bad salt.
57665 * crypt/crypt_util.c (bad_for_salt): New.
57666 (_ufc_setup_salt_r): Check that salt is long enough and within
57667 the specified alphabet.
57668 * crypt/badsalttest.c: New file.
57669 * crypt/Makefile (tests): Add it.
57670 ($(objpfx)badsalttest): New.
57671
57672 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
57673
57674 * NEWS: Add entry for BZ #14602.
57675
57676 2012-10-09 Joseph Myers <joseph@codesourcery.com>
57677
57678 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57679 type-generic.
57680 * math/libm-test.inc: Update comment listing what functions and
57681 macros are tested.
57682 (isgreater_test): New function.
57683 (isgreaterequal_test): Likewise.
57684 (isless_test): Likewise.
57685 (islessequal_test): Likewise.
57686 (islessgreater_test): Likewise.
57687 (isunordered_test): Likewise.
57688 (main): Call the new functions.
57689
57690 2012-10-09 Roland McGrath <roland@hack.frob.com>
57691
57692 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57693 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57694 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57695 * sysdeps/i386/configure: Regenerated.
57696 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57697 * sysdeps/mach/configure: Regenerated.
57698 * sysdeps/mach/hurd/configure: Regenerated.
57699 * sysdeps/powerpc/configure: Regenerated.
57700 * sysdeps/powerpc/powerpc32/configure: Regenerated.
57701 * sysdeps/powerpc/powerpc64/configure: Regenerated.
57702 * sysdeps/s390/s390-32/configure: Regenerated.
57703 * sysdeps/s390/s390-64/configure: Regenerated.
57704 * sysdeps/sh/configure: Regenerated.
57705 * sysdeps/sparc/configure: Regenerated.
57706 * sysdeps/unix/sysv/linux/configure: Regenerated.
57707 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57708 * sysdeps/x86_64/configure: Regenerated.
57709
57710 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57711 defined. Don't check if MAP is NULL.
57712
57713 2012-10-09 Joseph Myers <joseph@codesourcery.com>
57714
57715 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57716 (_G_stat64): Likewise.
57717 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57718 (_G_stat64): Likewise.
57719 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57720 instead of struct _G_stat64.
57721 * libio/fileops.c (mmap_remap_check): Likewise.
57722 (decide_maybe_mmap): Likewise.
57723 (_IO_new_file_seekoff): Likewise.
57724 (_IO_file_stat): Likewise.
57725 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57726 _G_off64_t.
57727 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57728 instead of struct _G_stat64.
57729 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57730
57731 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
57732
57733 [BZ #14602]
57734 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57735 Replace with ...
57736 (CHECK_EOL): New macro.
57737 (two_way_short_needle): Check beginning of haystack for EOL. Use
57738 CHECK_EOL.
57739 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57740 Replace with CHECK_EOL.
57741 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57742 Replace with CHECK_EOL.
57743
57744 2012-10-08 Joseph Myers <joseph@codesourcery.com>
57745
57746 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57747 type-generic.
57748 * math/libm-test.inc: Update comment listing what functions and
57749 macros are tested.
57750 (finite_test): New function.
57751 (isinf_test): Likewise.
57752 (isnan_test): Likewise.
57753 (fpclassify_test): Test subnormal input.
57754 (isfinite_test): Likewise.
57755 (isnormal_test): Likewise.
57756 (main): Call the new functions.
57757
57758 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
57759
57760 [BZ #14660]
57761 * Makerules (%.dynsym): Force C locale when running
57762 $(OBJDUMP) --dynamic-syms.
57763
57764 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
57765
57766 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57767 <stdint.h>.
57768
57769 2012-10-06 David S. Miller <davem@davemloft.net>
57770
57771 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57772 upper 32-bits of the length value in %o2 since we use branch-on-register
57773 tests which consider the entire 64-bit register.
57774
57775 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
57776
57777 * string/test-strstr.c (check2): Add a test for page boundary.
57778
57779 2012-10-05 David S. Miller <davem@davemloft.net>
57780
57781 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57782 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57783 file.
57784 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57785 sysdep_routines.
57786 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57787 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57788 and bzero when HWCAP_SPARC_CRYPTO is present.
57789
57790 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
57791
57792 [BZ #14602]
57793 * string/test-strstr.c (check2): New function.
57794 (test_main): Call check2.
57795
57796 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57797 and bug-strchr1.
57798 * string/bug-strcasestr1.c (do_test): Moved to ...
57799 * string/test-strcasestr.c (check1): Here. New function.
57800 (do_one_test): Break out result checking code into ...
57801 (check_result): This. New function.
57802 (do_one_test): Call check_result.
57803 (test_main): Call check1.
57804 * string/bug-strchr1.c (do_test): Moved to ...
57805 * string/test-strchr.c (check1): Here. New function.
57806 (do_one_test): Break out result checking code into ...
57807 (check_result): This. New function.
57808 (do_one_test): Call check_result.
57809 (test_main): Call check1.
57810 * string/bug-strstr1.c (main): Moved to ...
57811 * string/test-strstr.c (check1): Here. New function.
57812 (do_one_test): Break out result checking code into ...
57813 (check_result): This. New function.
57814 (do_one_test): Call check_result.
57815 (test_main): Call check1.
57816 * string/bug-strcasestr1.c: Removed.
57817 * string/bug-strchr1.c: Likewise.
57818 * string/bug-strstr1.c: Likewise.
57819
57820 * elf/Makefile (dl-routines): Add hwcaps.
57821 * elf/dl-support.c (_dl_important_hwcaps): Removed.
57822 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57823 (_dl_important_hwcaps): Moved to ...
57824 * elf/dl-hwcaps.c: Here. New file.
57825 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57826
57827 [BZ #14557]
57828 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57829 if IS_IN_rtld isn't defined.
57830
57831 * elf/dl-support.c (_dl_sysinfo_map): New.
57832 Include "get-dynamic-info.h" and "setup-vdso.h".
57833 (_dl_non_dynamic_init): Call setup_vdso.
57834 * elf/dynamic-link.h: Don't include <assert.h>.
57835 (elf_get_dynamic_info): Moved to ...
57836 * elf/get-dynamic-info.h: Here. New file.
57837 * elf/dynamic-link.h: Include "get-dynamic-info.h".
57838 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57839 * elf/setup-vdso.h: Here. New file.
57840 * elf/rtld.c: Include "setup-vdso.h".
57841 (dl_main): Call setup_vdso.
57842
57843 2012-10-05 Joseph Myers <joseph@codesourcery.com>
57844
57845 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57846 creal in comment listing functions tested. List finite, isinf,
57847 isnan, isless, islessequal, isgreater, isgreaterequal,
57848 islessgreater, isunordered, lgamma_r and pow10 as functions and
57849 macros not tested. Mention which functions not tested are aliases
57850 for other functions. Fix typo. Note that signs of NaNs are not
57851 tested.
57852
57853 * scripts/config.guess: Update from config.git.
57854 * scripts/config.sub: Likewise.
57855
57856 2012-10-04 Roland McGrath <roland@hack.frob.com>
57857
57858 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57859 * misc/madvise.c (madvise): Renamed to __madvise.
57860 Make madvise a weak alias.
57861 * include/sys/mman.h: Declare __madvise.
57862 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57863 * sysdeps/unix/syscalls.list
57864 (madvise): Make __madvise the strong name, and madvise a weak alias.
57865 * sysdeps/unix/sysv/linux/syscalls.list
57866 (madvise, mmap): Remove redundant entries.
57867 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57868 * malloc/malloc.c (mtrim): Likewise.
57869 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57870
57871 2012-10-03 Roland McGrath <roland@hack.frob.com>
57872
57873 * sysdeps/mach/hurd/dl-cache.c: File removed.
57874 * config.h.in (USE_LDCONFIG): New #undef.
57875 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57876 * configure: Regenerated.
57877 * elf/Makefile (dl-routines): Add dl-cache only under
57878 [$(use-ldconfig) = yes].
57879 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57880 cache on [USE_LDCONFIG].
57881 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57882 [USE_LDCONFIG].
57883 * elf/rtld.c (dl_main): Likewise.
57884
57885 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
57886
57887 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57888 _SC_LEVEL4_CACHE_LINESIZE.
57889
57890 2012-10-03 Roland McGrath <roland@hack.frob.com>
57891
57892 * sysdeps/unix/bsd/confstr.h: File removed.
57893
57894 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
57895
57896 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57897 sys/sdt-config.h.
57898
57899 2012-10-02 Roland McGrath <roland@hack.frob.com>
57900
57901 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57902 Make 'mapoff' field ElfW(Off) rather than off_t.
57903
57904 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
57905
57906 * nscd/Makefile: Remove nscd-cflags and all its users.
57907 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57908 (CFLAGS-nonlib): Add compiler flags for nscd modules.
57909
57910 [BZ #10631]
57911 * malloc.c (malloc_printerr): Clarify error message.
57912
57913 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
57914
57915 [BZ #14648]
57916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57917 Set bit_FMA_Usable if FMA is supported.
57918 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57919 macro.
57920 (bit_FMA4_Usable): Updated.
57921 (index_FMA_Usable): New macro.
57922 (CPUID_FMA): Likewise.
57923 (HAS_FMA): Defined with bit_FMA_Usable.
57924
57925 2012-10-01 Roland McGrath <roland@hack.frob.com>
57926
57927 * bits/types.h (__swblk_t): Type removed.
57928 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57929 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57930 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57931 (__SWBLK_T_TYPE): Likewise.
57932 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57933 (__SWBLK_T_TYPE): Likewise.
57934 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57935 (__SWBLK_T_TYPE): Likewise.
57936 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57937 (__SWBLK_T_TYPE): Likewise.
57938
57939 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
57940 Honza Horak <hhorak@redhat.com>
57941
57942 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57943 (xdr_mapname): Use YPMAXMAP as maxsize.
57944 (xdr_peername): Use YPMAXPEER as maxsize.
57945 (xdr_keydat): Use YPAXRECORD as maxsize.
57946 (xdr_valdat): Use YPMAXRECORD as maxsize.
57947
57948 2012-10-01 Roland McGrath <roland@hack.frob.com>
57949
57950 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57951
57952 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57953 * csu/init-first.c: ... here.
57954 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57955 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57956 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57957 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57958 * sysdeps/i386/init-first.c: File removed.
57959 * sysdeps/sh/init-first.c: File removed.
57960
57961 2012-10-01 Joseph Myers <joseph@codesourcery.com>
57962
57963 [BZ #14645]
57964 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57965 if x * y might underflow to zero and z is zero.
57966 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57967 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57968 * math/libm-test.inc (min_subnorm_value): New variable.
57969 (fma_test): Add more tests.
57970 (fma_test_towardzero): Likewise.
57971 (fma_test_downward): Likewise.
57972 (fma_test_upward): Likewise.
57973 (initialize): Set min_subnorm_value.
57974
57975 2012-09-29 Joseph Myers <joseph@codesourcery.com>
57976
57977 [BZ #14638]
57978 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57979 0 + 0.
57980 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57981 mode for addition resulting in exact zero.
57982 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57983 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57984 exact 0 + 0.
57985 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57986 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57987 * math/libm-test.inc (fma_test): Add more tests.
57988 (fma_test_towardzero): New function.
57989 (fma_test_downward): Likewise.
57990 (fma_test_upward): Likewise.
57991 (main): Call the new functions.
57992
57993 2012-09-28 David S. Miller <davem@davemloft.net>
57994
57995 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57996
57997 2012-09-28 Roland McGrath <roland@hack.frob.com>
57998
57999 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58000 instead of SIGALRM.
58001
58002 * sysdeps/gnu/_G_config.h: Moved to ...
58003 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58004 * sysdeps/mach/hurd/_G_config.h: Moved to ...
58005 * sysdeps/generic/_G_config.h: ... here.
58006
58007 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
58008
58009 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58010
58011 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58012 Conditionalize target on [libnss_test1.so-version].
58013
58014 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
58015
58016 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
58017 (elfobjdir): Move out of conditionals.
58018
58019 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
58020 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
58021 (__nss_lookup_function): Conditionalize label remove_from_tree on
58022 [!DO_STATIC_NSS || SHARED], matching its only use.
58023
58024 2012-09-28 David S. Miller <davem@davemloft.net>
58025
58026 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
58027 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
58028 file.
58029 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58030 sysdep_routines.
58031 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58032 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
58033 when HWCAP_SPARC_CRYPTO is present.
58034
58035 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
58036
58037 * io/tst-mknodat.c: Create a FIFO instead of a socket.
58038
58039 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
58040
58041 [BZ #6530]
58042 * stdio-common/vfprintf.c (process_string_arg): Revert
58043 2000-07-22 change.
58044
58045 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
58046
58047 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
58048 for testcase.
58049 * stdio-common/tst-sprintf.c: Include <locale.h>
58050 (main): Test sprintf's handling of incomplete multibyte
58051 characters.
58052
58053 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
58054
58055 * elf/dl-runtime.c (VERSYMIDX): Removed.
58056 * elf/dl-version.c (VERSYMIDX): Likewise.
58057 * elf/do-rel.h (VERSYMIDX): Likewise.
58058 (VALIDX): Likewise.
58059 * elf/dynamic-link.h (VERSYMIDX): Likewise.
58060 * elf/rtld.c (VALIDX): Likewise.
58061 (ADDRIDX): Likewise.
58062 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
58063 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
58064 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
58065 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
58066 (VALIDX): Likewise.
58067 (ADDRIDX): Likewise.
58068
58069 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
58070
58071 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
58072
58073 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
58074
58075 [BZ #11438]
58076 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
58077 to global scope.
58078 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
58079 addresses are in the same scope as 192.0.2/24.
58080 * posix/gai.conf: Document new scope table defaults.
58081
58082 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58083
58084 [BZ #5298]
58085 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
58086 for ftell. Compute offsets from write pointers instead.
58087 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58088
58089 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58090
58091 [BZ #14543]
58092 * libio/Makefile (tests): New test case tst-fseek.
58093 * libio/tst-fseek.c: New test case to verify that fseek/ftell
58094 combination works in wide mode.
58095 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58096 state when the external buffer state changes.
58097
58098 2012-09-27 David S. Miller <davem@davemloft.net>
58099
58100 [BZ #14376]
58101 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
58102 pass reloc->r_addend in as the 'high' argument to
58103 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
58104
58105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58106
58107 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
58108
58109 * rt/tst-aio2.c: Include <pthread.h>.
58110 * rt/tst-aio3.c: Likewise.
58111
58112 2012-09-27 Steve Ellcey <sellcey@mips.com>
58113
58114 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
58115
58116 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
58117
58118 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
58119 contents on [SHARED].
58120
58121 2012-09-26 Marek Polacek <polacek@redhat.com>
58122
58123 [BZ #14530]
58124 [BZ #13741]
58125 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58126 for C++ and GCC <4.3 as well as for non GCC compilers.
58127
58128 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
58129
58130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58131
58132 2012-09-25 Roland McGrath <roland@hack.frob.com>
58133
58134 * Makefile.in (all, install): Declare with .PHONY.
58135 Reported by Michael Hope <michael.hope@linaro.org>.
58136
58137 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58138
58139 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58140 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58141 system header.
58142 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58143 Likewise.
58144 (sydep_routines): Add the new and the internal functions.
58145 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58146 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58148 (GLIBC_2.17): Add the new function.
58149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58150 (GLIBC_2.17): Likewise.
58151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58152 (GLIBC_2.17): Likewise.
58153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58154 (GLIBC_2.17): Likewise.
58155 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58156
58157 2012-09-25 Alan Modra <amodra@gmail.com>
58158
58159 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58160 Add release barrier before setting once_control to say
58161 initialisation is done. Add hints on lwarx. Use macro in
58162 place of isync.
58163 (clear_once_control): Add release barrier.
58164
58165 2012-09-25 Joseph Myers <joseph@codesourcery.com>
58166
58167 [BZ #13629]
58168 * math/s_clog.c (__clog): Handle more values close to |z| = 1
58169 specially.
58170 * math/s_clog10.c (__clog10): Likewise.
58171 * math/s_clog10f.c (__clog10f): Likewise.
58172 * math/s_clog10l.c (__clog10l): Likewise.
58173 * math/s_clogf.c (__clogf): Likewise.
58174 * math/s_clogl.c (__clogl): Likewise.
58175 * math/Makefile (libm-calls): Add x2y2m1.
58176 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58177 (__x2y2m1): Likewise.
58178 (__x2y2m1l): Likewise.
58179 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58180 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58181 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58182 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58183 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58184 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58185 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58186 * sysdeps/i386/fpu/libm-test-ulps: Update.
58187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58188
58189 [BZ #14621]
58190 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58191 int as type of variable DEPTH.
58192 (glob): Use size_t instead of int as type of variables NEWCOUNT
58193 and OLD_PATHC.
58194
58195 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58196
58197 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58198 Add s_sincosf-sse2.
58199 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58200 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58201 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58202 macros for using routine as __sincosf_ia32.
58203 Use macro for function declaration and weak_alias.
58204 * sysdeps/i386/fpu/libm-test-ulps: Update.
58205
58206 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58208
58209 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58210 subnormal argument.
58211 * math/s_cexpf.c (__cexpf): Likewise.
58212 * math/s_csinf.c (__csinf): Likewise.
58213 * math/s_csinhf.c (__csinhf): Likewise.
58214 * math/s_ctanf.c (__ctanf): Likewise.
58215 * math/s_ctanhf.c (__ctanhf): Likewise.
58216 * math/s_ccosh.c (__ccoshf): Likewise.
58217 * math/s_cexp.c (__cexpl): Likewise.
58218 * math/s_csin.c (__csin): Likewise.
58219 * math/s_csinh.c (__csinh): Likewise.
58220 * math/s_ctan.c (__ctan): Likewise.
58221 * math/s_ctanh.c (ctanh): Likewise.
58222 * math/s_ccoshl.c (__ccoshl): Likewise.
58223 * math/s_cexpl.c (__cexpl): Likewise.
58224 * math/s_csinl.c (__csinl): Likewise.
58225 * math/s_csinhl.c (__csinhl): Likewise.
58226 * math/s_ctanl.c (__ctanl): Likewise.
58227 * math/s_ctanhl.c (__ctanhl): Likewise.
58228
58229 2012-09-25 Joseph Myers <joseph@codesourcery.com>
58230
58231 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58232 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58233 (_IO_off_t): Define to __off_t, not _G_off_t.
58234 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58235 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58236 (_IO_wint_t): Define to wint_t, not _G_wint_t.
58237 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58238 type of __dummy and __dummy2 fields.
58239 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58240 (_G_ssize_t): Likewise.
58241 (_G_off_t): Likewise.
58242 (_G_pid_t): Likewise.
58243 (_G_uid_t): Likewise.
58244 (_G_wchar_t): Likewise.
58245 (_G_wint_t): Likewise.
58246 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58247 (_G_ssize_t): Likewise.
58248 (_G_off_t): Likewise.
58249 (_G_pid_t): Likewise.
58250 (_G_uid_t): Likewise.
58251 (_G_wchar_t): Likewise.
58252 (_G_wint_t): Likewise.
58253 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58254 (_G_ssize_t): Likewise.
58255 (_G_off_t): Likewise.
58256 (_G_pid_t): Likewise.
58257 (_G_uid_t): Likewise.
58258 (_G_wchar_t): Likewise.
58259 (_G_wint_t): Likewise.
58260
58261 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
58262
58263 * malloc/arena.c: Include malloc-sysdep.h.
58264 (shrink_heap): Use check_may_shrink_heap to decide if madvise
58265 is sufficient to shrink the heap or an unmap is needed.
58266 * sysdeps/generic/malloc-sysdep.h: New file. Define
58267 new function check_may_shrink_heap.
58268 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
58269 new function check_may_shrink_heap.
58270
58271 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
58272
58273 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58274 comments.
58275
58276 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
58277
58278 * catgets/test-gencat.sh: Add "set -e".
58279 * elf/tst-pathopt.sh: Likewise.
58280 * grp/tst_fgetgrent.sh: Likewise.
58281 * iconvdata/run-iconv-test.sh: Likewise.
58282 * intl/tst-gettext.sh: Likewise.
58283 * intl/tst-gettext2.sh: Likewise.
58284 * intl/tst-gettext4.sh: Likewise.
58285 * intl/tst-gettext6.sh: Likewise.
58286 * intl/tst-translit.sh: Likewise.
58287 * io/ftwtest-sh: Likewise.
58288 * libio/test-freopen.sh: Likewise.
58289 * malloc/tst-mtrace.sh: Likewise.
58290 * posix/globtest.sh: Likewise.
58291 * posix/tst-getconf.sh: Likewise.
58292 * posix/wordexp-tst.sh: Likewise.
58293 * stdio-common/tst-printf.sh: Likewise.
58294 * stdio-common/tst-unbputc.sh: Likewise.
58295 * stdlib/tst-fmtmsg.sh: Likewise.
58296 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58297 * catgets/Makefile: Do not specify -e option when running
58298 testsuite shell scripts.
58299 * elf/Makefile: Likewise.
58300 * grp/Makefile: Likewise.
58301 * iconvdata/Makefile: Likewise.
58302 * intl/Makefile: Likewise.
58303 * io/Makefile: Likewise.
58304 * libio/Makefile: Likewise.
58305 * malloc/Makefile: Likewise.
58306 * posix/Makefile: Likewise.
58307 * stdio-common/Makefile: Likewise.
58308 * stdlib/Makefile: Likewise.
58309 * sysdeps/x86_64/Makefile: Likewise.
58310
58311 * io/ftwtest-sh: Add copyright header.
58312 * posix/globtest.sh: Likewise.
58313 * posix/tst-getconf.sh: Likewise.
58314 * posix/wordexp-tst.sh: Likewise.
58315 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58316
58317 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
58318
58319 [BZ #13679]
58320 * Makeconfig (+link): Defined as $(+link-static) if
58321 $(build-shared) isn't yes.
58322 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
58323 isn't yes.
58324 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
58325
58326 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
58327
58328 [BZ #14562]
58329 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
58330 new chunk size with MALLOC_ALIGN_MASK.
58331
58332 2012-09-24 Joseph Myers <joseph@codesourcery.com>
58333
58334 [BZ #5044]
58335 * stdio-common/printf_fphex.c: Include <stdbool.h> and
58336 <rounding-mode.h>.
58337 (__printf_fphex): Determine rounding using get_rounding_mode and
58338 round_away.
58339 * stdio-common/tst-printf-round.c (struct hex_test): New
58340 structure.
58341 (hex_tests): New variable.
58342 (test_hex_in_one_mode): New function.
58343 (do_test): Also run tests for hex float output.
58344
58345 2012-09-21 Joseph Myers <joseph@codesourcery.com>
58346
58347 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58348 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58349 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
58350 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58351 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58352 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
58353 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58354 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58355
58356 2012-09-20 Joseph Myers <joseph@codesourcery.com>
58357
58358 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
58359 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
58360 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
58361 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
58362
58363 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
58364
58365 [BZ #14579]
58366 * elf/rtld.c (dl_main): Limit the check for self loading to normal
58367 mode only.
58368 * elf/tst-rtld-load-self.sh: New test.
58369 * elf/Makefile: Run it.
58370
58371 2012-09-18 Joseph Myers <joseph@codesourcery.com>
58372
58373 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58374 (tst-writev-ENV): Remove.
58375 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58376
58377 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
58378
58379 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58380
58381 2012-09-17 Joseph Myers <joseph@codesourcery.com>
58382
58383 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58384 unconditional.
58385 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58386 Likewise.
58387 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58388 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58389 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58390 Likewise.
58391
58392 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
58393
58394 [BZ #14587]
58395 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58396 * config.make.in (have-cpp-asm-debuginfo): Removed.
58397 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58398 * configure: Regenerated.
58399
58400 2012-09-14 Joseph Myers <joseph@codesourcery.com>
58401
58402 [BZ #5044]
58403 * stdio-common/printf_fp.c: Include <stdbool.h> and
58404 <rounding-mode.h>.
58405 (___printf_fp): Determine rounding using get_rounding_mode and
58406 round_away.
58407 * stdio-common/tst-printf-round.c: New file.
58408 * stdio-common/Makefile (tests): Add tst-printf-round.
58409 (link-libm): New variable.
58410 ($(objpfx)tst-printf-round): Depend in $(link-libm).
58411
58412 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
58413
58414 [BZ #14576]
58415 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58416 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58417 Likewise.
58418 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58419 Likewise.
58420
58421 2012-09-13 Joseph Myers <joseph@codesourcery.com>
58422
58423 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58424 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58425 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58426 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58427
58428 2012-09-12 Joseph Myers <joseph@codesourcery.com>
58429
58430 [BZ #14518]
58431 * include/rounding-mode.h: New file.
58432 * sysdeps/generic/get-rounding-mode.h: Likewise.
58433 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58434 * stdlib/strtod_l.c: Include <rounding-mode.h>.
58435 (MAX_VALUE): New macro.
58436 (MIN_VALUE): Likewise.
58437 (overflow_value): New function.
58438 (underflow_value): Likewise.
58439 (round_and_return): Use overflow_value and underflow_value to
58440 determine return values in overflow and underflow cases. Use
58441 round_away to determine rounding depending on rounding mode.
58442 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58443 determine return values in overflow and underflow cases.
58444 * stdlib/tst-strtod-round.c: Include <fenv.h>.
58445 (struct test_results): New structure.
58446 (struct test): Use struct test_results to store expected results
58447 for all rounding modes.
58448 (TEST): Include expected results for all rounding modes.
58449 (test_in_one_mode): New function.
58450 (do_test): Use test_in_one_mode to compute and check results.
58451 Check results for all rounding modes.
58452 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58453 $(link-libm).
58454
58455 2012-12-09 Allan McRae <allan@archlinux.org>
58456
58457 * sysdeps/i386/fpu/libm-test-ulps: Update
58458
58459 2012-09-11 Joseph Myers <joseph@codesourcery.com>
58460
58461 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58462 (_G_int32_t): Likewise.
58463 (_G_uint16_t): Likewise.
58464 (_G_uint32_t): Likewise.
58465 (_G_HAVE_BOOL): Likewise.
58466 (_G_HAVE_ATEXIT): Likewise.
58467 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58468 (_G_HAVE_IO_FILE_OPEN): Likewise.
58469 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58470 (_G_int32_t): Likewise.
58471 (_G_uint16_t): Likewise.
58472 (_G_uint32_t): Likewise.
58473 (_G_HAVE_BOOL): Likewise.
58474 (_G_HAVE_ATEXIT): Likewise.
58475 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58476 (_G_HAVE_IO_FILE_OPEN): Likewise.
58477 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58478 (_G_int32_t): Likewise.
58479 (_G_uint16_t): Likewise.
58480 (_G_uint32_t): Likewise.
58481 (_G_HAVE_BOOL): Likewise.
58482 (_G_HAVE_ATEXIT): Likewise.
58483 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58484 (_G_HAVE_IO_FILE_OPEN): Likewise.
58485
58486 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
58487
58488 * csu/libc-tls.c: Update copyright years.
58489
58490 2012-09-10 Joseph Myers <joseph@codesourcery.com>
58491
58492 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58493 [!_G_USING_THUNKS]: Remove conditional code.
58494 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58495 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58496
58497 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58498 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58499 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58500 (_G_VTABLE_LABEL_PREFIX): Likewise.
58501 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58502 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58503 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58504 (_G_VTABLE_LABEL_PREFIX): Likewise.
58505 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58506 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58507 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58508 (_G_VTABLE_LABEL_PREFIX): Likewise.
58509 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58510
58511 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
58512
58513 * libio/Makefile: Include ../Makeconfig before tests.
58514 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58515 only if $(build-shared) is yes.
58516
58517 * iconv/gconv_db.c: Update copyright years.
58518
58519 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58520
58521 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58522 unwind info if defined PIC. Fix special cases description.
58523 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58524
58525 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58526 DP_HI_MASK entry.
58527 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58528
58529 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
58530
58531 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58532
58533 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58534 is NULL.
58535
58536 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58537 (LDLIBS-tst-chk4): This.
58538 (LDFLAGS-tst-chk5): Renamed to ...
58539 (LDLIBS-tst-chk5): This.
58540 (LDFLAGS-tst-chk6): Renamed to ...
58541 (LDLIBS-tst-chk6): This.
58542 (LDFLAGS-tst-lfschk4): Renamed to ...
58543 (LDLIBS-tst-lfschk4): This.
58544 (LDFLAGS-tst-lfschk5): Renamed to ...
58545 (LDLIBS-tst-lfschk5): This.
58546 (LDFLAGS-tst-lfschk6): Renamed to ...
58547 (LDLIBS-tst-lfschk6): This.
58548
58549 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58550 on $(common-objpfx)soversions.mk.
58551
58552 2012-09-07 Joseph Myers <joseph@codesourcery.com>
58553
58554 [BZ #10014]
58555 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58556 example host name.
58557
58558 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
58559
58560 * malloc/arena.c (arena_get_retry): New function that gets
58561 another arena for the caller to try its request on.
58562 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58563 current arena cannot fulfill the request.
58564 (__libc_memalign): Likewise.
58565 (__libc_memalign): Likewise.
58566 (__libc_pvalloc): Likewise.
58567 (__libc_calloc): Likewise.
58568
58569 2012-09-05 John Tobey <john.tobey@gmail.com>
58570
58571 [BZ #13542]
58572 * manual/arith.texi (Operations on Complex): Fix description
58573 of carg branch cut.
58574
58575 2012-09-06 Joseph Myers <joseph@codesourcery.com>
58576
58577 [BZ #10014]
58578 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58579 host name.
58580
58581 [BZ #10038]
58582 * manual/memory.texi (Memory): Make order of menu items match
58583 order of sections.
58584
58585 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
58586
58587 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58588 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
58589 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58590
58591 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
58592
58593 * csu/libc-tls.c (static_dtv): Renamed to ...
58594 (_dl_static_dtv): This. Make it global.
58595 (_dl_initial_dtv): Removed.
58596 (__libc_setup_tls): Updated.
58597 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58598 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58599 DL_INITIAL_DTV.
58600
58601 2012-09-06 Petr Machata <pmachata@redhat.com>
58602
58603 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58604 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58605 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58606 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58607
58608 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
58609
58610 [BZ #14545]
58611 * csu/libc-tls.c (_dl_initial_dtv): New variable.
58612 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58613 freeing dtv[-1].
58614
58615 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
58616
58617 [BZ #14544]
58618 * Makeconfig (link-static-before-libc): Replace $(+prector)
58619 with $(+prectorT).
58620 (link-static-after-libc): Replace $(+postctor) with
58621 $(+postctorT).
58622 (link-bounded): Replace $(+prector)/$(+postctor) with
58623 $(+prectorT)/$(+postctorT).
58624 (+prectorT): New macro.
58625 (+postctorT): Likewise.
58626
58627 2012-09-06 Joseph Myers <joseph@codesourcery.com>
58628
58629 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58630 (round_str): Handle values above the maximum for IBM long double
58631 as inexact.
58632 * stdlib/tst-strtod-round.c (tests): Regenerated.
58633
58634 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58635
58636 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58637 assembler flag.
58638 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58639 zarch_nohighgprs around the zarch optimized routines.
58640 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58641 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58642 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58643 for zarch.
58644
58645 2012-09-05 David S. Miller <davem@davemloft.net>
58646
58647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58648
58649 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58650 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58651 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58652 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58653 entries.
58654
58655 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58656
58657 * malloc/arena.c: Fold copyright years.
58658 * malloc/mcheck.c, malloc/memusage.c: Likewise.
58659
58660 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58661
58662 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58663
58664 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58665
58666 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
58667
58668 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58669
58670 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58671 change internal state upon failure.
58672
58673 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58674
58675 * malloc/mcheck.c (mcheck_check_all): Fix typo.
58676 * malloc/memusage.c (mmap): Likewise.
58677 (mmap64, mremap): Likewise. Adjust name in comment.
58678
58679 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
58680
58681 * libio/fileops.c: Fix typos in comments.
58682 * libio/oldfileops.c: Likewise.
58683 * libio/wfileops.c: Likewise.
58684
58685 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
58686
58687 [BZ #1349]
58688 * malloc/Makefile (tests): Add tst-malloc-usable test case.
58689 (tst-malloc-usable-ENV): Set environment for test case.
58690 * malloc/hooks.c (malloc_check_get_size): New function to get
58691 requested size.
58692 * malloc/malloc.c (musable): Use malloc_check_get_size.
58693 * malloc/tst-malloc-usable.c: New test case.
58694
58695 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
58696
58697 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58698
58699 2012-09-05 Allan McRae <allan@archlinux.org>
58700
58701 [BZ #13966]
58702 * configure.in (CXX_SYSINCLUDES): Use compiler output to
58703 determine header location.
58704 * configure: Regenerated.
58705
58706 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
58707
58708 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58709 float format.
58710 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58711 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58712 format.
58713 (test): Regenerate.
58714
58715 2012-09-04 David S. Miller <davem@davemloft.net>
58716
58717 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58718 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58719 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58720
58721 2012-09-04 Florian Weimer <fweimer@redhat.com>
58722
58723 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58724 failures.
58725
58726 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58727
58728 2012-09-04 Joseph Myers <joseph@codesourcery.com>
58729
58730 [BZ #9914]
58731 * libio/iogetdelim.c: Include <limits.h>.
58732 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58733 + len + 1 would overflow.
58734
58735 2012-09-03 Andreas Jaeger <aj@suse.de>
58736
58737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58738 * sysdeps/i386/fpu/libm-test-ulps: Update.
58739
58740 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58741
58742 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58743 Add s_sinf-sse2, s_conf-sse2.
58744
58745 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58746 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58747 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58748 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58749
58750 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58751 for using routine as __sinf_ia32.
58752 Use macro for function declaration and weak_alias.
58753 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58754 for using routine as __cosf_ia32.
58755 Use macro for function declaration and weak_alias.
58756
58757 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58758 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58759
58760 * sysdeps/x86_64/fpu/s_sinf.S: New file.
58761 * sysdeps/x86_64/fpu/s_cosf.S: New file.
58762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58763
58764 * math/libm-test.inc (cos_test): Add more test cases.
58765 (sin_test): Likewise.
58766 (sincos_test): Likewise.
58767
58768 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58769
58770 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58771 (IFUNC_RESOLVE): Make pointers to the specialized implementations
58772 hidden.
58773 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58774
58775 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
58776
58777 [BZ #14538]
58778 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58779 first element of the GOT.
58780 (elf_machine_load_address): Return the difference between
58781 the runtime address of _DYNAMIC and elf_machine_dynamic ().
58782
58783 2012-09-01 Allan McRae <allan@archlinux.org>
58784
58785 [BZ #13412]
58786 * configure.in (AWK): Require gawk version 3.0 or later.
58787 * configure: Regenerated.
58788
58789 2012-09-01 Joseph Myers <joseph@codesourcery.com>
58790
58791 * sysdeps/unix/sysv/linux/kernel-features.h
58792 (__ASSUME_POSIX_CPU_TIMERS): Remove.
58793 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58794 [__NR_clock_getres]: Make code unconditional.
58795 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58796 (clock_getcpuclockid): Remove code left unreachable by removal of
58797 conditionals.
58798 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58799 code unconditional.
58800 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58801 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58802 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58803 Make code unconditional.
58804 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58805 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58806 * sysdeps/unix/sysv/linux/clock_settime.c
58807 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58808 conditional code.
58809 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58810 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58811
58812 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
58813
58814 [BZ #14476]
58815 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58816 scripts/test-installation.pl.
58817
58818 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58819 and $ld_so_version if it is set.
58820
58821 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
58822
58823 [BZ #14516]
58824 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58825 failure if reading from procfs failed.
58826 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58827
58828 2012-08-27 Joseph Myers <joseph@codesourcery.com>
58829
58830 * sysdeps/unix/sysv/linux/kernel-features.h
58831 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58832 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58833 Remove conditional code.
58834 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58835 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58836 Remove conditional code.
58837 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58838 * sysdeps/unix/sysv/linux/i386/fxstat.c
58839 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58840 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58841 * sysdeps/unix/sysv/linux/i386/fxstatat.c
58842 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58843 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58844 * sysdeps/unix/sysv/linux/i386/lxstat.c
58845 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58846 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58847 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58848 Remove conditional code.
58849 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58850 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58851 Remove conditional code.
58852 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58853 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58854 <kernel-features.h>.
58855 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58856 Remove.
58857 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58858 Remove conditional code.
58859 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58860 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58861 Remove conditional.
58862
58863 2012-08-27 Mike Frysinger <vapier@gentoo.org>
58864
58865 [BZ #5400]
58866 * NEWS: Add fixed bug number.
58867
58868 2012-08-27 Joseph Myers <joseph@codesourcery.com>
58869
58870 [BZ #14519]
58871 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58872 underflowing exponent in case of negative sign.
58873 * stdlib/tst-strtod-round-data: Add more tests.
58874 * stdlib/tst-strtod-round.c (tests): Regenerated.
58875
58876 [BZ #3479]
58877 * stdlib/strtod_l.c (NDIG): Remove.
58878 (HEXNDIG): Likewise.
58879 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58880 smallest representable value.
58881 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58882 lie within an exact representation of 1/2 ulp of the result.
58883 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58884 unconditionally.
58885 (TENS_P9_IDX): Define unconditionally.
58886 (TENS_P9_SIZE): Likewise.
58887 (TENS_P10_IDX): Likewise.
58888 (TENS_P10_SIZE): Likewise.
58889 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58890 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58891 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58892 entries for 10^2^13 and 10^2^14.
58893 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58894 (TENS_P13_IDX): Define.
58895 (TENS_P13_SIZE): Likewise.
58896 (TENS_P14_IDX): Likewise.
58897 (TENS_P14_SIZE): Likewise.
58898 (_fpioconst_pow10): Change array size to
58899 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
58900 unconditional.
58901 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58902 1024]: Add entries for 10^2^13 and 10^2^14.
58903 [LAST_POW10 > _LAST_POW10]: Remove #error.
58904 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58905 (_fpioconst_pow10): Change array size to
58906 FPIOCONST_POW10_ARRAY_SIZE.
58907 * stdlib/gen-fpioconst.c: New file.
58908 * stdlib/gen-tst-strtod-round.c: Likewise.
58909 * stdlib/tst-strtod-round-data: Likewise.
58910 * stdlib/tst-strtod-round.c: Likewise.
58911 * stdlib/Makefile (tests): Add tst-strtod-round.
58912
58913 [BZ #14459]
58914 * stdlib/strtod_l.c: Include <stdint.h>.
58915 (NDEBUG): Do not define.
58916 (round_and_return): Change EXPONENT parameter to type intmax_t.
58917 Rearrange calculations to avoid internal overflow possibilities.
58918 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58919 Rearrange calculations to avoid internal overflow possibilities.
58920 Assert that number fits inside MPNSIZE limbs.
58921 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58922 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
58923 calculations and add assertions to avoid internal overflow
58924 possibilities. Add casts to avoid signed/unsigned operations.
58925 * stdlib/tst-strtod-overflow.c: New file.
58926 * stdlib/Makefile (tests): Add tst-strtod-overflow.
58927
58928 2012-08-25 Marek Polacek <polacek@redhat.com>
58929
58930 * time/time.h: Fix some typos in comments.
58931
58932 2012-08-23 Roland McGrath <roland@hack.frob.com>
58933
58934 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58935 * posix/tst-rfc3484-2.c: Likewise.
58936 * posix/tst-rfc3484-3.c: Likewise.
58937
58938 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
58939
58940 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58941 (EF_ARM_ABI_FLOAT_HARD): Likewise.
58942
58943 2012-08-23 Joseph Myers <joseph@codesourcery.com>
58944
58945 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58946 #include of fxstatat64.c.
58947
58948 2012-08-22 Roland McGrath <roland@hack.frob.com>
58949
58950 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58951 * shadow/getspent_r.c: Likewise.
58952 * shadow/getspnam.c: Likewise.
58953 * shadow/getspnam_r.c: Likewise.
58954 * gshadow/getsgent.c: Likewise.
58955 * gshadow/getsgent_r.c: Likewise.
58956 * gshadow/getsgnam.c: Likewise.
58957 * gshadow/getsgnam_r.c: Likewise.
58958 * inet/getnetbyad.c: Likewise.
58959 * inet/getnetbyad_r.c: Likewise.
58960 * inet/getnetbynm.c: Likewise.
58961 * inet/getnetbynm_r.c: Likewise.
58962 * inet/getnetent.c: Likewise.
58963 * inet/getnetent_r.c: Likewise.
58964 * inet/getproto.c: Likewise.
58965 * inet/getproto_r.c: Likewise.
58966 * inet/getprtent.c: Likewise.
58967 * inet/getprtent_r.c: Likewise.
58968 * inet/getprtname.c: Likewise.
58969 * inet/getprtname_r.c: Likewise.
58970 * inet/getrpcbyname.c: Likewise.
58971 * inet/getrpcbyname_r.c: Likewise.
58972 * inet/getrpcbynumber.c: Likewise.
58973 * inet/getrpcbynumber_r.c: Likewise.
58974 * inet/getrpcent.c: Likewise.
58975 * inet/getrpcent_r.c: Likewise.
58976 * inet/getaliasent.c: Likewise.
58977 * inet/getaliasent_r.c: Likewise.
58978 * inet/getaliasname.c: Likewise.
58979 * inet/getaliasname_r.c: Likewise.
58980 * nscd/getgrgid_r.c: Likewise.
58981 * nscd/getgrnam_r.c: Likewise.
58982 * nscd/gethstbyad_r.c: Likewise.
58983 * nscd/gethstbynm3_r.c: Likewise.
58984 * nscd/getpwnam_r.c: Likewise.
58985 * nscd/getpwuid_r.c: Likewise.
58986 * nscd/getsrvbynm_r.c: Likewise.
58987 * nscd/getsrvbypt_r.c: Likewise.
58988 * nscd/gai.c: Likewise.
58989
58990 * configure.in (build_nscd): New substituted variable, set
58991 by --disable-build-nscd and defaults to $use_nscd.
58992 * configure: Regenerated.
58993 * config.make.in (build-nscd): New substituted variable.
58994 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58995 Change conditional to require [$(build-nscd) = yes] as well.
58996 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58997
58998 [BZ# 13696]
58999 * configure.in (use_nscd): New substituted variable, set by
59000 --disable-nscd. If enabled, define USE_NSCD.
59001 * configure: Regenerated.
59002 * config.h.in: Add USE_NSCD.
59003 * config.make.in (use-nscd): New substituted variable.
59004 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59005 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59006 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59007 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59008 (CFLAGS-getgrnam_r.c): Likewise.
59009 (CFLAGS-initgroups.c): Likewise.
59010 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59011 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59012 Variables removed.
59013 * inet/getnetgrent_r.c
59014 (nscd_setnetgrent): New function, broken out of ...
59015 (setnetgrent): ... here. Call it.
59016 (innetgr): Conditionalize nscd bits on [USE_NSCD].
59017 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
59018 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
59019 * nscd/Makefile (routines, aux): Move definitions after include of
59020 Makeconfig. Conditionalize on [$(use-nscd) != no].
59021 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
59022 Conditionalize on [USE_NSCD].
59023 (is_nscd, nscd_init_cb): Likewise.
59024 (nss_load_library): Conditionalize init callback on [USE_NSCD].
59025 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
59026 * nss/nss_db/db-init.c: Likewise.
59027 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
59028 [USE_NSCD].
59029 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
59030 (make_request): Use it.
59031 (cache_valid_p): New function.
59032 (__check_pf): Use it.
59033 * NEWS: Add item for --disable-nscd.
59034
59035 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
59036
59037 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
59038 to support sed >= 4.2.1-20-ga9bf076.
59039 * configure: Regenerated.
59040
59041 2012-08-22 Roland McGrath <roland@hack.frob.com>
59042
59043 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
59044 Conditionalize whole body on [IREL].
59045
59046 2012-08-22 Jeff Law <law@redhat.com>
59047
59048 [BZ #14505]
59049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
59050 if the family is PF_UNSPEC.
59051
59052 2012-08-22 Mike Frysinger <vapier@gentoo.org>
59053
59054 * Makerules (lib-version): Rename from V.
59055 (install-lib-nosubdir): Change V to lib-version.
59056
59057 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
59058
59059 [BZ #14252]
59060 * powerpc32/power6/wcschr.c: New file.
59061 * powerpc32/power6/wcscpy.c: New file.
59062 * powerpc32/power6/wcsrchr.c: New file.
59063 * powerpc64/power6/wcschr.c: New file.
59064 * powerpc64/power6/wcscpy.c: New file.
59065 * powerpc64/power6/wcsrchr.c: New file.
59066
59067 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
59068
59069 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
59070 (two_way_short_needle): Use it.
59071 * string/strstr.c (AVAILABLE1_USES_J): Define.
59072 * string/strcasestr.c: Likewise.
59073
59074 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
59075 array references.
59076 * string/strcasestr.c (TOLOWER): Make side-effect safe.
59077
59078 [BZ #11607]
59079 * NEWS: Add an entry.
59080 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
59081 define their defaults.
59082 (two_way_short_needle): Detect end-of-string on-the-fly.
59083 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
59084 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
59085 * string/bug-strcasestr1.c: New test.
59086 * string/Makefile: Run it.
59087
59088 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
59089
59090 [BZ #11607]
59091 * string/str-two-way.h (two_way_short_needle): Optimize matching of
59092 the first character.
59093
59094 2012-08-21 Roland McGrath <roland@hack.frob.com>
59095
59096 * csu/elf-init.c (__libc_csu_irel): Function removed.
59097 * csu/libc-start.c (apply_irel): New function.
59098 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
59099
59100 2012-08-21 Joseph Myers <joseph@codesourcery.com>
59101
59102 * sysdeps/unix/sysv/linux/kernel-features.h
59103 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
59104 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59105 <kernel-features.h>.
59106 [__NR_fadvise64_64]: Make code unconditional.
59107 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
59108 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59109 !__NR_fadvise64_64)]: Likewise.
59110 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59111 !__NR_fadvise64_64))]: Likewise.
59112 [__NR_fadvise64]: Make code unconditional.
59113 [!__NR_fadvise64]: Remove conditional code.
59114 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
59115 <kernel-features.h>.
59116 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59117 unconditional.
59118 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59119 conditional code.
59120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
59121 not include <kernel-features.h>.
59122 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59123 unconditional.
59124 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59125 conditional code.
59126 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59127 include <kernel-features.h>.
59128 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59129 unconditional.
59130 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59131 conditional code.
59132
59133 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59134
59135 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59136 slight instruction rearrangements per scrollpipe analysis.
59137 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59138
59139 2012-08-20 Roland McGrath <roland@hack.frob.com>
59140
59141 * manual/syslog.texi (syslog; vsyslog, closelog):
59142 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59143 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59144
59145 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59146 DSOCAPS to match condition on defining it.
59147
59148 2012-08-20 Joseph Myers <joseph@codesourcery.com>
59149
59150 * sysdeps/unix/sysv/linux/kernel-features.h
59151 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59153 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59154 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59156 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59157 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59159 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59160 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59161
59162 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59163 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59164
59165 * sysdeps/unix/sysv/linux/kernel-features.h
59166 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59167 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59168 unconditional.
59169 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59170 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59171 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59172 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59173 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59174 Make code unconditional.
59175 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59176 (__mmap64) [!__NR_mmap2]: Likewise.
59177 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59178 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59179 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59180 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59181 [__NR_mmap2]: Make code unconditional.
59182 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59183 (__mmap64) [!__NR_mmap2]: Likewise.
59184
59185 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59186
59187 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59188
59189 2012-08-18 Andreas Jaeger <aj@suse.de>
59190
59191 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59192
59193 2012-08-18 Mike Frysinger <vapier@gentoo.org>
59194
59195 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59196 * include/unistd.h (__have_sock_cloexec): Likewise.
59197 (__have_pipe2): Likewise.
59198 (__have_dup3): Likewise.
59199
59200 2012-08-18 Mike Frysinger <vapier@gentoo.org>
59201
59202 [BZ #9685]
59203 * include/unistd.h (__have_pipe2): Change define into an extern int.
59204 (__have_dup3): Likewise.
59205 * socket/have_sock_cloexec.c: Include fcntl.h.
59206 (__have_pipe2): New variable.
59207 (__have_dup3): Likewise.
59208
59209 2012-08-17 Mike Frysinger <vapier@gentoo.org>
59210
59211 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59212
59213 2012-08-17 Marek Polacek <polacek@redhat.com>
59214
59215 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59216 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59217
59218 2012-08-17 Roland McGrath <roland@hack.frob.com>
59219
59220 * configure.in: Add AC_SUBST for sysheaders.
59221 * configure: Regenerated.
59222 * config.make.in (sysheaders): New substituted variable.
59223
59224 * sysdeps/unix/mkfifo.c: Moved ...
59225 * sysdeps/posix/mkfifo.c: ... here.
59226 * sysdeps/unix/mkfifoat.c: Moved ...
59227 * sysdeps/posix/mkfifoat.c: ... here.
59228
59229 * sysdeps/unix/utime.c: Moved ...
59230 * sysdeps/posix/utime.c: ... here.
59231
59232 * sysdeps/unix/time.c: Moved ...
59233 * sysdeps/posix/time.c: ... here.
59234 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59235 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59236
59237 * sysdeps/unix/nice.c: Moved ...
59238 * sysdeps/posix/nice.c: ... here.
59239
59240 * sysdeps/unix/alarm.c: Moved ...
59241 * sysdeps/posix/alarm.c: ... here.
59242
59243 * intl/Makefile ($(codeset_mo)): Depend on the input file.
59244
59245 2012-08-17 Jeff Law <law@redhat.com>
59246
59247 * intl/Makefile (codeset_mo): New variable.
59248 ($(codeset_mo)): New target.
59249 (tst-codeset.out): Depend on that. Remove explicit rule.
59250 (tst-gettext3.out, tst-gettext5.out): Likewise.
59251 (LOCPATH-ENV, tst-codeset-ENV): New variables.
59252 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59253 * intl/tst-codeset.sh: Remove.
59254 * intl/tst-gettext3.sh: Likewise.
59255 * intl/tst-gettext5.sh: Likewise.
59256
59257 2012-08-17 Roland McGrath <roland@hack.frob.com>
59258
59259 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
59260 * sysdeps/unix/syscalls.list: ... here.
59261
59262 * sysdeps/posix/getaddrinfo.c
59263 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59264 (gaiconf_init, gaiconf_reload): Use them.
59265 [!_STATBUF_ST_NSEC]
59266 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59267 Define using time_t rather than struct timespec.
59268
59269 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59270 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59271 Macros removed.
59272 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59273 [!NO_THREADS].
59274 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59275 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59276 Likewise.
59277
59278 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
59279 __libc_cleanup_push argument.
59280
59281 * bits/param.h: New file.
59282 * misc/sys/param.h: New file.
59283 * include/sys/param.h: New file.
59284 * misc/Makefile (headers): Add bits/param.h.
59285 * sysdeps/generic/sys/param.h: File removed.
59286 * sysdeps/unix/sysv/linux/bits/param.h: New file.
59287 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
59288 * sysdeps/mach/hurd/bits/param.h: New file.
59289 * sysdeps/mach/hurd/sys/param.h: File removed.
59290
59291 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
59292 last change.
59293
59294 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
59295 [_IO_MTSAFE_IO].
59296 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
59297 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
59298 New macros.
59299
59300 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
59301 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
59302 rather than -D_IO_MTSAFE_IO conditionally.
59303 * stdio-common/Makefile (CPPFLAGS): Likewise.
59304 * wcsmbs/Makefile (CPPFLAGS): Likewise.
59305 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
59306 Use $(libio-mtsafe).
59307 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
59308 of -D_IO_MTSAFE_IO.
59309 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
59310 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
59311 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
59312 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
59313 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
59314 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
59315 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
59316 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
59317 (CFLAGS-fread_u_chk.c): Likewise.
59318 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
59319 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
59320 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
59321 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
59322 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
59323 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
59324 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59325 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
59326 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
59327
59328 * libio/Makefile: Test [$(libc-reentrant) = yes]
59329 instead of [$(filter %REENTRANT, $(defines)) nonempty].
59330
59331 * Makeconfig
59332 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
59333 * sysdeps/pthread/configure: File removed.
59334 * sysdeps/pthread/Makeconfig: New file.
59335 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
59336 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
59337
59338 2012-08-16 Gary Benson <gbenson@redhat.com>
59339
59340 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
59341 unmapping the first object in a namespace.
59342
59343 2012-08-16 Roland McGrath <roland@hack.frob.com>
59344
59345 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
59346 (__internal_setnetgrent): ... this. Add internal_function to
59347 definition. Add libc_hidden_def.
59348 (setnetgrent): Update caller.
59349 (internal_endnetgrent): Renamed to ...
59350 (__internal_endnetgrent): ... this. Add internal_function to
59351 definition. Add libc_hidden_def.
59352 (endnetgrent): Update caller.
59353 (internal_getnetgrent_r): Renamed to ...
59354 (__internal_getnetgrent_r): ... this. Add internal_function to
59355 definition. Add libc_hidden_def.
59356 (__getnetgrent_r): Update caller.
59357 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
59358
59359 2012-08-16 Joseph Myers <joseph@codesourcery.com>
59360
59361 * stdlib/longlong.h: Update from GCC.
59362
59363 2012-08-16 Roland McGrath <roland@hack.frob.com>
59364
59365 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
59366 on _QL, which is set by umul_ppmm but never used.
59367 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
59368 variables, which are set by GMP macros but never used.
59369 * stdio-common/_itowa.c (_itowa): Likewise.
59370 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
59371 * stdlib/mod_1.c (mpn_mod_1): Likewise.
59372
59373 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
59374
59375 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59376 struct La_sh_regs is not constant.
59377 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59378 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59379 and struct La_sparc64_regs are not constant.
59380
59381 2012-08-16 Joseph Myers <joseph@codesourcery.com>
59382
59383 * sysdeps/unix/sysv/linux/kernel-features.h
59384 (__ASSUME_POSIX_TIMERS): Remove.
59385 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59386 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59387 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59388 Make code unconditional.
59389 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59390 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59391 Make code unconditional.
59392 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59393 * sysdeps/unix/sysv/linux/clock_nanosleep.c
59394 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59395 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59396 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59397 Make code unconditional.
59398 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59399 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59400 (__libc_missing_posix_timers): Remove.
59401
59402 2012-08-15 Roland McGrath <roland@hack.frob.com>
59403
59404 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59405 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59406
59407 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59408
59409 * elf/dl-sym.c: Include <stdlib.h>.
59410
59411 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59412 constants, which avoids warnings in 32-bit builds.
59413
59414 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59415 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59416
59417 * misc/lseek.c: File moved to ...
59418 * io/lseek.c: ... here.
59419
59420 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59421
59422 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59423 shifting LEN more than 31 bits at once.
59424
59425 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59426
59427 [BZ #14195]
59428 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59429 segmentation fault for a case of two empty input strings.
59430 * string/test-strncasecmp.c (check1): Renamed to...
59431 (bz12205): ...this.
59432 (bz14195): Add new testcase for two empty input strings and N > 0.
59433 (test_main): Call new testcase, adapt for renamed function.
59434
59435 2012-08-15 Andreas Jaeger <aj@suse.de>
59436
59437 [BZ #14090]
59438 * crypt/md5test2.c: New test, based on test supplied by Serge
59439 Belyshev <belyshev@depni.sinp.msu.ru>.
59440 * crypt/Makefile (xtests): Add md5test-giant..
59441 * crypt/Makefile ($(objpfx)md5test-giant): Add.
59442
59443 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
59444
59445 [BZ #14090]
59446 * crypt/md5.c (md5_process_block): Don't assume the buffer
59447 length is less than 2**32.
59448 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59449 length is less than 2**64.
59450
59451 2012-08-15 Roland McGrath <roland@hack.frob.com>
59452
59453 * string/str-two-way.h: Include <sys/param.h>.
59454 (MAX): Macro removed.
59455
59456 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59457 Move #define and #undef of memmove to just before and after
59458 including <string.h>.
59459
59460 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59461 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59462 and after including <string.h>. Move declarations of
59463 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59464 to before #include "string/memmove.c".
59465
59466 * include/dirent.h: Declare __getdirentries.
59467
59468 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59469 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59470
59471 2012-08-14 Mike Frysinger <vapier@gentoo.org>
59472
59473 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59474 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59475 * sysdeps/i386/configure: Regenerated.
59476 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59477 STABS_CURRENT_FILE, and STABS_FUN.
59478 (END): Remove call to STABS_FUN_END.
59479 (STABS_CURRENT_FILE1): Delete.
59480 (STABS_CURRENT_FILE): Likewise.
59481 (STABS_FUN): Likewise.
59482 (STABS_FUN_END): Likewise.
59483 (STABS_FUN2): Likewise.
59484 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59485 * sysdeps/x86_64/configure: Regenerated.
59486
59487 2012-08-14 Roland McGrath <roland@hack.frob.com>
59488
59489 * elf/dl-open.c: Include <atomic.h>.
59490 * elf/dl-lookup.c: Likewise.
59491
59492 2012-08-14 Joseph Myers <joseph@codesourcery.com>
59493
59494 * sysdeps/unix/sysv/linux/kernel-features.h
59495 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59496 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59497 unconditionally.
59498 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59499 unconditionally.
59500 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59501 condition on __ASSUME_CLONE_THREAD_FLAGS.
59502
59503 2012-08-14 Andreas Jaeger <aj@suse.de>
59504
59505 * sysdeps/i386/fpu/libm-test-ulps: Update.
59506
59507 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
59508
59509 * include/atomic.h (atomic_exchange_and_add): Split into ...
59510 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59511 New atomic macros.
59512
59513 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
59514
59515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59516
59517 2012-08-13 Jeff Law <law@redhat.com>
59518
59519 * manual/stdio.texi (snprintf): Clarify handling of the trailing
59520 null byte in the output string.
59521
59522 2012-08-10 Joseph Myers <joseph@codesourcery.com>
59523
59524 * sysdeps/unix/sysv/linux/kernel-features.h
59525 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59526 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59527 (__ASSUME_ARG_MAX_STACK_BASED): Define.
59528 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59529 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59530 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
59531 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59532
59533 2012-08-09 Jeff Law <law@redhat.com>
59534
59535 [BZ #13939]
59536 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59537 When avoid_arena is set, don't retry in the that arena. Pick the
59538 next one, whatever it might be.
59539 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59540 (arena_lock): Pass in new parameter to arena_get2.
59541 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59542 arena_get2.
59543 (__libc_malloc): Unify retrying after main arena failure with
59544 __libc_memalign version.
59545 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59546
59547 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
59548
59549 [BZ #14166]
59550 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59551 to __redirect_strstr.
59552 (__strstr_sse42): Use typeof __redirect_strstr.
59553 (__strstr_ia32): Likewise.
59554 (__libc_strstr): New prototype.
59555 (strstr): Renamed to ...
59556 (__libc_strstr): This.
59557 (strstr): New strong alias of __libc_strstr.
59558 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59559 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59560 __redirect_time.
59561 Include <time.h>.
59562 (__libc_time): New prototype.
59563 (time_ifunc): Replace time with __libc_time.
59564 (time): New strong alias and hidden definition of __libc_time.
59565 (__GI_time): Remove strong alias.
59566 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59567 Include <stddef.h>.
59568 (memmove): Redefined to __redirect_memmove.
59569 (__memmove_sse2): Use typeof __redirect_memmove.
59570 (__memmove_ssse3): Likewise.
59571 (__memmove_ssse3_back): Likewise.
59572 (__libc_memmove): New prototype.
59573 (memmove): Renamed to ...
59574 (__libc_memmove): This.
59575 (memmove): New strong alias of __libc_memmove.
59576
59577 2012-08-08 Mark Salter <msalter@redhat.com>
59578
59579 * elf/elf.h
59580 (R_MN10300_TLS_GD): Define.
59581 (R_MN10300_TLS_LD): Likewise.
59582 (R_MN10300_TLS_LDO): Likewise.
59583 (R_MN10300_TLS_GOTIE): Likewise.
59584 (R_MN10300_TLS_IE): Likewise.
59585 (R_MN10300_TLS_LE): Likewise.
59586 (R_MN10300_TLS_DTPMOD): Likewise.
59587 (R_MN10300_TLS_DTPOFF): Likewise.
59588 (R_MN10300_TLS_TPOFF): Likewise.
59589 (R_MN10300_SYM_DIFF): Likewise.
59590 (R_MN10300_ALIGN): Likewise.
59591 (R_MN10300_NUM): Update.
59592
59593 2012-08-08 Joseph Myers <joseph@codesourcery.com>
59594
59595 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59596 Remove.
59597
59598 2012-08-08 Roland McGrath <roland@hack.frob.com>
59599
59600 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59601
59602 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59603 sysdeps/unix -> sysdeps/posix move.
59604 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59605
59606 2012-08-07 Allan McRae <allan@archlinux.org>
59607
59608 [BZ #14303]
59609 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59610 (SUNOS_CPP): Likewise.
59611 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59612 not found.
59613 (open_input): Call CPP using execvp.
59614
59615 2012-08-07 Joseph Myers <joseph@codesourcery.com>
59616
59617 * sysdeps/unix/sysv/linux/kernel-features.h
59618 (__ASSUME_PROT_GROWSUPDOWN): Remove.
59619 (__ASSUME_NO_CLONE_DETACHED): Likewise.
59620 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59621 (__ASSUME_WAITID_SYSCALL): Likewise.
59622 * sysdeps/unix/sysv/linux/dl-execstack.c
59623 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59624 code unconditional.
59625 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59626 conditional code.
59627 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59628 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59629 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59630 code.
59631 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59632 unconditional.
59633 [__ASSUME_WAITID_SYSCALL]: Likewise.
59634 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59635
59636 2012-08-07 Roland McGrath <roland@hack.frob.com>
59637
59638 * sysdeps/unix/closedir.c: Renamed to ...
59639 * sysdeps/posix/closedir.c: ... here.
59640 * sysdeps/unix/dirfd.c: Renamed to ...
59641 * sysdeps/posix/dirfd.c: ... here.
59642 * sysdeps/unix/dirstream.h: Renamed to ...
59643 * sysdeps/posix/dirstream.h: ... here.
59644 * sysdeps/unix/fdopendir.c: Renamed to ...
59645 * sysdeps/posix/fdopendir.c: ... here.
59646 * sysdeps/unix/opendir.c: Renamed to ...
59647 * sysdeps/posix/opendir.c: ... here.
59648 * sysdeps/unix/readdir.c: Renamed to ...
59649 * sysdeps/posix/readdir.c: ... here.
59650 * sysdeps/unix/readdir_r.c: Renamed to ...
59651 * sysdeps/posix/readdir_r.c: ... here.
59652 * sysdeps/unix/rewinddir.c: Renamed to ...
59653 * sysdeps/posix/rewinddir.c: ... here.
59654 * sysdeps/unix/seekdir.c: Renamed to ...
59655 * sysdeps/posix/seekdir.c: ... here.
59656 * sysdeps/unix/telldir.c: Renamed to ...
59657 * sysdeps/posix/telldir.c: ... here.
59658 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59659 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59660 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59661 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59662
59663 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59664 * bits/fcntl.h: ... here.
59665
59666 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59667 not 0.
59668 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59669 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59670 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59671 (struct flock): Move l_start, l_len to the beginning.
59672 Use __pid_t for l_pid.
59673 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59674 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59675 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59676 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59677 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59678 [__USE_LARGEFILE64] (struct flock64): New type.
59679 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59680
59681 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59682 * bits/dirent.h: ... here.
59683
59684 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59685 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59686
59687 2012-08-07 Joseph Myers <joseph@codesourcery.com>
59688
59689 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59690 Change from 2.6.0 to 2.6.16.
59691 * sysdeps/unix/sysv/linux/configure: Regenerated.
59692 * sysdeps/unix/sysv/linux/kernel-features.h
59693 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59694 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59695 version.
59696 (__ASSUME_UTIMES): Likewise.
59697 (__ASSUME_CLONE_STOPPED): Remove.
59698 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59699 architectures, not kernel version.
59700 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59701 (__ASSUME_NO_CLONE_DETACHED): Likewise.
59702 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59703 (__ASSUME_WAITID_SYSCALL): Likewise.
59704 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59705 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59706 * README: State 2.6.16 as minimum Linux kernel version. Do not
59707 refer to older versions.
59708
59709 2012-08-06 Roland McGrath <roland@hack.frob.com>
59710
59711 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59712 Define alphasort64 as an alias.
59713 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59714 Define versionsort64 as an alias.
59715 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59716 Define scandir64 as an alias.
59717 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59718 Define scandirat64 as an alias.
59719 * dirent/alphasort64.c (alphasort64):
59720 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59721 * dirent/versionsort64.c: Likewise.
59722 * dirent/scandir64.c: Likewise.
59723 * dirent/scandirat64.c: Likewise.
59724 * sysdeps/wordsize-64/alphasort.c: File removed.
59725 * sysdeps/wordsize-64/alphasort64.c: File removed.
59726 * sysdeps/wordsize-64/scandir.c: File removed.
59727 * sysdeps/wordsize-64/scandir64.c: File removed.
59728 * sysdeps/wordsize-64/scandirat.c: File removed.
59729 * sysdeps/wordsize-64/scandirat64.c: File removed.
59730 * sysdeps/wordsize-64/versionsort.c: File removed.
59731 * sysdeps/wordsize-64/versionsort64.c: File removed.
59732 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59733 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59734 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59735 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59736 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59737 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59738 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59739 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59740
59741 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59742 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59743 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59744 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59745 [defined __arch64__ || defined __sparcv9]
59746 (__INO_T_MATCHES_INO64_T): New macro.
59747 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59748 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59749 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59750 * sysdeps/unix/sysv/linux/bits/dirent.h
59751 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59752 (_DIRENT_MATCHES_DIRENT64): New macro.
59753
59754 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59755 Define lockf64 as an alias.
59756 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59757 Define fseeko64 as an alias.
59758 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59759 Define ftello64 as an alias.
59760 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59761 Define _IO_fgetpos64 and fgetpos64 as aliases.
59762 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59763 Define _IO_fsetpos64 and fsetpos64 as aliases.
59764 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59765 Conditionalize body on this.
59766 * libio/fseeko64.c: Likewise.
59767 * libio/ftello64.c: Likewise.
59768 * libio/iofgetpos64.c: Likewise.
59769 * libio/iofsetpos64.c: Likewise.
59770 * sysdeps/wordsize-64/lockf.c: File removed.
59771 * sysdeps/wordsize-64/lockf64.c: File removed.
59772 * sysdeps/wordsize-64/fseeko.c: File removed.
59773 * sysdeps/wordsize-64/fseeko64.c: File removed.
59774 * sysdeps/wordsize-64/ftello.c: File removed.
59775 * sysdeps/wordsize-64/ftello64.c: File removed.
59776 * sysdeps/wordsize-64/iofgetpos.c: File removed.
59777 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59778 * sysdeps/wordsize-64/iofsetpos.c: File removed.
59779 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59780 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59781 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59782 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59783 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59784 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59785 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59786 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59787 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59788 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59789 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59790
59791 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59792 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59793 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59794 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59795 [defined __arch64__ || defined __sparcv9]
59796 (__OFF_T_MATCHES_OFF64_T): New macro.
59797 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59798 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59799 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59800 (__OFF_T_MATCHES_OFF64_T): New macro.
59801
59802 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
59803
59804 * stdlib/secure-getenv.c (__secure_getenv): Replace
59805 GLIBC_2_16 with GLIBC_2_17.
59806
59807 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
59808
59809 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59810 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59811
59812 2012-08-03 David S. Miller <davem@davemloft.net>
59813
59814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59815
59816 2012-08-03 Joseph Myers <joseph@codesourcery.com>
59817
59818 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59819 Remove.
59820 (__ASSUME_CORRECT_SI_PID): Likewise.
59821 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59822 (__ASSUME_TMPFS_NAME): Likewise.
59823 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59824 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59825 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59826 (HAVE_AUX_SECURE): Make definition unconditional.
59827 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59828 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59829
59830 2012-08-03 Roland McGrath <roland@hack.frob.com>
59831
59832 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59833 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59834 * sysdeps/mach/hurd/eloop-threshold.h: New file.
59835 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59836 __eloop_threshold instead of SYMLOOP_MAX.
59837
59838 * sysdeps/generic/eloop-threshold.h: New file.
59839 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59840 of MAXSYMLINKS.
59841 * elf/chroot_canon.c (chroot_canon): Likewise.
59842
59843 2012-08-03 Joseph Myers <joseph@codesourcery.com>
59844
59845 [BZ #13717]
59846 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59847 Change to 2.6.0 everywhere.
59848 * sysdeps/unix/sysv/linux/configure: Regenerated.
59849 * sysdeps/unix/sysv/linux/kernel-features.h
59850 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59851 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59852 kernel versions.
59853 (__ASSUME_POSIX_TIMERS): Define unconditionally.
59854 (__ASSUME_FUTEX_REQUEUE): Remove.
59855 (__ASSUME_STATFS64): Define unconditionally.
59856 (__ASSUME_AT_SECURE): Likewise.
59857 (__ASSUME_CORRECT_SI_PID): Likewise.
59858 (__ASSUME_TGKILL): Define without depending on kernel version for
59859 i386.
59860 (__ASSUME_UTIMES): Likewise.
59861 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59862 kernel version.
59863 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59864 (__ASSUME_TMPFS_NAME): Likewise.
59865 * README: Update reference to Linux kernel versions.
59866
59867 2012-08-02 Marek Polacek <polacek@redhat.com>
59868
59869 [BZ# 14150]
59870 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
59871 libc_cv_asm_type_prefix with %.
59872 * configure: Regenerated.
59873 * include/libc-symbols.h: Remove comment about
59874 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59875 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59876 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59877 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59878 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59879 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59880 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59881 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59882 * elf/tst-unique2mod1.c: Likewise.
59883 * elf/tst-unique1mod2.c: Likewise.
59884 * elf/tst-unique1mod1.c: Likewise.
59885 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59886 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59887 Replace ASM_TYPE_DIRECTIVE with .type.
59888 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59889 * sysdeps/i386/sysdep.h: Likewise.
59890 * sysdeps/x86_64/sysdep.h: Likewise.
59891 * sysdeps/sh/sysdep.h: Likewise.
59892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59893 Do not define ASM_TYPE_DIRECTIVE.
59894 * sysdeps/powerpc/sysdep.h: Likewise.
59895 * sysdeps/powerpc/powerpc32/sysdep.h:
59896 Replace ASM_TYPE_DIRECTIVE with .type.
59897 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59898 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59899 * sysdeps/i386/fpu/e_powf.S: Likewise.
59900 * sysdeps/i386/fpu/e_expl.S: Likewise.
59901 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59902 * sysdeps/i386/fpu/e_acosh.S: Likewise.
59903 * sysdeps/i386/fpu/e_pow.S: Likewise.
59904 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59905 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59906 * sysdeps/i386/fpu/s_expm1.S: Likewise.
59907 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59908 * sysdeps/i386/fpu/e_log2.S: Likewise.
59909 * sysdeps/i386/fpu/e_log2l.S: Likewise.
59910 * sysdeps/i386/fpu/e_scalb.S: Likewise.
59911 * sysdeps/i386/fpu/e_powl.S: Likewise.
59912 * sysdeps/i386/fpu/e_log10f.S: Likewise.
59913 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59914 * sysdeps/i386/fpu/e_logl.S: Likewise.
59915 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59916 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59917 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59918 * sysdeps/i386/fpu/e_log2f.S: Likewise.
59919 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59920 * sysdeps/i386/fpu/e_log.S: Likewise.
59921 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59922 * sysdeps/i386/fpu/e_logf.S: Likewise.
59923 * sysdeps/i386/fpu/e_log10l.S: Likewise.
59924 * sysdeps/i386/fpu/e_atanh.S: Likewise.
59925 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59926 * sysdeps/i386/fpu/e_log10.S: Likewise.
59927 * sysdeps/i386/fpu/s_frexp.S: Likewise.
59928 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59929 * sysdeps/i386/fpu/s_asinh.S: Likewise.
59930 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59931 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59932 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59933 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59934 * sysdeps/i386/i686/strtok.S: Likewise.
59935 * sysdeps/i386/i386-mcount.S: Likewise.
59936 * sysdeps/i386/strtok.S: Likewise.
59937 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59938 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59939 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59940 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59941 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59942 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59943 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59944 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59945 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59946 * sysdeps/x86_64/_mcount.S: Likewise.
59947 * sysdeps/x86_64/strtok.S: Likewise.
59948 * sysdeps/sh/_mcount.S: Likewise.
59949
59950 2012-08-01 Roland McGrath <roland@hack.frob.com>
59951
59952 * libio/iofopen.c: Include <fcntl.h>.
59953 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59954 (_IO_fopen64, fopen64): Define as aliases.
59955 * libio/iofopen64.c: Include <fcntl.h>.
59956 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59957 Conditionalize body on this.
59958 * sysdeps/wordsize-64/iofopen.c: File removed.
59959 * sysdeps/wordsize-64/iofopen64.c: File removed.
59960
59961 2012-08-01 Marek Polacek <polacek@redhat.com>
59962
59963 * libc/Makeconfig: Use elf in place of binfmt-subdir.
59964 Use dlfcn directly instead of a variable.
59965 (binfmt-subdir): Do not define.
59966 (dlfcn): Likewise.
59967
59968 2012-08-01 Joseph Myers <joseph@codesourcery.com>
59969
59970 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59971 Remove all definitions.
59972 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59973 <kernel-features.h>.
59974 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59975 (miss_F_GETOWN_EX): Remove all definitions.
59976 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59977 macro definition.
59978 [!__ASSUME_FCNTL64]: Remove conditional code.
59979 [__ASSUME_FCNTL64]: Make code unconditional.
59980 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59981 <kernel-features.h>.
59982 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59983 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59984 (lockf64) [__NR_fcntl64]: Make code unconditional.
59985 (lockf64) [__ASSUME_FCNTL64]: Likewise.
59986
59987 * sysdeps/unix/sysv/linux/kernel-features.h
59988 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59989 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59990 Make code unconditional.
59991 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59992 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59994 [__NR_vfork]: Make code unconditional.
59995 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59996 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59998 [__NR_vfork]: Make code unconditional.
59999 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60000 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60001
60002 2012-08-01 Roland McGrath <roland@hack.frob.com>
60003
60004 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60005 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60006
60007 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60008 Define mkstemp64 as an alias.
60009 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60010 Define mkstemps64 as an alias.
60011 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60012 Define mkostemp64 as an alias.
60013 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60014 Define mkostemps64 as an alias.
60015 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
60016 Conditionalize body on this.
60017 * misc/mkostemp64.c: Likewise.
60018 * misc/mkostemps64.c: Likewise.
60019 * misc/mkstemps64.c: Likewise.
60020 * sysdeps/wordsize-64/mkstemp64.c: File removed.
60021 * sysdeps/wordsize-64/mkostemp64.c: File removed.
60022 * sysdeps/wordsize-64/mkostemp.c: File removed.
60023 * sysdeps/wordsize-64/mkstemp.c: File removed.
60024 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
60025 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
60026 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60027 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
60028
60029 [BZ #14138]
60030 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
60031 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
60032 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
60033 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
60034
60035 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
60036 compat_symbol macros from <shlib-compat.h> rather than the underlying
60037 default_symbol_version and symbol_version macros, so that DEFAULT
60038 lines in shlib-versions are respected.
60039 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
60040
60041 2012-08-01 Florian Weimer <fweimer@redhat.com>
60042
60043 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
60044 Declare with warn_unused_result.
60045 (setgid, setregid, setegid, setresgid): Likewise.
60046 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
60047 Likewise.
60048 * WUR-REPORT: Remove set*id functions.
60049
60050 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
60051
60052 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
60053
60054 2012-07-31 Roland McGrath <roland@hack.frob.com>
60055
60056 [BZ #10191]
60057 * include/sys/socket.h (__libc_accept, __libc_accept4):
60058 Add attribute_hidden.
60059 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
60060
60061 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
60062 use of PTR_MANGLE.
60063 * inet/getnetgrent_r.c (setup): Likewise.
60064
60065 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
60066
60067 2012-07-31 David S. Miller <davem@davemloft.net>
60068
60069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60070
60071 2012-07-31 Joseph Myers <joseph@codesourcery.com>
60072
60073 [BZ #13629]
60074 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
60075 value between 1.0 and 2.0 and smaller part has absolute value less
60076 than 1.0.
60077 * math/s_clog10.c (__clog10): Likewise.
60078 * math/s_clog10f.c (__clog10f): Likewise.
60079 * math/s_clog10l.c (__clog10l): Likewise.
60080 * math/s_clogf.c (__clogf): Likewise.
60081 * math/s_clogl.c (__clogl): Likewise.
60082 * math/libm-test.inc (clog_test): Add more tests.
60083 (clog10_test): Likewise.
60084 * sysdeps/i386/fpu/libm-test-ulps: Update.
60085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60086
60087 2012-07-31 Florian Weimer <fweimer@redhat.com>
60088
60089 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
60090 Exit with zero in case no suitable GID is found, and write a
60091 message to standard error.
60092
60093 2012-07-30 Roland McGrath <roland@hack.frob.com>
60094
60095 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
60096 rather than to 1.
60097 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
60098 (MAXPATHLEN): Removed.
60099 (NOGROUP, NODEV): New macros.
60100 (setbit, clrbit, isset, isclr): New macros.
60101 (howmany, roundup, powerof2): New macros.
60102 (DEV_BSIZE): New macro.
60103
60104 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
60105 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
60106
60107 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
60108 definition on [!__NO_LONG_DOUBLE_MATH].
60109
60110 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
60111 PTR_MANGLE and PTR_DEMANGLE.
60112
60113 * socket/accept4.c (accept4): Rename to __libc_accept4.
60114 Define accept4 as a weak alias.
60115
60116 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
60117 on [_DIRENT_HAVE_D_TYPE].
60118 * io/ftw.c (ftw_dir): Likewise.
60119
60120 * io/xmknod.c (__xmknod): Don't check PATH for being null.
60121
60122 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
60123
60124 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
60125 Use the BSD numbers rather than the arbitrary ones we had.
60126 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60127 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60128 (SIGXCPU, SIGXFSZ): New macros.
60129 (_NSIG): Now 32.
60130
60131 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60132 initializer on [_LIBC_REENTRANT].
60133
60134 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60135 definitions inside [_POSIX_MAPPED_FILES].
60136
60137 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60138
60139 * dirent/opendir.c: Include <fcntl.h>.
60140
60141 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60142 (__libc_getspecific): Likewise.
60143 (__libc_key_create): Likewise.
60144
60145 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60146 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60147 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60148 (tmpfile64): Define as alias.
60149 * sysdeps/wordsize-64/tmpfile.c: File removed.
60150 * sysdeps/wordsize-64/tmpfile64.c: File removed.
60151 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60152 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60153
60154 * stdio-common/vfscanf.c: Include <stdbool.h>.
60155 * nss/makedb.c: Likewise.
60156 * stdio-common/_i18n_number.h: Likewise.
60157 * argp/argp-help.c: Likewise.
60158 * posix/wordexp.c: Likewise.
60159 * sysdeps/posix/spawni.c: Likewise.
60160 * nss/nss_files/files-initgroups.c: Likewise.
60161 * stdio-common/reg-modifier.c: Include <stdlib.h>.
60162 * nss/nss_files/files-initgroups.c: Likewise.
60163 * nss/nss_db/db-netgrp.c: Likewise.
60164 * nss/nss_db/db-initgroups.c: Likewise.
60165 * io/fchmodat.c: Include <sys/stat.h>.
60166
60167 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60168 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60169
60170 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60171 [HAVE_MMAP].
60172
60173 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60174 Add multiple inclusion protection.
60175
60176 2012-07-27 David S. Miller <davem@davemloft.net>
60177
60178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60179
60180 2012-07-27 Gary Benson <gbenson@redhat.com>
60181
60182 [BZ #14298]
60183 * elf/rtld.c: Include <stap-probe.h>.
60184 (dl_main): Added static probes "init_start" and "init_complete".
60185 * elf/dl-load.c: Include <stap-probe.h>.
60186 (lose): Take new parameter "nsid".
60187 Added static probe "map_failed".
60188 (_dl_map_object_from_fd): Pass namespace id to lose.
60189 Added static probe "map_start".
60190 (open_verify): Pass namespace id to lose.
60191 * elf/dl-open.c: Include <stap-probe.h>.
60192 (dl_open_worker) Added static probes "map_complete", "reloc_start"
60193 and "reloc_complete".
60194 * elf/dl-close.c: Include <stap-probe.h>.
60195 (_dl_close_worker): Added static probes "unmap_start" and
60196 "unmap_complete".
60197 * elf/rtld-debugger-interface.txt: New file documenting the above.
60198
60199 2012-07-26 Roland McGrath <roland@hack.frob.com>
60200
60201 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60202 rather than a string variable.
60203 * sunrpc/rpc_main.c (h_output): Likewise.
60204 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60205
60206 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
60207
60208 * inet/check_native.c: New file.
60209
60210 2012-07-26 Joseph Myers <joseph@codesourcery.com>
60211
60212 [BZ #13629]
60213 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60214 if larger part has absolute value 1.0.
60215 * math/s_clog10.c (__clog10): Likewise.
60216 * math/s_clog10f.c (__clog10f): Likewise.
60217 * math/s_clog10l.c (__clog10l): Likewise.
60218 * math/s_clogf.c (__clogf): Likewise.
60219 * math/s_clogl.c (__clogl): Likewise.
60220 * math/libm-test.inc (clog_test): Add more tests.
60221 (clog10_test): Likewise.
60222 * sysdeps/i386/fpu/libm-test-ulps: Update.
60223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60224
60225 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60226 (pltexit): Likewise.
60227 (La_regs): Likewise.
60228 (La_retval): Likewise.
60229 (int_retval): Likewise.
60230 Update #error for removed macros to refer only to definitions in
60231 tst-audit.h.
60232 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
60233 macro.
60234 (pltexit): Likewise.
60235 (La_regs): Likewise.
60236 (La_retval): Likewise.
60237 (int_retval): Likewise.
60238 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
60239 macro.
60240 (pltexit): Likewise.
60241 (La_regs): Likewise.
60242 (La_retval): Likewise.
60243 (int_retval): Likewise.
60244 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
60245 macro.
60246 (pltexit): Likewise.
60247 (La_regs): Likewise.
60248 (La_retval): Likewise.
60249 (int_retval): Likewise.
60250 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
60251 macro.
60252 (pltexit): Likewise.
60253 (La_regs): Likewise.
60254 (La_retval): Likewise.
60255 (int_retval): Likewise.
60256 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60257 macro.
60258 (pltexit): Likewise.
60259 (La_regs): Likewise.
60260 (La_retval): Likewise.
60261 (int_retval): Likewise.
60262 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60263 macro.
60264 (pltexit): Likewise.
60265 (La_regs): Likewise.
60266 (La_retval): Likewise.
60267 (int_retval): Likewise.
60268 * sysdeps/generic/tst-audit.h: Update comment to refer only to
60269 macro definitions in tst-audit.h.
60270 * sysdeps/i386/tst-audit.h: New file.
60271 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60272 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60273 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60274 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60275 * sysdeps/sh/tst-audit.h: Likewise.
60276 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
60277 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
60278 * sysdeps/x86_64/tst-audit.h: Likewise.
60279
60280 2012-07-26 Andreas Jaeger <aj@suse.de>
60281
60282 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
60283 ptrace.
60284
60285 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
60286 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
60287 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
60288 PTRACE_O_MASK.
60289 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
60290 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
60291 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
60292
60293 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
60294 value.
60295
60296 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
60297 _sigsys.
60298 (si_call_addr, si_syscall, si_arch): Define new macro.
60299 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
60300 _sigsys.
60301 (si_call_addr, si_syscall, si_arch): Define new marcro.
60302 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
60303 _sigsys.
60304 (si_call_addr, si_syscall, si_arch): Define new macro.
60305 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
60306 _sigsys.
60307 (si_call_addr, si_syscall, si_arch): Define new macro.
60308
60309 2012-07-25 Joseph Myers <joseph@codesourcery.com>
60310
60311 [BZ #13717]
60312 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60313 Change to 2.4.21 where previously 2.4.1.
60314 * sysdeps/unix/sysv/linux/configure: Regenerated.
60315 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
60316 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
60317 Linux kernel version.
60318 (__ASSUME_STD_AUXV): Remove.
60319 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
60320 kernel version.
60321 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
60322 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
60323 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
60324 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
60325 (__ASSUME_NETLINK_SUPPORT): Likewise.
60326 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
60327 (__no_netlink_support): Remove conditional definition.
60328 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
60329 Remove.
60330 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60331 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
60332 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
60333 (if_nameindex_ioctl): Remove.
60334 (if_nameindex_netlink): Do not handle __no_netlink_support.
60335 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60336 code.
60337 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
60338 Remove conditional code.
60339 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60340 code.
60341 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
60342 unconditional.
60343 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60344 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
60345 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
60346 Remove.
60347 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
60348 [!__ASSUME_STD_AUXV]: Remove conditional code.
60349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
60350 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
60351 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
60352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
60353 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
60354 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60355 code.
60356 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60358 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
60359 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60360 conditional code.
60361 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60363 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60364 code.
60365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60366 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60367 conditional code.
60368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
60369 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60370 code unconditional.
60371 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60372 conditional code.
60373 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60374 unconditional.
60375 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60376 conditional code.
60377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60378 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60379 unconditional.
60380 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60381 conditional code.
60382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60383 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60384 code unconditional.
60385 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60386 conditional code.
60387 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60388 unconditional.
60389 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60390 conditional code.
60391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60392 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60393 code unconditional.
60394 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60395 conditional code.
60396 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60397 unconditional.
60398 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60399 conditional code.
60400
60401 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
60402
60403 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60404 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60405 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60406 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60407 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60408 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60409 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60410 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60411 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60412 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60413 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60414 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60415 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60416 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60417 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60418 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60419 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60420 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60421 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60423 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60424 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60425 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60426
60427 2012-07-25 Florian Weimer <fweimer@redhat.com>
60428
60429 * Versions.def: Add GLIBC_2.17.
60430 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60431 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60432 Introduce __libc_secure_getenv.
60433 * stdlib/Versions (2.17): Add secure_getenv
60434 (GLIBC_PRIVATE): Add __libc_secure_getenv.
60435 * stdlib/secure-getenv.c: Rename __secure_getenv to
60436 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
60437 symbol __secure_getenv for GLIBC_2.0.
60438 * stdlib/tst-secure-getenv.c: New.
60439 * stdlib/Makefile (tests): Add testcase.
60440 * manual/startup.texi (Environment Access): Document
60441 secure_getenv.
60442 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60443 __libc_secure_getenv.
60444 * inet/ruserpass.c (ruserpass): Likewise.
60445 * malloc/mtrace.c (mtrace): Likewise.
60446 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60447 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60448 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60449 * sysdeps/posix/tempname.c: Likewise. Evaluate
60450 HAVE_SECURE_GETENV.
60451 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60452 __secure_getenv to __libc_secure_getenv.
60453 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60455 Likewise.
60456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60457 Likewise.
60458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60460 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60465
60466 2012-07-25 Joseph Myers <joseph@codesourcery.com>
60467
60468 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60469 (struct La_i86_retval): Likewise.
60470 (struct La_x86_64_regs): Likewise.
60471 (struct La_x86_64_retval): Likewise.
60472 (struct La_x32_regs): Likewise.
60473 (struct La_x32_retval): Likewise.
60474 (struct La_ppc32_regs): Likewise.
60475 (struct La_ppc32_retval): Likewise.
60476 (struct La_ppc64_regs): Likewise.
60477 (struct La_ppc64_retval): Likewise.
60478 (struct La_sh_regs): Likewise.
60479 (struct La_sh_retval): Likewise.
60480 (struct La_s390_32_regs): Likewise.
60481 (struct La_s390_32_retval): Likewise.
60482 (struct La_s390_64_regs): Likewise.
60483 (struct La_s390_64_retval): Likewise.
60484 (struct La_sparc32_regs): Likewise.
60485 (struct La_sparc32_retval): Likewise.
60486 (struct La_sparc64_regs): Likewise.
60487 (struct La_sparc64_retval): Likewise.
60488 (struct audit_ifaces): Remove architecture-specific pltenter and
60489 pltexit members.
60490 * sysdeps/i386/ldsodefs.h: New file.
60491 * sysdeps/powerpc/ldsodefs.h: Likewise.
60492 * sysdeps/s390/ldsodefs.h: Likewise.
60493 * sysdeps/sh/ldsodefs.h: Likewise.
60494 * sysdeps/sparc/ldsodefs.h: Likewise.
60495 * sysdeps/x86_64/ldsodefs.h: Likewise.
60496
60497 2012-07-25 Marek Polacek <polacek@redhat.com>
60498
60499 [BZ #6808]
60500 * math/libm-test.inc (yn_test): Add another test.
60501 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60502 to ERANGE when the result is +-Inf.
60503 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60504 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60505 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60506 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60507
60508 2012-07-24 Joseph Myers <joseph@codesourcery.com>
60509
60510 * conform/data/time.h-data (NULL): Use macro-constant. Require
60511 equal to 0.
60512 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
60513 clock_t.
60514 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
60515
60516 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
60517
60518 * configure.in <sysdeps resolving>: Correct printing
60519 Implies_before.
60520 * configure: Regenerate.
60521
60522 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
60523
60524 * math/w_ilogb.c: Include <limits.h>.
60525 * math/w_ilogbl.c: Likewise.
60526
60527 2012-07-20 Joseph Myers <joseph@codesourcery.com>
60528
60529 * manual/lang.texi (__va_copy): Document primarily as ISO C99
60530 va_copy. Document allowing for unavailable va_copy only as
60531 pre-C99 compatibility.
60532 * manual/string.texi (Copying and Concatenation): Use va_copy
60533 instead of __va_copy in concat example.
60534
60535 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
60536
60537 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60538 (__sendto): Use create_address_port. Initialize APORT and deallocate
60539 it if not null.
60540
60541 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60542 with O_NOLINK passed to __file_name_lookup.
60543
60544 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60545 with O_NOLINK passed to __file_name_lookup.
60546
60547 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60548 negative N or less than NGIDS.
60549
60550 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60551 type to string_t. Set ERANGE as errno and return it if NAME is not big
60552 enough. Use memcpy instead of strncpy.
60553
60554 2012-07-20 Joseph Myers <joseph@codesourcery.com>
60555
60556 * elf/Makefile (check-data): Remove.
60557 (localplt.data): New vpath directive.
60558 ($(objpfx)check-localplt.out): Use localplt.data from vpath
60559 instead of $(check-data).
60560 * scripts/data/localplt-generic.data: Move to ...
60561 * sysdeps/generic/localplt.data: ... here.
60562 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60563 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60564 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60566 ... here.
60567 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60569 ... here.
60570 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60572 ... here.
60573 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60575 ... here.
60576 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60578 ... here.
60579 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60581 ... here.
60582
60583 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60584
60585 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60586 PPC32 and PPC64 files.
60587 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60588 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60589
60590 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60591
60592 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60593 __makecontext_ret to ...
60594 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60595 ... here and call exit if uc_link is NULL. New file.
60596 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60597 __makecontext_ret.S.
60598 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60599 __makecontext_ret to ...
60600 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60601 ... here and call exit if uc_link is NULL. New file.
60602 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60603 __makecontext_ret.S.
60604
60605 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60606
60607 * elf/elf.h (R_390_IRELATIVE): New definition.
60608 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60609 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
60610 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60611 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60612 (elf_machine_lazy_rel): Likewise.
60613 * sysdeps/s390/dl-irel.h: New file.
60614 * sysdeps/s390/s390-64/memcpy.S: New asm code.
60615 * sysdeps/s390/s390-64/memset.S: New asm code.
60616 * sysdeps/s390/s390-64/memcmp.S: New asm code.
60617 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60618 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60619 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60620 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60621 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60622 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60623 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60624 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60625 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60626 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60627 * sysdeps/s390/s390-32/memcpy.S: New asm code.
60628 * sysdeps/s390/s390-32/memset.S: New asm code.
60629 * sysdeps/s390/s390-32/memcmp.S: New asm code.
60630
60631 2012-07-17 Marek Polacek <polacek@redhat.com>
60632
60633 [BZ #14349]
60634 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60635 * sysdeps/s390/s390-64/configure.in: Likewise.
60636 * sysdeps/sparc/configure.in: Likewise.
60637 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60638 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60639 * sysdeps/i386/configure.in: Likewise.
60640 * sysdeps/x86_64/configure.in: Likewise.
60641 * sysdeps/sh/configure.in: Likewise.
60642 * sysdeps/s390/s390-32/configure: Regenerated.
60643 * sysdeps/s390/s390-64/configure: Likewise.
60644 * sysdeps/x86_64/configure: Likewise.
60645 * sysdeps/sh/configure: Likewise.
60646 * sysdeps/powerpc/powerpc64/configure: Likewise.
60647 * sysdeps/powerpc/powerpc32/configure: Likewise.
60648 * sysdeps/sparc/configure: Likwise.
60649 * sysdeps/i386/configure: Likewise.
60650
60651 * elf/dl-open.c: Comment fixes.
60652
60653 2012-07-17 Joseph Myers <joseph@codesourcery.com>
60654
60655 * Makefile [CXX] (check-data): Remove.
60656 [CXX] (c++-types.data): New vpath directive.
60657 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60658 vpath. Do not allow for C++ type data being missing.
60659 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60660 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60661 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60662 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60663 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60664 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60665 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60667 ... here.
60668 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60670 ... here.
60671 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60673 ... here.
60674 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60676 ... here.
60677 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60679 ... here.
60680 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60682 ... here.
60683 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60685 ... here.
60686 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60688
60689 * elf/tls-macros.h (TLS_LE): Move architecture-specific
60690 definitions to architecture-specific files.
60691 (TLS_IE): Likewise.
60692 (TLS_LD): Likewise.
60693 (TLS_GD): Likewise.
60694 * sysdeps/i386/tls-macros.h: New file.
60695 * sysdeps/powerpc/tls-macros.h: Likewise.
60696 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60697 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60698 * sysdeps/sh/tls-macros.h: Likewise.
60699 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60700 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60701 * sysdeps/x86_64/tls-macros.h: Likewise.
60702
60703 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
60704
60705 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60706 zero value for regular exit case.
60707
60708 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60709 (__start_context): Preserve zero value for regular exit case.
60710
60711 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
60712 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60713
60714 * manual/setjmp.texi (setcontext): Clarify normal process
60715 termination when uc_link is the null pointer.
60716 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60717 exit call.
60718
60719 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
60720
60721 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60722 preprocessor. Test for each exception mask separately.
60723
60724 2012-07-16 Andreas Jaeger <aj@suse.de>
60725
60726 * po/ru.po: Update from translation team.
60727
60728 2012-07-15 Joseph Myers <joseph@codesourcery.com>
60729
60730 * conform/data/string.h-data (NULL): Use macro-constant. Require
60731 equal to 0.
60732 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60733 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60734 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60735 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60736 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60737
60738 2012-07-13 Andreas Jaeger <aj@suse.de>
60739
60740 * po/fr.po: Update from translation team.
60741
60742 2012-07-12 Marek Polacek <polacek@redhat.com>
60743
60744 [BZ #14173]
60745 * math/libm-test.inc (yn_test): Add test for BZ #14173.
60746 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60747 loop condition.
60748
60749 2012-07-12 Joseph Myers <joseph@codesourcery.com>
60750
60751 [BZ #13717]
60752 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60753 Change to 2.4.1 where previously 2.4.0.
60754 * sysdeps/unix/sysv/linux/configure: Regenerated.
60755 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60756 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60757 version.
60758 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60759 (__ASSUME_AT_CLKTCK): Remove.
60760 (__ASSUME_AT_PAGESIZE): Likewise.
60761 (__ASSUME_AT_XID): Likewise.
60762 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60763 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60764 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60765 unconditionally.
60766 (HAVE_AUX_PAGESIZE): Likewise.
60767 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60768 [__ASSUME_AT_CLKTCK]: Make code unconditional.
60769 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60770
60771 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
60772
60773 [BZ #14307]
60774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60775 the temporary buffer used to invoke __gethostbyname2_r,
60776 __gethostbyaddr_r and gethostbyname4_r to make room for struct
60777 host_data / struct gaih_addrtuple.
60778 * resolv/nss_dns/dns-host.c (global scope): Move definition of
60779 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60780 header file nss/nsswitch.h.
60781 * nss/nsswitch.h (global scope): Add definition of implementation
60782 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60783 resolv/nss_dns/dns-host.c).
60784
60785 2012-07-11 Andreas Jaeger <aj@suse.de>
60786
60787 * po/fr.po: Update from translation team.
60788
60789 * po/sv.po: Update from translation team
60790 * po/fr.po: Another update from translation team.
60791
60792 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60793
60794 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60795 for subnormals or multiply small sinh result by itself.
60796 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60798
60799 2012-07-11 David S. Miller <davem@davemloft.net>
60800
60801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60802
60803 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
60804
60805 [BZ #14347]
60806 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60807 (INTERNAL_MARK): Shift it here.
60808
60809 2012-07-10 Marek Polacek <polacek@redhat.com>
60810
60811 [BZ #14151]
60812 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
60813 libc_cv_asm_global_directive with .globl.
60814 * configure: Regenerated.
60815 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60816 with .globl.
60817 * sysdeps/i386/configure: Regenerated.
60818 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60819 with .globl.
60820 * sysdeps/x86_64/configure: Regenerated.
60821 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60822 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60823 * elf/tst-unique2mod2.c: Likewise.
60824 * elf/tst-unique2mod1.c: Likewise.
60825 * elf/tst-unique1mod2.c: Likewise.
60826 * elf/tst-unique1mod1.c: Likewise.
60827 * sysdeps/s390/s390-32/sysdep.h: Likewise.
60828 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60829 * sysdeps/s390/s390-64/sysdep.h: Likewise.
60830 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60831 * sysdeps/mach/sysdep.h: Likewise.
60832 * sysdeps/i386/sysdep.h: Likewise.
60833 * sysdeps/i386/i386-mcount.S: Likewise.
60834 * sysdeps/x86_64/_mcount.S: Likewise.
60835 * sysdeps/x86_64/sysdep.h: Likewise.
60836 * sysdeps/sh/_mcount.S: Likewise.
60837 * sysdeps/sh/sysdep.h: Likewise.
60838 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60839 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60840 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60841 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60842 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60843 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60844 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60845 * locale/localeinfo.h: Likewise.
60846 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60847 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60848
60849 2012-07-09 Roland McGrath <roland@hack.frob.com>
60850
60851 [BZ #14336]
60852 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60853 system".
60854 * manual/message.texi (The Uniforum approach): Likewise.
60855 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60856 (glibc iconv Implementation): Likewise.
60857
60858 2012-07-09 Joseph Myers <joseph@codesourcery.com>
60859
60860 [BZ #14337]
60861 * math/s_clog.c (__clog): Avoid scaling a value down where that
60862 could result in underflow.
60863 * math/s_clog10.c (__clog10): Likewise.
60864 * math/s_clog10f.c (__clog10f): Likewise.
60865 * math/s_clog10l.c (__clog10l): Likewise.
60866 * math/s_clogf.c (__clogf): Likewise.
60867 * math/s_clogl.c (__clogl): Likewise.
60868 * math/libm-test.inc (clog_test): Add more tests.
60869 (clog10_test): Likewise.
60870 * sysdeps/i386/fpu/libm-test-ulps: Update.
60871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60872
60873 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
60874
60875 [BZ #14283]
60876 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60877 by 7 not 8 to examine high bit of fractional part.
60878
60879 [BZ #14042]
60880 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60881 for call to __mcount_internal.
60882 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60883 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60884 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60885
60886 2012-07-06 Joseph Myers <joseph@codesourcery.com>
60887
60888 [BZ #14154]
60889 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60890 approximation for values within 0x1p-13f of an odd multiple of
60891 pi/4.
60892 * math/libm-test.inc (tan_test): Do not allow spurious underflow
60893 exception. Add more tests.
60894 * sysdeps/i386/fpu/libm-test-ulps: Update.
60895
60896 [BZ #6778]
60897 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60898 inputs and return -1 for them. Do not check for +Inf in case not
60899 reachable for +Inf.
60900 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60901 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60902 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60903 and return -1 for them. Do not check for +Inf in case not
60904 reachable for +Inf.
60905 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60906 define.
60907 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60908 and return -1 for them. Do not check for +Inf in case not
60909 reachable for +Inf.
60910 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
60911 spurious underflow.
60912 * sysdeps/i386/fpu/libm-test-ulps: Update.
60913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60914
60915 2012-07-06 Mike Frysinger <vapier@gentoo.org>
60916
60917 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60918
60919 2012-07-05 Joseph Myers <joseph@codesourcery.com>
60920
60921 [BZ #14157]
60922 [BZ #14331]
60923 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60924 could result in spurious underflow. Scale down values above
60925 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60926 * math/s_csqrtf.c (__csqrtf): Likewise.
60927 * math/s_csqrtl.c (__csqrtl): Likewise.
60928 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
60929 spurious underflow.
60930 * sysdeps/i386/fpu/libm-test-ulps: Update.
60931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60932
60933 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
60934
60935 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60936 xopen-msg.sed.
60937 * catgets/xopen-msg.awk: New file.
60938 * catgets/xopen-msg.sed: Removed.
60939
60940 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60941 po2text.sed.
60942 * intl/po2test.awk: New file.
60943 * intl/po2test.sed: Removed.
60944
60945 2012-07-04 Joseph Myers <joseph@codesourcery.com>
60946
60947 [BZ #14328]
60948 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60949 or multiply small sinh result by itself.
60950 * math/s_ctanf.c (__ctanf): Likewise.
60951 * math/s_ctanh.c (__ctanh): Likewise.
60952 * math/s_ctanhf.c (__ctanhf): Likewise.
60953 * math/s_ctanhl.c (__ctanhl): Likewise.
60954 * math/s_ctanl.c (__ctanl): Likewise.
60955 * math/libm-test.inc (ctan_test_tonearest): New function.
60956 (ctan_test_towardzero): Likewise.
60957 (ctan_test_downward): Likewise.
60958 (ctan_test_upward): Likewise.
60959 (ctanh_test_tonearest): Likewise.
60960 (ctanh_test_towardzero): Likewise.
60961 (ctanh_test_downward): Likewise.
60962 (ctanh_test_upward): Likewise.
60963 (main): Call these new functions.
60964 * sysdeps/i386/fpu/libm-test-ulps: Update.
60965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60966
60967 2012-07-03 Mike Frysinger <vapier@gentoo.org>
60968
60969 * .gitignore: Delete /ports entry.
60970
60971 2012-07-03 Andreas Jaeger <aj@suse.de>
60972
60973 * po/bg.po: Update from translation team.
60974 * po/cs.po: Likewise.
60975 * po/de.po: Likewise.
60976 * po/hr.po: Likewise.
60977 * po/nl.pl: Likewise.
60978 * po/pl.po: Likewise.
60979 * po/vi.po: Likewise.
60980
60981 2012-07-03 Joseph Myers <joseph@codesourcery.com>
60982
60983 * Makeconfig [!+link] (+link-before-libc): New variable.
60984 [!+link] (+link-after-libc): Likewise.
60985 [!+link] (+link-tests): Likewise.
60986 [!+link] (+link): Define in terms of $(+link-before-libc) and
60987 $(+link-after-libc).
60988 [!+link-static] (+link-static-before-libc): New variable.
60989 [!+link-static] (+link-static-after-libc): Likewise.
60990 [!+link-static] (+link-static-tests): Likewise.
60991 [!+link-static] (+link-static): Define in terms of
60992 $(+link-static-before-libc) and $(+link-static-after-libc).
60993 [build-shared] (link-libc-before-gnulib): New variable.
60994 [build-shared] (link-libc-tests): Likewise.
60995 [build-shared] (link-libc): Define in terms of
60996 $(link-libc-before-gnulib).
60997 [!build-shared] (link-libc-tests): New variable.
60998 (link-libc-static-tests): New variable.
60999 [!gnulib] (gnulib-arch): New variable.
61000 [!gnulib] (gnulib-tests): Likewise.
61001 [!gnulib] (static-gnulib-arch): Likewise.
61002 [!gnulib] (static-gnulib-tests): Likewise.
61003 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
61004 Define with "=" instead of ":=".
61005 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
61006 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
61007 * Rules (binaries-all-notests): New variable.
61008 (binaries-all-tests): Likewise.
61009 (binaries-static-notests): Likewise.
61010 (binaries-static-tests): Likewise.
61011 (binaries-all): Define using $(binaries-all-notests) and
61012 $(binaries-all-tests).
61013 (binaries-static): Define using $(binaries-static-notests) and
61014 $(binaries-static-tests).
61015 (binaries-shared-tests): New variable.
61016 (binaries-shared-notests): Likewise.
61017 (binaries-shared): Remove variable.
61018 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
61019 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
61020 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
61021 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
61022 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
61023 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
61024 * elf/Makefile (sln-modules): New variable.
61025 (extra-objs): Add $(sln-modules:=.o).
61026 (ldconfig-modules): Add static-stubs.
61027 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
61028 * elf/static-stubs.c: New file.
61029
61030 [BZ #14283]
61031 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
61032 by 7 not 8 to examine high bit of fractional part. Use volatile
61033 variables when splitting into final array of floats if
61034 __FLT_EVAL_METHOD__ != 0.
61035 * math/libm-test.inc (cos_test): Add another test.
61036 (sin_test): Likewise.
61037 * sysdeps/i386/fpu/libm-test-ulps: Update.
61038
61039 [BZ #14273]
61040 * math/libm-test.inc (cosh_test): Add more tests.
61041
61042 * version.h (RELEASE): Set to "development".
61043 (VERSION): Set to "2.16.90".
61044
61045 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
61046
61047 * NEWS: Update copyright. Remove last-updated date.
61048 Mention math library bug fixes and timezone data changes.
61049 * README: Mention GNU/Hurd, x32, and HPPA support status.
61050
61051 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
61052
61053 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
61054
61055 2012-06-27 Andreas Jaeger <aj@suse.de>
61056
61057 * manual/contrib.texi (Contributors): Add Samuel Thibault.
61058
61059 2012-06-25 Andreas Jaeger <aj@suse.de>
61060
61061 * sysdeps/s390/fpu/libm-test-ulps: Update.
61062
61063 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
61064 Thomas Schwinge <thomas@codesourcery.com>
61065
61066 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
61067 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
61068 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
61069 fanotify_mark.
61070
61071 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
61072
61073 * sysdeps/mach/start.c: Remove file.
61074 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
61075 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
61076 * sysdeps/sh/init-first.c: Likewise.
61077
61078 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
61079 registers for frame unwinding purposes, add CFI directives.
61080 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61081 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
61082 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
61083 Likewise.
61084
61085 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
61086 __fortify_fail returning.
61087 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61088
61089 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
61090 sysdeps/sh/____longjmp_chk.S.
61091 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
61092 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
61093 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
61094 (gen-as-const-headers): Append sigaltstack-offsets.sym.
61095
61096 * sysdeps/sh/abort-instr.h: New file.
61097 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
61098 process in case exit returns.
61099
61100 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
61101 initialize the GOT register before use.
61102
61103 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
61104 calculation of ARGC > 4.
61105
61106 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
61107 meaningful names to some local labels.
61108
61109 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61110 Kaz Kojima <kkojima@rr.iij4u.or.jp>
61111
61112 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
61113 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
61114 (__arch_compare_and_exchange_val_16_acq): Likewise.
61115 (__arch_compare_and_exchange_val_32_acq): Likewise.
61116 (atomic_exchange_and_add): Fix gUSA sequence.
61117 (atomic_add): Likewise.
61118 (atomic_add_negative): Likewise.
61119 (atomic_add_zero): Likewise.
61120 (atomic_bit_test_set): Likewise.
61121
61122 2012-06-22 Andreas Schwab <schwab@redhat.com>
61123
61124 [BZ #13579]
61125 * include/link.h (struct link_map): Add l_free_initfini.
61126 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61127 l_initfini.
61128 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61129 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61130 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61131 set.
61132
61133 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
61134
61135 * configure.in: Use AC_LANG_SOURCE.
61136 * configure: Regenerate.
61137
61138 2012-06-22 Roland McGrath <roland@hack.frob.com>
61139
61140 * configure.in (libc_cv_localstatedir): New substituted variable.
61141 * configure: Regenerated.
61142 * config.make.in (localstatedir): New variable, substituted from
61143 libc_cv_localstatedir.
61144 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61145 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61146 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61147 * sysdeps/gnu/configure: Regenerated.
61148
61149 2012-06-21 Jeff Law <law@redhat.com>
61150
61151 [BZ #14277]
61152 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61153 free. Simplify list management for _LIBC case.
61154
61155 2012-06-21 Joseph Myers <joseph@codesourcery.com>
61156
61157 [BZ #14273]
61158 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61159 Clear sign bit of 64-bit integer value before comparing against
61160 overflow value.
61161
61162 * sysdeps/mach/configure: Regenerated.
61163
61164 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
61165
61166 [BZ #14278]
61167 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61168
61169 2012-06-21 Jeff Law <law@redhat.com>
61170
61171 [BZ #13882]
61172 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
61173 uint16_t for elements in the "seen" array to avoid char overflows.
61174 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61175 * elf/dl-open.c (dl_open_worker): Likewise.
61176
61177 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
61178
61179 * scripts/list-sources.sh: Scan PORTS for translations.
61180 * po/libc.pot: Regenerated.
61181
61182 2012-06-21 Andreas Jaeger <aj@suse.de>
61183
61184 [BZ #12194]
61185 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61186 warning.
61187 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61188 * bits/byteswap-16.h (__bswap_16): Likewise.
61189 * bits/byteswap.h (__bswap_constant_16): Likewise.
61190
61191 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
61192
61193 [BZ #14117]
61194 * sysdeps/i386/fpu_control.h: Removed.
61195 * sysdeps/x86_64/fpu_control.h: Moved to ...
61196 * sysdeps/x86/fpu_control.h: Here.
61197
61198 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61199 (_FPU_SETCW): Likewise.
61200
61201 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
61202
61203 [BZ #14117]
61204 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61205 * sysdeps/x86/fpu/bits/mathinline.h: This.
61206 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61207
61208 [BZ #14050]
61209 [BZ #14117]
61210 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61211 functions if __x86_64__ is defined.
61212
61213 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
61214
61215 * string/endian.h: Add !__ASSEMBLER__ condition for including
61216 conversion interfaces.
61217
61218 2012-06-15 Joseph Myers <joseph@codesourcery.com>
61219
61220 [BZ #14241]
61221 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61222 of ABS(x) in calculating zero to negative powers other than odd
61223 integers.
61224 * math/libm-test.inc (pow_test): Add more tests.
61225
61226 2012-06-15 Andreas Jaeger <aj@suse.de>
61227
61228 * manual/contrib.texi (Contributors): Update entry of Liubov
61229 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61230 Machado Filho.
61231
61232 2012-06-15 Cyril Hrubis <metan@ucw.cz>
61233
61234 * string/string.h: Add __wur to GNU version of strerror_r.
61235
61236 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
61237
61238 [BZ #14229]
61239 * string/Makefile (tests): Add tst-strtok_r.
61240 * string/tst-strtok_r.c: New file.
61241 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61242 RAX_LP/RDX_LP on SAVE_PTR.
61243
61244 2012-06-14 Roland McGrath <roland@hack.frob.com>
61245
61246 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61247
61248 2012-06-14 Joseph Myers <joseph@codesourcery.com>
61249
61250 * libm_test.inc (csqrt_test): Allow more spurious underflow
61251 exceptions.
61252 (j0_test): Likewise.
61253 (j1_test): Likewise.
61254 (y0_test): Likewise.
61255 (y1_test): Likewise.
61256
61257 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
61258
61259 * po/Makefile (libc.pot): Use UTF-8 charset.
61260
61261 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
61262
61263 [BZ #14210]
61264 Suppress sign-conversion warning from FD_SET.
61265 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61266 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61267 not unsigned long int.
61268 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61269
61270 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
61271
61272 [BZ #14050]
61273 [BZ #14117]
61274 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61275 __extern_always_inline instead of __extern_inline.
61276 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
61277 (__signbit): Likewise.
61278 (__signbitl): Support C++ namespace.
61279 (lrintf): New inline function.
61280 (lrint): Likewise.
61281 (llrintf): Likewise.
61282 (llrint): Likewise.
61283 (fmaxf): Likewise.
61284 (fmax): Likewise.
61285 (fminf): Likewise.
61286 (fmin): Likewise.
61287 (rint): Likewise.
61288 (rintf): Likewise.
61289 (ceil): Likewise.
61290 (ceilf): Likewise.
61291 (floor): Likewise.
61292 (floorf): Likewise.
61293 (nearbyint): Likewise.
61294 (nearbyintf): Likewise.
61295
61296 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
61297
61298 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
61299 non-default versions.
61300
61301 2012-06-11 Roland McGrath <roland@hack.frob.com>
61302
61303 [BZ #14218]
61304 * manual/argp.texi (Argp): Reword argp_parse description slightly.
61305
61306 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
61307
61308 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
61309 (FE_UPWARD, FE_DOWNWARD): Don't define.
61310 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
61311 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61312
61313 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
61314 reading it.
61315 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61316 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61317
61318 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
61319
61320 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61321 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
61322 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
61323 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
61324
61325 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
61326
61327 [BZ #14117]
61328 * sysdeps/i386/fpu/bits/fenv.h: Removed.
61329 * sysdeps/i386/fpu/Implies: New file.
61330 * sysdeps/x86_64/fpu/Implies: Likewise.
61331 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
61332 * sysdeps/x86/fpu/bits/fenv.h: This.
61333
61334 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
61335 __SSE_MATH__.
61336
61337 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
61338
61339 [BZ #14134]
61340 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
61341 character 0xffff that matches the last element of the
61342 conversion table.
61343
61344 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61345
61346 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
61347 fmodl commit.
61348
61349 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61350
61351 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
61352 values higher than 25.6283.
61353
61354 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61355
61356 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
61357 subnormal exponent extraction and add some __builtin_expect.
61358 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
61359 Fix for subnormal mantissa calculation.
61360
61361 2012-06-04 Mike Frysinger <vapier@gentoo.org>
61362
61363 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
61364 cpu2 is -1 and errno is not ENOSYS.
61365
61366 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
61367
61368 [BZ #14117]
61369 * sysdeps/i386/i486/bits/string.h: Renamed to ...
61370 * sysdeps/x86/bits/string.h: This.
61371 * sysdeps/x86_64/bits/string.h: Removed.
61372
61373 * sysdeps/i386/i486/bits/string.h: Define inline functions only
61374 if not compiling for x86-64, but compiling for >= i486.
61375
61376 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61377 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61378
61379 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61380 New macro from Linux kernel 3.4.0.
61381 (FP_XSTATE_MAGIC2): Likewise.
61382 (FP_XSTATE_MAGIC2_SIZE): Likewise.
61383 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61384 (struct _fpx_sw_bytes): New struct.
61385 (struct _xsave_hdr): Likewise.
61386 (struct _ymmh_state): Likewise.
61387 (struct _xstate): Likewise.
61388
61389 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61390 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61391 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61392 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61393 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61394 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61395
61396 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61397 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61398 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61399 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61400 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61401 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61402
61403 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61404
61405 [BZ #13743]
61406 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61407 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61408 (sysdep_headers): Include sys/platform/ppc.h.
61409 * sysdeps/powerpc/test-gettimebase.c: Test for
61410 __ppc_get_timebase() to catch future ISA opcode/insn changes.
61411 * manual/Makefile (appendices): Include platform.texi.
61412 * manual/contrib.texi (Contributors): Update @node pointers.
61413 * manual/maint.texi (Maintenance): Likewise.
61414 (Platform): New node.
61415 * manual/platform.texi: New file. Document the new features.
61416
61417 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61418 Jakub Jelinek <jakub@redhat.com>
61419
61420 [BZ #14188]
61421 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61422 where __builtin_expect is unavailable.
61423
61424 2012-06-03 David S. Miller <davem@davemloft.net>
61425
61426 * stdlib/longlong.h: Updated from GCC.
61427
61428 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
61429
61430 [BZ #14042]
61431 * sysdeps/powerpc/powerpc32/mcount.c: New file.
61432 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61433 __mcount_internal.
61434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61435 (GLIBC_2.16): Likewise.
61436
61437 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
61438
61439 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61440
61441 2012-06-01 Joseph Myers <joseph@codesourcery.com>
61442
61443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61444 (default-abi): New variable.
61445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61446 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61447 variable.
61448 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61449 Likewise.
61450 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61451 Likewise.
61452 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61453 Likewise.
61454
61455 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61456 definition. Document in comment.
61457
61458 2012-06-01 David S. Miller <davem@davemloft.net>
61459
61460 * stdlib/longlong.h: Updated from GCC.
61461
61462 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
61463
61464 [BZ #14117]
61465 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61466 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61467 sys/debugreg.h sys/io.h here.
61468 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61469 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61470 sys/io.h.
61471 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61472 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61473 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61474 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61475 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61476 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61477
61478 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61479 Define only if __x86_64__ is defined.
61480
61481 2012-06-01 Joseph Myers <joseph@codesourcery.com>
61482
61483 [BZ #14048]
61484 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61485 Use int64_t for variable i.
61486 * math/libm-test.inc (fmod_test): Add more tests.
61487
61488 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61489 z computation is not scheduled after fetestexcept.
61490 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61491 Use math_force_eval instead of asm to ensure calculation scheduled
61492 before exception test.
61493 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61494 Ensure a1 + u.d computation is not scheduled after fetestexcept.
61495
61496 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
61497
61498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61499 computation is not scheduled after fetestexcept.
61500
61501 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
61502
61503 [BZ #14117]
61504 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61505 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61506
61507 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61508
61509 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61510 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61511
61512 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
61513
61514 [BZ #14117]
61515 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61516 <bits/wordsize.h>.
61517 (__WCHAR_MIN): Support __WORDSIZE == 64.
61518 (__WCHAR_MAX): Likewise.
61519
61520 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61521 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61522
61523 [BZ #14183]
61524 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61525 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61526
61527 [BZ #14117]
61528 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61529 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61530
61531 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61532 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61533
61534 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61535 Defined to 1 if __x86_64__ isn't defined.
61536 (_STAT_VER_LINUX_OLD): New.
61537 (st_atime): Remove duplicate.
61538 (st_mtime): Likewise.
61539 (st_ctime): Likewise.
61540
61541 2012-05-31 David S. Miller <davem@davemloft.net>
61542
61543 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61544 entries.
61545
61546 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
61547
61548 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61549 gen-libm-test.pl.
61550
61551 [BZ #14132]
61552 * elf/dl-reloc.c: Include <_itoa.h>.
61553 (_dl_reloc_bad_type): Remove use of INTUSE.
61554 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61555 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61556 * stdio-common/psiginfo.c (psiginfo): Likewise.
61557 * stdio-common/psignal.c (psignal): Likewise.
61558 * string/strsignal.c (strsignal): Likewise.
61559 * include/signal.h (_sys_siglist): Declare hidden proto.
61560 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
61561 INTVARDEF with libc_hidden_data_def.
61562 * stdio-common/itoa-udigits.c: Likewise.
61563 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61564 (_itoa_lower_digits_internal): Remove declaration.
61565 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61566 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61567 (_sys_sigabbrev_internal): Remove aliases.
61568 (_sys_siglist): Define hidden alias.
61569
61570 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
61571
61572 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61573 bits/sysctl.h.
61574
61575 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
61576
61577 [BZ #14117]
61578 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61579 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61580
61581 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61582 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61583 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61584 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61585 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61586 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61587
61588 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61589 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61590 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61591
61592 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61593 with __addr.
61594 (insw): Likewise.
61595 (insl): Likewise.
61596 (outsb): Likewise.
61597 (outsw): Likewise.
61598 (outsl): Likewise.
61599
61600 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61601 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61602 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61603
61604 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61605 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61606 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61607 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61608 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61609 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61610
61611 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61612 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61613
61614 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61615 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61616
61617 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61618 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61619 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61620
61621 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61622 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61623 to ...
61624 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61625
61626 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61627 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61628 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61629
61630 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61631 for x86-64.
61632 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61633
61634 2012-05-31 Joseph Myers <joseph@codesourcery.com>
61635
61636 * math/math.h (M_El): Use two more decimal places.
61637 (M_LOG2El): Likewise.
61638 (M_LOG10El): Likewise.
61639 (M_LN2l): Likewise.
61640 (M_LN10l): Likewise.
61641 (M_PIl): Likewise.
61642 (M_PI_2l): Likewise.
61643 (M_PI_4l): Likewise.
61644 (M_1_PIl): Likewise.
61645 (M_2_PIl): Likewise.
61646 (M_2_SQRTPIl): Likewise.
61647 (M_SQRT2l): Likewise.
61648 (M_SQRT1_2l): Likewise.
61649
61650 2012-05-31 David S. Miller <davem@davemloft.net>
61651
61652 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61653 values between float registers.
61654 * sysdeps/sparc/sparc64/memset.S: Likewise.
61655 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61656
61657 2012-05-31 Mike Frysinger <vapier@gentoo.org>
61658
61659 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61660 -D_FORTIFY_SOURCE=1.
61661 (CPPFLAGS-tst-longjmp_chk.c): Define.
61662 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61663 (CPPFLAGS-tst-longjmp_chk2.c): Define.
61664 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61665 CFLAGS-tst-wchar-h.c.
61666
61667 2012-05-31 Marek Polacek <polacek@redhat.com>
61668
61669 [BZ #14132]
61670 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61671 __endmntent_internal): Remove declaration.
61672 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61673 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61674 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61675
61676 2012-05-30 David S. Miller <davem@davemloft.net>
61677
61678 * sysdeps/sparc/sparc32/soft-fp/q_util.c
61679 (___Q_simulate_exceptions): Use real FP ops rather than writing
61680 into the %fsr.
61681 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61682 Likewise.
61683
61684 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61685
61686 [BZ #14117]
61687 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61688 * sysdeps/x86/bits/xtitypes.h: This.
61689
61690 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61691 * sysdeps/x86/bits/wordsize.h: This.
61692
61693 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61694 * sysdeps/x86/bits/huge_vall.h: This.
61695
61696 * sysdeps/i386/bits/select.h: Removed.
61697 * sysdeps/x86_64/bits/select.h: Renamed to ...
61698 * sysdeps/x86/bits/select.h: This.
61699
61700 * sysdeps/i386/bits/setjmp.h: Removed.
61701 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61702 * sysdeps/x86/bits/setjmp.h: This.
61703
61704 * sysdeps/i386/bits/mathdef.h: Removed.
61705 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61706 * sysdeps/x86/bits/mathdef.h: This.
61707
61708 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
61709
61710 [BZ #14132]
61711 * include/sys/socket.h (__connect_internal)
61712 (__libc_sa_len_internal): Remove declaration.
61713 (__connect, __libc_sa_len): Declare hidden_proto.
61714 (SA_LEN): Remove use of INTUSE.
61715 * socket/connect.c: Add libc_hidden_def.
61716 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61717 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61718 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61719 alias.
61720 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61721 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61722 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61723 of adding _internal alias.
61724
61725 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61726
61727 [BZ #14117]
61728 * sysdeps/i386/bits/link.h: Removed.
61729 * sysdeps/i386/bits/linkmap.h: Likewise.
61730 * sysdeps/x86_64/bits/link.h: Renamed to ...
61731 * sysdeps/x86/bits/link.h: This.
61732 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61733 * sysdeps/x86/bits/linkmap.h: This.
61734
61735 * sysdeps/i386/bits/endian.h: Removed.
61736 * sysdeps/x86_64/bits/endian.h: Renamed to ...
61737 * sysdeps/x86/bits/endian.h: This.
61738
61739 * sysdeps/i386/bits/byteswap.h: Removed.
61740 * sysdeps/i386/bits/byteswap-16.h: Likewise.
61741 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61742 * sysdeps/x86/bits/byteswap.h: This.
61743 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61744 * sysdeps/x86/bits/byteswap-16.h: This.
61745 * sysdeps/i386/Implies: Add x86.
61746 * sysdeps/x86_64/Implies: Likewise.
61747
61748 2012-05-30 David S. Miller <davem@davemloft.net>
61749
61750 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61751 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61752 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61753 (FP_TRAPPING_EXCEPTIONS): Define.
61754 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61755 (FP_TRAPPING_EXCEPTIONS): Define.
61756 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61757 subnormals only when inexact has been signalled or underflow
61758 exceptions are enabled.
61759 (_FP_PACK_CANONICAL): Likewise.
61760
61761 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61762
61763 [BZ #14183]
61764 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61765 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61766
61767 2012-05-30 Richard Henderson <rth@twiddle.net>
61768
61769 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61770 with #ifndef NOT_IN_libc.
61771
61772 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
61773 marked to avoid plt entry.
61774
61775 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61776
61777 [BZ #14112]
61778 * Makeconfig (default-abi): New macro.
61779 (abi-includes): Likewise.
61780 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
61781 $(abi-$(default-abi)-lib-soname) for soname if defined.
61782 ($(common-objpfx)gnu/lib-names.stmp): Generate from
61783 abi-variants.
61784 * Makefile (installed-stubs): Likewise.
61785 * include/stubs-biarch.h: Removed.
61786 * scripts/lib-names.awk: Only handle one library at a time.
61787 * scripts/soversions.awk: Remove WORDSIZE support.
61788 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61789 entries.
61790 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61791 Removed.
61792 (syscall-list-default-condition): Likewise.
61793 (syscall-list-default-condition): Likewise.
61794 (syscall-list-includes): Likewise.
61795 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61796 syscall-list-* with abi-*. Handle undefined abi-variants.
61797 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61798 * sysdeps/unix/sysv/linux/i386/Implies: New file.
61799 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61800 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61801 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61802 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61803 Removed.
61804 (syscall-list-32-options): Likewise.
61805 (syscall-list-32-condition): Likewise.
61806 (syscall-list-64-options): Likewise.
61807 (syscall-list-64-condition): Likewise.
61808 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61809 macro.
61810 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61811 Renamed to ...
61812 (abi-*): This.
61813 (abi-64-ld-soname): New macro.
61814 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61815 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61816 Renamed to ...
61817 (abi-*): This.
61818 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61819 * sysdeps/x86_64/x32/shlib-versions: Likewise.
61820
61821 2012-05-30 Joseph Myers <joseph@codesourcery.com>
61822
61823 * sysdeps/unix/sysv/linux/kernel-features.h
61824 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61825 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61826 include <kernel-features.h>.
61827 [!__NR_ftruncate64]: Remove conditional code.
61828 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61829 [__NR_ftruncate64]: Make code unconditional.
61830 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61831 * sysdeps/unix/sysv/linux/truncate64.c: Do not
61832 include <kernel-features.h>.
61833 [!__NR_ftruncate64]: Remove conditional code.
61834 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61835 [__NR_ftruncate64]: Make code unconditional.
61836 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61838 include <kernel-features.h>.
61839 [!__NR_ftruncate64]: Remove conditional code.
61840 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61841 [__NR_ftruncate64]: Make code unconditional.
61842 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61844 include <kernel-features.h>.
61845 [!__NR_ftruncate64]: Remove conditional code.
61846 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61847 [__NR_ftruncate64]: Make code unconditional.
61848 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61849
61850 * configure.in (libc_cv_fpie): Weaken to a compile test using
61851 LIBC_TRY_CC_OPTION.
61852 * configure: Regenerated.
61853
61854 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61855
61856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61860 Refreshed.
61861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61867 Refreshed.
61868
61869 2012-05-27 David S. Miller <davem@davemloft.net>
61870
61871 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61872 (___Q_zero): New.
61873 (__Q_simulate_exceptions): Return void. Change to simulate
61874 exceptions by writing into the %fsr.
61875 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61876 (__Qp_handle_exceptions): Likewise.
61877 (numbers): Delete.
61878 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61879 __Qp_handle_exceptions.
61880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61881 __Qp_handle_exceptions.
61882 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61883 as unused and give dummy FP_RND_NEAREST initializer.
61884 (FP_INHIBIT_RESULTS): Define.
61885 (___Q_simulate_exceptions): Update declaration.
61886 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61887 formatting.
61888 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61889 as unused and give dummy FP_RND_NEAREST initializer.
61890 (__Qp_handle_exceptions): Update declaration.
61891 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61892 formatting.
61893
61894 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
61895
61896 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61897 the temporary FPU control word.
61898 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61899 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61900 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61901 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61902 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61903 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61904 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61905 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61906 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61907 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61908 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61909
61910 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
61911
61912 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61913 fields.
61914
61915 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
61916
61917 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61918 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61919 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61920 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61921 Likewise.
61922 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61923 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61924 Likewise.
61925
61926 2012-05-27 Ulrich Drepper <drepper@gmail.com>
61927
61928 * po/h.po: Update from translation team.
61929
61930 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
61931
61932 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61933
61934 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61935 handling of denormals.
61936 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61937 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61938 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61939 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61940 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61941 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61942 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61943 Likewise.
61944
61945 2012-05-26 Marek Polacek <polacek@redhat.com>
61946
61947 [BZ #14152]
61948 * math/libm-test.inc (fma_test): Don't always expect underflow
61949 exception.
61950
61951 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
61952
61953 [BZ #12416]
61954 * elf/tst-execstack.c: Include stackinfo.h.
61955 (do_test): Adjust test case to ensure that pthread_getattr_np
61956 behaviour remains the same after marking stack executable.
61957
61958 2012-05-25 Joseph Myers <joseph@codesourcery.com>
61959
61960 * sysdeps/unix/sysv/linux/kernel-features.h
61961 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61962 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61963 kernel-features.h.
61964 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61965 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61966 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61967 kernel-features.h.
61968 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61969 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61970
61971 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
61972
61973 * configure.in: Define the default includes to being none.
61974 * configure: Regenerated.
61975
61976 2012-05-25 Roland McGrath <roland@hack.frob.com>
61977
61978 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61979 * sysdeps/x86_64/setjmp.S: Likewise.
61980 * sysdeps/i386/bsd-setjmp.S: Likewise.
61981 * sysdeps/i386/bsd-_setjmp.S: Likewise.
61982 * sysdeps/i386/setjmp.S: Likewise.
61983 * sysdeps/i386/__longjmp.S: Likewise.
61984 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61985 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61986
61987 * include/stap-probe.h: New file.
61988 * configure.in: Handle --enable-systemtap.
61989 * configure: Regenerated.
61990 * config.h.in (USE_STAP_PROBE): New #undef.
61991 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61992 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61993 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61994
61995 2012-05-25 Joseph Myers <joseph@codesourcery.com>
61996
61997 [BZ #13717]
61998 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61999 to 2.4.0 where earlier.
62000 * sysdeps/unix/sysv/linux/configure: Regenerated.
62001 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62002 <kernel-features.h>.
62003 [__ASSUME_32BITUIDS]: Make code unconditional.
62004 [!__ASSUME_32BITUIDS]: Remove conditional code.
62005 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
62006 <kernel-features.h>.
62007 [__ASSUME_32BITUIDS]: Make code unconditional.
62008 [!__ASSUME_32BITUIDS]: Remove conditional code.
62009 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62010 [__ASSUME_32BITUIDS]: Make code unconditional.
62011 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62012 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
62013 <kernel-features.h>.
62014 [__ASSUME_32BITUIDS]: Make code unconditional.
62015 [!__ASSUME_32BITUIDS]: Remove conditional code.
62016 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
62017 <kernel-features.h>.
62018 [__ASSUME_32BITUIDS]: Make code unconditional.
62019 [!__ASSUME_32BITUIDS]: Remove conditional code.
62020 * sysdeps/unix/sysv/linux/i386/getgid.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/i386/getgroups.c: Do not include
62025 <kernel-features.h>.
62026 [__ASSUME_32BITUIDS]: Make code unconditional.
62027 [!__ASSUME_32BITUIDS]: Remove conditional code.
62028 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62029 <kernel-features.h>.
62030 [__ASSUME_32BITUIDS]: Make code unconditional.
62031 [!__ASSUME_32BITUIDS]: Remove conditional code.
62032 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62033 <kernel-features.h>.
62034 [__ASSUME_32BITUIDS]: Make code unconditional.
62035 [!__ASSUME_32BITUIDS]: Remove conditional code.
62036 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
62037 <kernel-features.h>.
62038 [__ASSUME_32BITUIDS]: Make code unconditional.
62039 [!__ASSUME_32BITUIDS]: Remove conditional code.
62040 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62041 <kernel-features.h>.
62042 [__ASSUME_32BITUIDS]: Make code unconditional.
62043 [!__ASSUME_32BITUIDS]: Remove conditional code.
62044 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62045 <kernel-features.h>.
62046 [__ASSUME_32BITUIDS]: Make code unconditional.
62047 [!__ASSUME_32BITUIDS]: Remove conditional code.
62048 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
62049 <kernel-features.h>.
62050 [__ASSUME_32BITUIDS]: Make code unconditional.
62051 [!__ASSUME_32BITUIDS]: Remove conditional code.
62052 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
62053 <kernel-features.h>.
62054 [__NR_setresgid] (__setresgid): Do not declare.
62055 [__ASSUME_32BITUIDS]: Make code unconditional.
62056 [!__ASSUME_32BITUIDS]: Remove conditional code.
62057 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
62058 <kernel-features.h>.
62059 [__NR_setresuid] (__setresuid): Do not declare.
62060 [__ASSUME_32BITUIDS]: Make code unconditional.
62061 [!__ASSUME_32BITUIDS]: Remove conditional code.
62062 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
62063 <kernel-features.h>.
62064 [__ASSUME_32BITUIDS]: Make code unconditional.
62065 [!__ASSUME_32BITUIDS]: Remove conditional code.
62066 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
62067 <kernel-features.h>.
62068 [__ASSUME_32BITUIDS]: Make code unconditional.
62069 [!__ASSUME_32BITUIDS]: Remove conditional code.
62070 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
62071 <kernel-features.h>.
62072 [__ASSUME_32BITUIDS]: Make code unconditional.
62073 [!__ASSUME_32BITUIDS]: Remove conditional code.
62074 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
62075 <kernel-features.h>.
62076 [__ASSUME_32BITUIDS]: Make code unconditional.
62077 [!__ASSUME_32BITUIDS]: Remove conditional code.
62078 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
62079 <kernel-features.h>.
62080 [__ASSUME_32BITUIDS]: Make code unconditional.
62081 [!__ASSUME_32BITUIDS]: Remove conditional code.
62082 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
62083 <kernel-features.h>.
62084 [__ASSUME_32BITUIDS]: Make code unconditional.
62085 [!__ASSUME_32BITUIDS]: Remove conditional code.
62086 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
62087 <kernel-features.h>.
62088 [__ASSUME_32BITUIDS]: Make code unconditional.
62089 [!__ASSUME_32BITUIDS]: Remove conditional code.
62090 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
62091 <kernel-features.h>.
62092 [__ASSUME_32BITUIDS]: Make code unconditional.
62093 [!__ASSUME_32BITUIDS]: Remove conditional code.
62094 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
62095 <kernel-features.h>.
62096 [__ASSUME_32BITUIDS]: Make code unconditional.
62097 [!__ASSUME_32BITUIDS]: Remove conditional code.
62098 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62099 <kernel-features.h>.
62100 [__ASSUME_32BITUIDS]: Make code unconditional.
62101 [!__ASSUME_32BITUIDS]: Remove conditional code.
62102 * sysdeps/unix/sysv/linux/kernel-features.h
62103 (__ASSUME_SETRESUID_SYSCALL): Remove.
62104 (__ASSUME_SETRESGID_SYSCALL): Likewise.
62105 (__ASSUME_32BITUIDS): Likewise.
62106 (__ASSUME_LDT_WORKS): Likewise.
62107 (__ASSUME_O_DIRECTORY): Likewise.
62108 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
62109 architecture but not kernel version.
62110 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
62111 (__ASSUME_MMAP2_SYSCALL): Likewise.
62112 (__ASSUME_STAT64_SYSCALL): Likewise.
62113 (__ASSUME_IPC64): Likewise.
62114 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
62115 <kernel-features.h>.
62116 [__ASSUME_32BITUIDS]: Make code unconditional.
62117 [!__ASSUME_32BITUIDS]: Remove conditional code.
62118 * sysdeps/unix/sysv/linux/opendir.c: Do not include
62119 <kernel-features.h>.
62120 [__ASSUME_O_DIRECTORY]: Make code unconditional.
62121 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
62122 132096]: Remove conditional code.
62123 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
62124 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62125 <kernel-features.h>.
62126 [__ASSUME_32BITUIDS]: Make code unconditional.
62127 [!__ASSUME_32BITUIDS]: Remove conditional code.
62128 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62129 <kernel-features.h>.
62130 [__ASSUME_32BITUIDS]: Make code unconditional.
62131 [!__ASSUME_32BITUIDS]: Remove conditional code.
62132 * sysdeps/unix/sysv/linux/setegid.c: Do not include
62133 <kernel-features.h>.
62134 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62135 unconditional.
62136 (__setresgid): Do not declare.
62137 [__ASSUME_32BITUIDS]: Make code unconditional.
62138 [!__ASSUME_32BITUIDS]: Remove conditional code.
62139 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62140 <kernel-features.h>.
62141 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62142 unconditional.
62143 (__setresuid): Do not declare.
62144 [__ASSUME_32BITUIDS]: Make code unconditional.
62145 [!__ASSUME_32BITUIDS]: Remove conditional code.
62146 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62147 <kernel-features.h>.
62148 [__ASSUME_32BITUIDS]: Make code unconditional.
62149 [!__ASSUME_32BITUIDS]: Remove conditional code.
62150 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62151 <kernel-features.h>.
62152 [__ASSUME_32BITUIDS]: Make code unconditional.
62153 [!__ASSUME_32BITUIDS]: Remove conditional code.
62154
62155 2012-05-25 Richard Henderson <rth@twiddle.net>
62156
62157 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62158 dl_hwcap to ifunc resolver.
62159 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62160 elf_ifunc_invoke.
62161 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62162 dl_hwcap to ifunc resolver.
62163 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62164
62165 2012-05-24 Joseph Myers <joseph@codesourcery.com>
62166
62167 [BZ #14153]
62168 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62169 for |x| <= 2**-26, not 2**-57.
62170 * math/libm-test.inc (acos_test): Do not allow spurious underflow
62171 exception.
62172
62173 2012-05-24 Jeff Law <law@redhat.com>
62174
62175 * stdio-common/Makefile (tests): Add bug25.
62176 * stdio-common/bug25.c: New test.
62177
62178 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
62179
62180 [BZ #13576]
62181 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62182 multiple of MALLOC_ALIGNMENT in size.
62183 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62184
62185 2012-05-24 Joseph Myers <joseph@codesourcery.com>
62186
62187 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62188 Require >= 256.
62189 (FILENAME_MAX): Use macro-int-constant.
62190 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
62191 (_IOFBF): Use macro-int-constant.
62192 (_IOLBF): Likewise.
62193 (_IONBF): Likewise.
62194 (SEEK_CUR): Likewise.
62195 (SEEK_END): Likewise.
62196 (SEEK_SET): Likewise.
62197 (TMP_MAX): Likewise.
62198 (EOF): Use macro-int-constant. Require < 0.
62199 (NULL): Use macro-constant. Require == 0.
62200 (stdin): Require type to be FILE *.
62201 (stdout): Likewise.
62202 (stderr): Likewise.
62203 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62204 macro-int-constant.
62205 (EXIT_SUCCESS): Likewise.
62206 (NULL): Use macro-constant. Require == 0.
62207 (RAND_MAX): Use macro-int-constant.
62208 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62209 [C99-based standards] (strtof): Require function.
62210 [C99-based standards] (strtold): Likewise.
62211 [C99-based standards] (strtoll): Likewise.
62212 [C99-based standards] (strtoull): Likewise.
62213 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62214 [ISO || ISO99 || ISO11] (limits.h): Likewise.
62215 [ISO || ISO99 || ISO11] (math.h): Likewise.
62216 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62217 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62218 [ISO || ISO99 || ISO11] (*_t): Do not allow.
62219
62220 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
62221
62222 [BZ #14132]
62223 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62224 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62225 * intl/dgettext.c (DCGETTEXT): Likewise.
62226 * intl/gettext.c (DCGETTEXT): Likewise.
62227 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62228 * posix/regex_internal.h (gettext): Likewise.
62229 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62230 Remove declaration.
62231 * include/argz.h (__argz_count_internal)
62232 (__argz_stringify_internal): Remove declaration.
62233 (__argz_count, __argz_stringify): Declare hidden proto.
62234 * intl/dcgettext.c: Remove use of INTDEF.
62235 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62236 * string/argz-stringify.c: Likewise.
62237 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62238 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62239 Declare hidden proto.
62240 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62241 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62242 Declare hidden proto.
62243 * include/stdio.h (__asprintf_internal): Don't declare.
62244 (__asprintf): Don't define as macro. Declare hidden proto.
62245 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62246 (__fsetlocking): Declare hidden proto.
62247 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62248 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62249 hidden proto.
62250 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62251 (_IO_setlinebuf): Remove use of INTUSE.
62252 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62253 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62254 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62255 Remove declaration.
62256 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62257 (_IO_do_flush): Remove use of INTUSE.
62258 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62259 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62260 (_IO_adjust_column, _IO_least_wmarker)
62261 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62262 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62263 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62264 (_IO_default_doallocate, _IO_wdefault_doallocate)
62265 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62266 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62267 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62268 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62269 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62270 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62271 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62272 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62273 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62274 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62275 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62276 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
62277 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
62278 proto.
62279 (_IO_flush_all_internal, _IO_adjust_column_internal)
62280 (_IO_default_uflow_internal, _IO_default_finish_internal)
62281 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
62282 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
62283 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
62284 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
62285 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
62286 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
62287 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
62288 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
62289 (_IO_file_close_internal, _IO_file_close_it_internal)
62290 (_IO_file_underflow_internal, _IO_file_overflow_internal)
62291 (_IO_file_init_internal, _IO_file_attach_internal)
62292 (_IO_file_fopen_internal, _IO_file_read_internal)
62293 (_IO_file_sync_internal, _IO_file_seek_internal)
62294 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
62295 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
62296 (_IO_str_underflow_internal, _IO_str_overflow_internal)
62297 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
62298 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
62299 (_IO_list_all_internal, _IO_link_in_internal)
62300 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
62301 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
62302 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
62303 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
62304 (_IO_do_write_internal, _IO_padn_internal)
62305 (_IO_getline_info_internal, _IO_getline_internal)
62306 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
62307 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
62308 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
62309 (_IO_vfscanf_internal, _IO_vfprintf_internal)
62310 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
62311 (_IO_init_internal, _IO_un_link_internal): Don't declare.
62312 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
62313 with libc_hidden_ver, remove use of INTUSE.
62314 * libio/genops.c: Likewise.
62315 * libio/freopen.c: Likewise.
62316 * libio/freopen64.c: Likewise.
62317 * libio/iofclose.c: Likewise.
62318 * libio/iofdopen.c: Likewise.
62319 * libio/iofflush.c: Likewise.
62320 * libio/iofflush_u.c: Likewise.
62321 * libio/iofgets.c: Likewise.
62322 * libio/iofgets_u.c: Likewise.
62323 * libio/iofopen.c: Likewise.
62324 * libio/iofopncook.c: Likewise.
62325 * libio/iofread.c: Likewise.
62326 * libio/iofread_u.c: Likewise.
62327 * libio/ioftell.c: Likewise.
62328 * libio/iofwrite.c: Likewise.
62329 * libio/iogetline.c: Likewise.
62330 * libio/iogets.c: Likewise.
62331 * libio/iogetwline.c: Likewise.
62332 * libio/iopadn.c: Likewise.
62333 * libio/iopopen.c: Likewise.
62334 * libio/ioseekoff.c: Likewise.
62335 * libio/ioseekpos.c: Likewise.
62336 * libio/iosetbuffer.c: Likewise.
62337 * libio/iosetvbuf.c: Likewise.
62338 * libio/ioungetc.c: Likewise.
62339 * libio/ioungetwc.c: Likewise.
62340 * libio/iovdprintf.c: Likewise.
62341 * libio/iovsprintf.c: Likewise.
62342 * libio/iovsscanf.c: Likewise.
62343 * libio/memstream.c: Likewise.
62344 * libio/obprintf.c: Likewise.
62345 * libio/oldfileops.c: Likewise.
62346 * libio/oldiofclose.c: Likewise.
62347 * libio/oldiofdopen.c: Likewise.
62348 * libio/oldiofopen.c: Likewise.
62349 * libio/oldiopopen.c: Likewise.
62350 * libio/oldstdfiles.c: Likewise.
62351 * libio/putc.c: Likewise.
62352 * libio/setbuf.c: Likewise.
62353 * libio/setlinebuf.c: Likewise.
62354 * libio/stdfiles.c: Likewise.
62355 * libio/strops.c: Likewise.
62356 * libio/vasprintf.c: Likewise.
62357 * libio/vscanf.c: Likewise.
62358 * libio/vsnprintf.c: Likewise.
62359 * libio/vswprintf.c: Likewise.
62360 * libio/wfiledoalloc.c: Likewise.
62361 * libio/wfileops.c: Likewise.
62362 * libio/wgenops.c: Likewise.
62363 * libio/wmemstream.c: Likewise.
62364 * libio/wstrops.c: Likewise.
62365 * libio/__fpurge.c: Likewise.
62366 * libio/__fsetlocking.c: Likewise.
62367 * assert/assert.c: Likewise.
62368 * debug/fgets_chk.c: Likewise.
62369 * debug/fgets_u_chk.c: Likewise.
62370 * debug/fread_chk.c: Likewise.
62371 * debug/fread_u_chk.c: Likewise.
62372 * debug/gets_chk.c: Likewise.
62373 * debug/obprintf_chk.c: Likewise.
62374 * debug/vasprintf_chk.c: Likewise.
62375 * debug/vdprintf_chk.c: Likewise.
62376 * debug/vsnprintf_chk.c: Likewise.
62377 * debug/vsprintf_chk.c: Likewise.
62378 * malloc/mtrace.c: Likewise.
62379 * misc/error.c: Likewise.
62380 * misc/syslog.c: Likewise.
62381 * stdio-common/asprintf.c: Likewise.
62382 * stdio-common/fxprintf.c: Likewise.
62383 * stdio-common/getw.c: Likewise.
62384 * stdio-common/isoc99_fscanf.c: Likewise.
62385 * stdio-common/isoc99_scanf.c: Likewise.
62386 * stdio-common/isoc99_vfscanf.c: Likewise.
62387 * stdio-common/isoc99_vscanf.c: Likewise.
62388 * stdio-common/isoc99_vsscanf.c: Likewise.
62389 * stdio-common/printf-prs.c: Likewise.
62390 * stdio-common/printf_fp.c: Likewise.
62391 * stdio-common/printf_fphex.c: Likewise.
62392 * stdio-common/printf_size.c: Likewise.
62393 * stdio-common/putw.c: Likewise.
62394 * stdio-common/scanf.c: Likewise.
62395 * stdio-common/sprintf.c: Likewise.
62396 * stdio-common/tmpfile.c: Likewise.
62397 * stdio-common/vfprintf.c: Likewise.
62398 * stdio-common/vfscanf.c: Likewise.
62399 * stdlib/strfmon_l.c: Likewise.
62400 * sunrpc/openchild.c: Likewise.
62401 * sunrpc/xdr_stdio.c: Likewise.
62402 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62403 * sysdeps/mach/hurd/tmpfile.c: Likewise.
62404
62405 2012-05-24 Roland McGrath <roland@hack.frob.com>
62406
62407 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62408
62409 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62410 in the third column, to generate for the shared library an IFUNC
62411 that uses _dl_vdso_vsym.
62412 * Makerules (COMPILE.c, compile-stdin.c): New variables.
62413 * Makeconfig (object-suffixes-noshared): New variable.
62414
62415 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62416 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62417 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62418 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62419
62420 [BZ #14132]
62421 * include/sys/time.h (__gettimeofday): Remove macro.
62422 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62423 * time/gettimeofday.c (__gettimeofday): Remove #undef.
62424 Remove INTDEF.
62425 (__gettimeofday): Add libc_hidden_def.
62426 (gettimeofday): Add libc_hidden_weak.
62427 * sysdeps/mach/gettimeofday.c: Likewise.
62428 * sysdeps/posix/gettimeofday.c: Likewise.
62429 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62430 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62431 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62432 (__gettimeofday_internal): Remove strong_alias.
62433 (__gettimeofday): Add libc_hidden_def.
62434 (gettimeofday): Add libc_hidden_weak.
62435 * sysdeps/unix/syscalls.list (gettimeofday):
62436 Remove __gettimeofday_internal alias.
62437
62438 2012-05-24 Daniel Jacobowitz <drow@false.org>
62439 H.J. Lu <hongjiu.lu@intel.com>
62440
62441 [BZ #12495]
62442 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62443 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62444 (largebin_index_32_big): New.
62445 (largebin_index): Use it for 16-byte alignment.
62446 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
62447 correction with front_misalign.
62448
62449 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
62450
62451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62453 Likewise.
62454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62455 Likewise.
62456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62457 Likewise.
62458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62459 Likewise.
62460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62461 Likewise.
62462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62463 Likewise.
62464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62465 Likewise.
62466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62467 Likewise.
62468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62469 Likewise.
62470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62471 Likewise.
62472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62473 Likewise.
62474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62475 Likewise.
62476
62477 * scripts/data/c++-types-x32-linux-gnu.data: New file.
62478 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62479
62480 2012-05-24 Joseph Myers <joseph@codesourcery.com>
62481
62482 [BZ #10846]
62483 [BZ #14036]
62484 * math/libm-test.inc (exp_test): Add test from bug 14036.
62485 (pow_test): Add test from bug 10846.
62486
62487 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62488 and other flags.
62489 (special_function): Do not include flags in test name.
62490 (parse_args): Likewise.
62491 * sysdeps/i386/fpu/libm-test-ulps: Update.
62492 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62493 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62494 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62496
62497 * math/gen-libm-test.pl (%beautify): Add entries for underflow
62498 exceptions.
62499 * math/libm-test.inc ("Philosophy"): Update comment about
62500 exception testing.
62501 (UNDERFLOW_EXCEPTION): New macro.
62502 (UNDERFLOW_EXCEPTION_OK): Likewise.
62503 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62504 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62505 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62506 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62507 (INVALID_EXCEPTION_OK): Update value.
62508 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62509 (OVERFLOW_EXCEPTION_OK): Likewise.
62510 (IGNORE_ZERO_INF_SIGN): Likewise.
62511 (test_exceptions): Handle underflow exceptions.
62512 (acos_test): Update for underflow exception expectations.
62513 (cexp_test): Likewise.
62514 (clog_test): Likewise.
62515 (clog10_test): Likewise.
62516 (csqrt_test): Likewise.
62517 (ctan_test): Likewise.
62518 (ctanh_test): Likewise.
62519 (exp_test): Likewise.
62520 (exp10_test): Likewise.
62521 (exp2_test): Likewise.
62522 (expm1_test): Likewise.
62523 (fma_test): Likewise.
62524 (j0_test): Likewise.
62525 (jn_test): Likewise.
62526 (nexttoward_test): Likewise.
62527 (pow_test): Likewise.
62528 (scalbn_test): Likewise.
62529 (scalbln_test): Likewise.
62530 (tan_test): Likewise.
62531 (y1_test): Likewise.
62532 * sysdeps/i386/fpu/libm-test-ulps: Update.
62533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62534
62535 2012-05-23 David S. Miller <davem@davemloft.net>
62536
62537 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62538 (__libc_sigaction): Remove unused local variables.
62539
62540 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
62541
62542 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62543
62544 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
62545
62546 mktime: avoid signed integer overflow
62547 * time/mktime.c (__mktime_internal): Do not mishandle the case
62548 where diff == INT_MIN.
62549
62550 mktime: simplify computation of average
62551 * time/mktime.c (ranged_convert): Use new time_t_avg function
62552 instead of rolling our own (probably-slower) code.
62553
62554 mktime: do not assume signed right shift propagates sign bit
62555 * time/mktime.c (isdst_differ): New static function.
62556 (__mktime_internal): No need to normalize tm_isdst now.
62557 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62558 tm_isdst values.
62559
62560 mktime: merge another wrapv change from gnulib
62561 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62562 from some compilers.
62563
62564 mktime: remove incorrect attempt at unusual arithmetics
62565 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62566 The code didn't really work on such machines anyway.
62567 (TYPE_MINIMUM): Assume two's complement.
62568 (twos_complement_arithmetic): Verify that long_int and time_t
62569 are two's complement (or unsigned, in the latter case).
62570
62571 mktime: check signed shifts on long_int and time_t, too
62572 * time/mktime.c (SHR): Check that shifts work as desired
62573 on the types long_int and time_t too, as SHR is used on
62574 such types.
62575
62576 mktime: do not assume 'long' is wide enough
62577 * time/mktime.c (verify): Move decl up.
62578 (long_int): New type.
62579 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62580 to remove assumption in the code that 'long' is wide enough to
62581 store year values. This assumption is not true on x32 and on
62582 some non-glibc platforms.
62583
62584 mktime: merge wrapv change from gnulib
62585 * time/mktime.c (WRAPV): New macro.
62586 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62587 (guess_time_tm, __mktime_internal): Do not assume that signed
62588 integer overflow wraps around; modern compilers generate code
62589 where this assumption is no longer valid.
62590
62591 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
62592
62593 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62594 Replace "jmp L(pseudo_end)" with "ret".
62595 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62596 Likewise.
62597
62598 2012-05-23 Andreas Jaeger <aj@suse.de>
62599
62600 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62601 * sysdeps/unix/sysv/linux/poll.c: Remove file.
62602
62603 2012-05-23 Andreas Jaeger <aj@suse.de>
62604 Maximilian Attems <max@stro.at>
62605
62606 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62607 New macros.
62608
62609 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
62610
62611 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62612 code so that pseudo_end is just ret and the stack pointer is
62613 correct also for static library in error case.
62614
62615 2012-05-23 Joseph Myers <joseph@codesourcery.com>
62616
62617 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62618 move to syscalls.list.
62619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62623
62624 * manual/install.texi (Running make install): Do not mention Linux
62625 kernel version for which pt_chown is not needed.
62626 (Linux): Do not mention problems with nscd with 2.0 kernels.
62627 * INSTALL: Regenerated.
62628
62629 2012-05-23 Andreas Jaeger <aj@suse.de>
62630
62631 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62632 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62633 macro.
62634 * sysdeps/unix/sysv/linux/s390/bits/mman.h
62635 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62636 * sysdeps/unix/sysv/linux/sh/bits/mman.h
62637 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62638 * sysdeps/unix/sysv/linux/i386/bits/mman.h
62639 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62640 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62641 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62642 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62643 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62644 * sysdeps/unix/sysv/linux/bits/in.h
62645 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62646
62647 2012-05-22 Roland McGrath <roland@hack.frob.com>
62648
62649 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62650 (PREPARE_VERSION): Just use assert instead, it will be elided
62651 under [NDEBUG] anyway.
62652
62653 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62654
62655 * sysdeps/unix/sysv/linux/Makefile: Include
62656 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62657 (sysdep_routines): Remove sysctl.
62658 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62659 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62660 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62661 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62662 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62663
62664 2012-05-22 Andreas Jaeger <aj@suse.de>
62665
62666 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62667 that pseudo_end is just ret and the stack pointer is correct also
62668 for static library in error case.
62669
62670 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
62671
62672 [BZ #14122]
62673 * nss/nsswitch.c (defconfig_entries): New variable.
62674 (__nss_database_lookup): Don't leak defconfig entries.
62675 (nss_parse_service_list): Don't leak on error paths.
62676 (free_database_entries): New function.
62677 (free_defconfig): New function.
62678 (free_mem): Move common code to free_database_entries.
62679
62680 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62681
62682 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62683 Add arch_prctl.
62684 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62685
62686 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62687 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62688 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62689 New macro.
62690 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62691 (INTERNAL_SYSCALL_TYPES): Likewise.
62692 (LOAD_ARGS_TYPES_[1-6]): Likewise.
62693 (LOAD_REGS_TYPES_[1-6]): Likewise.
62694 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62695 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62696
62697 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62698
62699 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62700 copysignl for GLIBC_2_0.
62701 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62702 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62703 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62704 logbl for GLIBC_2_0.
62705 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62706 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62707
62708 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62709
62710 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62711 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
62712
62713 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62714 Use "neg %eax".
62715
62716 * time/mktime.c: Update copyright years.
62717
62718 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
62719
62720 mktime: merge comment-quoting-style change from gnulib
62721 * time/mktime.c: Quote 'like this' in comments.
62722 The GNU coding standards suggest that we no longer quote `like this',
62723 as "`" and "'" are typically rendered asymmetrically nowadays.
62724 The typical gnulib style is to quote 'like this' when quoting
62725 code, and "like this" when quoting English.
62726
62727 * time/mktime.c (compile-command): Add "-I.".
62728
62729 mktime: merge mktime-internal.h change from gnulib
62730 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62731
62732 mktime: merge time_r change from gnulib
62733 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62734
62735 mktime: merge DEBUG change from gnulib
62736 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62737 case system <time.h> has a #define.
62738
62739 mktime: merge <sys/types.h> change from gnulib
62740 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62741 since <time.t> is now guaranteed to define time_t.
62742
62743 mktime: merge HAVE_CONFIG_H change from gnulib
62744 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62745
62746 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62747
62748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62749 Use "neg %eax".
62750
62751 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62752 __rlim_t cast.
62753 (struct rusage): Use anonymous union to pad each field to
62754 __syscall_slong_t.
62755
62756 2012-05-21 David S. Miller <davem@davemloft.net>
62757
62758 * Makefules (o-iterator): Remove .s cases.
62759 (compile-command.s): Delete.
62760 (COMPILE.s): Delete.
62761 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62762
62763 2012-05-21 Joseph Myers <joseph@codesourcery.com>
62764
62765 * configure.in (libc_cv_predef_stack_protector): Only consider
62766 "foobar" and "__stack_chk_fail" lines in libc_undefs.
62767 * configure: Regenerated.
62768
62769 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
62770
62771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62772 New macro. Use R*LP on int and pointer.
62773 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62774 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62775 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62776 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62777
62778 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62779 [__WORDSIZE_TIME64_COMPAT32] instead of
62780 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62781 (struct utmp): Likewise.
62782 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62783 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62784 Renamed to ...
62785 (__WORDSIZE_TIME64_COMPAT32): This.
62786 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62787 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62788 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62789 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62790 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62791 (__WORDSIZE_TIME64_COMPAT32): New macro.
62792
62793 2012-05-21 Andreas Jaeger <aj@suse.de>
62794
62795 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62796 only if [SHARED]. Add prototype for __wcschr_ia32.
62797
62798 2012-05-21 Roland McGrath <roland@hack.frob.com>
62799
62800 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62801 of %rbp unmolested in the jmp_buf while mangling the low bits.
62802 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62803 unmolested high bits of %rbp while demangling the low bits.
62804 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62805
62806 2012-05-21 Andreas Jaeger <aj@suse.de>
62807
62808 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62809 * sunrpc/svc_simple.c: Use it for registerrpc.
62810 * sunrpc/xcrypt.c: Use it for passwd2des.
62811
62812 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62813
62814 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
62815
62816 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62817 Don't define if [__SYSCALL_WORDSIZE != 32].
62818 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62819 New macro.
62820
62821 2012-05-21 Bruno Haible <bruno@clisp.org>
62822 Andreas Jaeger <aj@suse.de>
62823
62824 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62825 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62826 inptr and inend for must_buffer_ch.
62827 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62828 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62829 * stdio-common/Makefile (tests): Remove bug15.
62830 (bug15-ENV): Remove macro.
62831 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62832 anymore.
62833
62834 2012-05-19 Andreas Jaeger <aj@suse.de>
62835 Roland McGrath <roland@hack.frob.com>
62836
62837 * manual/contrib.texi: Completely rewritten. It contains now an
62838 alphabetical list of contributors and their contributions.
62839
62840 2012-05-21 Richard Henderson <rth@twiddle.net>
62841
62842 * misc/getauxval.c (__getauxval): Use unsigned long int.
62843 * misc/sys/auxv.h: Include <sys/cdefs.h>.
62844 (getauxval): Use unsigned long int.
62845
62846 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
62847
62848 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62849
62850 2012-05-21 Roland McGrath <roland@hack.frob.com>
62851
62852 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62853 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62854 __alignof__ (long double).
62855
62856 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62857
62858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62859
62860 2012-05-20 Richard Henderson <rth@twiddle.net>
62861
62862 * misc/getauxval.c: New file.
62863 * misc/sys/auxv.h: New file.
62864 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62865 (routines): Add getauxval.
62866 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62867 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62868 * elf/dl-sysdep.c (_dl_auxv): Remove.
62869 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62870 * elf/dl-support.c (_dl_auxv): New variable.
62871 (_dl_aux_init): Initialize it.
62872 * manual/startup.texi (Auxiliary Vector): New node.
62873 * sysdeps/generic/bits/hwcap.h: New file.
62874 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62875 * sysdeps/powerpc/sysdep.h: ... here. Include it.
62876 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62877 * sysdeps/sparc/sysdep.h: ... here. Include it.
62878 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62879 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62881 Update.
62882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62885 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62890
62891 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62892
62893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62894
62895 2012-05-19 David S. Miller <davem@davemloft.net>
62896
62897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62898
62899 2012-05-19 Joseph Myers <joseph@codesourcery.com>
62900
62901 [BZ #14123]
62902 * math/s_ccosh.c: Include <float.h>
62903 (__ccosh): Avoid internal overflow calculating sinh and cosh
62904 values before multiplying by sin and cos values.
62905 * math/s_ccoshf.c: Likewise.
62906 * math/s_ccoshl.c: Likewise.
62907 * math/s_csin.c: Likewise.
62908 * math/s_csinf.c: Likewise.
62909 * math/s_csinl.c: Likewise.
62910 * math/s_csinh.c: Likewise.
62911 * math/s_csinhf.c: Likewise.
62912 * math/s_csinhl.c: Likewise.
62913 * math/libm-test.inc (ccos_test): Add more tests.
62914 (ccosh_test): Likewise.
62915 (csin_test): Likewise.
62916 (csinh_test): Likewise.
62917 * sysdeps/i386/fpu/libm-test-ulps: Update.
62918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62919
62920 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
62921
62922 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62923 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62924
62925 * sysdeps/x86_64/x32/_itoa.h: Add comment.
62926
62927 2012-05-19 Joseph Myers <joseph@codesourcery.com>
62928
62929 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62930 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62931 * sysdeps/powerpc/soft-fp/Versions: Likewise.
62932 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62933 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62934 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62935 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62936 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62937 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62938 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62939 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62940 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62941 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62942 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62943 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62944 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62945 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62946 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62947 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62948 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62949 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62950 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62951 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62952 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62953 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62954 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62955 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62956 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62957 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62958 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62959 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62960
62961 2012-05-18 Andreas Jaeger <aj@suse.de>
62962
62963 * csu/.gitignore: Delete.
62964
62965 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
62966
62967 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62968 (timex): Use __syscall_slong_t.
62969
62970 2012-05-18 Andreas Jaeger <aj@suse.de>
62971 Carlos O'Donell <carlos_odonell@mentor.com>
62972
62973 * manual/install.texi (Configuring and compiling): Update
62974 description about files modified in the source directory.
62975 * INSTALL: Regenerated.
62976
62977 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
62978
62979 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62980 value. Use "or" to set return value to -1.
62981 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62982 negate return value.
62983
62984 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62985
62986 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62987 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62988 failure if the compiler has Graphite support disabled.
62989 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62990 Likewise.
62991 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62992 (CFLAGS-memmove.c): Likewise.
62993 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62994 Likewise.
62995
62996 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
62997
62998 * sysdeps/x86_64/x32/_itoa.h: New file.
62999
63000 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63001 getdents system call only if kernel and user dirents have the
63002 same d_ino and d_off.
63003
63004 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63005 LLONG_MAX != LONG_MAX.
63006 (_itoa_word): Use _ITOA_WORD_TYPE on value.
63007 (_fitoa_word): Likewise.
63008
63009 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63010 years.
63011 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63012 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
63013 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
63014
63015 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
63016 include <bits/wordsize.h>. Check __x86_64__ instead of
63017 __WORDSIZE.
63018 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
63019 if __x86_64__ is defined. Use anonymous union on fpstate.
63020
63021 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
63022 anonymous union.
63023
63024 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
63025
63026 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
63027 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
63028 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
63029 Refer to _rtld_local_ro instead of _rtld_global_ro.
63030 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63031 Likewise.
63032 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
63033 Likewise.
63034 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
63035 Likewise.
63036 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
63037 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
63038 of _rtld_global, and rtld_progname instead of _dl_argv[0].
63039
63040 [BZ #10882]
63041 * sysdeps/powerpc/powerpc32/dl-machine.c
63042 (__elf_machine_runtime_setup) [PROF]: Don't reference
63043 _dl_prof_resolve.
63044
63045 2012-05-18 Andreas Jaeger <aj@suse.de>
63046
63047 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
63048 function only available for GCCs before 3.4 since GCC 3.4
63049 introduced a builtin.
63050 (lrint): Likewise.
63051 (llrintf): Likewise.
63052 (llrint): Likewise.
63053 (fmaxf): Likewise.
63054 (fmax): Likewise.
63055 (fminf): Likewise.
63056 (fmin): Likewise.
63057 (rint): Likewise.
63058 (rintf): Likewise.
63059 (nearbyint): Likewise.
63060 (nearbyintf): Likewise.
63061 (ceil): Likewise.
63062 (ceilf): Likewise.
63063 (floor): Likewise.
63064 (floorf): Likewise.
63065
63066 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
63067
63068 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
63069 on both fields and cast pointer to __syscall_ulong_t.
63070
63071 * bits/types.h (__fsword_t): New type.
63072 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
63073 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
63074 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63075 (__FSWORD_T_TYPE): Likewise.
63076 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63077 (__FSWORD_T_TYPE): Likewise.
63078 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63079 (__FSWORD_T_TYPE): Likewise.
63080 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
63081 (__FSWORD_T_TYPE): Likewise.
63082 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
63083 __SWORD_TYPE with __fsword_t.
63084 (statfs64): Likewise.
63085
63086 2012-05-17 David S. Miller <davem@davemloft.net>
63087
63088 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
63089
63090 2012-05-17 Andreas Jaeger <aj@suse.de>
63091
63092 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
63093 warning.
63094
63095 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
63096
63097 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
63098
63099 2012-05-17 Andreas Jaeger <aj@suse.de>
63100
63101 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
63102 when it is used.
63103
63104 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
63105
63106 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
63107
63108 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
63109
63110 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
63111 * sysdeps/x86_64/tst-mallocalign1.c: New file.
63112
63113 2012-05-17 Andreas Jaeger <aj@suse.de>
63114 Carlos O'Donell <carlos_odonell@mentor.com>
63115
63116 [BZ #14059]
63117 * sysdeps/x86_64/multiarch/init-arch.h
63118 (bit_YMM_Usable): Rename to...
63119 (bit_AVX_Usable): ... this.
63120 (bit_FMA4_Usable): New macro.
63121 (bit_XMM_state): New macro.
63122 (bit_YMM_state): New macro.
63123 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
63124 [__ASSEMBLER__] (index_AVX_Usable): ... this.
63125 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63126 (CPUID_OSXSAVE): New macro.
63127 (CPUID_AVX): New macro.
63128 (CPUID_FMA4): New macro.
63129 (index_YMM_Usable): Rename to...
63130 (index_AVX_Usable): ... this.
63131 (HAS_AVX): Use HAS_ARCH_FEATURE.
63132 (HAS_FMA4): Likewise.
63133 (HAS_YMM_USABLE): Remove.
63134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63135 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63136 are present.
63137 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63138 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63139 * sysdeps/x86_64/multiarch/Makefile: Likewise.
63140 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63141 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63142
63143 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
63144
63145 * math/libm-test.c: Support platforms without multiple rounding modes.
63146 * math/bug-nextafter.c: Support platforms without FP exceptions.
63147 * math/bug-nexttoward.c: Likewise.
63148 * math/test-fenv.c: Likewise.
63149 * math/test-misc.c: Likewise.
63150 * stdlib/bug-getcontext.c: Likewise.
63151
63152 2012-05-17 Andreas Jaeger <aj@suse.de>
63153
63154 * manual/examples/search.c (critter_cmp): Change signature to
63155 avoid warnings.
63156 * manual/string.texi (Collation Functions): Likewise.
63157
63158 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63159
63160 * bits/types.h: Fold copyright years.
63161 * bits/typesizes.h: Likewise.
63162 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63163 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63164 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63166 * time/time.h: Likewise.
63167
63168 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
63169
63170 [BZ #208]
63171 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63172 in instead of returning them. Return void.
63173 (__libc_mallinfo): Accumulate over all arenas.
63174 (__malloc_stats): Adjust for change in int_mallinfo interface.
63175
63176 2012-05-16 Roland McGrath <roland@hack.frob.com>
63177
63178 [BZ #10375]
63179 * configure.in (NM): Add AC_CHECK_TOOL for it.
63180 (libc_extra_cflags): New substituted variable.
63181 Check for -fstack-protector being used implicitly.
63182 * configure: Regenerated.
63183 * config.make.in (config-extra-cflags): New variable,
63184 gets @libc_extra_cflags@.
63185 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63186
63187 [BZ #10375]
63188 * configure.in: Check for _FORTIFY_SOURCE being predefined.
63189 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63190 * configure: Regenerated.
63191 * config.make.in (CPPUNDEFS): New substituted variable.
63192 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63193 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63194 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63195
63196 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63197
63198 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63199 (mq_attr): Use __syscall_slong_t.
63200
63201 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63202
63203 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63204 Check __x86_64__ instead of __WORDSIZE.
63205 (_STAT_VER_LINUX): Likewise.
63206 (stat): Check __x86_64__ instead of __WORDSIZE. Use
63207 __syscall_ulong_t and __syscall_slong_t.
63208 (stat64): Likewise.
63209
63210 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63211
63212 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63213
63214 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63215
63216 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63217
63218 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63219
63220 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63221 __syscall_ulong_t.
63222
63223 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63224 include <bits/wordsize.h>. Check __x86_64__ instead of
63225 __WORDSIZE.
63226 (greg_t): Use "__extension__ long long int" if __x86_64__ is
63227 defined.
63228 (mcontext_t): Replace "unsigned long" with "unsigned long long".
63229
63230 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63231 include <bits/wordsize.h>. Check __x86_64__ instead of
63232 __WORDSIZE.
63233 (user_regs_struct): Use "__extension__ unsigned long long"
63234 instead of "unsigned long" if __x86_64__ is defined.
63235 (user): Likewise. Pad after pointer field if __ILP32__ is
63236 defined.
63237
63238 2012-05-16 Joseph Myers <joseph@codesourcery.com>
63239
63240 * configure.in (makeinfo): Require version 4.5 or later. Allow
63241 versions 5 to 9.
63242 * configure: Regenerated.
63243 * manual/install.texi (texinfo): Increase version requirement to
63244 4.5 or later.
63245 * INSTALL: Regenerated.
63246
63247 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63248
63249 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63250
63251 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63252
63253 * sysdeps/x86_64/x32/ffs.c: New file.
63254
63255 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63256 __syscall_ulong_t.
63257 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63258 defined. Use __syscall_ulong_t.
63259 (shminfo): Use __syscall_ulong_t.
63260 (shm_info): Likewise.
63261
63262 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63263 __syscall_ulong_t.
63264
63265 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63266 <bits/wordsize.h>.
63267 (msgqnum_t): Use __syscall_ulong_t.
63268 (msglen_t): Likewise.
63269 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
63270 __syscall_ulong_t.
63271
63272 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63273 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
63274
63275 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
63276
63277 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
63278 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
63279
63280 * sysvipc/sys/msg.h (msgbuf): Replace long int with
63281 __syscall_slong_t.
63282
63283 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
63284 include <bits/wordsize.h>. Check __x86_64__ instead of
63285 __WORDSIZE.
63286
63287 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
63288 "unsigned long long int" if __x86_64__ is defined.
63289 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
63290
63291 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
63292 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
63293 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
63294
63295 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
63296 <stdint.h>.
63297 (GET_PC): Cast to uintptr_t first.
63298 (GET_FRAME): Likewise.
63299 (GET_STACK): Likewise.
63300
63301 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
63302 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
63303 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
63304 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
63305 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
63306 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
63307 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
63308 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
63309 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
63310 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
63311 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
63312 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
63313 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63314 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
63315 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
63316 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
63317 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
63318 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
63319 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
63320 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
63321 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
63322 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
63323 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
63324 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
63325 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
63326 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
63327 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
63328 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
63329 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
63330
63331 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
63332
63333 * Makerules (+depfiles): Also collect depfiles from .oS in
63334 $(extra-objs).
63335 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
63336 .oS, $(libnldbl-routines)).
63337
63338 * Makerules (native-compile-mkdep-flags): Define.
63339 * sunrpc/Makefile (extra-objs): Add $(addprefix
63340 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
63341 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
63342 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
63343 calling $(make-target-directory).
63344
63345 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63346
63347 * bits/types.h (__snseconds_t): Removed.
63348 * time/time.h (struct timespec): Replace __snseconds_t with
63349 __syscall_slong_t.
63350 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
63351 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
63352 Likewise.
63353 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63354 (__SNSECONDS_T_TYPE): Likewise.
63355 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63356 (__SNSECONDS_T_TYPE): Likewise.
63357 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63358 (__SNSECONDS_T_TYPE): Likewise.
63359
63360 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63361
63362 * sysdeps/mach/hurd/bits/typesizes.h
63363 (__SYSCALL_SLONG_TYPE): New macro.
63364 (__SYSCALL_ULONG_TYPE): Likewise.
63365
63366 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63367
63368 * bits/types.h (__syscall_slong_t): New type.
63369 (__syscall_ulong_t): Likewise.
63370
63371 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
63372 (__SYSCALL_ULONG_TYPE): Likewise.
63373 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63374 (__SYSCALL_SLONG_TYPE): Likewise.
63375 (__SYSCALL_ULONG_TYPE): Likewise.
63376 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63377 (__SYSCALL_SLONG_TYPE): Likewise.
63378 (__SYSCALL_ULONG_TYPE): Likewise.
63379 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63380 (__SYSCALL_SLONG_TYPE): Likewise.
63381 (__SYSCALL_ULONG_TYPE): Likewise.
63382
63383 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63384
63385 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63386 Add sigaltstack-offsets.sym.
63387 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63388 <sigaltstack-offsets.h>.
63389 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
63390 longjmp_msg pointer.
63391 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
63392 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63393 signal stack.
63394 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63395
63396 2012-05-15 Joseph Myers <joseph@codesourcery.com>
63397
63398 * elf/stackguard-macros.h: Remove file.
63399 * sysdeps/generic/stackguard-macros.h: New file.
63400 * sysdeps/i386/stackguard-macros.h: Likewise.
63401 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63402 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63403 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63404 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63405 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63406 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63407 * sysdeps/x86_64/stackguard-macros.h: Likewise.
63408 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63409 <elf/stackguard-macros.h>.
63410
63411 [BZ #14109]
63412 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63413 __aligned__ in attribute.
63414 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63415 (gregset_t): Likewise.
63416
63417 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63418
63419 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63420 * sysdeps/x86_64/64/Implies-after: Here. New file.
63421 * sysdeps/x86_64/x32/Implies-after: New file.
63422
63423 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63424
63425 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63426 and access return value for _dl_profile_fixup. Use R10_LP to
63427 load frame size.
63428
63429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63430
63431 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63432
63433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63434
63435 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63436 * sysdeps/x86_64/x32/sysdep.h: New file.
63437
63438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63439
63440 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63441 * sysdeps/x86_64/setjmp.S: Likewise.
63442
63443 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63444
63445 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63446 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63447 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63448 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63449 remove unused global constant.
63450
63451 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
63452
63453 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63454 include of <not-cancel.h>.
63455
63456 2012-05-15 Roland McGrath <roland@hack.frob.com>
63457
63458 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63459
63460 2012-05-15 Jeff Law <law@redhat.com>
63461 Andreas Jaeger <aj@suse.de>
63462
63463 [BZ #13594]
63464 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63465 out from...
63466 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63467 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63468 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63469 code changing __hst_map_handle.map.
63470
63471 2012-05-15 Roland McGrath <roland@hack.frob.com>
63472
63473 * configure.in (sysnames): Look for Implies-before and Implies-after
63474 files.
63475 * configure: Regenerated.
63476
63477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63478
63479 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63480 8-byte data alignment with LP_SIZE alignment.
63481
63482 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63483
63484 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63485 into R10_LP.
63486
63487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63488
63489 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63490
63491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63492
63493 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63494 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63495 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63496 Likewise.
63497 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63498
63499 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63500
63501 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63502 (stackinfo_sub_sp): Likewise.
63503
63504 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63505
63506 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63507 RAX_LP.
63508
63509 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63510
63511 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63512 into R*_LP.
63513
63514 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63515
63516 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63517 sizes into R*_LP.
63518
63519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63520
63521 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63522
63523 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63524
63525 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63526 into R11_LP and load __x86_64_shared_cache_size_half into
63527 R8_LP.
63528
63529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63530
63531 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63532 R8_LP.
63533
63534 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63535
63536 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63537 logb for POWER7.
63538 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63539 logbf for POWER7.
63540 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63541 logbl for POWER7.
63542 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63543 powerpc32/power7/fpu/s_logb.c via #include.
63544 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63545 powerpc32/power7/fpu/s_logbf.c via #include.
63546 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63547 powerpc32/power7/fpu/s_logbl.c via #include.
63548
63549 2012-05-15 Joseph Myers <joseph@codesourcery.com>
63550
63551 * README.libm: Remove file.
63552
63553 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63554
63555 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63556 count for x32. Use R*_LP and omit operand-size suffix.
63557
63558 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63559
63560 * shlib-versions: Move x86_64-.*-linux.* entries to ...
63561 * sysdeps/x86_64/64/shlib-versions: Here. New file.
63562 * sysdeps/x86_64/x32/shlib-versions: New file.
63563
63564 2012-05-14 Roland McGrath <roland@hack.frob.com>
63565
63566 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63567 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63568 Use _dl_fatal_printf instead.
63569
63570 2012-05-14 Joseph Myers <joseph@codesourcery.com>
63571
63572 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63573 set if not set by the user. Do not allow for being unset.
63574 * sysdeps/unix/sysv/linux/configure: Regenerated.
63575
63576 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63577
63578 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63579 the `q' suffix from lea and replace .quad with ASM_ADDR.
63580
63581 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63582
63583 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63584 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
63585 instead of $17.
63586 (PTR_DEMANGLE): Likewise.
63587
63588 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63589
63590 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63591 (LP_OP): Likewise.
63592 (ASM_ADDR): Likewise.
63593 (RAX_LP): Likewise.
63594 (RBP_LP): Likewise.
63595 (RBX_LP): Likewise.
63596 (RCX_LP): Likewise.
63597 (RDI_LP): Likewise.
63598 (RSI_LP): Likewise.
63599 (RSP_LP): Likewise.
63600 (R8_LP): Likewise.
63601 (R9_LP): Likewise.
63602 (R10_LP): Likewise.
63603 (R10_LP): Likewise.
63604 (R11_LP): Likewise.
63605 (R12_LP): Likewise.
63606 (R13_LP): Likewise.
63607 (R14_LP): Likewise.
63608 (R15_LP): Likewise.
63609
63610 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63611
63612 * sysdeps/x86_64/x32/dl-machine.h: New file.
63613
63614 2012-05-14 Andreas Jaeger <aj@suse.de>
63615
63616 * manual/Makefile (subdir): Remove export of subdir.
63617 (all): Remove target.
63618 (.PHONY): Remove all from list.
63619 (mkinstalldirs): Remove.
63620 (.PHONY): Remove installdirs from list.
63621 ($(inst_infodir)/libc.info): Use make-target-directory.
63622 (installdirs): Remove.
63623 (subdir_%): Remove.
63624 (glibc-targets): Remove.
63625 (lib): Remove.
63626 (stubs): Remove.
63627 ($(objpfx)stubs ../po/manual.pot): Remove.
63628 ($(objpfx)stamp%): Remove.
63629 (make-target-directory): Remove.
63630 (subdir_install): Remove.
63631 (routines): Remove.
63632 (aux): Remove.
63633 (sources): Remove.
63634 (objects): Remove.
63635 (headers): Remove.
63636
63637 [BZ #13750]
63638 * manual/.gitignore: Remove, it's not needed anymore.
63639 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63640 all files in it.
63641 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63642 directory.
63643 (texis): Renamed to $(objpfx)texis.
63644 (texis-path): New, contains path to generated files.
63645 (chapters.%): Use texis-path for complete path, add extra argument
63646 libc-texinfo.sh.
63647 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63648 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63649 (summary,texi, stamp-summary): Use complete path of
63650 files. Generate files in build dir.
63651 (dir-add.texi): Build in build dir.
63652 (libm-err.texi,stamp-libm-err): Likewise.
63653 (version.texi, stamp-version): Likewise.
63654 (.%c.texi): Likewise.
63655 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63656 (mostlyclean): Remove target.
63657 (realclean): Remove target.
63658 (generated): Add new variable with contents from mostlyclean and
63659 realclean, remove entries duplicated in common-mostlyclean, add
63660 stamp-libm-err and stamp-version.
63661 (generated-dirs): Add libc directory.
63662 ($(inst_infodir)/libc.info): Install files from build dir.
63663
63664 * manual/install.texi (Configuring and compiling): Adjust since
63665 the info files are not part of the tar ball anymore.
63666
63667 2012-05-14 Andreas Jaeger <aj@suse.de>
63668
63669 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63670 variable.
63671
63672 2012-05-14 Joseph Myers <joseph@codesourcery.com>
63673
63674 [BZ #13717]
63675 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63676 to 2.2.0 where earlier.
63677 * sysdeps/unix/sysv/linux/configure: Regenerated.
63678 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63679 Remove conditional code.
63680 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63681 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63682 Remove conditional code.
63683 [!__NR_lchown]: Likewise.
63684 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63685 [__NR_lchown]: Likewise.
63686 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63687 comment referencing __ASSUME_LCHOWN_SYSCALL.
63688 * sysdeps/unix/sysv/linux/i386/sigaction.c
63689 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63690 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63691 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63692 Remove conditional code.
63693 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63694 (__protocol_available): Remove #if 0 code.
63695 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63696 conditional code.
63697 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63698 * sysdeps/unix/sysv/linux/kernel-features.h
63699 (__ASSUME_GETCWD_SYSCALL): Don't define.
63700 (__ASSUME_REALTIME_SIGNALS): Likewise.
63701 (__ASSUME_PREAD_SYSCALL): Likewise.
63702 (__ASSUME_PWRITE_SYSCALL): Likewise.
63703 (__ASSUME_POLL_SYSCALL): Likewise.
63704 (__ASSUME_LCHOWN_SYSCALL): Likewise.
63705 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63706 non-SPARC.
63707 (__ASSUME_SIOCGIFNAME): Don't define.
63708 (__ASSUME_MSG_NOSIGNAL): Likewise.
63709 (__ASSUME_SENDFILE): Define unconditionally.
63710 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63711 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63712 conditional code.
63713 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63714 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63715 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63716 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63717 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63718 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63719 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63721 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63722 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63724 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63725 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63727 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63728 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63730 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63731 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63733 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63734 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63736 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63737 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63739 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63740 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63742 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63743 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63744 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63745 Remove conditional code.
63746 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63747 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63748 Remove conditional code.
63749 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63750 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63751 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63752 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63753 Remove conditional code.
63754 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63755 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63756 Remove conditional code.
63757 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63758 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63759 Remove conditional code.
63760 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63761 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63762 Remove conditional code.
63763 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63764 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63765 Remove conditional code.
63766 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63767 * sysdeps/unix/sysv/linux/sh/pwrite64.c
63768 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63769 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63770 * sysdeps/unix/sysv/linux/sigaction.c
63771 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63772 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63773 * sysdeps/unix/sysv/linux/sigpending.c
63774 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63775 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63776 * sysdeps/unix/sysv/linux/sigprocmask.c
63777 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63778 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63779 * sysdeps/unix/sysv/linux/sigsuspend.c
63780 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63781 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63782 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63783 (__libc_missing_rt_sigs): Remove.
63784 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63785 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63786 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63787 Remove conditional code.
63788 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63789 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63790 return 1.
63791 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63792 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63793 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63794 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63795
63796 2012-05-14 Andreas Jaeger <aj@suse.de>
63797
63798 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63799 it's not used in glibc.
63800 (__coshm1): Likewise.
63801 (__acosh1p): Likewise.
63802 (__sgn): Likewise.
63803
63804 * manual/string.texi (Copying and Concatenation): Add missing
63805 variable in concat example.
63806 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63807
63808 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63809
63810 [BZ #14103]
63811 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63812 __builtin_clzl with __builtin_clzll.
63813
63814 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63815
63816 [BZ #14104]
63817 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63818 libc_freeres_ptr.
63819
63820 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
63821
63822 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63823 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63824 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63825 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63826
63827 2012-05-14 Mike Frysinger <vapier@gentoo.org>
63828
63829 * NEWS: Update ia64 info.
63830
63831 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
63832
63833 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63834 used as bcopy.
63835
63836 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
63837
63838 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63839 * sysdeps/unix/syscalls.list (dup3): Likewise.
63840 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63841 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63842
63843 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
63844
63845 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63846 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63847
63848 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
63849
63850 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63851 thread pointer.
63852 (TLS_IE): Use mov/add instead of movq/addq to load thread
63853 pointer.
63854 (TLS_GD_PREFIX): New.
63855 (TLS_GD): Use it.
63856
63857 2012-05-11 David S. Miller <davem@davemloft.net>
63858
63859 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63860 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63861 (_FPU_SETCW): Likewise.
63862
63863 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
63864
63865 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63866 is 32-byte aligned.
63867
63868 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
63869
63870 [BZ #11837]
63871 * iconvdata/gb18030.c: Update tables.
63872 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
63873 characters specially.
63874 (BODY for TO_LOOP): Add encoding of missing ranges.
63875
63876 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
63877
63878 [BZ #13673]
63879 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63880 * sysdeps/mach/hurd/dup3.c: Likewise.
63881 * sysdeps/mach/hurd/readlinkat.c: Likewise.
63882 * sysdeps/powerpc/memmove.c:: Likewise.
63883
63884 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
63885
63886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63887 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63888
63889 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
63890
63891 * elf/elf.h (R_X86_64_RELATIVE64): New.
63892 (R_X86_64_NUM): Updated.
63893 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63894 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
63895 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63896 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63897 tst-quad1pie tst-quad2pie
63898 (modules-names): Add tst-quadmod1 tst-quadmod2.
63899 ($(objpfx)tst-quad1): New dependency.
63900 ($(objpfx)tst-quad2): Likewise.
63901 ($(objpfx)tst-quad1pie): Likewise.
63902 ($(objpfx)tst-quad2pie): Likewise.
63903 * sysdeps/x86_64/tst-quad1.c: New file.
63904 * sysdeps/x86_64/tst-quad1pie.c: New file.
63905 * sysdeps/x86_64/tst-quad2.c: Likewise.
63906 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63907 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63908 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63909 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63910 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63911
63912 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63913
63914 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63915 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63916 * streams/stropts.h (t_scalar_t): Define type.
63917
63918 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63919 (_PATH_PRESERVE): Set to "/var/lib".
63920 (_PATH_RWHODIR): Set to "/var/spool/rwho".
63921
63922 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63923 instead of int.
63924
63925 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63926 if __dir_mkfile succeeded.
63927
63928 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63929 checking for _hurd_dtablesize. Unlock it right after having
63930 finished _hurd_dtable allocation.
63931
63932 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63933
63934 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63935 * sysdeps/mach/hurd/configure: Regenerated.
63936 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63937 special-casing to...
63938 * sysdeps/gnu/configure.in: ... this new file.
63939 * sysdeps/unix/sysv/linux/configure: Regenerated.
63940 * sysdeps/gnu/configure: New generated file.
63941
63942 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63943 for Linux: use nsec instead of usec, as well as:
63944 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63945 members of type struct timespec.
63946 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63947 New macros.
63948 (struct stat64): Likewise.
63949 (_STATBUF_ST_NSEC): New macro.
63950 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63951
63952 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63953 __strtoul_internal rather than strtoul.
63954
63955 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
63956
63957 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63958 and reject them.
63959
63960 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63961
63962 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63963 which preserves existing values.
63964 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63965
63966 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
63967
63968 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63969 TIMEOUT values. Return EINVAL for NFDS values either negative or
63970 greater than FD_SETSIZE.
63971
63972 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63973
63974 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63975 allocated, call __vm_protect to finish enabling the existing space, and
63976 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63977 allocate the remainder.
63978
63979 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
63980
63981 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63982 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
63983
63984 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63985
63986 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63987 sysdeps/mach/hurd/readlink.c.
63988
63989 * posix/tst-sysconf.c (posix_options): Only use
63990 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63991 _POSIX_SYNCHRONIZED_IO when they are defined
63992 * sysdeps/mach/hurd/bits/posix_opt.h:
63993 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63994 (_XOPEN_REALTIME): Undefine macro.
63995 (_XOPEN_REALTIME_THREADS): Undefine macro.
63996 (_XOPEN_SHM): Undefine macro.
63997 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63998 macro to -1.
63999 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64000 macro to -1.
64001 (_POSIX_ASYNC_IO): Undefine macro.
64002 (_POSIX_PRIORITIZED_IO): Undefine macro.
64003 (_POSIX_SPIN_LOCKS): Define macro to -1.
64004
64005 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64006 SA_NODEFER, SA_RESETHAND.
64007 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64008 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64009 F_DUPFD_CLOEXEC.
64010
64011 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64012
64013 * elf/Makefile (pldd-modules): Define unconditionally.
64014
64015 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64016
64017 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
64018
64019 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64020
64021 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
64022 Return ENOENT when name is empty.
64023 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
64024
64025 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64026
64027 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
64028
64029 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
64030
64031 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64032
64033 Fix mlock in all cases except non-readable pages.
64034 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
64035 instead of VM_PROT_ALL as parameter to __vm_wire function.
64036
64037 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
64038 (__mkdir): When path is `/', just fail with EEXIST.
64039 * sysdeps/mach/hurd/mkdirat.c: Likewise.
64040
64041 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64042
64043 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
64044 <sys/uio.h> (for writev).
64045 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
64046 and <sys/param.h> (for MIN).
64047
64048 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
64049
64050 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
64051 REQUESTED_TIME. Properly set the remaining time and return EINTR
64052 if interrupted.
64053
64054 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64055
64056 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
64057 Depend on against $(link-rpcuserlibs).
64058
64059 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64060
64061 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
64062 (__libc_stack_end): Do not use attribute_relro.
64063 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
64064 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
64065 to libthread-provided value.
64066 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
64067 attribute_relro.
64068
64069 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64070
64071 [BZ #3748]
64072 * bits/libc-lock.h (__libc_once_get): New macro.
64073 * sysdeps/mach/bits/libc-lock.h: Likewise.
64074 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
64075 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
64076 instead of using implementation details.
64077
64078 * libio/fileops.c: Unconditionally include <kernel-features.h>.
64079 * libio/freopen.c: Likewise.
64080 * libio/freopen64.c: Likewise.
64081 * misc/syslog.c: Likewise.
64082 * nscd/connections.c: Likewise.
64083 * nscd/netgroupcache.c: Likewise.
64084 * sysdeps/posix/getcwd.c: Likewise.
64085
64086 2012-05-10 Roland McGrath <roland@hack.frob.com>
64087
64088 * math/w_ilogbf.c: Add #include <limits.h>.
64089
64090 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64091
64092 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
64093 path instead of returning without unlocking.
64094
64095 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
64096 immediate-write ioctls.
64097 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
64098
64099 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64100
64101 * sysdeps/mach/hurd/i386/init-first.c (init): Use
64102 __builtin_frame_address instead of making assumptions about the
64103 location of the return address relative to DATA. Force early load of
64104 the return address.
64105 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
64106 __builtin_frame_address.
64107
64108 dup3 for GNU Hurd.
64109 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
64110 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
64111 implement dup3 and do some further code clean-ups.
64112 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
64113 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
64114
64115 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64116
64117 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
64118
64119 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
64120 HURD_CRITICAL_END around holding _hurd_dtable_lock.
64121 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
64122 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
64123 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
64124 d->port.lock.
64125
64126 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64127 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
64128 when handler == SIG_ERR, not when handler != SIG_ERR.
64129
64130 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64131
64132 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64133 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64134 definitions.
64135
64136 accept4 for GNU Hurd.
64137 * include/sys/socket.h (__libc_accept4): New prototype.
64138 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
64139 to implement __libc_accept4.
64140 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64141 __libc_accept4.
64142 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64143
64144 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64145 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64146 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64147 signal-defines.sym.
64148
64149 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64150
64151 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64152
64153 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64154
64155 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64156 assertion on O_CLOEXEC flag.
64157 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64158 * hurd/intern-fd.c: Likewise.
64159 * hurd/port2fd.c: Likewise.
64160
64161 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64162
64163 [BZ #3906]
64164 * bits/in.h (IPV6_PKTINFO): Define new macro.
64165 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64166
64167 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64168
64169 [BZ #13954]
64170 [BZ #13955]
64171 [BZ #13956]
64172 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64173 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64174 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64175 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64176 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64177 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64178 * math/libm-test.inc (logb_test) : Additional logb tests.
64179
64180 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
64181 Andreas Jaeger <aj@suse.de>
64182
64183 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64184 * configure: Regenerated.
64185 * config.h.in (LINK_OBSOLETE_RPC): New macro.
64186 * config.make.in (link-obsolete-rpc): New substituted variable.
64187 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64188 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64189 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64190 (shared-only-routines): Don't set it under [link-obsolete-rpc],
64191 so that libc.a contains the symbols.
64192 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64193 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64194 * sunrpc/auth_none.c: Likewise.
64195 * sunrpc/auth_unix.c: Likewise.
64196 * sunrpc/authdes_prot.c: Likewise.
64197 * sunrpc/authuxprot.c: Likewise.
64198 * sunrpc/clnt_gen.c: Likewise.
64199 * sunrpc/clnt_perr.c: Likewise.
64200 * sunrpc/clnt_raw.c: Likewise.
64201 * sunrpc/clnt_simp.c: Likewise.
64202 * sunrpc/clnt_tcp.c: Likewise.
64203 * sunrpc/clnt_udp.c: Likewise.
64204 * sunrpc/clnt_unix.c: Likewise.
64205 * sunrpc/des_crypt.c: Likewise.
64206 * sunrpc/des_soft.c: Likewise.
64207 * sunrpc/get_myaddr.c: Likewise.
64208 * sunrpc/key_call.c: Likewise.
64209 * sunrpc/key_prot.c: Likewise.
64210 * sunrpc/netname.c: Likewise.
64211 * sunrpc/pm_getmaps.c: Likewise.
64212 * sunrpc/pm_getport.c: Likewise.
64213 * sunrpc/pmap_clnt.c: Likewise.
64214 * sunrpc/pmap_prot.c: Likewise.
64215 * sunrpc/pmap_prot2.c: Likewise.
64216 * sunrpc/pmap_rmt.c: Likewise.
64217 * sunrpc/publickey.c: Likewise.
64218 * sunrpc/rpc_cmsg.c: Likewise.
64219 * sunrpc/rpc_common.c: Likewise.
64220 * sunrpc/rpc_dtable.c: Likewise.
64221 * sunrpc/rpc_prot.c: Likewise.
64222 * sunrpc/rpc_thread.c: Likewise.
64223 * sunrpc/rtime.c: Likewise.
64224 * sunrpc/svc.c: Likewise.
64225 * sunrpc/svc_auth.c: Likewise.
64226 * sunrpc/svc_raw.c: Likewise.
64227 * sunrpc/svc_run.c: Likewise.
64228 * sunrpc/svc_tcp.c: Likewise.
64229 * sunrpc/svc_udp.c: Likewise.
64230 * sunrpc/svc_unix.c: Likewise.
64231 * sunrpc/svcauth_des.c: Likewise.
64232 * sunrpc/xcrypt.c: Likewise.
64233 * sunrpc/xdr.c: Likewise.
64234 * sunrpc/xdr_array.c: Likewise.
64235 * sunrpc/xdr_float.c: Likewise.
64236 * sunrpc/xdr_intXX_t.c: Likewise.
64237 * sunrpc/xdr_mem.c: Likewise.
64238 * sunrpc/xdr_rec.c: Likewise.
64239 * sunrpc/xdr_ref.c: Likewise.
64240 * sunrpc/xdr_sizeof.c: Likewise.
64241 * sunrpc/xdr_stdio.c: Likewise.
64242
64243 2012-05-10 Roland McGrath <roland@hack.frob.com>
64244
64245 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64246 change. Update copyright years.
64247
64248 2012-05-10 Joseph Myers <joseph@codesourcery.com>
64249
64250 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64251
64252 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
64253 Joseph Myers <joseph@codesourcery.com>
64254 Paul Pluzhnikov <ppluzhnikov@google.com>
64255
64256 [BZ #14012]
64257 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64258 requiring rpcgen.
64259 [cross-compiling] (extra-libs): Likewise.
64260 [cross-compiling] (extra-libs-others): Likewise.
64261 [cross-compiling] (librpcsvc-routines): Likewise.
64262 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64263 [cross-compiling] (omit-deps): Likewise.
64264 (sunrpc-CPPFLAGS): New variable.
64265 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64266 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64267 (cross-rpcgen-objs): New variable.
64268 (extra-objs): Append $(cross-rpcgen-objs).
64269 ($(cross-rpcgen-objs)): New rule.
64270 ($(objpfx)cross-rpcgen): Likewise.
64271 (rpcgen-cmd): Define to use $(built-program-file). Expand
64272 comment.
64273 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64274 ($(objpfx)x%.stmp): Likewise.
64275 * sunrpc/proto.h [IS_IN_build] (_): Define.
64276 [IS_IN_build] (_libc_intl_domainname): Likewise.
64277
64278 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
64279
64280 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
64281 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
64282 and R_X86_64_TPOFF64.
64283
64284 2012-05-10 Joseph Myers <joseph@codesourcery.com>
64285
64286 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
64287 sysdeps/unix/sysv/syscalls.list.
64288 (stime): Likewise.
64289 (utime): Likewise.
64290 * sysdeps/unix/sysv/syscalls.list: Remove file.
64291
64292 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
64293
64294 [BZ #3440]
64295 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
64296 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
64297 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
64298 (__LC_IDENTIFICATION): Make these macros useful in #if
64299 expressions, as required by C99.
64300
64301 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
64302
64303 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
64304 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
64305 after this.
64306
64307 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
64308
64309 * stdlib/longlong.h: Updated from GCC.
64310
64311 2012-05-09 Andreas Jaeger <aj@suse.de>
64312
64313 * nscd/nscd.c (run_modes): Make named enum, reorder so that
64314 default is first entry.
64315 (run_mode): Set type.
64316 (main): Remove informal message about syslog.
64317 (options): Fix typo.
64318
64319 [BZ #14053]
64320 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
64321 to asm.
64322 (lrint): Likewise.
64323 (llrintf): Likewise.
64324 (llrint): Likewise.
64325 (rint): Likewise.
64326 (rintf): Likewise.
64327 (nearbyint): Likewise.
64328 (nearbyintf): Likewise.
64329
64330 2012-05-09 Andreas Jaeger <aj@suse.de>
64331 Pedro Alves <palves@redhat.com>
64332
64333 * nscd/nscd.c (run_mode): Use enum.
64334 (main): Cleanup coding style issue.
64335
64336 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
64337 Andreas Jaeger <aj@suse.de>
64338
64339 * nscd/nscd.c (go_background): Replaced with...
64340 (run_mode): ... this.
64341 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
64342 (options): Add -F --foreground.
64343 (main): Implement it.
64344 (parse_opt): Parse it.
64345
64346 2012-05-09 Andreas Jaeger <aj@suse.de>
64347
64348 [BZ #14083]
64349 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
64350 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
64351 -Wconversion warning.
64352 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
64353 Likewise.
64354
64355 2012-05-09 Joseph Myers <joseph@codesourcery.com>
64356
64357 * conform/data/locale.h-data (NULL): Use macro-constant. Require
64358 == 0.
64359 (LC_ALL): Use macro-int-constant.
64360 (LC_COLLATE): Likewise.
64361 (LC_CTYPE): Likewise.
64362 (LC_MESSAGES): Likewise.
64363 (LC_MONETARY): Likewise.
64364 (LC_NUMERIC): Likewise.
64365 (LC_TIME): Likewise.
64366 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
64367 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64368 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64369 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
64370 Specify type.
64371 [C99-based standards] (float_t): Expect type.
64372 [C99-based standards] (double_t): Expect type.
64373 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
64374 type.
64375 [C99-based standards] (HUGE_VALL): Likewise.
64376 [C99-based standards] (INFINITY): Likewise.
64377 [C99-based standards] (NAN): Likewise.
64378 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64379 [C99-based standards] (FP_NAN): Likewise.
64380 [C99-based standards] (FP_NORMAL): Likewise.
64381 [C99-based standards] (FP_SUBNORMAL): Likewise.
64382 [C99-based standards] (FP_ZERO): Likewise.
64383 [C99-based standards] (FP_FAST_FMA): Use
64384 optional-macro-int-constant. Specify type. Require == 1.
64385 [C99-based standards] (FP_FAST_FMAF): Likewise.
64386 [C99-based standards] (FP_FAST_FMAL): Likewise.
64387 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64388 [C99-based standards] (FP_ILOGBNAN): Likewise.
64389 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64390 Specify type.
64391 [C99-based standards] (MATH_ERREXCEPT): Likewise.
64392 [C99-based standards] (math_errhandling): Specify type.
64393 [ISO99 || ISO11] (signgam): Do not allow.
64394 [non-C99-based standards] (copysignf): Do not allow.
64395 [non-C99-based standards] (exp2f): Likewise.
64396 [non-C99-based standards] (log2f): Likewise.
64397 [non-C99-based standards] (modff): Allow.
64398 [non-C99-based standards] (erff): Do not allow.
64399 [non-C99-based standards] (erfcf): Likewise.
64400 [non-C99-based standards] (gammaf): Likewise.
64401 [non-C99-based standards] (hypotf): Likewise.
64402 [non-C99-based standards] (j0f): Likewise.
64403 [non-C99-based standards] (j1f): Likewise.
64404 [non-C99-based standards] (jnf): Likewise.
64405 [non-C99-based standards] (lgammaf): Likewise.
64406 [non-C99-based standards] (tgammaf): Likewise.
64407 [non-C99-based standards] (y0f): Likewise.
64408 [non-C99-based standards] (y1f): Likewise.
64409 [non-C99-based standards] (ynf): Likewise.
64410 [non-C99-based standards] (isnanf): Likewise.
64411 [non-C99-based standards] (acoshf): Likewise.
64412 [non-C99-based standards] (asinhf): Likewise.
64413 [non-C99-based standards] (atanhf): Likewise.
64414 [non-C99-based standards] (cbrtf): Likewise.
64415 [non-C99-based standards] (expm1f): Likewise.
64416 [non-C99-based standards] (ilogbf): Likewise.
64417 [non-C99-based standards] (log1pf): Likewise.
64418 [non-C99-based standards] (logbf): Likewise.
64419 [non-C99-based standards] (nextafterf): Likewise.
64420 [non-C99-based standards] (remainderf): Likewise.
64421 [non-C99-based standards] (rintf): Likewise.
64422 [non-C99-based standards] (scalbf): Likewise.
64423 [non-C99-based standards] (copysignl): Likewise.
64424 [non-C99-based standards] (exp2l): Likewise.
64425 [non-C99-based standards] (log2l): Likewise.
64426 [non-C99-based standards] (modfl): Allow.
64427 [non-C99-based standards] (erfl): Do not allow.
64428 [non-C99-based standards] (erfcl): Likewise.
64429 [non-C99-based standards] (gammal): Likewise.
64430 [non-C99-based standards] (hypotl): Likewise.
64431 [non-C99-based standards] (j0l): Likewise.
64432 [non-C99-based standards] (j1l): Likewise.
64433 [non-C99-based standards] (jnl): Likewise.
64434 [non-C99-based standards] (lgammal): Likewise.
64435 [non-C99-based standards] (tgammal): Likewise.
64436 [non-C99-based standards] (y0l): Likewise.
64437 [non-C99-based standards] (y1l): Likewise.
64438 [non-C99-based standards] (ynl): Likewise.
64439 [non-C99-based standards] (isnanl): Likewise.
64440 [non-C99-based standards] (acoshl): Likewise.
64441 [non-C99-based standards] (asinhl): Likewise.
64442 [non-C99-based standards] (atanhl): Likewise.
64443 [non-C99-based standards] (cbrtl): Likewise.
64444 [non-C99-based standards] (expm1l): Likewise.
64445 [non-C99-based standards] (ilogbl): Likewise.
64446 [non-C99-based standards] (log1pl): Likewise.
64447 [non-C99-based standards] (logbl): Likewise.
64448 [non-C99-based standards] (nextafterl): Likewise.
64449 [non-C99-based standards] (remainderl): Likewise.
64450 [non-C99-based standards] (rintl): Likewise.
64451 [non-C99-based standards] (scalbl): Likewise.
64452 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64453 [non-C99-based standards] (FP_*): Do not allow.
64454 [C99-based standards] (FP_*): Change to
64455 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64456 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64457 allow.
64458 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64459 (SIG_ERR): Likewise.
64460 [X/Open-based standards] (SIG_HOLD): Likewise.
64461 (SIG_IGN): Likewise.
64462 (SIGABRT): Use macro-int-constant. Specify type. Require
64463 positive value.
64464 (SIGFPE): Likewise.
64465 (SIGILL): Likewise.
64466 (SIGINT): Likewise.
64467 (SIGSEGV): Likewise.
64468 (SIGTER): Likewise.
64469 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64470 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64471 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64472 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64473 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64474 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64475 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64476 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64477 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64478 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64479 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64480 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64481 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64482 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64483 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64484 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64485 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64486 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64487 [X/Open-based standards] (SIGTRAP): Likewise.
64488 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64489 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64490 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64491 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64492 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64493 allow.
64494
64495 2012-05-08 Ian Wienand <ianw@vmware.com>
64496
64497 [BZ #14080]
64498 * time/tzset.c (__tzset_parse_tz): Update default rules for
64499 daylight time changes in the Energy Policy Act of 2005.
64500
64501 2012-05-09 Andreas Jaeger <aj@suse.de>
64502
64503 [BZ #13983]
64504 * elf/ldconfig.c (parse_conf): Change string to make clear that
64505 ldconfig only issued a warning if ld.so.conf does not exist.
64506
64507 2012-05-08 David S. Miller <davem@davemloft.net>
64508
64509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64510 movxtod instead of popping the value on the stack.
64511
64512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64513
64514 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
64515
64516 * config.h.in: Add HAVE_ARM_PCS_VFP.
64517
64518 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
64519
64520 [BZ #13979]
64521 * include/features.h: Warn if user requests __FORTIFY_SOURCE
64522 checking but the checks are disabled for any reason.
64523
64524 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
64525
64526 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64527 and ELF64_R_TYPE with ELFW(R_TYPE).
64528
64529 2012-05-08 Joseph Myers <joseph@codesourcery.com>
64530
64531 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64532 (ulimit): Likewise.
64533
64534 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64535 (settimeofday): Likewise.
64536
64537 2012-05-08 Mike Frysinger <vapier@gentoo.org>
64538
64539 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
64540 a struct th_u2 inside the union, and move tu_block/tu_code into
64541 a new th_u3 union of tu_block/tu_code inside of that. Move
64542 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
64543 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
64544 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64545 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64546 (th_stuff): Change to th_u1.tu_stuff.
64547 (th_data): Define.
64548 (th_msg): Change to th_u1.th_u2.tu_data.
64549
64550 2012-05-07 David S. Miller <davem@davemloft.net>
64551
64552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64553
64554 [BZ #14074]
64555 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64556 (SETUP_PIC_REG): Use it.
64557 (SETUP_PIC_REG_LEAF): Use it.
64558
64559 2012-05-07 Joseph Myers <joseph@codesourcery.com>
64560
64561 [BZ #13885]
64562 [BZ #13923]
64563 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64564 USE_AS_EXPM1L.
64565 (EXPL_FINITE): Likewise.
64566 (FLDLOG): Likewise.
64567 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64568 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64569 e_expl.S.
64570 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64571 USE_AS_EXPM1L.
64572 (EXPL_FINITE): Likewise.
64573 (FLDLOG): Likewise.
64574 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64575 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64576 e_expl.S.
64577 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
64578 test of -max_value argument for long double.
64579 * sysdeps/i386/fpu/libm-test-ulps: Update.
64580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64581
64582 2012-05-06 David S. Miller <davem@davemloft.net>
64583
64584 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64585 quad soft-float symbols whose references which are compiler
64586 generated.
64587 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64588
64589 2012-05-06 Joseph Myers <joseph@codesourcery.com>
64590
64591 [BZ #13884]
64592 [BZ #13914]
64593 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64594 USE_AS_EXP10L.
64595 (EXPL_FINITE): Likewise.
64596 (FLDLOG): Likewise.
64597 (c0): Likewise.
64598 (c1): Likewise.
64599 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
64600 Adjust comments for base varying.
64601 (__expl_finite): Change alias to EXPL_FINITE.
64602 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64603 e_expl.S.
64604 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64605 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64606 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64607 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64608 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64609 USE_AS_EXP10L.
64610 (EXPL_FINITE): Likewise.
64611 (FLDLOG): Likewise.
64612 (c0): Likewise.
64613 (c1): Likewise.
64614 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
64615 Adjust comments for base varying.
64616 (__expl_finite): Change alias to EXPL_FINITE.
64617 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
64618 tests for bugs.
64619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64620
64621 [BZ #14064]
64622 * math/libm-test.inc (check_float_internal): Correct ulp
64623 calculation for subnormal expected results.
64624
64625 2012-05-06 Andreas Jaeger <aj@suse.de>
64626
64627 * Makeconfig (+math-flags): New, set to -frounding-math.
64628 (+cflags): Add +math-flags so that all of glibc gets compiled with
64629 it.
64630
64631 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64632
64633 2012-05-05 Joseph Myers <joseph@codesourcery.com>
64634
64635 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64636 Disable one test.
64637
64638 [BZ #13787]
64639 [BZ #13922]
64640 [BZ #14036]
64641 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64642 (__ieee754_expl): Allow for and saturate large arguments.
64643 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64644 (u_threshold): Likewise.
64645 (__exp): Call __ieee754_exp before checking for overflow and
64646 underflow.
64647 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64648 (u_threshold): Likewise.
64649 (__expf): Call __ieee754_expf before checking for overflow and
64650 underflow.
64651 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64652 (u_threshold): Likewise.
64653 (__expl): Call __ieee754_expl before checking for overflow and
64654 underflow.
64655 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64656 (__ieee754_expl): Allow for and saturate large arguments.
64657 * math/libm-test.inc (exp_test): Add another test. Do not allow
64658 missing overflow exception on overflow.
64659 (expm1_test): Do not allow missing overflow exception on overflow.
64660
64661 * sysdeps/i386/fpu/e_expl.c: Move to ...
64662 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
64663 rather than using inline asm.
64664 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64665 * sysdeps/x86_64/fpu/e_expl.S: Copy from
64666 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64667
64668 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64669 (nice): Likewise.
64670 (poll): Likewise.
64671 (signal): Likewise.
64672 (time): Likewise.
64673 (times): Likewise.
64674
64675 2012-05-04 Joseph Myers <joseph@codesourcery.com>
64676
64677 * sysdeps/unix/syscalls.list (adjtime): Add entry from
64678 sysdeps/unix/common/syscalls.list.
64679 (fchmod): Likewise.
64680 (fchown): Likewise.
64681 (ftruncate): Likewise.
64682 (getrusage): Likewise.
64683 (gettimeofday): Likewise.
64684 (setpgid): Likewise.
64685 (setregid): Likewise.
64686 (setreuid): Likewise.
64687 (sigaction): Likewise.
64688 (truncate): Likewise.
64689 (vhangup): Likewise.
64690 * sysdeps/unix/common/syscalls.list: Remove file.
64691 * sysdeps/unix/bsd/Implies: Don't include unix/common.
64692 * sysdeps/unix/sysv/linux/Implies: Likewise.
64693
64694 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
64695
64696 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64698 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64699 Moved to ...
64700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64701 Here.
64702 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64703 to ...
64704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64705 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64706 to ...
64707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64708 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64709 to ...
64710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64711 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64712 to ...
64713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64714 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64715 to ...
64716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64717 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64718 to ...
64719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64720 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64721 to ...
64722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64723 Here.
64724 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64725 to ...
64726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64727 Here.
64728 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64729 to ...
64730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64731 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64732 Moved to ...
64733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64734 Here.
64735 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64736 to ...
64737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64738
64739 2012-05-04 Joseph Myers <joseph@codesourcery.com>
64740
64741 * sysdeps/unix/common/bits/dirent.h: Remove file.
64742 * sysdeps/unix/common/bits/fcntl.h: Likewise.
64743
64744 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64745 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64746 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64747 * sysdeps/unix/bsd/isatty.c: Likewise.
64748 * sysdeps/unix/bsd/tcdrain.c: Likewise.
64749 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64750 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64751
64752 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64753
64754 [BZ #13563]
64755 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64756 long double comparison inaccuracies.
64757 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64759
64760 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
64761
64762 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64763 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64764
64765 2012-05-04 Joseph Myers <joseph@codesourcery.com>
64766
64767 [BZ #14049]
64768 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64769 nonzero digits before rounding a hex value.
64770 * stdlib/tst-strtod.c (tests): Add another test.
64771
64772 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64773
64774 * sysdeps/s390/fpu/libm-test-ulps: Update.
64775
64776 2012-05-03 Andreas Jaeger <aj@suse.de>
64777
64778 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64779 does not get optimized out.
64780 (malloc_opt_barrier): New.
64781
64782 2012-05-03 Andreas Jaeger <aj@suse.de>
64783 Roland McGrath <roland@hack.frob.com>
64784
64785 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64786 intermediate file deletion.
64787 (generated): Add .symlist files.
64788
64789 2012-05-03 Joseph Myers <joseph@codesourcery.com>
64790
64791 [BZ #13775]
64792 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64793 Redirect under this condition.
64794 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64795 [__USE_GNU] (__dprintf_chk): Not under this condition.
64796 [__USE_GNU] (__vdprintf_chk): Likewise.
64797 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64798 under this condition.
64799 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64800 [__USE_XOPEN2K8] (dprintf): Define under this condition.
64801 [__USE_XOPEN2K8] (vdprintf): Likewise.
64802 [__USE_GNU] (__dprintf_chk): Not under this condition.
64803 [__USE_GNU] (__vdprintf_chk): Likewise.
64804 [__USE_GNU] (dprintf): Likewise.
64805 [__USE_GNU] (vdprintf): Likewise.
64806
64807 2012-05-03 Roland McGrath <roland@hack.frob.com>
64808
64809 * elf/Makefile (common-generated): Set this instead of generated for
64810 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
64811 $(all-built-dso)-derived lists.
64812
64813 2012-05-03 Andreas Jaeger <aj@suse.de>
64814
64815 * sysdeps/i386/fpu/libm-test-ulps: Update.
64816
64817 * FAQ: Removed.
64818 * FAQ.in: Likewise.
64819 * scripts/gen-FAQ.pl: Likewise.
64820 * manual/install.texi (Installation): Point to online location of
64821 FAQ.
64822 * Makefile (files-for-dist): Remove FAQ.
64823 (FAQ): Remove.
64824
64825 2012-05-02 Allan McRae <allan@archlinux.org>
64826
64827 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64828 (LDFLAGS-reldepmod5.so): Likewise.
64829 (LDFLAGS-reldep6mod1.so): Likewise.
64830 (LDFLAGS-reldep6mod4.so): Likewise.
64831 (LDFLAGS-reldep8mod3.so): Likewise.
64832 (LDFLAGS-unload4mod1.so): Likewise.
64833 (LDFLAGS-unload4mod2.so): Likewise.
64834 (LDFLAGS-tst-initorder): Likewise.
64835 (LDFLAGS-tst-initordera2.so): Likewise.
64836 (LDFLAGS-tst-initordera3.so): Likewise.
64837 (LDFLAGS-tst-initordera4.so): Likewise.
64838 (LDFLAGS-tst-initorderb2.so): Likewise.
64839 (LDFLAGS-noload): Likewise.
64840 (LDFLAGS-next): Likewise.
64841 (LDFLAGS-order2mod1.so): Likewise.
64842 (LDFLAGS-order2mod2.so): Likewise.
64843 (LDFLAGS-tst-initorder2): Likewise.
64844 (LDFLAGS-tst-initorder2a.so): Likewise.
64845 (LDFLAGS-tst-initorder2b.so): Likewise.
64846 (LDFLAGS-tst-initorder2c.so): Likewise.
64847 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64848
64849 2012-05-02 David S. Miller <davem@davemloft.net>
64850
64851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64852
64853 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
64854
64855 [BZ #14055]
64856 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64857
64858 2012-05-02 Andreas Jaeger <aj@suse.de>
64859
64860 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64861 since we manipulate rounding mode.
64862 (CPPFLAGS-test-idouble.c): Likewise.
64863 (CPPFLAGS-test-ifloat.c): Likewise.
64864 (CFLAGS-test-ldouble.c): Likewise.
64865 (CFLAGS-test-double.c): Likewise.
64866 (CFLAGS-test-float.c): Likewise.
64867 (CFLAGS-test-misc.c): Likewise.
64868 (CFLAGS-test-test-fenv.c): Likewise.
64869
64870 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64871
64872 [BZ #2550]
64873 [BZ #2570]
64874 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64875 comparisons to determine direction to adjust input.
64876
64877 2012-05-01 Roland McGrath <roland@hack.frob.com>
64878
64879 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64880 output to the target.
64881
64882 * scripts/localplt.awk: New file.
64883 * elf/Makefile ($(objpfx)check-localplt): Target removed.
64884 (check-localplt-CFLAGS): Variable removed.
64885 ($(all-built-dso:=.jmprel)): New static pattern rule.
64886 (generated): Add those targets.
64887 (localplt-built-dso): New variable.
64888 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64889
64890 * elf/check-localplt.c: File removed.
64891
64892 * scripts/check-execstack.awk: New file.
64893 * elf/Makefile ($(objpfx)check-execstack): Target removed.
64894 (check-execstack-CFLAGS): Variable removed.
64895 ($(objpfx)check-execstack.h): Target removed.
64896 ($(objpfx)execstack-default): New target.
64897 (generated): Add that instead of check-execstack.h.
64898 ($(all-built-dso:=.phdr)): New static pattern rule.
64899 (generated): Add those targets.
64900 * elf/check-execstack.c: File removed.
64901
64902 * scripts/check-textrel.awk: New file.
64903 * elf/Makefile ($(objpfx)check-textrel): Target removed.
64904 (check-textrel-CFLAGS): Variable removed.
64905 (all-built-dso): Use := to define.o
64906 ($(all-built-dso:=.dyn)): New static pattern rule.
64907 (generated): Add those targets.
64908 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64909 * config.make.in (READELF): New substituted variable.
64910 * elf/check-textrel.c: File removed.
64911
64912 2012-05-01 Joseph Myers <joseph@codesourcery.com>
64913
64914 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64915 allow.
64916 * conform/data/ctype.h-data [C99-based standards] (isblank):
64917 Expect function.
64918 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64919 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64920 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64921 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64922 Specify type. Require positive value.
64923 (EILSEQ): Likewise.
64924 (ERANGE): Likewise.
64925 [ISO || POSIX] (EILSEQ): Do not expect.
64926 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64927 Specify type. Require positive value.
64928 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64929 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64930 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64931 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64932 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64933 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64934 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64935 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64936 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64937 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64938 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64939 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64940 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64941 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64942 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64943 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64944 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64945 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64946 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64947 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64948 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64949 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64950 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64951 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64952 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64953 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64954 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64955 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64956 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64957 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64958 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64959 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64960 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64961 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64962 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64963 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64964 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64965 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64966 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64967 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64968 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64969 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64970 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64971 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64972 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64973 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64974 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64975 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64976 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64977 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64978 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64979 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64980 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64981 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64982 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64983 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64984 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64985 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64986 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64987 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64988 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64989 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64990 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64991 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64992 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64993 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64994 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64995 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64996 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64997 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64998 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64999 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65000 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65001 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65002 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65003 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65004 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65005 Require >= 2.
65006 (FLT_ROUNDS): Expect as macro, not constant.
65007 (FLT_MANT_DIG): Use macro-int-constant.
65008 (DBL_MANT_DIG): Likewise.
65009 (LDBL_MANT_DIG): Likewise.
65010 (FLT_DIG): Likewise.
65011 (DBL_DIG): Likewise.
65012 (LDBL_DIG): Likewise.
65013 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
65014 (DBL_MIN_EXP): Likewise.
65015 (LDBL_MIN_EXP): Likewise.
65016 (FLT_MAX_EXP): Use macro-int-constant.
65017 (DBL_MAX_EXP): Likewise.
65018 (LDBL_MAX_EXP): Likewise.
65019 (FLT_MAX_10_EXP): Likewise.
65020 (DBL_MAX_10_EXP): Likewise.
65021 (LDBL_MAX_10_EXP): Likewise.
65022 (FLT_MAX): Use macro-constant.
65023 (DBL_MAX): Likewise.
65024 (LDBL_MAX): Likewise.
65025 (FLT_EPSILON): Use macro-constant. Give upper bound.
65026 (DBL_EPSILON): Likewise.
65027 (LDBL_EPSILON): Likewise.
65028 (FLT_MIN): Likewise.
65029 (DBL_MIN): Likewise.
65030 (LDBL_MIN): Likewise.
65031 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
65032 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
65033 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
65034 [ISO11] (FLT_HAS_SUBNORM): Likewise.
65035 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
65036 [ISO11] (DBL_DECIMAL_DIG): Likewise.
65037 [ISO11] (FLT_DECIMAL_DIG): Likewise.
65038 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
65039 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
65040 [ISO11] (FLT_TRUE_MIN): Likewise.
65041 [ISO11] (LDBL_TRUE_MIN): Likewise.
65042 [ISO || ISO99 || ISO11] (*_t): Do not allow.
65043 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
65044 (SCHAR_MIN): Use macro-int-constant. Specify type.
65045 (SCHAR_MAX): Likewise.
65046 (UCHAR_MAX): Likewise.
65047 (CHAR_MIN): Likewise.
65048 (CHAR_MAX): Likewise.
65049 (MB_LEN_MAX): Use macro-int-constant.
65050 (SHRT_MIN): Use macro-int-constant. Specify type.
65051 (SHRT_MAX): Likewise.
65052 (USHRT_MAX): Likewise.
65053 (INT_MAX): Likewise.
65054 (INT_MIN): Use macro-int-constant. Specify type. Make upper
65055 bound negative.
65056 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
65057 bound with "U".
65058 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
65059 bound with "L".
65060 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
65061 bound negative. Suffix upper bound with "L".
65062 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
65063 bound with "UL".
65064 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
65065 Specify type.
65066 [C99-based standards] (LLONG_MAX): Likewise.
65067 [C99-based standards] (ULLONG_MAX): Likewise.
65068 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
65069 == 0.
65070 [ISO11] (max_align_t): Require type.
65071 [ISO || ISO99 || ISO11] (*_t): Do not allow.
65072
65073 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
65074 from $CFLAGS, without defining away __attribute__ calls.
65075 (checknamespace): Use $CFLAGS_namespace.
65076
65077 * conform/conformtest.pl (@keywords): Only include C99 keywords
65078 for standards based on C99 or C11.
65079
65080 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
65081 Disable tests.
65082 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
65083 UNIX98]: Likewise.
65084
65085 * conform/conformtest.pl: Handle "macro-int-constant" and test for
65086 usability of symbols in #if.
65087
65088 * conform/conformtest.pl: If macro or constant types start
65089 "promoted:", expect the symbol to be of the following type
65090 promoted by the integer promotions.
65091
65092 * conform/conformtest.pl: Parse all "constant" and "macro" lines
65093 in one place. Also handle "macro-constant".
65094
65095 * conform/conformtest.pl: Only accept expected macro values with
65096 "==". Parse all "macro" lines in one place.
65097 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
65098
65099 * conform/conformtest.pl: Handle braced types on "constant" lines
65100 instead of handling "typed-constant".
65101 * conform/data/signal.h-data: Use "constant" instead of
65102 "typed-constant".
65103
65104 * conform/conformtest.pl: Handle "optional-" at start of lines in
65105 one place rather than duplicating several cases. Handle each
65106 format of "macro" line with initial "optional-".
65107
65108 * conform/conformtest.pl: Only accept expected constant or
65109 optional-constant values with "==". Parse all "constant" lines in
65110 one place. Parse all "optional-constant" lines in one place.
65111 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
65112 * conform/data/fmtmsg.h-data: Likewise.
65113 * conform/data/netinet/in.h-data: Likewise.
65114 * conform/data/tar.h-data: Likewise.
65115 * conform/data/limits.h-data: Use "==" form on "constant" and
65116 "optional-constant" lines.
65117
65118 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
65119 Use -std=c99 for XOPEN2K.
65120 (@knownproblems): Remove.
65121 (newtoken): Don't check %isknown.
65122
65123 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
65124 Do not expect macro.
65125 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65126 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65127 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65128 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65129 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65130 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65131 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65132 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65133 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65134 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65135 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65136 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65137 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65138 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65139 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65140 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65141 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65142 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65143 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65144 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65145 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65146 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65147 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65148 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65149 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65150 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65151 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65152 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65153 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65154 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65155 [XPG3] (acosh): Likewise.
65156 [XPG3] (asinh): Likewise.
65157 [XPG3] (atanh): Likewise.
65158 [XPG3] (cbrt): Likewise.
65159 [XPG3] (expm1): Likewise.
65160 [XPG3] (ilogb): Likewise.
65161 [XPG3] (log1p): Likewise.
65162 [XPG3] (logb): Likewise.
65163 [XPG3] (nextafter): Likewise.
65164 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65165 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65166 [XPG3] (remainder): Likewise.
65167 [XPG3] (rint): Likewise.
65168 [XPG3 || XPG4 || UNIX98] (round): Likewise.
65169 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65170 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65171 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65172 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65173 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65174 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65175 [UNIX98 || XOPEN2K] (scalb): Expect.
65176 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65177 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65178 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65179 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65180 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65181 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65182 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65183 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65184 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65185 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65186 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65187 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65188 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65189 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65190 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65191 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65192 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65193 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65194 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65195 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65196 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65197 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65198 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65199 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65200 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65201 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65202 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65203 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65204 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65205 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65206 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65207 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65208 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65209 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65210 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65211 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65212 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65213 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65214 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65215 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65216 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65217 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65218 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65219 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65220 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65221 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65222 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65223 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65224 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65225 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65226 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65227 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65228 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65229 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65230 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65231 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65232 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65233 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65234 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65235 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65236 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65237 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65238 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65239 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65240 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65241 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65242 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65243 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65244 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65245 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65246 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65247 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65248 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65249 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65250 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65251 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65252 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65253 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65254 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65255 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65256 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65257 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65258 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65259 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65260 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65261 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65262 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65263 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65264 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65265 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65266 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65267 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65268 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65269 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65270 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65271 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65272 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65273 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65274 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65275 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65276 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
65277 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
65278 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
65279 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
65280 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
65281 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
65282 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
65283 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
65284 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
65285 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
65286 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
65287 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
65288 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
65289 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
65290 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
65291 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
65292 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
65293 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
65294 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
65295 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
65296 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
65297 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
65298 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
65299 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
65300 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
65301 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
65302 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
65303 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
65304 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
65305 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
65306 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
65307 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
65308 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
65309 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
65310 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
65311 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
65312 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
65313
65314 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
65315 _XOPEN_SOURCE_EXTENDED for XPG4.
65316
65317 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
65318
65319 * Makeconfig (localtime): Remove variable.
65320 (inst_localtime-file): Likewise.
65321
65322 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
65323
65324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
65325 Update.
65326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65327 Update.
65328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
65329 Update.
65330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65331 Update.
65332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
65333 Update.
65334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
65335 Update.
65336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65337 Update.
65338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
65339 Update.
65340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65341 Update.
65342
65343 2012-05-01 Joseph Myers <joseph@codesourcery.com>
65344
65345 [BZ #2550]
65346 [BZ #2570]
65347 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
65348 comparisons to determine direction to adjust input.
65349 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
65350 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
65351 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
65352 Likewise.
65353 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
65354 Likewise.
65355 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
65356 Likewise.
65357 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
65358 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
65359 Likewise.
65360 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
65361 Likewise.
65362 * math/libm-test.inc (nexttoward_test): Add more tests.
65363
65364 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
65365
65366 [BZ #14040]
65367 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
65368 in version GLIBC_2.1, not GLIBC_2.0.
65369 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
65370 Likewise.
65371
65372 2012-04-30 Joseph Myers <joseph@codesourcery.com>
65373
65374 [BZ #13942]
65375 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65376 (1 - x) * (1 + x).
65377 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65378 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65379 * math/libm-test.inc (acos_test): Add more tests.
65380 (asin_test): Likewise.
65381 * sysdeps/i386/fpu/libm-test-ulps: Update.
65382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65383
65384 [BZ #14034]
65385 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65386 of square root.
65387 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65388 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65389 * math/libm-test.inc (acos_test_tonearest): New function.
65390 (acos_test_towardzero): Likewise.
65391 (acos_test_downward): Likewise.
65392 (acos_test_upward): Likewise.
65393 (asin_test_tonearest): Likewise.
65394 (asin_test_towardzero): Likewise.
65395 (asin_test_downward): Likewise.
65396 (asin_test_upward): Likewise.
65397 (main): Call the new functions.
65398 * sysdeps/i386/fpu/libm-test-ulps: Update.
65399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65400
65401 [BZ #13884]
65402 [BZ #13924]
65403 * math/e_exp10.c: Include <float.h>.
65404 (__ieee754_exp10): Handle underflow here rather than multiplying
65405 large negative argument by M_LN10.
65406 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65407 of __ieee754_expf.
65408 * math/e_exp10l.c: Include <float.h>.
65409 (__ieee754_exp10l): Handle underflow here rather than multiplying
65410 large negative argument by M_LN10l.
65411 * math/libm-test.inc (exp10_test): Add another test. Do not allow
65412 spurious overflow exception on underflow.
65413
65414 2012-04-29 Marek Polacek <polacek@redhat.com>
65415
65416 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65417 (__fortify_function): New macro.
65418 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65419 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65420 __extern_always_inline.
65421 * libio/bits/stdio2.h: Likewise.
65422 * libio/bits/stdio.h: Likewise.
65423 * string/string.h: Likewise.
65424 * string/bits/string3.h: Likewise.
65425 * include/stdio.h: Likewise.
65426 * stdlib/bits/stdlib.h: Likewise.
65427 * stdlib/stdlib.h: Likewise.
65428 * rt/bits/mqueue2.h: Likewise.
65429 * rt/mqueue.h: Likewise.
65430 * posix/bits/unistd.h: Likewise.
65431 * posix/unistd.h: Likewise.
65432 * io/bits/poll2.h: Likewise.
65433 * io/bits/fcntl2.h: Likewise.
65434 * io/fcntl.h: Likewise.
65435 * io/sys/poll.h: Likewise.
65436 * misc/bits/syslog.h: Likewise.
65437 * misc/bits/syslog-ldbl.h: Likewise.
65438 * misc/sys/syslog.h: Likewise.
65439 * socket/bits/socket2.h: Likewise.
65440 * socket/sys/socket.h: Likewise.
65441 * debug/tst-chk1.c: Likewise.
65442 * wcsmbs/bits/wchar2.h: Likewise.
65443 * wcsmbs/bits/wchar-ldbl.h: Likewise.
65444 * wcsmbs/wchar.h: Likewise.
65445
65446 2012-04-29 Andreas Jaeger <aj@suse.de>
65447
65448 * Makerules (tests): Remove enable-check-abi protection.
65449 (check-abi-warn): Remove.
65450 (check-abi-%): Remove check-abi-warn usage.
65451
65452 * configure.in: Remove check-abi configure option.
65453 * configure: Regenerated.
65454 * config.make.in (enable-check-abi): Remove.
65455
65456 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
65457
65458 [BZ #14033]
65459 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65460 double functions to double *_finite functions.
65461
65462 [BZ #13941]
65463 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65464 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65465 LDBL_MIN_EXP.
65466 * stdio-common/Makefile (tests): Add tst-sprintf3.
65467 * stdio-common/tst-sprintf3.c: New file.
65468
65469 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65470 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65471
65472 2012-04-28 Joseph Myers <joseph@codesourcery.com>
65473
65474 * conform/conformtest.pl: Remove duplicate typed-constant
65475 handling.
65476
65477 2012-04-28 David S. Miller <davem@davemloft.net>
65478
65479 * Makerules (%.abilist): Add vpath on sysdep_dirs.
65480 (check-abi-%): Remove AWK script prerequisite and explicit
65481 abilist directory.
65482 (check-abi): Rewrite to just diff the symlist with the abilist.
65483 (config-tls, config-abi-config): Delete, no longer used.
65484 (update-abi-%): Remove AWK script and explicit abilist directory.
65485 (update-abi): Rewrite to simply compare and conditionally copy the
65486 symlist and the sysdep abilist file. Remove update-abi-config
65487 checks.
65488 * abilist/ld.abilist: Remove.
65489 * abilist/libBrokenLocale.abilist: Remove.
65490 * abilist/libanl.abilist: Remove.
65491 * abilist/libcrypt.abilist: Remove.
65492 * abilist/libdl.abilist: Remove.
65493 * abilist/librt.abilist: Remove.
65494 * abilist/libthread_db.abilist: Remove.
65495 * abilist/libutil.abilist: Remove.
65496 * scripts/extract-abilist.awk: Remove.
65497 * scripts/merge-abilist.awk: Remove.
65498 * sysdeps/generic/libcidn.abilist: New file.
65499 * sysdeps/generic/libnss_compat.abilist: New file.
65500 * sysdeps/generic/libnss_db.abilist: New file.
65501 * sysdeps/generic/libnss_dns.abilist: New file.
65502 * sysdeps/generic/libnss_files.abilist: New file.
65503 * sysdeps/generic/libnss_hesiod.abilist: New file.
65504 * sysdeps/generic/libnss_nis.abilist: New file.
65505 * sysdeps/generic/libnss_nisplus.abilist: New file.
65506 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65507 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65508 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65509 file.
65510 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65511 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65512 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65513 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65514 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65515 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65516 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65517 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65518 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65519 file.
65520 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65521 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65522 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65523 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65524 file.
65525 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65526 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65527 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65528 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65529 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65530 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65531 file.
65532 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65533 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65534 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65535 file.
65536 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65538 New file.
65539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65540 New file.
65541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65542 New file.
65543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65544 New file.
65545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65546 New file.
65547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65548 New file.
65549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65550 New file.
65551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65552 New file.
65553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65554 New file.
65555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65556 New file.
65557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65558 New file.
65559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65560 New file.
65561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65562 New file.
65563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65564 file.
65565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65566 New file.
65567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65568 New file.
65569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65570 file.
65571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65572 New file.
65573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65574 New file.
65575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65576 file.
65577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65578 New file.
65579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65580 New file.
65581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65582 New file.
65583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65584 New file.
65585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65586 New file.
65587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65588 New file.
65589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65591 file.
65592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65593 New file.
65594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65595 file.
65596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65597 file.
65598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65599 file.
65600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65601 file.
65602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65603 file.
65604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65605 New file.
65606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65607 file.
65608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65609 file.
65610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65611 New file.
65612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65613 file.
65614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65616 file.
65617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65618 New file.
65619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65620 file.
65621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65622 file.
65623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65624 file.
65625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65626 file.
65627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65628 file.
65629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65630 New file.
65631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65632 file.
65633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65634 file.
65635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65636 New file.
65637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65638 file.
65639 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65640 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65641 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65642 file.
65643 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65644 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65645 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65646 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65647 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65648 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65649 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65650 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65651 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65652 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65655 file.
65656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65657 New file.
65658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65659 file.
65660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65661 file.
65662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65663 file.
65664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65665 file.
65666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65667 file.
65668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65669 New file.
65670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65671 New file.
65672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65673 file.
65674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65675 New file.
65676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65677 file.
65678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65680 file.
65681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65682 New file.
65683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65684 file.
65685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65686 file.
65687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65688 file.
65689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65690 file.
65691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65692 file.
65693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65694 New file.
65695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65696 New file.
65697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65698 file.
65699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65700 New file.
65701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65702 file.
65703
65704 2012-04-28 Joseph Myers <joseph@codesourcery.com>
65705
65706 * conform/conformtest.pl: Fix typo in handling typed-constant from
65707 allow-header.
65708
65709 2012-04-27 Joseph Myers <joseph@codesourcery.com>
65710
65711 * README: Cut down references to pre-2.6 Linux kernels and
65712 Linuxthreads. Update lists of configurations in libc and ports
65713 and sort alphabetically. Say "or newer" with Linux kernel version
65714 requirements.
65715
65716 * config.h.in [IS_IN_build]: Allow compiling without optimization.
65717
65718 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65719
65720 [BZ #887]
65721 * math/libm-test.inc (logb_test_downward): New test to expose
65722 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65723 rounding mode.
65724
65725 2012-04-27 Joseph Myers <joseph@codesourcery.com>
65726
65727 [BZ #14027]
65728 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65729 to be done.
65730 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65731 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65732
65733 2012-04-26 Joseph Myers <joseph@codesourcery.com>
65734
65735 * sysdeps/unix/i386/brk.S: Remove file.
65736 * sysdeps/unix/i386/dl-brk.S: Likewise.
65737 * sysdeps/unix/i386/pipe.S: Likewise.
65738 * sysdeps/unix/i386/sigreturn.S: Likewise.
65739 * sysdeps/unix/i386/syscall.S: Likewise.
65740 * sysdeps/unix/i386/vfork.S: Likewise.
65741 * sysdeps/unix/i386/wait.S: Likewise.
65742
65743 * sysdeps/unix/common/tcsendbrk.c: Move to ...
65744 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65745
65746 * configure.in (arm*-none*): Do not allow without
65747 --enable-hacker-mode.
65748 (netbsd*): Remove case setting base_os.
65749 (386bsd*): Likewise.
65750 (freebsd*): Likewise.
65751 (bsdi*): Likewise.
65752 (osf*): Likewise.
65753 (sunos*): Likewise.
65754 (ultrix*): Likewise.
65755 (newsos*): Likewise.
65756 (dynix*): Likewise.
65757 (*bsd*): Likewise.
65758 (sysv*): Likewise.
65759 (isc*): Likewise.
65760 (esix*): Likewise.
65761 (sco*): Likewise.
65762 (minix*): Likewise.
65763 (irix4*): Likewise.
65764 (irix6*): Likewise.
65765 (solaris[2-9]*): Likewise.
65766 (none): Likewise.
65767 * configure: Regenerated.
65768
65769 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65770
65771 [BZ #11521]
65772 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65773 overflow or cancellation in calculating denominator.
65774 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65775 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65776 down expression to avoid unexpected rounding in newer GCCs.
65777 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65778
65779 2012-04-26 David S. Miller <davem@davemloft.net>
65780
65781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65782 long-double compat symbols.
65783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65796
65797 2012-04-25 David S. Miller <davem@davemloft.net>
65798
65799 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65800 HWCAP_* values only after the memory barriers have been defined.
65801 (atomic_full_barrier): Define.
65802 (atomic_read_barrier): Define.
65803 (atomic_write_barrier): Define.
65804
65805 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
65806
65807 * shlib-versions: Add libgcc_s version information.
65808 * sysdeps/generic/libgcc_s.h: Remove.
65809 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65810 libgcc_s.h.
65811 * sysdeps/gnu/unwind-resume.c: Likewise.
65812 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65813
65814 2012-04-25 David S. Miller <davem@davemloft.net>
65815
65816 * sysdeps/unix/sparc/brk.S: Delete.
65817 * sysdeps/unix/sparc/dl-brk.S: Delete.
65818 * sysdeps/unix/sparc/pipe.S: Delete.
65819 * sysdeps/unix/sparc/sysdep.S: Delete.
65820 * sysdeps/unix/sparc/sysdep.h: Delete.
65821 * sysdeps/unix/sparc/vfork.S: Delete.
65822 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65823 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65824 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65825 (ret_ERRVAL, r0, r1, MOVE): Define.
65826 (JUMPTARGET): Remove.
65827 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65828 sysdeps/unix/sparc/sysdep.h
65829 (ENTRY, END): Remove.
65830 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65831
65832 2012-04-25 Joseph Myers <joseph@codesourcery.com>
65833
65834 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65835 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65836 -DIS_IN_build.
65837
65838 * timezone/README: Update upstream location and email address for
65839 tzcode and tzdata.
65840 * timezone/zdump.c: Update from tzcode 2012b.
65841 * timezone/zic.c: Likewise.
65842
65843 * configure.in (libc_cv_as_needed): Remove test.
65844 * configure: Regenerated.
65845 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65846 conditional definition.
65847 [$(have-as-needed) != yes] (no-as-needed): Likewise.
65848 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65849 * config.make.in (have-as-needed): Remove variable.
65850
65851 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
65852 Paul Pluzhnikov <ppluzhnikov@google.com>
65853
65854 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65855 strings correctly.
65856
65857 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
65858
65859 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65860 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65861 * sysdeps/sh/strlen.S: Likewise.
65862
65863 2012-04-24 Joseph Myers <joseph@codesourcery.com>
65864
65865 * sysdeps/unix/fork.S: Remove file.
65866 * sysdeps/unix/i386/fork.S: Likewise.
65867 * sysdeps/unix/sparc/fork.S: Likewise.
65868
65869 * sysdeps/unix/system.c: Remove file.
65870 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65871
65872 * sysdeps/unix/getegid.S: Remove file.
65873 * sysdeps/unix/geteuid.S: Likewise.
65874
65875 2012-04-24 Roland McGrath <roland@hack.frob.com>
65876
65877 * scripts/check-localplt.awk: New file.
65878 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65879 of diff.
65880 * scripts/data/localplt-generic.data: Add a comment.
65881
65882 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65883 NODE when __dir_mkfile failed.
65884 * sysdeps/mach/hurd/symlinkat.c: Likewise.
65885 Reported by Ludovic Courtès <ludo@gnu.org>.
65886
65887 2012-04-24 Andreas Jaeger <aj@suse.de>
65888
65889 * Makerules (common-clean): Also remove gen-as-const-headers
65890 files.
65891
65892 2012-04-24 Joseph Myers <joseph@codesourcery.com>
65893
65894 * Makerules (native-compile): Do not change working directory for
65895 build. Use $(OUTPUT_OPTION) in command.
65896 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65897
65898 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65899
65900 [BZ #13886]
65901 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65902 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65903 * math/libm-test.inc (floor_test): Add more tests.
65904 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65905
65906 2012-04-24 Joseph Myers <joseph@codesourcery.com>
65907
65908 * sysdeps/unix/getdents.c: Remove file.
65909 * sysdeps/unix/sysv/getdents.c: Likewise.
65910 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65911
65912 * sysdeps/unix/syscalls.list (madvise): Add syscall from
65913 sysdeps/unix/mman/syscalls.list.
65914 (mmap): Likewise.
65915 (mprotect): Likewise.
65916 (msync): Likewise.
65917 (munmap): Likewise.
65918 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65919 * sysdeps/unix/mman/syscalls.list: Remove.
65920 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65921
65922 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65923 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65924 * configure: Regenerated.
65925 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65926 $(libgcc_s_suffix).
65927 * config.make.in (libgcc_s_suffix): Remove variable.
65928
65929 2012-04-23 Joseph Myers <joseph@codesourcery.com>
65930
65931 * sysdeps/unix/sysv/gethostname.c: Move to ...
65932 * sysdeps/posix/gethostname.c: ... here.
65933
65934 * sysdeps/unix/execve.S: Remove file.
65935
65936 * sysdeps/unix/_exit.S: Remove file.
65937
65938 2012-04-23 Andreas Jaeger <aj@suse.de>
65939
65940 [BZ #13739]
65941 * manual/Makefile: Remove make dist support, there's no
65942 need for a stand-alone documentation tar ball.
65943 (TEXI2DVI): Define always, it's not in Makeconfig.
65944 (dist): Removed.
65945 (tar-it): Removed.
65946 (edition): Removed.
65947 (glibc-doc-$(edition).tar): Removed
65948 (%.Z): Removed.
65949 (%.gz): Removed.
65950 (%.uu): Removed.
65951 (ETAGS): Remove, it's in Makeconfig.
65952 (move-if-change): Remove, it's in Makeconfig.
65953
65954 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
65955
65956 [BZ #13970]
65957 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65958 (strtod, strtof, strtold, strtol, strtoul, strtoq)
65959 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65960 (strtod_l, strtof_l, strtold_l): Remove __wur.
65961 It is not necessarily an error to ignore strtol's return value.
65962 One can reliably look at the stored endptr to decide whether
65963 the number had valid syntax.
65964
65965 2012-04-21 Andreas Jaeger <aj@suse.de>
65966
65967 [BZ #13739]
65968 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65969
65970 2012-04-21 Joseph Myers <joseph@codesourcery.com>
65971
65972 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65973 * sysdeps/unix/sysv/Versions: Remove file.
65974
65975 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
65976
65977 [BZ #13927]
65978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65979
65980 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
65981
65982 [BZ #7064]
65983 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65984 version from __vm86.
65985
65986 2012-04-20 Joseph Myers <joseph@codesourcery.com>
65987
65988 * sysdeps/unix/common/lxstat.c: Remove file.
65989 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65990
65991 * sysdeps/unix/sysv/Makefile: Remove file.
65992
65993 * sysdeps/unix/sysv/direct.h: Remove file.
65994
65995 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65996 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65997 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65998 * sysdeps/unix/sysv/bits/signum.h: Likewise.
65999 * sysdeps/unix/sysv/bits/stat.h: Likewise.
66000 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66001 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66002
66003 * sysdeps/unix/sysv/setrlimit.c: Remove file.
66004
66005 * sysdeps/unix/xmknod.c: Remove file.
66006 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66007
66008 * sysdeps/unix/sysv/settimeofday.c: Remove file.
66009
66010 * sysdeps/unix/sysv/i386/time.S: Remove file.
66011
66012 * sysdeps/unix/fxstat.c: Remove file.
66013 * sysdeps/unix/xstat.c: Likewise.
66014 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
66015
66016 * sysdeps/unix/sysv/sigaction.c: Remove file.
66017
66018 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66019 (sysdep_headers): Remove variable.
66020 [termio.h not in sysdep_headers] (generated): Likewise.
66021 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
66022 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
66023 * sysdeps/unix/sysv/tcdrain.c: Likewise.
66024 * sysdeps/unix/sysv/tcflow.c: Likewise.
66025 * sysdeps/unix/sysv/tcflush.c: Likewise.
66026 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
66027 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
66028 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
66029 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
66030 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
66031
66032 * sysdeps/unix/siglist.c: Remove file.
66033
66034 * sysdeps/unix/getppid.S: Remove file.
66035
66036 * sysdeps/unix/mkdir.c: Remove file.
66037 * sysdeps/unix/rmdir.c: Likewise.
66038
66039 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
66040
66041 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
66042 ERR_MAX value.
66043 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
66044 errlist-compat value.
66045
66046 2012-04-18 David S. Miller <davem@davemloft.net>
66047
66048 * sysdeps/generic/memcopy.h (reg_char): Delete.
66049 * debug/strcat_chk.c: Use char, not reg_char.
66050 * debug/strcpy_chk.c: Likewise.
66051 * debug/strncat_chk.c: Likewise.
66052 * debug/strncpy_chk.c: Likewise.
66053 * string/memchr.c: Likewise.
66054 * string/memrchr.c: Likewise.
66055 * string/rawmemchr.c: Likewise.
66056 * string/strcat.c: Likewise.
66057 * string/strchr.c: Likewise.
66058 * string/strchrnul.c: Likewise.
66059 * string/strcmp.c: Likewise.
66060 * string/strcpy.c: Likewise.
66061 * string/strncat.c: Likewise.
66062 * string/strncmp.c: Likewise.
66063 * string/strncpy.c: Likewise.
66064
66065 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
66066
66067 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
66068 __builtin_memcopy is called when src and dest ranges are known to not
66069 overlap.
66070
66071 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
66072
66073 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
66074 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
66075 fwd_align_merge macro call.
66076 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
66077 bwd_align_merge macro call.
66078 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66079
66080 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
66081
66082 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
66083 bwd_align_merge macros.
66084 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
66085 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
66086 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66087
66088 2012-04-18 David S. Miller <davem@davemloft.net>
66089
66090 * sysdeps/sparc/sparc64/memcopy.h: Delete.
66091
66092 2012-04-18 Andreas Jaeger <aj@suse.de>
66093
66094 [BZ# 6794]
66095 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
66096 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
66097 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66098
66099 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
66100 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
66101 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66102
66103 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
66104 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
66105 Adjust for changed ldbl-128 files.
66106
66107 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
66108 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
66109 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66110
66111 2012-04-17 David S. Miller <davem@davemloft.net>
66112
66113 * sysdeps/sparc/sparc32/memcopy.h: Delete.
66114
66115 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
66116
66117 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
66118 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
66119 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
66120 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
66121 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
66122 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
66123
66124 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66125
66126 [BZ #6794]
66127 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66128 * math/libm-test.inc: Add ilogb errno and exception tests.
66129 * math/w_ilogb.c: New file: ilogb wrapper.
66130 * math/w_ilogbf.c: New file: ilogbf wrapper.
66131 * math/w_ilogbl.c: New file: ilogbl wrapper.
66132 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66133 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66134 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66135 exception being thrown with 0.0 as argument.
66136 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66137 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66138 exception being thrown with 0.0 as argument.
66139 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66140 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66141 exception being thrown with 0.0 as argument.
66142 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66143 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66144 exception being thrown with 0.0 as argument.
66145 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66146 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66147 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66148 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66149 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66150 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66151 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66152 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66153 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66154
66155 2012-04-17 Petr Baudis <pasky@ucw.cz>
66156
66157 * include/sys/uio.h: Change __vector to __iovec to avoid clash
66158 with altivec.
66159
66160 2012-04-16 Marek Polacek <polacek@redhat.com>
66161
66162 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66163
66164 2012-04-16 Marek Polacek <polacek@redhat.com>
66165
66166 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66167 operands of fdivp instruction.
66168
66169 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
66170
66171 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66172 * elf/tst-auditmod3b.c: Likewise.
66173 * elf/tst-auditmod4b.c: Likewise.
66174 * elf/tst-auditmod5b.c: Likewise.
66175 * elf/tst-auditmod6b.c: Likewise.
66176 * elf/tst-auditmod6c.c: Likewise.
66177 * elf/tst-auditmod7b.c: Likewise.
66178 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66179 * sysdeps/x86_64/preconfigure.in: Likewise.
66180 * sysdeps/x86_64/preconfigure: Regenerated.
66181
66182 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
66183
66184 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66185 __ILP32__.
66186
66187 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
66188
66189 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66190 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66191
66192 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
66193
66194 [BZ #13973]
66195 * locale/iso-639.def: Fix gl language name. Spotted by
66196 Yaron Shahrabani.
66197
66198 2012-04-12 Roland McGrath <roland@hack.frob.com>
66199
66200 [BZ #2074]
66201 * libio/libio.h (__io_write_fn): Update comment.
66202
66203 2012-04-12 Petr Baudis <pasky@ucw.cz>
66204
66205 [BZ #2074]
66206 * stdio.texi (Hook Functions): The user provided writer function
66207 is not allowed to return -1.
66208
66209 2012-04-11 David S. Miller <davem@davemloft.net>
66210
66211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66212
66213 2012-04-11 Mike Frysinger <vapier@gentoo.org>
66214
66215 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66216 Add a leading slash to rtkaio.
66217
66218 2012-04-11 Jim Meyering <meyering@redhat.com>
66219
66220 [BZ #11959]
66221 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66222 It is not necessarily an error to ignore fwrite's return
66223 value. One can reliably use ferror to test for errors after
66224 the fact.
66225
66226 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
66227
66228 * bits/types.h (__snseconds_t): New type.
66229 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66230
66231 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66232 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66233 (__SNSECONDS_T_TYPE): Likewise.
66234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66235 (__SNSECONDS_T_TYPE): Likewise.
66236 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66237 (__SNSECONDS_T_TYPE): Likewise.
66238
66239 2012-04-10 Andreas Jaeger <aj@suse.de>
66240
66241 [BZ #2636]
66242 * manual/time.texi (Processor Time): Return type of times is
66243 elapsed real time since an arbitrary point in the past.
66244 (CPU Time): Move CLK_TCK from here...
66245 (Processor Time): ...to here. Correct description.
66246 * manual/conf.texi (Constants for Sysconf): Correct description of
66247 _SC_CLK_TCK.
66248
66249 2012-04-10 David S. Miller <davem@davemloft.net>
66250
66251 [BZ #13967]
66252 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66253 where the is a gap between DT_REL(A) and DT_JMPREL.
66254
66255 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
66256
66257 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66258 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66259 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66260
66261 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
66262
66263 * elf/dl-support.c (_dl_inhibit_cache): New variable.
66264 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66265 (dl_main): Handle --inhibit-cache.
66266 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66267 _dl_inhibit_cache.
66268 * elf/dl-load.c (_dl_map_object): Use it.
66269 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66270
66271 2012-04-09 Joseph Myers <joseph@codesourcery.com>
66272
66273 [BZ #13872]
66274 * sysdeps/i386/fpu/e_powl.S (p78): New object.
66275 (__ieee754_powl): Saturate large exponents rather than testing for
66276 overflow of y*log2(x).
66277 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66278 * math/libm-test.inc (pow_test): Do not permit spurious overflow
66279 exceptions.
66280
66281 [BZ #11521]
66282 * math/s_ctan.c: Include <float.h>.
66283 (__ctan): Avoid internal overflow or cancellation in calculating
66284 denominator.
66285 * math/s_ctanf.c: Likewise.
66286 * math/s_ctanl.c: Likewise.
66287 * math/s_ctanh.c: Likewise.
66288 * math/s_ctanhf.c: Likewise.
66289 * math/s_ctanhl.c: Likewise.
66290 * math/libm-test.inc (ctan_test): Add more tests.
66291 (ctanh_test): Likewise.
66292 * sysdeps/i386/fpu/libm-test-ulps: Update.
66293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66294
66295 2012-04-09 Andreas Jaeger <aj@suse.de>
66296
66297 [BZ #6894]
66298 * manual/filesys.texi (Directory Entries): Mention that d_namlen
66299 is an optional BSD extension.
66300
66301 [BZ #10254]
66302 * manual/stdio.texi (Opening Streams): Document additional fopen
66303 parameters.
66304
66305 2012-04-09 Roland McGrath <roland@hack.frob.com>
66306
66307 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
66308 %eax without telling the compiler.
66309
66310 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
66311
66312 [BZ # 13963]
66313 * manual/install.texi: Use sourceware.org.
66314
66315 2012-04-09 Joseph Myers <joseph@codesourcery.com>
66316
66317 [BZ #13873]
66318 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
66319 (__ieee754_pow): Generate overflow and underflow using huge*huge
66320 and tiny*tiny rather than just returning constant infinity or zero
66321 for large exponents.
66322 * math/libm-test.inc (pow_test): Require overflow exceptions for
66323 applicable cases of large exponents.
66324
66325 [BZ #706]
66326 * sysdeps/i386/fpu/e_pow.S (p10): New object.
66327 (__ieee754_pow): Use iterative multiplication algorithm only for
66328 integer exponents with absolute value below 1024. Check for odd
66329 integer exponents when using algorithm for real exponents.
66330 * math/libm-test.inc (pow_test): Add more tests.
66331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66332
66333 2012-04-08 Joseph Myers <joseph@codesourcery.com>
66334
66335 [BZ #13705]
66336 * math/libm-test.inc (exp_test): Do not allow overflow exception
66337 on underflow test.
66338
66339 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
66340
66341 [BZ #13705]
66342 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
66343 instead of __kernel_standard_f.
66344
66345 2012-04-08 Mike Frysinger <vapier@gentoo.org>
66346
66347 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
66348 * sysdeps/x86_64/memset_chk.S: Likewise.
66349
66350 2012-04-08 Andreas Jaeger <aj@suse.de>
66351
66352 [BZ #10153]
66353 * manual/startup.texi (Environment Access): Describe return value
66354 for putenv and setenv.
66355
66356 [BZ #6895]
66357 * manual/filesys.texi (Directory Entries): Add description for
66358 DT_LNK.
66359
66360 [BZ #6890]
66361 * manual/filesys.texi (Directory Entries): Clarify that it's file
66362 system not operating system in the description of DT_UNKNOWN.
66363
66364 [BZ #6578]
66365 * manual/syslog.texi (closelog): Fix reference, it's openlog.
66366
66367 2012-04-08 Stephen Compall <s11@member.fsf.org>
66368
66369 [BZ #6649]
66370 * manual/llio.texi (Opening and Closing Files): Add cross
66371 reference to explain mode argument.
66372
66373 2012-04-07 Mike Frysinger <vapier@gentoo.org>
66374
66375 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66376 * sysdeps/x86_64/memset_chk.S: Likewise.
66377
66378 2012-04-07 David S. Miller <davem@davemloft.net>
66379
66380 * elf/elf.h (R_SPARC_WDISP10): Define.
66381 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66382 R_SPARC_SIZE32.
66383 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66384 R_SPARC_SIZE64 and R_SPARC_H34.
66385
66386 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
66387
66388 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66389 conditions and remove no longer applicable assertion.
66390
66391 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
66392
66393 * bits/byteswap.h: Include <features.h>.
66394 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66395 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66396
66397 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
66398
66399 * bits/byteswap.h (__bswap_16): Removed.
66400 Include <bits/byteswap-16.h> to get __bswap_16.
66401 * sysdeps/i386/bits/byteswap.h: Likewise.
66402 * sysdeps/s390/bits/byteswap.h: Likewise.
66403 * sysdeps/x86_64/bits/byteswap.h: Likewise.
66404 * bits/byteswap-16.h: New file.
66405 * sysdeps/i386/bits/byteswap-16.h: Likewise.
66406 * sysdeps/s390/bits/byteswap-16.h: Likewise.
66407 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66408 * string/Makefile (headers): Add bits/byteswap-16.h.
66409
66410 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
66411
66412 [BZ #13895]
66413 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66414 extra indirection.
66415 * nss/Makefile (tests-static, tests): Add tst-nss-static.
66416 * nss/tst-nss-static.c: New.
66417
66418 2012-04-06 Robert Millan <rmh@gnu.org>
66419
66420 [BZ #6486]
66421 * manual/llio.texi (File Position Primitive): lseek
66422 refers to WHENCE when it really means OFFSET.
66423
66424 2012-04-06 Andreas Jaeger <aj@suse.de>
66425
66426 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66427 strncmp declarations.
66428
66429 * abilist/libc.abilist: Add __poll and __ppoll.
66430
66431 2012-04-05 David S. Miller <davem@davemloft.net>
66432
66433 * scripts/check-local-headers.sh: Accept a host triplet in the
66434 path matched by the exclude regexp.
66435
66436 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66437 definition.
66438 * sysdeps/powerpc/powerpc32/dl-machine.h
66439 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66440 * sysdeps/s390/s390-32/dl-machine.h
66441 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66442 * sysdeps/sparc/sparc32/dl-machine.h
66443 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66444 * sysdeps/sparc/sparc64/dl-machine.h
66445 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66446
66447 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66448 lazy binding.
66449 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66450 undefined symbol errors.
66451
66452 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66453 DT_NEEDED entries.
66454
66455 2012-04-05 Michael Matz <matz@suse.de>
66456
66457 [BZ #13592]
66458 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66459
66460 2012-04-05 Andreas Jaeger <aj@suse.de>
66461
66462 [BZ #13908]
66463 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66464 comment.
66465
66466 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66467
66468 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66469 which ROUND is no valid rounding mode.
66470
66471 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66472
66473 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66474 read again.
66475 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66476
66477 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66478
66479 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66480 an exception using FPU order intentionally.
66481
66482 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66483
66484 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66485 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66486 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66487 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66488
66489 2012-04-05 Simon Josefsson <simon@josefsson.org>
66490
66491 [BZ #12340]
66492 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66493 EINVAL when BUFLEN is too smal.
66494
66495 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
66496
66497 [BZ #13553]
66498 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66499 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66500
66501 2012-04-03 Andreas Jaeger <aj@suse.de>
66502
66503 [BZ #13938]
66504 * manual/setjmp.texi (System V contexts): Fix sentence.
66505
66506 [BZ #13926]
66507 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66508 New macro for this case.
66509 [!__GNUC__] (__bswap_64): New inline function for this case.
66510 * sysdeps/x86_64/bits/byteswap.h: Likewise.
66511 * bits/byteswap.h: Likewise.
66512 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66513 ull, guard with __GLIBC_HAVE_LONG_LONG.
66514
66515 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66516 __GLIBC_HAVE_LONG_LONG.
66517
66518 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66519 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66520
66521 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66522
66523 [BZ #13691]
66524 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66525 inptr and inend, rather than using last_ch.
66526
66527 2012-04-02 David S. Miller <davem@davemloft.net>
66528
66529 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66530 * stdio-common/printf-parse.h (read_int): Change return type to
66531 'int', return -1 on INT_MAX overflow.
66532 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66533 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
66534 overflows INT_MAX. Check for overflow of in-format-string precision
66535 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
66536 SIZE_MAX not INT_MAX for integer overflow test.
66537 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66538 skip the construct in the format string but do not record anything.
66539 * stdio-common/bug22.c: Adjust to test both width/prevision
66540 INT_MAX overflow as well as total length INT_MAX overflow. Check
66541 explicitly for proper errno values.
66542
66543 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
66544
66545 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66546 CHAR_MAX.
66547 * string/test-strcmp.c [! WIDE]: Likewise.
66548 * time/tst-mktime2.c: Likewise for INT_MAX.
66549 * string/test-string.h: #include <sys/param.h> for MIN.
66550
66551 * csu/init-first.c (__libc_init_first): Call __ctype_init.
66552 * sysdeps/i386/init-first.c (init): Likewise.
66553 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66554 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66555 * sysdeps/sh/init-first.c (init): Likewise.
66556
66557 2012-04-01 Ulrich Drepper <drepper@gmail.com>
66558
66559 * po/ru.po: Update from translation team.
66560 * po/vi.po: Likewise.
66561
66562 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
66563
66564 * resolv/nss_dns/dns-host.c: Merge copyright years.
66565
66566 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66567
66568 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66569 Optimize memcpy with prefetch if
66570 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
66571 src, dst pointers have unequal 16 byte alignments.
66572
66573 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
66574
66575 [BZ #13928]
66576 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66577 from a CNAME entry and return the minimum ttl for the query.
66578 (gaih_getanswer_slice): Likewise.
66579
66580 2012-03-30 Jeff Law <law@redhat.com>
66581
66582 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66583 due to long keys.
66584 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66585 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66586
66587 * resolv/nss_dns/dns-host.c: Update copyright year.
66588
66589 2012-03-30 Ulrich Drepper <drepper@gmail.com>
66590
66591 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66592 requests to save a system call. Fix check that all bytes are sent.
66593
66594 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66595 comments for sendmmsg.
66596
66597 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66598
66599 [BZ #13691]
66600 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66601 with only 1 character between 0x0041 and 0x01b0.
66602 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66603 * wcsmbs/tst-mbsnrtowcs.c: New file.
66604
66605 2012-03-29 David S. Miller <davem@davemloft.net>
66606
66607 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66608 small copies by hand.
66609
66610 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66611
66612 [BZ #13761]
66613 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66614 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66615 group memberships.
66616
66617 2012-03-28 David S. Miller <davem@davemloft.net>
66618
66619 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66620 that branches into memcpy.
66621 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66622 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66623 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66624 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66625 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66626 bits.
66627 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66628 implementation too.
66629 * sysdeps/sparc/mempcpy.S: New file.
66630
66631 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66632 the IFUNC routine in the libc case.
66633 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66634
66635 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66636 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66637 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66638 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66639 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66640 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66641 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66642 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66643
66644 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66645 loop to 256 bytes instead of 64 bytes and fix test signedness.
66646
66647 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66648 * sysdeps/sparc/sparc32/Makefile: rather than here...
66649 * sysdeps/sparc/sparc64/Makefile: and here.
66650
66651 2012-03-28 Ulrich Drepper <drepper@gmail.com>
66652
66653 * malloc/mallocbug.c: Avoid warnings about unused variables.
66654
66655 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66656
66657 [BZ #13760]
66658 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66659 in the right place. Discard and retry query if response is
66660 larger than input buffer size.
66661
66662 2012-03-28 Joseph Myers <joseph@codesourcery.com>
66663
66664 [BZ #369]
66665 [BZ #2678]
66666 [BZ #3866]
66667 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66668 x for large integer exponent.
66669 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66670 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
66671 sign of result as needed afterwards.
66672 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66673 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66674 result for underflowing pow the same as for overflow.
66675 (__kernel_standard_l): Handle powl overflow and underflow here
66676 rather than calling __kernel_standard.
66677 * math/libm-test.inc (pow_test): Add more tests.
66678
66679 [BZ #3868]
66680 [BZ #13879]
66681 [BZ #13910]
66682 [BZ #13911]
66683 [BZ #13912]
66684 [BZ #13913]
66685 [BZ #13915]
66686 [BZ #13916]
66687 [BZ #13917]
66688 [BZ #13918]
66689 [BZ #13919]
66690 [BZ #13920]
66691 [BZ #13921]
66692 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66693 * sysdeps/ieee754/k_standard.c: Include <float.h>.
66694 (__kernel_standard_l): New function.
66695 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66696 __kernel_standard.
66697 * math/w_acosl.c (__acosl): Likewise.
66698 * math/w_asinl.c (__asinl): Likewise.
66699 * math/w_atan2l.c (__atan2l): Likewise.
66700 * math/w_atanhl.c (__atanhl): Likewise.
66701 * math/w_coshl.c (__coshl): Likewise.
66702 * math/w_exp10l.c (__exp10l): Likewise.
66703 * math/w_exp2l.c (__exp2l): Likewise.
66704 * math/w_fmodl.c (__fmodl): Likewise.
66705 * math/w_hypotl.c (__hypotl): Likewise.
66706 * math/w_j0l.c (__j0l, __y0l): Likewise.
66707 * math/w_j1l.c (__j1l, __y1l): Likewise.
66708 * math/w_jnl.c (__jnl, __ynl): Likewise.
66709 * math/w_lgammal.c (__lgammal): Likewise.
66710 * math/w_log10l.c (__log10l): Likewise.
66711 * math/w_log2l.c (__log2l): Likewise.
66712 * math/w_logl.c (__logl): Likewise.
66713 * math/w_powl.c (__powl): Likewise.
66714 * math/w_remainderl.c (__remainderl): Likewise.
66715 * math/w_scalbl.c (sysv_scalbl): Likewise.
66716 * math/w_sinhl.c (__sinhl): Likewise.
66717 * math/w_sqrtl.c (__sqrtl): Likewise.
66718 * math/w_tgammal.c (__tgammal): Likewise.
66719 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66720 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66721 * math/libm-test.inc (acos_test): Add more tests.
66722 (acosh_test): Likewise.
66723 (asin_test): Likewise.
66724 (atanh_test): Likewise.
66725 (exp_test): Likewise.
66726 (exp10_test): Likewise.
66727 (exp2_test): Likewise.
66728 (expm1_test): Likewise.
66729 (lgamma_test): Likewise.
66730 (log_test): Likewise.
66731 (log10_test): Likewise.
66732 (log1p_test): Likewise.
66733 (log2_test): Likewise.
66734 (pow_test): Do not allow some spurious overflow exceptions.
66735 (sqrt_test): Add more tests.
66736 (tgamma_test): Likewise.
66737 (y0_test): Likewise.
66738 (y1_test): Likewise.
66739 (yn_test): Likewise.
66740
66741 2012-03-27 Anton Blanchard <anton@samba.org>
66742
66743 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66744 MAP_HUGETLB.
66745 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66746 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66747 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66748
66749 2012-03-27 David S. Miller <davem@davemloft.net>
66750
66751 * conform/Makefile: Run run-conformtest.sh using $(BASH).
66752
66753 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66754 have-as-vis3 check.
66755
66756 2012-03-27 Andreas Jaeger <aj@suse.de>
66757
66758 * sysdeps/x86_64/elf/configure.in: Moved to ...
66759 * sysdeps/x86_64/configure.in: ... here.
66760 * sysdeps/x86_64/elf/start.S: Moved to ...
66761 * sysdeps/x86_64/start.S: ... here.
66762 * sysdeps/x86_64/elf/configure: Delete.
66763
66764 * sysdeps/x86_64/configure.in: Merge contents from
66765 sysdeps/i386/configure.in (without i686 check).
66766
66767 * sysdeps/i386/elf/Versions: Merge into ...
66768 * sysdeps/i386/Versions: ... this.
66769 * sysdeps/i386/elf/Versions: Delete file.
66770 * sysdeps/i386/elf/start.S: Moved to ...
66771 * sysdeps/i386/start.S: ...here.
66772 * sysdeps/i386/elf/configure.in: Merge into...
66773 * sysdeps/i386/configure.in: ...here.
66774 * sysdeps/i386/elf/configure.in: Delete file.
66775 * sysdeps/i386/elf/configure: Delete file.
66776
66777 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66778 * debug/backtracesyms.c: ... here.
66779 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66780 * debug/backtracesymsfd.c: ... here.
66781 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66782 * sysdeps/generic/ifunc-sel.h: ... here.
66783
66784 * sysdeps/unix/i386/start.c: Delete file.
66785 * sysdeps/unix/sparc/start.c: Delete file.
66786 * sysdeps/unix/start.c: Delete file.
66787
66788 * sysdeps/sh/elf/configure.in: Moved to ...
66789 * sysdeps/sh/configure.in: ... here.
66790 * sysdeps/sh/elf/start.S: Moved to ...
66791 * sysdeps/sh/start.S: ... here.
66792 * sysdeps/sh/elf/configure: Delete file.
66793
66794 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66795 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66796 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66797 * sysdeps/powerpc/powerpc64/entry.h: ... here.
66798 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66799 * sysdeps/powerpc/powerpc64/start.S: here.
66800 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66801 * sysdeps/powerpc/powerpc64/Makefile: ... this.
66802 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66803 * sysdeps/powerpc/powerpc64/configure.in: ... this.
66804 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66805
66806 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66807 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66808 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66809 * sysdeps/powerpc/powerpc32/start.S: ... here.
66810 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66811 * sysdeps/powerpc/powerpc32/configure.in: ... this.
66812 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66813
66814 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66815 * sysdeps/powerpc/ifunc-sel.h: ... here.
66816 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66817 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66818
66819 * sysdeps/sparc/elf/configure.in: Moved to ...
66820 * sysdeps/sparc/configure.in: ... here.
66821 * sysdeps/sparc/elf/configure: Delete file.
66822 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66823 * sysdeps/sparc/sparc32/start.S: ... here.
66824 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66825 * sysdeps/sparc/sparc64/start.S: ... here.
66826 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66827 * sysdeps/sparc/sparc32/Makefile: ... this.
66828 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66829 * sysdeps/sparc/sparc64/Makefile: ... this.
66830
66831 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66832 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66833 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66834 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66835 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66836 * sysdeps/s390/s390-32/setjmp.S: ... here.
66837 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66838 * sysdeps/s390/s390-32/configure.in: ... here.
66839 * sysdeps/s390/s390-32/elf/configure: Delete file.
66840 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66841 * sysdeps/s390/s390-32/start.S: ... here.
66842
66843 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66844 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66845 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66846 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66847 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66848 * sysdeps/s390/s390-64/setjmp.S: ... here.
66849 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66850 * sysdeps/s390/s390-64/configure.in: ... here
66851 * sysdeps/s390/s390-64/elf/configure: Delete file.
66852 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66853 * sysdeps/s390/s390-64/start.S: ... here.
66854 * sysdeps/s390/s390-64/elf/configure: Delete.
66855
66856 * configure.in: Remove support for elf directories in sysdeps.
66857
66858 * configure: Regenerated.
66859 * sysdeps/i386/configure: Regenerated.
66860 * sysdeps/powerpc/powerpc32/configure: Regenerated.
66861 * sysdeps/powerpc/powerpc64/configure: Regenerated.
66862 * sysdeps/s390/s390-32/configure: Regenerated.
66863 * sysdeps/s390/s390-64/configure: Regenerated.
66864 * sysdeps/sh/configure: Regenerated.
66865 * sysdeps/sparc/configure: Regenerated.
66866 * sysdeps/x86_64/configure: Regenerated.
66867
66868 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
66869
66870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66871
66872 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66873 denormal result into account.
66874
66875 2012-03-25 Roland McGrath <roland@hack.frob.com>
66876
66877 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66878 Reported by Allan McRae <allan@archlinux.org>.
66879
66880 2012-03-23 Jeff Law <law@redhat.com>
66881
66882 * nss/getnssent.c (__nss_getent): Fix typo.
66883
66884 2012-03-23 David S. Miller <davem@davemloft.net>
66885
66886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66887
66888 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
66889
66890 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66891 to pad to uint64_t for each field.
66892 (dl_tls_index): Replace unsigned long with uint64_t.
66893
66894 2012-03-23 Daniel Jacobowitz <dmj@google.com>
66895 Paul Pluzhnikov <ppluzhnikov@google.com>
66896
66897 [BZ #6528]
66898 * grp/Makefile (otherlibs): Don't set it.
66899 * inet/Makefile (otherlibs): Likewise.
66900 * login/Makefile (otherlibs): Likewise.
66901 * nscd/Makefile (otherlibs): Likewise.
66902 * posix/Makefile (otherlibs): Likewise.
66903 * pwd/Makefile (otherlibs): Likewise.
66904 * rt/Makefile (otherlibs): Likewise.
66905 * sunrpc/Makefile (otherlibs): Likewise.
66906 * nss/Makefile (otherlibs): Likewise.
66907 Add libnss_files to routines and static-only-routines.
66908 ($(objpfx)getent): Remove rule.
66909 * resolv/Makefile: Add libnss_dns and libresolv to routines and
66910 static-only-routines.
66911
66912 2012-03-22 Joseph Myers <joseph@codesourcery.com>
66913
66914 [BZ #13892]
66915 * math/s_cexp.c: Include <float.h>.
66916 (__cexp): Handle exp result overflowing not necessarily
66917 overflowing both real and imaginary parts of result.
66918 * math/s_cexpf.c: Likewise.
66919 * math/s_cexpl.c: Likewise.
66920 * math/libm-test.inc (cexp_test): Add more tests.
66921 * sysdeps/i386/fpu/libm-test-ulps: Update.
66922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66923
66924 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
66925
66926 * include/link.h (ELFW): New macro.
66927 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66928 Replace ELF64_R_TYPE with ELFW(R_TYPE).
66929
66930 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
66931
66932 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66933 with uint64_t.
66934
66935 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
66936
66937 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66938 declaration.
66939 (struct La_x32_retval): Likewise.
66940
66941 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
66942
66943 * sysdeps/x86_64/preconfigure.in: New file.
66944 * sysdeps/x86_64/preconfigure: New generated file.
66945
66946 2012-03-22 Joseph Myers <joseph@codesourcery.com>
66947
66948 [BZ #13824]
66949 * math/e_exp2l.c: Include <float.h>.
66950 (__ieee754_exp2l): Handle overflow and underflow cases
66951 separately. Only pass fractional part of argument to
66952 __ieee754_expl.
66953 * math/libm-test.inc (exp2_test): Add more tests.
66954
66955 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66956 negating x to take absolute value.
66957 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66958 Likewise.
66959 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66960 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66961 Likewise.
66962 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66963 computing low part if x was negated.
66964 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66965
66966 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
66967
66968 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66969 la_x32_gnu_pltexit.
66970 (pltexit): Cast int_retval to ptrdiff_t.
66971 * elf/tst-auditmod3b.c: Likewise.
66972 * elf/tst-auditmod4b.c: Likewise.
66973 * elf/tst-auditmod5b.c: Likewise.
66974 * elf/tst-auditmod6b.c: Likewise.
66975 * elf/tst-auditmod6c.c: Likewise.
66976 * elf/tst-auditmod7b.c: Likewise.
66977
66978 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66979 and x32_gnu_pltexit.
66980
66981 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66982 __ELF_NATIVE_CLASS.
66983 (La_x32_regs): New macro.
66984 (La_x32_retval): Likewise.
66985 (la_x32_gnu_pltenter): New function prototype.
66986 (la_x32_gnu_pltexit): Likewise.
66987
66988 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
66989
66990 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66991 exponent.
66992
66993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66994
66995 * configure.in (libc_cv_cc_nofma): Check for option to disable
66996 generation of FMA instructions.
66997 * configure: Regenerate.
66998 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66999 * sysdeps/ieee754/dbl-64/Makefile: New file.
67000 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67001 Remove brandred-fma4.
67002 (CFLAGS-brandred-fma4.c): Remove.
67003 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67004 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67005 define.
67006 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67007 define.
67008
67009 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
67010
67011 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67012 LLONG_MAX != LONG_MAX.
67013 (_itoa_word): Use _ITOA_WORD_TYPE on value.
67014 (_fitoa_word): Likewise.
67015 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
67016 LLONG_MAX != LONG_MAX.
67017 * stdio-common/_itowa.h: Include <_itoa.h>.
67018 (_itowa_word): Use _ITOA_WORD_TYPE on value.
67019 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
67020 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
67021 only if not defined.
67022 (_ITOA_WORD_TYPE): Likewise.
67023 (_itoa_word): Use _ITOA_WORD_TYPE on value.
67024 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
67025
67026 2012-03-21 David S. Miller <davem@davemloft.net>
67027
67028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67029
67030 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
67031
67032 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
67033 of x86_64 when setting libc_cv_slibdir, libdir and
67034 libc_cv_localedir.
67035 * sysdeps/unix/sysv/linux/configure: Regenerated.
67036
67037 2012-03-21 Joseph Myers <joseph@codesourcery.com>
67038
67039 * manual/lang.texi (Old Varargs): Remove section.
67040 (How Variadic): Update menu.
67041 (va_start): Do not mention varargs.h.
67042
67043 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
67044 Joseph Myers <joseph@codesourcery.com>
67045
67046 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
67047 link test.
67048 * configure: Regenerated.
67049
67050 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
67051
67052 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
67053 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
67054 conformtest.pl
67055
67056 2012-03-21 Joseph Myers <joseph@codesourcery.com>
67057
67058 * NOTES: Remove.
67059 * Makefile (files-for-dist): Remove NOTES.
67060 (NOTES): Remove rule.
67061 * README: Don't refer to NOTES.
67062 * manual/creature.texi: Don't include macros.texi.
67063 * manual/intro.texi (creature.texi): Remove comment referring to
67064 NOTES.
67065
67066 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
67067 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
67068 * configure: Regenerated.
67069 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
67070 LIBC_TRY_CC_OPTION.
67071 (libc_cv_as_i686): Likewise.
67072 (libc_cv_cc_avx): Likewise.
67073 (libc_cv_cc_sse2avx): Likewise.
67074 (libc_cv_cc_fma4): Likewise.
67075 (libc_cv_cc_novzeroupper): Likewise.
67076 * sysdeps/i386/configure: Regenerated.
67077
67078 [BZ #13883]
67079 * sysdeps/i386/fpu/s_cexp.S: Remove.
67080 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67081 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67082 * math/libm-test.inc (cexp_test): Add more tests.
67083 * sysdeps/i386/fpu/libm-test-ulps: Update.
67084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67085
67086 2012-03-21 Allan McRae <allan@archlinux.org>
67087
67088 * timezone/Makefile: Do not install iso3166.tab and zone.tab
67089
67090 2012-03-21 Joseph Myers <joseph@codesourcery.com>
67091
67092 [BZ #13871]
67093 * math/w_exp2.c: Do not include <float.h>.
67094 (o_threshold, u_threshold): Remove.
67095 (__exp2): Calculate result before checking finiteness and calling
67096 __kernel_standard.
67097 * math/w_exp2f.c: Likewise.
67098 * math/w_exp2l.c: Likewise.
67099 * math/libm-test.inc (exp2_test): Require overflow exception for
67100 1e6 input.
67101
67102 [BZ #3866]
67103 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
67104 range of signed 64-bit integers before using fistpll. Remove
67105 checks for whether integers fit in mantissa bits.
67106 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
67107 the range of signed 32-bit integers before using fistpl. Remove
67108 checks for whether integers fit in mantissa bits.
67109 * sysdeps/i386/fpu/e_powl.S (p64): New object.
67110 (__ieee754_powl): Test for y outside the range of signed 64-bit
67111 integers before using fistpll. Reduce 64-bit values to 63-bit
67112 ones as needed.
67113 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
67114 divide-by-zero is raised for zero to large negative powers.
67115 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
67116 (__ieee754_powl): Test for y outside the range of signed 64-bit
67117 integers before using fistpll. Reduce 64-bit values to 63-bit
67118 ones as needed.
67119 * math/libm-test.inc (pow_test): Add more tests.
67120
67121 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
67122
67123 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
67124 <stdio-common/_itoa.h>.
67125 * debug/segfault.c: Likewise.
67126 * elf/dl-cache.c: Likewise.
67127 * elf/dl-minimal.c: Likewise.
67128 * elf/dl-misc.c: Likewise.
67129 * elf/dl-sysdep.c: Likewise.
67130 * elf/dl-version.c: Likewise.
67131 * elf/rtld.c: Likewise.
67132 * hurd/hurdsock.c: Likewise.
67133 * hurd/lookup-retry.c: Likewise.
67134 * malloc/malloc.c: Likewise.
67135 * malloc/mtrace.c: Likewise.
67136 * nscd/nscd_getgr_r.c: Likewise.
67137 * nscd/nscd_getpw_r.c: Likewise.
67138 * nscd/nscd_getserv_r.c: Likewise.
67139 * posix/getopt_init.c: Likewise.
67140 * posix/wordexp.c: Likewise.
67141 * stdio-common/_itoa.c: Likewise.
67142 * stdio-common/printf_fphex.c: Likewise.
67143 * stdio-common/vfprintf.c: Likewise.
67144 * string/_strerror.c: Likewise.
67145 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67146 * sysdeps/i386/i686/hp-timing.h: Likewise.
67147 * sysdeps/mach/_strerror.c: Likewise.
67148 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67149 * sysdeps/mach/hurd/sethostid.c: Likewise.
67150 * sysdeps/mach/hurd/xmknodat.c: Likewise.
67151 * sysdeps/mach/xpg-strerror.c: Likewise.
67152 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67153 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67154 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67155 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67156 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67157 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67158 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67159 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67160 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67161 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67162 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67163 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67164 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67165 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67166 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67167 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67168 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67169 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67170 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67171 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67172 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67173
67174 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67175
67176 * stdio-common/_itoa.h: Moved to ...
67177 * sysdeps/generic/_itoa.h: Here.
67178
67179 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67180
67181 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67182 instead of "_itoa.h" and "_itowa.h".
67183 * stdio-common/vfprintf.: Likewise.
67184
67185 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
67186
67187 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67188 <bits/wordsize.h>.
67189 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67190 (__signbit): Likwise.
67191 (llrintf): Likwise.
67192 (llrint): Likwise.
67193
67194 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
67195
67196 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67197 __WORDSIZE != 64.
67198
67199 2012-03-20 Joseph Myers <joseph@codesourcery.com>
67200
67201 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67202 OVERFLOW_EXCEPTION_OK.
67203 * math/libm-test.inc ("Philosophy"): Update comment about
67204 exception testing.
67205 (OVERFLOW_EXCEPTION): Define.
67206 (OVERFLOW_EXCEPTION_OK): Likewise.
67207 (INVALID_EXCEPTION_OK): Renumber.
67208 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67209 (IGNORE_ZERO_INF_SIGN): Likewise.
67210 (test_exceptions): Handle FE_OVERFLOW.
67211 (exp10_test): Expect overflow exceptions.
67212 (exp2_test): Likewise.
67213 (expm1_test): Likewise.
67214 (nextafter_test): Likewise.
67215 (pow_test): Likewise.
67216 (scalbn_test): Likewise.
67217 (scalbln_test): Likewise.
67218
67219 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67220
67221 * sysdeps/x86_64/bits/atomic.h
67222 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67223 64bit integer.
67224 (atomic_exchange_acq): Likewise.
67225 (__arch_exchange_and_add_body): Likewise.
67226 (__arch_add_body): Likewise.
67227 (atomic_add_negative): Likewise.
67228 (atomic_add_zero): Likewise.
67229
67230 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67231
67232 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67233 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67234
67235 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67236
67237 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67238 Check __x86_64__ instead of __WORDSIZE.
67239
67240 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67241
67242 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67243
67244 2012-03-19 David S. Miller <davem@davemloft.net>
67245
67246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67247
67248 * sysdeps/sparc/fpu/fenv_private.h: New file.
67249 * sysdeps/sparc/fpu/math_private.h: Use it.
67250 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67251 Remove.
67252 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67253 (libc_feholdexcept_setroundl): Remove.
67254 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67255 Remove.
67256 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67257 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67258
67259 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67260
67261 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67262 int64_t instead of long int.
67263 (INSERT_WORDS64): Likwise.
67264
67265 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67266
67267 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67268 _Unwind_GetCFA return to _Unwind_Ptr first.
67269
67270 2012-03-19 Joseph Myers <joseph@codesourcery.com>
67271
67272 [BZ #13629]
67273 * math/s_clog.c: Include <float.h>.
67274 (__clog): Scale large or subnormal inputs.
67275 * math/s_clogf.c: Likewise.
67276 * math/s_clogl.c: Likewise.
67277 * math/s_clog10.c: Include <float.h>.
67278 (M_LOG10_2): Define.
67279 (__clog10): Scale large or subnormal inputs.
67280 * math/s_clog10f.c: Likewise.
67281 * math/s_clog10l.c: Likewise.
67282 * math/libm-test.inc (clog_test): Add more tests.
67283 (clog10_test): Likewise.
67284 * sysdeps/i386/fpu/libm-test-ulps: Update.
67285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67286
67287 [BZ #11451]
67288 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
67289 x and y.
67290 * math/libm-test.inc (atan2_test): Add another test.
67291
67292 * Makerules (common-objdir-compile): Remove.
67293 * sysdeps/unix/Makefile (config-generated): Do not add
67294 $(unix-generated) to variable.
67295 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67296 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
67297 Remove rule.
67298 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
67299 Likewise.
67300 [generic bits/local_lim.h] (before-compile): Do not append to
67301 variable.
67302 [generic bits/local_lim.h] (common-generated): Likewise.
67303 [generic sys/param.h] (before-compile): Do not append to variable.
67304 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
67305 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
67306 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
67307 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
67308 include.
67309 [generic sys/param.h] (sys/param.h-includes): Remove variable.
67310 [generic sys/param.h] (sys/param.h-includes): Remove rule.
67311 [generic sys/param.h] ($(addprefix
67312 $(common-objpfx),$(sys/param.h-includes))): Likewise.
67313 [generic sys/param.h] (common-generated): Do not append to
67314 variable.
67315 [generic sys/param.h] (sysdep_headers): Likewise.
67316 [generic bits/errno.h] (before-compile): Do not append to
67317 variable.
67318 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
67319 rule.
67320 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
67321 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
67322 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
67323 [generic bits/errno.h] (common-generated): Do not append to
67324 variable.
67325 [generic bits/ioctls.h] (before-compile): Do not append to
67326 variable.
67327 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
67328 rule.
67329 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
67330 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
67331 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
67332 rule.
67333 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
67334 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
67335 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
67336 [generic bits/ioctls.h] (common-generated): Do not append to
67337 variable.
67338 [generic sys/syscall.h] (syscall.h): Remove variable.
67339 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
67340 rule.
67341 [generic sys/syscall.h] (before-compile): Do not append to
67342 variable.
67343 [generic sys/syscall.h] (common-generated): Likewise.
67344 * sysdeps/unix/errnos-tmpl.c: Remove file.
67345 * sysdeps/unix/errnos.awk: Likewise.
67346 * sysdeps/unix/ioctls-tmpl.c: Likewise.
67347 * sysdeps/unix/ioctls.awk: Likewise.
67348 * sysdeps/unix/mk-local_lim.c: Likewise.
67349 * sysdeps/unix/snarf-ioctls: Likewise.
67350
67351 2012-03-19 Richard Henderson <rth@twiddle.net>
67352
67353 * sysdeps/i386/fpu/fenv_private.h: New file.
67354 * sysdeps/i386/fpu/math_private.h: Use it.
67355 (math_opt_barrier, math_force_eval): Remove.
67356 (libc_feholdexcept_setround_53bit): Remove.
67357 (libc_feupdateenv_53bit): Remove.
67358 * sysdeps/x86_64/fpu/math_private.h: Likewise.
67359 (math_opt_barrier, math_force_eval): Remove.
67360 (libc_feholdexcept): Remove.
67361 (libc_feholdexcept_setround): Remove.
67362 (libc_fetestexcept, libc_fesetenv): Remove.
67363 (libc_feupdateenv_test): Remove.
67364 (libc_feupdateenv, libc_feholdsetround): Remove.
67365 (libc_feresetround): Remove.
67366
67367 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
67368 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
67369
67370 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
67371 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
67372 (libc_feupdateenv_testl): New.
67373 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67374 (libc_feupdateenv_testf): New.
67375 (libc_feupdateenv): Use libc_feupdateenv_test.
67376 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67377 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67378
67379 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67380 (libc_feholdsetroundf, libc_feholdsetroundl): New.
67381 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67382 (libc_feresetround_noex): New.
67383 (libc_feresetround_noexf): New.
67384 (libc_feresetround_noexl): New.
67385 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67386 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67387 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67388 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67389 SET_RESTORE_ROUND.
67390 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67391 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67392 (__cos): Likewise.
67393 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67394 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67395 SET_RESTORE_ROUND_NOEX.
67396 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67397 SET_RESTORE_ROUND_NOEXF.
67398 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67399 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67400 (libc_feholdsetroundf): New.
67401 (libc_feresetround, libc_feresetroundf): New.
67402
67403 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67404 (libc_feholdexcept_setround_53bit): Convert from macro to function.
67405 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
67406
67407 * sysdeps/generic/math_private.h: Include <fenv.h>.
67408 (default_libc_feholdexcept): New.
67409 (default_libc_feholdexcept_setround): New.
67410 (default_libc_fesetenv, default_libc_feupdateenv): New.
67411 (libc_feholdexcept): Only define if undefined.
67412 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67413 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67414 (libc_feholdexcept_setroundl): Likewise.
67415 (libc_feholdexcept_setround_53bit): Likewise.
67416 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67417 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67418 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67419 (libc_feupdateenv_53bit): Likewise.
67420 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67421 (libc_feholdexcept): Convert from macro to inline function.
67422 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67423 (libc_fesetenv, libc_feupdateenv): Likewise.
67424
67425 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67426 not previously defined.
67427 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67428 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67429 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67430 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67431 * sysdeps/ieee754/flt-32/math_private.h: New file.
67432 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67433 math_private.h below SET_FLOAT_WORD.
67434 (__isnan, __isinf_ns, __finite): Remove.
67435 (__isnanf, __isinf_nsf, __finitef): Remove.
67436
67437 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
67438
67439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67440
67441 2012-03-17 David S. Miller <davem@davemloft.net>
67442
67443 [BZ #6471]
67444 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67445 for 2.16.
67446
67447 2012-03-16 David S. Miller <davem@davemloft.net>
67448
67449 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67450 warnings.
67451
67452 [BZ #6471]
67453 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67454 properly.
67455 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67456 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67457 sysdep_routines when subdir is sysvipc.
67458 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67459 __getshmlba helper.
67460
67461 * sysdeps/sparc/fpu/libm-test/ulps: Update.
67462
67463 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67464
67465 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67466 [__LP64__].
67467
67468 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67469
67470 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67471 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67472 (__lround): Renamed to ...
67473 (__llround): This. Replace long int with long long int.
67474 Define lround functions as aliases of llround functions.
67475 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67476
67477 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67478
67479 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67480 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
67481 adresses to uintptr_t. Replace "long int" and "unsigned long
67482 int" with "greg_t" on va_arg.
67483
67484 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67485
67486 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67487 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67488
67489 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67490 Move e_machine check before EI_CLASS check. Handle x32
67491 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67492 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67493 SKIP_EM_IA_64 and include
67494 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67495
67496 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67497 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67498 (add_system_dir): New macro.
67499
67500 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67501 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67502
67503 2012-03-16 Joseph Myers <joseph@codesourcery.com>
67504
67505 [BZ #2551]
67506 [BZ #2552]
67507 [BZ #2553]
67508 [BZ #2554]
67509 [BZ #2562]
67510 [BZ #2563]
67511 [BZ #2565]
67512 [BZ #2566]
67513 [BZ #2576]
67514 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67515 (y0): Likewise.
67516 * math/w_j0f.c (j0f): Likewise.
67517 (y0f): Likewise.
67518 * math/w_j0l.c (__j0l): Likewise.
67519 (__y0l): Likewise.
67520 * math/w_j1.c (j1): Likewise.
67521 (y1): Likewise.
67522 * math/w_j1f.c (j1f): Likewise.
67523 (y1f): Likewise.
67524 * math/w_j1l.c (__j1l): Likewise.
67525 (__y1l): Likewise.
67526 * math/w_jn.c (jn): Likewise.
67527 (yn): Likewise.
67528 * math/w_jnf.c (jnf): Likewise.
67529 (ynf): Likewise.
67530 * math/w_jnl.c (__jnl): Likewise.
67531 (__ynl): Likewise.
67532 * math/libm-test.inc (j0_test): Add more tests.
67533 (j1_test): Likewise.
67534 (jn_test): Likewise. Add trailing semicolon to existing test.
67535 (y0_test): Likewise.
67536 (y1_test): Likewise.
67537 * sysdeps/i386/fpu/libm-test-ulps: Update.
67538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67539
67540 [BZ #13851]
67541 [BZ #13854]
67542 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67543 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67544 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67545 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67546 (__tanl): Set errno for infinite argument.
67547 * sysdeps/i386/fpu/mptan.c: Remove.
67548 * sysdeps/i386/fpu/s_tan.S: Likewise.
67549 * sysdeps/i386/fpu/s_tanl.S: Likewise.
67550 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67551 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67552 * math/libm-test.inc (tan_test): Add more tests and enable more
67553 tests for double and long double.
67554 * sysdeps/i386/fpu/libm-test-ulps: Update.
67555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67556
67557 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
67558
67559 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67560 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67561
67562 2012-03-16 Roland McGrath <roland@hack.frob.com>
67563
67564 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67565 * configure.in: Use it for both main tree and add-ons.
67566 * configure: Regenerated.
67567
67568 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67569
67570 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67571
67572 2012-03-16 Joseph Myers <joseph@codesourcery.com>
67573
67574 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67575 in comment.
67576
67577 [BZ #13851]
67578 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67579 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67580 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67581 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67582 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67583 infinite argument.
67584 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67585 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67586 != 0 for prec == 2.
67587 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67588 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67589 * sysdeps/i386/fpu/s_cosl.S: Likewise.
67590 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67591 * sysdeps/i386/fpu/s_sinl.S: Likewise.
67592 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67593 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67594 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67595 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67596 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67597 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67598 * math/libm-test.inc (cos_test): Add more tests and enable more
67599 tests for long double.
67600 (sin_test): Likewise.
67601 (sincos_test): Likewise.
67602 * sysdeps/i386/fpu/libm-test-ulps: Update.
67603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67604
67605 2012-03-16 David S. Miller <davem@davemloft.net>
67606
67607 * sysdeps/sparc/fpu/math_private.h: New file.
67608
67609 2012-03-15 David S. Miller <davem@davemloft.net>
67610
67611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67612 file.
67613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67615 file.
67616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67621 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67622 sysdep routines.
67623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67624
67625 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67626 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67627
67628 * sysdeps/sparc/sparc-ifunc.h: New file.
67629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67630 sparc-ifunc.h
67631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67633 Likewise.
67634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67635 Likewise.
67636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67640 Likewise.
67641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67646 Likewise.
67647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67648 Likewise.
67649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67653 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67654 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67655 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67656 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67657 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67658 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67663 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67664 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67665 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67666 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67667 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67668 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67669 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67670 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67671 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67672 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67673
67674 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
67675
67676 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67677 scaling.
67678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67679
67680 2012-03-15 Andreas Jaeger <aj@suse.de>
67681
67682 [BZ #13852]
67683 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67684 ieee754/flt-32 implementation for sin, cos and sincos.
67685 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67686 * sysdeps/i386/fpu/s_cosf.S: Likewise.
67687 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67688 * sysdeps/i386/fpu/s_sinf.S: Likewise.
67689 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67690 ieee754/flt-32 implementation for tan.
67691
67692 * math/libm-test.inc (cos_test): Enable some large input tests for
67693 float as well
67694 (sin_test): Likewise.
67695 (sincos_test): Likewise.
67696 (tan_test): Add tests for large input.
67697
67698 * sysdeps/i386/fpu/libm-test-ulps: Update.
67699
67700 2012-03-15 Andreas Jaeger <aj@suse.de>
67701
67702 [BZ #13658]
67703 * math/libm-test.inc (cos_test): Add more test cases.
67704 (sin_test): Likewise.
67705 (sincos_test): Likewise.
67706
67707 2012-03-15 Andreas Jaeger <aj@suse.de>
67708
67709 [BZ #13837]
67710 * math/libm-test.inc (cos_test): Add a test case for large input
67711 value.
67712 (sin_test): Likewise.
67713 (sincos_test): Likewise.
67714
67715 2012-03-15 Andreas Jaeger <aj@suse.de>
67716 Joseph Myers <joseph@codesourcery.com>
67717
67718 [BZ #13658]
67719 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67720 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67721 * sysdeps/i386/fpu/branred.c: Likewise.
67722 * sysdeps/i386/fpu/dosincos.c: Likewise.
67723 * sysdeps/i386/fpu/mpa.c: Likewise.
67724 * sysdeps/i386/fpu/s_cos.S: Likewise.
67725 * sysdeps/i386/fpu/s_sin.S: Likewise.
67726 * sysdeps/i386/fpu/s_sincos.S: Likewise.
67727 * sysdeps/i386/fpu/sincos32.c: Likewise.
67728
67729 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67730 Define.
67731 (libc_feupdateenv_53bit): Define.
67732 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67733 Define.
67734 (libc_feupdateenv_53bit): Define.
67735
67736 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67737 53 bit (without extend i386 double precision).
67738
67739 * math/libm-test.inc (sincos_test): Add tests for large input.
67740 (sin): Likewise.
67741 (cos): Likewise.
67742
67743 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67744
67745 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
67746
67747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67748
67749 2012-03-15 David S. Miller <davem@davemloft.net>
67750
67751 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67752 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67753 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67754 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67759 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67761 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67762 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67767 file.
67768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67770 file.
67771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67773 file.
67774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67776 file.
67777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67778 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67779 fmin/fmax sysdep routines.
67780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67781
67782 2012-03-14 David S. Miller <davem@davemloft.net>
67783
67784 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67787 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67788 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67789 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67790 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67791 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67792 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67793 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67794 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67804 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67805 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67806 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67807 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67808 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67809 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67810 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67811 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67812 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67813 routines.
67814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67815 file.
67816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67818 file.
67819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67821 file.
67822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67824 file.
67825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67827 file.
67828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67830 file.
67831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67832 file.
67833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67834 file.
67835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67836 file.
67837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67838 New file.
67839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67840 file.
67841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67842 file.
67843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67845 file.
67846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67848 file.
67849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67851 file.
67852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67854 VIS3 routines.
67855
67856 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67857 New file.
67858
67859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67860
67861 * sysdeps/sparc/configure.in: New file.
67862 * sysdeps/sparc/configure: Generate.
67863 * configure.in (libc_cv_sparc_as_vis3): Substitute.
67864 * configure: Regenerate.
67865 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67866 * config.make.in (have-as-vis3): New.
67867 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67868 available use -Av9d instead of -Av9a.
67869 * sysdeps/sparc/sparc64/Makefile: Likewise.
67870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67872 New file.
67873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67874 file.
67875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67876 New file.
67877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67878 file.
67879 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67880 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67881 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67882 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67883 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67884
67885 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67886 fzeros/fnegs to load 0x80000000 into a float register instead of
67887 using the stack.
67888 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67889
67890 2012-03-14 Joseph Myers <joseph@codesourcery.com>
67891
67892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67893 bits/syscall.h.
67894 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67895 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67896 ($(inst_includedir)/bits/syscall.h): Remove rule.
67897 ($(objpfx)bits/syscall.d): Include instead of
67898 $(objpfx)syscall-list.d.
67899 (generated): Change syscall-list.h and syscall-list.d to
67900 bits/syscall.h and bits/syscall.d.
67901
67902 2012-03-14 Roland McGrath <roland@hack.frob.com>
67903
67904 [BZ #13846]
67905 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67906
67907 2012-03-14 Joseph Myers <joseph@codesourcery.com>
67908
67909 [BZ #13841]
67910 * math/s_csqrt.c: Include <float.h>.
67911 (__csqrt): Scale large or subnormal inputs.
67912 * math/s_csqrtf.c: Likewise.
67913 * math/s_csqrtl.c: Likewise.
67914 * math/libm-test.inc (csqrt_test): Add more tests.
67915 * sysdeps/i386/fpu/libm-test-ulps: Update.
67916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67917
67918 [BZ #13840]
67919 * math/libm-test.inc (hypot_test): Add more tests.
67920
67921 2012-03-13 David S. Miller <davem@davemloft.net>
67922
67923 [BZ #13840]
67924 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67925 double-precision for the calculation instead of scaling.
67926
67927 2012-03-13 Joseph Myers <joseph@codesourcery.com>
67928
67929 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67930 manipulate bits before adding and subtracting TWO52[sx].
67931 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67932 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67933 Likewise.
67934 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67935
67936 2012-03-13 David S. Miller <davem@davemloft.net>
67937
67938 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67939 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67940 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67941 rtld-global-offsets.h
67942 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67943
67944 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67945 large parameters.
67946
67947 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67948
67949 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67950 'err' in the ifdef scope in which it is actually used.
67951
67952 * nss/nss_db/db-init.c: Include string.h
67953
67954 2012-03-12 David S. Miller <davem@davemloft.net>
67955
67956 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67957 masking out of the most significant byte of random value used.
67958 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67959 Fix coding style in previous change.
67960
67961 * sysdeps/unix/sysv/linux/kernel-features.h
67962 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67963 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67964 expression.
67965 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67966 later.
67967
67968 2012-03-11 David S. Miller <davem@davemloft.net>
67969
67970 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67971 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67972 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67973 for 'resultvar' otherwise things get truncated on 64-bit.
67974
67975 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67976 Fix masking out of the most significant byte of random value used.
67977
67978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67979
67980 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
67981
67982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67983
67984 2012-03-09 David S. Miller <davem@davemloft.net>
67985
67986 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67987 variables with appropriate CPP guards.
67988 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67989 from the frame pointer, not the stack pointer. Correct layout
67990 comments. Fix test on resulting framesize and the management of
67991 the outregs buffer for pltexit. Preserve floating point return
67992 values across _dl_call_pltexit call.
67993 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67994 framesize and the management of the outregs buffer for pltexit.
67995 Preserve floating point return values across _dl_call_pltexit
67996 call.
67997 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67998 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67999 (la_sparc64_gnu_pltexit): New functions.
68000 (print_exit): Fix format string for return register value.
68001
68002 2012-03-10 Joseph Myers <joseph@codesourcery.com>
68003
68004 * sunrpc/Makefile (others): Add rpcgen.
68005 ($(objpfx)rpcgen): Remove special build rule and dependency on
68006 libc.
68007 * sunrpc/rpcgen.c: New file.
68008
68009 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
68010
68011 [BZ #13673]
68012 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
68013 * stdio-common/bug-vfprintf-nargs.c: Likewise.
68014 * sysdeps/i386/crti.S: Likewise.
68015 * sysdeps/i386/crtn.S: Likewise.
68016 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
68017 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
68018 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
68019 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
68020 * sysdeps/sh/crti.S: Likewise.
68021 * sysdeps/sh/crtn.S: Likewise.
68022 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68023
68024 [BZ #13673]
68025 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
68026 with URL.
68027 * locale/programs/locfile-kw.gperf: Likewise.
68028 * locale/programs/charmap-kw.h: Regenerated.
68029 * locale/programs/locfile-kw.h: Likewise.
68030
68031 [BZ #13673]
68032 * intl/plural.y: Replace FSF snail mail address with URL.
68033 * intl/plural.c: Regenerated.
68034
68035 2012-03-09 Richard Henderson <rth@twiddle.net>
68036
68037 * include/math_private.h: Remove file.
68038 * math/math_private.h: Move file ...
68039 * sysdeps/generic/math_private.h: ... here.
68040
68041 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
68042 * sysdeps/powerpc/fpu/math_private.h: Likewise.
68043 * sysdeps/x86_64/fpu/math_private.h: Likewise.
68044
68045 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
68046 and <math_private.h>.
68047 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68048 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68049 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68050 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68051 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68052 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
68053 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68054 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68055 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68056 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68058 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68059 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68060 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68061 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68062 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68063 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68064 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68065 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68066 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68067 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68068 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68069 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68070 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68071 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
68072 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68073 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68074 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68075 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68077 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68078 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68079 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
68080 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68081 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68082 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68083 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68084 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68085 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68086 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68087 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
68088 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68089 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68090 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
68091 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
68092 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68093 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
68094 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
68095 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68096 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68097 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68098 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
68099 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
68100 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68101 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
68102 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68103 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68104 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
68105 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
68106 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
68107 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68108 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
68109 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68110 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68111 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
68112 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68113 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68114 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68115 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
68116 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
68117 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
68118 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68119 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
68120 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68121 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
68122 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
68123 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
68124 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68125 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68126 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68127 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68128 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68129 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68130 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68131 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68132 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68133 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68134 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68135 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68136 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68137 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68138 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68139 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68140 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68141 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68142 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68143 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68144 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68145 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68146 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68147 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68148 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68149 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68150 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68151 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68152 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68153 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68154 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68155 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68156 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68157 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68158 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68159 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68160 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68161 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68162 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68163 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68164 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68165 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68166 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68167 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68168 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68169 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68170 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68171 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68172 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68173 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68174 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68175 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68176 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68177 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68178 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68179 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68180 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68181 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68182 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68183 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68184 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68185 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68186 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68187 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68188 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68189 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68190 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68191 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68192 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68193 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68194 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68195 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68196 * sysdeps/ieee754/k_standard.c: Likewise.
68197 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68198 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68199 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68200 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68201 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68202 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68203 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68204 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68205 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68206 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68207 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68208 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68209 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68210 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68211 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68212 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68213 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68214 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68215 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68216 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68217 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68218 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68219 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68220 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68221 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68222 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68223 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68224 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68225 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68226 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68227 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68228 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68229 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68230 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68231 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68232 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68233 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68234 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68235 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68236 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68237 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68238 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68239 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68240 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68241 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68242 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68243 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68244 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68245 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68246 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68247 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68248 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68249 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68250 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68251 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68252 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68253 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68254 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68255 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68256 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68257 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68258 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68259 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68260 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68261 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68262 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68263 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68264 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68265 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68266 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68267 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68268 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68269 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68270 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68271 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68272 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68273 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68274 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68275 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68276 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
68277 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
68278 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68279 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68280 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68281 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
68282 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68283 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68284 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
68285 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68286 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68287 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
68288 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68289 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
68290 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
68291 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68292 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68293 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
68294 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
68295 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
68296 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
68297 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68298 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68299 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68300 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68301 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
68302 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68303 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68304 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
68305 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
68306 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68307 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68308 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68309 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68310 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68311 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68312 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68313 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68314 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68315 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68316 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68317 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68318 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68319 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68320 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68321 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68322 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
68323 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68324 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68325 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68326 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68327 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68328 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68329 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68330 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
68331 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68332 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68333 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
68334 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
68335 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68336 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
68337 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
68338 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68339 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
68340 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
68341 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68342 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68343 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68344 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68345 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68346 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
68347 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68348 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68349 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68350 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68351 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
68352 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
68353 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68354 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68355 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68356 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
68357 * sysdeps/ieee754/s_lib_version.c: Likewise.
68358 * sysdeps/ieee754/s_matherr.c: Likewise.
68359 * sysdeps/ieee754/s_signgam.c: Likewise.
68360 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68361 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68362 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
68363 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
68364 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
68365 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68366 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
68367 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
68368 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
68369 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
68370 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
68371 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
68372 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68373 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68374 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68375 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68376 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68377 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68378 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68379 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68380 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68381
68382 2012-03-09 Joseph Myers <joseph@codesourcery.com>
68383
68384 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68385 * sunrpc/rpc_main.c: Likewise.
68386 * sunrpc/rpc_svcout.c: Likewise.
68387
68388 2012-03-09 David S. Miller <davem@davemloft.net>
68389
68390 * include/math_private.h: New file.
68391
68392 2012-03-09 Joseph Myers <joseph@codesourcery.com>
68393
68394 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68395 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68396 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68397 from <bits/socket_type.h>.
68398 (enum __socket_type): Don't define here.
68399 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68401 bits/socket_type.h.
68402
68403 [BZ #13566]
68404 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68405 checking __USE_GNU.
68406
68407 * Makerules ($(inst_includedir)/%.h): New rule.
68408 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68409 (install-others): Remove variable setting.
68410 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68411
68412 2012-03-08 Richard Henderson <rth@twiddle.net>
68413
68414 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68415 from macro to inline function; merge with the
68416 !__LIBC_INTERNAL_MATH_INLINES version.
68417 (__ieee754_sqrtf): Likewise.
68418
68419 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68420 to inline function.
68421 (__rintf, __floor, __floorf): Likewise.
68422
68423 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68424 macro to inline function.
68425 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68426
68427 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68428 not <math/math_private.h>.
68429
68430 2012-03-08 David S. Miller <davem@davemloft.net>
68431
68432 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68433 copyright year.
68434 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68435
68436 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
68437
68438 * resolv/gai_misc.c (handle_requests): Fix struct timespec
68439 normalization.
68440 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68441 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68442
68443 2012-03-08 Ulrich Drepper <drepper@gmail.com>
68444
68445 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
68446 be defined individually, they must be defined as a block. Define
68447 S for printing a string instead of hidint the different by using a
68448 macro for adding the 'l'.
68449 * stdio-common/tst-fphex-wide.c: Adjust.
68450
68451 2012-03-07 Marek Polacek <polacek@redhat.com>
68452
68453 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68454
68455 2012-03-08 Marek Polacek <polacek@redhat.com>
68456
68457 [BZ #13806]
68458 * stdio-common/Makefile (tests): Add tst-fphex-wide.
68459 * stdio-common/tst-fphex.c: Define a few macros to make the
68460 test reusable. Use them.
68461 * stdio-common/tst-fphex-wide.c: New file.
68462
68463 2012-03-08 Joseph Myers <joseph@codesourcery.com>
68464
68465 [BZ #6911]
68466 * manual/macros.texi (gnusystems): New macro.
68467 (nongnusystems): Likewise.
68468 (gnulinuxhurdsystems): Likewise.
68469 (gnuhurdsystems): Likewise..
68470 (gnulinuxsystems): Likewise.
68471 * manual/charset.texi: Use new macros or @theglibc{} to refer to
68472 variants of the GNU system, not "GNU system".
68473 * manual/conf.texi: Likewise.
68474 * manual/errno.texi: Likewise. Update example of errno macro
68475 expansion.
68476 * manual/filesys.texi: Likewise.
68477 (getumask): Document as specific to GNU/Hurd.
68478 * manual/install.texi: Likewise. Reword some references to
68479 GNU/Linux.
68480 * manual/intro.texi: Likewise.
68481 * manual/io.texi: Likewise.
68482 (File Name Portability): Detail which constraints are inapplicable
68483 to all GNU systems and which are only inapplicable to GNU/Hurd.
68484 * manual/job.texi: Likewise.
68485 * manual/llio.texi: Likewise.
68486 (O_NOCTTY): Document as present on GNU/Linux.
68487 * manual/maint.texi: Likewise.
68488 * manual/memory.texi: Likewise.
68489 * manual/pattern.texi: Likewise.
68490 * manual/pipe.texi: Likewise.
68491 * manual/process.texi: Likewise.
68492 * manual/resource.texi: Likewise.
68493 (RUSAGE_CHILDREN): Remove statement about specifying a particular
68494 child on GNU/Hurd.
68495 * manual/setjmp.texi: Likewise.
68496 * manual/signal.texi: Likewise.
68497 * manual/startup.texi: Likewise.
68498 * manual/stdio.texi: Likewise.
68499 * manual/terminal.texi: Likewise.
68500 (ONLCR): Document as POSIX.
68501 (OXTABS): Document availability on GNU/Linux as XTABS.
68502 (ONOEOT): Document availability separately from other bits.
68503 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68504 * manual/time.texi: Likewise.
68505 * manual/users.texi: Likewise.
68506 * INSTALL: Regenerated.
68507 * sysdeps/gnu/errlist.c: Regenerated.
68508
68509 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68510 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68511 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
68512 puts.
68513 * configure: Regenerated.
68514
68515 2012-03-07 Joseph Myers <joseph@codesourcery.com>
68516
68517 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68518 default includes instead of AC_HEADER_CHECK.
68519 * sysdeps/i386/configure: Regenerated.
68520
68521 [BZ #10716]
68522 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68523 * math/s_cacoshf.c (__cacoshf): Likewise.
68524 * math/s_cacoshl.c (__cacoshl): Likewise.
68525 * math/s_casinh.c (__casinh): Set signs of result from argument.
68526 * math/s_casinhf.c (__casinhf): Likewise.
68527 * math/s_casinhl.c (__casinhl): Likewise.
68528 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68529 (casinh_test): Add more tests.
68530 * sysdeps/i386/fpu/libm-test-ulps: Update.
68531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68532
68533 2012-03-07 Ulrich Drepper <drepper@gmail.com>
68534
68535 * po/zh_TW.po: Update from translation team.
68536
68537 * login/Makefile (distribute): Remove variable.
68538 * catgets/Makefile: Likewise.
68539 * mach/Makefile: Likewise.
68540 * malloc/Makefile: Likewise.
68541 * misc/Makefile: Likewise.
68542 * iconv/Makefile: Likewise.
68543 * nscd/Makefile: Likewise.
68544 * hurd/Makefile: Likewise.
68545 * manual/Makefile: Likewise.
68546 * locale/Makefile: Likewise.
68547 * intl/Makefile: Likewise.
68548 * conform/Makefile: Likewise.
68549 * nss/Makefile: Likewise.
68550 * time/Makefile: Likewise.
68551 * soft-fp/Makefile: Likewise.
68552 * dirent/Makefile: Likewise.
68553 * gmon/Makefile: Likewise.
68554 * po/Makefile: Likewise.
68555 * rt/Makefile: Likewise.
68556 * socket/Makefile: Likewise.
68557 * math/Makefile: Likewise.
68558 * signal/Makefile: Likewise.
68559 * debug/Makefile: Likewise.
68560 * elf/Makefile: Likewise.
68561 * timezone/Makefile: Likewise.
68562 * stdlib/Makefile: Likewise.
68563 * iconvdata/Makefile: Likewise.
68564 * sunrpc/Makefile: Likewise.
68565 * io/Makefile: Likewise.
68566 * argp/Makefile: Likewise.
68567 * inet/Makefile: Likewise.
68568 * hesiod/Makefile: Likewise.
68569 * grp/Makefile: Likewise.
68570 * csu/Makefile: Likewise.
68571 * wctype/Makefile: Likewise.
68572 * crypt/Makefile: Likewise.
68573 * libio/Makefile: Likewise.
68574 * string/Makefile: Likewise.
68575 * nis/Makefile: Likewise.
68576 * resolv/Makefile: Likewise.
68577 * stdio-common/Makefile: Likewise.
68578 * wcsmbs/Makefile: Likewise.
68579 * dlfcn/Makefile: Likewise.
68580 * posix/Makefile: Likewise.
68581
68582 [BZ #6959]
68583 * timezone/Makefile: Don't install timezone files, just the programs
68584 and scripts.
68585
68586 2012-03-06 Ulrich Drepper <drepper@gmail.com>
68587
68588 * nss/databases.def: Add missing gshadow entry.
68589
68590 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
68591
68592 2012-03-06 Marek Polacek <polacek@redhat.com>
68593
68594 [BZ #13726]
68595 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68596 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68597 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68598 * stdio-common/tst-long-dbl-fphex.c: New file.
68599
68600 2012-03-06 David S. Miller <davem@davemloft.net>
68601
68602 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68603 (set_obp_int): New function.
68604 (get_obp_int): New function.
68605 (__get_clockfreq_via_dev_openprom): Likewise.
68606 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68607 Avoid unused variable warnings on 'val' and use builtin_expect.
68608 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68609 __builtin_expect.
68610 (INLINE_CLONE_SYSCALL): Likewise.
68611
68612 2012-03-05 David S. Miller <davem@davemloft.net>
68613
68614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68615
68616 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
68617
68618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68619
68620 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68621 only for |x| >= 40.
68622 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68623
68624 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
68625
68626 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68627 Replace gettimeofday with __vdso_gettimeofday.
68628
68629 * sysdeps/unix/sysv/linux/x86_64/init-first.c
68630 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68631 __vdso_clock_gettime and __vdso_getcpu.
68632
68633 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68634 time with __vdso_time.
68635
68636 2012-03-05 Joseph Myers <joseph@codesourcery.com>
68637
68638 * manual/lang.texi (size_t): Note types to which size_t may be
68639 equivalent with the GNU C Library, but do not describe when
68640 differences between them are significant.
68641
68642 2012-03-05 Andreas Jaeger <aj@suse.de>
68643
68644 * sysdeps/i386/fpu/libm-test-ulps: Update.
68645
68646 2012-03-05 Joseph Myers <joseph@codesourcery.com>
68647
68648 [BZ #3976]
68649 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68650 (__ieee754_pow): Save and restore rounding mode and use
68651 round-to-nearest for main computations.
68652 * math/libm-test.inc (pow_test_tonearest): New function.
68653 (pow_test_towardzero): Likewise.
68654 (pow_test_downward): Likewise.
68655 (pow_test_upward): Likewise.
68656 (main): Call the new functions.
68657 * sysdeps/i386/fpu/libm-test-ulps: Update.
68658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68659
68660 [BZ #3976]
68661 * math/libm-test.inc (cosh_test_tonearest): New function.
68662 (cosh_test_towardzero): Likewise.
68663 (cosh_test_downward): Likewise.
68664 (cosh_test_upward): Likewise.
68665 (sinh_test_tonearest): Likewise.
68666 (sinh_test_towardzero): Likewise.
68667 (sinh_test_downward): Likewise.
68668 (sinh_test_upward): Likewise.
68669 (main): Call the new functions.
68670 * sysdeps/i386/fpu/libm-test-ulps: Update.
68671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68672
68673 2012-03-05 Tom de Vries <tom@codesourcery.com>
68674
68675 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68676 default stack guard is set in last bytes.
68677 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68678
68679 2012-03-05 Kees Cook <keescook@chromium.org>
68680
68681 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68682
68683 [BZ #13656]
68684 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68685 possibly allocate from heap instead of stack.
68686 * stdio-common/bug-vfprintf-nargs.c: New file.
68687 * stdio-common/Makefile (tests): Add nargs overflow test.
68688
68689 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
68690
68691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68692
68693 2012-03-03 Marek Polacek <polacek@redhat.com>
68694
68695 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68696 * math/math_private.h: Likewise.
68697 * stdlib/tst-strtod.c: Likewise.
68698 * sysdeps/i386/i486/bits/atomic.h: Likewise.
68699 * sysdeps/x86_64/bits/atomic.h: Likewise.
68700
68701 2012-03-02 David S. Miller <davem@davemloft.net>
68702
68703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68707 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68708 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68709 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68710 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68711
68712 2012-03-02 Roland McGrath <roland@hack.frob.com>
68713
68714 [BZ #13792]
68715 * manual/examples/README: New file, says the example source files
68716 can be used under GPL>=2.
68717 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68718 line containing just "*/".
68719 * manual/examples/add.c: Add copyright header (GPL>=2).
68720 * manual/examples/argp-ex1.c: Likewise.
68721 * manual/examples/argp-ex2.c: Likewise.
68722 * manual/examples/argp-ex3.c: Likewise.
68723 * manual/examples/argp-ex4.c: Likewise.
68724 * manual/examples/atexit.c: Likewise.
68725 * manual/examples/db.c: Likewise.
68726 * manual/examples/dir.c: Likewise.
68727 * manual/examples/dir2.c: Likewise.
68728 * manual/examples/execinfo.c: Likewise.
68729 * manual/examples/filecli.c: Likewise.
68730 * manual/examples/filesrv.c: Likewise.
68731 * manual/examples/fmtmsgexpl.c: Likewise.
68732 * manual/examples/genpass.c: Likewise.
68733 * manual/examples/inetcli.c: Likewise.
68734 * manual/examples/inetsrv.c: Likewise.
68735 * manual/examples/isockad.c: Likewise.
68736 * manual/examples/longopt.c: Likewise.
68737 * manual/examples/memopen.c: Likewise.
68738 * manual/examples/memstrm.c: Likewise.
68739 * manual/examples/mkfsock.c: Likewise.
68740 * manual/examples/mkisock.c: Likewise.
68741 * manual/examples/mygetpass.c: Likewise.
68742 * manual/examples/pipe.c: Likewise.
68743 * manual/examples/popen.c: Likewise.
68744 * manual/examples/rprintf.c: Likewise.
68745 * manual/examples/search.c: Likewise.
68746 * manual/examples/select.c: Likewise.
68747 * manual/examples/setjmp.c: Likewise.
68748 * manual/examples/sigh1.c: Likewise.
68749 * manual/examples/sigusr.c: Likewise.
68750 * manual/examples/stpcpy.c: Likewise.
68751 * manual/examples/strdupa.c: Likewise.
68752 * manual/examples/strftim.c: Likewise.
68753 * manual/examples/strncat.c: Likewise.
68754 * manual/examples/subopt.c: Likewise.
68755 * manual/examples/swapcontext.c: Likewise.
68756 * manual/examples/termios.c: Likewise.
68757 * manual/examples/testopt.c: Likewise.
68758 * manual/examples/testpass.c: Likewise.
68759 * manual/examples/timeval_subtract.c: Likewise.
68760
68761 [BZ #13792]
68762 * manual/time.texi (Elapsed Time): Move timeval_subtract example
68763 function to ...
68764 * manual/timeval_subtract.c.texi: ... here, new file.
68765
68766 2012-03-02 David S. Miller <davem@davemloft.net>
68767
68768 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68769
68770 2012-03-02 Joseph Myers <joseph@codesourcery.com>
68771
68772 [BZ #3976]
68773 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68774 (__sin): Save and restore rounding mode and use round-to-nearest
68775 for all computations.
68776 (__cos): Save and restore rounding mode and use round-to-nearest
68777 for all computations.
68778 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68779 <fenv.h>.
68780 (tan): Save and restore rounding mode and use round-to-nearest for
68781 all computations.
68782 * math/libm-test.inc (cos_test_tonearest): New function.
68783 (cos_test_towardzero): Likewise.
68784 (cos_test_downward): Likewise.
68785 (cos_test_upward): Likewise.
68786 (sin_test_tonearest): Likewise.
68787 (sin_test_towardzero): Likewise.
68788 (sin_test_downward): Likewise.
68789 (sin_test_upward): Likewise.
68790 (tan_test_tonearest): Likewise.
68791 (tan_test_towardzero): Likewise.
68792 (tan_test_downward): Likewise.
68793 (tan_test_upward): Likewise.
68794 (main): Call the new functions.
68795 * sysdeps/i386/fpu/libm-test-ulps: Update.
68796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68797
68798 [BZ #10135]
68799 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68800 small n, then large n, before computing and testing k+n.
68801 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68802 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68803 Likewise.
68804 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68805 Likewise.
68806 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68807 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68808 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68809 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68810 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68811 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68812 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68813 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68814 * math/libm-test.inc (scalbn_test): Add more tests.
68815 (scalbln_test): Likewise.
68816
68817 * manual/filesys.texi (mode_t): Describe constraints on size and
68818 signedness, not exact equivalence to a particular type.
68819 (ino_t): Likewise.
68820 (ino64_t): Likewise.
68821 (dev_t): Likewise.
68822 (nlink_t): Likewise.
68823 (blkcnt_t): Likewise.
68824 (blkcnt64_t): Likewise.
68825 * manual/llio.texi (off_t): Likewise.
68826
68827 [BZ #3976]
68828 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68829 (__ieee754_exp): Save and restore rounding mode and use
68830 round-to-nearest for all computations.
68831 * math/libm-test.inc (exp_test_tonearest): New function.
68832 (exp_test_towardzero): Likewise.
68833 (exp_test_downward): Likewise.
68834 (exp_test_upward): Likewise.
68835 (main): Call the new functions.
68836 * sysdeps/i386/fpu/libm-test-ulps: Update.
68837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68838
68839 2012-03-01 Chris Demetriou <cgd@google.com>
68840
68841 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68842 have predictable order.
68843
68844 2012-03-01 David S. Miller <davem@davemloft.net>
68845
68846 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68847
68848 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68849 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68850 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68851 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68852
68853 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68854 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68855 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68857 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68858 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68859 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68860 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68861 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68862
68863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68864
68865 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68866 * sysdeps/sparc/fpu/libm-test-ulps: to here.
68867 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68868
68869 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68870 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68871 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68872 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68873 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68874 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68875 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68876 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68877 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68878 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68879 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68880 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68881 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68882 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68883 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68884 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68885 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68886 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68887 * sysdeps/sparc/elf/configure: Regenerated.
68888
68889 2012-03-01 Joseph Myers <joseph@codesourcery.com>
68890
68891 * configure.in (AS, LD): Require binutils 2.20 or later.
68892 * configure: Regenerated.
68893 * manual/install.texi (Tools for Compilation): Give binutils 2.20
68894 as required minimum version.
68895 * INSTALL: Regenerated.
68896
68897 [BZ #2541]
68898 [BZ #4108]
68899 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68900 before squaring exponent.
68901 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68902 bottom long double and 27 bits of top long double before squaring
68903 exponent.
68904 * math/libm-test.inc (erfc_test): Add more tests.
68905 * sysdeps/i386/fpu/libm-test-ulps: Update.
68906 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68908
68909 2012-03-01 Kai Tietz <ktietz@redhat.com>
68910
68911 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68912 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68913 containing bit-fields.
68914 * soft-fp/extended.h (_FP_UNION_E): Likewise.
68915 * soft-fp/single.h (_FP_UNION_S): Likewise.
68916 * soft-fp/double.h (_FP_UNION_D): Likewise.
68917
68918 2012-02-29 Joseph Myers <joseph@codesourcery.com>
68919
68920 [BZ #13786]
68921 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68922 not include ../strcmp.S.
68923 [USE_AS_STRNCASECMP_L]: Likewise.
68924 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68925 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68926 * sysdeps/i386/i686/multiarch/strncase_l-c.c
68927 (__strncasecmp_l_ia32): Define as alias to
68928 __strncasecmp_l_nonascii.
68929
68930 [BZ #5794]
68931 * math/libm-test.inc (expm1_test): Add test for bug 5794.
68932 * sysdeps/i386/fpu/libm-test-ulps: Update.
68933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68934
68935 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68937
68938 2012-02-29 Jeff Law <law@redhat.com>
68939
68940 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68941 out of bounds read.
68942
68943 2012-02-29 Marek Polacek <polacek@redhat.com>
68944
68945 [BZ #13706]
68946 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68947 * elf/Makefile: Add rules to run tst-unused-dep.out.
68948
68949 2012-02-28 David S. Miller <davem@davemloft.net>
68950
68951 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68952 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68953 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68954 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68955 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68956 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68957
68958 2012-02-29 Joseph Myers <joseph@codesourcery.com>
68959
68960 * math/libm-test.inc (llround_test): Move one test from
68961 lround_test. Use TEST_f_L in moved test.
68962 (lround_test): Move misplaced test to llround_test. Add testcase
68963 from bug 2561.
68964
68965 2012-02-28 Ulrich Drepper <drepper@gmail.com>
68966
68967 * sysdeps/x86_64/fpu/e_expf.S: New file.
68968 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68969
68970 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
68971
68972 [BZ #13637]
68973 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68974 of remain_len that may cause incomplete multi-byte character and
68975 false match.
68976 * posix/bug-regex33.c: New file.
68977 * posix/Makefile (tests): Add bug-regex33.
68978
68979 2012-02-28 Joseph Myers <joseph@codesourcery.com>
68980
68981 * manual/macros.texi: New file.
68982 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68983 * manual/libc.texinfo: Include macros.texi.
68984 * manual/creatute.texi: Likewise.
68985 * manual/install.texi: Likewise.
68986 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68987 @glibcadj{} in references to the GNU C Library.
68988 * manual/charset.texi: Likewise.
68989 * manual/conf.texi: Likewise.
68990 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
68991 when not using those macros.
68992 * manual/creature.texi: Likewise.
68993 * manual/crypt.texi: Likewise.
68994 * manual/errno.texi: Likewise.
68995 * manual/filesys.texi: Likewise.
68996 * manual/header.texi: Likewise.
68997 * manual/install.texi: Likewise.
68998 * manual/intro.texi: Likewise.
68999 * manual/io.texi: Likewise.
69000 * manual/job.texi: Likewise.
69001 * manual/lang.texi: Likewise.
69002 * manual/libc.texiinfo: Likewise.
69003 * manual/llio.texi: Likewise.
69004 * manual/locale.texi: Likewise.
69005 * manual/maint.texi: Likewise.
69006 * manual/math.texi: Likewise.
69007 * manual/memory.texi: Likewise.
69008 * manual/message.texi: Likewise.
69009 * manual/nss.texi: Likewise.
69010 * manual/pattern.texi: Likewise.
69011 * manual/process.texi: Likewise.
69012 * manual/resource.texi: Likewise.
69013 * manual/search.texi: Likewise.
69014 * manual/setjmp.texi: Likewise.
69015 * manual/signal.texi: Likewise.
69016 * manual/socket.texi: Likewise.
69017 * manual/startup.texi: Likewise.
69018 * manual/stdio.texi: Likewise.
69019 * manual/string.texi: Likewise.
69020 * manual/sysinfo.texi: Likewise.
69021 * manual/syslog.texi: Likewise.
69022 * manual/terminal.texi: Likewise.
69023 * manual/time.texi: Likewise.
69024 * manual/users.texi: Likewise.
69025 * INSTALL: Regenerated.
69026 * NOTES: Regenerated.
69027 * sysdeps/gnu/errlist.c: Regenerated.
69028
69029 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
69030
69031 * include/dirent.h: Include <dirstream.h> before
69032 <dirent/dirent.h>.
69033
69034 2012-02-28 David S. Miller <davem@davemloft.net>
69035
69036 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
69037 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
69038 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
69039 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
69040
69041 2012-02-27 David S. Miller <davem@davemloft.net>
69042
69043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
69044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
69045 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
69046 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
69047
69048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
69049 frame pointer instead of stack pointer relative arg slot.
69050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69051 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69052 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69053
69054 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
69055
69056 [BZ #3992]
69057 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
69058
69059 2012-02-27 David S. Miller <davem@davemloft.net>
69060
69061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
69062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
69065 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69066 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69067 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
69068 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
69069
69070 2012-02-27 Joseph Myers <joseph@codesourcery.com>
69071
69072 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
69073 later. Allow versions 5-9.
69074 * configure: Regenerated.
69075 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
69076 required minimum version and 4.6 as recommended version. Do not
69077 mention bugs in GCC 2.7 and 2.8.
69078 * INSTALL: Regenerated.
69079
69080 2012-02-27 David S. Miller <davem@davemloft.net>
69081
69082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
69083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
69084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
69085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
69086 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
69087 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69088 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
69089 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
69090
69091 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
69092 manipulate bits before adding and subtracting TWO112[sx].
69093 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69094
69095 2012-02-27 Roland McGrath <roland@hack.frob.com>
69096
69097 [BZ #13775]
69098 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
69099 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
69100 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
69101 being in POSIX, because they are in 1003.1-2008.
69102
69103 * rt/tst-aio.c: Include <fcntl.h>.
69104 * rt/tst-aio7.c: Likewise.
69105 * rt/tst-aio64.c: Likewise.
69106
69107 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
69108
69109 2012-02-27 Joseph Myers <joseph@codesourcery.com>
69110
69111 * manual/install.texi (--with-headers): Describe headers as
69112 interface headers, not private headers.
69113 (Specific advice for GNU/Linux systems): Describe use of headers
69114 from "make headers_install", not private headers from older
69115 kernels.
69116 * INSTALL: Regenerated.
69117 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
69118 Change to 2.6.19.
69119 * sysdeps/unix/sysv/linux/configure: Regenerated.
69120
69121 * manual/llio.texi (fclean): Remove documentation.
69122
69123 * manual/Makefile (libc-texi-generated): New variable. Include
69124 version.texi.
69125 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69126 $(libc-texi-generated), not duplicated list of files.
69127 (version.texi, stamp-version): New rules.
69128 (realclean): Remove $(libc-texi-generated), not individual files
69129 from that list. Do not remove dir-add.texinfo.
69130 * manual/libc.texinfo: Comment out uses of edition numbers and
69131 references to printed manual. Remove last-updated dates.
69132 (EDITION): Comment out.
69133 (ISBN): Likewise.
69134 (VERSION, UPDATED): Remove.
69135 (version.texi): Include.
69136
69137 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
69138
69139 * sysdeps/posix/spawni.c: Include <signal.h>.
69140 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69141 * sysdeps/pthread/aio_fsync.c: Likewise.
69142
69143 2012-02-26 Ulrich Drepper <drepper@gmail.com>
69144
69145 * conform/Makefile (tests): Run only when not cross-compiling and
69146 when fast-check is not defined.
69147
69148 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69149 * conform/data/limits.h-data: Fixes for POSIX2008.
69150 * conform/run-conformtest.sh: Run all tests.
69151 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69152 headers.
69153 * include/bits/dlfcn.h: Likewise.
69154 * include/langinfo.h: Likewise.
69155 * include/monetary.h: Likewise.
69156 * include/sys/poll.h: Likewise.
69157
69158 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69159 for __USE_GNU.
69160 * posix/spawn.h: Define __need_sigset_t.
69161 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69162 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69163 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
69164 to get sigevent_t only.
69165 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69166 only for __USE_GNU.
69167 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69168 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69169 process_vm_writev only for __USE_GNU.
69170 * termios/termios.h: Declare tcgetsid also for POSIX2008.
69171
69172 * conform/Makefile: For now ignore errors from run-conformtest.
69173 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
69174 POSIX to avoid namespace pollution. Don't prepend headers.
69175 * conform/data/aio.h-data: Fixes for POSIX testing.
69176 * conform/data/fcntl.h-data: Likewise.
69177 * conform/data/glob.h-data: Likewise.
69178 * conform/data/grp.h-data: Likewise.
69179 * conform/data/pthread.h-data: Likewise.
69180 * conform/data/pwd.h-data: Likewise.
69181 * conform/data/signal.h-data: Likewise.
69182 * conform/data/spawn.h-data: Likewise.
69183 * conform/data/stdio.h-data: Likewise.
69184 * conform/data/stdlib.h-data: Likewise.
69185 * conform/data/stropts.h-data: Likewise.
69186 * conform/data/sys/mman.h-data: Likewise.
69187 * conform/data/sys/stat.h-data: Likewise.
69188 * conform/data/sys/types.h-data: Likewise.
69189 * conform/data/sys/wait.h-data: Likewise.
69190 * conform/data/time.h-data: Likewise.
69191 * conform/data/unistd.h-data: Likewise.
69192 * conform/data/utime.h-data: Likewise.
69193
69194 * io/sys/stat.h: fchmod was always in POSIX.
69195 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69196 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69197 * rt/aio.h: Define __need_timespec before including <time.h>.
69198 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69199 struct. Add forward declaration of pthread_attr_t and use it in
69200 sigevent.
69201 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69202 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69203 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69204 always remove CLK_TCK definition.
69205
69206 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
69207
69208 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69209
69210 2012-02-25 Ulrich Drepper <drepper@gmail.com>
69211
69212 * conform/run-conformtest.sh: New file.
69213 * conform/Makefile: Run run-conformtest for tests.
69214 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
69215 support.
69216
69217 * conform/data/uchar.h-data: New file.
69218 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69219 * conform/data/arpa/inet.h-data: Likewise.
69220 * conform/data/assert.h-data: Likewise.
69221 * conform/data/complex.h-data: Likewise.
69222 * conform/data/cpio.h-data: Likewise.
69223 * conform/data/ctype.h-data: Likewise.
69224 * conform/data/dirent.h-data: Likewise.
69225 * conform/data/dlfcn.h-data: Likewise.
69226 * conform/data/errno.h-data: Likewise.
69227 * conform/data/fcntl.h-data: Likewise.
69228 * conform/data/float.h-data: Likewise.
69229 * conform/data/fmtmsg.h-data: Likewise.
69230 * conform/data/fnmatch.h-data: Likewise.
69231 * conform/data/ftw.h-data: Likewise.
69232 * conform/data/glob.h-data: Likewise.
69233 * conform/data/grp.h-data: Likewise.
69234 * conform/data/iconv.h-data: Likewise.
69235 * conform/data/inttypes.h-data: Likewise.
69236 * conform/data/langinfo.h-data: Likewise.
69237 * conform/data/libgen.h-data: Likewise.
69238 * conform/data/limits.h-data: Likewise.
69239 * conform/data/locale.h-data: Likewise.
69240 * conform/data/math.h-data: Likewise.
69241 * conform/data/monetary.h-data: Likewise.
69242 * conform/data/mqueue.h-data: Likewise.
69243 * conform/data/ndbm.h-data: Likewise.
69244 * conform/data/net/if.h-data: Likewise.
69245 * conform/data/netdb.h-data: Likewise.
69246 * conform/data/netinet/in.h-data: Likewise.
69247 * conform/data/nl_types.h-data: Likewise.
69248 * conform/data/poll.h-data: Likewise.
69249 * conform/data/pthread.h-data: Likewise.
69250 * conform/data/pwd.h-data: Likewise.
69251 * conform/data/regex.h-data: Likewise.
69252 * conform/data/sched.h-data: Likewise.
69253 * conform/data/search.h-data: Likewise.
69254 * conform/data/semaphore.h-data: Likewise.
69255 * conform/data/setjmp.h-data: Likewise.
69256 * conform/data/signal.h-data: Likewise.
69257 * conform/data/spawn.h-data: Likewise.
69258 * conform/data/stdarg.h-data: Likewise.
69259 * conform/data/stdio.h-data: Likewise.
69260 * conform/data/stdlib.h-data: Likewise.
69261 * conform/data/string.h-data: Likewise.
69262 * conform/data/strings.h-data: Likewise.
69263 * conform/data/stropts.h-data: Likewise.
69264 * conform/data/sys/ipc.h-data: Likewise.
69265 * conform/data/sys/mman.h-data: Likewise.
69266 * conform/data/sys/msg.h-data: Likewise.
69267 * conform/data/sys/resource.h-data: Likewise.
69268 * conform/data/sys/select.h-data: Likewise.
69269 * conform/data/sys/sem.h-data: Likewise.
69270 * conform/data/sys/shm.h-data: Likewise.
69271 * conform/data/sys/socket.h-data: Likewise.
69272 * conform/data/sys/stat.h-data: Likewise.
69273 * conform/data/sys/statvfs.h-data: Likewise.
69274 * conform/data/sys/time.h-data: Likewise.
69275 * conform/data/sys/timeb.h-data: Likewise.
69276 * conform/data/sys/times.h-data: Likewise.
69277 * conform/data/sys/types.h-data: Likewise.
69278 * conform/data/sys/uio.h-data: Likewise.
69279 * conform/data/sys/un.h-data: Likewise.
69280 * conform/data/sys/utsname.h-data: Likewise.
69281 * conform/data/sys/wait.h-data: Likewise.
69282 * conform/data/syslog.h-data: Likewise.
69283 * conform/data/tar.h-data: Likewise.
69284 * conform/data/termios.h-data: Likewise.
69285 * conform/data/utime.h-data: Likewise.
69286 * conform/data/utmpx.h-data: Likewise.
69287 * conform/data/varargs.h-data: Likewise.
69288 * conform/data/wchar.h-data: Likewise.
69289 * conform/data/wctype.h-data: Likewise.
69290 * conform/data/wordexp.h-data: Likewise.
69291
69292 * include/stropts.h: New file.
69293 * include/uchar.h: New file.
69294 * include/aio.h: Changes to allow conformtest.pl to use the headers.
69295 * include/assert.h: Likewise.
69296 * include/ctype.h: Likewise.
69297 * include/dirent.h: Likewise.
69298 * include/dlfcn.h: Likewise.
69299 * include/fcntl.h: Likewise.
69300 * include/fnmatch.h: Likewise.
69301 * include/glob.h: Likewise.
69302 * include/grp.h: Likewise.
69303 * include/libio.h: Likewise.
69304 * include/locale.h: Likewise.
69305 * include/math.h: Likewise.
69306 * include/net/if.h: Likewise.
69307 * include/netdb.h: Likewise.
69308 * include/netinet/in.h: Likewise.
69309 * include/pthread.h: Likewise.
69310 * include/pwd.h: Likewise.
69311 * include/regex.h: Likewise.
69312 * include/sched.h: Likewise.
69313 * include/search.h: Likewise.
69314 * include/setjmp.h: Likewise.
69315 * include/signal.h: Likewise.
69316 * include/stdio.h: Likewise.
69317 * include/stdlib.h: Likewise.
69318 * include/string.h: Likewise.
69319 * include/sys/cdefs.h: Likewise.
69320 * include/sys/mman.h: Likewise.
69321 * include/sys/msg.h: Likewise.
69322 * include/sys/resource.h: Likewise.
69323 * include/sys/select.h: Likewise.
69324 * include/sys/socket.h: Likewise.
69325 * include/sys/stat.h: Likewise.
69326 * include/sys/statvfs.h: Likewise.
69327 * include/sys/time.h: Likewise.
69328 * include/sys/times.h: Likewise.
69329 * include/sys/uio.h: Likewise.
69330 * include/sys/utsname.h: Likewise.
69331 * include/sys/wait.h: Likewise.
69332 * include/termios.h: Likewise.
69333 * include/time.h: Likewise.
69334 * include/ulimit.h: Likewise.
69335 * include/unistd.h: Likewise.
69336 * include/utime.h: Likewise.
69337 * include/wchar.h: Likewise.
69338 * include/wctype.h: Likewise.
69339 * include/wordexp.h: Likewise.
69340
69341 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
69342
69343 * time/time.h: TIME_UTC must be a macro.
69344 Make timespec_get available for ISO C11 only as well.
69345
69346 2012-02-24 Ulrich Drepper <drepper@gmail.com>
69347
69348 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
69349 Reported by Peng Haitao <penght@cn.fujitsu.com>.
69350
69351 2012-02-24 Joseph Myers <joseph@codesourcery.com>
69352
69353 * configure.in: Use -o not -a in test for unsupported multi-arch.
69354
69355 2012-02-24 Joseph Myers <joseph@codesourcery.com>
69356
69357 * manual/texinfo.tex: Update to version 2012-01-19.16.
69358
69359 2012-02-24 Joseph Myers <joseph@codesourcery.com>
69360
69361 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
69362
69363 2012-02-24 Roland McGrath <roland@hack.frob.com>
69364
69365 [BZ #13738]
69366 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
69367 * manual/fdl-1.3.texi: New file.
69368 * manual/fdl-1.1.texi: File removed.
69369
69370 [BZ #13738]
69371 * manual/libc.texinfo (FDL_VERSION): New @set.
69372 Use it for mention of FDL in cover text.
69373 (Documentation License): Use it in @include file name.
69374
69375 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69376 Roland McGrath <roland@hack.frob.com>
69377
69378 [BZ #5461]
69379 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69380 (not LONG_LONG_MAX and LONG_LONG_MIN.
69381 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69382 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
69383 name.
69384 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69385
69386 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69387
69388 [BZ #2547]
69389 [BZ #11365]
69390 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69391 manipulate bits before adding and subtracting TWO23[sx].
69392 * math/libm-test.inc (nearbyint_test): Add more tests.
69393
69394 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69395
69396 [BZ #2548]
69397 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69398 bits before adding and subtracting TWO23[sx].
69399 * math/libm-test.inc (rint_test): Add more tests.
69400 (rint_test_tonearest): Likewise.
69401 (rint_test_towardzero): Likewise.
69402 (rint_test_downward): Likewise.
69403 (rint_test_upward: Likewise.
69404
69405 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69406
69407 [BZ #10110]
69408 * include/stdc-predef.h: New file. Extracted from features.h.
69409 * include/features.h: Include stdc-predef.h.
69410 * Makefile (headers): Add stdc-predef.h.
69411 * CONFORMANCE (Compiler limitations): Update.
69412
69413 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69414
69415 * manual/libc.texinfo (VERSION, UPDATED): Revert.
69416
69417 2012-02-21 David S. Miller <davem@davemloft.net>
69418
69419 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69420 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69421
69422 2012-02-20 David S. Miller <davem@davemloft.net>
69423
69424 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69425 using a normal save/restore sequence, rather than allocating a
69426 dummy stack frame just to store a frame pointer and restore.
69427 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69428
69429 2012-02-21 Joseph Myers <joseph@codesourcery.com>
69430
69431 * manual/install.texi: Fix stray word in line-wrapped comment.
69432
69433 2012-02-20 David S. Miller <davem@davemloft.net>
69434
69435 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69436 both binutils and gcc support GOTDATA.
69437
69438 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69439 "rd %pc" in the PIC register setup sequences.
69440
69441 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69442 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69443 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69444 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69445 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69446 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69447 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69448 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69449 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69450 (SYSCALL_ERROR_HANDLER): Likewise.
69451 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69452 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69453 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69454 (SYSCALL_ERROR_HANDLER): Likewise.
69455
69456 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69457 (HAVE_GCC_GOTDATA): New.
69458 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69459 relocation support in both binutils and gcc.
69460 * sysdeps/sparc/elf/configure: Regenerate.
69461
69462 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69463 * sysdeps/sparc/sparc32/elf/configure: Delete.
69464 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69465 * sysdeps/sparc/sparc64/elf/configure: Delete.
69466 * sysdeps/sparc/elf/configure.in: New file.
69467 * sysdeps/sparc/elf/configure: Generate.
69468
69469 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69470 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69471 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69472 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69473 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69474
69475 2012-02-21 Joseph Myers <joseph@codesourcery.com>
69476
69477 * manual/install.texi: Do not mention specific glibc version
69478 numbers.
69479 * manual/libc.texinfo (VERSION, UPDATED): Update.
69480 (@copying): Use @copyright{} and range of years.
69481
69482 2012-02-21 Joseph Myers <joseph@codesourcery.com>
69483
69484 [BZ #13695]
69485 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69486 [crti.S not in sysdirs] (generated): Do not append.
69487 [crti.S not in sysdirs] (omit-deps): Likewise.
69488 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69489 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69490 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69491 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69492 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69493 Likewise.
69494 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69495 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69496 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69497 * csu/defs.awk: Remove file.
69498 * sysdeps/generic/initfini.c: Likewise.
69499 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69500 variable.
69501 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69502 Likewise.
69503
69504 2012-02-20 Joseph Myers <joseph@codesourcery.com>
69505
69506 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69507 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69508 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69509 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69510 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69511 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69512 <bits/epoll.h>.
69513 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69514 (__EPOLL_PACKED): Define to empty if not defined by
69515 <bits/epoll.h>.
69516 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69518 bits/epoll.h.
69519
69520 2012-02-20 Joseph Myers <joseph@codesourcery.com>
69521
69522 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69523 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69524 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69525 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69526 <bits/timerfd.h>.
69527 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69528 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69529 bits/timerfd.h.
69530
69531 2012-02-20 Joseph Myers <joseph@codesourcery.com>
69532
69533 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69534 in C locale.
69535 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69536 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69537 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69539
69540 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
69541
69542 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69543 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69544
69545 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
69546
69547 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69548 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69549 defined.
69550 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69551 Likewise.
69552 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69553 entry for 2.16.
69554
69555 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
69556
69557 * math/w_acos.c: Use non-signaling floating-point comparisons.
69558 * math/w_acosf.c: Likewise.
69559 * math/w_acosh.c: Likewise.
69560 * math/w_acoshf.c: Likewise.
69561 * math/w_acoshl.c: Likewise.
69562 * math/w_acosl.c: Likewise.
69563 * math/w_asin.c: Likewise.
69564 * math/w_asinf.c: Likewise.
69565 * math/w_asinl.c: Likewise.
69566 * math/w_atanh.c: Likewise.
69567 * math/w_atanhf.c: Likewise.
69568 * math/w_atanhl.c: Likewise.
69569 * math/w_exp2.c: Likewise.
69570 * math/w_exp2f.c: Likewise.
69571 * math/w_exp2l.c: Likewise.
69572 * math/w_j0.c: Likewise.
69573 * math/w_j0f.c: Likewise.
69574 * math/w_j0l.c: Likewise.
69575 * math/w_j1.c: Likewise.
69576 * math/w_j1f.c: Likewise.
69577 * math/w_j1l.c: Likewise.
69578 * math/w_jn.c: Likewise.
69579 * math/w_jnf.c: Likewise.
69580 * math/w_log.c: Likewise.
69581 * math/w_log10.c: Likewise.
69582 * math/w_log10f.c: Likewise.
69583 * math/w_log10l.c: Likewise.
69584 * math/w_log2.c: Likewise.
69585 * math/w_log2f.c: Likewise.
69586 * math/w_log2l.c: Likewise.
69587 * math/w_logf.c: Likewise.
69588 * math/w_logl.c: Likewise.
69589 * math/w_sqrt.c: Likewise.
69590 * math/w_sqrtf.c: Likewise.
69591 * math/w_sqrtl.c: Likewise.
69592 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69593 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69594 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69595 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69596 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69597
69598 2012-02-19 Joseph Myers <joseph@codesourcery.com>
69599
69600 [BZ #9739]
69601 * manual/string.texi (strnlen): Use correct parameter name in
69602 equivalent expression.
69603
69604 2012-02-19 Joseph Myers <joseph@codesourcery.com>
69605
69606 [BZ #11174]
69607 * manual/users.texi (seteuid): Consistently use neweuid for
69608 argument name.
69609
69610 2012-02-19 Joseph Myers <joseph@codesourcery.com>
69611
69612 [BZ #13704]
69613 * manual/nss.texi (Services in the NSS configuration): Correct
69614 list of services in example configuration file.
69615
69616 2012-02-19 Nick Bowler <nbowler@draconx.ca>
69617
69618 [BZ #11322]
69619 * manual/arith.texi: Remove statements about negative zero
69620 behaving identically to zero.
69621
69622 2012-02-18 Joseph Myers <joseph@codesourcery.com>
69623
69624 [BZ #5993]
69625 * manual/install.texi: Do not document upgrading from libc5.
69626
69627 2012-02-18 Joseph Myers <joseph@codesourcery.com>
69628
69629 [BZ #4596]
69630 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69631
69632 2012-02-18 David S. Miller <davem@davemloft.net>
69633
69634 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69635 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69636 %o7 across the call.
69637 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69638 instead.
69639 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69640 SETUP_PIC_REG_LEAF.
69641 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69642 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69643 * sysdeps/sparc/crtn.S: Likewise.
69644
69645 2012-02-17 Ulrich Drepper <drepper@gmail.com>
69646
69647 * aout/Makefile: Remove.
69648
69649 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
69650
69651 [BZ #13058]
69652 * manual/examples/argp-ex1.c (main): Format definition in GNU
69653 style.
69654 * manual/examples/argp-ex2.c (main): Likewise.
69655 * manual/examples/argp-ex3.c (main): Likewise.
69656 * manual/examples/argp-ex4.c (main): Likewise.
69657 * manual/examples/longopt.c (main): Use new-style prototype
69658 definition.
69659 * manual/examples/strncat.c (main): Specify return type and use
69660 (void) for arguments.
69661 * manual/examples/subopt.c (main): Use char **argv argument.
69662
69663 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69664
69665 [BZ #5077]
69666 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69667 rounding modes.
69668
69669 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
69670
69671 [BZ #6907]
69672 * manual/string.texi (strchr): Change when strchrnul is
69673 recommended.
69674
69675 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
69676
69677 [BZ #174]
69678 * manual/locale.texi (setlocale): Document LOCPATH.
69679
69680 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69681
69682 [BZ #10210]
69683 * manual/process.texi (execle): Move @dots{} before last argument.
69684
69685 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
69686
69687 [BZ #12047]
69688 * manual/charset.texi (Generic Charset Conversion): Fix typo
69689 (LC_TYPE -> LC_CTYPE).
69690
69691 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
69692
69693 [BZ #5805]
69694 * manual/arith.texi (scalbn): Use @var{} on parameter names.
69695 (scalbnf): Likewise.
69696 (scalbnl): Likewise.
69697 (scalbln): Likewise.
69698 (scalblnf): Likewise.
69699 (scalblnl): Likewise.
69700 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69701 (vwarnx): Likewise.
69702 (verr): Likewise.
69703 (verrx): Likewise.
69704 * manual/filesys.texi (telldir): Use braces around return type.
69705 * manual/llio.texi (mmap): Add space after comma.
69706 (mmap64): Likewise.
69707 * manual/math.texi (jn): Use @var{} on parameter names.
69708 (jnf): Likewise.
69709 (jnl): Likewise.
69710 (yn): Likewise.
69711 (ynf): Likewise.
69712 (ynl): Likewise.
69713 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69714 line.
69715 * manual/resource.texi (ulimit): Use @dots{} instead of literal
69716 "...".
69717 (sched_get_priority_min): Remove semicolon on @deftypefun line.
69718 (sched_get_priority_max): Likewise.
69719 * manual/signal.texi (sigvec): Add space after comma.
69720 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69721 names.
69722 (if_indextoname): Likewise.
69723 (if_freenameindex): Likewise.
69724 (sendto): Use ',' instead of '.' in prototype.
69725 * manual/startup.texi (syscall): Use @dots{} instead of literal
69726 "...".
69727 * manual/stdio.texi (__fpending): Separate initial words of
69728 paragraph from @deftypefun line.
69729 * manual/syslog.texi (syslog): Use @dots{} instead of literal
69730 "...".
69731 (vsyslog): Use @var{} on parameter names.
69732 * manual/terminal.texi (stty): Use @var{} on parameter names.
69733 * manual/users.texi (getutmp): Use @var{} on parameter names.
69734 (getutmpx): Likewise.
69735
69736 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69737
69738 [BZ #6884]
69739 * manual/stdio.texi (fopen): Fix typos in description of
69740 ",ccs=STRING".
69741
69742 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
69743
69744 [BZ #4026]
69745 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69746 get clock_id definition.
69747
69748 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
69749
69750 [BZ #4822]
69751 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69752 (madvise): Cast every argument to void on its own.
69753
69754 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69755
69756 [BZ #9902]
69757 * manual/startup.texi (Exit Status): Fix typo.
69758
69759 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69760
69761 [BZ #10140]
69762 * manual/examples/argp-ex1.c: Include <stdlib.h>.
69763 * manual/examples/argp-ex2.c: Likewise.
69764 * manual/examples/argp-ex3.c: Likewise.
69765
69766 2012-02-16 Richard Henderson <rth@redhat.com>
69767
69768 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69769 * sysdeps/s390/s390-32/initfini.c: Remove.
69770 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69771 * sysdeps/s390/s390-64/initfini.c: Remove.
69772
69773 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69774
69775 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69776 compiler output for sysdeps/generic/initfini.c.
69777 * sysdeps/sh/elf/initfini.c: Remove file.
69778
69779 2012-02-16 David S. Miller <davem@davemloft.net>
69780
69781 [BZ #11494]
69782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69783
69784 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69785 * sysdeps/sparc/crti.S: New file.
69786 * sysdeps/sparc/crtn.S: New file.
69787 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69788 * sysdeps/sparc/sparc64/Makefile: Likewise.
69789
69790 2012-02-15 Mike Frysinger <vapier@gentoo.org>
69791
69792 [BZ #3335]
69793 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69794
69795 2012-02-15 Roland McGrath <roland@hack.frob.com>
69796
69797 [BZ #4822]
69798 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69799
69800 * mach/devstream.c (cookie_io_functions_t): Macro removed.
69801 (write, read, close): Likewise.
69802 Patch by Aurelien Jarno <aurelien@aurel32.net>.
69803
69804 2012-02-15 Joseph Myers <joseph@codesourcery.com>
69805
69806 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69807 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69808 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69809 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69810 <bits/signalfd.h>.
69811 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69813 bits/signalfd.h.
69814
69815 2012-02-14 Marek Polacek <polacek@redhat.com>
69816
69817 * sysdeps/x86_64/crti.S: New file.
69818 * sysdeps/x86_64/crtn.S: New file.
69819 * sysdeps/x86_64/elf/initfini.c: Remove file.
69820
69821 2012-02-13 Joseph Myers <joseph@codesourcery.com>
69822
69823 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69824 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69825 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69826 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69827 <bits/inotify.h>.
69828 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69830 bits/inotify.h.
69831
69832 2012-02-13 Joseph Myers <joseph@codesourcery.com>
69833
69834 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69835 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69836 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69837 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69838 <bits/eventfd.h>.
69839 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69840 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69841 bits/eventfd.h.
69842
69843 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
69844
69845 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69846 __feraiseexcept instead of feraiseexcept.
69847
69848 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69849 nanosleep invocations.
69850 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69851 strings, and add error checking for a nanosleep invocations.
69852
69853 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
69854
69855 Replace FSF snail mail address with URLs, as per GNU coding standards.
69856 Most of the snail mail addresses were wrong anyway, and omitting
69857 them makes the source code easier to maintain. Almost all of the
69858 changes are to license notices and to locale LC_IDENTIFICATION
69859 addresses, except for this one:
69860 * manual/libc.texinfo: In "Published by", give the FSF's URL,
69861 not its snail mail address.
69862
69863 2012-02-09 Richard Henderson <rth@twiddle.net>
69864
69865 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69866 of kernel-features.h.
69867
69868 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69869
69870 2012-02-08 Marek Polacek <polacek@redhat.com>
69871
69872 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69873 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69874 * sysdeps/gnu/_G_config.h: Likewise.
69875 * sysdeps/generic/_G_config.h: Likewise.
69876
69877 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
69878
69879 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69880 tests.
69881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69882
69883 * sysdeps/powerpc/powerpc32/crti.S: New file.
69884 * sysdeps/powerpc/powerpc32/crtn.S: New file.
69885 * sysdeps/powerpc/powerpc64/crti.S: New file.
69886 * sysdeps/powerpc/powerpc64/crtn.S: New file.
69887
69888 * Makeconfig (have-initfini): Don't set.
69889 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69890 * configure.in (nopic_initfini): Don't substitute.
69891 * config.h.in (HAVE_INITFINI): Don't #undef.
69892 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69893 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69894
69895 2012-02-08 Joseph Myers <joseph@codesourcery.com>
69896
69897 Support crti.S and crtn.S provided directly by architectures.
69898 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69899 [crti.S in sysdirs] (omit-deps): Likewise.
69900 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69901 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69902 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69903 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69904 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69905 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69906 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69907 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69908 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69909 compiler output for sysdeps/generic/initfini.c.
69910 * sysdeps/i386/elf/Makefile: Remove file.
69911 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69912
69913 2012-02-07 Marek Polacek <polacek@redhat.com>
69914
69915 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69916 * sysdeps/gnu/_G_config.h: Likewise.
69917 * sysdeps/mach/hurd/_G_config.h: Likewise.
69918
69919 2012-02-07 Marek Polacek <polacek@redhat.com>
69920
69921 * math/Makefile (tests): Add tst-CMPLX2.
69922 * math/tst-CMPLX2.c: New file.
69923
69924 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
69925
69926 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69927
69928 * math/libm-test.inc (jn_test): Add missing L suffix.
69929
69930 2012-02-06 Marek Polacek <polacek@redhat.com>
69931
69932 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69933 * sysdeps/i386/fpu/e_powf.S: Likewise.
69934 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69935 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69936 * sysdeps/i386/fpu/e_acosh.S: Likewise.
69937 * sysdeps/i386/fpu/e_pow.S: Likewise.
69938 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69939 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69940 * sysdeps/i386/fpu/s_expm1.S: Likewise.
69941 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69942 * sysdeps/i386/fpu/e_log2.S: Likewise.
69943 * sysdeps/i386/fpu/e_log2l.S: Likewise.
69944 * sysdeps/i386/fpu/e_scalb.S: Likewise.
69945 * sysdeps/i386/fpu/e_powl.S: Likewise.
69946 * sysdeps/i386/fpu/s_log1p.S: Likewise.
69947 * sysdeps/i386/fpu/e_log10f.S: Likewise.
69948 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69949 * sysdeps/i386/fpu/e_logl.S: Likewise.
69950 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69951 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69952 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69953 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69954 * sysdeps/i386/fpu/e_log2f.S: Likewise.
69955 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69956 * sysdeps/i386/fpu/e_log.S: Likewise.
69957 * sysdeps/i386/fpu/s_cexp.S: Likewise.
69958 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69959 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69960 * sysdeps/i386/fpu/e_logf.S: Likewise.
69961 * sysdeps/i386/fpu/e_log10l.S: Likewise.
69962 * sysdeps/i386/fpu/e_atanh.S: Likewise.
69963 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69964 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69965 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69966 * sysdeps/i386/fpu/e_log10.S: Likewise.
69967 * sysdeps/i386/fpu/s_frexp.S: Likewise.
69968 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69969 * sysdeps/i386/fpu/s_asinh.S: Likewise.
69970 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69971 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69972 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69973 * sysdeps/i386/asm-syntax.h: Likewise.
69974 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69975 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69976 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69977 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69978 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69979 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69980 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69981 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69982 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69983 * sysdeps/powerpc/sysdep.h: Likewise.
69984 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69985 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69986
69987 2012-02-06 Joseph Myers <joseph@codesourcery.com>
69988
69989 [BZ #411]
69990 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69991
69992 2012-02-06 Joseph Myers <joseph@codesourcery.com>
69993
69994 * sysdeps/i386/sysdep.h: Include <features.h>.
69995 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69996 version.
69997
69998 2012-02-05 Joseph Myers <joseph@codesourcery.com>
69999
70000 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70001 Define.
70002 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70003 LOAD_PIC_REG_STR.
70004
70005 2012-02-03 Joseph Myers <joseph@codesourcery.com>
70006
70007 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70008 (SETUP_PIC_REG): Use GET_PC_THUNK.
70009 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70010 macro.
70011
70012 2012-02-03 Joseph Myers <joseph@codesourcery.com>
70013
70014 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
70015 for non-PIC compilation.
70016 (SETUP_PIC_REG): Add .p2align directive.
70017 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
70018 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
70019 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70020 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70021 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
70022 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70023 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
70024 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70025 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70026 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70027 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70028 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70029 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70030 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70031 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70032 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
70033 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70034 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70035 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70036 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70037 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70038 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
70039 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70040 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70041 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
70042 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
70043 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70044 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
70045 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70046 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70047 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70048 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70049 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70050 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70051 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70052 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70053 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70054 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70055 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70056 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70057 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70058
70059 2012-02-03 Joseph Myers <joseph@codesourcery.com>
70060
70061 * math/tst-CMPLX.c: Include <stdio.h>.
70062
70063 2012-01-31 Joseph Myers <joseph@codesourcery.com>
70064
70065 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
70066 float.
70067 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70068 * sysdeps/sparc/bits/mathdef.h: Likewise.
70069
70070 2012-01-31 Marek Polacek <polacek@redhat.com>
70071
70072 * libio/libio.h: Don't define _PARAMS.
70073 * locale/programs/config.h: Don't define PARAMS.
70074 * stdlib/strtol_l.c: Likewise.
70075 (__strtol_l): Remove PARAMS from the prototype.
70076
70077 2012-01-31 Ulrich Drepper <drepper@gmail.com>
70078
70079 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
70080 names. Just use the correct names. Remove unnecessary wrapper
70081 functions.
70082 * malloc/arena.c: Likewise.
70083 * malloc/hooks.c: Likewise.
70084
70085 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
70086 ARENA_TEST says not to. Simplify test for creation of a new arena.
70087 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
70088
70089 2012-01-30 Ulrich Drepper <drepper@gmail.com>
70090
70091 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
70092 into tail calls.
70093 (update_get_addr): New function.
70094 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
70095 GET_ADDR_MODULE parameter.
70096
70097 2012-01-30 Joseph Myers <joseph@codesourcery.com>
70098
70099 * crypt/cert.c: Remove __STDC__ conditionals.
70100 * crypt/crypt-entry.c: Likewise.
70101 * crypt/crypt_util.c: Likewise.
70102 * libio/filedoalloc.c: Likewise.
70103 * libio/fileops.c: Likewise.
70104 * libio/genops.c: Likewise.
70105 * libio/iofclose.c: Likewise.
70106 * libio/iofdopen.c: Likewise.
70107 * libio/iofopen.c: Likewise.
70108 * libio/iofopen64.c: Likewise.
70109 * libio/iogetdelim.c: Likewise.
70110 * libio/iopopen.c: Likewise.
70111 * libio/obprintf.c: Likewise.
70112 * libio/oldfileops.c: Likewise.
70113 * libio/oldiofclose.c: Likewise.
70114 * libio/oldiofdopen.c: Likewise.
70115 * libio/oldiofopen.c: Likewise.
70116 * libio/oldiopopen.c: Likewise.
70117 * libio/wfiledoalloc.c: Likewise.
70118 * libio/wgenops.c: Likewise.
70119 * locale/programs/xmalloc.c: Likewise.
70120 * misc/syslog.c: Likewise.
70121 * stdio-common/xbug.c: Likewise.
70122 * string/memchr.c: Likewise.
70123 * string/memcmp.c: Likewise.
70124 * string/memrchr.c: Likewise.
70125 * string/rawmemchr.c: Likewise.
70126 * sysdeps/posix/getcwd.c: Likewise.
70127 * time/strftime_l.c: Likewise.
70128
70129 2012-01-30 Joseph Myers <joseph@codesourcery.com>
70130
70131 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70132 * config.make.in (config-cflags-sse2avx): Define.
70133 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70134 Fix typo.
70135
70136 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
70137
70138 * scripts/config.guess: Update from upstream config git repository.
70139 * scripts/config.sub: Likewise.
70140
70141 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
70142
70143 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70144 (EM_NUM): Update.
70145 (R_TILEPRO_*, R_TILEGX_*): New macros.
70146
70147 * scripts/firstversions.awk: Fix bug in version range handling.
70148
70149 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70150
70151 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70152
70153 * include/sys/epoll.h: New file.
70154 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70155 libc_hidden_def.
70156
70157 2012-01-28 Ulrich Drepper <drepper@gmail.com>
70158
70159 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70160 Avoid unnecessary __WORDSIZE == 64 test.
70161 (fmaxf): Use VEX format if possible.
70162 (fmax): Likewise.
70163 (fminf): Likewise.
70164 (fmin): Likewise.
70165
70166 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70167 * math/math_private.h: Remove libc_fegetround* and
70168 libc_fesetround*.
70169 * sysdeps/i386/configure.in: Check for -msse2avx.
70170 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70171 also if SSE2AVX is defined.
70172 Remove libc_fegetround* and libc_fesetround*.
70173 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70174 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
70175 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70176 of HAS_YMM_USABLE.
70177 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70178 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70179 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70180 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70181 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70182
70183 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70184
70185 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70186
70187 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70188 size is not set.
70189 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70190
70191 2012-01-27 Ulrich Drepper <drepper@gmail.com>
70192
70193 [BZ #13618]
70194 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70195 relocation.
70196 * Makeconfig (libm): Define.
70197 * elf/Makefile: Add rules to build and run tst-relsort1.
70198 * elf/tst-relsort1.c: New file.
70199 * elf/tst-relsort1mod1.c: New file.
70200 * elf/tst-relsort1mod2.c: New file.
70201
70202 2012-01-27 Joseph Myers <joseph@codesourcery.com>
70203
70204 * math/s_ldexp.c: Remove __STDC__ conditionals.
70205 * math/s_ldexpf.c: Likewise.
70206 * math/s_ldexpl.c: Likewise.
70207 * math/s_nextafter.c: Likewise.
70208 * math/s_nexttowardf.c: Likewise.
70209 * math/s_significand.c: Likewise.
70210 * math/s_significandf.c: Likewise.
70211 * math/s_significandl.c: Likewise.
70212 * math/w_jnl.c: Likewise.
70213 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70214 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70215 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70216 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70217 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70218 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70219 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70220 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70221 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70222 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70223 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70224 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70225 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70226 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70227 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70228 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70229 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70230 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70231 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70232 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70233 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70234 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70235 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70236 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70237 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70238 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70239 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70240 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70241 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70242 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70243 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70244 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70245 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70246 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70247 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70248 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70249 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70250 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70251 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70252 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70253 * sysdeps/ieee754/k_standard.c: Likewise.
70254 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70255 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70256 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70257 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70258 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70259 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70260 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70261 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70262 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70263 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70264 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70265 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70266 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70267 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70268 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70269 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70270 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70271 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70272 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70273 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70274 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70275 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70276 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70277 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70278 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70279 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70280 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70281 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70282 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70283 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70284 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70285 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
70286 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70287 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70288 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70289 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70290 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
70291 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70292 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70293 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
70294 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
70295 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70296 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
70297 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
70298 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70299 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
70300 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70301 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70302 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70303 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
70304 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
70305 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70306 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70307 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70308 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70309 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70310 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
70311 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70312 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70313 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70314 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70315 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70316 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70317 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70318 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70319 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70320 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70321 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70322 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70323 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70324 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70325 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70326 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70327 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70328 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70329 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70330 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70331 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70332 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70333 * sysdeps/ieee754/s_matherr.c: Likewise.
70334 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70335 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70336 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70337 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70338
70339 2012-01-26 Joseph Myers <joseph@codesourcery.com>
70340
70341 * crypt/md5.h: Remove __STDC__ conditionals.
70342 * libio/libioP.h: Likewise.
70343 * locale/programs/config.h: Likewise.
70344 * sysdeps/generic/sysdep.h: Likewise.
70345 * sysdeps/i386/asm-syntax.h: Likewise.
70346 * sysdeps/s390/asm-syntax.h: Likewise.
70347 * sysdeps/unix/sysdep.h: Likewise.
70348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
70349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70350
70351 2012-01-26 Joseph Myers <joseph@codesourcery.com>
70352
70353 * libio/libio.h: Remove __STDC__ conditionals.
70354 * malloc/obstack.h: Likewise.
70355 * math/complex.h: Likewise.
70356 * math/math.h: Likewise.
70357 * sysdeps/generic/_G_config.h: Likewise.
70358 * sysdeps/gnu/_G_config.h: Likewise.
70359 * sysdeps/mach/hurd/_G_config.h: Likewise.
70360 * sysdeps/powerpc/bits/mathdef.h: Likewise.
70361 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70362 * sysdeps/sparc/bits/mathdef.h: Likewise.
70363
70364 2012-01-26 Ulrich Drepper <drepper@gmail.com>
70365
70366 [BZ #13583]
70367 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
70368 Clean up HAS_* macros.
70369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
70370 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
70371 possible.
70372 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70373 HAS_AVX.
70374 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70375 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70376 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70377 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70378 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70379
70380 2012-01-25 Joseph Myers <joseph@codesourcery.com>
70381
70382 * elf/tst-unique3.cc (gets): Remove declaration.
70383 * elf/tst-unique3lib.cc (gets): Likewise.
70384 * elf/tst-unique3lib2.cc (gets): Likewise.
70385 * elf/tst-unique4.cc (gets): Likewise.
70386
70387 2012-01-24 Ulrich Drepper <drepper@gmail.com>
70388
70389 * include/stdio.h: Add C++ protection. Add gets declarations and
70390 definitions.
70391 * debug/tst-chk1.c: Don't declare gets here.
70392 * stdio-common/tst-gets.c: Likewise.
70393
70394 2012-01-24 Joseph Myers <joseph@codesourcery.com>
70395
70396 * posix/glob: Remove directory.
70397
70398 2012-01-24 Joseph Myers <joseph@codesourcery.com>
70399
70400 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70401
70402 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
70403
70404 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70405 of the non-standard EPFNOSUPPORT.
70406
70407 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
70408
70409 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70410 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70411 ANYWHERE set to 1 only on KERN_NO_SPACE error.
70412
70413 2012-01-21 Ulrich Drepper <drepper@gmail.com>
70414
70415 * wcsmbs/uchar.h: Test __STDC_VERSION__.
70416
70417 2012-01-20 Ulrich Drepper <drepper@gmail.com>
70418
70419 * nscd/aicache.c (addhstaiX): Do not cache negative results of
70420 transient errors.
70421 * nscd/grpcache.c (cache_addgr): Likewise.
70422 * nscd/hstcache.c (cache_addhst): Likewise.
70423 * nscd/initgrcache.c (addinitgroupsX): Likewise.
70424 * nscd/pwdcache.c (cache_addpw): Likewise.
70425 * nscd/servicescache.c (cache_addserv): Likewise.
70426
70427 2012-01-16 Ulrich Drepper <drepper@gmail.com>
70428
70429 * malloc/malloc.c: Various cleanups.
70430 * malloc/hooks.c: Likewise.
70431
70432 * stdlib/Makefile (tests): Add bug-fmtmsg1.
70433 * stdlib/bug-fmtmsg1.c: New file.
70434
70435 * stdlib/fmtmsg.c (init): Add missing unlock.
70436 Patch by Peng Haitao <penght@cn.fujitsu.com>.
70437
70438 2012-01-12 Marek Polacek <polacek@redhat.com>
70439
70440 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70441 and _GNU_SOURCE.
70442
70443 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
70444
70445 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70446 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70447 macro to ensure uniqueness of label name.
70448 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70449 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70450
70451 2012-01-11 Ulrich Drepper <drepper@gmail.com>
70452
70453 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70454
70455 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70456 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70457 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70458 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70459
70460 2012-01-10 Ulrich Drepper <drepper@gmail.com>
70461
70462 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70463
70464 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70465 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70466 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70467
70468 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70469
70470 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70471 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70472 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70473 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70474
70475 * math/bits/math-finite.h: Add ldexp support.
70476
70477 2012-01-10 Marek Polacek <polacek@redhat.com>
70478
70479 * locale/programs/localedef.h (show_archive_content): Add noreturn
70480 attribute.
70481
70482 2012-01-09 Ulrich Drepper <drepper@gmail.com>
70483
70484 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70485
70486 2012-01-08 Ulrich Drepper <drepper@gmail.com>
70487
70488 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70489
70490 * io/Makefile (headers): Add bits/poll2.h.
70491
70492 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
70493
70494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70495 typo #include statement.
70496
70497 2012-01-08 Ulrich Drepper <drepper@gmail.com>
70498
70499 * include/sys/cdefs.h: Define __attribute_alloc_size.
70500 * catgets/gencat.c: Add alloc_size attribute and apply consistently
70501 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70502 * elf/pldd.c: Likewise.
70503 * iconv/iconv_charmap.c: Likewise.
70504 * iconv/iconvconfig.c: Likewise.
70505 * iconv/strtab.c: Likewise.
70506 * locale/programs/locale.c: Likewise.
70507 * locale/programs/localedef.h: Likewise.
70508 * locale/programs/simple-hash.c: Likewise.
70509 * nscd/nscd.h: Likewise.
70510 * nss/makedb.c: Likewise.
70511 * sysdeps/generic/ldconfig.h: Likewise.
70512 * locale/programs/localedef.c: Remove xmalloc prototype.
70513 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70514
70515 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
70516
70517 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70518 appropriate.
70519
70520 2012-01-08 Ulrich Drepper <drepper@gmail.com>
70521
70522 * math/Makefile (tests): Add tst-CMPLX.
70523 * math/tst-CMPLX.c: New file.
70524
70525 * math/complex.h (CMPLXL): Fix typo.
70526
70527 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70528 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70529 GLIBC_2.16.
70530 * debug/tst-chk1.c: Add poll and ppoll tests.
70531 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70532 * include/sys/poll.h: Add hidden proto for ppoll.
70533 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70534 * sysdeps/mach/hurd/ppoll.c: Likewise.
70535 * io/ppoll.c: Likewise.
70536 * debug/poll_chk.c: New file.
70537 * debug/ppoll_chk.c: New file.
70538 * include/bits/poll2.h: New file.
70539 * io/bits/poll2.h: New file.
70540
70541 [BZ #1350]
70542 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70543
70544 * configure.in: static is always set to yes. Remove.
70545 * config.make.in: Don't set build-static.
70546 * Makeconfig: Remove use of build-static.
70547 * dlfcn/Makefile: Likewise.
70548 * elf/Makefile: Likewise.
70549 * math/Makefile: Likewise.
70550 * misc/Makefile: Likewise.
70551 * nptl/Makefile: Likewise.
70552 * sysdeps/mach/hurd/Makefile: Likewise.
70553
70554 * configure.in: PWD_P is not used anymore.
70555 * config.make.in: Remove PWD_P entry.
70556
70557 * configure.in: Remove last remnants of RANLIB.
70558 No need to check for signed size_t anymore.
70559 Don't set libc_commonpagesize and libc_relro_required here for Alpha
70560 and IA-64.
70561 Remove __builtin_expect test because we require at least gcc 3.4.
70562 * aclocal.m4: Likewise.
70563
70564 * wcsmbs/mbrtoc16.c: Implement using towc function.
70565 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70566 * wcsmbs/wcsmbsload.c: Likewise.
70567 * iconv/gconv_simple.c: Likewise.
70568 * iconv/gconv_int.h: Likewise.
70569 * iconv/gconv_builtin.h: Likewise.
70570 * iconv/iconv_prog.c: Remove CHAR16 handling.
70571
70572 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70573
70574 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70575
70576 * configure.in: Remove --with-elf and --enable-bounded options.
70577 Dont set base_machine for ia64. More non-ELF conditions removed.
70578 Remove testing and setting of leading underscore information.
70579 * config.make.in (build-bounded): Set to no.
70580 * config.h.in: Remove NO_UNDERSCORES entry.
70581 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
70582 them.
70583 * csu/start.c: Remove !NO_UNDERSCORE code.
70584 * locale/localeinfo.h: Likewise.
70585 * sysdeps/generic/machine-gmon.h: Likewise.
70586 * sysdeps/generic/sysdep.h: Likewise.
70587 * sysdeps/i386/sysdep.h: Likewise.
70588 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70589 * sysdeps/mach/sysdep.h: Likewise.
70590 * sysdeps/s390/s390-32/sysdep.h: Likewise.
70591 * sysdeps/s390/s390-64/sysdep.h: Likewise.
70592 * sysdeps/sh/sysdep.h: Likewise.
70593 * sysdeps/sparc/sparc32/alloca.S: Likewise.
70594 * sysdeps/unix/i386/sysdep.S: Likewise.
70595 * sysdeps/unix/sparc/start.c: Likewise.
70596 * sysdeps/unix/sparc/sysdep.S: Likewise.
70597 * sysdeps/unix/sparc/sysdep.h: Likewise.
70598 * sysdeps/unix/start.c: Likewise.
70599 * sysdeps/unix/x86_64/sysdep.S: Likewise.
70600 * sysdeps/x86_64/sysdep.h: Likewise.
70601
70602 2012-01-07 Ulrich Drepper <drepper@gmail.com>
70603
70604 [BZ #13553]
70605 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70606 for non-gcc.
70607 * argp/argp-fmtstream.h: Use const instead __const.
70608 * argp/argp.h: Likewise.
70609 * assert/assert.h: Likewise.
70610 * bits/fenv.h: Likewise.
70611 * bits/sched.h: Likewise.
70612 * bits/sigset.h: Likewise.
70613 * bits/sigthread.h: Likewise.
70614 * catgets/nl_types.h: Likewise.
70615 * conform/data/pthread.h-data: Likewise.
70616 * crypt/crypt-private.h: Likewise.
70617 * crypt/crypt.h: Likewise.
70618 * crypt/crypt_util.c: Likewise.
70619 * ctype/ctype.h: Likewise.
70620 * debug/execinfo.h: Likewise.
70621 * debug/mbsnrtowcs_chk.c: Likewise.
70622 * debug/mbsrtowcs_chk.c: Likewise.
70623 * debug/wcsnrtombs_chk.c: Likewise.
70624 * debug/wcsrtombs_chk.c: Likewise.
70625 * debug/wcstombs_chk.c: Likewise.
70626 * dirent/dirent.h: Likewise.
70627 * dlfcn/dlfcn.h: Likewise.
70628 * elf/neededtest4.c: Likewise.
70629 * grp/grp.h: Likewise.
70630 * gshadow/gshadow.h: Likewise.
70631 * iconv/gconv.h: Likewise.
70632 * iconv/gconv_int.h: Likewise.
70633 * iconv/gconv_simple.c: Likewise.
70634 * iconv/iconv.h: Likewise.
70635 * iconv/loop.c: Likewise.
70636 * iconv/skeleton.c: Likewise.
70637 * include/aio.h: Likewise.
70638 * include/aliases.h: Likewise.
70639 * include/argz.h: Likewise.
70640 * include/arpa/inet.h: Likewise.
70641 * include/assert.h: Likewise.
70642 * include/dirent.h: Likewise.
70643 * include/dlfcn.h: Likewise.
70644 * include/execinfo.h: Likewise.
70645 * include/fcntl.h: Likewise.
70646 * include/fenv.h: Likewise.
70647 * include/glob.h: Likewise.
70648 * include/grp.h: Likewise.
70649 * include/libintl.h: Likewise.
70650 * include/mntent.h: Likewise.
70651 * include/netdb.h: Likewise.
70652 * include/pwd.h: Likewise.
70653 * include/rpc/netdb.h: Likewise.
70654 * include/sched.h: Likewise.
70655 * include/search.h: Likewise.
70656 * include/shadow.h: Likewise.
70657 * include/signal.h: Likewise.
70658 * include/stdio.h: Likewise.
70659 * include/stdlib.h: Likewise.
70660 * include/string.h: Likewise.
70661 * include/sys/socket.h: Likewise.
70662 * include/sys/stat.h: Likewise.
70663 * include/sys/statfs.h: Likewise.
70664 * include/sys/statvfs.h: Likewise.
70665 * include/sys/syslog.h: Likewise.
70666 * include/sys/time.h: Likewise.
70667 * include/sys/uio.h: Likewise.
70668 * include/time.h: Likewise.
70669 * include/unistd.h: Likewise.
70670 * include/utmp.h: Likewise.
70671 * include/wchar.h: Likewise.
70672 * include/wctype.h: Likewise.
70673 * inet/aliases.h: Likewise.
70674 * inet/arpa/inet.h: Likewise.
70675 * inet/netinet/ether.h: Likewise.
70676 * inet/netinet/in.h: Likewise.
70677 * intl/libintl.h: Likewise.
70678 * io/bits/fcntl2.h: Likewise.
70679 * io/fcntl.h: Likewise.
70680 * io/ftw.h: Likewise.
70681 * io/sys/poll.h: Likewise.
70682 * io/sys/stat.h: Likewise.
70683 * io/sys/statfs.h: Likewise.
70684 * io/sys/statvfs.h: Likewise.
70685 * io/utime.h: Likewise.
70686 * libio/bits/stdio.h: Likewise.
70687 * libio/bits/stdio2.h: Likewise.
70688 * libio/libio.h: Likewise.
70689 * libio/libioP.h: Likewise.
70690 * libio/stdio.h: Likewise.
70691 * locale/lc-ctype.c: Likewise.
70692 * locale/locale.h: Likewise.
70693 * login/utmp.h: Likewise.
70694 * malloc/arena.c: Likewise.
70695 * malloc/malloc.c: Likewise.
70696 * malloc/malloc.h: Likewise.
70697 * malloc/mcheck.c: Likewise.
70698 * malloc/mtrace.c: Likewise.
70699 * math/bits/mathcalls.h: Likewise.
70700 * math/fenv.h: Likewise.
70701 * math/math_private.h: Likewise.
70702 * misc/bits/error.h: Likewise.
70703 * misc/bits/syslog.h: Likewise.
70704 * misc/err.h: Likewise.
70705 * misc/error.h: Likewise.
70706 * misc/fstab.h: Likewise.
70707 * misc/mntent.h: Likewise.
70708 * misc/regexp.h: Likewise.
70709 * misc/search.h: Likewise.
70710 * misc/sgtty.h: Likewise.
70711 * misc/sys/mman.h: Likewise.
70712 * misc/sys/syslog.h: Likewise.
70713 * misc/sys/uio.h: Likewise.
70714 * misc/sys/xattr.h: Likewise.
70715 * misc/ttyent.h: Likewise.
70716 * nis/rpcsvc/ypclnt.h: Likewise.
70717 * nss/nss.h: Likewise.
70718 * posix/bits/unistd.h: Likewise.
70719 * posix/fnmatch.h: Likewise.
70720 * posix/glob.h: Likewise.
70721 * posix/sched.h: Likewise.
70722 * posix/spawn.h: Likewise.
70723 * posix/sys/wait.h: Likewise.
70724 * posix/unistd.h: Likewise.
70725 * posix/wordexp.h: Likewise.
70726 * pwd/pwd.h: Likewise.
70727 * resolv/netdb.h: Likewise.
70728 * resource/sys/resource.h: Likewise.
70729 * rt/aio.h: Likewise.
70730 * rt/bits/mqueue2.h: Likewise.
70731 * rt/mqueue.h: Likewise.
70732 * shadow/shadow.h: Likewise.
70733 * signal/signal.h: Likewise.
70734 * socket/send.c: Likewise.
70735 * socket/sendto.c: Likewise.
70736 * socket/sys/socket.h: Likewise.
70737 * stdio-common/printf.h: Likewise.
70738 * stdlib/bits/stdlib.h: Likewise.
70739 * stdlib/fmtmsg.h: Likewise.
70740 * stdlib/monetary.h: Likewise.
70741 * stdlib/stdlib.h: Likewise.
70742 * stdlib/ucontext.h: Likewise.
70743 * streams/stropts.h: Likewise.
70744 * string/argz.h: Likewise.
70745 * string/bits/string2.h: Likewise.
70746 * string/string.h: Likewise.
70747 * string/strings.h: Likewise.
70748 * sunrpc/rpc/auth.h: Likewise.
70749 * sunrpc/rpc/auth_des.h: Likewise.
70750 * sunrpc/rpc/clnt.h: Likewise.
70751 * sunrpc/rpc/netdb.h: Likewise.
70752 * sunrpc/rpc/pmap_clnt.h: Likewise.
70753 * sunrpc/rpc/xdr.h: Likewise.
70754 * sysdeps/generic/inttypes.h: Likewise.
70755 * sysdeps/generic/net/if.h: Likewise.
70756 * sysdeps/generic/sys/swap.h: Likewise.
70757 * sysdeps/gnu/net/if.h: Likewise.
70758 * sysdeps/gnu/utmpx.h: Likewise.
70759 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70760 * sysdeps/i386/i486/bits/string.h: Likewise.
70761 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70762 * sysdeps/s390/bits/string.h: Likewise.
70763 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70764 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70765 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70766 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70767 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70768 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70769 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70770 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70771 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70772 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70773 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70774 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70775 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70776 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70777 * sysdeps/unix/sysv/linux/readv.c: Likewise.
70778 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70779 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70780 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70781 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70782 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70783 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70784 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70785 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70786 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70787 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70788 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70789 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70790 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70791 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70792 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70793 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70794 * sysvipc/sys/ipc.h: Likewise.
70795 * sysvipc/sys/msg.h: Likewise.
70796 * sysvipc/sys/sem.h: Likewise.
70797 * sysvipc/sys/shm.h: Likewise.
70798 * termios/termios.h: Likewise.
70799 * time/sys/time.h: Likewise.
70800 * time/time.h: Likewise.
70801 * wcsmbs/bits/wchar2.h: Likewise.
70802 * wcsmbs/uchar.h: Likewise.
70803 * wcsmbs/wchar.h: Likewise.
70804 * wctype/wctype.h: Likewise.
70805
70806 [BZ #13551]
70807 * Makeconfig: Remove all but ELF support including AIX support.
70808 * Makerules: Likewise.
70809 * config.h.in: Likewise.
70810 * config.make.in: Likewise.
70811 * configure: Likewise.
70812 * configure.in: Likewise.
70813 * csu/Makefile: Likewise.
70814 * csu/version.c: Likewise.
70815 * debug/Makefile: Likewise.
70816 * dlfcn/Makefile: Likewise.
70817 * elf/Makefile: Likewise.
70818 * extra-lib.mk: Likewise.
70819 * iconv/Makefile: Likewise.
70820 * include/libc-symbols.h: Likewise.
70821 * include/shlib-compat.h: Likewise.
70822 * resolv/Makefile: Likewise.
70823 * resolv/res_libc.c: Likewise.
70824 * rt/Makefile: Likewise.
70825 * sysdeps/i386/asm-syntax.h: Likewise.
70826 * sysdeps/i386/sysdep.h: Likewise.
70827 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70828 * sysdeps/mach/sysdep.h: Likewise.
70829 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70830 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70831 * sysdeps/s390/asm-syntax.h: Likewise.
70832 * sysdeps/s390/s390-32/sysdep.h: Likewise.
70833 * sysdeps/s390/s390-64/sysdep.h: Likewise.
70834 * sysdeps/sh/sysdep.h: Likewise.
70835 * sysdeps/unix/sparc/sysdep.h: Likewise.
70836 * sysdeps/wordsize-32/divdi3.c: Likewise.
70837 * sysdeps/x86_64/sysdep.h: Likewise.
70838
70839 * argp/Versions: Remove _argp_unlock_xxx.
70840
70841 [BZ #13559]
70842 * abilist/ld.abilist: Update. Adjust for removal of tls option.
70843 * abilist/libBrokenLocale.abilist: Likewise.
70844 * abilist/libanl.abilist: Likewise.
70845 * abilist/libc.abilist: Likewise.
70846 * abilist/libcrypt.abilist: Likewise.
70847 * abilist/libdl.abilist: Likewise.
70848 * abilist/libm.abilist: Likewise.
70849 * abilist/libnsl.abilist: Likewise.
70850 * abilist/libpthread.abilist: Likewise.
70851 * abilist/libresolv.abilist: Likewise.
70852 * abilist/librt.abilist: Likewise.
70853 * abilist/libthread_db.abilist: Likewise.
70854 * abilist/libutil.abilist: Likewise.
70855 * abilist/libnss_db.abilist: New file.
70856
70857 * scripts/abilist.awk: Add support for indirect functions.
70858
70859 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70860
70861 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70862
70863 * shlib-versions: Remove entries for ports architectures.
70864
70865 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
70866 files in ports.
70867 * elf/stackguard-macros.h: Remove support for IA-64.
70868 * elf/tst-auditmod1.c: Likewise.
70869 * sysdeps/generic/ldsodefs.h: Likewise.
70870
70871 * sysdeps/unix/sysv/linux/configure.in: Ports should define
70872 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70873 configure files.
70874
70875 [BZ #13552]
70876 * configure.in: Remove --enable-omitfp support.
70877 * FAQ.in: Adjust.
70878 * config.make.in: Likewise.
70879 * Makeconfig: Likewise.
70880 * manual/install.texi: Likewise.
70881
70882 In case anyone cares, the IA-64 architecture could move to ports.
70883 * sysdeps/ia64/*: Removed.
70884 * sysdeps/unix/sysv/linux/ia64/*: Removed.
70885 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70886
70887 [BZ #13555]
70888 * configure.in: Remove entries for unsupported architectures.
70889
70890 [BZ #13533]
70891 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70892 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
70893 routines.
70894 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70895 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70896 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
70897 fall back to using wcrtomb.
70898 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70899 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
70900 renaming.
70901 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70902 * wcsmbs/tst-c16c32-1.c: New file.
70903
70904 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70905 local variable.
70906
70907 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70908
70909 * elf/tst-unique3.cc: Add explicit declaration of gets.
70910 * elf/tst-unique3lib.cc: Likewise.
70911 * elf/tst-unique3lib2.cc: Likewise.
70912 * elf/tst-unique4.cc: Likewise.
70913
70914 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70915
70916 2012-01-06 Joseph Myers <joseph@codesourcery.com>
70917
70918 [BZ #13566]
70919 * assert/assert.h (static_assert): Don't define for C++.
70920 * libio/stdio.h (gets): Do declare for C++ <= C++11.
70921 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70922
70923 2012-01-03 Ulrich Drepper <drepper@gmail.com>
70924
70925 * iconv/loop.c (single loop): Fix assertion in storing of
70926 remaining bytes.
70927
70928 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70929
70930 2012-01-01 Ulrich Drepper <drepper@gmail.com>
70931
70932 * posix/getconf.c: Update copyright year.
70933 * nss/getent.c: Likewise.
70934 * nss/makedb.c: Likewise.
70935 * iconv/iconvconfig.c: Likewise.
70936 * iconv/iconv_prog.c: Likewise.
70937 * elf/ldconfig.c: Likewise.
70938 * elf/pldd.c: Likewise.
70939 * elf/sotruss.ksh: Likewise.
70940 * catgets/gencat.c: Likewise.
70941 * csu/version.c: Likewise.
70942 * elf/ldd.bash.in: Likewise.
70943 * elf/sprof.c (print_version): Likewise.
70944 * locale/programs/locale.c: Likewise.
70945 * locale/programs/localedef.c: Likewise.
70946 * login/programs/pt_chown.c: Likewise.
70947 * nscd/nscd.c (print_version): Likewise.
70948 * debug/xtrace.sh: Likewise.
70949 * malloc/memusage.sh: Likewise.
70950 * malloc/mtrace.pl: Likewise.
70951 * debug/catchsegv.sh: Likewise.
70952
70953 2011-12-30 Jakub Jelinek <jakub@redhat.com>
70954
70955 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70956 pure attribute.
70957
70958 2011-12-24 Ulrich Drepper <drepper@gmail.com>
70959
70960 [BZ #13533]
70961 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70962 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70963 transformations.
70964 * iconv/gconv_int.h: Likewise.
70965 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70966 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70967 from libc for GLIBC_2.16.
70968 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70969 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70970 * wcsmbs/uchar.h: Really define mbstate_t.
70971 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70972 * wcsmbs/c16rtomb.c: New file.
70973 * wcsmbs/mbrtoc16.c: New file.
70974 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70975 for C/POSIX locale.
70976 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70977 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70978
70979 * wcsmbs/wchar.h: Add missing __restrict.
70980
70981 2011-12-23 Ulrich Drepper <drepper@gmail.com>
70982
70983 [BZ #13532]
70984 * time/Makefile (routines): Add timespec_get.
70985 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70986 * time/time.h: Define TIME_UTC and declare timespec_get. Define
70987 timespec for ISO C11.
70988 * time/timespec_get.c: New file.
70989 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70990 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70991
70992 [BZ #13531]
70993 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70994 * stdlib/stdlib.h: Declare aligned_alloc.
70995 * Versions.def: Add GLIBC_2.16 for libc.
70996 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70997
70998 [BZ 13527]
70999 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71000 ISO C11.
71001
71002 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71003 code.
71004
71005 [BZ #13528]
71006 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71007
71008 [BZ #13529]
71009 * assert/assert.h (static_assert): Define.
71010
71011 * version.h: Update for 2.16 development version.
71012
71013 [BZ #13526]
71014 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
71015 _ISOC11_SOURCE.
71016
71017 * version.h (RELEASE): Bump for 2.15 release.
71018 * include/features.h (__GLIBC_MINOR__): Bump to 15.
71019
71020 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
71021 Patch by Marek Polacek <mpolacek@redhat.com>.
71022
71023 * bits/byteswap.h: Protect long long constants with __extension__.
71024 * sysdeps/i386/bits/byteswap.h: Likewise.
71025 * sysdeps/ia64/bits/byteswap.h: Likewise.
71026 * sysdeps/s390/bits/byteswap.h: Likewise.
71027 * sysdeps/x86_64/bits/byteswap.h: Likewise.
71028
71029 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71030
71031 [BZ #13540]
71032 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
71033 destination buffer.
71034 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
71035
71036 2011-12-23 Marek Polacek <polacek@redhat.com>
71037
71038 * elf/dl-addr.c (determine_info): Add inline keyword.
71039 * elf/tst-auditmod4b.c (check_avx): Likewise.
71040 * elf/tst-auditmod6b.c (check_avx): Likewise.
71041 * elf/tst-auditmod6c.c (check_avx): Likewise.
71042 * elf/tst-auditmod7b.c (check_avx): Likewise.
71043
71044 2011-12-23 Ulrich Drepper <drepper@gmail.com>
71045
71046 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
71047 !__SSE_MATH__.
71048
71049 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71050
71051 [BZ #13540]
71052 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
71053 processing for last bytes.
71054
71055 2011-08-06 Bruno Haible <bruno@clisp.org>
71056
71057 [BZ #13061]
71058 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
71059 U+0385, not to U+1FEE.
71060
71061 [BZ #13062]
71062 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
71063 entry for U+00A5 U+0301.
71064
71065 2011-12-22 Ulrich Drepper <drepper@gmail.com>
71066
71067 [BZ #13166]
71068 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
71069 buffer for the output is too small.
71070
71071 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
71072 optimization.
71073
71074 [BZ #13185]
71075 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
71076 SSE flags if possible.
71077
71078 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71079
71080 [BZ #13540]
71081 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
71082 processing for last bytes.
71083
71084 2011-12-22 Joseph Myers <joseph@codesourcery.com>
71085
71086 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
71087 (syscall-list-default-options, syscall-list-default-condition)
71088 (syscall-list-includes): Define.
71089 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
71090 list of ABIs and options and #if conditions for each ABI. Do not
71091 handle common syscalls between ABIs specially.
71092 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
71093 Remove.
71094 (syscall-list-variants, syscall-list-32bit-options)
71095 (syscall-list-32bit-condition, syscall-list-64bit-options)
71096 (syscall-list-64bit-condition): Define.
71097 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
71098 (syscall-list-variants, syscall-list-32bit-options)
71099 (syscall-list-32bit-condition, syscall-list-64bit-options)
71100 (syscall-list-64bit-condition): Define.
71101 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
71102 Remove.
71103 (syscall-list-variants, syscall-list-32bit-options)
71104 (syscall-list-32bit-condition, syscall-list-64bit-options)
71105 (syscall-list-64bit-condition): Define.
71106 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
71107 Remove.
71108 (syscall-list-variants, syscall-list-32bit-options)
71109 (syscall-list-32bit-condition, syscall-list-64bit-options)
71110 (syscall-list-64bit-condition): Define.
71111
71112 2011-12-22 Ulrich Drepper <drepper@gmail.com>
71113
71114 * locale/iso-639.def: Add brx entry.
71115
71116 [BZ #13328]
71117 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
71118 Proposed by Mariusz_Cukr <marcukr@op.pl>.
71119
71120 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
71121 __feraiseexcept_renamed.
71122
71123 2011-12-21 Ulrich Drepper <drepper@gmail.com>
71124
71125 [BZ #13538]
71126 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71127 EPOLLET with unsigned values.
71128 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71129 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71130
71131 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71132 to large cancellation.
71133 * math/s_cacoshf.c: Likewise.
71134 * math/s_cacoshl.c: Likewise.
71135
71136 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
71137
71138 [BZ #13305]
71139 [BZ #12786]
71140 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71141 * math/s_cacoshf.c: Likewise.
71142 * math/s_cacoshl.c: Likewise.
71143
71144 2011-12-21 Ulrich Drepper <drepper@gmail.com>
71145
71146 [BZ #13439]
71147 * iconv/gconv.h: Define __GCONV_SWAP.
71148 * iconvdata/unicode.c: The swap bit must be stored in __flags.
71149 * iconvdata/utf-16.c: Likewise.
71150 * iconvdata/utf-32.c: Likewise.
71151
71152 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
71153
71154 [BZ #13524]
71155 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71156 numerator after shifting it by one limb.
71157
71158 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
71159
71160 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71161 under [__USE_EXTERN_INLINES].
71162
71163 2011-12-17 Ulrich Drepper <drepper@gmail.com>
71164
71165 [BZ #13446]
71166 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71167
71168 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71169
71170 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71171 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71172 optimized code.
71173 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71174 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71175 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71176 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71177 for strncasecmp/strncasecmp_l compilation.
71178 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71179 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71180
71181 2011-12-08 Marek Polacek <mpolacek@redhat.com>
71182
71183 [BZ #13484]
71184 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71185 of __asm__.
71186
71187 2011-12-17 Ulrich Drepper <drepper@gmail.com>
71188
71189 [BZ #13506]
71190 * time/tzfile.c (__tzfile_read): Check values from file header.
71191
71192 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
71193
71194 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71195 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71196 * powerpc/powerpc32/dl-start.S: Likewise.
71197 * powerpc/powerpc32/elf/start.S: Likewise.
71198 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71199 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71200 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71201 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71202 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71203 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71204 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71205 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71206 * powerpc/powerpc32/fpu/s_round.S: Likewise.
71207 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71208 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71209 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71210 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71211 * powerpc/powerpc32/memset.S: Likewise.
71212 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71213 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71214 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71215 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71216 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71217 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71218 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71219 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71220 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71221 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71222 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71223 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71224 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71225
71226 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71227
71228 * math/libm-test.inc: Added more nearbyint tests.
71229 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71230 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71231 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71232 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71233
71234 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
71235
71236 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71237 FD_CLOEXEC.
71238
71239 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71240
71241 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71242 Add wcscpy-ssse3 wcscpy-c.
71243 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71244 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71245 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71246 * sysdeps/x86_64/wcschr.S: New file.
71247 * sysdeps/x86_64/wcsrchr.S: New file.
71248 * string/test-strcmp.c: Remove checking of wcscmp function for
71249 wrong alignments.
71250 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71251 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71252 wcsrchr-sse2 wcsrchr-c.
71253 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71254 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71255 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71256 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71257 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71258 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71259 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71260 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71261 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71262 * wcsmbc/wcschr.c (WCSCHR): New macro.
71263
71264 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71265
71266 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71267 * wcsmbs/test-wcsrchr.c: New file.
71268 * string/test-strrchr.c: Add wcsrchr support.
71269 (WIDE): New macro.
71270 * wcsmbs/test-wcscpy.c: New file.
71271 * string/test-strcpy.c: Add wcscpy support.
71272 (WIDE): New macro.
71273
71274 2011-12-10 Ulrich Drepper <drepper@gmail.com>
71275
71276 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
71277 the inner loop.
71278
71279 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
71280
71281 [BZ #13472]
71282 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
71283
71284 2011-12-04 Ulrich Drepper <drepper@gmail.com>
71285
71286 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
71287 Minor optimizations.
71288
71289 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
71290 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
71291 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
71292
71293 2011-12-03 Ulrich Drepper <drepper@gmail.com>
71294
71295 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
71296 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
71297 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
71298 for gcc to avoid warnings.
71299 * inet/Makefile (tests): Add tst-checks.
71300 * inet/tst-checks.c: New file.
71301
71302 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
71303 warning.
71304
71305 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
71306 __wmemcmp_sse2.
71307
71308 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
71309 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
71310
71311 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
71312
71313 2011-12-02 Ulrich Drepper <drepper@gmail.com>
71314
71315 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
71316 problem.
71317
71318 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
71319
71320 2011-11-29 Joseph Myers <joseph@codesourcery.com>
71321
71322 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
71323 conditional on GCC version.
71324 (__arch_compare_and_exchange_val_8_acq)
71325 (__arch_compare_and_exchange_val_16_acq)
71326 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
71327 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
71328 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
71329
71330 2011-12-02 Joseph Myers <joseph@codesourcery.com>
71331
71332 * sysdeps/sh/backtrace.c: New file.
71333
71334 2011-12-02 Andreas Schwab <schwab@redhat.com>
71335
71336 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
71337 parenthesis.
71338
71339 2011-12-01 Andreas Schwab <schwab@redhat.com>
71340
71341 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
71342 falling back to utime.
71343
71344 2011-11-30 Andreas Schwab <schwab@redhat.com>
71345
71346 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
71347 expectations for float.
71348
71349 2011-11-29 Andreas Schwab <schwab@redhat.com>
71350
71351 * locale/weight.h (findidx): Add parameter len.
71352 * locale/weightwc.h (findidx): Likewise.
71353 * posix/fnmatch_loop.c (FCT): Adjust caller.
71354 * posix/regcomp.c (build_equiv_class): Likewise.
71355 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
71356 * posix/regexec.c (check_node_accept_bytes): Likewise.
71357 * string/strcoll_l.c (STRCOLL): Likewise.
71358 * string/strxfrm_l.c (STRXFRM): Likewise.
71359
71360 2011-11-17 Ulrich Drepper <drepper@gmail.com>
71361
71362 * Makefile.in: Remove CVSOPT handling.
71363 * configure.in: Remove use of AC_REVISION.
71364 * iconvdata/Makefile (distribute): No need to filter out CVS.
71365 * scripts/list-sources.sh: Remove CVS, subversion and monotone
71366 handling.
71367
71368 2011-11-16 Andreas Schwab <schwab@redhat.com>
71369
71370 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
71371 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
71372 [USE_AS_STRNCASECMP_L]: Likewise.
71373 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71374 NO_TLS_DIRECT_SEG_REFS.
71375 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71376 Fix argument offsets for non-PIC.
71377 [USE_AS_STRNCASECMP_L]: Likewise.
71378 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71379 NO_TLS_DIRECT_SEG_REFS.
71380
71381 2011-11-15 Ulrich Drepper <drepper@gmail.com>
71382
71383 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71384 O_CLOEXEC.
71385 * locale/loadlocale.c (_nl_load_locale): Likewise.
71386
71387 2011-11-15 Andreas Schwab <schwab@redhat.com>
71388
71389 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71390 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71391 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71392 (SYSCALL_GETTIME): Set errno on error.
71393
71394 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71395 count references to noai6ai_cached.
71396
71397 2011-11-15 Ulrich Drepper <drepper@gmail.com>
71398
71399 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71400
71401 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71402 FD_CLOEXEC for /proc/self/maps.
71403
71404 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71405 FD_CLOEXEC for /proc/meminfo.
71406
71407 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71408 gai.conf.
71409
71410 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
71411 FD_CLOEXEC for given file.
71412
71413 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71414
71415 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71416 FD_CLOEXEC for /etc/hosts.
71417 (_gethtent): Likewise.
71418
71419 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71420
71421 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71422 cancellation and set FD_CLOEXEC for /etc/netgroup.
71423
71424 * nss/nss_files/files-key.c (search): Don't allow cancellation when
71425 reading /etc/publickey.
71426
71427 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71428 allow cancellation when reading /etc/group.
71429
71430 * nss/nss_files/files-alias.c (internal_setent): Don't allow
71431 cancellation.
71432 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
71433
71434 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71435 when using data file.
71436
71437 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71438
71439 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71440 (write_nis_obj): Use "c" and "e" in fopen.
71441
71442 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71443
71444 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71445
71446 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71447
71448 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71449
71450 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71451 locale.alias.
71452
71453 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71454
71455 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71456
71457 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71458
71459 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71460 file parsing and set FD_CLOEXEC.
71461
71462 2011-11-14 Ulrich Drepper <drepper@gmail.com>
71463
71464 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71465
71466 2011-11-14 Andreas Schwab <schwab@redhat.com>
71467
71468 * malloc/arena.c (arena_get2): Don't call reused_arena when
71469 _int_new_arena failed.
71470
71471 2011-11-14 Ulrich Drepper <drepper@gmail.com>
71472
71473 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71474 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71475 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71476 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71477 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71478 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71479 to compile strcasecmp and strncasecmp.
71480 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71481 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71482
71483 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71484
71485 2011-11-13 Ulrich Drepper <drepper@gmail.com>
71486
71487 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71488 locale-defines.sym to gen-as-const-headers.
71489 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71490 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71491 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71492 to compile strcasecmp and strncasecmp.
71493 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71494 strcasecmp_l and strncasecmp_l.
71495 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71496 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71497 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71498 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71499 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71500 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71501 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71502 * sysdeps/i386/i686/multiarch/strncase.S: New file.
71503 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71504 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71505 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71506
71507 2011-11-12 Ulrich Drepper <drepper@gmail.com>
71508
71509 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71510 result of SYSDEP_GETTIME_CPU to retval.
71511 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71512 parameter list to macro. Remove trailing semicolon. Adjust users.
71513
71514 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71515 variable.
71516
71517 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71518 mantissa words.
71519 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71520
71521 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71522 from unused variable.
71523
71524 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71525 DWARF definitions.
71526 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71527 for assembling.
71528
71529 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71530 over namespaces.
71531
71532 * sunrpc/rpc_prot.c (rejected): Fix case value.
71533
71534 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71535 unsigned long long int to avoid warnings in shift.
71536
71537 * posix/regex_internal.c (re_string_reconstruct): Actually use result
71538 of use of trans.
71539 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71540 variable tmp.
71541
71542 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71543 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71544 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71545
71546 * nis/nis_table.c (nis_list): Use variable of correct type for
71547 result of __follow_path call.
71548
71549 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71550
71551 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71552 of math functions ceil, trunc, floor, round, and sqrt, when
71553 avaliable on the platform.
71554 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71555 name clash.
71556 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71557 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71558 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71559
71560 2011-10-30 Marek Polacek <mpolacek@redhat.com>
71561
71562 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71563 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71564
71565 2011-11-11 Roland McGrath <roland@hack.frob.com>
71566
71567 * include/unistd.h: Fix __readlink return type.
71568 Reported by Chris Metcalf <cmetcalf@tilera.com>.
71569
71570 2011-11-11 Ulrich Drepper <drepper@gmail.com>
71571
71572 * stdlib/ucontext.h: Undo last change for makecontext.
71573
71574 2011-11-11 Andreas Schwab <schwab@redhat.com>
71575
71576 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71577
71578 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71579 * setjmp/setjmp.h: Mark functions as non-leaf.
71580 * setjmp/bits/setjmp2.h: Likewise.
71581 * stdlib/ucontext.h: Likewise.
71582
71583 2011-11-10 Andreas Schwab <schwab@redhat.com>
71584
71585 * malloc/arena.c (_int_new_arena): Don't increment narenas.
71586 (reused_arena): Don't check arena limit.
71587 (arena_get2): Atomically check arena limit.
71588
71589 2011-11-08 Ulrich Drepper <drepper@gmail.com>
71590
71591 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71592 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71593
71594 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71595 instructions.
71596
71597 2011-11-07 Andreas Schwab <schwab@redhat.com>
71598
71599 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71600 handler when locking.
71601
71602 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71603 Fix size of allocated buffer.
71604
71605 2011-11-04 Andreas Schwab <schwab@redhat.com>
71606
71607 [BZ #10103]
71608 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71609 declarations for long double functions.
71610 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71611
71612 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71613
71614 2011-11-03 Andreas Schwab <schwab@redhat.com>
71615
71616 * nscd/nscd.c (main): Don't start AVC thread until credentials are
71617 installed.
71618
71619 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71620 is disabled.
71621
71622 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
71623
71624 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71625
71626 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
71627
71628 * include/alloca.h (stackinfo_alloca_round): Define.
71629 (extend_alloca): Use it.
71630 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71631 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71632 here.
71633
71634 * scripts/check-local-headers.sh: Ignore libaudit.h.
71635
71636 * nscd/Makefile (extra-objs): Make recursively expanded.
71637
71638 2011-11-01 Ulrich Drepper <drepper@gmail.com>
71639
71640 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71641 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71642
71643 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71644 * posix/tst-rfc3484-2.c: Likewise.
71645 * posix/tst-rfc3484-3.c: Likewise.
71646
71647 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71648 process_vm_writev.
71649 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71650 process_vm_writev.
71651 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71652 process_vm_writev from libc using GLIBC_2.15 version.
71653
71654 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71655
71656 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
71657
71658 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71659 stack usage.
71660
71661 2011-10-31 Ulrich Drepper <drepper@gmail.com>
71662
71663 [BZ #13367]
71664 * nss/getent.c (initgroups_keys): Show error message in case no group
71665 names are given.
71666
71667 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71668 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71669 __bump_nl_timestamp.
71670 * nscd/connections (nscd_init): When host database is served open
71671 netlink socket and request notification about configuration changes.
71672 (main_loop_poll): Track netlink file descriptor and bump timestamp
71673 in case data becomes available.
71674 (main_loop_epoll): Likewise.
71675 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71676 (database_pers_head): Add extra_data fileds.
71677 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71678 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71679 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71680 Adjust caller.
71681 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71682 in6ai data, call __free_in6ai.
71683 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71684 Add -DHAVE_NETLINK.
71685 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
71686 interface information. Reuse previous data if netlink timestamp
71687 is not changed.
71688 (__bump_nl_timestamp): New function.
71689 (__free_in6ai): New function.
71690
71691 2011-10-30 Ulrich Drepper <drepper@gmail.com>
71692
71693 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71694 close_not_cancel_no_status here.
71695 (__check_pf): Reorganize code a bit to not call close twice if OOM.
71696
71697 2011-10-29 Ulrich Drepper <drepper@gmail.com>
71698
71699 [BZ #13276]
71700 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71701 return value.
71702
71703 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71704 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71705 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71706
71707 2011-07-03 Andreas Jaeger <aj@suse.de>
71708
71709 [BZ #10709]
71710 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71711 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71712 * math/libm-test.inc (sin_test): Add test case.
71713
71714 2011-10-29 Ulrich Drepper <drepper@gmail.com>
71715
71716 [BZ #13337]
71717 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71718 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71719
71720 * elf/chroot_canon.c (chroot_canon): Cleanups.
71721
71722 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71723
71724 [BZ #13335]
71725 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71726 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71727
71728 * string/test-strchr.c: Make usable for strchrnul testing.
71729 * string/test-strchrnul.c: New file.
71730 * string/Makefile (strop-tests): Add strchrnul.
71731
71732 * po/it.po: Update from translation team.
71733 * po/es.po: Likewise.
71734
71735 2011-10-28 Ulrich Drepper <drepper@gmail.com>
71736
71737 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71738 the three constants needed as parameters. Drop the others.
71739 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71740 __m128i_strloadu_tolower.
71741 Create and initialize variable zero and use it in all the places
71742 where _mm_setzero_si128 was used.
71743
71744 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71745 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71746 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71747 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71748 anymore.
71749 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71750 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71751 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71752 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71753 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71754 __mpranred, __mptan.
71755 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71756 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71757 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71758 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71759 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71760 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71761 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71762 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71763 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71764
71765 2011-10-28 Andreas Schwab <schwab@redhat.com>
71766
71767 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71768 redefine if SHARED.
71769 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71770
71771 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71772 wide char related routines to wcsmbs subdir.
71773
71774 2011-10-27 Andreas Schwab <schwab@redhat.com>
71775
71776 [BZ #13344]
71777 * misc/sys/cdefs.h (__THROWNL): Define.
71778 * posix/unistd.h: Use __THREADNL instead of __THREAD
71779 for memory synchronization functions.
71780
71781 2011-10-26 Roland McGrath <roland@hack.frob.com>
71782
71783 [BZ #13349]
71784 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71785 doesn't exist.
71786 * manual/stdio.texi (Obstack Streams): Node removed.
71787
71788 2011-10-26 Andreas Schwab <schwab@redhat.com>
71789
71790 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71791 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71792 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71793
71794 * math/math_private.h (math_force_eval): Allow non-addressable
71795 arguments.
71796 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71797
71798 2011-10-25 Ulrich Drepper <drepper@gmail.com>
71799
71800 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71801 file is not needed.
71802
71803 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71804 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71805 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71806 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71807 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71808 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71809 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71810 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71811 Add AVX variants.
71812 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71813 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71814 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71815 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71816 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71817 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71818 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71819 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71820 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71821 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71822 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71823 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71824 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71825 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71826 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71827 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71828 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71829 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71830 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71831
71832 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71833 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
71834
71835 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71836 place. Use VEX encoding when compiling for AVX.
71837
71838 2011-10-25 Andreas Schwab <schwab@redhat.com>
71839
71840 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71841 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71842
71843 * string/test-strchr.c (do_test): Don't generate NUL bytes.
71844
71845 2011-10-25 Ulrich Drepper <drepper@gmail.com>
71846
71847 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71848 useless if() expression.
71849 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71850 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71851 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71852 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71853 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71854 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71855 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71856 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71857 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71858 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71859 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71860 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71861 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71862 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71863 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71864 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71865 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71866 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71867 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71868
71869 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71870
71871 2011-10-25 Andreas Schwab <schwab@redhat.com>
71872
71873 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71874 condition.
71875 * elf/dl-fini.c (_dl_sort_fini): Likewise.
71876
71877 2011-10-25 Ulrich Drepper <drepper@gmail.com>
71878
71879 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71880 .text section. Avoid duplicate constants.
71881 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71882 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71883 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71884 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71885 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71886 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71887 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71888 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71889 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71890 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71891 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71892 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71893 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71894 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71895 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71896 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71897 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71898 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71899 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71900 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71901 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71902 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71903 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71904 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71905 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71906 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71907 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71908 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71909 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71910 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71911 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71912 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71913 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71914 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71915 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71916 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71917 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71918 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71919 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71920 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71921 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71922 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71923 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71924 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71925 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71926
71927 2011-10-24 Ulrich Drepper <drepper@gmail.com>
71928
71929 * sysdeps/x86_64/dla.h: Move to ...
71930 * sysdeps/x86_64/fpu/dla.h: ...here.
71931 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71932 situations. Use __builtin_fma only for gcc 4.6 and up.
71933
71934 * config.make.in: Add have-mfma4 entry.
71935 * configure.in: Substitute libc_cv_cc_fma4.
71936 * math/Makefile (dbl-only-routines): Add sincostab.
71937 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71938 Use __sincostab not sincos.
71939 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71940 name is a macro.
71941 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71944 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
71945 using __copysign.
71946 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
71947 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
71948 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71949 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71950 and __inv.
71951 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71952 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71953 __copysign.
71954 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
71955 define aliases when function name is a macro.
71956 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71957 sysdeps/ieee754/dbl-64/sincos.tbl.
71958 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71959 fma4-enabled routines.
71960 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71961 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71962 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71963 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71964 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71965 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71966 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71967 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71968 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71969 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71970 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71971 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71972 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71973 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71974 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71975 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71976 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71977 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71978 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71979 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71980 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71981 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71982 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71983 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71984 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71985 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71986 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71987 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71988 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71989 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71990
71991 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71992 rename.
71993 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71994 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71995 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71998 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71999 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72000 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72001
72002 2011-10-24 Andreas Schwab <schwab@redhat.com>
72003
72004 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72005
72006 2011-10-23 Ulrich Drepper <drepper@gmail.com>
72007
72008 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72009
72010 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72011 prediction.
72012 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
72013
72014 * string/strnlen.c: Don't define STRNLEN, reverse logic.
72015 Remove unused variable magic_bits.
72016 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
72017
72018 * string/strnlen.c: Define and use STRNLEN macro.
72019 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
72020 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
72021 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
72022 * wcsmbs/wcslen.c: Define and use WCSLEN.
72023 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
72024 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
72025 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
72026 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
72027 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
72028 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
72029 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72030
72031 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72032
72033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72034 strnlen-sse2-no-bsf.
72035 Rename strlen-no-bsf to strlen-sse2-no-bsf.
72036 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
72037 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
72038 Add strnlen support.
72039 (USE_AS_STRNLEN): New macro.
72040 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
72041 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
72042 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
72043 * sysdeps/x86_64/wcslen.S: New file.
72044
72045 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
72046
72047 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72048 XMM-moves are used for copying on small sizes.
72049
72050 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72051
72052 * wcsmbs/Makefile (strop-tests): Add wcschr.
72053 * wcsmbs/test-wcschr.c: New file.
72054 * string/test-strchr.c: Update.
72055 Add wcschr support.
72056 (WIDE): New macro.
72057
72058 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72059
72060 * wcsmbs/Makefile (strop-tests): Add wcslen.
72061 * wcsmbs/test-wcslen.c: New file.
72062 * string/test-strlen.c: Update.
72063 Add wcslen support.
72064 (WIDE): New macro.
72065
72066 2011-10-23 Ulrich Drepper <drepper@gmail.com>
72067
72068 * po/it.po: Update from translation team.
72069
72070 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72071
72072 * sysdeps/x86_64/wcscmp.S: Update.
72073 Fix wrong comparison semantics.
72074 wcscmp shall use signed comparison not unsigned.
72075 Don't use substraction to avoid overflow bug.
72076 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
72077 * wcsmbc/wcscmp.c: Likewise.
72078 * string/test-strcmp.c: Likewise.
72079 Add new tests to check cases with negative values.
72080
72081 2011-10-23 Ulrich Drepper <drepper@gmail.com>
72082
72083 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
72084 * sysdeps/x86_64/dla.h: ...here. New file.
72085 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
72086 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72087 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72088 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72090 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72091 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72092 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72093 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72094
72095 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
72096
72097 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
72098 __ynl_finite aliases.
72099
72100 2011-10-22 Ulrich Drepper <drepper@gmail.com>
72101
72102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72103
72104 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
72105 define DLA_FMA.
72106 [DLA_FMA] (EMULV): Use DLA_FMA.
72107 [DLA_FMA] (MUL12): Use EMULV.
72108 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
72109 that are not needed.
72110 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72112 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72113 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72114 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72115 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72116 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72117
72118 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
72119
72120 * math/s_nan.c: Undef __nan.
72121 * math/s_nanf.c: Undef __nanf.
72122 * math/s_nanl.c: Undef __nanl.
72123 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
72124 "math_private.h".
72125
72126 2011-10-22 Ulrich Drepper <drepper@gmail.com>
72127
72128 * math/s_catan.c: Add branch predictions.
72129 * math/s_catanf.c: Likewise.
72130 * math/s_catanh.c: Likewise.
72131 * math/s_catanhf.c: Likewise.
72132 * math/s_catanhl.c: Likewise.
72133 * math/s_catanl.c: Likewise.
72134 * math/s_cexp.c: Likewise.
72135 * math/s_cexpf.c: Likewise.
72136 * math/s_cexpl.c: Likewise.
72137 * math/s_clog.c: Likewise.
72138 * math/s_clog10.c: Likewise.
72139 * math/s_clog10f.c: Likewise.
72140 * math/s_clog10l.c: Likewise.
72141 * math/s_clogf.c: Likewise.
72142 * math/s_clogl.c: Likewise.
72143 * math/s_csqrt.c: Likewise.
72144 * math/s_csqrtf.c: Likewise.
72145 * math/s_csqrtl.c: Likewise.
72146 * math/s_ctanf.c: Likewise.
72147 * math/s_ctanh.c: Likewise.
72148 * math/s_ctanhf.c: Likewise.
72149 * math/s_ctanhl.c: Likewise.
72150 * math/s_ctanl.c: Likewise.
72151
72152 * math/math_private.h: Define __nan, __nanf, __nanl.
72153 * math/s_cacosh.c: Include <math_private.h>.
72154 * math/s_cacoshl.c: Likewise.
72155 * math/s_casinh.c: Likewise.
72156 * math/s_casinhf.c: Likewise.
72157 * math/s_casinhl.c: Likewise.
72158 * math/s_ccos.c: Rely entire on ccosh.
72159 * math/s_ccosf.c: Rely entire on ccoshf.
72160 * math/s_ccosl.c: Rely entirely on ccoshl.
72161 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
72162 Remove tests for FE_INVALID.
72163 * math/s_ccoshf.c: Likewise.
72164 * math/s_ccoshl.c: Likewise.
72165 * math/s_csin.c: Likewise.
72166 * math/s_csinf.c: Likewise.
72167 * math/s_csinh.c Likewise.
72168 * math/s_csinhf.c: Likewise.
72169 * math/s_csinhl.c: Likewise.
72170 * math/s_csinl.c: Likewise.
72171 * math/s_ctan.c: Likewise.
72172 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72173 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72174 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72175
72176 2011-10-21 Ulrich Drepper <drepper@gmail.com>
72177
72178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72179 compilation problems.
72180
72181 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72182 __builtin_expect.
72183
72184 2011-10-20 Ulrich Drepper <drepper@gmail.com>
72185
72186 * sysdeps/i386/configure.in: Test for -mfma4 option.
72187 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72188 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72189 COMMON_CPUID_INDEX_80000001.
72190 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72191 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72192 use it if FMA3 is not supported.
72193 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72194
72195 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72196 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72197
72198 2011-10-20 Andreas Schwab <schwab@redhat.com>
72199
72200 [BZ #12892]
72201 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72202 it would create a cycle with a link time dependency.
72203
72204 2011-10-19 Ulrich Drepper <drepper@gmail.com>
72205
72206 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72207 instruction.
72208 * string/Makefile (strop-tests): Add rawmemchr.
72209 * string/test-rawmemchr.c: New file.
72210
72211 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72212 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
72213 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
72214 when compiling str{,n}casecmp and when AVX is available. Hook up
72215 new optimized code in initializers.
72216
72217 2011-10-19 Andreas Schwab <schwab@redhat.com>
72218
72219 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72220 __feraiseexcept instead of feraiseexcept.
72221
72222 2011-10-18 Ulrich Drepper <drepper@gmail.com>
72223
72224 * math/math_private.h: Define defaults for libc_fetestexcept and
72225 libc_feupdateenv.
72226 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72227 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72228 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72229 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72230 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72231 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72232 libc_fetestexcept and libc_feupdateenv.
72233
72234 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72235 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72236 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72237 * sysdeps/x86_64/fpu/math_private.h: Define special version of
72238 libc_feholdexcept_setround.
72239
72240 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72241 Add s_nearbyint-c and s_nearbyintf-c.
72242 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72243 nearbyintf inlines.
72244 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72245 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72246 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72247 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72248
72249 * math/math_private.h: Define defaults for libc_fegetround,
72250 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72251 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72252 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72253 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72254 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72255 standard functions.
72256 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72257 Remove comments and hacks for old compiler versions.
72258 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72259 libc_fegetround, libc_fesetround, libc_feholdexcept, and
72260 libc_feholdexceptl.
72261
72262 2011-10-18 Andreas Schwab <schwab@redhat.com>
72263
72264 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72265 (__feraiseexcept_renamed): Add __NTH.
72266 (feraiseexcept): Add __NTH. Rename local variables to fix
72267 namespace violations.
72268
72269 2011-10-17 Ulrich Drepper <drepper@gmail.com>
72270
72271 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72272
72273 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72274
72275 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72276 recently added interfaces.
72277 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
72278
72279 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
72280 about macro parameter expansion.
72281
72282 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
72283 __NO_MATH_INLINES is defined. Cleanups.
72284
72285 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
72286 and __floorf is target has SSE4.1.
72287 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
72288 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
72289 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
72290 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
72291
72292 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
72293 name.
72294 (floorf): Likewise.
72295
72296 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
72297
72298 2011-10-17 Andreas Schwab <schwab@redhat.com>
72299
72300 * misc/sys/cdefs.h: Fix last change.
72301
72302 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
72303 database lookup.
72304
72305 2011-10-16 Ulrich Drepper <drepper@gmail.com>
72306
72307 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
72308
72309 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
72310 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72311 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72312 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72313 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72314 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72315 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72316 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72317 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72318 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
72319 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
72320 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
72321 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
72322 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
72323 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
72324 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
72325 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
72326 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
72327 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
72328 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
72329 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
72330 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
72331
72332 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
72333 ceil, ceilf, floor, floorf.
72334
72335 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
72336 Perform IRELATIVE relocations last.
72337
72338 * elf/do-rel.h: Add another parameter nrelative, replacing the
72339 local variable with the same name. Change name of the function
72340 to end in Rel or Rela (uppercase).
72341 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
72342 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
72343 elf_dynamic_do_##reloc function.
72344
72345 2011-10-15 Ulrich Drepper <drepper@gmail.com>
72346
72347 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
72348 is sufficient, at least on modern CPUs.
72349
72350 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
72351
72352 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
72353 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
72354
72355 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
72356 __expl_finite.
72357 * math/bits/math-finite.h: Add entries for exp.
72358 * math/e_expl.c: Add __*_finite alias.
72359 * sysdeps/i386/fpu/e_exp.S: Likewise.
72360 * sysdeps/i386/fpu/e_expf.S: Likewise.
72361 * sysdeps/i386/fpu/e_expl.c: Likewise.
72362 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72363 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72364 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
72365 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
72366 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
72367 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72368 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72369
72370 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
72371 is sufficient, at least on modern CPUs.
72372
72373 * ctype/ctype-info.c (__ctype_init): Define.
72374 * include/ctype.h (__ctype_init): Declare.
72375 (__ctype_b_loc): The variable is always initialized.
72376 (__ctype_toupper_loc): Likewise.
72377 (__ctype_tolower_loc): Likewise.
72378 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72379 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72380
72381 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
72382
72383 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72384
72385 * configure.in: Also look in $cxxmachine/include for C++ system
72386 headers.
72387
72388 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72389
72390 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72391 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72392 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72393 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
72394 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72395 (USE_AS_WMEMCMP): New macro.
72396 Fixing indents.
72397 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72398 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72399 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72400 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72401 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72402 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72403 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72404 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72405 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72406 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72407 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72408 (USE_AS_WMEMCMP): New macro.
72409 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72410 * sysdeps/string/test-memcmp.c: Update.
72411 Fix simple_wmemcmp.
72412 Add new tests.
72413 * wcsmbs/wmemcmp.c: Update.
72414 (WMEMCMP): New macro.
72415 Fix overflow bug.
72416
72417 2011-10-12 Andreas Jaeger <aj@suse.de>
72418
72419 [BZ #13268]
72420 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72421
72422 2011-10-15 Ulrich Drepper <drepper@gmail.com>
72423
72424 * libio/iofwide.c (do_length): Avoid warning.
72425
72426 * ctype/ctype.h (__isctype_f): Add missing __THROW.
72427
72428 2011-10-14 Ulrich Drepper <drepper@gmail.com>
72429
72430 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72431
72432 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72433 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72434 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72435 * sysdeps/i386/i686/fpu/e_log.S: New file.
72436 * sysdeps/i386/i686/fpu/e_logf.S: New file.
72437 * sysdeps/i386/i686/fpu/e_logl.S: New file.
72438
72439 * ctype/ctype.h: Add support for inlined isXXX functions when
72440 compiling C++ code.
72441
72442 2011-10-14 Andreas Schwab <schwab@redhat.com>
72443
72444 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72445
72446 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72447
72448 2011-10-13 Roland McGrath <roland@hack.frob.com>
72449
72450 [BZ #13291]
72451 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72452
72453 2011-10-13 Andreas Schwab <schwab@redhat.com>
72454
72455 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72456 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72457 feraiseexcept.
72458
72459 * sysdeps/x86_64/memrchr.S: Check for zero size.
72460
72461 * string/stratcliff.c: Add memrchr tests.
72462
72463 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72464
72465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72466 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72467 rawmemchr-sse2 rawmemchr-sse2-bsf.
72468 * sysdeps/i386/i686/multiarch/memchr.S: New file.
72469 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72470 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72471 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72472 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72473 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72474 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72475 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72476 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72477 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72478 * string/memrchr.c (MEMRCHR): New macro.
72479
72480 2011-10-12 Ulrich Drepper <drepper@gmail.com>
72481
72482 Add integration with gcc's -ffinite-math-only and optimize wrapper
72483 functions in libm.
72484 * Versions.def: Define GLIBC_2.15 version for libm.
72485 * math/Makefile (headers): Add bits/math-finite.h.
72486 * math/bits/math-finite.h: New file.
72487 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72488 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72489 * math/e_acoshl.c: Add __*_finite alias.
72490 * math/e_acosl.c: Likewise.
72491 * math/e_asinl.c: Likewise.
72492 * math/e_atan2l.c: Likewise.
72493 * math/e_atanhl.c: Likewise.
72494 * math/e_coshl.c: Likewise.
72495 * math/e_exp10.c: Likewise.
72496 * math/e_exp10f.c: Likewise.
72497 * math/e_exp10l.c: Likewise.
72498 * math/e_exp2l.c: Likewise.
72499 * math/e_fmodl.c: Likewise.
72500 * math/e_gammal_r.c: Likewise.
72501 * math/e_hypotl.c: Likewise.
72502 * math/e_j0l.c: Likewise.
72503 * math/e_j1l.c: Likewise.
72504 * math/e_jnl.c: Likewise.
72505 * math/e_lgammal_r.c: Likewise.
72506 * math/e_log10l.c: Likewise.
72507 * math/e_log2l.c: Likewise.
72508 * math/e_logl.c: Likewise.
72509 * math/e_powl.c: Likewise.
72510 * math/e_sinhl.c: Likewise.
72511 * math/e_sqrtl.c: Likewise.
72512 * math/e_scalb.c: Completely rewritten and optimized.
72513 * math/e_scalbf.c: Likewise.
72514 * math/e_scalbl.c: Likewise.
72515 * math/w_acos.c: Likewise.
72516 * math/w_acosf.c: Likewise.
72517 * math/w_acosl.c: Likewise.
72518 * math/w_acosh.c: Likewise.
72519 * math/w_acoshf.c: Likewise.
72520 * math/w_acoshl.c: Likewise.
72521 * math/w_asin.c: Likewise.
72522 * math/w_asinf.c: Likewise.
72523 * math/w_asinl.c: Likewise.
72524 * math/w_atan2.c: Likewise.
72525 * math/w_atan2f.c: Likewise.
72526 * math/w_atan2l.c: Likewise.
72527 * math/w_atanh.c: Likewise.
72528 * math/w_atanhf.c: Likewise.
72529 * math/w_atanhl.c: Likewise.
72530 * math/w_exp10.c: Likewise.
72531 * math/w_exp10f.c: Likewise.
72532 * math/w_exp10l.c: Likewise.
72533 * math/w_fmod.c: Likewise.
72534 * math/w_fmodf.c: Likewise.
72535 * math/w_fmodl.c: Likewise.
72536 * math/w_j0.c: Likewise.
72537 * math/w_j0f.c: Likewise.
72538 * math/w_j0l.c: Likewise.
72539 * math/w_j1.c: Likewise.
72540 * math/w_j1f.c: Likewise.
72541 * math/w_j1l.c: Likewise.
72542 * math/w_jn.c: Likewise.
72543 * math/w_jnf.c: Likewise.
72544 * math/w_log.c: Likewise.
72545 * math/w_logf.c: Likewise.
72546 * math/w_logl.c: Likewise.
72547 * math/w_log10.c: Likewise.
72548 * math/w_log10f.c: Likewise.
72549 * math/w_log10l.c: Likewise.
72550 * math/w_log2.c: Likewise.
72551 * math/w_log2f.c: Likewise.
72552 * math/w_log2l.c: Likewise.
72553 * math/w_pow.c: Likewise.
72554 * math/w_powf.c: Likewise.
72555 * math/w_powl.c: Likewise.
72556 * math/w_remainder.c: Likewise.
72557 * math/w_remainderf.c: Likewise.
72558 * math/w_remainderl.c: Likewise.
72559 * math/w_scalb.c: Likewise.
72560 * math/w_scalbf.c: Likewise.
72561 * math/w_scalbl.c: Likewise.
72562 * math/w_sqrt.c: Likewise.
72563 * math/w_sqrtf.c: Likewise.
72564 * math/w_sqrtl.c: Likewise.
72565 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72566 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
72567 used.
72568 * math/math_private.h: Declare __kernel_standard_f.
72569 * math/w_cosh.c: Remove cruft and optimize a bit.
72570 * math/w_coshf.c: Likewise.
72571 * math/w_coshl.c: Likewise.
72572 * math/w_exp2.c: Likewise.
72573 * math/w_exp2f.c: Likewise.
72574 * math/w_exp2l.c: Likewise.
72575 * math/w_hypot.c: Likewise.
72576 * math/w_hypotf.c: Likewise.
72577 * math/w_hypotl.c: Likewise.
72578 * math/w_lgamma.c: Likewise.
72579 * math/w_lgamma_r.c: Likewise.
72580 * math/w_lgammaf.c: Likewise.
72581 * math/w_lgammaf_r.c: Likewise.
72582 * math/w_lgammal.c: Likewise.
72583 * math/w_lgammal_r.c: Likewise.
72584 * math/w_sinh.c: Likewise.
72585 * math/w_sinhf.c: Likewise.
72586 * math/w_sinhl.c: Likewise.
72587 * math/w_tgamma.c: Likewise.
72588 * math/w_tgammaf.c: Likewise.
72589 * math/w_tgammal.c: Likewise.
72590 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72591 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72592 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72593 Minor optimizations. Pretty printing. Remove cruft.
72594 * sysdeps/i386/fpu/e_acosf.S: Likewise.
72595 * sysdeps/i386/fpu/e_acosh.S: Likewise.
72596 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72597 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72598 * sysdeps/i386/fpu/e_acosl.c: Likewise.
72599 * sysdeps/i386/fpu/e_asin.S: Likewise.
72600 * sysdeps/i386/fpu/e_asinf.S: Likewise.
72601 * sysdeps/i386/fpu/e_atan2.S: Likewise.
72602 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72603 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72604 * sysdeps/i386/fpu/e_atanh.S: Likewise.
72605 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72606 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72607 * sysdeps/i386/fpu/e_exp10.S: Likewise.
72608 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72609 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72610 * sysdeps/i386/fpu/e_exp2.S: Likewise.
72611 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72612 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72613 * sysdeps/i386/fpu/e_fmod.S: Likewise.
72614 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72615 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72616 * sysdeps/i386/fpu/e_hypot.S: Likewise.
72617 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72618 * sysdeps/i386/fpu/e_log.S: Likewise.
72619 * sysdeps/i386/fpu/e_log10.S: Likewise.
72620 * sysdeps/i386/fpu/e_log10f.S: Likewise.
72621 * sysdeps/i386/fpu/e_log10l.S: Likewise.
72622 * sysdeps/i386/fpu/e_log2.S: Likewise.
72623 * sysdeps/i386/fpu/e_log2f.S: Likewise.
72624 * sysdeps/i386/fpu/e_log2l.S: Likewise.
72625 * sysdeps/i386/fpu/e_logf.S: Likewise.
72626 * sysdeps/i386/fpu/e_logl.S: Likewise.
72627 * sysdeps/i386/fpu/e_pow.S: Likewise.
72628 * sysdeps/i386/fpu/e_powf.S: Likewise.
72629 * sysdeps/i386/fpu/e_powl.S: Likewise.
72630 * sysdeps/i386/fpu/e_remainder.S: Likewise.
72631 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72632 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72633 * sysdeps/i386/fpu/e_scalb.S: Likewise.
72634 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72635 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72636 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72637 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72638 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72639 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72640 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72641 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72642 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72643 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72644 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72645 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72646 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72647 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72648 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72649 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72650 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72651 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72652 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72653 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72654 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72655 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72656 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72657 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72658 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72659 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72660 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72661 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72662 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72663 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72664 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72665 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72666 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72667 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72668 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72669 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72670 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72671 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72672 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72673 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72674 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72675 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72676 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72677 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72678 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72679 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72680 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72681 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72682 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72683 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72684 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72685 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72686 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72687 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72688 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72689 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72690 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72691 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72692 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72693 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72694 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72695 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72696 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72697 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72698 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72699 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72700 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72701 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72702 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72703 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72704 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72705 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72706 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72707 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72708 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72709 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72710 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72711 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72712 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72713 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72714 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72715 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72716 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72717 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72718 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72719 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72720 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72721 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72722 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72723 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72724 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72725 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72726 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72727 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72728 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72729 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72730 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72731 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72732 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72733 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72734 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72735 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72736 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72737 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72738 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72739 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72740 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72741 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72742 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72743 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72744 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72745 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72746 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72747 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72748 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72749 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
72750 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72751 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72752 (__isnanf): Likewise.
72753 (__isinf_ns): Likewise.
72754 (__isinf_nsf): Likewise.
72755 (__finite): Likewise.
72756 (__finitef): Likewise.
72757 (__ieee754_sqrt): Define as macro.
72758 (__ieee754_sqrtf): Define as macro.
72759 (__ieee754_sqrtl): Define as macro.
72760 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72761 inlined copy.
72762 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72763 __FINITE_MATH_ONLY__ consistent.
72764 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72765
72766 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
72767
72768 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72769 of rawmemchr.
72770
72771 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72772
72773 2011-10-09 Ulrich Drepper <drepper@gmail.com>
72774
72775 * po/ja.po: Update from translation team.
72776
72777 2011-10-08 Roland McGrath <roland@hack.frob.com>
72778
72779 * locale/programs/locarchive.c (prepare_address_space): New function.
72780 (create_archive, enlarge_archive, open_archive): Use it.
72781
72782 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72783 inside [SHARED], where it is used.
72784
72785 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72786
72787 * nss/getent.c (netgroup_keys): Remove unused variable.
72788 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72789
72790 2011-10-08 Ulrich Drepper <drepper@gmail.com>
72791
72792 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72793 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72794 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72795 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72796 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72797 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72798 * math/Makefile (libm-calls): Add s_isinf_ns.
72799 * math/divtc3.c: Use __isinf_nsl instead of isinf.
72800 * math/multc3.c: Likewise.
72801 * math/s_casin.c: Likewise.
72802 * math/s_casinf.c: Likewise.
72803 * math/s_casinl.c: Likewise.
72804 * math/s_ccos.c: Likewise.
72805 * math/s_ccosf.c: Likewise.
72806 * math/s_ccosl.c: Likewise.
72807 * math/s_ctan.c: Likewise.
72808 * math/s_ctanf.c: Likewise.
72809 * math/s_ctanh.c: Likewise.
72810 * math/s_ctanhf.c: Likewise.
72811 * math/s_ctanhl.c: Likewise.
72812 * math/s_ctanl.c: Likewise.
72813 * math/w_fmod.c: Likewise.
72814 * math/w_fmodf.c: Likewise.
72815 * math/w_fmodl.c: Likewise.
72816 * math/w_remainder.c: Likewise.
72817 * math/w_remainderf.c: Likewise.
72818 * math/w_remainderl.c: Likewise.
72819 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72820 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72821 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72822 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72823 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72824 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72825 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72826 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72827
72828 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72829 of the number.
72830 * stdio-common/printf_fphex.c: Likewise.
72831 * stdio-common/printf_size.c: Likewise.
72832
72833 * math/e_exp10.c: Include math_private.h using <...> not "...".
72834 * math/e_exp10f.c: Likewise.
72835 * math/e_exp10l.c: Likewise.
72836 * math/e_exp2l.c: Likewise.
72837 * math/e_j0l.c: Likewise.
72838 * math/e_j1l.c: Likewise.
72839 * math/e_jnl.c: Likewise.
72840 * math/e_lgammal_r.c: Likewise.
72841 * math/e_rem_pio2l.c: Likewise.
72842 * math/e_scalb.c: Likewise.
72843 * math/e_scalbf.c: Likewise.
72844 * math/e_scalbl.c: Likewise.
72845 * math/k_cosl.c: Likewise.
72846 * math/k_sinl.c: Likewise.
72847 * math/k_tanl.c: Likewise.
72848 * math/s_cacoshf.c: Likewise.
72849 * math/s_catan.c: Likewise.
72850 * math/s_catanf.c: Likewise.
72851 * math/s_catanh.c: Likewise.
72852 * math/s_catanhf.c: Likewise.
72853 * math/s_catanhl.c: Likewise.
72854 * math/s_catanl.c: Likewise.
72855 * math/s_ccosh.c: Likewise.
72856 * math/s_ccoshf.c: Likewise.
72857 * math/s_ccoshl.c: Likewise.
72858 * math/s_cexp.c: Likewise.
72859 * math/s_cexpf.c: Likewise.
72860 * math/s_cexpl.c: Likewise.
72861 * math/s_clog.c: Likewise.
72862 * math/s_clog10.c: Likewise.
72863 * math/s_clog10f.c: Likewise.
72864 * math/s_clog10l.c: Likewise.
72865 * math/s_clogf.c: Likewise.
72866 * math/s_clogl.c: Likewise.
72867 * math/s_csin.c: Likewise.
72868 * math/s_csinf.c: Likewise.
72869 * math/s_csinh.c: Likewise.
72870 * math/s_csinhf.c: Likewise.
72871 * math/s_csinhl.c: Likewise.
72872 * math/s_csinl.c: Likewise.
72873 * math/s_csqrt.c: Likewise.
72874 * math/s_csqrtf.c: Likewise.
72875 * math/s_csqrtl.c: Likewise.
72876 * math/s_ctan.c: Likewise.
72877 * math/s_ctanf.c: Likewise.
72878 * math/s_ctanh.c: Likewise.
72879 * math/s_ctanhf.c: Likewise.
72880 * math/s_ctanhl.c: Likewise.
72881 * math/s_ctanl.c: Likewise.
72882 * math/s_ldexp.c: Likewise.
72883 * math/s_ldexpf.c: Likewise.
72884 * math/s_ldexpl.c: Likewise.
72885 * math/s_significand.c: Likewise.
72886 * math/s_significandf.c: Likewise.
72887 * math/s_significandl.c: Likewise.
72888 * math/w_acos.c: Likewise.
72889 * math/w_acosf.c: Likewise.
72890 * math/w_acosh.c: Likewise.
72891 * math/w_acoshf.c: Likewise.
72892 * math/w_acoshl.c: Likewise.
72893 * math/w_acosl.c: Likewise.
72894 * math/w_asin.c: Likewise.
72895 * math/w_asinf.c: Likewise.
72896 * math/w_asinl.c: Likewise.
72897 * math/w_atan2.c: Likewise.
72898 * math/w_atan2f.c: Likewise.
72899 * math/w_atan2l.c: Likewise.
72900 * math/w_atanh.c: Likewise.
72901 * math/w_atanhf.c: Likewise.
72902 * math/w_atanhl.c: Likewise.
72903 * math/w_cosh.c: Likewise.
72904 * math/w_coshf.c: Likewise.
72905 * math/w_coshl.c: Likewise.
72906 * math/w_dremf.c: Likewise.
72907 * math/w_exp10.c: Likewise.
72908 * math/w_exp10f.c: Likewise.
72909 * math/w_exp10l.c: Likewise.
72910 * math/w_exp2.c: Likewise.
72911 * math/w_exp2f.c: Likewise.
72912 * math/w_fmod.c: Likewise.
72913 * math/w_fmodf.c: Likewise.
72914 * math/w_fmodl.c: Likewise.
72915 * math/w_hypot.c: Likewise.
72916 * math/w_hypotf.c: Likewise.
72917 * math/w_hypotl.c: Likewise.
72918 * math/w_j0.c: Likewise.
72919 * math/w_j0f.c: Likewise.
72920 * math/w_j0l.c: Likewise.
72921 * math/w_j1.c: Likewise.
72922 * math/w_j1f.c: Likewise.
72923 * math/w_j1l.c: Likewise.
72924 * math/w_jn.c: Likewise.
72925 * math/w_jnf.c: Likewise.
72926 * math/w_jnl.c: Likewise.
72927 * math/w_lgamma.c: Likewise.
72928 * math/w_lgamma_r.c: Likewise.
72929 * math/w_lgammaf.c: Likewise.
72930 * math/w_lgammaf_r.c: Likewise.
72931 * math/w_lgammal.c: Likewise.
72932 * math/w_lgammal_r.c: Likewise.
72933 * math/w_log.c: Likewise.
72934 * math/w_log10.c: Likewise.
72935 * math/w_log10f.c: Likewise.
72936 * math/w_log10l.c: Likewise.
72937 * math/w_log2.c: Likewise.
72938 * math/w_log2f.c: Likewise.
72939 * math/w_log2l.c: Likewise.
72940 * math/w_logf.c: Likewise.
72941 * math/w_logl.c: Likewise.
72942 * math/w_pow.c: Likewise.
72943 * math/w_powf.c: Likewise.
72944 * math/w_powl.c: Likewise.
72945 * math/w_remainder.c: Likewise.
72946 * math/w_remainderf.c: Likewise.
72947 * math/w_remainderl.c: Likewise.
72948 * math/w_scalb.c: Likewise.
72949 * math/w_scalbf.c: Likewise.
72950 * math/w_scalbl.c: Likewise.
72951 * math/w_sinh.c: Likewise.
72952 * math/w_sinhf.c: Likewise.
72953 * math/w_sinhl.c: Likewise.
72954 * math/w_sqrt.c: Likewise.
72955 * math/w_sqrtf.c: Likewise.
72956 * math/w_sqrtl.c: Likewise.
72957 * math/w_tgamma.c: Likewise.
72958 * math/w_tgammaf.c: Likewise.
72959 * math/w_tgammal.c: Likewise.
72960
72961 * po/ja.po: Update from translation team.
72962
72963 2011-09-29 Andreas Jaeger <aj@suse.de>
72964
72965 [BZ #13179]
72966 * sunrpc/netname.c (netname2host): Fix logic.
72967
72968 [BZ #6779]
72969 [BZ #6783]
72970 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72971 correctly.
72972 * math/w_remainder.c (__remainder): Likewise.
72973 * math/w_remainderf.c (__remainderf): Likewise.
72974 * math/libm-test.inc (remainder_test): Add test cases.
72975
72976 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72977
72978 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
72979 sdiv_qrnnd.
72980
72981 2011-10-07 Ulrich Drepper <drepper@gmail.com>
72982
72983 * string/test-memcmp.c: Avoid unncessary #defines.
72984 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72985
72986 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72987
72988 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72989 Use new sse2 version for core i3 - i7 as it's faster
72990 than sse42 version.
72991 (bit_Prefer_PMINUB_for_stringop): New.
72992 * sysdeps/x86_64/rawmemchr.S: Update.
72993 Replace with faster SSE2 version.
72994 * sysdeps/x86_64/memrchr.S: New file.
72995 * sysdeps/x86_64/memchr.S: Update.
72996 Replace with faster SSE2 version.
72997
72998 2011-09-12 Marek Polacek <mpolacek@redhat.com>
72999
73000 * elf/dl-load.c (lose): Add cast to avoid warning.
73001
73002 2011-10-07 Ulrich Drepper <drepper@gmail.com>
73003
73004 * po/ca.po: Update from translation team.
73005
73006 * inet/getnetgrent_r.c: Hook up nscd.
73007 * nscd/Makefile (routines): Add nscd_netgroup.
73008 (nscd-modules): Add netgroupcache.
73009 (CFLAGS-netgroupcache.c): Define.
73010 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73011 (cache_search): Add const to second parameter.
73012 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
73013 INNETGR.
73014 (dbs): Add netgrdb entry.
73015 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
73016 (verify_persistent_db): Handle netgrdb.
73017 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
73018 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
73019 GETFDNETGR.
73020 (netgroup_response_header): Define.
73021 (innetgroup_response_header): Define.
73022 (datahead): Add netgroup_response_header and innetgroup_response_header
73023 elements.
73024 * nscd/nscd.conf: Add entries for netgroup cache.
73025 * nscd/nscd.h (dbtype): Add netgrdb.
73026 (_PATH_NSCD_NETGROUP_DB): Define.
73027 (netgroup_iov_disabled): Declare.
73028 (xmalloc, xcalloc, xrealloc): Move declarations here.
73029 (cache_search): Adjust prototype.
73030 Add netgroup-related prototypes.
73031 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
73032 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
73033 (__nscd_innetgr): Declare.
73034 * nscd/selinux.c (perms): Use access_vector_t as element type and
73035 add netgroup-related initializers.
73036 * nscd/netgroupcache.c: New file.
73037 * nscd/nscd_netgroup.c: New file.
73038 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
73039 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
73040 For four parameters use innetgr.
73041 * nss/nss_files/files-init.c: Add definition and callback for netgr.
73042 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
73043 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
73044 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
73045
73046 * nscd/connections.c (register_traced_file): Don't register file
73047 for disabled databases.
73048
73049 2011-10-06 Ulrich Drepper <drepper@gmail.com>
73050
73051 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
73052
73053 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
73054 from tree and freeing node.
73055
73056 2011-09-25 Jiri Olsa <jolsa@redhat.com>
73057
73058 * nss/nsswitch.c (__nss_database_lookup): Handle
73059 nss_parse_service_list out of memory case.
73060
73061 2011-09-15 Jiri Olsa <jolsa@redhat.com>
73062
73063 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
73064 out of memory case.
73065
73066 2011-10-04 Andreas Schwab <schwab@redhat.com>
73067
73068 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
73069 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
73070 pass it down.
73071 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
73072 elf_machine_rela, elf_machine_lazy_rel.
73073 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
73074 (ELF_DYNAMIC_DO_REL): Likewise.
73075 (ELF_DYNAMIC_DO_RELA): Likewise.
73076 (ELF_DYNAMIC_RELOCATE): Likewise.
73077 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
73078 to ELF_DYNAMIC_DO_REL.
73079 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
73080 (dl_main): In trace mode always set __RTLD_NOIFUNC.
73081 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
73082 elf_machine_rela.
73083 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
73084 skip_ifunc, don't call ifunc function if non-zero.
73085 (elf_machine_rela): Likewise.
73086 (elf_machine_lazy_rel): Likewise.
73087 (elf_machine_lazy_rela): Likewise.
73088 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
73089 (elf_machine_lazy_rel): Likewise.
73090 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
73091 Likewise.
73092 (elf_machine_lazy_rel): Likewise.
73093 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73094 Likewise.
73095 (elf_machine_lazy_rel): Likewise.
73096 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
73097 (elf_machine_lazy_rel): Likewise.
73098 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
73099 (elf_machine_lazy_rel): Likewise.
73100 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
73101 (elf_machine_lazy_rel): Likewise.
73102 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
73103 (elf_machine_lazy_rel): Likewise.
73104 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
73105 (elf_machine_lazy_rel): Likewise.
73106 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
73107 (elf_machine_lazy_rel): Likewise.
73108
73109 2011-09-28 Ulrich Drepper <drepper@gmail.com>
73110
73111 * nss/nss_files/files-init.c (_nss_files_init): Use static
73112 initialization for all the *_traced_file variables.
73113
73114 2011-09-28 Andreas Schwab <schwab@redhat.com>
73115
73116 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73117
73118 2011-09-27 Roland McGrath <roland@hack.frob.com>
73119
73120 [BZ #13226]
73121 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
73122
73123 2011-09-27 Andreas Schwab <schwab@redhat.com>
73124
73125 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73126 Reread the line before reparsing it.
73127
73128 2011-09-26 Andreas Schwab <schwab@redhat.com>
73129
73130 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73131
73132 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
73133 Maxim Kuvyrkov <maxim@codesourcery.com>
73134 Joseph Myers <joseph@codesourcery.com>
73135
73136 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73137 if needed for __stack_chk_guard.
73138
73139 2011-09-19 Roland McGrath <roland@hack.frob.com>
73140
73141 * sysdeps/posix/spawni.c (script_execute): Always define it.
73142 It will be optimized away if unused.
73143 (maybe_script_execute): New function.
73144 (__spawni): Call it.
73145
73146 * Makerules: Don't include tls.make.
73147 (config-tls): Always set to thread.
73148 * tls.make.c: File removed.
73149
73150 2011-09-19 Mike Frysinger <vapier@gentoo.org>
73151
73152 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73153 * config.make.in (CPPFLAGS-config): New substituted variable.
73154
73155 2011-09-15 Ulrich Drepper <drepper@gmail.com>
73156
73157 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73158
73159 [BZ #13192]
73160 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73161 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73162
73163 2011-09-15 Roland McGrath <roland@hack.frob.com>
73164
73165 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73166 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73167 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73168 (CALL_FAIL): Likewise.
73169 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73170 (CALL_FAIL): Macro removed.
73171 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73172
73173 2011-09-15 Ulrich Drepper <drepper@gmail.com>
73174
73175 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73176 for __FINITE_MATH_ONLY__ == 1.
73177
73178 2011-09-15 Andreas Schwab <schwab@redhat.com>
73179
73180 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73181 __ieee754_sqrt instead of sqrt.
73182 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73183 __ieee754_sqrtf instead of sqrtf.
73184 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73185 __floorf instead of floorf.
73186 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73187 __floorf, __truncf instead of floorf, truncf.
73188
73189 2011-09-14 Ulrich Drepper <drepper@gmail.com>
73190
73191 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73192
73193 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73194 __extern_always_inline.
73195 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73196 32-bit.
73197
73198 2011-09-14 Andreas Schwab <schwab@redhat.com>
73199
73200 * elf/rtld.c (dl_main): Also relocate in dependency order when
73201 doing symbol dependency testing.
73202
73203 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
73204
73205 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73206 Always define `refsym'.
73207
73208 2011-09-13 Andreas Schwab <schwab@redhat.com>
73209
73210 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73211 (__FD_ELT): Renamed from __FDELT.
73212 * misc/bits/select2.h (__FD_ELT): Likewise.
73213 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73214 __FD_MASK instead of __FDELT, __FDMASK.
73215 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73216 Likewise.
73217 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73218 Likewise.
73219
73220 * elf/Makefile (gen-ldd): Fix pattern.
73221
73222 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73223 (init_tls): Likewise.
73224
73225 2011-09-12 Ulrich Drepper <drepper@gmail.com>
73226
73227 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73228
73229 2011-09-12 Andreas Schwab <schwab@redhat.com>
73230
73231 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73232 `struct cmsghdr *' instead of `void *'.
73233 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73234 Likewise.
73235
73236 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
73237
73238 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73239 if non-absolute.
73240 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73241 ldd_rewrite_script.
73242
73243 2011-09-11 Ulrich Drepper <drepper@gmail.com>
73244
73245 * configure.in: Remove --with-tls option.
73246 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73247 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73248 out in case it is missing.
73249 * sysdeps/ia64/elf/configure.in: Likewise.
73250 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73251 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73252 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73253 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73254 * sysdeps/sh/elf/configure.in: Likewise.
73255 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73256 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73257 * sysdeps/x86_64/elf/configure.in: Likewise.
73258 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73259 * sysdeps/mach/hurd/tls.h: Likewise.
73260
73261 [BZ #13067]
73262 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73263
73264 [BZ #13090]
73265 * configure.in: Fix use of AC_INIT.
73266
73267 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73268
73269 2011-09-10 Ulrich Drepper <drepper@gmail.com>
73270
73271 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73272 __set_errno.
73273 * malloc/hooks.c: Likewise.
73274
73275 [BZ #11929]
73276 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
73277 variables statically.
73278 (narenas): Initialize.
73279 (list_lock): Initialize.
73280 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
73281 initializtion of main_arena and list_lock. Small cleanups.
73282 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
73283 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
73284 Add initializers to main_arena and mp_.
73285 (malloc_state): Remove pagesize member. Change all users to use
73286 GLRO(dl_pagesize).
73287
73288 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
73289 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
73290 is always initialized.
73291
73292 * malloc/malloc.c: Removed unused configurations and dead code.
73293 * malloc/arena.c: Likewise.
73294 * malloc/hooks.c: Likewise.
73295 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
73296
73297 * include/tls.h: Removed. USE___THREAD must always be defined.
73298 * bits/libc-tsd.h: Don't handle !USE___THREAD.
73299 * elf/dl-libc.c: Likewise.
73300 * elf/dl-tsd.c: Likewise.
73301 * include/errno.h: Likewise.
73302 * include/netdb.h: Likewise.
73303 * include/resolv.h: Likewise.
73304 * inet/herrno-loc.c: Likewise.
73305 * inet/herrno.c: Likewise.
73306 * malloc/arena.c: Likewise.
73307 * malloc/hooks.c: Likewise.
73308 * malloc/malloc.c: Likewise.
73309 * resolv/res-state.c: Likewise.
73310 * resolv/res_libc.c: Likewise.
73311 * sysdeps/i386/dl-machine.h: Likewise.
73312 * sysdeps/ia64/dl-machine.h: Likewise.
73313 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
73314 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
73315 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
73316 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
73317 * sysdeps/sh/dl-machine.h: Likewise.
73318 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73319 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73320 * sysdeps/unix/i386/sysdep.S: Likewise.
73321 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
73322 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
73323 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
73324 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
73325 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
73326 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
73327 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
73328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73329 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73330 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73331 * sysdeps/unix/x86_64/sysdep.S: Likewise.
73332 * sysdeps/x86_64/dl-machine.h: Likewise.
73333 * tls.make.c: Likewise.
73334
73335 * configure.in: Remove --with-__thread option. Make tests for
73336 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
73337 tls_model attribute fail if no support is available. Remove
73338 USE_IN_LIBIO.
73339 * Makeconfig: Adjust for dropped configure option. All features are
73340 now mandatory.
73341 * Makerules: Likewise.
73342 * Versions.def: Likewise.
73343 * argp/argp-fmtstream.c: Likewise.
73344 * argp/argp-fmtstream.h: Likewise.
73345 * argp/argp-help.c: Likewise.
73346 * assert/assert.c: Likewise.
73347 * config.h.in: Likewise.
73348 * config.make.in: Likewise.
73349 * configure: Likewise.
73350 * configure.in: Likewise.
73351 * csu/Versions: Likewise.
73352 * csu/init.c: Likewise.
73353 * elf/tst-audit2.c: Likewise.
73354 * elf/tst-tls10.c: Likewise.
73355 * elf/tst-tls10.h: Likewise.
73356 * elf/tst-tls11.c: Likewise.
73357 * elf/tst-tls12.c: Likewise.
73358 * elf/tst-tls14.c: Likewise.
73359 * elf/tst-tlsmod11.c: Likewise.
73360 * elf/tst-tlsmod12.c: Likewise.
73361 * elf/tst-tlsmod13.c: Likewise.
73362 * elf/tst-tlsmod13a.c: Likewise.
73363 * elf/tst-tlsmod14a.c: Likewise.
73364 * elf/tst-tlsmod15b.c: Likewise.
73365 * elf/tst-tlsmod16a.c: Likewise.
73366 * elf/tst-tlsmod16b.c: Likewise.
73367 * elf/tst-tlsmod7.c: Likewise.
73368 * elf/tst-tlsmod8.c: Likewise.
73369 * elf/tst-tlsmod9.c: Likewise.
73370 * gmon/gmon.c: Likewise.
73371 * grp/fgetgrent_r.c: Likewise.
73372 * grp/putgrent.c: Likewise.
73373 * hurd/fopenport.c: Likewise.
73374 * include/libc-symbols.h: Likewise.
73375 * include/tls.h: Likewise.
73376 * intl/gettextP.h: Likewise.
73377 * intl/loadinfo.h: Likewise.
73378 * locale/global-locale.c: Likewise.
73379 * locale/localeinfo.h: Likewise.
73380 * mach/devstream.c: Likewise.
73381 * malloc/arena.c: Likewise.
73382 * malloc/set-freeres.c: Likewise.
73383 * misc/err.c: Likewise.
73384 * misc/getttyent.c: Likewise.
73385 * misc/mntent_r.c: Likewise.
73386 * posix/getopt.c: Likewise.
73387 * posix/wordexp.c: Likewise.
73388 * pwd/fgetpwent_r.c: Likewise.
73389 * resolv/Versions: Likewise.
73390 * resolv/res_hconf.c: Likewise.
73391 * shadow/fgetspent_r.c: Likewise.
73392 * shadow/putspent.c: Likewise.
73393 * stdio-common/printf_fphex.c: Likewise.
73394 * stdio-common/tmpfile.c: Likewise.
73395 * stdlib/abort.c: Likewise.
73396 * stdlib/fmtmsg.c: Likewise.
73397 * sunrpc/auth_unix.c: Likewise.
73398 * sunrpc/clnt_perr.c: Likewise.
73399 * sunrpc/clnt_tcp.c: Likewise.
73400 * sunrpc/clnt_udp.c: Likewise.
73401 * sunrpc/clnt_unix.c: Likewise.
73402 * sunrpc/openchild.c: Likewise.
73403 * sunrpc/svc_simple.c: Likewise.
73404 * sunrpc/svc_tcp.c: Likewise.
73405 * sunrpc/svc_udp.c: Likewise.
73406 * sunrpc/svc_unix.c: Likewise.
73407 * sunrpc/xdr.c: Likewise.
73408 * sunrpc/xdr_array.c: Likewise.
73409 * sunrpc/xdr_rec.c: Likewise.
73410 * sunrpc/xdr_ref.c: Likewise.
73411 * sunrpc/xdr_stdio.c: Likewise.
73412
73413 2011-09-09 Ulrich Drepper <drepper@gmail.com>
73414
73415 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73416
73417 2011-07-03 Andreas Jaeger <aj@suse.de>
73418
73419 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73420 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73421 regenerate with gen-libm-tests.pl.
73422
73423 2010-05-12 Petr Baudis <pasky@suse.cz>
73424
73425 [BZ #11589]
73426 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73427 around j0() zero points by switching to j1().
73428 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73429 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73430 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73431 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73432
73433 2011-09-09 Ulrich Drepper <drepper@gmail.com>
73434
73435 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73436 instead of 0.
73437 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73438 instead of 0.
73439 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73440 Patch in part by Pavel Roskin <proski@gnu.org>.
73441
73442 [BZ #13138]
73443 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73444 realloc.
73445 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
73446 Free memory block if necessary.
73447
73448 [BZ #12847]
73449 * libio/genops.c (INTDEF): For string streams the _lock pointer can
73450 be NULL. Don't lock in this case.
73451
73452 2011-09-09 Roland McGrath <roland@hack.frob.com>
73453
73454 * elf/elf.h (ELFOSABI_GNU): New macro.
73455 (ELFOSABI_LINUX): Define to that.
73456
73457 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
73458
73459 * string/strncat.c (strncat): Undef the symbol in case it has been
73460 defined in bits/string.h.
73461
73462 2011-09-09 Ulrich Drepper <drepper@gmail.com>
73463
73464 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73465
73466 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73467 link map.
73468
73469 2011-08-17 Andreas Jaeger <aj@suse.de>
73470
73471 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73472
73473 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
73474 Ian Lance Taylor <iant@google.com>
73475
73476 * math/libm-test.inc (lround_test): New testcase.
73477 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73478
73479 2011-09-08 Ulrich Drepper <drepper@gmail.com>
73480
73481 * Makefile: Remove support for automatic cvs check-ins.
73482 * Makerules: Likewise.
73483 * config.make.in: Likewise.
73484 * configure.in: Likewise.
73485 * intl/Makefile: Likewise.
73486 * locale/Makefile: Likewise.
73487 * po/Makefile: Likewise.
73488 * posix/Makefile: Likewise.
73489 * sysdeps/gnu/Makefile: Likewise.
73490 * sysdeps/mach/hurd/Makefile: Likewise.
73491 * sysdeps/sparc/sparc32/Makefile: Likewise.
73492
73493 [BZ #13118]
73494 * posix/Makefile (bug-regex32-ENV): Define.
73495 Patch by John Stanley <jpsinthemix@verizon.net>.
73496
73497 * misc/Makefile (headers): Add bits/select2.h.
73498 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73499 * misc/bits/select2.h: New file.
73500 * include/bits/select2.h: New file.
73501 * debug/Makefile (routines): Add fdelt_chk.
73502 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73503 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73504 FD_ISSET.
73505 * debug/fdelt_chk.c: New file.
73506
73507 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
73508 * wcsmbs/test-wmemcmp.c: Likewise.
73509 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73510 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73511
73512 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73513
73514 * string/Makefile (strop-tests): Add memcmp.
73515 * string/test-wmemcmp.c: New file.
73516 * string/test-memcmp.c: Add wmemcmp support.
73517
73518 2011-09-08 Roland McGrath <roland@hack.frob.com>
73519
73520 [BZ #13153]
73521 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73522 2011-07-19 change.
73523
73524 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73525 garbage value in a __mach_port_mod_refs call in the cases of the
73526 task-self and thread-self ports.
73527
73528 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
73529
73530 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73531
73532 2011-09-08 Andreas Schwab <schwab@redhat.com>
73533
73534 * elf/dl-load.c (lose): Check for non-null L.
73535
73536 2011-09-07 Ulrich Drepper <drepper@gmail.com>
73537
73538 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73539
73540 * elf/dl-libc.c (dlerror_run): Pass back error code from
73541 dl_catch_error.
73542
73543 [BZ #13123]
73544 * elf/dl-load.c (lose): Free l_origin if it is valid.
73545
73546 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73547 names.
73548 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73549 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73550 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73551 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73552 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73553 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73554
73555 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73556
73557 * sysdeps/powerpc/fpu/e_hypot.c: New file.
73558 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73559 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73560 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73561 * sysdeps/powerpc/fpu/k_cosf.c: New file.
73562 * sysdeps/powerpc/fpu/k_sinf.c: New file.
73563 * sysdeps/powerpc/fpu/s_cosf.c: New file.
73564 * sysdeps/powerpc/fpu/s_sinf.c: New file.
73565 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73566 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73567
73568 2011-08-15 Alan Modra <amodra@gmail.com>
73569
73570 [BZ #13092]
73571 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73572 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73573 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
73574 ppc_mcount to static-only-routines.
73575 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73576 __mcount_internal.
73577 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73578 __mcount_internal with usual JUMPTARGET. Remove useless nop.
73579
73580 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
73581
73582 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73583 for finite and infinity parameters.
73584
73585 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
73586
73587 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73588 and add nop instructions for throughput optimization.
73589 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73590
73591 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
73592
73593 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73594 aligned copy for power7 with vector-scalar instructions.
73595 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73596
73597 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
73598
73599 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73600 AVX check.
73601
73602 2011-09-07 Andreas Schwab <schwab@redhat.com>
73603
73604 [BZ #13144]
73605 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73606 last change.
73607
73608 2011-09-07 Ulrich Drepper <drepper@gmail.com>
73609
73610 * sysdeps/unix/sysv/linux/x86_64/init-first.c
73611 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73612 syscall wrapper around clock_gettime in __vdso_clock_gettime.
73613 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73614 clock_gettime.
73615
73616 2011-09-06 Ulrich Drepper <drepper@gmail.com>
73617
73618 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73619 Forgot to demangle the pointer.
73620
73621 * sysdeps/i386/sysdep.h: Define atom_text_section.
73622 * sysdeps/x86_64/sysdep.h: Likewise.
73623 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73624 section with atom_text_section.
73625 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73626 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73627 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73628 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73629 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73630
73631 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73632 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73633 already be defined. Change to take two parameters and don't assign
73634 result to variable. Adjust all users.
73635 Define INTERNAL_GETTIME if not already defined.
73636 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73637 call.
73638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73639 HAVE_CLOCK_GETTIME_VSYSCALL.
73640 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73641
73642 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73643 gettimeofday vsyscall, just use time.
73644
73645 2011-09-06 Andreas Schwab <schwab@redhat.com>
73646
73647 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73648 <errno.h>.
73649
73650 2011-09-06 Ulrich Drepper <drepper@gmail.com>
73651
73652 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73653 syscall on x86-64.
73654 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73655 syscall.
73656 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73657 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73658 syscall if possible.
73659
73660 2011-09-05 Ulrich Drepper <drepper@gmail.com>
73661
73662 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73663 e_ident. Don't pass to find_mapsXX.
73664 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73665
73666 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
73667
73668 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73669 strchr-sse2-no-bsf strrchr-sse2-no-bsf
73670 * sysdeps/x86_64/multiarch/strchr.S: Update.
73671 Check bit_slow_BSF bit.
73672 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73673 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73674 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73675
73676 2011-09-05 Ulrich Drepper <drepper@gmail.com>
73677
73678 [BZ #13134]
73679 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73680 before glibc 2.15.
73681 (tryshell): Define.
73682 (__spawni): Change last parameter to be flag. Test
73683 SPAWN_XFLAGS_USE_PATH flag to use path or not.
73684 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73685 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73686 * posix/spawni.c: Likewise.
73687 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73688 * posix/spawnp.c: Likewise. Change normal version to use
73689 SPAWN_XFLAGS_USE_PATH.
73690 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73691 SPAWN_XFLAGS_TRY_SHELL.
73692
73693 [BZ #13150]
73694 * posix/glob.h: Remove gcc 1.x support.
73695
73696 [BZ #13068]
73697 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73698
73699 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
73700
73701 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73702 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73703 strrchr-sse2-bsf
73704 * sysdeps/i386/i686/multiarch/strchr.S: New file.
73705 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73706 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73707 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73708 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73709 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73710
73711 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73712
73713 * sysdeps/x86_64/wcscmp.S: New file.
73714
73715 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73716 wcscmp-c wcscmp-sse2
73717 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73718 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73719 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73720 * wcsmbs/wcscmp.c: Allow renaming.
73721
73722 2011-09-05 David S. Miller <davem@davemloft.net>
73723
73724 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73725 stack slot, rather than the struct return pointer slot.
73726 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73727 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73729 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73730
73731 2011-09-05 Ulrich Drepper <drepper@gmail.com>
73732
73733 * po/ja.po: Update from translation team.
73734
73735 [BZ #13144]
73736 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73737 kernel in 64-bit binaries.
73738
73739 2011-09-01 David S. Miller <davem@davemloft.net>
73740
73741 * elf/elf.h (HWCAP_SPARC_*): Move to..
73742 * sysdeps/sparc/sysdep.h: this new file and add new values.
73743 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73744 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73745 _DL_HWCAP_COUNT to 24.
73746 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73747 entries.
73748 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73749 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73750 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73751 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73752 instead of magic constants.
73753 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73754
73755 2011-08-31 David S. Miller <davem@davemloft.net>
73756
73757 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73758 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73759 Reimplement to do errno handling inline.
73760 (SYSCALL_ERROR_HANDLER): New macro.
73761 (__SYSCALL_STRING): Do not do errno handling in asm.
73762 (__CLONE_SYSCALL_STRING): Delete.
73763 (__INTERNAL_SYSCALL_STRING): Delete.
73764 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73765 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73766 (PSEUDO): Reimplement to do errno handling inline.
73767 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73768 (SYSCALL_ERROR_HANDLER): New macro.
73769 (__SYSCALL_STRING): Do not do errno handling in asm.
73770 (__CLONE_SYSCALL_STRING): Delete.
73771 (__INTERNAL_SYSCALL_STRING): Delete.
73772 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73773 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73774 i386.
73775 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73776 (inline_syscall*): Add 'err' argument.
73777 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73778 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73779 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73780 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73781
73782 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73783 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73784
73785 2011-08-30 Andreas Schwab <schwab@redhat.com>
73786
73787 * elf/rtld.c (dl_main): Relocate objects in dependency order.
73788
73789 2011-08-29 Jiri Olsa <jolsa@redhat.com>
73790
73791 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73792 directive.
73793
73794 2011-08-24 David S. Miller <davem@davemloft.net>
73795
73796 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73797
73798 2011-08-24 Andreas Schwab <schwab@redhat.com>
73799
73800 * elf/Makefile: Add rules to build and run unload8 test.
73801 * elf/unload8.c: New file.
73802 * elf/unload8mod1.c: New file.
73803 * elf/unload8mod1x.c: New file.
73804 * elf/unload8mod2.c: New file.
73805 * elf/unload8mod3.c: New file.
73806
73807 * elf/dl-close.c (_dl_close_worker): Reset private search list if
73808 it wasn't used.
73809
73810 2011-08-23 David S. Miller <davem@davemloft.net>
73811
73812 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73813 subtract stack bias.
73814 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73815 %sp not %fp in calculations.
73816 (_JMPBUF_UNWINDS_ADJ): Likewise.
73817
73818 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73819 (aio_suspend): Call it to force an exception region around the
73820 AIO_MISC_WAIT() invocation.
73821
73822 2011-08-23 Andreas Schwab <schwab@redhat.com>
73823
73824 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73825 backslash.
73826
73827 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
73828
73829 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73830 protection macro.
73831 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73832 and <dl-machine.h>.
73833 (Elf64_FuncDesc): Remove.
73834
73835 2011-08-22 David S. Miller <davem@davemloft.net>
73836
73837 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73838 sigaltstack check, add missing cfi directives.
73839 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73840 missing cfi directives, and sigaltstack handling.
73841
73842 2011-08-16 Andreas Schwab <schwab@redhat.com>
73843
73844 [BZ #11724]
73845 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73846 object is seen twice.
73847 * elf/dl-fini.c (_dl_sort_fini): Likewise.
73848
73849 * elf/Makefile (distribute): Add tst-initorder2.c.
73850 (tests): Add tst-initorder2.
73851 (modules-names): Add tst-initorder2a tst-initorder2b
73852 tst-initorder2c tst-initorder2d. Add rules to build them.
73853 ($(objpfx)tst-initorder2.out): New rule.
73854 * elf/tst-initorder2.c: New file.
73855 * elf/tst-initorder2.exp: New file.
73856
73857 2011-08-22 Andreas Schwab <schwab@redhat.com>
73858
73859 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73860
73861 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73862 dependencies back to end of function.
73863
73864 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73865 $(elfobjdir)/ld.so.
73866
73867 2011-08-21 Ulrich Drepper <drepper@gmail.com>
73868
73869 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73870 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73871 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73872 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73873 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73874 of __vdso_gettimeofday.
73875 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73876 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
73877 attribute_hidden.
73878 (_libc_vdso_platform_setup): Remove initialization of
73879 __vdso_gettimeofday and __vdso_time.
73880
73881 2011-08-20 Ulrich Drepper <drepper@gmail.com>
73882
73883 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73884 and fgetc_unlocked.
73885 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73886 getc_unlocked.
73887
73888 * elf/dl-open.c (add_to_global): Report additions to the global scope
73889 for LD_DEBUG=scopes.
73890 (dl_open_worker): Also print scope of newly loaded dependencies.
73891 (_dl_show_scope): Indicate if there is no scope.
73892
73893 [BZ #13114]
73894 * stdio-common/Makefile (tests): Add bug24.
73895 * stdio-common/bug24.c: New file.
73896
73897 2011-08-19 Andreas Jaeger <aj@suse.de>
73898
73899 [BZ #13114]
73900 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73901 non-existant file when using close-on-exec mode.
73902
73903 2011-08-20 Ulrich Drepper <drepper@gmail.com>
73904
73905 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73906 the very first instruction.
73907
73908 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73909 the CFI state in the end.
73910 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73911 inclusion of dl-trampoline.h.
73912 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73913
73914 2011-08-19 Andreas Schwab <schwab@redhat.com>
73915
73916 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73917 expectations for long double.
73918
73919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73920 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73921
73922 2011-08-14 David S. Miller <davem@davemloft.net>
73923
73924 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73925 artificual limit depends upon the system page size.
73926
73927 2011-08-17 Ulrich Drepper <drepper@gmail.com>
73928
73929 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73930 * resolv/Makefile: Define CFLAGS-libresolv.
73931
73932 2011-08-17 Andreas Schwab <schwab@redhat.com>
73933
73934 * nss/makedb.c (compute_tables): Make variables used in nested
73935 function static.
73936
73937 2011-08-17 Ulrich Drepper <drepper@gmail.com>
73938
73939 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73940 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73941 if buffer was too small.
73942
73943 * elf/pldd.c (main): Attach to all threads in the process.
73944 Rewrite /proc handling to use *at functions.
73945
73946 2011-08-16 Ulrich Drepper <drepper@gmail.com>
73947
73948 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73949 specifies first scope to show.
73950 (dl_open_worker): Update callers. Move printing scope of new
73951 object to before the relocation.
73952 * elf/rtld.c (dl_main): Update _dl_show_scope call.
73953 * sysdeps/generic/ldsodefs.h: Update declaration.
73954
73955 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73956 string for the scope number.
73957
73958 2011-08-14 Ulrich Drepper <drepper@gmail.com>
73959
73960 * nscd/servicescache.c (cache_addserv): Make sure written is always
73961 initialized.
73962
73963 2011-08-14 Roland McGrath <roland@hack.frob.com>
73964
73965 * sysdeps/i386/i486/bits/atomic.h
73966 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73967 statement expression, so as to suppress "set but not used" warning.
73968 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73969
73970 * string/strncat.c (STRNCAT): Use prototype definition.
73971
73972 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73973 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73974 -Iprograms here.
73975 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73976 (localedef-modules): Add localedef.
73977 (locale-modules): Add locale.
73978
73979 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73980 * elf/rtld.c (dl_main): Invert order of assignment in last change,
73981 to avoid a warning.
73982
73983 2011-08-14 David S. Miller <davem@davemloft.net>
73984
73985 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73986 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73987
73988 2011-08-13 Ulrich Drepper <drepper@gmail.com>
73989
73990 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73991 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73992 * elf/rtld.c (dl_main): Set l_name of vDSO.
73993 Call _dl_show_scope when DL_DEBUG_SCOPES.
73994 (process_dl_debug): Recognize scopes flag and also set it for all.
73995 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73996 Declare _dl_show_scope.
73997
73998 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73999 (do_dlopen): Pass caller_dlopen to dl_open.
74000 (__libc_dlopen_mode): Initialize caller_dlopen.
74001
74002 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74003 of libc. Make tolower call locale-independent. Optimize a bit by
74004 using isdigit instead of isalnum.
74005 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74006
74007 2011-08-12 Ulrich Drepper <drepper@gmail.com>
74008
74009 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74010 was a dependency or dynamically loaded.
74011
74012 2011-08-11 Ulrich Drepper <drepper@gmail.com>
74013
74014 * intl/l10nflist.c: Allow architecture-specific pop function.
74015 * sysdeps/x86_64/l10nflist.c: New file.
74016
74017 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
74018 classification.
74019
74020 2011-08-10 Andreas Schwab <schwab@redhat.com>
74021
74022 * include/dirent.h: Add libc_hidden_proto for scandirat and
74023 scandirat64. Don't declare __scandirat64.
74024 * dirent/scandirat.c: Add libc_hidden_def.
74025 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
74026 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
74027
74028 2011-08-10 David S. Miller <davem@davemloft.net>
74029
74030 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
74031 enum.
74032 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74033 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74034 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74035
74036 2011-08-09 Ulrich Drepper <drepper@gmail.com>
74037
74038 * Versions.def [libc]: Add GLIBC_2.15.
74039 * dirent/Makefile (routines): Add scandirat and scandirat64.
74040 * dirent/Versions [libc]: Export scandirat and scandirat64 for
74041 GLIBC_2.15.
74042 * dirent/dirent.h: Declare scandirat and scandirat64.
74043 * dirent/scandirat.c: New file.
74044 * dirent/scandirat64.c: New file.
74045 * sysdeps/wordsize-64/scandirat.c: New file.
74046 * sysdeps/wordsize-64/scandirat64.c: New file.
74047 * dirent/opendir.c: Define opendirat.
74048 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
74049 using scandirat.
74050 * dirent/scandir64.c: Adjust for scandir.c change.
74051 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
74052 __scandirat64, and __scandir_cancel_handler.
74053 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
74054 additional parameter and use openat instead of open (outside of ld.so).
74055 Add new __opendir as wrapper around __opendirat.
74056 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
74057 here without requiring old scandirat implementation.
74058
74059 2011-08-08 Ulrich Drepper <drepper@gmail.com>
74060
74061 * dirent/scandir.c (cancel_handler): Renamed to
74062 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
74063 defined. Adjust users.
74064 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
74065 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
74066
74067 2011-08-04 Ulrich Drepper <drepper@gmail.com>
74068
74069 * string/test-string.h (IMPL): Use __STRING to expand name and then
74070 stringify it.
74071
74072 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
74073 of cleanups.
74074
74075 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74076
74077 * string/Makefile: Update.
74078 (strop-tests): Append strncat.
74079 * string/test-wcscmp.c: New file.
74080 New comprehensive test for wcscmp.
74081 * string/test-strcmp.c: Update.
74082 (WIDE): New define.
74083
74084 2011-07-22 Andreas Schwab <schwab@redhat.com>
74085
74086 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
74087 line.
74088
74089 2011-07-26 Andreas Schwab <schwab@redhat.com>
74090
74091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74092 encoding to ACE if AI_IDN.
74093
74094 2011-08-01 Jakub Jelinek <jakub@redhat.com>
74095
74096 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
74097 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
74098
74099 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74100
74101 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
74102 Fix overflow bug in strncat.
74103 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
74104
74105 * string/test-strncat.c: Update.
74106 Add new tests for checking overflow bugs.
74107
74108 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74109
74110 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74111 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
74112 * sysdeps/i386/i686/multiarch/strcat.S: New file.
74113 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
74114 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
74115 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
74116 * sysdeps/i386/i686/multiarch/strncat.S: New file.
74117 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
74118 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
74119
74120 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
74121 (USE_AS_STRCAT): Define.
74122 Add strcat and strncat support.
74123 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74124
74125 2011-07-25 Andreas Schwab <schwab@redhat.com>
74126
74127 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74128 __n bigger than INT_MAX+1.
74129 (__strncmp_g): Likewise.
74130
74131 2011-07-23 Ulrich Drepper <drepper@gmail.com>
74132
74133 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74134 * libio/stido.h: Likewise.
74135
74136 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74137 (AF_NFC): Define.
74138 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74139 (AF_NFC): Define.
74140
74141 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74142 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74143 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74144 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74145 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74146
74147 [BZ #13021]
74148 * scripts/test-installation.pl: Don't expect libnss_test1 to be
74149 installed.
74150
74151 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74152 typo.
74153 (_dl_x86_64_save_sse): Likewise.
74154
74155 2011-07-22 Ulrich Drepper <drepper@gmail.com>
74156
74157 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74158 OSXSAVE.
74159 (_dl_x86_64_save_sse): Likewise.
74160
74161 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74162
74163 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74164
74165 2011-07-21 Andreas Schwab <schwab@redhat.com>
74166
74167 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74168 change.
74169 (_dl_x86_64_save_sse): Use correct AVX check.
74170
74171 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74172
74173 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74174 bug in strncpy/strncat.
74175 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74176
74177 2011-07-21 Ulrich Drepper <drepper@gmail.com>
74178
74179 * string/tester.c (test_strcat): Add tests for different alignments
74180 of source and destination.
74181 (test_strncat): Likewise.
74182
74183 2011-07-20 Ulrich Drepper <drepper@gmail.com>
74184
74185 [BZ #12852]
74186 * posix/glob.c (glob): Check passed in values before using them in
74187 expressions to avoid some overflows.
74188 (glob_in_dir): Likewise.
74189
74190 [BZ #13007]
74191 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74192 check for AVX enablement so that we don't crash with old kernels and
74193 new hardware.
74194 * elf/tst-audit4.c: Add same checks here.
74195 * elf/tst-audit6.c: Likewise.
74196
74197 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74198
74199 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
74200
74201 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74202
74203 2011-07-20 Ulrich Drepper <drepper@gmail.com>
74204
74205 * po/cs.po: Update from translation team.
74206 * po/bg.po: Likewise.
74207
74208 2011-07-12 Marek Polacek <mpolacek@redhat.com>
74209
74210 * misc/sys/cdefs.h: Add support for const attribute.
74211 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74212 to gnu_dev_{major,minor,makedev} functions.
74213
74214 2011-07-20 Marek Polacek <mpolacek@redhat.com>
74215
74216 * intl/dcigettext.c (get_output_charset): Add missing bracket.
74217
74218 2011-07-20 Andreas Schwab <schwab@redhat.com>
74219
74220 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74221 strlen results.
74222
74223 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74224
74225 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74226 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74227 register in order to avoid conflicts with the soft frame pointer
74228 being held in r11 when necessary.
74229 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74230 (INTERNAL_VSYSCALL_NCS): Likewise.
74231
74232 2011-07-14 Marek Polacek <mpolacek@redhat.com>
74233
74234 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74235 * elf/dl-fini.c (_dl_fini): Adjust caller.
74236 * elf/dl-close.c (_dl_close_worker): Likewise.
74237 * sysdeps/generic/ldsodefs.h: Adjust declaration.
74238
74239 2011-07-15 Marek Polacek <mpolacek@redhat.com>
74240
74241 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74242 "aux_cache->nlibs < 0".
74243
74244 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74245 in the reload-count case.
74246
74247 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74248
74249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74250 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74251 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74252 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74253 * sysdeps/x86_64/multiarch/strcat.S: New file.
74254 * sysdeps/x86_64/multiarch/strncat.S: New file.
74255 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74256 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74257 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74258 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74259 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74260 (USE_AS_STRCAT): Define.
74261 Add strcat and strncat support.
74262 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74263 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74264 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74265 * string/strncat.c: Update.
74266 (USE_AS_STRNCAT): Define.
74267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74268 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74269 and i7.
74270 * sysdeps/x86_64/multiarch/init-arch.h
74271 (bit_Prefer_PMINUB_for_stringop): New.
74272 (index_Prefer_PMINUB_for_stringop): Likewise.
74273 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74274 bit_Prefer_PMINUB_for_stringop.
74275
74276 2011-07-19 Ulrich Drepper <drepper@gmail.com>
74277
74278 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
74279 buffer64.
74280 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
74281 of casting of buffer.
74282 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
74283 buffer32 and buffer64.
74284 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
74285 writes instead of casting of buffer.
74286 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
74287 buffer32.
74288 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
74289 casting of buffer.
74290
74291 2011-07-19 Andreas Schwab <schwab@redhat.com>
74292
74293 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
74294
74295 2011-07-19 Ulrich Drepper <drepper@gmail.com>
74296
74297 * nscd/nscd.c (termination_handler): Don't do anything for a database
74298 if it has not yet been initialized.
74299
74300 2011-07-18 Ulrich Drepper <drepper@gmail.com>
74301
74302 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74303
74304 2011-07-15 Marek Polacek <mpolacek@redhat.com>
74305
74306 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74307
74308 2011-07-18 Ulrich Drepper <drepper@gmail.com>
74309
74310 * po/nl.po: Update from translation team.
74311 * po/sv.po: Likewise.
74312
74313 2011-07-16 Roland McGrath <roland@hack.frob.com>
74314
74315 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
74316 now disallowed by GCC.
74317
74318 * configure.in (use-default-link): Default to yes if a test -shared
74319 link meets our qualifications.
74320 * configure: Regenerated.
74321
74322 * config.make.in (output-format): New variable.
74323 * configure.in: Check for ld --print-output-format support.
74324 * configure: Regenerated.
74325 * Makerules ($(common-objpfx)format.lds)
74326 [$(output-format) != unknown]: Just use $(output-format),
74327 instead of the linker-script munging.
74328
74329 2011-07-14 Roland McGrath <roland@hack.frob.com>
74330
74331 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
74332 of $(common-objpfx)shlib.lds.
74333 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
74334
74335 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
74336 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
74337
74338 * configure.in (-z relro check): Adjust test code to add a large
74339 writable data section after it.
74340 * configure: Regenerated.
74341
74342 2011-07-11 Roland McGrath <roland@hack.frob.com>
74343
74344 * configure.in (-z relro check): Fix test code to make the variable
74345 truly const.
74346 * configure: Regenerated.
74347
74348 2011-07-11 Ulrich Drepper <drepper@gmail.com>
74349
74350 * nscd/nscd.h (struct traced_file): Define.
74351 (struct database_dyn): Remove inotify_descr, reset_res, and filename
74352 elements. Add traced_files.
74353 (inotify_fd): Declare.
74354 (register_traced_file): Declare.
74355 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
74356 (inotify_fd): Export.
74357 (resolv_conf_descr): Remove.
74358 (nscd_init): Move inotify descriptor creation to main.
74359 Don't register files for notification here.
74360 (register_traced_file): New function.
74361 (invalidate_cache): Don't use reset_res to determine whether to call
74362 res_init, go through the list of registered files.
74363 (main_loop_poll): The inotify descriptors are now stored in the
74364 structures for the traced files.
74365 (main_loop_epoll): Likewise.
74366 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
74367 to __nss_disable_nscd.
74368 * nscd/cache.c (prune_cache): There is no single inotify descriptor
74369 for a database anymore. Check the records for all the registered
74370 files instead.
74371 * nss/Makefile (libnss_files-routines): Add files-init.
74372 (libnss_db-routines): Add db-init.
74373 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74374 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74375 * nss/nss_db/db-init.c: New file.
74376 * nss/nss_files/files-init.c: New file.
74377 * nss/nsswitch.c (nss_load_library): New function. Broken out of
74378 __nss_lookup_function.
74379 (__nss_lookup_function): Call nss_load_library.
74380 (nss_load_all_libraries): New function.
74381 (__nss_disable_nscd): Take parameter with callback function for files
74382 to register. Set is_nscd. Load all the DSOs for the NSS modules
74383 used for the cached services.
74384 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74385 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74386 options for features to all the files in nscd.
74387
74388 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74389
74390 2011-07-10 Roland McGrath <roland@hack.frob.com>
74391
74392 * csu/elf-init.c (__libc_csu_init): Comment typo.
74393
74394 2011-07-09 Ulrich Drepper <drepper@gmail.com>
74395
74396 * po/pl.po: Update from translation team.
74397 * po/ja.po: Likewise.
74398 * po/ru.po: Likewise.
74399 * po/ko.po: Likewise.
74400 * po/fr.po: Likewise.
74401
74402 2011-07-09 Roland McGrath <roland@hack.frob.com>
74403
74404 * configure.in (.ctors/.dtors header and trailer check):
74405 Use an empirical test on a built program.
74406 * configure: Regenerated.
74407
74408 * configure.in (-z relro check): Use an empirical test on a built DSO.
74409 Detect, but do not require, on ia64.
74410 * configure: Regenerated.
74411
74412 * configure.in (READELF): Find it with AC_CHECK_TOOL.
74413 Update tests that use readelf to use $READELF instead.
74414 * configure: Regenerated.
74415
74416 2011-07-08 Ulrich Drepper <drepper@gmail.com>
74417
74418 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74419 if the result is not used.
74420
74421 2011-07-05 Andreas Jaeger <aj@suse.de>
74422
74423 [BZ#9696]
74424 * stdlib/tst-strtod.c: Add testcase.
74425
74426 2011-07-07 Ulrich Drepper <drepper@gmail.com>
74427
74428 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74429 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74430 The latter has a higher limit. Take additional parameter to pass to
74431 the new function.
74432 (__pathconf): Pass file to __statfs_link_max.
74433 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74434 __statfs_link_max.
74435 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74436 __statfs_link_max.
74437
74438 [BZ #12868]
74439 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74440 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74441 Handle Lustre.
74442 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74443 (__statfs_filesize_max): Likewise.
74444 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74445
74446 2011-07-05 Andreas Jaeger <aj@suse.de>
74447
74448 * resolv/res_comp.c (dn_skipname): Remove unused variable.
74449
74450 2011-07-06 Marek Polacek <mpolacek@redhat.com>
74451
74452 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74453 `status' variable.
74454 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74455 Likewise.
74456
74457 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
74458
74459 * Makefile (strop-tests): Add strncat.
74460 * string/test-strncat.c: New file.
74461
74462 2011-06-30 Marek Polacek <mpolacek@redhat.com>
74463
74464 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74465
74466 2011-06-21 Andreas Jaeger <aj@suse.de>
74467
74468 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74469 Copy rule from iconvdata/Makefile.
74470
74471 2011-07-06 Ulrich Drepper <drepper@gmail.com>
74472
74473 [BZ #12922]
74474 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74475 but no long options are defined, just return 'W'.
74476
74477 2011-06-22 Marek Polacek <mpolacek@redhat.com>
74478
74479 [BZ #9696]
74480 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74481
74482 2011-07-06 Ulrich Drepper <drepper@gmail.com>
74483
74484 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74485 netgroups to read.
74486 (innetgr): Likewise.
74487
74488 2011-07-05 Roland McGrath <roland@hack.frob.com>
74489
74490 * config.make.in (install_root): Default to $(DESTDIR).
74491
74492 2011-07-05 Ulrich Drepper <drepper@gmail.com>
74493
74494 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74495
74496 2011-07-02 Roland McGrath <roland@hack.frob.com>
74497
74498 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74499
74500 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74501 containing directory rather than embedding absolute directory names.
74502
74503 * scripts/check-local-headers.sh: Rewritten using awk.
74504 Match by word, not by line. Print error messages for matches.
74505 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74506
74507 * Makerules [shlib-lds-flags empty]:
74508 ($(common-objpfx)libc_pic.opts): New target.
74509 ($(common-objpfx)libc_pic.os.clean): New target.
74510 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74511
74512 * config.make.in (OBJCOPY): New variable.
74513 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74514 * configure: Regenerated.
74515
74516 * config.make.in (use-default-link): New variable.
74517 * configure.in (use_default_link): Grok --with-default-link to set it.
74518 * configure: Regenerated.
74519 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74520 (shlib-lds, shlib-lds-flags): Define to empty.
74521
74522 * Makerules (shlib-lds): New variable.
74523 (shlib-lds-flags): New variable.
74524 (build-shlib, build-moduile, build-module-asneeded): Use it.
74525 ($(common-objpfx)libc.so): Use $(shlib-lds).
74526 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74527 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74528
74529 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74530 DT_FLAGS/DT_FLAGS_1 with zero flags.
74531
74532 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74533 linker script munging.
74534
74535 2011-07-02 Ulrich Drepper <drepper@gmail.com>
74536
74537 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74538 as 128-bit value.
74539 * crypt/sha512.c (sha512_process_block): Perform total addition using
74540 128-bit if possible.
74541 (__sha512_finish_ctx): Likewise.
74542 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74543 as 64-bit value.
74544 * crypt/sha256.c (SWAP64): Define.
74545 (sha256_process_block): Perform total addition using 64-bit if
74546 possible.
74547 (__sha256_finish_ctx): Likewise.
74548
74549 2011-07-01 Ulrich Drepper <drepper@gmail.com>
74550
74551 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
74552 * nscd/initgrcache.c (addinitgroupsX): Likewise.
74553 * nscd/hstcache.c (cache_addhst): Likewise.
74554 * nscd/grpcache.c (cache_addgr): Likewise.
74555 * nscd/aicache.c (addhstaiX): Likewise.
74556 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74557
74558 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
74559
74560 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74561 * nscd/initgrcache.c (addinitgroupsX): Likewise.
74562 * nscd/hstcache.c (cache_addhst): Likewise.
74563 * nscd/grpcache.c (cache_addgr): Likewise.
74564 * nscd/aicache.c (addhstaiX): Likewise.
74565
74566 2011-07-01 Andreas Schwab <schwab@redhat.com>
74567
74568 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74569 domain only when needed.
74570
74571 2011-06-30 Andreas Schwab <schwab@redhat.com>
74572
74573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74574 is always restored.
74575
74576 2011-06-29 Ulrich Drepper <drepper@gmail.com>
74577
74578 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74579 are re-adding the entry.
74580 * nscd/servicescache.c (cache_addserv): Likewise.
74581
74582 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
74583
74584 * sysdeps/generic/dl-irel.h: fix protection against multiple
74585 inclusions.
74586 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74587
74588 2011-06-28 Ulrich Drepper <drepper@gmail.com>
74589
74590 [BZ #12935]
74591 * malloc/memusage.sh: Fix quoting in message.
74592 * debug/xtrace.sh: Likewise.
74593
74594 * configure.in: Remove support for --experimental-malloc option, make
74595 it the default.
74596 * config.make.in: Likewise.
74597 * malloc/Makefile: Likewise.
74598
74599 2011-06-27 Andreas Schwab <schwab@redhat.com>
74600
74601 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74602 two-byte characters.
74603
74604 2011-06-27 Roland McGrath <roland@hack.frob.com>
74605
74606 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74607 AC_CACHE_CHECK invocation.
74608 * configure: Regenerated.
74609
74610 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74611
74612 2011-06-27 Ulrich Drepper <drepper@gmail.com>
74613
74614 [BZ #12350]
74615 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
74616 bit from old_res_options.
74617
74618 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74619
74620 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74621 value type for setfct.
74622
74623 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
74624
74625 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74626 __gettimeofday instead of gettimeofday.
74627
74628 2011-06-26 Ulrich Drepper <drepper@gmail.com>
74629
74630 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74631
74632 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
74633
74634 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74635
74636 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74637 info.
74638
74639 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
74640
74641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74642 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74643 strcpy-sse2-unaligned strncpy-sse2-unaligned
74644 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74645 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74646 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74647 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74648 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74649 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74650 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74651 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74652 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74653 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74654 (STRCPY): Support SSE2 and SSSE3 versions.
74655
74656 2011-06-24 Ulrich Drepper <drepper@gmail.com>
74657
74658 [BZ #12874]
74659 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74660 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74661 kernels which artificially limit size of requests.
74662
74663 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
74664
74665 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74666 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74667 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74668 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74669 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74670 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74671 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74672 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74673 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74674 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74675 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74676 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74677 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74678 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74679 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74681 Enable unaligned load optimization for Intel Core i3, i5 and i7
74682 processors.
74683 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74684 Define.
74685 (index_Fast_Unaligned_Load): Define.
74686 (HAS_FAST_UNALIGNED_LOAD): Define.
74687
74688 2011-06-23 Marek Polacek <mpolacek@redhat.com>
74689
74690 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74691
74692 2011-06-22 Ulrich Drepper <drepper@gmail.com>
74693
74694 [BZ #12907]
74695 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74696 until it is clear that the information is realy needed.
74697 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74698
74699 2011-06-22 Andreas Schwab <schwab@redhat.com>
74700
74701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74702
74703 2011-06-22 Ulrich Drepper <drepper@gmail.com>
74704
74705 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74706 /sys/devices/system/cpu/online if it is usable.
74707
74708 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74709 reading the information from the /proc filesystem to once a second.
74710
74711 2011-06-21 Andreas Jaeger <aj@suse.de>
74712
74713 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74714 NULL after inclusion of kernel headers.
74715
74716 2011-06-21 Ulrich Drepper <drepper@gmail.com>
74717
74718 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74719 calls to internal_setent.
74720
74721 [BZ #12885]
74722 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74723 addresses using gethostbyname4_r ignore IPv4 addresses.
74724
74725 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74726 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
74727
74728 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74729
74730 2011-06-20 David S. Miller <davem@davemloft.net>
74731
74732 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74733 inclusions.
74734 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74735
74736 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74737 (elf_irel): Use it.
74738 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74739 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74740 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74741 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74742 * sysdeps/x86_64/dl-irel.h: Likewise.
74743
74744 * elf/dl-runtime.c: Use elf_ifunc_invoke.
74745 * elf/dl-sym.c: Likewise.
74746
74747 2011-06-15 Ulrich Drepper <drepper@gmail.com>
74748
74749 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
74750 need to dereference resplen2.
74751
74752 2011-06-14 Andreas Schwab <schwab@redhat.com>
74753
74754 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74755
74756 2011-06-15 Ulrich Drepper <drepper@gmail.com>
74757
74758 * Makeconfig: Define vardbdir and inst_vardbdir.
74759 * nss/Makefile: Add rules to install db-Makefile.
74760
74761 * nss/nss_db/db-XXX.c: Cleanup.
74762
74763 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74764 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74765 GLIBC_PRIVATE.
74766 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74767 * nss/makedb.c: Implement -g option to specify that value strings
74768 are generated and should not be added to table iterated over for
74769 get*ent calls.
74770 * nss/nss_db/db-initgroups.c: New file.
74771
74772 * nss/getent.c: Add support for initgroups lookups through getgrouplist
74773 interface.
74774
74775 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74776 (internal_getgrouplist): Adjust to name change.
74777 Update use_initgroups_entry if this is not the first call.
74778 * nss/databases.def: Add initgroups entry.
74779
74780 * nss/makedb.c (compute_tables): Check result of multiple hash table
74781 sizes to minimize maximum chain length.
74782
74783 2011-06-14 Ulrich Drepper <drepper@gmail.com>
74784
74785 * Versions.def: Add entry for libnss_db.
74786 * shlib-versions: Likewise.
74787 * nss/Makefile: Add rules to build libnss_db.
74788 * nss/Versions: Add libnss_db information. Organize libnss_files
74789 entries better.
74790 * nss/db-Makefile: Add gshadow support. Change rules for the new
74791 makedb progra. Some minor improvements to generate smaller files.
74792 * nss/nss_db/nss_db.h: Move NSS database header data structures to
74793 here from...
74794 * nss/makedb.c: ...here.
74795 Improve database format to be smaller and require less memory at
74796 runtime.
74797 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
74798 db anymore.
74799 * nss/nss_db/db-netgrp.c: Likewise.
74800 * nss/nss_db/db-open.c: Likewise.
74801 * nss/nss_files/flies-XXX.x: Adjust comments.
74802 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74803 * nss/nss_files/files-grp.c: Likewise.
74804 * nss/nss_files/files-hosts.c: Likewise.
74805 * nss/nss_files/files-network.c: Likewise.
74806 * nss/nss_files/files-proto.c: Likewise.
74807 * nss/nss_files/files-pwd.c: Likewise.
74808 * nss/nss_files/files-rpc.c: Likewise.
74809 * nss/nss_files/files-service.c: Likewise.
74810 * nss/nss_files/files-sgrp.c: Likewise.
74811 * nss/nss_files/files-spwd.c: Likewise.
74812 * nss/nss_db/db-alias.c: Removed.
74813 * nss/nss_db/dummy-db.h: Removed.
74814
74815 2011-06-02 Ulrich Drepper <drepper@gmail.com>
74816
74817 * nss/makedb.c: Rewritten to not use database library.
74818 * nss/Makefile: Update to build new makedb program.
74819
74820 2011-06-14 Andreas Jaeger <aj@suse.de>
74821
74822 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74823 memset declaration.
74824
74825 2011-06-10 Andreas Schwab <schwab@redhat.com>
74826
74827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74828 tmpbuf.
74829
74830 2011-06-10 Roland McGrath <roland@hack.frob.com>
74831
74832 * Makerules (shlib.lds): Fail if the linker script comes out empty.
74833 * elf/Makefile ($(objpfx)ld.so): Likewise.
74834
74835 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74836 Don't list ld.so twice in dependencies.
74837
74838 * posix/bug-regex31.c: Include <stdlib.h>.
74839
74840 * nscd/hstcache.c (cache_addhst): Remove unused variable.
74841
74842 * nis/nss_compat/compat-spwd.c
74843 (getspent_next_nss_netgr): Remove unused variable.
74844 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74845
74846 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74847 nonmembers" output to use the right array.
74848
74849 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74850
74851 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74852
74853 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74854 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74855 * catgets/gencat.c (read_input_file): Likewise.
74856 * locale/programs/locarchive.c (enlarge_archive): Likewise.
74857
74858 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74859 variable definition inside #if's controlling its use.
74860
74861 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74862
74863 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74864
74865 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74866
74867 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74868 unreachable code.
74869
74870 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74871
74872 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74873 * configure: Regenerated.
74874
74875 * Makerules: Revert last change.
74876 * elf/Makefile: Likewise.
74877
74878 2011-06-09 Roland McGrath <roland@hack.frob.com>
74879
74880 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74881 * elf/Makefile ($(objpfx)librtld.os): Likewise.
74882 (reloc-link): Likewise.
74883
74884 2011-06-09 Ulrich Drepper <drepper@gmail.com>
74885
74886 * elf/Makefile: Add rules to build pldd.
74887 * elf/pldd.c: New file.
74888 * elf/pldd-xx.c: New file.
74889
74890 2011-06-07 Ulrich Drepper <drepper@gmail.com>
74891
74892 * version.h: Update for 2.15 development version.
74893
74894 2011-06-07 David S. Miller <davem@davemloft.net>
74895
74896 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74897 ifuncs.
74898 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74899 elf_machine_lazy_rel): Likewise.
74900 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74901 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74902 elf_machine_lazy_rel): Likewise.
74903 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74904 dl_hwcap via passed in argument.
74905 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74906 Likewise.
74907
74908 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74909
74910 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
74911
74912 2011-06-06 Roland McGrath <roland@hack.frob.com>
74913
74914 [BZ #12849]
74915 * manual/fdl-1.1.texi: New file, verbatim from:
74916 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74917 * manual/lgpl-2.1.texi: New file, verbatim from:
74918 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74919 * manual/Makefile (licenses): New variable, list those new file names.
74920 (texis): Use it.
74921 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74922
74923 * manual/fdl.texi: File removed.
74924 * manual/lesser.texi: File removed.
74925 * manual/libc.texinfo (Copying, Documentation License):
74926 Use new @include file names, put @appendix directive before @include.
74927
74928 2011-06-04 Jakub Jelinek <jakub@redhat.com>
74929
74930 [BZ #12841]
74931 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74932 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74933 (mq_open): Add __NTH.
74934
74935 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
74936
74937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74938 Assume Intel Core i3/i5/i7 processor if AVX is available.
74939
74940 2011-05-31 Ulrich Drepper <drepper@gmail.com>
74941
74942 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74943 typo.
74944
74945 2011-05-31 Andreas Schwab <schwab@redhat.com>
74946
74947 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74948 memory. Use alloca_account. Fix memory leak when retrying.
74949
74950 2011-05-31 Ulrich Drepper <drepper@gmail.com>
74951
74952 * version.h (RELEASE): Bump for 2.14 release.
74953 * include/features.h (__GLIBC_MINOR__): Bump to 14.
74954
74955 * config.make.in (RANLIB): Remove entry.
74956
74957 2011-05-30 Ulrich Drepper <drepper@gmail.com>
74958
74959 * po/Makefile (po-sed-cmd): Add ksh to extensions.
74960 (libc.pot): Work around missing support for .ksh extension in xgettext.
74961
74962 [BZ #12684]
74963 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74964 if both request failed.
74965 (send_dg): In case of server errors clear resplen or *resplen2.
74966
74967 [BZ #12454]
74968 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74969 when there are multiple maps.
74970 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74971 (_dl_fini): Remove test here.
74972
74973 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74974
74975 2011-05-29 Ulrich Drepper <drepper@gmail.com>
74976
74977 [BZ #12350]
74978 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74979 bit from old_res_options.
74980 (gaih_inet): Likewise.
74981
74982 [BZ #11099]
74983 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74984 as signed.
74985
74986 * resolv/res_init.c (res_setoptions): Make the code more compact.
74987
74988 [BZ #11558]
74989 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74990 set RES_USEVC.
74991
74992 [BZ #11634]
74993 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74994
74995 * malloc/malloc.h: Mark malloc hook variables as deprecated.
74996
74997 [BZ #11781]
74998 * malloc/malloc.h: Declare malloc hook variables as volatile.
74999
75000 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75001 in last patch.
75002
75003 [BZ #11799]
75004 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75005 raise in the comment.
75006 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75007 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75008 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75009
75010 2011-05-28 Ulrich Drepper <drepper@gmail.com>
75011
75012 [BZ #12811]
75013 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
75014 grow the buffers more if it already has to be sufficient.
75015 (build_wcs_upper_buffer): Likewise.
75016 * posix/regexec.c (check_matching): Likewise.
75017 (clean_state_log_if_needed): Likewise.
75018 (extend_buffers): Don't enlarge buffers beyond size of the input
75019 buffer.
75020 Patches mostly by Emil Wojak <emil@wojak.eu>.
75021 * posix/bug-regex32.c: New file.
75022 * posix/Makefile (tests): Add bug-regex32.
75023
75024 * locale/findlocale.c (_nl_find_locale): Return right away if
75025 _nl_explode_name failed.
75026 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
75027
75028 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
75029
75030 * debug/xtrace.sh: Unify messages.
75031 * malloc/memusage.sh: Likewise.
75032
75033 [BZ #12813]
75034 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
75035 time symbol from vDSO. Substitute with vsyscall if not available.
75036 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
75037 __vdso_time.
75038
75039 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
75040 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
75041 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
75042 Add sendmmsg and internal_sendmmsg.
75043 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
75044 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
75045 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
75046
75047 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
75048 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
75049 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
75050
75051 2011-05-27 Ulrich Drepper <drepper@gmail.com>
75052
75053 [BZ #12813]
75054 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
75055 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
75056 available.
75057 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
75058 __vdso_getcpu.
75059
75060 [BZ #12814]
75061 * iconvdata/Makefile (tests): Add bug-iconv9.
75062 * iconvdata/bug-iconv9.c: New file.
75063
75064 2011-05-27 Andreas Schwab <schwab@redhat.com>
75065
75066 [BZ #12814]
75067 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
75068
75069 2011-05-25 Jakub Jelinek <jakub@redhat.com>
75070
75071 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75072 (struct user_regs_struct): Change intcs field back to cs.
75073
75074 2011-05-25 Ulrich Drepper <drepper@gmail.com>
75075
75076 * po/ja.po: Update from translation team.
75077
75078 2011-05-23 Ulrich Drepper <drepper@gmail.com>
75079
75080 [BZ #12795]
75081 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
75082 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
75083
75084 2011-05-20 Andreas Schwab <schwab@redhat.com>
75085
75086 * stdlib/longlong.h: Update from GCC.
75087
75088 2011-05-23 Andreas Schwab <schwab@redhat.com>
75089
75090 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
75091 parameter name.
75092 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
75093 Add parameter name.
75094 (__sysconf): Pass it down.
75095
75096 2011-05-22 Ulrich Drepper <drepper@gmail.com>
75097
75098 [BZ #12671]
75099 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
75100 some situations.
75101 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
75102 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
75103 add in in __libc_use_alloca calls. Adjust callers.
75104 (glob): Use malloc in some situations.
75105
75106 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
75107 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
75108 pltexit.
75109
75110 2011-05-21 Ulrich Drepper <drepper@gmail.com>
75111
75112 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
75113 and CLOCK_BOOTTIME_ALARM.
75114
75115 [BZ #12782]
75116 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
75117 is returned.
75118
75119 * string/_strerror.c (__strerror_r): Print negative errors as signed
75120 numbers.
75121
75122 [BZ #12777]
75123 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
75124 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
75125 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75126
75127 * configure.in: Fix typo in redirection and correct removal of test
75128 files in two cases.
75129
75130 [BZ #12788]
75131 * locale/setlocale.c (new_composite_name): Fix test to check for
75132 identical name of all categories.
75133
75134 [BZ #12792]
75135 * libio/filedoalloc.c (local_isatty): New function.
75136 (_IO_file_doallocate): Use local_isatty.
75137 * stdio-common/perror.c (perror): In case a new stream is used
75138 forward the stream error.
75139 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75140 error flag.
75141
75142 2011-05-20 Ulrich Drepper <drepper@gmail.com>
75143
75144 [BZ #11884]
75145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75146 alloca.
75147 * include/alloca.h (extend_alloca_account): Define.
75148
75149 [BZ #11857]
75150 * posix/regex.h: Fix comments with documentation of user-accessible
75151 fields after compilation and describe correct free'ing of pattern
75152 after re_compile_pattern.
75153 Patch by Reuben Thomas <rrt@sc3d.org>.
75154
75155 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
75156
75157 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75158 and -mno-altivec to prevent the compiler from using Altivec and/or
75159 VSX instructions when the corresponding registers are not available.
75160
75161 2011-05-19 Andreas Schwab <schwab@redhat.com>
75162
75163 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75164
75165 2011-05-19 Ulrich Drepper <drepper@gmail.com>
75166
75167 * libio/freopen.c (freopen): Use __dup2, not dup2.
75168 * libio/freopen64.c (freopen64): Likewise.
75169
75170 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
75171
75172 [BZ #12775]
75173 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75174 * math/Makefile (tests): Add test-powl.
75175 (CFLAGS-test-powl.c): Define.
75176 * math/test-powl.c: New file.
75177
75178 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
75179
75180 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75181
75182 2011-05-17 Ulrich Drepper <drepper@gmail.com>
75183
75184 [BZ #11837]
75185 * iconvdata/gb18030.c: Update to GB18020-2005.
75186
75187 2011-05-16 Ulrich Drepper <drepper@gmail.com>
75188
75189 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75190 RE_SYNTAX_POSIX_AWK): Update to match recent development.
75191 Patch by Aharon Robbins <arnold@skeeve.com>.
75192
75193 [BZ #11892]
75194 * stdlib/putenv.c (putenv): Don't always create copy of the variable
75195 on the stack.
75196
75197 [BZ #11895]
75198 * misc/pselect.c (__pselect): Handle timeout value errors hidden
75199 through underflows.
75200
75201 [BZ #12766]
75202 * misc/error.c (error_at_line): Ensure file_name and old_file_name
75203 point to strings before performing equality test for error_one_per_line
75204 mode.
75205
75206 [BZ #11697]
75207 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75208
75209 [BZ #11820]
75210 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75211 (struct user_fpregs_struct): Avoid __uint*_t types.
75212
75213 [BZ #6420]
75214 * malloc/mtrace.c (tr_where): Add additional parameter to point to
75215 symbol info. Use it instead of calling _dl_addr locally.
75216 (lock_and_info): New function.
75217 (tr_freehook): Call lock_and_info and pass symbol info as additional
75218 parameter to tr_where.
75219 (tr_mallochook): Likewise.
75220 (tr_reallochook): Likewise.
75221 (tr_memalignhook): Likewise.
75222
75223 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
75224 used and couldn't be at all thread-safe.
75225
75226 2011-05-15 Ulrich Drepper <drepper@gmail.com>
75227
75228 * libio/freopen.c (freopen): Don't close old file descriptor
75229 before the new one is opened. Instead dup the new file descriptor
75230 to the old one after the new stream is created.
75231 * libio/freopen64.c (freopen64): Likewise.
75232 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75233 * libio/fileops.c (_IO_new_file_close_it): Handle new
75234 _IO_FLAGS2_NOCLOSE flag.
75235 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75236 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75237 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75238 _IO_FLAGS2_NOCLOSE flag.
75239 * include/unistd.h: Add hidden_proto for dup3.
75240 Define __have_dup3.
75241 * io/dup3.c: Define hidden symbol.
75242 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75243
75244 [BZ #7101]
75245 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75246 when an incomplete long option is used.
75247 * posix/tst-getopt_long1.c: New file.
75248 * posix/Makefile (tests): Add tst-getopt_long1.
75249
75250 [BZ #10138]
75251 * scripts/config.guess: Update from autoconf-2.68.
75252 * scripts/config.sub: Likewise.
75253
75254 [BZ #10157]
75255 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75256 tests into ...
75257 (has_cpuclock): ...this. New function.
75258 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75259 macro here based on has_cpuclock code.
75260
75261 [BZ #10149]
75262 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75263 First byte (not low byte) is now always NUL.
75264 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75265
75266 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75267 Use non-cancelable interfaces.
75268
75269 [BZ #9809]
75270 * locale/iso-639.def: Add entry for Sorani.
75271
75272 [BZ #11901]
75273 * include/stdlib.h: Move include protection to the right place.
75274 Define abort_msg_s. Declare __abort_msg with it.
75275 * stdlib/abort.c (__abort_msg): Adjust type.
75276 * assert/assert.c (__assert_fail_base): New function. Majority
75277 of code from __assert_fail. Allocate memory for __abort_msg with
75278 mmap.
75279 (__assert_fail): Now call __assert_fail_base.
75280 * assert/assert-perr.c: Remove bulk of implementation. Use
75281 __assert_fail_base.
75282 * include/assert.hL Declare __assert_fail_base.
75283 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
75284 mmap.
75285 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
75286
75287 2011-05-14 Ulrich Drepper <drepper@gmail.com>
75288
75289 [BZ #11952]
75290 [BZ #12453]
75291 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
75292 until all modules are registered in the DTV.
75293 * elf/Makefile: Add rules to build and run tst-tls19.
75294 * elf/tst-tls19.c: New file.
75295 * elf/tst-tls19mod1.c: New file.
75296 * elf/tst-tls19mod2.c: New file.
75297 * elf/tst-tls19mod3.c: New file.
75298 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
75299
75300 [BZ #12083]
75301 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
75302 correctly.
75303
75304 [BZ #12601]
75305 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
75306 two-byte sequence errors.
75307 * iconvdata/Makefile (tests): Add bug-iconv8.
75308 * iconvdata/bug-iconv8.c: New file.
75309
75310 [BZ #12626]
75311 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
75312 buf2 definition.
75313
75314 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
75315
75316 [BZ #12432]
75317 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
75318 (dummy_getcfa): New function.
75319 (init): Get _Unwind_GetCFA address, use dummy if not found.
75320 (backtrace_helper): In recursion check, also check whether CFA changes.
75321 (__backtrace): Completely initialize arg.
75322
75323 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
75324 storing incomplete byte sequence in state object. Avoid testing for
75325 guaranteed too small input if we know there is enough data available.
75326
75327 2011-05-11 Andreas Schwab <schwab@redhat.com>
75328
75329 * Makeconfig (+link-pie): Indent.
75330 * Rules (binaries-pie): Define if $(have-fpie) and
75331 $(build-shared).
75332 (binaries-shared): Also filter out $(binaries-pie).
75333 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
75334 * nscd/Makefile (others-pie): Add nscd.
75335 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
75336 ($(objpfx)nscd): Remove command override.
75337 * login/Makefile (others-pie): Add pt_chown.
75338 ($(objpfx)pt_chown): Remove command override.
75339 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
75340 remove command overrides.
75341
75342 2011-05-13 Ulrich Drepper <drepper@gmail.com>
75343
75344 * libio/tst_putwc.c: Fix error messages.
75345
75346 [BZ #12724]
75347 * libio/fileops.c (_IO_new_file_close_it): Always flush when
75348 currently writing and seek to current position when not.
75349 * libio/Makefile (tests): Add bug-fclose1.
75350 * libio/bug-fclose1.c: New file.
75351
75352 2011-05-12 Ulrich Drepper <drepper@gmail.com>
75353
75354 [BZ #12511]
75355 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
75356 don't set DF_1_NODELETE here.
75357 (do_lookup_x): When entering new entry test for copy relocation
75358 and if necessary set DF_1_NODELETE flag.
75359 * elf/tst-unique4.cc: New file.
75360 * elf/tst-unique4.h: New file.
75361 * elf/tst-unique4lib.cc: New file.
75362 * elf/Makefile: Add rules to build and run tst-unique4.
75363 Patch by Piotr Bury <pbury@goahead.com>.
75364
75365 2011-05-11 Ulrich Drepper <drepper@gmail.com>
75366
75367 [BZ #12052]
75368 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
75369
75370 [BZ #12625]
75371 * misc/mntent_r.c (addmntent): Flush the stream after the output
75372
75373 [BZ #12393]
75374 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75375 (is_trusted_path_normalize): Skip initial colon. Append slash
75376 to empty buffer. Duplicate is_trusted_path code but allow
75377 constructed patch to be prefix.
75378 (is_dst): Allow $ORIGIN followed by /.
75379 (_dl_dst_substitute): Correct clearing of check_for_trusted.
75380 Correct testing of result of is_trusted_path_normalize
75381 (decompose_rpath): Fix warning.
75382
75383 2011-05-10 Ulrich Drepper <drepper@gmail.com>
75384
75385 [BZ #11257]
75386 * grp/initgroups.c (internal_getgrouplist): When we found the service
75387 list through the initgroups entry in nsswitch.conf do not always
75388 continue on a successful lookup. Don't always use the
75389 __nss_group_database value if it is set.
75390 * nss/nsswitch.conf (initgroups): Change action for successful db
75391 lookup to continue for compatibility.
75392
75393 2011-05-09 Ulrich Drepper <drepper@gmail.com>
75394
75395 [BZ #11532]
75396 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75397 and CP774 modules.
75398 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75399 and CP774 modules.
75400 * iconvdata/tst-tables.sh: Likewise.
75401 * iconvdata/cp770.c: New file.
75402 * iconvdata/cp771.c: New file.
75403 * iconvdata/cp772.c: New file.
75404 * iconvdata/cp773.c: New file.
75405 * iconvdata/cp774.c: New file.
75406 * iconvdata/testdata/CP770: New file.
75407 * iconvdata/testdata/CP770..UTF8: New file.
75408 * iconvdata/testdata/CP771: New file.
75409 * iconvdata/testdata/CP771..UTF8: New file.
75410 * iconvdata/testdata/CP772: New file.
75411 * iconvdata/testdata/CP772..UTF8: New file.
75412 * iconvdata/testdata/CP773: New file.
75413 * iconvdata/testdata/CP773..UTF8: New file.
75414 * iconvdata/testdata/CP774: New file.
75415 * iconvdata/testdata/CP774..UTF8: New file.
75416
75417 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75418 END CHARMAP line.
75419 * iconvdata/gen-8bit-gap.sh: Likewise.
75420 * iconvdata/gen-8bit.sh: Likewise.
75421
75422 * locale/iso-639.def: Add ary entry.
75423
75424 [BZ #11258]
75425 * locale/C-translit.h.in: Add U20A1 transliteration.
75426
75427 [BZ #12178]
75428 * locale/iso-639.def: Add wae entry.
75429 Patch by Kevin Bortis <bortis@translate-wae.ch>.
75430
75431 [BZ #12545]
75432 * locale/programs/localedef.c (construct_output_path): Use ssize_t
75433 for n.
75434
75435 [BZ #12711]
75436 * locale/C-translit.h.in: Add entry for U20B9.
75437 Patch by pravin.d.s@gmail.com.
75438
75439 2011-05-08 Ulrich Drepper <drepper@gmail.com>
75440
75441 [BZ #12713]
75442 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75443 ENAMETOOLONG use generic getcwd.
75444 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
75445 in rtld. Use *stat64.
75446 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75447 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75448 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75449 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75450 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75451 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75452 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75453 __fstatat64 macros.
75454 * include/dirent.h: Add libc_hidden_proto for rewinddir.
75455 * dirent/rewinddir.c: Add libc_hidden_def.
75456 * sysdeps/mach/hurd/rewinddir.c: Likewise.
75457 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
75458
75459 * include/dirent.h (__alloc_dir): Add flags parameter.
75460 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75461 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75462 __alloc_dir.
75463 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
75464 from fdopendir if O_CLOEXEC is already set.
75465
75466 2011-03-15 Alan Modra <amodra@gmail.com>
75467
75468 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75469 l_tls_firstbyte_offset non-zero. Save padding offset in
75470 l_tls_firstbyte_offset for later use.
75471 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75472 freeing static tls block.
75473
75474 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
75475
75476 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75477 where #ifdef was intended. The intent is to prevent ARG_MAX from
75478 being defined by the kernel headers.
75479
75480 2011-05-07 Ulrich Drepper <drepper@gmail.com>
75481
75482 [BZ #12734]
75483 * resolv/resolv.h: Define RES_NOTLDQUERY.
75484 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75485 no-tld-query and set RES_NOTLDQUERY.
75486 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75487 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75488 modern BIND to search name as TLD unless forbidden.
75489
75490 2011-05-07 Petr Baudis <pasky@suse.cz>
75491 Ulrich Drepper <drepper@gmail.com>
75492
75493 [BZ #12393]
75494 * elf/dl-load.c (fillin_rpath): Move trusted path check...
75495 (is_trusted_path): ...to here.
75496 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75497 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75498 using is_trusted_path_normalize() in setuid scripts.
75499
75500 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
75501
75502 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75503 __BEGIN/__END_DECLS.
75504
75505 2011-05-06 Ulrich Drepper <drepper@gmail.com>
75506
75507 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75508 NSS_STATUS_NOTFOUND if no record was found.
75509
75510 2011-05-05 Andreas Schwab <schwab@redhat.com>
75511
75512 * sunrpc/Makefile (headers): Add rpc/netdb.h.
75513 (headers-not-in-tirpc): Remove rpc/netdb.h
75514 * resolv/netdb.h: Revert last change.
75515
75516 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
75517
75518 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75519 circular dependency between libgcc.a and libc.a.
75520
75521 2011-05-05 Andreas Schwab <schwab@redhat.com>
75522
75523 * resolv/netdb.h: Don't include <rpc/netdb.h>.
75524 * nis/Makefile: Don't install rpcsvc/*.
75525 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75526 instead of <rpc/types.h>.
75527 (MAXHOSTNAMELEN): Define.
75528
75529 2011-05-03 Andreas Schwab <schwab@redhat.com>
75530
75531 * elf/ldconfig.c (add_dir): Don't crash on empty path.
75532
75533 2011-04-28 Maciej Babinski <mbabinski@google.com>
75534
75535 [BZ #12714]
75536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75537 gethostbyname4_r when IPv6 results are possible.
75538
75539 2011-05-02 Ulrich Drepper <drepper@gmail.com>
75540
75541 [BZ #12723]
75542 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75543 _PC_PIPE_BUF handling.
75544
75545 2011-04-30 Bruno Haible <bruno@clisp.org>
75546
75547 [BZ #12717]
75548 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75549 * resolv/netdb.h (getnameinfo): Change type of flags parameter
75550 to 'int'.
75551 * inet/getnameinfo.c (getnameinfo): Likewise.
75552
75553 2011-04-29 Ulrich Drepper <drepper@gmail.com>
75554
75555 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75556 to groups setting in database lookup.
75557 * nss/nsswitch.conf: Add initgroups entry.
75558
75559 2011-04-22 Ulrich Drepper <drepper@gmail.com>
75560
75561 [BZ #12685]
75562 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75563 mode string.
75564 Patch by Eric Blake <eblake@redhat.com>.
75565
75566 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
75567
75568 * sunrpc/Makefile (need-export-routines): Add svc_run.
75569 (routines): Remove svc_run.
75570 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75571 * sunrpc/clnt_perr.c (clnt_perrno): Export.
75572 * sunrpc/svc_run.c (svc_run): Likewise.
75573 * sunrpc/svc_udp.c (svcudp_create): Likewise.
75574
75575 2011-04-21 Ulrich Drepper <drepper@gmail.com>
75576
75577 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75578 problem in reallocation in last patch.
75579
75580 2011-04-20 Ulrich Drepper <drepper@gmail.com>
75581
75582 * sunrpc/Makefile: Move inclusion of Rules.
75583
75584 2011-04-19 Ulrich Drepper <drepper@gmail.com>
75585
75586 * nss/nss_files/files-initgroups.c: New file.
75587 * nss/Makefile (libnss_files-routines): Add files-initgroups.
75588 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75589 _nss_files_initgroups_dyn.
75590
75591 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
75592
75593 * elf/elf.h (R_ARM_IRELATIVE): Define.
75594
75595 2011-04-19 Ulrich Drepper <drepper@gmail.com>
75596
75597 * po/ru.po: Update from translation team.
75598
75599 2011-04-17 Ulrich Drepper <drepper@gmail.com>
75600
75601 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75602 dependencies.
75603
75604 2011-02-06 Mike Frysinger <vapier@gentoo.org>
75605
75606 [BZ #12653]
75607 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75608 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75609 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75610 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75611 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75612
75613 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
75614
75615 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75616 differing bytes.
75617 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75618 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75619 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75620
75621 2011-04-17 Ulrich Drepper <drepper@gmail.com>
75622
75623 [BZ #12420]
75624 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75625 storing it.
75626 * stdlib/bug-getcontext.c: New file.
75627 * stdlib/Makefile: Add rules to build and run bug-getcontext.
75628
75629 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75630
75631 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75632 instructions into .machine "z9-109".
75633 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75634 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75635
75636 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75637
75638 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75639 between environment variables and auxiliary vector.
75640
75641 2011-04-16 Ulrich Drepper <drepper@gmail.com>
75642
75643 * Makefile: Add rules to build linkobj/libc.so.
75644 * include/libc-symbols.h: Define libc_hidden_nolink.
75645 * include/rpc/auth.h: Mark functions which are to be hidden.
75646 * include/rpc/auth_des.h: Likewise.
75647 * include/rpc/auth_unix.h: Likewise.
75648 * include/rpc/clnt.h: Likewise.
75649 * include/rpc/des_crypt.h: Likewise.
75650 * include/rpc/key_prot.h: Likewise.
75651 * include/rpc/pmap_clnt.h: Likewise.
75652 * include/rpc/pmap_prot.h: Likewise.
75653 * include/rpc/pmap_rmt.h: Likewise.
75654 * include/rpc/rpc_msg.h: Likewise.
75655 * include/rpc/svc.h: Likewise.
75656 * include/rpc/svc_auth.h: Likewise.
75657 * include/rpc/xdr.h: Likewise.
75658 * nis/Makefile: Link all DSOs against linkobj/libc.so.
75659 * nss/Makefile: Likewise.
75660 * sunrpc/Makefile: Don't install headers. Build library with normal
75661 entry points. Don't build rpcinfo. Link RPC tests appropriately.
75662 * sunrpc/auth_des.c: Hide exported symbols by default, export some
75663 for the compat linking library. Remove use of INTDEF/INTUSE.
75664 * sunrpc/auth_none.c: Likewise.
75665 * sunrpc/auth_unix.c: Likewise.
75666 * sunrpc/authdes_prot.c: Likewise.
75667 * sunrpc/authuxprot.c: Likewise.
75668 * sunrpc/clnt_gen.c: Likewise.
75669 * sunrpc/clnt_perr.c: Likewise.
75670 * sunrpc/clnt_raw.c: Likewise.
75671 * sunrpc/clnt_simp.c: Likewise.
75672 * sunrpc/clnt_tcp.c: Likewise.
75673 * sunrpc/clnt_udp.c: Likewise.
75674 * sunrpc/clnt_unix.c: Likewise.
75675 * sunrpc/des_crypt.c: Likewise.
75676 * sunrpc/des_soft.c: Likewise.
75677 * sunrpc/get_myaddr.c: Likewise.
75678 * sunrpc/key_call.c: Likewise.
75679 * sunrpc/key_prot.c: Likewise.
75680 * sunrpc/netname.c: Likewise.
75681 * sunrpc/pm_getmaps.c: Likewise.
75682 * sunrpc/pm_getport.c: Likewise.
75683 * sunrpc/pmap_clnt.c: Likewise.
75684 * sunrpc/pmap_prot.c: Likewise.
75685 * sunrpc/pmap_prot2.c: Likewise.
75686 * sunrpc/pmap_rmt.c: Likewise.
75687 * sunrpc/publickey.c: Likewise.
75688 * sunrpc/rpc_cmsg.c: Likewise.
75689 * sunrpc/rpc_common.c: Likewise.
75690 * sunrpc/rpc_dtable.c: Likewise.
75691 * sunrpc/rpc_prot.c: Likewise.
75692 * sunrpc/rpc_thread.c: Likewise.
75693 * sunrpc/rtime.c: Likewise.
75694 * sunrpc/svc.c: Likewise.
75695 * sunrpc/svc_auth.c: Likewise.
75696 * sunrpc/svc_authux.c: Likewise.
75697 * sunrpc/svc_raw.c: Likewise.
75698 * sunrpc/svc_run.c: Likewise.
75699 * sunrpc/svc_simple.c: Likewise.
75700 * sunrpc/svc_tcp.c: Likewise.
75701 * sunrpc/svc_udp.c: Likewise.
75702 * sunrpc/svc_unix.c: Likewise.
75703 * sunrpc/svcauth_des.c: Likewise.
75704 * sunrpc/xcrypt.c: Likewise.
75705 * sunrpc/xdr.c: Likewise.
75706 * sunrpc/xdr_array.c: Likewise.
75707 * sunrpc/xdr_float.c: Likewise.
75708 * sunrpc/xdr_intXX_t.c: Likewise.
75709 * sunrpc/xdr_mem.c: Likewise.
75710 * sunrpc/xdr_rec.c: Likewise.
75711 * sunrpc/xdr_ref.c: Likewise.
75712 * sunrpc/xdr_sizeof.c: Likewise.
75713 * sunrpc/xdr_stdio.c: Likewise.
75714
75715 2011-04-10 Ulrich Drepper <drepper@gmail.com>
75716
75717 [BZ #12650]
75718 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75719 * sysdeps/ia64/dl-tls.h: Likewise.
75720 * sysdeps/powerpc/dl-tls.h: Likewise.
75721 * sysdeps/s390/dl-tls.h: Likewise.
75722 * sysdeps/sh/dl-tls.h: Likewise.
75723 * sysdeps/sparc/dl-tls.h: Likewise.
75724 * sysdeps/x86_64/dl-tls.h: Likewise.
75725 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75726
75727 2011-03-14 Andreas Schwab <schwab@redhat.com>
75728
75729 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75730 rpath element also skip the following colon.
75731 (expand_dynamic_string_token): Add is_path parameter and pass
75732 down to DL_DST_REQUIRED and _dl_dst_substitute.
75733 (decompose_rpath): Call expand_dynamic_string_token with
75734 non-zero is_path. Ignore empty rpaths.
75735 (_dl_map_object_from_fd): Call expand_dynamic_string_token
75736 with zero is_path.
75737
75738 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
75739
75740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75741 Make cancelable.
75742
75743 2011-04-09 Ulrich Drepper <drepper@gmail.com>
75744
75745 [BZ #12655]
75746 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75747 Patch by Filipe David Manana <fdmanana@apache.org>.
75748
75749 2011-04-07 Andreas Schwab <schwab@redhat.com>
75750
75751 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75752 Maintain aligned stack.
75753 (CHECK_RSP): Remove unused macro.
75754
75755 2011-04-03 Ulrich Drepper <drepper@gmail.com>
75756
75757 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75758 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75759
75760 2011-04-02 Ulrich Drepper <drepper@gmail.com>
75761
75762 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75763
75764 * include/features.h: Mention __USE_XOPEN2K8 in comment.
75765
75766 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
75767
75768 [BZ #12518]
75769 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75770 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75771 * sysdeps/x86_64/memmove.c: New file.
75772 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75773 (memcpy): Renamed to ...
75774 (__new_memcpy): This.
75775 (memcpy): Provide GLIBC_2_14 memcpy.
75776 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75777 (memcpy): Provide GLIBC_2_2_5 memcpy.
75778
75779 2011-04-01 Ulrich Drepper <drepper@gmail.com>
75780
75781 [BZ #12631]
75782 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75783
75784 2011-03-30 Andreas Schwab <schwab@redhat.com>
75785
75786 * misc/syncfs.c: New file.
75787 * misc/Makefile (routines): Add syncfs.
75788 * posix/unistd.h: Declare syncfs.
75789 * sysdeps/unix/syscalls.list: Add syncfs.
75790
75791 2011-04-01 Andreas Schwab <schwab@redhat.com>
75792
75793 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75794 open_by_handle_at.
75795 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75796 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75797 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75798 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75799 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75800 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75801 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75802
75803 2011-04-01 Ulrich Drepper <drepper@gmail.com>
75804
75805 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75806 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75807 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75808 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75809 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75810 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75811 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75812
75813 * io/Makefile: Compile fallocate.c, fallocate64.c, and
75814 sync_file_range.c with -fexceptions.
75815 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75816 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75817 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75818 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75819 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75820 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75821 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75822 sync_file_range as cancellation point
75823 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
75824 now a wrapper around __call_sync_file_range with cancellation handling.
75825 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75826 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
75827 function name to __call_sync_file_range.
75828 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75829 Add call_sync_file_range.
75830
75831 2011-04-01 Andreas Schwab <schwab@redhat.com>
75832
75833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75834 bits/timex.h.
75835
75836 2011-04-01 Ulrich Drepper <drepper@gmail.com>
75837
75838 * iconv/iconv.h: Fix typo in comment.
75839 * io/fcntl.h: Likewise.
75840 * libio/stdio.h: Likewise.
75841 * posix/spawn.h: Likewise.
75842 * posix/unistd.h: Likewise.
75843 * stdlib/stdlib.h: Likewise.
75844 * time/time.h: Likewise.
75845 * wcsmbs/wchar.h: Likewise.
75846
75847 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75848 open_by_handle): Add.
75849 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75850 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
75851 Augment a few comments.
75852 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75854 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75856 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75857 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75858 open_by_handle.
75859
75860 * io/fcntl.h (AT_EMPTY_PATH): Define.
75861
75862 2011-03-30 Ulrich Drepper <drepper@gmail.com>
75863
75864 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75865 * sysdeps/unix/sysv/linux/bits/time.h: New file.
75866 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75867 to...
75868 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
75869 * Versions.def: Add GLIBC_2.14.
75870 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75871 Export.
75872
75873 2011-03-22 Ulrich Drepper <drepper@gmail.com>
75874
75875 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75876 round counter.
75877 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75878
75879 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
75880
75881 [BZ #12597]
75882 * string/test-strncmp.c (do_page_test): New function.
75883 (check2): Likewise.
75884 (test_main): Call check2.
75885 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75886
75887 2011-03-20 Ulrich Drepper <drepper@gmail.com>
75888
75889 [BZ #12587]
75890 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75891 Handle cache information in CPU leaf 4.
75892 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75893
75894 2011-03-18 Ulrich Drepper <drepper@gmail.com>
75895
75896 [BZ #12583]
75897 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75898 character representation.
75899 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75900
75901 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
75902
75903 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75904 END(__isnan) to END(__isnanf) to match function entry point/label
75905 EALIGN(__isnanf,...).
75906
75907 2011-03-10 Jakub Jelinek <jakub@redhat.com>
75908
75909 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75910
75911 2011-03-10 Ulrich Drepper <drepper@gmail.com>
75912
75913 [BZ #12510]
75914 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75915 copy from the symbol referenced in the relocation to initialize the
75916 used variable.
75917 Patch by Piotr Bury <pbury@goahead.com>.
75918 * elf/Makefile: Add rules to build and tst-unique3.
75919 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75920 * elf/tst-unique3.cc: New file.
75921 * elf/tst-unique3.h: New file.
75922 * elf/tst-unique3lib.cc: New file.
75923 * elf/tst-unique3lib2.cc: New file.
75924
75925 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75926
75927 2011-03-10 Mike Frysinger <vapier@gentoo.org>
75928
75929 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75930 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
75931 to _start.
75932
75933 2011-03-06 Ulrich Drepper <drepper@gmail.com>
75934
75935 * elf/dl-load.c (_dl_map_object): If we are looking for the first
75936 to-be-loaded object along a path to loader is ld.so.
75937
75938 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
75939 Ulrich Drepper <drepper@gmail.com>
75940
75941 * sysdeps/x86_64/memset.S: After aligning destination, code
75942 branches to different locations depending on the value of
75943 misalignment, when multiarch is enabled. Fix this.
75944
75945 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
75946
75947 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75948 Set _x86_64_preferred_memory_instruction for AMD processsors.
75949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75950 Set bit_Prefer_SSE_for_memop for AMD processors.
75951
75952 2011-03-04 Ulrich Drepper <drepper@gmail.com>
75953
75954 * libio/fmemopen.c (fmemopen): Optimize a bit.
75955
75956 2011-03-03 Andreas Schwab <schwab@redhat.com>
75957
75958 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75959
75960 2011-03-03 Roland McGrath <roland@redhat.com>
75961
75962 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75963
75964 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
75965
75966 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75967 __bzero_ultra1 instead of __memset_ultra1.
75968
75969 2011-02-23 Andreas Schwab <schwab@redhat.com>
75970 Ulrich Drepper <drepper@gmail.com>
75971
75972 [BZ #12509]
75973 * include/link.h (struct link_map): Add l_orig_initfini.
75974 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75975 returning unsuccessfully.
75976 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75977 close of a file loaded at startup, restore the original l_initfini
75978 list.
75979 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75980 list, store the pointer.
75981 * elf/Makefile ($(objpfx)noload-mem): New rule.
75982 (noload-ENV): Define.
75983 (tests): Add $(objpfx)noload-mem.
75984 * elf/noload.c: Include <memcheck.h>.
75985 (main): Call mtrace. Close all opened handles.
75986
75987 2011-02-17 Andreas Schwab <schwab@redhat.com>
75988
75989 [BZ #12454]
75990 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75991 dependencies are missing.
75992
75993 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
75994
75995 Fix __if_freereq crash: Unlike the generic version which uses free,
75996 Hurd needs munmap.
75997 * sysdeps/mach/hurd/ifreq.h: New file.
75998
75999 2011-01-27 Petr Baudis <pasky@suse.cz>
76000 Ulrich Drepper <drepper@gmail.com>
76001
76002 [BZ 12445]#
76003 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76004 to extend_alloca().
76005 * stdio-common/bug23.c: New file.
76006 * stdio-common/Makefile (tests): Add bug23.
76007
76008 2010-09-28 Andreas Schwab <schwab@redhat.com>
76009 Ulrich Drepper <drepper@gmail.com>
76010
76011 [BZ #12489]
76012 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
76013 before performing relro protection. At old place add assertion
76014 to make sure nothing changed.
76015
76016 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
76017 Glauber de Oliveira Costa <glommer@gmail.com>
76018
76019 * elf/elf.h: Add new ARM TLS relocs.
76020
76021 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
76022
76023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76024 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
76025 cast from r3.
76026 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
76027 'tests' variable.
76028 * sysdeps/wordsize-64/tst-writev.c: New file.
76029
76030 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
76031
76032 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
76033 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
76034 insns in _dl_start to prevent a TOC reference before relocs are
76035 resolved.
76036
76037 2011-02-15 Ulrich Drepper <drepper@gmail.com>
76038
76039 [BZ #12469]
76040 * Makeconfig: Remove RANLIB definition.
76041 * Makerules: Don't use RANLIB.
76042 * aclocal.m4: Remove ranlib test.
76043 * configure.in: No need to check for ranlib.
76044 * elf/rtld-Rules: Don't use RANLIB.
76045
76046 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
76047
76048 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
76049 protection macro.
76050 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
76051 inclusion protection macro.
76052
76053 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
76054 SIGRTMIN and SIGRTMAX and print information in that case only when
76055 SIGRTMIN is defined.
76056
76057 2011-02-11 Jakub Jelinek <jakub@redhat.com>
76058
76059 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
76060 arginfo fn returning -1.
76061
76062 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
76063 and thousands string is zero terminated.
76064
76065 2011-02-03 Andreas Schwab <schwab@redhat.com>
76066
76067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
76068 sysdeps/unix/sysv/linux/bits/socket.h.
76069
76070 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
76071
76072 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
76073 (__CPU_COUNT): Remove old macros.
76074 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
76075 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
76076 (__CPU_ALLOC, __CPU_FREE): Add macros.
76077 (__sched_cpualloc, __sched_cpufree): Add declarations.
76078
76079 2011-02-05 Ulrich Drepper <drepper@gmail.com>
76080
76081 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
76082 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
76083 * nscd/aicache.c (addhstaiX): Return timeout of added value.
76084 (readdhstai): Return value of addhstaiX call.
76085 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
76086 (addgrbyX): Return value returned by cache_addgr.
76087 (readdgrbyname): Return value returned by addgrbyX.
76088 (readdgrbygid): Likewise.
76089 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
76090 (addpwbyX): Return value returned by cache_addpw.
76091 (readdpwbyname): Return value returned by addhstbyX.
76092 (readdpwbyuid): Likewise.
76093 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
76094 (addservbyX): Return value returned by cache_addserv.
76095 (readdservbyname): Return value returned by addservbyX:
76096 (readdservbyport): Likewise.
76097 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
76098 (addhstbyX): Return value returned by cache_addhst.
76099 (readdhstbyname): Return value returned by addhstbyX.
76100 (readdhstbyaddr): Likewise.
76101 (readdhstbynamev6): Likewise.
76102 (readdhstbyaddrv6): Likewise.
76103 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
76104 (readdinitgroups): Return value returned by addinitgroupsX.
76105 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
76106 (prune_cache): Keep track of timeout value of re-added entries.
76107 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
76108 * nscd/nscd.h: Adjust prototypes of readd* functions.
76109
76110 2011-02-04 Roland McGrath <roland@redhat.com>
76111
76112 * nis/nis_server.c (nis_servstate): Use the right name for 0.
76113 (nis_stats): Likewise.
76114 * nis/nis_modify.c (nis_modify): Likewise.
76115 * nis/nis_remove.c (nis_remove): Likewise.
76116 * nis/nis_add.c (nis_add): Likewise.
76117
76118 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
76119
76120 * posix/fnmatch_loop.c: Add some consts.
76121
76122 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
76123
76124 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
76125
76126 [BZ #12460]
76127 * config.make.in (config-cflags-novzeroupper): Define.
76128 * configure.in: Substitute libc_cv_cc_novzeroupper.
76129 * elf/Makefile (AVX-CFLAGS): Define.
76130 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76131 (CFLAGS-tst-auditmod4a.c): Likewise.
76132 (CFLAGS-tst-auditmod4b.c): Likewise.
76133 (CFLAGS-tst-auditmod6b.c): Likewise.
76134 (CFLAGS-tst-auditmod6c.c): Likewise.
76135 (CFLAGS-tst-auditmod7b.c): Likewise.
76136 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76137
76138 2011-02-02 Ulrich Drepper <drepper@gmail.com>
76139
76140 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76141 function to the callback.
76142 Patch partly by Jiri Olsa <jolsa@redhat.com>.
76143
76144 2011-02-02 Andreas Schwab <schwab@redhat.com>
76145
76146 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76147 of errno.
76148
76149 2011-01-19 Ulrich Drepper <drepper@gmail.com>
76150
76151 [BZ #11724]
76152 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76153 of constructors.
76154 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76155 of destructors.
76156 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76157
76158 [BZ #11724]
76159 * elf/Makefile: Add rules to build and run new test.
76160 * elf/tst-initorder.c: New file.
76161 * elf/tst-initorder.exp: New file.
76162 * elf/tst-initordera1.c: New file.
76163 * elf/tst-initordera2.c: New file.
76164 * elf/tst-initordera3.c: New file.
76165 * elf/tst-initordera4.c: New file.
76166 * elf/tst-initorderb1.c: New file.
76167 * elf/tst-initorderb2.c: New file.
76168 * elf/tst-order-a1.c: New file.
76169 * elf/tst-order-a2.c: New file.
76170 * elf/tst-order-a3.c: New file.
76171 * elf/tst-order-a4.c: New file.
76172 * elf/tst-order-b1.c: New file.
76173 * elf/tst-order-b2.c: New file.
76174 * elf/tst-order-main.c: New file.
76175 New test case by George Gensure <werkt0@gmail.com>.
76176
76177 2010-10-01 Andreas Schwab <schwab@redhat.com>
76178
76179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76180 decoding ACE if AI_CANONIDN.
76181
76182 2011-01-18 Ulrich Drepper <drepper@gmail.com>
76183
76184 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76185
76186 2011-01-17 Ulrich Drepper <drepper@gmail.com>
76187
76188 * version.h (RELEASE): Bump for 2.13 release.
76189 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76190
76191 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76192
76193 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76194 MADV_NOHUGEPAGE.
76195 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76196 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76197 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76198 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76199 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76200 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76201
76202 * posix/getconf.c: Update copyright year.
76203 * catgets/gencat.c: Likewise.
76204 * csu/version.c: Likewise.
76205 * debug/catchsegv.sh: Likewise.
76206 * debug/xtrace.sh: Likewise.
76207 * elf/ldconfig.c: Likewise.
76208 * elf/ldd.bash.in: Likewise.
76209 * elf/sprof.c (print_version): Likewise.
76210 * iconv/iconv_prog.c: Likewise.
76211 * iconv/iconvconfig.c: Likewise.
76212 * locale/programs/locale.c: Likewise.
76213 * locale/programs/localedef.c: Likewise.
76214 * malloc/memusage.sh: Likewise.
76215 * malloc/mtrace.pl: Likewise.
76216 * nscd/nscd.c (print_version): Likewise.
76217 * nss/getent.c: Likewise.
76218
76219 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76220 PF_CAIF, and PF_ALG.
76221 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76222
76223 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
76224
76225 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76226 (modules-names): Use them.
76227 (ifunc-test-modules, ifunc-pie-tests): Define.
76228 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76229 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76230 (test-extras): Likewise.
76231 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76232 $(compile-command.c).
76233 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76234 (all-built-dso): Define.
76235 (check-textrel.out, check-execstack.out): Depend on it.
76236
76237 * configure.in: Don't override --enable-multi-arch.
76238
76239 2011-01-15 Ulrich Drepper <drepper@gmail.com>
76240
76241 [BZ #6812]
76242 * nscd/hstcache.c (tryagain): Define.
76243 (cache_addhst): Return tryagain not notfound for temporary errors.
76244 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76245 failed.
76246
76247 2011-01-14 Ulrich Drepper <drepper@gmail.com>
76248
76249 [BZ #10563]
76250 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76251 to make the syscall.
76252 * sysdeps/unix/sysv/linux/setgroups.c: New file.
76253
76254 [BZ #12378]
76255 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76256 and fall back to matching as normal character if the string ends before
76257 the matching ']' is found. This is what POSIX requires.
76258 * posix/testfnm.c: Adjust test result.
76259 * posix/globtest.sh: Adjust test result. Add new test.
76260 * posix/tst-fnmatch.input: Likewise.
76261 * posix/tst-fnmatch2.c: Add new test.
76262
76263 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
76264
76265 * elf/Makefile (check-execstack): Revert last change. Depend on
76266 check-execstack.h.
76267 (check-execstack.h): New target.
76268 (generated): Add check-execstack.h.
76269 * elf/check-execstack.c: Include "check-execstack.h".
76270 (main): Revert last change.
76271 (handle_file): Return zero if GNU_STACK is absent and
76272 DEFAULT_STACK_PERMS doesn't include PF_X.
76273
76274 2011-01-13 Ulrich Drepper <drepper@gmail.com>
76275
76276 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
76277 in child fails because the descriptor is already closed.
76278 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
76279 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
76280 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
76281
76282 [BZ #12397]
76283 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
76284 syscall.
76285
76286 [BZ #10484]
76287 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
76288 temporary buffer used to handle multi lookups locally.
76289 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
76290
76291 2011-01-12 Ulrich Drepper <drepper@gmail.com>
76292
76293 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
76294 loader is ld.so.
76295
76296 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
76297
76298 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
76299 alignment for SSE2.
76300
76301 2011-01-12 Ulrich Drepper <drepper@gmail.com>
76302
76303 [BZ #12394]
76304 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
76305 characters. When rounding increased number of integer digits recompute
76306 number of groups.
76307 * stdio-common/tst-grouping.c: New file.
76308 * stdio-common/Makefile: Add rules to build and run tst-grouping.
76309
76310 2011-01-09 Ulrich Drepper <drepper@gmail.com>
76311
76312 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
76313 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
76314
76315 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
76316 void.
76317 * bits/select.h: Likewise.
76318
76319 2011-01-08 Ulrich Drepper <drepper@gmail.com>
76320
76321 * po/ja.po: Update from translation team.
76322
76323 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
76324
76325 [BZ #11155]
76326 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76327 implementation just like for lxstat, fxstatat, et al.
76328
76329 2010-12-27 Jim Meyering <meyering@redhat.com>
76330
76331 [BZ #12348]
76332 * posix/regexec.c (build_trtable): Return failure indication upon
76333 calloc failure. Otherwise, re_search_internal could infloop on OOM.
76334
76335 2010-12-25 Ulrich Drepper <drepper@gmail.com>
76336
76337 [BZ #12201]
76338 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
76339 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
76340 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
76341 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
76342
76343 [BZ #12207]
76344 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
76345
76346 [BZ #12204]
76347 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
76348 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
76349
76350 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
76351
76352 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
76353 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
76354 script has SORT_BY_INIT_PRIORITY.
76355 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
76356 NO_CTORS_DTORS_SECTIONS is defined.
76357 * elf/soinit.c: Likewise.
76358 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
76359 NO_CTORS_DTORS_SECTIONS is defined.
76360 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
76361 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
76362 * sysdeps/sh/init-first.c: Likewise.
76363 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
76364
76365 2010-12-24 Ulrich Drepper <drepper@gmail.com>
76366
76367 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
76368 always use the slow path.
76369
76370 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
76371
76372 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76373 similar rule which adds the sysdep directories to the header search in
76374 order to pick up the correct platform stackinfo.h.
76375 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76376 perform test if it is, otherwise return successfully without testing.
76377 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76378 DEFAULT_STACK_PERMS define in stackinfo.h.
76379 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76380 defined in stackinfo.h.
76381 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76382 DEFAULT_STACK_PERMS defined in stackinfo.h.
76383 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76384 * sysdeps/ia64/stackinfo.h: Likewise.
76385 * sysdeps/s390/stackinfo.h: Likewise.
76386 * sysdeps/sh/stackinfo.h: Likewise.
76387 * sysdeps/sparc/stackinfo.h: Likewise.
76388 * sysdeps/x86_64/stackinfo.h: Likewise.
76389 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76390 PF_X for powerpc64. Retain PF_X for powerpc32.
76391
76392 2010-12-19 Ulrich Drepper <drepper@gmail.com>
76393
76394 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76395 accurately.
76396 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76397 GETDENTS_64BIT_ALIGNED.
76398
76399 2010-12-14 Ulrich Drepper <dreper@gmail.com>
76400
76401 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76402
76403 2010-12-10 Andreas Schwab <schwab@redhat.com>
76404
76405 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76406 _GNU_SOURCE.
76407
76408 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76409 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76410 Remove __restrict.
76411 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76412 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76413
76414 2010-12-09 Ulrich Drepper <drepper@gmail.com>
76415
76416 [BZ #11655]
76417 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76418 are initialized.
76419
76420 2010-12-09 Jakub Jelinek <jakub@redhat.com>
76421
76422 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76423
76424 2010-12-03 Ulrich Drepper <drepper@gmail.com>
76425
76426 * po/it.po: Update from translation team.
76427
76428 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
76429
76430 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76431 unused codes.
76432
76433 2010-11-30 Ulrich Drepper <drepper@gmail.com>
76434
76435 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76436
76437 2010-11-24 Andreas Schwab <schwab@redhat.com>
76438
76439 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76440 specially.
76441 (gaih_getanswer_slice): Likewise.
76442
76443 2010-10-20 Jakub Jelinek <jakub@redhat.com>
76444
76445 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76446
76447 2010-05-31 Petr Baudis <pasky@suse.cz>
76448
76449 [BZ #11149]
76450 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76451 silently even in the chroot mode.
76452
76453 2010-11-22 Ulrich Drepper <drepper@gmail.com>
76454
76455 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76456 last patch a bit. Pretty printing
76457
76458 2010-05-31 Petr Baudis <pasky@suse.cz>
76459
76460 [BZ #10085]
76461 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76462 initialization of skip_initgroups_dyn.
76463
76464 2010-11-19 Ulrich Drepper <drepper@gmail.com>
76465
76466 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76467 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76468
76469 2010-11-16 Ulrich Drepper <drepper@gmail.com>
76470
76471 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76472
76473 2010-11-11 Andreas Schwab <schwab@redhat.com>
76474
76475 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76476 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76477 (tst-fnmatch-ENV): Set MALLOC_TRACE.
76478 ($(objpfx)tst-fnmatch-mem): New rule.
76479 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76480 * posix/tst-fnmatch.c (main): Call mtrace.
76481
76482 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
76483
76484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76485 Support Intel processor model 6 and model 0x2c.
76486
76487 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
76488
76489 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76490 signed comparison.
76491
76492 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
76493
76494 [BZ #12205]
76495 * string/test-strncasecmp.c (check_result): New function.
76496 (do_one_test): Use it.
76497 (check1): New function.
76498 (test_main): Use it.
76499 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76500 Support strcasecmp and strncasecmp.
76501
76502 2010-11-08 Ulrich Drepper <drepper@gmail.com>
76503
76504 [BZ #12194]
76505 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76506 * sysdeps/x86_64/bits/byteswap.h: Likewise.
76507
76508 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
76509
76510 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76511 IFUNC support.
76512 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76513 memset-x86-64.
76514 * sysdeps/x86_64/multiarch/bzero.S: New file.
76515 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76516 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76517 * sysdeps/x86_64/multiarch/memset.S: New file.
76518 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76520 Set bit_Prefer_SSE_for_memop for Intel processors.
76521 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76522 Define.
76523 (index_Prefer_SSE_for_memop): Define.
76524 (HAS_PREFER_SSE_FOR_MEMOP): Define.
76525
76526 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
76527
76528 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76529 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76530
76531 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
76532
76533 [BZ #12191]
76534 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76535 (__x86_64_raw_data_cache_size_half): Likewise.
76536 (__x86_64_raw_shared_cache_size): Likewise.
76537 (__x86_64_raw_shared_cache_size_half): Likewise.
76538
76539 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76540 (__x86_64_raw_data_cache_size_half): Likewise.
76541 (__x86_64_raw_shared_cache_size): Likewise.
76542 (__x86_64_raw_shared_cache_size_half): Likewise.
76543 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76544 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76545 and __x86_64_raw_shared_cache_size_half. Round
76546 __x86_64_data_cache_size_half, __x86_64_data_cache_size
76547 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76548 to multiple of 256 bytes.
76549
76550 2010-11-03 Ulrich Drepper <drepper@gmail.com>
76551
76552 [BZ #12167]
76553 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76554 of inacessible symlinks. Verify result of symlink before returning it.
76555 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76556 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76557
76558 2010-10-28 Erich Ritz <erichritz@gmail.com>
76559
76560 * math/math.h (isinf): Fix typo in comment.
76561
76562 2010-11-01 Ulrich Drepper <drepper@gmail.com>
76563
76564 * po/da.po: Update from translation team.
76565
76566 2010-10-26 Ulrich Drepper <drepper@gmail.com>
76567
76568 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76569 is added to the list.
76570
76571 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76572 Ulrich Drepper <drepper@gmail.com>
76573
76574 * elf/dl-object.c (_dl_new_object): Don't append the new object to
76575 the global list here. Move code to...
76576 (_dl_add_to_namespace_list): ...here. New function.
76577 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76578 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76579 * elf/dl-load.c (lose): Don't remove the element from the list.
76580 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76581 (_dl_map_object): Likewise.
76582
76583 2010-10-25 Ulrich Drepper <drepper@gmail.com>
76584
76585 [BZ #12159]
76586 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76587 into all bytes of SSE register.
76588 Patch by Richard Li <richardpku@gmail.com>.
76589
76590 2010-10-24 Ulrich Drepper <drepper@gmail.com>
76591
76592 [BZ #12140]
76593 * malloc/malloc.c (_int_free): Fill correct number of bytes when
76594 perturbing.
76595
76596 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
76597
76598 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76599 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76600 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76601 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76603 submachine.
76604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76605
76606 2010-10-22 Andreas Schwab <schwab@redhat.com>
76607
76608 * include/dlfcn.h (__RTLD_SECURE): Define.
76609 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
76610 mode & __RTLD_SECURE instead.
76611 (open_path): Rename preloaded parameter to secure.
76612 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76613 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76614 * elf/dl-deps.c (openaux): Likewise.
76615 * elf/rtld.c (struct map_args): Remove is_preloaded.
76616 (map_doit): Don't use it.
76617 (dl_main): Likewise.
76618 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76619 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76620
76621 2010-09-09 Andreas Schwab <schwab@redhat.com>
76622
76623 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76624 (sysd-rules-targets): Remove duplicates.
76625 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76626 rtld-%.$o dependency.
76627
76628 2010-10-18 Andreas Schwab <schwab@redhat.com>
76629
76630 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76631 _dl_map_object do it.
76632
76633 2010-10-19 Ulrich Drepper <drepper@gmail.com>
76634
76635 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76636 fast fma builtins, define the macros in the C99 standard.
76637 (FP_FAST_FMAF): Likewise.
76638 (FP_FAST_FMAL): Likewise.
76639 * sysdeps/x86_64/bits/mathdef.h: Likewise.
76640
76641 * bits/mathdef.h: Update copyright year.
76642 * sysdeps/powerpc/bits/mathdef.h: Likewise.
76643
76644 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
76645
76646 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76647 builtins, define the macros in the C99 standard.
76648 (FP_FAST_FMAF): Likewise.
76649 (FP_FAST_FMAL): Likewise.
76650 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76651 multiply/add.
76652 (FP_FAST_FMAF): Likewise.
76653
76654 2010-10-15 Jakub Jelinek <jakub@redhat.com>
76655
76656 [BZ #3268]
76657 * math/libm-test.inc (fma_test): Some new testcases.
76658 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76659 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76660 y and infinite z. Do multiplication by C already in long double.
76661 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76663 y and infinite z. Do bitwise or of inexact bit into u.d.
76664 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76665 * sysdeps/i386/fpu/s_fmaf.S: Removed.
76666 * sysdeps/i386/fpu/s_fma.S: Removed.
76667 * sysdeps/i386/fpu/s_fmal.S: Removed.
76668
76669 2010-10-16 Jakub Jelinek <jakub@redhat.com>
76670
76671 [BZ #3268]
76672 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76673 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76674 computation is not scheduled after fetestexcept. Fix value
76675 of minimum denormal long double.
76676
76677 2010-10-14 Jakub Jelinek <jakub@redhat.com>
76678
76679 [BZ #3268]
76680 * math/libm-test.inc (fma_test): Add some more tests.
76681 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76682 correctly.
76683
76684 2010-10-15 Andreas Schwab <schwab@redhat.com>
76685
76686 * scripts/data/localplt-s390-linux-gnu.data: New file.
76687 * scripts/data/localplt-s390x-linux-gnu.data: New file.
76688
76689 2010-10-13 Jakub Jelinek <jakub@redhat.com>
76690
76691 [BZ #3268]
76692 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76693 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76694 instead of dbl-64.
76695 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76696 inlines.
76697 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76698 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76699 if one of x and y is very large and the other is subnormal.
76700 * sysdeps/s390/fpu/s_fmaf.c: New file.
76701 * sysdeps/s390/fpu/s_fma.c: New file.
76702 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76703 * sysdeps/powerpc/fpu/s_fma.S: New file.
76704 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76705 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76706 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76707
76708 2010-10-12 Jakub Jelinek <jakub@redhat.com>
76709
76710 [BZ #3268]
76711 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76712 fma tests.
76713 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76714 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76715 * sysdeps/i386/i686/multiarch/s_fma.c: Include
76716 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76717 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76718 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76719 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76720
76721 2010-10-12 Ulrich Drepper <drepper@redhat.com>
76722
76723 [BZ #12078]
76724 * posix/regcomp.c (parse_branch): One more memory leak plugged.
76725 * posix/bug-regex31.input: Add test case.
76726
76727 2010-10-11 Ulrich Drepper <drepper@gmail.com>
76728
76729 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76730 * posix/bug-regex31.input: New file.
76731
76732 [BZ #12078]
76733 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76734 (parse_sub_exp): Fix last change, use postorder.
76735
76736 * posix/bug-regex31.c: New file.
76737 * posix/Makefile: Add rules to build and run bug-regex31.
76738
76739 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76740
76741 [BZ #12078]
76742 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76743
76744 [BZ #12108]
76745 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76746 to have entries in sys_siglist.
76747
76748 [BZ #12093]
76749 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76750 be NULL.
76751
76752 2010-10-07 Jakub Jelinek <jakub@redhat.com>
76753
76754 [BZ #3268]
76755 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76756 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76757 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76758 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76759 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76760 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76761 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76762 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76763 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76764 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76765 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76766 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76767 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76768 * math/ftestexcept.c (fetestexcept): Likewise.
76769 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76770 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76771 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76772 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76773 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76774 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76775 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76776
76777 2010-10-11 Ulrich Drepper <drepper@gmail.com>
76778
76779 [BZ #12107]
76780 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76781 newline.
76782
76783 2010-10-06 Ulrich Drepper <drepper@gmail.com>
76784
76785 * string/bug-strstr1.c: New file.
76786 * string/Makefile: Add rules to build and run bug-strstr1.
76787
76788 2010-10-05 Eric Blake <eblake@redhat.com>
76789
76790 [BZ #12092]
76791 * string/str-two-way.h (two_way_long_needle): Always clear memory
76792 when skipping input due to the shift table.
76793
76794 2010-10-03 Ulrich Drepper <drepper@gmail.com>
76795
76796 [BZ #12005]
76797 * malloc/mcheck.c: Handle large requests.
76798
76799 [BZ #12077]
76800 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76801 for strncmp and strncasecmp.
76802 * string/stratcliff.c: Add tests for strcmp and strncmp.
76803 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76804
76805 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
76806
76807 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76808 __set_fpscr.
76809
76810 2010-09-30 Andreas Jaeger <aj@suse.de>
76811
76812 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76813 (CGROUP_SUPER_MAGIC): Define.
76814 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76815 Handle btrfs and cgroup file systems.
76816 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76817 Likewise.
76818
76819 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
76820
76821 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76822 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76823
76824 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76825
76826 [BZ #12067]
76827 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76828 trying to locate the ELF header.
76829
76830 2010-09-27 Andreas Schwab <schwab@redhat.com>
76831
76832 [BZ #11611]
76833 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76834 Mask out sign-bit copies when constructing f_fsid.
76835
76836 2010-09-24 Petr Baudis <pasky@suse.cz>
76837
76838 * debug/stack_chk_fail_local.c: Add missing licence exception.
76839 * debug/warning-nop.c: Likewise.
76840
76841 2010-09-15 Joseph Myers <joseph@codesourcery.com>
76842
76843 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76844 implementing getdents64 using getdents syscall, set d_type if
76845 __ASSUME_GETDENTS32_D_TYPE.
76846
76847 2010-09-16 Andreas Schwab <schwab@redhat.com>
76848
76849 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76850 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76851
76852 2010-09-21 Ulrich Drepper <drepper@redhat.com>
76853
76854 [BZ #12037]
76855 * posix/unistd.h: Undo change of feature selection for ftruncate from
76856 2010-01-11.
76857
76858 2010-09-20 Ulrich Drepper <drepper@redhat.com>
76859
76860 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76861 detection.
76862
76863 2010-09-20 Andreas Schwab <schwab@redhat.com>
76864
76865 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76866 fanotify_mark.
76867 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76868
76869 2010-09-14 Andreas Schwab <schwab@redhat.com>
76870
76871 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76872 variables after CHECK_SP call.
76873 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76874
76875 2010-09-13 Andreas Schwab <schwab@redhat.com>
76876 Ulrich Drepper <drepper@redhat.com>
76877
76878 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76879 re-relocationg ld.so.
76880 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76881 _dl_init_paths call.
76882 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
76883 here anymore.
76884
76885 2010-09-14 Ulrich Drepper <drepper@redhat.com>
76886
76887 * resolv/res_init.c (__res_vinit): Count the default server we added.
76888
76889 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
76890 Ulrich Drepper <drepper@redhat.com>
76891
76892 [BZ #11968]
76893 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76894 (____longjmp_chk): Use %ebx for saving value across system call.
76895 Add unwind info.
76896
76897 2010-09-06 Andreas Schwab <schwab@redhat.com>
76898
76899 * manual/Makefile: Don't mix pattern rules with normal rules.
76900
76901 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
76902
76903 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76904 operation.
76905 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76906 * libio/iofopncook.c (_IO_cookie_init): Likewise.
76907 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76908 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76909 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76910 Likewise.
76911
76912 2010-09-04 Ulrich Drepper <drepper@redhat.com>
76913
76914 [BZ #11979]
76915 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76916 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76917
76918 2010-09-02 Ulrich Drepper <drepper@redhat.com>
76919
76920 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76921 * sysdeps/x86_64/addmul_1.S: Likewise.
76922 * sysdeps/x86_64/lshift.S: Likewise.
76923 * sysdeps/x86_64/mul_1.S: Likewise.
76924 * sysdeps/x86_64/rshift.S: Likewise.
76925 * sysdeps/x86_64/sub_n.S: Likewise.
76926 * sysdeps/x86_64/submul_1.S: Likewise.
76927
76928 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
76929
76930 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76931 Define __sched_param instead of SCHED_* and sched_param when
76932 <bits/sched.h> is included with __need_schedparam defined.
76933 * bits/sched.h [__need_schedparam]
76934 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76935 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76936 (__defined_schedparam): Define to 1.
76937 (__sched_param): New structure, identical to sched_param.
76938 (__need_schedparam): Undefine.
76939
76940 2010-08-31 Mike Frysinger <vapier@gentoo.org>
76941
76942 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76943 (epoll_create1): Declare.
76944
76945 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76946
76947 2010-08-31 Andreas Schwab <schwab@redhat.com>
76948
76949 [BZ #7066]
76950 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76951 shifting retval into place.
76952
76953 2010-09-01 Ulrich Drepper <drepper@redhat.com>
76954
76955 * nis/rpcsvc/nis.h: Update copyright notice.
76956 * nis/rpcsvc/nis.x: Likewise.
76957 * nis/rpcsvc/nis_callback.h: Likewise.
76958 * nis/rpcsvc/nis_callback.x: Likewise.
76959 * nis/rpcsvc/nis_object.x: Likewise.
76960 * nis/rpcsvc/nis_tags.h: Likewise.
76961 * nis/rpcsvc/yp.h: Likewise.
76962 * nis/rpcsvc/yp.x: Likewise.
76963 * nis/rpcsvc/ypupd.h: Likewise.
76964 * nis/yp_xdr.c: Likewise.
76965 * nis/ypupdate_xdr.c: Likewise.
76966
76967 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
76968 mainly the body of pmap_getport. Add parameters to specify timeouts.
76969 (pmap_getport): Use __libc_rpc_getport.
76970 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76971 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76972 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76973
76974 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
76975
76976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76977 fanotify_mark.
76978
76979 2010-08-27 Roland McGrath <roland@redhat.com>
76980
76981 * sysdeps/i386/i686/multiarch/Makefile
76982 (CFLAGS-varshift.c): New variable.
76983
76984 2010-08-27 Ulrich Drepper <drepper@redhat.com>
76985
76986 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76987 * sysdeps/i386/i686/multiarch/varshift.c: New file.
76988
76989 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76990
76991 * sysdeps/x86_64/strlen.S: Minimal code improvement.
76992
76993 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
76994
76995 * sysdeps/x86_64/strlen.S: Unroll the loop.
76996 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76997 strlen-sse2 strlen-sse2-bsf.
76998 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76999 __strlen_no_bsf if bit_Slow_BSF is set.
77000 (__strlen_sse42): Removed.
77001 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77002 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77003
77004 2010-08-25 Roland McGrath <roland@redhat.com>
77005
77006 * sysdeps/x86_64/multiarch/varshift.S: File removed.
77007 * sysdeps/x86_64/multiarch/varshift.c: New file.
77008 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77009 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77010 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77011 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
77012
77013 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
77014
77015 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77016 strlen-sse2 strlen-sse2-bsf.
77017 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
77018 __strlen_sse2_bsf if bit_Slow_BSF is unset.
77019 (__strlen_sse2): Removed.
77020 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
77021 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
77022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
77023 bit_Slow_BSF for Atom.
77024 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
77025 (index_Slow_BSF): Define.
77026 (HAS_SLOW_BSF): Define.
77027
77028 2010-08-25 Ulrich Drepper <drepper@redhat.com>
77029
77030 [BZ #10851]
77031 * resolv/res_init.c (__res_vinit): When no server address at all
77032 is given default to loopback.
77033
77034 2010-08-24 Roland McGrath <roland@redhat.com>
77035
77036 * configure.in: Remove config-name.h generation.
77037 * configure: Regenerated.
77038 * config-name.in: File removed.
77039 * scripts/config-uname.sh: New file.
77040 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
77041 ($(objdir)config-name.h): New target.
77042
77043 * sunrpc/rpc_parse.h: Avoid nested comment.
77044
77045 2010-08-24 Richard Henderson <rth@redhat.com>
77046 Ulrich Drepper <drepper@redhat.com>
77047 H.J. Lu <hongjiu.lu@intel.com>
77048
77049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
77051 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
77052 Replace _mm_srli_si128 with __m128i_shift_right. Replace
77053 _mm_alignr_epi8 with _mm_loadu_si128.
77054 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
77055 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
77056 (__m128i_shift_right): Removed.
77057 * sysdeps/i386/i686/multiarch/varshift.h: New file.
77058 * sysdeps/i386/i686/multiarch/varshift.S: New file.
77059 * sysdeps/x86_64/multiarch/varshift.h: New file.
77060 * sysdeps/x86_64/multiarch/varshift.S: New file.
77061
77062 2010-08-21 Mike Frysinger <vapier@gentoo.org>
77063
77064 * configure.in: Move assembler checks to before sysdep dir checking.
77065
77066 2010-08-20 Petr Baudis <pasky@suse.cz>
77067
77068 * LICENSES: Sync the sunrpc license.
77069
77070 2010-08-19 Ulrich Drepper <drepper@redhat.com>
77071
77072 * sunrpc/auth_des.c: Update copyright notice once again.
77073 * sunrpc/auth_none.c: Likewise.
77074 * sunrpc/auth_unix.c: Likewise.
77075 * sunrpc/authdes_prot.c: Likewise.
77076 * sunrpc/authuxprot.c: Likewise.
77077 * sunrpc/bindrsvprt.c: Likewise.
77078 * sunrpc/clnt_gen.c: Likewise.
77079 * sunrpc/clnt_perr.c: Likewise.
77080 * sunrpc/clnt_raw.c: Likewise.
77081 * sunrpc/clnt_simp.c: Likewise.
77082 * sunrpc/clnt_tcp.c: Likewise.
77083 * sunrpc/clnt_udp.c: Likewise.
77084 * sunrpc/clnt_unix.c: Likewise.
77085 * sunrpc/des_crypt.c: Likewise.
77086 * sunrpc/des_soft.c: Likewise.
77087 * sunrpc/get_myaddr.c: Likewise.
77088 * sunrpc/getrpcport.c: Likewise.
77089 * sunrpc/key_call.c: Likewise.
77090 * sunrpc/key_prot.c: Likewise.
77091 * sunrpc/openchild.c: Likewise.
77092 * sunrpc/pm_getmaps.c: Likewise.
77093 * sunrpc/pm_getport.c: Likewise.
77094 * sunrpc/pmap_clnt.c: Likewise.
77095 * sunrpc/pmap_prot.c: Likewise.
77096 * sunrpc/pmap_prot2.c: Likewise.
77097 * sunrpc/pmap_rmt.c: Likewise.
77098 * sunrpc/rpc/auth.h: Likewise.
77099 * sunrpc/rpc/auth_unix.h: Likewise.
77100 * sunrpc/rpc/clnt.h: Likewise.
77101 * sunrpc/rpc/des_crypt.h: Likewise.
77102 * sunrpc/rpc/key_prot.h: Likewise.
77103 * sunrpc/rpc/netdb.h: Likewise.
77104 * sunrpc/rpc/pmap_clnt.h: Likewise.
77105 * sunrpc/rpc/pmap_prot.h: Likewise.
77106 * sunrpc/rpc/pmap_rmt.h: Likewise.
77107 * sunrpc/rpc/rpc.h: Likewise.
77108 * sunrpc/rpc/rpc_des.h: Likewise.
77109 * sunrpc/rpc/rpc_msg.h: Likewise.
77110 * sunrpc/rpc/svc.h: Likewise.
77111 * sunrpc/rpc/svc_auth.h: Likewise.
77112 * sunrpc/rpc/types.h: Likewise.
77113 * sunrpc/rpc/xdr.h: Likewise.
77114 * sunrpc/rpc_clntout.c: Likewise.
77115 * sunrpc/rpc_cmsg.c: Likewise.
77116 * sunrpc/rpc_common.c: Likewise.
77117 * sunrpc/rpc_cout.c: Likewise.
77118 * sunrpc/rpc_dtable.c: Likewise.
77119 * sunrpc/rpc_hout.c: Likewise.
77120 * sunrpc/rpc_main.c: Likewise.
77121 * sunrpc/rpc_parse.c: Likewise.
77122 * sunrpc/rpc_parse.h: Likewise.
77123 * sunrpc/rpc_prot.c: Likewise.
77124 * sunrpc/rpc_sample.c: Likewise.
77125 * sunrpc/rpc_scan.c: Likewise.
77126 * sunrpc/rpc_scan.h: Likewise.
77127 * sunrpc/rpc_svcout.c: Likewise.
77128 * sunrpc/rpc_tblout.c: Likewise.
77129 * sunrpc/rpc_util.c: Likewise.
77130 * sunrpc/rpc_util.h: Likewise.
77131 * sunrpc/rpcinfo.c: Likewise.
77132 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77133 * sunrpc/rpcsvc/key_prot.x: Likewise.
77134 * sunrpc/rpcsvc/klm_prot.x: Likewise.
77135 * sunrpc/rpcsvc/mount.x: Likewise.
77136 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77137 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77138 * sunrpc/rpcsvc/rex.x: Likewise.
77139 * sunrpc/rpcsvc/rstat.x: Likewise.
77140 * sunrpc/rpcsvc/rusers.x: Likewise.
77141 * sunrpc/rpcsvc/sm_inter.x: Likewise.
77142 * sunrpc/rpcsvc/spray.x: Likewise.
77143 * sunrpc/rpcsvc/yppasswd.x: Likewise.
77144 * sunrpc/rtime.c: Likewise.
77145 * sunrpc/svc.c: Likewise.
77146 * sunrpc/svc_auth.c: Likewise.
77147 * sunrpc/svc_authux.c: Likewise.
77148 * sunrpc/svc_raw.c: Likewise.
77149 * sunrpc/svc_run.c: Likewise.
77150 * sunrpc/svc_simple.c: Likewise.
77151 * sunrpc/svc_tcp.c: Likewise.
77152 * sunrpc/svc_udp.c: Likewise.
77153 * sunrpc/svc_unix.c: Likewise.
77154 * sunrpc/svcauth_des.c: Likewise.
77155 * sunrpc/xcrypt.c: Likewise.
77156 * sunrpc/xdr.c: Likewise.
77157 * sunrpc/xdr_array.c: Likewise.
77158 * sunrpc/xdr_float.c: Likewise.
77159 * sunrpc/xdr_mem.c: Likewise.
77160 * sunrpc/xdr_rec.c: Likewise.
77161 * sunrpc/xdr_ref.c: Likewise.
77162 * sunrpc/xdr_sizeof.c: Likewise.
77163 * sunrpc/xdr_stdio.c: Likewise.
77164
77165 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77166 handling.
77167
77168 2010-08-19 Andreas Schwab <schwab@redhat.com>
77169
77170 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77171
77172 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
77173
77174 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77175 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77176 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77177 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77178 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77179 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77180 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77181 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77182 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77183 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77184 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77185 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77186 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77187 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77188
77189 2010-07-26 Anton Blanchard <anton@samba.org>
77190
77191 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77192 * malloc/arena.c (heap_trim): Likewise.
77193
77194 2010-08-16 Ulrich Drepper <drepper@redhat.com>
77195
77196 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77197 here. Not...
77198 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77199 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77200
77201 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
77202
77203 * sysdeps/i386/elf/Makefile: New file.
77204
77205 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
77206
77207 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77208 from fanotify_init.
77209 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77210 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77211
77212 2010-08-15 Ulrich Drepper <drepper@redhat.com>
77213
77214 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77215 of strncasecmp_l.
77216 * sysdeps/multiarch/strcmp.S: Likewise.
77217
77218 2010-08-14 Ulrich Drepper <drepper@redhat.com>
77219
77220 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77221 strncase_l-nonascii.
77222 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77223 Add strncase_l-ssse3.
77224 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77225 * sysdeps/x86_64/strcmp.S: Likewise.
77226 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77227 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77228 * sysdeps/x86_64/strncase.S: New file.
77229 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77230 * sysdeps/x86_64/strncase_l.S: New file.
77231 * string/Makefile (strop-tests): Add strncasecmp.
77232 * string/test-strncasecmp.c: New file.
77233
77234 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77235 warning.
77236
77237 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77238 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77239
77240 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
77241
77242 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77243
77244 2010-08-12 Ulrich Drepper <drepper@redhat.com>
77245
77246 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77247 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77248 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77249
77250 2010-05-01 Alan Modra <amodra@gmail.com>
77251
77252 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77253 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77254 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77255 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77256 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77257 tidying. Don't tail-call __sigjmp_save for static lib.
77258 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77259 save location.
77260 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77261 (CALL_MCOUNT): Add eh info, and nop after bl.
77262 (TAIL_CALL_SYSCALL_ERROR): New macro.
77263 (PSEUDO_RET): Use it.
77264 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77265 Correct save location of integer regs and cr.
77266 (_dl_profile_resolve): Correct cr save location. Delete nops
77267 after bl when SHARED. Reduce cfi size a little by better
77268 placement of cfi directives.
77269 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77270 make a stack frame. Instead use parm save area as a temp.
77271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77272 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
77273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77274 Don't make a stack frame for parent, use parm save area.
77275 Increase child stack frame to 112 bytes. Don't save unused reg,
77276 and adjust reg usage. Set up cfi on error recovery and
77277 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
77278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77279 (__makecontext): Add dummy nop after jump to exit.
77280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
77281 Use correct parm save area and cr save, reduce stack frame.
77282 Correct cfi for possible PSEUDO_RET frame setup.
77283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
77284 Branch to local label emitted by PSEUDO_RET rather than
77285 __syscall_error.
77286
77287 2010-08-12 Andreas Schwab <schwab@redhat.com>
77288
77289 [BZ #11904]
77290 * locale/programs/locale.c (print_assignment): New function.
77291 (show_locale_vars): Use it.
77292
77293 2010-08-11 Ulrich Drepper <drepper@redhat.com>
77294
77295 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
77296 field.
77297 (struct statfs64): Likewise.
77298 (_STATFS_F_FLAGS): Define.
77299 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
77300 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77301 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
77302 (ST_VALID): Define locally.
77303 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
77304 __statvfs_getflags, use the provided value.
77305 * sysdeps/unix/sysv/linux/kernel-features.h: Define
77306 __ASSUME_STATFS_F_FLAGS.
77307
77308 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
77309
77310 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
77311 Add sys/fanotify.h.
77312 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
77313 fanotify_mask for GLIBC_2.13.
77314 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
77315 fanotify_init and fanotify_mark.
77316 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77317 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
77318
77319 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
77320 Add prlimit.
77321 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
77322 prlimit64 for GLIBC_2.13.
77323 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
77324 prlimit64.
77325 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
77326 syscall.
77327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
77328 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77329 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
77330 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
77331 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
77332 add prlimit alias.
77333 * sysdeps/unix/sysv/linux/prlimit.c: New file.
77334
77335 [BZ #11903]
77336 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
77337 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
77338
77339 * nss/Makefile: Add rules to build and run tst-nss-test1.
77340 * shlib-versions: Add entry for libnss_test1.
77341 * nss/nss_test1.c: New file.
77342 * nss/tst-nss-test1.c: New file.
77343
77344 * nss/nsswitch.c (__nss_database_custom): Define new variable.
77345 (__nss_configure_lookup): Set appropriate entry in
77346 __nss_configure_lookup to true.
77347 * nss/nsswitch.h: Define enum with indeces of databases in
77348 databases and __nss_database_custom arrays. Declare
77349 __nss_database_custom.
77350 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
77351 to avoid using nscd when custom rules are installed.
77352 * nss/getXXbyYY_r.c: Likewise.
77353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
77354
77355 * nss/nss_files/files-parse.c: Whitespace fixes.
77356
77357 2010-08-09 Ulrich Drepper <drepper@redhat.com>
77358
77359 [BZ #11883]
77360 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
77361 * posix/fnmatch_loop.c: Likewise.
77362
77363 2010-07-17 Andi Kleen <ak@linux.intel.com>
77364
77365 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
77366 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
77367 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
77368 * Versions.def [GLIBC_2.13]: Add.
77369
77370 2010-08-06 Ulrich Drepper <drepper@redhat.com>
77371
77372 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77373 Also fail if tpwd after pwuid call is NULL.
77374
77375 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
77376
77377 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77378 when converting to ms.
77379
77380 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
77381
77382 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77383 EOPNOTSUPP errors with ENOTTY.
77384 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77385 EOPNOTSUPP errors with ENOTTY.
77386
77387 2010-07-31 Ulrich Drepper <drepper@redhat.com>
77388
77389 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77390 Add strcasecmp_l-ssse3.
77391 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77392 strcasecmp.
77393 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77394 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77395 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77396
77397 2010-07-30 Ulrich Drepper <drepper@redhat.com>
77398
77399 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77400
77401 * string/Makefile (strop-tests): Add strcasecmp.
77402 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77403 strcasecmp_l-nonascii.
77404 (gen-as-const-headers): Add locale-defines.sym.
77405 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77406 * sysdeps/x86_64/strcasecmp.S: New file.
77407 * sysdeps/x86_64/strcasecmp_l.S: New file.
77408 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77409 * sysdeps/x86_64/locale-defines.sym: New file.
77410 * string/test-strcasecmp.c: New file.
77411
77412 * string/test-strcasestr.c: Test both ends of the range of characters.
77413 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77414
77415 2010-07-29 Roland McGrath <roland@redhat.com>
77416
77417 [BZ #11856]
77418 * manual/locale.texi (Yes-or-No Questions): Fix example code.
77419
77420 2010-07-27 Ulrich Drepper <drepper@redhat.com>
77421
77422 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77423 for ld.so.
77424
77425 2010-07-27 Andreas Schwab <schwab@redhat.com>
77426
77427 * manual/memory.texi (Malloc Tunable Parameters): Document
77428 M_PERTURB.
77429
77430 2010-07-26 Roland McGrath <roland@redhat.com>
77431
77432 [BZ #11840]
77433 * configure.in (-fgnu89-inline check): Set and substitute
77434 gnu89_inline, not libc_cv_gnu89_inline.
77435 * configure: Regenerated.
77436 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77437
77438 2010-07-26 Ulrich Drepper <drepper@redhat.com>
77439
77440 * string/test-strnlen.c: New file.
77441 * string/Makefile (strop-tests): Add strnlen.
77442 * string/tester.c (test_strnlen): Add a few more test cases.
77443 * string/tst-strlen.c: Better error reporting.
77444
77445 * sysdeps/x86_64/strnlen.S: New file.
77446
77447 2010-07-24 Ulrich Drepper <drepper@redhat.com>
77448
77449 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77450 lower-latency instructions.
77451
77452 2010-07-23 Ulrich Drepper <drepper@redhat.com>
77453
77454 * string/test-strcasestr.c: New file.
77455 * string/test-strstr.c: New file.
77456 * string/Makefile (strop-tests): Add strstr and strcasestr.
77457 * string/str-two-way.h: Don't undefine MAX.
77458 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77459
77460 2010-07-21 Andreas Schwab <schwab@redhat.com>
77461
77462 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77463 strcasestr-nonascii.
77464 (CFLAGS-strcasestr-nonascii.c): Define.
77465 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77466 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77467 Remove unused attribute.
77468
77469 2010-07-20 Roland McGrath <roland@redhat.com>
77470
77471 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77472 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
77473 ld.so.cache was broken. With it, there is no way to disable dsocaps
77474 like LD_HWCAP_MASK can disable hwcaps.
77475
77476 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
77477
77478 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77479
77480 2010-07-16 Ulrich Drepper <drepper@redhat.com>
77481
77482 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77483 call in strcasestr.
77484 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77485 __strcasestr_sse42_nonascii.
77486 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77487 strcasestr-nonascii.c.
77488 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77489
77490 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
77491
77492 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77493 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77494 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77495 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77496
77497 2010-07-09 Ulrich Drepper <drepper@redhat.com>
77498
77499 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77500 fcntl.
77501
77502 2010-07-06 Andreas Schwab <schwab@redhat.com>
77503
77504 [BZ #11577]
77505 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77506 dl_signal_cerror.
77507
77508 2010-07-06 Ulrich Drepper <drepper@redhat.com>
77509
77510 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77511 _PC_PIPE_BUF using F_GETPIPE_SZ.
77512
77513 2010-07-05 Roland McGrath <roland@redhat.com>
77514
77515 * manual/arith.texi (Rounding Functions): Fix rint description
77516 implicit in round description.
77517
77518 2010-07-02 Ulrich Drepper <drepper@redhat.com>
77519
77520 * elf/Makefile: Fix linking for a few tests to make recent linker
77521 happy.
77522
77523 2010-06-30 Andreas Schwab <schwab@redhat.com>
77524
77525 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77526 $(common-objpfx)libc_nonshared.a.
77527
77528 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
77529
77530 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77531 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77532 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77533 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77534 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77535 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77536 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77537 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77552 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77553 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77554 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77555 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77556 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77557 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77558 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77559 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77560 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77561 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77562 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77563 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77578
77579 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
77580
77581 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77582 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
77583 * string/memmove.c (memmove): Renamed to ...
77584 (MEMMOVE): ...this. Default to memmove.
77585 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77586 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77587 (END_CHK): Define.
77588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77589 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77590 mempcpy-ssse3-back memmove-ssse3-back.
77591 * sysdeps/x86_64/multiarch/bcopy.S: New file .
77592 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77593 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77594 * sysdeps/x86_64/multiarch/memcpy.S: New file.
77595 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77596 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77597 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77598 * sysdeps/x86_64/multiarch/memmove.c: New file.
77599 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77600 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77601 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77602 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77603 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77604 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77605 Define.
77606 (index_Fast_Copy_Backward): Define.
77607 (HAS_ARCH_FEATURE): Define.
77608 (HAS_FAST_REP_STRING): Define.
77609 (HAS_FAST_COPY_BACKWARD): Define.
77610
77611 2010-06-21 Andreas Schwab <schwab@redhat.com>
77612
77613 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77614 Restore proper fallback handling.
77615
77616 2010-06-19 Ulrich Drepper <drepper@redhat.com>
77617
77618 [BZ #11701]
77619 * posix/group_member.c (__group_member): Correct checking loop.
77620
77621 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77622 OOM in getpwuid_r correctly. Return error number when the caller
77623 should return, otherwise -1.
77624 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77625 call returning > 0 value.
77626 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77627
77628 2010-06-07 Andreas Schwab <schwab@redhat.com>
77629
77630 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77631 libc_nonshared.a from targets in modules-names.
77632
77633 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
77634
77635 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77636 requires it.
77637
77638 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
77639
77640 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77641 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77642 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77643 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77644
77645 2010-06-02 Andreas Schwab <schwab@redhat.com>
77646
77647 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77648
77649 2010-06-14 Ulrich Drepper <drepper@redhat.com>
77650
77651 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77652 and F_GETPIPE_SZ.
77653 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77654 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77655 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77657 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77658 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77659
77660 2010-06-14 Roland McGrath <roland@redhat.com>
77661
77662 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77663
77664 2010-06-07 Jakub Jelinek <jakub@redhat.com>
77665
77666 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77667 __REDIRECT followed by __THROW.
77668 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77669 * posix/getopt.h (getopt): Likewise.
77670
77671 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
77672
77673 * hurd/lookup-at.c (__file_name_lookup_at): Accept
77674 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
77675 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77676 in AT_FLAGS.
77677 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77678 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77679
77680 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
77681
77682 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77683
77684 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
77685
77686 [BZ #11640]
77687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77688 Properly check family and model.
77689
77690 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
77691
77692 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77693
77694 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
77695
77696 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77697
77698 2010-05-21 Ulrich Drepper <drepper@redhat.com>
77699
77700 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77701 symbol reference.
77702
77703 2010-05-19 Andreas Schwab <schwab@redhat.com>
77704
77705 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77706 symbol reference.
77707
77708 2010-05-21 Andreas Schwab <schwab@redhat.com>
77709
77710 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77711 and internal_recvmmsg.
77712 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77713 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77714 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77715 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77716
77717 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77718 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77719 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77720
77721 2010-05-20 Andreas Schwab <schwab@redhat.com>
77722
77723 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77724
77725 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
77726
77727 POWER7 optimizations.
77728 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77729 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77730
77731 2010-05-19 Ulrich Drepper <drepper@redhat.com>
77732
77733 * version.h: Update for 2.13 development version.
77734
77735 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
77736
77737 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77738 exceptions. Return 0.
77739
77740 2010-05-07 Roland McGrath <roland@redhat.com>
77741
77742 * elf/ldconfig.c (main): Add a const.
77743
77744 2010-05-06 Ulrich Drepper <drepper@redhat.com>
77745
77746 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77747 (args_options): Add no-idn option.
77748 (ahosts_keys_int): Add idn_flags to ai_flags.
77749 (parse_option): Handle 'i' option to clear idn_flags.
77750
77751 * malloc/malloc.c (_int_free): Possible race in the most recently
77752 added check. Only act on the data if no current modification
77753 happened.
77754
77755 See ChangeLog.17 for earlier changes.