]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
MIPS: Add `.insn' to ensure a text label is defined as code not data
[thirdparty/glibc.git] / ChangeLog
1 2016-11-23 Matthew Fortune <Matthew.Fortune@imgtec.com>
2 Maciej W. Rozycki <macro@imgtec.com>
3
4 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
5 `.Lno_weak_fn' label.
6 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
7 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
8
9 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
10
11 [BZ #20847]
12 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13 array bounds.
14 (__execvpe): Likewise.
15
16 2016-11-15 Denis Kaganovich <mahatma@eu.by>
17 Magnus Granberg <zorry@gentoo.org>
18 Mike Frysinger <vapier@gentoo.org>
19
20 [BZ #20662]
21 * configure.ac (libc_cv_predef_stack_protector): Also check for
22 __stack_chk_fail_local symbols.
23 * configure: Regenerated.
24
25 2016-11-03 Joseph Myers <joseph@codesourcery.com>
26
27 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
28 $(linknamespace-symlists-tests).
29
30 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
31
32 * iconv/gconv.h (__gconv_info): Define __data element using a
33 zero-length array.
34
35 2016-10-25 Joseph Myers <joseph@codesourcery.com>
36
37 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
38 instead of cmpli.
39 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
40 instead of cmpli.
41
42 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
43
44 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
45 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
46 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
47 SYSCALL_LL64_PRW.
48 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
49 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
50 __ASSUME_PRW_DUMMY_ARG.
51 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
52 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
53 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
54 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
55 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
56 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
57
58 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59
60 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
61
62 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
63
64 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
65 all signals when executing the clone vfork child.
66 (SIGALL_SET): Remove macro.
67
68 * nptl/Makefile (tests): Add tst-exec5.
69 * nptl/tst-exec5.c: New file.
70 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
71 asynchronous cancellation.
72
73 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74
75 [BZ #20615]
76 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
77 fpu directory by non-fpu.
78 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
79 on non-fpu directory from a fpu directory.
80
81 2016-09-02 Roland McGrath <roland@hack.frob.com>
82
83 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.24 A.
84
85 * sysdeps/nacl/dup.c: Add libc_hidden_def.
86
87 2016-09-02 Roland McGrath <roland@hack.frob.com>
88
89 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
90 not any more.
91
92 2016-09-02 Roland McGrath <roland@hack.frob.com>
93
94 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
95
96 2016-08-17 Florian Weimer <fweimer@redhat.com>
97
98 Reduce time to expected nptl/tst-once5 failure.
99 * nptl/tst-once5.cc (TIMEOUT): Define.
100
101 2016-08-18 Florian Weimer <fweimer@redhat.com>
102
103 [BZ #16907]
104 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
105 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
106 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
107 (__attribute__): Remove definition.
108
109 2016-08-15 Andreas Schwab <schwab@suse.de>
110
111 [BZ #20435]
112 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
113 as .cantunwind.
114
115 2016-08-17 Florian Weimer <fweimer@redhat.com>
116
117 [BZ #20452]
118 Avoid additional copies of objects in libc.a in static libraries.
119 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
120 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
121 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
122 rt-sysdep.
123 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
124 Add nptl-sysdep.
125 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
126 Add ptw-sysdep.
127 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
128 rt-sysdep.
129 * sysdeps/unix/sysv/linux/alpha/Makefile
130 (libpthread-shared-only-routines): Add ptw-sysdep,
131 ptw-sigprocmask, ptw-rt_sigaction.
132 * sysdeps/unix/sysv/linux/ia64/Makefile
133 (librt-shared-only-routines): Add rt-sysdep.
134 * sysdeps/unix/sysv/linux/i386/Makefile
135 (libpthread-shared-only-routines): Add libc-do-syscall.
136 * sysdeps/unix/sysv/linux/microblaze/Makefile
137 (libpthread-shared-only-routines): Add sysdep.
138 * sysdeps/unix/sysv/linux/powerpc/Makefile
139 (librt-shared-only-routines): Add rt-sysdep.
140 (libpthread-shared-only-routines): Add sysdep.
141 * sysdeps/unix/sysv/linux/s390/Makefile
142 (librt-shared-only-routines): Add rt-sysdep.
143 * sysdeps/unix/sysv/linux/sparc/Makefile
144 (librt-shared-only-routines): Add rt-sysdep.
145 (libpthread-shared-only-routines): Add sysdep.
146 * sysdeps/unix/sysv/linux/tile/Makefile
147 (libpthread-shared-only-routines): Likewise.
148
149 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
150
151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
152 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
153 Remove s_fdimf-vis3, s_fdim-vis3.
154 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
155 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
162 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
163 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
164
165 2016-08-02 David S. Miller <davem@davemloft.net>
166
167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
168 (__nearbyint_vis3): Don't check for sNaN before float register is
169 loaded with the incoming argument.
170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
171 (__nearbyintf_vis3): Likewise.
172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
173 Likewise.
174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
175 Likewise.
176
177 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
178
179 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
180 by beq instructions jumping to the end of the function.
181 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
182 clobber list. Use "i" constraint instead of "X".
183 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
184 of "X".
185
186 2016-08-04 Carlos O'Donell <carlos@redhat.com>
187
188 * po/de.po: Update from Translation Project.
189 * po/fi.po: Likewise.
190 * po/sv.po: Likewise.
191
192 2016-08-02 Florian Weimer <fweimer@redhat.com>
193
194 [BZ #20370]
195 * malloc/arena.c (get_free_list): Update comment. Assert that
196 arenas on the free list have no attached threads.
197 (remove_from_free_list): New function.
198 (reused_arena): Call it.
199
200 2016-08-04 Florian Weimer <fweimer@redhat.com>
201
202 Use sysdep.o from libc.a in static libraries.
203 * sysdeps/unix/sysv/linux/i386/Makefile
204 (libpthread-shared-only-routines): Add sysdep.
205 (librt-shared-only-routines): Likewise.
206
207 2016-08-01 Carlos O'Donell <carlos@redhat.com>
208
209 * version.h (RELEASE): Set to "stable"
210 (VERSION): Set to 2.24.
211 * include/features.h (__GLIBC_MINOR__): Set to 24.
212
213 * NEWS: Add 2.24 fixed bugs.
214 * po/libc.pot: Regenerate.
215
216 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
217
218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
219 [$(subdir) = math] (libm-sysdep_routines): Remove.
220 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
221 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
222 s_truncf-vis3, s_trunc-vis3.
223 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
225 file.
226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
247 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
248 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
255 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
258 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
259 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
260 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
261 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
262 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
263 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
264 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
265 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
266 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
267 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
268 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
269
270 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
271
272 [BZ #20384]
273 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
274 test-double-libmvec-sincos-avx-main.o,
275 test-double-libmvec-sincos-avx2-main.o,
276 test-double-libmvec-sincos-main.o,
277 test-float-libmvec-sincosf-avx-main.o,
278 test-float-libmvec-sincosf-avx2-main.o and
279 test-float-libmvec-sincosf-main.o.
280 test-float-libmvec-sincosf-avx512-main.o.
281 ($(objpfx)test-double-libmvec-sincos): Also link with
282 $(objpfx)test-double-libmvec-sincos-main.o.
283 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
284 $(objpfx)test-double-libmvec-sincos-avx-main.o.
285 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
286 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
287 ($(objpfx)test-float-libmvec-sincosf): Also link with
288 $(objpfx)test-float-libmvec-sincosf-main.o.
289 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
290 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
291 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
292 test-double-libmvec-sincos-avx512-main.o and
293 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
294 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
295 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
296 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
297 (CFLAGS-test-double-libmvec-sincos.c): Removed.
298 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
299 (CFLAGS-test-double-libmvec-sincos-main.c): New.
300 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
301 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
302 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
303 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
304 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
305 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
306 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
307 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
308 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
309 -DREQUIRE_AVX2.
310 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
311 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
312 -DREQUIRE_AVX512F.
313 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
314 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
315 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
316 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
317 file.
318 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
319 Likewise.
320 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
321 Likewise.
322 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
323 Likewise.
324 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
325 Likewise.
326 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
327 Likewise.
328 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
329 Likewise.
330 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
331 Likewise.
332
333 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
334
335 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
336
337 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
338
339 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
340 and typo in a comment about AT_HWCAP entry.
341
342 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
343
344 * sysdeps/aarch64/libm-test-ulps: Updated.
345
346 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
347
348 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
349 of r13 as it is not restored in mvcle case.
350
351 2016-07-19 Mike Frysinger <vapier@gentoo.org>
352
353 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
354 Rename "ret" to "__ret".
355 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
356 inline_syscall5, inline_syscall6): Likewise.
357
358 2016-07-19 Will Newton <will.newton@gmail.com>
359
360 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
361 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
362 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
363 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
364 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
365
366 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
367
368 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
369 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
370 -mfpmath=387 with $(rtld-CFLAGS).
371 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
372 $(rtld-CFLAGS).
373
374 2016-07-18 Ross Burton <ross.burton@intel.com>
375 Khem Raj <raj.khem@gmail.com>
376
377 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
378 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
379 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
380 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
381 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
382 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
383 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
384 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
385 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
386 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
387 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
388 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
389 R_METAG_TLS_DTPOFF): New.
390
391 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
392 Matt Clay <mclay@lycos.com>
393
394 [BZ #20357]
395 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
396 to call __mpsin/__mpcos and to negate values.
397 * math/auto-libm-test-in: Add test.
398 * math/auto-libm-test-out: Regenerate.
399
400 2016-07-18 Zack Weinberg <zackw@panix.com>
401
402 * grp/Makefile: Don't install the internal header grp-merge.h.
403
404 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
405
406 * sysdeps/aarch64/libm-test-ulps: Regenerated.
407
408 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
409
410 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
411
412 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
413
414 [BZ #15368]
415 * sysdeps/unix/sysv/linux/nptl-signals.h
416 (__nptl_clear_internal_signals): New function.
417 (__libc_signal_block_all): Likewise.
418 (__libc_signal_block_app): Likewise.
419 (__libc_signal_restore_set): Likewise.
420 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
421 implementation.
422 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
423 the cached pid/tid value in pthread structure.
424
425 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
426
427 [BZ #20347]
428 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
429
430 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
431
432 [BZ #20348]
433 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
434 preadv64, pwrite64 and pwritev64.
435
436 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
437
438 [BZ #20350]
439 * posix/tst-preadwrite.c: Renamed to ...
440 * posix/tst-preadwrite-common.c: This.
441 (PREAD): Removed.
442 (PWRITE): Likewise.
443 (STRINGIFY): Likewise.
444 (STRINGIFY2): Likewise.
445 (do_prepare): Make it static and remove function arguments.
446 (do_test): Likewise.
447 (PREPARE): Updated.
448 (TEST_FUNCTION): New.
449 (name): Make it static.
450 (fd): Likewise.
451 (do_prepare): Use create_temp_file.
452 (do_test): Renamed to ...
453 (do_test_with_offset): This. Make it static and accept offset.
454 Properly check return value of PWRITE and PREAD. Return bytes
455 read. Don't close fd nor unlink name.
456 * posix/tst-preadwrite.c: Rewrite.
457 * posix/tst-preadwrite64.c: Likewise.
458
459 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
460
461 [BZ #20309]
462 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
463 -mtls-dialect=gnu2 works.
464 * configure: Regenerated.
465 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
466 (tests): Add tst-gnu2-tls1.
467 (modules-names): Add tst-gnu2-tls1mod.
468 ($(objpfx)tst-gnu2-tls1): New.
469 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
470 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
471 * elf/tst-gnu2-tls1.c: New file.
472 * elf/tst-gnu2-tls1mod.c: Likewise.
473 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
474 bytes for push in the PLT entry to align the stack.
475
476 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
477
478 [BZ #20349]
479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
480
481 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
482
483 [BZ #18707]
484 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
485 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
486
487 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
488
489 * sysdeps/unix/sysv/linux/sysdep.h
490 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
491 guards.
492 * misc/tst-preadvwritev-common.c: New file.
493 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
494 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
495 a check for files larger than 2GB.
496
497 * sysdeps/unix/sysv/linux/mips/kernel-features.h
498 (__ASSUME_OFF_DIFF_OFF64): Remove define.
499 * sysdeps/unix/sysv/linux/pread.c
500 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
501 __OFF_T_MATCHES_OFF64_T.
502 * sysdeps/unix/sysv/linux/pread64.c
503 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
504 * sysdeps/unix/sysv/linux/preadv.c
505 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
506 * sysdeps/unix/sysv/linux/preadv64.c
507 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
508 * sysdeps/unix/sysv/linux/pwrite.c
509 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
510 * sysdeps/unix/sysv/linux/pwrite64.c
511 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
512 * sysdeps/unix/sysv/linux/pwritev.c
513 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
514 * sysdeps/unix/sysv/linux/pwritev64.c
515 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
516
517 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
518
519 * sysdeps/unix/sysv/linux/tile/kernel-features.h
520 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
521
522 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
523
524 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
525
526 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
527
528 [BZ #20240]
529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
530 (CFLAGS-s_modf-ppc32.c): New variable.
531 (CFLAGS-s_modff-ppc32.c): Likewise.
532 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
533 (CFLAGS-s_modf-ppc64.c): Likewise.
534 (CFLAGS-s_modff-ppc64.c): Likewise.
535
536 2016-07-07 Andreas Schwab <schwab@suse.de>
537
538 [BZ #20263]
539 * nptl/tst-robust10.c: New test.
540 * nptl/Makefile (tests): Add tst-robust10.
541
542 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
543
544 [BZ #20263]
545 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
546
547 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
548
549 * sysdeps/s390/linkmap.h (struct link_map_machine):
550 Remove member gotplt and add member jmprel.
551 * sysdeps/s390/s390-32/dl-machine.h
552 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
553 instead of gotplt with &got[3].
554 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
555 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
556
557 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
558
559 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
560
561 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
562
563 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
564 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
565 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
566 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
567 * libio/vtables.c (_IO_vtable_check)
568 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
569 * libio/libioP.h (IO_set_accept_foreign_vtables)
570 [!PTR_MANGLE]: Do not call PTR_MANGLE.
571
572 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
573
574 [BZ #20314]
575 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
576 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
577 $(common-objpfx)cmath.
578 ($(common-objpfx)cstdlib): New target.
579 ($(common-objpfx)cmath): Likewise.
580
581 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
582
583 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
584
585 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
586
587 [BZ #20327]
588 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
589 are not part of the string.
590
591 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
592
593 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
594 * nptl/tst-cancel4-common.h (fifoname): New variable.
595 (fifofd): Likewise.
596 (cl_fifo): New function.
597 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
598 SIGINT.
599 (tf_open): Add early cancel test.
600
601 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
602
603 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
604
605 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
606
607 * sysdeps/generic/ldsodefs.h
608 (dl_symbol_visibility_binds_local_p): New inline function.
609 * elf/dl-addr.c (determine_info): Treat hidden and internal
610 symbols as local.
611 * elf/dl-lookup.c (do_lookup_x): Likewise.
612 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
613
614 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
615
616 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
617 invalid exception for a sNaN input.
618 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
619 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
620 (__nearbyint_vis3): Likewise
621 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
622 (__nearbyintf_vis3): Likewise
623 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
624 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
625 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
626 Likewise.
627 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
628 Likewise.
629
630 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
631
632 [BZ #20139]
633 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
634 (HAVE_AVX512DQ_ASM_SUPPORT): This.
635 * sysdeps/x86_64/configure.ac: Require assembler from binutils
636 2.24 or above.
637 (HAVE_AVX512_ASM_SUPPORT): Removed.
638 (HAVE_AVX512DQ_ASM_SUPPORT): New.
639 * sysdeps/x86_64/configure: Regenerated.
640 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
641 check unconditional.
642 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
643 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
644 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
645 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
646 Likewise.
647 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
648 Likewise.
649 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
650 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
651 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
652 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
653 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
654 Likewise.
655 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
656 Likewise.
657 * sysdeps/x86_64/multiarch/memset.S: Likewise.
658 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
659 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
660 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
661 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
662 Likewise.
663 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
664 Likewise.
665 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
666 Likewise.
667 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
668 Likewise.
669 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
670 Likewise.
671 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
672 Likewise.
673 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
674 Likewise.
675 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
676 Likewise.
677 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
678 Likewise.
679 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
680 Likewise.
681 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
682 Likewise.
683
684 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
685
686 [BZ #20024]
687 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
688 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
689 of this implementation of vector function.
690 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
691 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
692 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
693 Likewise.
694 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
695 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
696 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
697 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
698 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
699 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
700 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
701 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
702 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
703 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
704 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
705 for testing vector sincos with fixed ABI.
706 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
707 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
708 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
709 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
710 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
711 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
712 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
713 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
714 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
715 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
716 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
717 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
718 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
719 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
720 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
721 * sysdeps/x86_64/fpu/Makefile: Added new tests.
722
723 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
724
725 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
726
727 2016-06-30 Anton Blanchard <anton@samba.org>
728
729 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
730 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
731 s_sinf-ppc64.
732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
735 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
736
737 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
738
739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
740 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
741 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
742 e_expf-ppc64.
743 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
744 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
745 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
746 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
747
748 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
749
750 [BZ #20277]
751 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
752 when SHARED is defined.
753
754 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
755
756 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
757 (index_arch_Prefer_ERMS): Likewise.
758 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
759 __memcpy_erms for Prefer_ERMS.
760 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
761 (__memmove_erms): Enabled for libc.a.
762 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
763 __memmove_erms or Prefer_ERMS.
764 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
765 __mempcpy_erms for Prefer_ERMS.
766 * sysdeps/x86_64/multiarch/memset.S (memset): Return
767 __memset_erms for Prefer_ERMS.
768
769 2016-06-30 Andreas Schwab <schwab@suse.de>
770
771 [BZ #20262]
772 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
773 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
774 of memory.
775
776 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
777
778 [BZ #18645]
779 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
780 (test-extras): Add tst-cleanupx4aux.
781 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
782 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
783 tst-cleanupx4aux.o.
784 * nptl/tst-cleanupx4aux.c: New file.
785
786 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
787
788 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
789
790 2016-06-29 Andreas Schwab <schwab@suse.de>
791
792 [BZ #20260]
793 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
794 address before the beginning of the string as an integer to avoid
795 array-bounds warning.
796
797 2016-06-28 Richard Henderson <rth@redhat.com>
798
799 * elf/elf.h (EM_BPF): New.
800 (EM_NUM): Update.
801 (R_BPF_NONE, R_BPF_MAP_FD): New.
802
803 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
804 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
805 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
806 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
807 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
808 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
809 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
810 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
811 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
812 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
813 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
814 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
815 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
816 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
817 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
818 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
819 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
820 (EM_NUM): Update.
821
822 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
823
824 [BZ #18960]
825 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
826 Set _nl_current_LC_CATEGORY_used to two instead of one.
827
828 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
829
830 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
831 (do_test): ... this.
832 (TEST_FUNCTION): New macro.
833 Include test-skeleton.c.
834 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
835 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
836
837 2016-06-27 Joseph Myers <joseph@codesourcery.com>
838
839 [BZ #15479]
840 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
841 floating-point environment rather than just control word.
842 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
843 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
844 floating-point environment, with "invalid" exceptions merged in,
845 rather than just control word.
846 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
847 * math/libm-test.inc (trunc_test_data): Do not allow spurious
848 "inexact" exceptions.
849
850 [BZ #15479]
851 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
852 floating-point environment rather than just control word.
853 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
854 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
855 floating-point environment, with "invalid" exceptions merged in,
856 rather than just control word.
857 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
858 * math/libm-test.inc (floor_test_data): Do not allow spurious
859 "inexact" exceptions.
860
861 [BZ #15479]
862 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
863 floating-point environment rather than just control word.
864 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
865 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
866 floating-point environment, with "invalid" exceptions merged in,
867 rather than just control word.
868 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
869 * math/libm-test.inc (ceil_test_data): Do not allow spurious
870 "inexact" exceptions.
871
872 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
873
874 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
875 __libc_vfork.
876 (__vfork) [IS_IN (libc)]: Remove alias.
877 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
878 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
879 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
880
881 2016-06-24 Torvald Riegel <triegel@redhat.com>
882
883 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
884 of atomic_compare_and_exchange_bool_rel.
885 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
886 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
887 catomic_compare_and_exchange_bool_rel): Remove.
888 * sysdeps/aarch64/atomic-machine.h
889 (atomic_compare_and_exchange_bool_rel): Likewise.
890 * sysdeps/alpha/atomic-machine.h
891 (atomic_compare_and_exchange_bool_rel): Likewise.
892 * sysdeps/arm/atomic-machine.h
893 (atomic_compare_and_exchange_bool_rel): Likewise.
894 * sysdeps/mips/atomic-machine.h
895 (atomic_compare_and_exchange_bool_rel): Likewise.
896 * sysdeps/microblaze/atomic-machine.h
897 ( __arch_compare_and_exchange_bool_8_rel,
898 __arch_compare_and_exchange_bool_16_rel): Likewise.
899 * sysdeps/powerpc/atomic-machine.h
900 ( __arch_compare_and_exchange_bool_8_rel,
901 __arch_compare_and_exchange_bool_16_rel): Likewise.
902 * sysdeps/powerpc/powerpc32/atomic-machine.h
903 ( __arch_compare_and_exchange_bool_32_rel,
904 __arch_compare_and_exchange_bool_64_rel): Likewise.
905 * sysdeps/powerpc/powerpc64/atomic-machine.h
906 ( __arch_compare_and_exchange_bool_32_rel,
907 __arch_compare_and_exchange_bool_64_rel): Likewise.
908 * sysdeps/tile/atomic-machine.h
909 (atomic_compare_and_exchange_bool_rel): Likewise.
910
911 2016-06-23 Joseph Myers <joseph@codesourcery.com>
912
913 [BZ #20296]
914 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
915 when either argument is a NaN.
916 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
917 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
918
919 * math/libm-test.inc (snan_value_ld): New macro.
920 (isgreater_test_data): Add sNaN tests.
921 (isgreaterequal_test_data): Likewise.
922 (isless_test_data): Likewise.
923 (islessequal_test_data): Likewise.
924 (islessgreater_test_data): Likewise.
925 (isunordered_test_data): Likewise.
926 (nextafter_test_data): Likewise.
927 (nexttoward_test_data): Likewise.
928 (remainder_test_data): Likewise.
929 (remquo_test_data): Likewise.
930 (significand_test_data): Likewise.
931 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
932
933 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
934
935 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
936 environment macros are defined.
937 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
938
939 2016-06-23 Florian Weimer <fweimer@redhat.com>
940
941 [BZ #20191]
942 Implement vtable verification in libio.
943 * Makerules (shlib.lds): Place __libc_IO_vtables section.
944 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
945 * debug/vdprintf_chk.c (__vdprintf_chk): Call
946 _IO_new_file_init_internal instead of _IO_file_init.
947 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
948 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
949 * libio/Makefile (routines): Add vtables.
950 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
951 (_IO_init): Remove, not for internal use.
952 (_IO_init_internal): Declare, internal replacement for _IO_init.
953 (_IO_file_init): Remove, not for internal use.
954 (_IO_new_file_init): Remove, not for internal use.
955 (_IO_new_file_init_internal): Declare, internal replacement for
956 _IO_new_file_init.
957 (_IO_old_file_init): Remove, not for internal use.
958 (_IO_old_file_init_internal): Declare, internal replacement for
959 _IO_old_file_init.
960 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
961 internal use.
962 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
963 Declare.
964 (libio_vtable): New macro.
965 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
966 functions.
967 * libio/fileops.c (_IO_new_file_init_internal): Rename from
968 _IO_new_file_init.
969 (_IO_new_file_init): New externally visible wrapper which disables
970 vtable verification.
971 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
972 Define as vtables.
973 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
974 (_IO_init): New externally visible wrapper which disables
975 vtable verification.
976 * libio/iofdopen.c (_IO_new_fdopen): Call
977 _IO_new_file_init_internal instead of _IO_file_init. Adjust
978 comment.
979 * libio/iofopen.c (__fopen_internal): Call
980 _IO_new_file_init_internal instead of _IO_file_init.
981 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
982 Define as vtables.
983 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
984 _IO_new_file_init_internal instead of _IO_file_init.
985 * libio/iopopen.c (_IO_new_popen): Likewise.
986 (_IO_proc_jumps): Define as vtable.
987 * libio/iovdprintf.c (_IO_vdprintf): Call
988 _IO_new_file_init_internal instead of _IO_file_init.
989 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
990 (__open_memstream): Call _IO_init_internal instead of _IO_init.
991 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
992 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
993 _IO_old_file_init.
994 (_IO_old_file_init): New externally visible wrapper which disables
995 vtable verification.
996 (_IO_old_file_jumps): Define as vtable.
997 * libio/oldiofdopen.c (_IO_old_fdopen): Call
998 _IO_old_file_init_internal instead of _IO_old_file_init.
999 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1000 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1001 (_IO_old_proc_jumps): Define as vtable.
1002 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
1003 Define as vtables.
1004 * libio/vtables.c: New file.
1005 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
1006 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
1007 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
1008 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
1009 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
1010 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
1011 instead of _IO_init.
1012
1013 2016-06-23 Florian Weimer <fweimer@redhat.com>
1014
1015 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
1016
1017 2016-06-23 Florian Weimer <fweimer@redhat.com>
1018
1019 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
1020 potentially unused.
1021
1022 2016-06-22 Florian Weimer <fweimer@redhat.com>
1023
1024 * test-skeleton.c (write_message): New function.
1025 * malloc/tst-mallocfork2.c (write_message): Remove.
1026 * debug/tst-longjmp_chk2.c (write_indented): New function.
1027 (write_message): Remove.
1028 (stackoverflow_handler): Call write_indented.
1029
1030 2016-06-22 Joseph Myers <joseph@codesourcery.com>
1031
1032 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
1033 "inexact" exceptions after fnstenv.
1034 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1035 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1036 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1037
1038 2015-06-22 Zack Weinberg <zackw@panix.com>
1039
1040 * sysdeps/generic/bits/hwcap.h: Moved to ...
1041 * bits/hwcap.h: Here.
1042
1043 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
1044
1045 * sysdeps/aarch64/memcpy.S (memcpy):
1046 Further tuning for performance.
1047
1048 2016-06-21 Florian Weimer <fweimer@redhat.com>
1049
1050 [BZ #20284]
1051 * malloc/arena.c (reused_arena): Do not return NULL if we start
1052 out with a non-corrupted arena.
1053
1054 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1055
1056 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
1057 * misc/tst-preadvwritev.c: New file.
1058 * misc/tst-preadvwritev64.c: Likewise.
1059 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
1060 usage.
1061 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1062 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1063 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1064 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
1065
1066 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
1067
1068 [BZ #19654]
1069 * sysdeps/x86_64/fpu/Makefile: Added new tests.
1070 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
1071 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
1072 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
1073 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
1074 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
1075 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
1076 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
1077 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
1078 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
1079 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1080 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1081 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1082 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1083 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1084 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1085 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1086 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1087 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1088 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1089 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1090 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1091 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1092 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
1093 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
1094 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
1095
1096 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1097
1098 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
1099 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
1100
1101 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1102
1103 * sysdeps/aarch64/memcpy.S (memcpy):
1104 Rewrite of optimized memcpy and memmove.
1105 * sysdeps/aarch64/memmove.S (memmove): Remove
1106 memmove code (merged into memcpy.S).
1107
1108 2016-06-20 Florian Weimer <fweimer@redhat.com>
1109
1110 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
1111 * sysdeps/generic/dl-dtv.h: New file.
1112 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1113 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
1114 (dtv_t): Remove.
1115 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1116 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
1117 (dtv_t): Remove.
1118 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1119 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
1120 (dtv_t): Remove.
1121 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1122 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
1123 (dtv_t): Remove.
1124 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1125 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
1126 (dtv_t): Remove.
1127 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1128 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
1129 (dtv_t): Remove.
1130 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1131 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
1132 (dtv_t): Remove.
1133 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
1134 (dtv_t): Remove.
1135 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1136 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
1137 (dtv_t): Remove.
1138 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1139 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
1140 (dtv_t): Remove.
1141 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1142 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
1143 (dtv_t): Remove.
1144 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1145 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
1146 (dtv_t): Remove.
1147 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1148 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
1149 (dtv_t): Remove.
1150 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1151 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
1152 (dtv_t): Remove.
1153 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1154 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
1155 (dtv_t): Remove.
1156 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1157 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
1158 (dtv_t): Remove.
1159
1160 2016-06-20 Florian Weimer <fweimer@redhat.com>
1161
1162 Revert symbol poisoning of __malloc_initialize_hook.
1163 * include/stdc-predef.h (__malloc_initialize_hook): Remove
1164 poisoning.
1165 * malloc/Makefile: Remove un-poisoning.
1166 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
1167 instead of old__malloc_initialize_hook.
1168 * malloc/malloc-hooks.h: Likewise.
1169 * malloc/malloc.c: Likewise.
1170 * malloc/mcheck-init.c: Likewise.
1171
1172 2016-06-19 Carlos O'Donell <carlos@redhat.com>
1173
1174 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
1175
1176 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
1177
1178 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
1179 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
1180 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1181 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1182
1183 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1184
1185 * NEWS: Mention addition of nextup and nextdown.
1186 * manual/arith.texi: Document nextup and nextdown.
1187 * manual/libm-err-tab.pl: Add nextup and nextdown.
1188 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
1189 * math/Versions (libm): Add GLIBC_2.24.
1190 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
1191 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1192 Add new test.
1193 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
1194 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
1195 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
1196 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
1197 (nextup_test_data): Likewise.
1198 (nextdown_test_data): Likewise.
1199 * math/s_nextdown.c: New file.
1200 * math/s_nextdownf.c: Likewise.
1201 * math/s_nextdownl.c: Likewise.
1202 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
1203 F(nextup): New function.
1204 F(nextdown): Likewise.
1205 * math/tgmath.h: Add nextup and nextdown.
1206 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1207 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1208 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1209 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1210 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1211 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1212 Add nextup and nextdown.
1213 (CFLAGS-nldbl-nextup.c): New variable.
1214 (CFLAGS-nldbl-nextdown.c): Likewise.
1215 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1216 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1217 * sysdeps/nacl/libm.abilist: Update.
1218 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1219 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1220 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1221 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1222 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1223 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1224 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1225 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1226 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1227 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1228 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1229 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1232 Likewise.
1233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1235 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1236 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1237 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1238 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1239 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1242 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1243 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1244 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1245 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1246
1247 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1248
1249 * manual/pattern.texi: Fix typos & grammar errors.
1250
1251 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1252
1253 * manual/search.texi: Fix typos & grammar errors.
1254
1255 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1256
1257 * manual/message.texi: Fix typos & grammar errors.
1258
1259 2016-06-16 Mike Frysinger <vapier@gentoo.org>
1260
1261 * manual/contrib.texi: Fix spelling typos.
1262 * manual/crypt.texi: Likewise.
1263 * manual/filesys.texi: Likewise.
1264 * manual/locale.texi: Likewise.
1265 * manual/message.texi: Likewise.
1266 * manual/nss.texi: Likewise.
1267 * manual/string.texi: Likewise.
1268
1269 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1270
1271 * manual/locale.texi: Fix typos & grammar errors.
1272
1273 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1274
1275 * manual/charset.texi: Fix typos & grammar errors.
1276
1277 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1278
1279 * manual/string.texi: Fix typos.
1280
1281 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1282
1283 * manual/ctype.texi: Fix typos.
1284
1285 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1286
1287 * manual/memory.texi: Fix various typos & grammar errors.
1288
1289 2016-06-14 Joseph Myers <joseph@codesourcery.com>
1290
1291 [BZ #20255]
1292 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
1293 * math/libm-test.inc (fdim_test_data): Add another test.
1294
1295 [BZ #6796]
1296 [BZ #20255]
1297 [BZ #20256]
1298 * math/s_fdim.c: Include <math_private.h>.
1299 (__fdim): Use math_narrow_eval on result.
1300 * math/s_fdimf.c: Include <math_private.h>.
1301 (__fdimf): Use math_narrow_eval on result.
1302 * sysdeps/i386/fpu/s_fdim.S: Remove file.
1303 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1304 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1305 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1306 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1307 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1308 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1309 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1310 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1311 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1312 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1313 * math/libm-test.inc (fdim_test_data): Expect errno setting on
1314 overflow. Add sNaN tests.
1315
1316 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1317 fpclassify.
1318 * math/s_fdimf.c (__fdimf): Likewise.
1319 * math/s_fdiml.c (__fdiml): Likewise.
1320
1321 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1322
1323 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1324 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1326 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1327 ifunc'ed strcasecmp/strncasecmp.
1328 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1329 [EALIGN]: Removed.
1330 [END]: Likewise.
1331 [__strcasecmp]: Define instead of the above to control symbol name.
1332 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1333 for __strcasecmp_power8.
1334 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1335 for __strncasecmp_power8.
1336 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1337 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1338 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1339 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1340 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1341 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1342
1343 2016-06-13 Joseph Myers <joseph@codesourcery.com>
1344
1345 [BZ #20252]
1346 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1347 arguments when second argument is a NaN.
1348 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1349 qNaN tests.
1350
1351 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1352 (conj_test_data): Likewise.
1353 (copysign_test_data): Likewise.
1354 (creal_test_data): Likewise.
1355 (fma_test_data): Likewise.
1356 (fmod_test_data): Likewise.
1357
1358 [BZ #20250]
1359 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
1360 itself.
1361 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
1362 zero input to itself.
1363 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
1364 Likewise.
1365 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
1366 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
1367 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1368 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
1369 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
1370
1371 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1372
1373 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
1374 * nptl/tst-cancel4-common.c: New file.
1375 * nptl/tst-cancel4-common.h: Likewise.
1376 * nptl/tst-cancel4.c: Move common definitions to
1377 tst-cancel4-common.{c,h} file.
1378 * nptl/tst-cancel4_1.c: New test.
1379 * nptl/tst-cancel4_2.c: New test.
1380
1381 2016-06-13 Florian Weimer <fweimer@redhat.com>
1382
1383 [BZ #20248]
1384 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
1385 (write_message): New function.
1386 (stackoverflow_handler): Call it instead of printf, to avoid
1387 excessive stack usage by printf.
1388 (do_test): Restore SIGSEGV, SIGBUS default handlers.
1389
1390 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1391
1392 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
1393 (prio_inherit_missing): Remove define.
1394 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1395 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1396 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
1397 Likewise.
1398 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1399 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1400 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1401 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1402 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1403 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1404
1405 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1406
1407 [BZ #19670]
1408 [BZ #19672]
1409
1410 * io/test-lfs.c (do_prepare): Use xmalloc.
1411 * io/tst-fcntl.c (do_prepare): Likewise.
1412 * libio/tst-fopenloc.c (do_bz17916): Likewise.
1413 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
1414 * login/tst-utmp.c (do_prepare): Likewise.
1415 * posix/tst-exec.c (do_prepare): Likewise.
1416 * posix/tst-pathconf.c (prepare): Likewise.
1417 * posix/tst-spawn.c (do_prepare): Likewise.
1418 * posix/tst-truncate.c (do_prepare): Likewise.
1419 * rt/tst-aio.c (do_prepare): Likewise.
1420 * rt/tst-aio64.c (do_prepare): Likewise.
1421
1422 2016-06-11 Florian Weimer <fweimer@redhat.com>
1423
1424 [BZ #20237]
1425 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
1426 (get*ent): Set entidx to NULL during initialization. If entidx is
1427 NULL, start iteration from the beginning.
1428
1429 2016-06-11 Florian Weimer <fweimer@redhat.com>
1430
1431 * malloc/malloc.c (musable): Return correct size for dumped fake
1432 mmapped chunk.
1433
1434 2016-06-11 Florian Weimer <fweimer@redhat.com>
1435
1436 [BZ #20222]
1437 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
1438 (_IO_cookie_write): Likewise.
1439 (_IO_cookie_seek): Likewise.
1440 (_IO_cookie_close): Likewise.
1441 (_IO_old_cookie_seek): Likewise.
1442 (set_callbacks): New function.
1443 (_IO_cookie_init): Call set_callbacks to copy callbacks.
1444
1445 2016-06-11 Marko Myllynen <myllynen@redhat.com>
1446
1447 * locale/programs/localedef.c (oldstyle_tables): Remove.
1448 * locale/programs/localedef.h (oldstyle_tables): Likewise.
1449
1450 2016-06-10 Joseph Myers <joseph@codesourcery.com>
1451
1452 [BZ #20240]
1453 * math/Makefile (CFLAGS-s_modf.c): New variable.
1454 (CFLAGS-s_modff.c): Likewise.
1455 (CFLAGS-s_modfl.c): Likewise.
1456 * math/libm-test.inc (modf_test_data): Add sNaN tests.
1457
1458 2016-06-09 Carlos O'Donell <carlos@redhat.com>
1459
1460 [BZ #20215]
1461 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1462 [!__GNUC_PREREQ (3,2)]: Likewise.
1463
1464 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
1465
1466 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1467 (msghdr.msg_controllen): Likewise.
1468 (cmsghdr.cmsg_len): Likewise.
1469 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1470 ptw-oldsendmsg.
1471 (CFLAGS-oldrecvmsg.c): Remove rule.
1472 (CFLAGS-oldsendmsg.c): Likewise.
1473 (CFLAGS-recvmsg.c): Add rule.
1474 (CFLAGS-sendmsg.c): Likewise.
1475 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1476 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1477 (CFLAGS-recvmsg.c): Remove rule.
1478 (CFLAGS-sendmsg.c): Likewise.
1479 (CFLAGS-oldrecvmsg.c): Likewise.
1480 (CFLAGS-oldsendmsg.c): Likewise.
1481 (CFLAGS-recvmmsg.c): Likewise.
1482 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1483 to kernel defined interfaces.
1484 (msghdr.msg_controllen): Likewise.
1485 (cmsghdr.cmsg_len): Likewise.
1486 (msghdr.__glibc_reserved1): Remove member.
1487 (msghdr.__glibc_reserved2): Likewise.
1488 (cmsghdr.__glibc_reserved1): Likewise.
1489 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1490 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1491 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1492 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1493 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1494 version.
1495 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1496 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1497 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1498 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1499 Remove recvmsg and sendmsg.
1500 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1501 Likewise.
1502 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1503 Likewise.
1504 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1505 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1506 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1507 Likewise.
1508 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1509 Likewise.
1510 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1511 [libc] (GLIBC_2.24): Likewise.
1512 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1513 Likewise.
1514 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1515 Likewise.
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1517 [libc] (GLIBC_2.24): Likewise.
1518 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1519 Likewise.
1520 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1521 Likewise.
1522 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1523 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1524 Likewise.
1525 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1526 Likewise.
1527 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1528 Likewise.
1529 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1530 Likewise.
1531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1532 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1533 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1534 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1535 version for {recv,send,recm,sendm}msg.
1536 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1537 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1538 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1539 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1540 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1541 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1542 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1543 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1544 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1545 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1546 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1547 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1549 Likewise.
1550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1551 Likewise.
1552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1554 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1555 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1556 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1557 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1558 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1559 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1562 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1563 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1564 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1565
1566 2016-06-10 Florian Weimer <fweimer@redhat.com>
1567
1568 [BZ #19564]
1569 Remove __malloc_initialize_hook from the API.
1570 * malloc/malloc.h (__malloc_initialize_hook): Remove.
1571 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1572 #pragma GCC poison.
1573 * malloc/malloc-hooks.h: New file.
1574 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1575 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1576 (old__malloc_initialize_hook): Rename from
1577 __malloc_initialize_hook to evade poisoning. Turn into compat
1578 symbol.
1579 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1580 __malloc_initialize_hook.
1581 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1582 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1583 * manual/memory.texi (Hooks for Malloc): Remove
1584 __malloc_initialize_hook. Adjust hook example.
1585
1586 2016-06-09 Joseph Myers <joseph@codesourcery.com>
1587
1588 [BZ #20235]
1589 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1590 itself.
1591 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1592 * math/libm-test.inc (log2_test_data): Add sNaN tests.
1593
1594 [BZ #20234]
1595 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1596 infinity or NaN input to itself.
1597
1598 [BZ #20233]
1599 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1600 to itself.
1601
1602 [BZ #20232]
1603 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1604 itself.
1605
1606 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
1607
1608 * sysdeps/x86_64/start.S (_start): Always indirect branch to
1609 __libc_start_main via GOT.
1610
1611 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
1612
1613 * sysdeps/x86_64/memcopy.h: New file.
1614 * sysdeps/x86_64/wordcopy.c: Likewise.
1615
1616 2016-06-09 Florian Weimer <fweimer@redhat.com>
1617
1618 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1619 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1620 <cstdlib>.
1621 (optimization_barrier): New.
1622 (do_test): Use it. Call quick_exit in the global namespace.
1623 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1624 instead of <cstdlib>, <thread>.
1625 (optimization_barrier): New.
1626 (non_main_thread): Adjust declaration. Call optimization_barrier.
1627 Call quick_exit in the global namespace.
1628 (do_test): Call optimization_barrier. Use pthread_create,
1629 pthread_join instead of std::thread.
1630
1631 2016-06-09 Andreas Schwab <schwab@suse.de>
1632
1633 [BZ #19755]
1634 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1635 new entries in auto-propagate mode.
1636 * nscd/grpcache.c (cache_addgr): Likewise.
1637
1638 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1639
1640 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1641 New functions.
1642 (add_temp_file): Use them.
1643
1644 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
1645
1646 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1647
1648 2016-06-08 Joseph Myers <joseph@codesourcery.com>
1649
1650 [BZ #20229]
1651 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1652 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1653 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1654
1655 [BZ #20228]
1656 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1657 itself.
1658 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1659 * math/libm-test.inc (log10_test_data): Add sNaN tests.
1660
1661 [BZ #20227]
1662 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1663 itself.
1664 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1665 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1666 * math/libm-test.inc (log_test_data): Add sNaN tests.
1667
1668 [BZ #20226]
1669 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1670 itself.
1671 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1672 * math/libm-test.inc (exp_test_data): Add sNaN tests.
1673 (exp10_test_data): Likewise.
1674 (expm1_test_data): Likewise.
1675
1676 [BZ #20225]
1677 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1678 itself.
1679 * math/s_ldexpf.c (__ldexpf): Likewise.
1680 * math/s_ldexpl.c (__ldexpl): Likewise.
1681 * math/w_scalbln.c (__w_scalbln): Likewise.
1682 * math/w_scalblnf.c (__w_scalblnf): Likewise.
1683 * math/w_scalblnl.c (__w_scalblnl): Likewise.
1684 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1685 (scalbln_test_data): Likewise.
1686
1687 [BZ #20224]
1688 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1689 argument to itself.
1690 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1691
1692 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1693
1694 [BZ #19776]
1695 * sysdeps/x86_64/memcpy.S: Make it dummy.
1696 * sysdeps/x86_64/mempcpy.S: Likewise.
1697 * sysdeps/x86_64/memmove.S: New file.
1698 * sysdeps/x86_64/memmove_chk.S: Likewise.
1699 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1700 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1701 * sysdeps/x86_64/memmove.c: Removed.
1702 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1703 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1704 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1705 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1706 Likewise.
1707 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1708 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1710 memcpy-sse2-unaligned, memmove-avx-unaligned,
1711 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1713 (__libc_ifunc_impl_list): Replace
1714 __memmove_chk_avx512_unaligned_2 with
1715 __memmove_chk_avx512_unaligned. Remove
1716 __memmove_chk_avx_unaligned_2. Replace
1717 __memmove_chk_sse2_unaligned_2 with
1718 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
1719 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
1720 with __memmove_avx512_unaligned. Replace
1721 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1722 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
1723 with __memcpy_chk_avx512_unaligned. Remove
1724 __memcpy_chk_avx_unaligned_2. Replace
1725 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1726 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
1727 Replace __memcpy_avx512_unaligned_2 with
1728 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
1729 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
1730 with __mempcpy_chk_avx512_unaligned. Remove
1731 __mempcpy_chk_avx_unaligned_2. Replace
1732 __mempcpy_chk_sse2_unaligned_2 with
1733 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
1734 Replace __mempcpy_avx512_unaligned_2 with
1735 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
1736 Replace __mempcpy_sse2_unaligned_2 with
1737 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
1738 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1739 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1740 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1741 if processor has ERMS. Default to __memcpy_sse2_unaligned.
1742 (ENTRY): Removed.
1743 (END): Likewise.
1744 (ENTRY_CHK): Likewise.
1745 (libc_hidden_builtin_def): Likewise.
1746 Don't include ../memcpy.S.
1747 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1748 __memcpy_chk_avx512_unaligned_erms and
1749 __memcpy_chk_avx512_unaligned. Use
1750 __memcpy_chk_avx_unaligned_erms and
1751 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1752 Default to __memcpy_chk_sse2_unaligned.
1753 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1754 Change function suffix from unaligned_2 to unaligned.
1755 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1756 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1757 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1758 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
1759 (ENTRY): Removed.
1760 (END): Likewise.
1761 (ENTRY_CHK): Likewise.
1762 (libc_hidden_builtin_def): Likewise.
1763 Don't include ../mempcpy.S.
1764 (mempcpy): New. Add a weak alias.
1765 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1766 __mempcpy_chk_avx512_unaligned_erms and
1767 __mempcpy_chk_avx512_unaligned. Use
1768 __mempcpy_chk_avx_unaligned_erms and
1769 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1770 Default to __mempcpy_chk_sse2_unaligned.
1771
1772 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1773
1774 [BZ #19881]
1775 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1776 into ...
1777 * sysdeps/x86_64/memset.S: This.
1778 (__bzero): Removed.
1779 (__memset_tail): Likewise.
1780 (__memset_chk): Likewise.
1781 (memset): Likewise.
1782 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1783 defined.
1784 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1785 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1786 (__memset_zero_constant_len_parameter): Check SHARED instead of
1787 PIC.
1788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1789 memset-avx2 and memset-sse2-unaligned-erms.
1790 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1791 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1792 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1793 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1794 (__bzero): Enabled.
1795 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1796 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1797 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
1798 or __memset_avx2_unaligned_erms if processor has ERMS. Support
1799 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1800 (memset): Removed.
1801 (__memset_chk): Likewise.
1802 (MEMSET_SYMBOL): New.
1803 (libc_hidden_builtin_def): Replace __memset_sse2 with
1804 __memset_sse2_unaligned.
1805 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1806 __memset_chk_sse2 and __memset_chk_avx2 with
1807 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1808 Use __memset_chk_sse2_unaligned_erms or
1809 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
1810 __memset_chk_avx512_unaligned_erms and
1811 __memset_chk_avx512_unaligned.
1812
1813 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1814
1815 * math/gen-auto-libm-test.c (fp_format_desc): remove
1816 suffix member.
1817 (output_generic_value): Remove usage of suffix member,
1818 and the resulting unuse of the fp_format argument.
1819 (output_for_one_input_case): Remove unused fp_format
1820 parameter.
1821
1822 * math/auto-libm-test-out: Regenerate.
1823
1824 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1825 usage with TEST_COND_ibm128.
1826 (TEST_COND_flt_32): Remove.
1827 (TEST_COND_dbl_64): Remove.
1828 (TEST_COND_ldbl_96_intel): Remove.
1829 (TEST_COND_ldbl_96_m68k): Remove.
1830 (TEST_COND_ldbl_128): Remove.
1831
1832 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1833
1834 * auto-libm-test-in:
1835 Replace flt-32 usage with binary32.
1836 Replace dbl-64 usage with binary64.
1837 Replace ldbl-intel-96 usage with intel96.
1838 Replace ldbl-m68k-96 usage with m68k96.
1839 Replace ldbl-128ibm usage with ibm128.
1840 Replace ldbl-128 usage with binary128.
1841
1842 * auto-libm-test-out: Regenerate.
1843
1844 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1845
1846 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1847 (parse_ulps): Dynamically generate type name matching
1848 string from all_floats.
1849 (get_ulps): Generate the ulps as an array instead.
1850 (output_ulps): Dynamically compose the type based
1851 on the number of supported formats, and print
1852 the indices as type specific helper macros.
1853
1854 * math/libm-test.inc: Remove comment about CHOOSE.
1855 (ulp_data): Generate the type in libm-test-ulps.h.
1856 (ULP_IDX): New macro.
1857 (find_ulps): Update usage of max_ulp.
1858
1859 * math/test-double-vlen2.h (CHOOSE): Remove.
1860 * math/test-double-vlen4.h (CHOOSE): Likewise.
1861 * math/test-double-vlen8.h (CHOOSE): Likewise.
1862 * math/test-float.c (CHOOSE): Likewise.
1863 * math/test-float-finite.c (CHOOSE): Likewise.
1864 * math/test-double.c (CHOOSE): Likewise.
1865 * math/test-double-finite.c (CHOOSE): Likewise.
1866 * math/test-idouble.c (CHOOSE): Likewise.
1867 * math/test-ifloat.c (CHOOSE): Likewise.
1868 * math/test-ildoubl.c (CHOOSE): Likewise.
1869 * math/test-ldouble-finite.c (CHOOSE): Likewise.
1870 * math/test-ldouble.c (CHOOSE): Likewise.
1871
1872 * math/test-float.h (TEST_FLOAT): Remove.
1873 * math/test-double.h (TEST_DOUBLE): Likewise.
1874 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1875
1876 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1877
1878 * math/gen-libm-test.pl: (apply_lit): New subroutine.
1879 (parse_args): Strip C suffix from floating point literals
1880 typed with 'f' and wrap them with LIT().
1881
1882 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1883 (test_ff_f_data_nexttoward): Rename to
1884 (test_fj_f_data): New struct.
1885 (nexttoward_test_data): Relabel tests as
1886 TEST_fj_f instead of TEST_ff_f.
1887
1888 2016-06-08 Florian Weimer <fweimer@redhat.com>
1889
1890 Emacs bug 23726.
1891 * malloc/malloc.c (dumped_main_arena_start): Update comment.
1892 (__libc_realloc): Correct size computation for dumped fake mmapped
1893 chunks.
1894
1895 2016-06-07 Joseph Myers <joseph@codesourcery.com>
1896
1897 [BZ #20219]
1898 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1899 to itself.
1900 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1901
1902 [BZ #20218]
1903 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1904 to itself.
1905 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1906
1907 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
1908
1909 [BZ #20195]
1910 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1911 check to ...
1912 (init_cpu_features): Here.
1913
1914 2016-06-07 Carlos O'Donell <carlos@redhat.com>
1915
1916 [BZ #20214]
1917 * sysdeps/unix/sysv/linux/bits/in.h
1918 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1919 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1920 Define to 1.
1921 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1922 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1923 Define to 0.
1924 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1925 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1926
1927 2016-06-06 Carlos O'Donell <carlos@redhat.com>
1928
1929 [BZ #20198]
1930 * stdlib/Makefile (tests): Add tst-quick_exit, and
1931 tst-thread-quick_exit.
1932 [ifeq ($(have-cxx-thread_local),yes)]
1933 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1934 (CFLAGS-tst-thread-quick_exit.o): Likewise.
1935 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1936 (LDLIBS-tst-thread-quick_exit): Likewise.
1937 [ifneq ($(have-cxx-thread_local),yes)]
1938 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1939 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1940 If run_dtors is true call __call_tls_dtors.
1941 (exit): Call __run_exit_handlers with run_dtors set to true.
1942 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1943 definition.
1944 * stdlib/quick_exit.c (quick_exit): Remove function.
1945 (__new_quick_exit): New function.
1946 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1947 function.
1948 * stdlib/tst-quick_exit.cc: New file.
1949 * stdlib/tst-thread-quick_exit.cc: New file.
1950 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1951 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1952 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1953 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1954 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1955 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1956 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1957 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1958 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1959 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1960 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1961 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1962 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1963 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1964 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1965 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1970 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1971 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1972 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1973 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1974 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1977 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1978 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1979 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1980
1981 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
1982
1983 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1984 a typo in comments.
1985
1986 2016-06-06 Joseph Myers <joseph@codesourcery.com>
1987
1988 [BZ #20213]
1989 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1990 argument to itself.
1991 * math/libm-test.inc (asin_test_data): Add sNaN tests.
1992
1993 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1994
1995 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1996 required flags.
1997 (CFLAGS-pwritev64.c): Likewise.
1998 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1999 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2000 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
2001 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2002 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
2003 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
2004 syscall from auto-generation.
2005 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
2006 [WORDSIZE == 64] (pwritev64): Remove macro.
2007 [!PWRITEV] (PWRITEV): Likewise.
2008 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2009 [!PWRITEV] (PWRITE): Likewise.
2010 [!PWRITEV] (OFF_T): Likewise.
2011 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2012 (LO_HI_LONG): Remove macro.
2013 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
2014 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
2015 (PWRITEV): Remove macro.
2016 (PWRITEV_REPLACEMENTE): Likewise.
2017 (PWRITE): Likewise.
2018 (OFF_T): Likewise.
2019 (pwritev64): New function.
2020 * nptl/tst-cancel4.c (tf_writev): Add test.
2021
2022 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
2023 required flags.
2024 (CFLAGS-preadv64.c): Likewise.
2025 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
2026 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2027 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
2028 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
2029 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
2030 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
2031 syscall from auto-generation.
2032 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
2033 [WORDSIZE == 64] (preadv64): Remove macro.
2034 [!PREADV] (PREADV): Likewise.
2035 [!PREADV] (PREADV_REPLACEMENT): Likewise.
2036 [!PREADV] (PREAD): Likewise.
2037 [!PREADV] (OFF_T): Likewise.
2038 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
2039 (LO_HI_LONG): Remove macro.
2040 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
2041 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
2042 (PREADV): Remove macro.
2043 (PREADV_REPLACEMENTE): Likewise.
2044 (PREAD): Likewise.
2045 (OFF_T): Likewise.
2046 (preadv64): New function.
2047 * nptl/tst-cancel4.c (tf_preadv): Add test.
2048
2049 2016-06-06 Joseph Myers <joseph@codesourcery.com>
2050
2051 [BZ #20212]
2052 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
2053 argument to itself.
2054 * math/libm-test.inc (acos_test_data): Add sNaN tests.
2055
2056 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2057
2058 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
2059 New symbol defined as libc_hidden_def.
2060 (strcasestr): Became a weak alias to __strcasestr.
2061 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
2062 according to multi-arch support. Move __stpncpy hidden
2063 definition from here to...
2064 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
2065 symbol stpncpy.
2066 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
2067 libc_hidden_builtin_def.
2068 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
2069 memset symbol to use when multi-arch support is available.
2070
2071 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
2072
2073 * dlfcn/tst-rec-dlopen.c: Include string.h.
2074
2075 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2076
2077 * manual/install.texi: Remove mention of --without-tls
2078 * INSTALL: Regenerate.
2079
2080 2016-06-05 Florian Weimer <fweimer@redhat.com>
2081
2082 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2083 Remove.
2084 (call_function, interposed_malloc_called): New variables.
2085 (malloc): New function.
2086 (do_test): Do not change malloc hooks. Initialize malloc. Set
2087 and clear call_function as needed.
2088
2089 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
2090
2091 * include/wchar.h (__wmemset): Use __typeof.
2092
2093 2016-06-03 Carlos O'Donell <carlos@redhat.com>
2094
2095 * include/wchar.h (__wmemset): Declare function without typeof.
2096
2097 2016-06-03 Joseph Myers <joseph@codesourcery.com>
2098
2099 [BZ #20205]
2100 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
2101 exponent when incrementing negative subnormal with low mantissa
2102 word zero.
2103 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2104 Add another test.
2105
2106 2016-06-03 Florian Weimer <fweimer@redhat.com>
2107
2108 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
2109 __wmemset instead of wmemset.
2110
2111 2016-06-02 Carlos O'Donell <carlos@redhat.com>
2112
2113 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
2114 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
2115 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
2116 __USE_KERNEL_IPV6_DEFS to 0.
2117 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
2118 Update comment.
2119
2120 2016-06-01 Florian Weimer <fweimer@redhat.com>
2121
2122 [BZ #19861]
2123 Do not use IFUNC resolver with potentially unrelocated symbol.
2124 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
2125 (DEFINE_FORK): Remove macro and inline definition.
2126 (fork_alias): Renamed from fork_ifunc.
2127 (__fork_alias): Renamed from __fork_ifunc.
2128
2129 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
2130
2131 [BZ 19653]
2132 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
2133 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
2134
2135 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2136
2137 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
2138 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
2139 i386-linux-gnu).
2140 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
2141 Set to no.
2142 * sysdeps/mach/hurd/configure: Refresh.
2143
2144 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2145
2146 [BZ #20178]
2147 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
2148 on failure instead of exit.
2149
2150 2016-05-30 Roland McGrath <roland@hack.frob.com>
2151
2152 [BZ #3629]
2153 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
2154 of POSIX.1-2008.
2155
2156 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2157
2158 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
2159 Use PLT entry for calling _hurd_self_sigstate.
2160
2161 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2162
2163 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
2164 available logical processors with SMT level type sharing L2
2165 cache for Intel processors.
2166
2167 2016-05-27 Joseph Myers <joseph@codesourcery.com>
2168
2169 [BZ #20160]
2170 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
2171 argument to itself before returning the result.
2172 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2173 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2174 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2175 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2176 Likewise.
2177 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2178 Likewise.
2179 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
2180 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
2181 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2182 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2183 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2184 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2185
2186 [BZ #20160]
2187 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
2188 argument to itself before returning the result.
2189 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2190 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2191 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2192 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
2193 Likewise.
2194 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2195 Likewise.
2196 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
2197 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
2198 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
2199 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2200 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2201 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2202
2203 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2204
2205 * libm-test.inc: Replace usage of M_El with
2206 (lit_e): New macro.
2207
2208 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2209
2210 * libm-test.inc: Replace usage of M_PI_4l with
2211 (lit_pi_4_d): New macro.
2212
2213 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2214
2215 * libm-test.inc: Replace usage of M_PIl with
2216 (lit_pi): New macro.
2217
2218 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2219
2220 * libm-test.inc: Replace usage of M_PI2l with
2221 (lit_pi_2_d): New macro.
2222
2223 * math/test-double.h (LITM): New macro.
2224 * math/test-float.h (LITM): Likewise.
2225 * math/test-ldouble.h (LITM): Likewise.
2226
2227 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2228
2229 * libm-test.inc (M_PI_34l): Rename to
2230 (lit_pi_3_m_4_d): New Macro.
2231 (M_PI_34_LOG10El): Rename to
2232 (lit_pi_3_m_4_ln10_m_d): New Macro.
2233 (M_PI2_LOG10El): Rename to
2234 (lit_pi_2_ln10_m_d): New Macro.
2235 (M_PI4_LOG10El): Rename to
2236 (lit_pi_4_ln10_m_d): New Macro.
2237 (M_PI_LOG10El): Rename to
2238 (lit_pi_ln10_d): New Macro.
2239
2240 2016-05-27 Joseph Myers <joseph@codesourcery.com>
2241
2242 [BZ #20157]
2243 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2244 determine whether to negate low half if [_ARCH_PPCGR], and integer
2245 comparison otherwise.
2246 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2247 determine whether to negate low half.
2248
2249 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2250 (NO_TEST_INLINE_DOUBLE): Likewise.
2251 (TEST_COND_x86_64): Likewise.
2252 (TEST_COND_x86): Likewise.
2253 (M_PI_6l): Likewise.
2254
2255 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2256
2257 * math/libm-test.inc:
2258 (TEST_FLOAT): Change usage to TEST_COND_binary32.
2259 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2260 (TEST_LDOUBLE): Update usage to evaluate as true if
2261 the guarded tests match the property being tested.
2262 (LDBL_MAX_EXP): Change to MAX_EXP.
2263 (LDBL_MIN_EXP): Change to MIN_EXP.
2264 (LDBL_MANT_DIG): Change to MANT_DIG, except for
2265 nexttoward tests.
2266
2267 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2268
2269 * math/libm-test.inc:
2270 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2271 (TYPE_MIN): Likewise.
2272 (TYPE_TRUE_MIN): Likewise.
2273 (TYPE_MAX): Likewise.
2274 (MIN_EXP): Likewise.
2275 (MAX_EXP): Likewise.
2276 (MANT_DIG): Likewise.
2277
2278 (FSTR_MAX): New macro.
2279 (__CONCATX): Likewise.
2280 (QTYPE_STR): Likewise.
2281 (TEST_COND_binary32): Likewise.
2282 (TEST_COND_binary64): Likewise.
2283 (TEST_COND_binary128): Likewise.
2284 (TEST_COND_ibm128): Likewise.
2285 (TEST_COND_intel96): Likewise.
2286 (TEST_COND_m68k96): Likewise.
2287
2288 (TEST_COND_flt_32): Redefine as equivalent format test macro.
2289 (TEST_COND_dbl_64): Likewise.
2290 (TEST_COND_ldbl_96_intel): Likewise.
2291 (TEST_COND_ldbl_96_m68k): Likewise.
2292 (TEST_COND_ldbl_128): Likewise.
2293 (TEST_COND_ldbl_128ibm): Likewise.
2294
2295 (plus_zero): Redefine using LIT macro.
2296 (minus_zero): Likewise.
2297 (plus_infty): Redefine as (INF).
2298 (minux_infty): Redefine as (-INF).
2299 (max_value): Redefine as TYPE_MAX.
2300 (min_value): Redefine as TYPE_MIN.
2301 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2302
2303 (print_float): Refactor to use snprintf to convert FLOAT values
2304 to string. This brings it closer to dropin replacement of strtof
2305 for the TS 18661 defined types.
2306 (update_stats): Likewise.
2307 (print_complex_function_ulps): Likewise.
2308 (print_max_error): Likewise.
2309 (print_complex_max_error): Likewise.
2310 (check_float_internal): Likewise.
2311
2312 * math/test-float.h (PREFIX): New macro.
2313 (LIT): Likewise.
2314 (TYPE_STR): Likewise.
2315 (FTOSTR): Likewise.
2316
2317 * math/test-double.h (PREFIX): New macro.
2318 (LIT): Likewise.
2319 (TYPE_STR): Likewise.
2320 (FTOSTR): Likewise.
2321
2322 * math/test-ldouble.h (PREFIX): New macro.
2323 (LIT): Likewise.
2324 (TYPE_STR): Likewise.
2325 (FTOSTR): Likewise.
2326
2327 2016-05-27 Joseph Myers <joseph@codesourcery.com>
2328
2329 [BZ #20156]
2330 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2331 to itself when zero or not finite.
2332 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2333 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2334 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2335 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2336
2337 2016-05-26 Joseph Myers <joseph@codesourcery.com>
2338
2339 [BZ #20153]
2340 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2341 x * x + x for infinities and NaNs.
2342
2343 [BZ #20151]
2344 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2345 argument to itself before returning result.
2346 (__ieee754_y0l): Likewise.
2347 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2348 (__ieee754_y1l).
2349
2350 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2351 (atan_test_data): Likewise.
2352 (ceil_test_data): Likewise.
2353 (cos_test_data): Likewise.
2354 (cosh_test_data): Likewise.
2355 (erf_test_data): Likewise.
2356 (exp2_test_data): Likewise.
2357 (fabs_test_data): Likewise.
2358 (floor_test_data): Likewise.
2359 (ilogb_test_data): Likewise.
2360 (j0_test_data): Likewise.
2361 (j1_test_data): Likewise.
2362 (jn_test_data): Likewise.
2363 (lgamma_test_data): Likewise.
2364 (lrint_test_data): Likewise.
2365 (llrint_test_data): Likewise.
2366 (logb_test_data): Likewise.
2367 (lround_test_data): Likewise.
2368 (llround_test_data): Likewise.
2369 (nearbyint_test_data): Likewise.
2370 (rint_test_data): Likewise.
2371 (round_test_data): Likewise.
2372 (sin_test_data): Likewise.
2373 (sincos_test_data): Likewise.
2374 (sinh_test_data): Likewise.
2375 (sqrt_test_data): Likewise.
2376 (tan_test_data): Likewise.
2377 (tanh_test_data): Likewise.
2378 (tgamma_test_data): Likewise.
2379 (trunc_test_data): Likewise.
2380 (y0_test_data): Likewise.
2381 (y1_test_data): Likewise.
2382 (yn_test_data): Likewise.
2383
2384 * math/libm-test.inc: Update comment about NaN testing.
2385 (TEST_SNAN): New macro.
2386 (snan_value): Likewise.
2387 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
2388 (fpclassify_test_data): Add sNaN tests.
2389 (isfinite_test_data): Likewise.
2390 (isinf_test_data): Likewise.
2391 (isnan_test_data): Likewise.
2392 (isnormal_test_data): Likewise.
2393 (issignaling_test_data): Likewise.
2394 (signbit_test_data): Likewise.
2395 * math/gen-libm-test.pl (%beautify): Add snan_value.
2396 (show_exceptions): Add argument $test_snan.
2397 (parse_args): Handle snan_value as non-finite. Update call to
2398 show_exceptions.
2399 * math/Makefile (libm-test-no-inline-cflags): Add
2400 -fsignaling-nans.
2401
2402 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2403
2404 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
2405 (CFLAGS-oldsendmsg.c): Add rule.
2406 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2407 Correct recvmsg symbol name.
2408 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
2409 Likewise.
2410
2411 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2412
2413 * sysdeps/unix/sysv/linux/Makefile
2414 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
2415 oldsendmmsg.
2416 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
2417 sendmmsg.
2418 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2419 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2420 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2421 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2423 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2424 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2426 Likewise.
2427 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2428 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
2429 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2430 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
2431 iovlen and controllen fields to adjust to POSIX specification.
2432 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2433
2434 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
2435 and change to correct expected type.
2436 (msghdr.msg_controllen): Likewise.
2437 (cmsghdr.cmsg_len): Likewise.
2438 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
2439 expected POSIX assumption about the size.
2440 (msghdr.msg_controllen): Likewise.
2441 (msghdr.__glibc_reserved1): Likewise.
2442 (msghdr.__glibc_reserved2): Likewise.
2443 (cmsghdr.cmsg_len): Likewise.
2444 (cmsghdr.__glibc_reserved1): Likewise.
2445 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
2446 Add ptw-oldrecvmsg and ptw-oldsendmsg.
2447 (CFLAGS-sendmsg.c): Remove rule.
2448 (CFLAGS-recvmsg.c): Likewise.
2449 (CFLAGS-oldsendmsg.c): Add rule.
2450 (CFLAGS-oldrecvmsg.c): Likewise.
2451 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
2452 recvmsg and sendmsg.
2453 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2454 Likewise.
2455 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2456 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2457 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2458 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2459 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2460 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2461 Likewise.
2462 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2463 Likewise.
2464 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2465 Likewise.
2466 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2467 Likewise.
2468 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2469 Likewise.
2470 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2471 Likewise.
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2473 (GLIBC_2.24): Likewise.
2474 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2475 Likewise.
2476 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2477 Likewise.
2478 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2479 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2480 Likewise.
2481 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2482 Likewise.
2483 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2484 Likewise.
2485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2486 (GLIBC_2.24): Likewise.
2487 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2488 Likewise.
2489 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2490 Likewise.
2491 * sysdeps/unix/sysv/linux/Makefile
2492 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2493 (CFLAGS-sendmsg.c): Add rule.
2494 (CFLAGS-recvmsg.c): Likewise.
2495 (CFLAGS-oldsendmsg.c): Likewise.
2496 (CFLAGS-oldrecvmsg.c): Likewise.
2497 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2498 initialization.
2499 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2500 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2501 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2502 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2503 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2504 iovlen and controllen fields to adjust to POSIX specification.
2505 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2506 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2507 added recvmsg and sendmsg.
2508 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2509 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2510 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2511 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2512 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2513 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2514 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2515 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2516 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2517 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2518 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2519 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2521 Likewise.
2522 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2524 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2525 Likewise.
2526 Likewise.
2527 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2528 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2529 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2530 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2531 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2532 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2534 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2536 Likewise.
2537 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2538 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2539
2540 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2541 from auto-generation.
2542 (sendmsg): Likewise.
2543 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2544 (sendmsg): Likewise.
2545 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2546 (sendmsg): Likewise.
2547 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2548 (sendmsg): Likewise.
2549 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2550 (sendmsg): Likewise.
2551 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2552 (sendmsg): Likewise.
2553 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2554 Likewise.
2555 (sendmsg): Likewise.
2556 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2557 (sendmsg): Likewise.
2558 * sysdeps/unix/sysv/linux/i386/kernel-features.h
2559 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2560 Remove.
2561 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2562 Likewise.
2563 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2564 Undefine.
2565 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2566 Likewise.
2567 * sysdeps/unix/sysv/linux/kernel-features.h
2568 (__ASSUME_SENDMSG_SYSCALL): Define.
2569 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2570 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2571 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2572 Remove.
2573 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2574 Likewise.
2575 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2576 Undefine.
2577 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2578 Likewise.
2579 * sysdeps/unix/sysv/linux/s390/kernel-features.h
2580 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2581 Remove.
2582 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2583 Likewise.
2584 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2585 Undefine.
2586 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2587 Likewise.
2588 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2589 (__ASSUME_SENDMSG_SYSCALL): Undefine.
2590 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2591 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2592 (__ASSUME_SENDMSG_SYSCALL): Likewise.
2593 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2594 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2595 (__ASSUME_SENDMSG_SYSCALL): Likewise.
2596 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2597
2598 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2599
2600 * stdlib/gen-tst-strtod-round.c: Add backslash to
2601 compile command in comment.
2602 (printfp): Remove the literal suffix, and define an infinite
2603 value as INF to avoid expansion clash with INFINITY.
2604 (round_str): Remove the literal suffix.
2605 (round_for_all): Likewise, remove the now duplicate ldbl-64
2606 entry, and remove some magic constants.
2607
2608 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2609 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
2610 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2611 (_CONCAT): New macro.
2612 (CONCAT): Likewise.
2613 (CHOOSE_ld): Likewise.
2614 (CHOOSE_f): Likewise.
2615 (CHOOSE_d): Likewise.
2616 (FTYPE_MEMBER): Likewise.
2617 (BOOL_MEMBER): Likewise.
2618 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2619 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2620 (_XNTRY): Likewise.
2621 (XNTRY): Likewise.
2622 (_ENTRY): Likewise.
2623 (ENTRY): Likewise.
2624 (test_exactness): Generate members via macro.
2625 (test_results): Likewise.
2626 (test): Update members.
2627 (TEST): Redefine using new macros.
2628 (INF): New macro.
2629 (fetestmodes): New structure.
2630 (do_test): Refactor to be type generic.
2631 (test_in_one_mode): Refactor duplicate code into
2632 (GEN_ONE_TEST): New macro.
2633
2634 * stdlib/tst-strtod-round-data.h: Regenerate.
2635
2636 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2637 Extend to pass additional arbitrary parameters to
2638 generators.
2639
2640 2016-05-25 Joseph Myers <joseph@codesourcery.com>
2641
2642 [BZ #15479]
2643 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2644 floating-point state after first floating-point operation on
2645 input. Restore full floating-point state instead of just rounding
2646 mode.
2647 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2648 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2649 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2650 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2651 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2652
2653 [BZ #15479]
2654 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2655 floating-point state after first floating-point operation on
2656 input. Restore full floating-point state instead of just rounding
2657 mode.
2658 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2659 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2660 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2661 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2662 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2663
2664 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2665
2666 [BZ #19727]
2667 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2668 valid high surrogate.
2669 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2670 of an utf16 surrogate.
2671 * iconv/gconv_simple.c (BODY): Likewise.
2672 * iconvdata/bug-iconv12.c: New file.
2673 * iconvdata/Makefile (tests): Add bug-iconv12.
2674
2675 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2676
2677 [BZ #19726]
2678 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2679 outptrp in case of an illegal input.
2680 * iconv/tst-iconv6.c: New file.
2681 * iconv/Makefile (tests): Add tst-iconv6.
2682
2683 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2684
2685 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2686 an error in case of a value in range of an utf16 low surrogate.
2687
2688 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2689
2690 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2691 an error in case of a value in range of an utf16 low surrogate.
2692
2693 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2694
2695 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2696 Move to ...
2697 * sysdeps/s390/Makefile: ... here.
2698 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2699 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2700 (BRANCH_ON_COUNT): New define.
2701 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2702 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2703 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2704 run on s390-32, too.
2705 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2706 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2707 run on s390-32, too.
2708 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2709 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2710 run on s390-32, too.
2711
2712 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2713
2714 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2715 etf3eh or new vector loop-variant.
2716
2717 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2718
2719 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2720 etf3eh or new vector loop-variant.
2721
2722 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2723
2724 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2725 or new vector loop-variant.
2726
2727 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2728
2729 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2730 Rename to TR_LOOP and usage of tr instead of troo instruction.
2731
2732 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2733
2734 * sysdeps/s390/multiarch/gconv_simple.c: New File.
2735 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2736
2737 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2738
2739 * sysdeps/s390/multiarch/8bit-generic.c: New File.
2740 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2741 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2742 New override define.
2743 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2744
2745 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2746
2747 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2748 * sysdeps/s390/configure.ac: Add test for S390 vector register
2749 support in gcc.
2750 * sysdeps/s390/configure: Regenerated.
2751
2752 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2753
2754 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2755 Install file from $(objpfx)gconv-modules.
2756 ($(objpfx)gconv-modules): Concatenate architecture specific file
2757 in variable sysdeps-gconv-modules and gconv-modules in src dir.
2758 * sysdeps/s390/gconv-modules: New file.
2759 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2760 Deleted.
2761 ($(objpfx)gconv-modules-s390): Deleted.
2762 (sysdeps-gconv-modules): New variable.
2763
2764 2016-05-24 Joseph Myers <joseph@codesourcery.com>
2765
2766 [BZ #15479]
2767 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2768 of immediate operand to rounding instruction.
2769 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2770 Likewise.
2771 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2772 Likewise.
2773 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2774 Likewise.
2775
2776 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2777
2778 * math/libm-test.inc (MIN_EXP): Directly define as
2779 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2780
2781 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2782
2783 * math/libm-test.inc (MANT_DIG): Directly define as
2784 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2785
2786 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2787
2788 * stdlib/gen-tst-strtod-round.c (main):
2789 Change usage to more closely match the generated
2790 output. Add usage and compilation instructions.
2791 (string_to_fp): Add and use FILE* parameter as
2792 output target.
2793 (print_fp): Likewise.
2794 (round_str): Likewise.
2795 (round_for_all): Likewise.
2796 * stdlib/tst-strtod-round.c (tests): Move into
2797 * stdlib/tst-strtod-round-data.h: New file.
2798
2799 2016-05-24 Joseph Myers <joseph@codesourcery.com>
2800
2801 [BZ #15479]
2802 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2803 (__round): Do not force "inexact" exception.
2804 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2805 variable.
2806 (__round): Do not force "inexact" exception.
2807 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2808 (__roundf): Do not force "inexact" exception.
2809 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2810 (__roundl): Do not force "inexact" exception.
2811 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2812 (__roundl): Do not force "inexact" exception.
2813 * math/libm-test.inc (round_test_data): Do not allow spurious
2814 "inexact" exceptions.
2815
2816 [BZ #15479]
2817 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2818 exception in comment.
2819 (huge): Remove variable.
2820 (__floor): Do not force "inexact" exception.
2821 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2822 "inexact" exception in comment.
2823 (huge): Remove variable.
2824 (__floor): Do not force "inexact" exception.
2825 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2826 exception in comment.
2827 (huge): Remove variable.
2828 (__floorf): Do not force "inexact" exception.
2829 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2830 exception in comment.
2831 (huge): Remove variable.
2832 (__floorl): Do not force "inexact" exception.
2833
2834 [BZ #15479]
2835 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2836 exception in comment.
2837 (huge): Remove variable.
2838 (__ceil): Do not force "inexact" exception.
2839 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2840 "inexact" exception in comment.
2841 (huge): Remove variable.
2842 (__ceil): Do not force "inexact" exception.
2843 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2844 (__ceilf): Do not force "inexact" exception.
2845 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2846 exception in comment.
2847 (huge): Remove variable.
2848 (__ceill): Do not force "inexact" exception.
2849
2850 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
2851
2852 * config.h.in (BIND_NOW): New.
2853 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
2854 * configure: Regenerated.
2855 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2856 indirect branch via the GOT slot.
2857
2858 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2859
2860 [BZ #19765]
2861 * sysdeps/s390/mempcpy.S: New File.
2862 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2863 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2864 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2865 Add mempcpy variants.
2866 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2867 (memcpy): Adjust to be usable from mempcpy entry point.
2868 (__memcpy_mvcle): Likewise.
2869 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2870 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2871 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2872 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2873 (__memcpy_z10): Likewise.
2874 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2875
2876 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2877
2878 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2879 Remove __GI_ symbol.
2880 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2881 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2882 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2883 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2884 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2885 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2886
2887 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2888
2889 * sysdeps/s390/s390-64/memcpy.S (memcpy):
2890 Use cghi instead of chi to compare 64bit value.
2891
2892 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2893
2894 * sysdeps/s390/s390-32/memcpy.S (memcpy):
2895 Jump to 1MB check before executing mvc-loop.
2896
2897 2016-05-24 Florian Weimer <fweimer@redhat.com>
2898
2899 [BZ #6527]
2900 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2901 unconditionally.
2902 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2903
2904 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2905
2906 * stdlib/tst-strtod6.c (do_test): Use new type generic
2907 invocation of the test function.
2908 (test): Refactor into ...
2909 (TEST_STRTOD): New macro base function.
2910
2911 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2912
2913 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2914 (TEST_STRTOD): New macro.
2915 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2916
2917 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2918
2919 * stdlib/tst-strtod6.c (do_test): Use new type generic
2920 invocation of the test function.
2921 (test): Refactor into ...
2922 (TEST_STRTOD): New macro base function.
2923
2924 2016-05-23 Florian Weimer <fweimer@redhat.com>
2925
2926 CVE-2016-4429
2927 [BZ #20112]
2928 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2929 payload.
2930
2931 2016-05-23 Florian Weimer <fweimer@redhat.com>
2932
2933 [BZ #20111]
2934 * bits/sockaddr.h (_SS_SIZE): Define.
2935 * bits/socket.h (_SS_SIZE): Remove.
2936 (_SS_PADSIZE): Adjust to account for all padding.
2937 (struct sockaddr_storage): Update comment. Avoid implicit
2938 padding.
2939 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2940 (_SS_PADSIZE): Adjust to account for all padding.
2941 (struct sockaddr_storage): Update comment. Avoid implicit
2942 padding.
2943 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2944 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2945 (_SS_PADSIZE): Adjust to account for all padding.
2946 (struct sockaddr_storage): Update comment. Avoid implicit
2947 padding.
2948 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2949 __SS_SIZE is 126 in this version.
2950 * inet/tst-sockaddr.c: New file.
2951 * inet/Makefile (tests): Add tst-sockaddr.c
2952 (tst-sockaddr.c): Compile with non-strict aliasing.
2953
2954 2016-05-23 Joseph Myers <joseph@codesourcery.com>
2955
2956 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2957 [XPG3 || XPG4].
2958 (NL_ARGMAX): Also expect for [XPG3].
2959 (NL_LANGMAX): Likewise.
2960 (NL_MSGMAX): Likewise.
2961 (NL_NMAX): Likewise.
2962 (NL_SETMAX): Likewise.
2963 (NL_TEXTMAX): Likewise.
2964 (NZERO): Likewise.
2965 (TMP_MAX): Likewise.
2966 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2967 variable.
2968
2969 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2970 (PF_MAX): Update value.
2971 (AF_KCM): New macro.
2972 (SOL_NETBEUI): Likewise.
2973 (SOL_LLC): Likewise.
2974 (SOL_DCCP): Likewise.
2975 (SOL_NETLINK): Likewise.
2976 (SOL_TIPC): Likewise.
2977 (SOL_RXRPC): Likewise.
2978 (SOL_PPPOL2TP): Likewise.
2979 (SOL_BLUETOOTH): Likewise.
2980 (SOL_PNPIPE): Likewise.
2981 (SOL_RDS): Likewise.
2982 (SOL_IUCV): Likewise.
2983 (SOL_CAIF): Likewise.
2984 (SOL_ALG): Likewise.
2985 (SOL_NFC): Likewise.
2986 (SOL_KCM): Likewise.
2987 (MSG_BATCH): New enum value and macro.
2988
2989 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
2990
2991 [BZ #18185]
2992 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2993 sharing L2 cache to 2 for Knights Landing.
2994
2995 2016-05-20 Joseph Myers <joseph@codesourcery.com>
2996
2997 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2998 (FTW_DP): Do not expect for [XPG3 || XPG4].
2999 (FTW_SL): Do not expect for [XPG3].
3000 (FTW_SLN): Likewise.
3001 (FTW_PHYS): Likewise.
3002 (FTW_MOUNT): Likewise.
3003 (FTW_DEPTH): Likewise.
3004 (FTW_CHDIR): Likewise.
3005 (nftw): Likewise.
3006 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
3007 variable.
3008
3009 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
3010
3011 * manual/errno.texi: Fix various typos & grammar errors.
3012
3013 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
3014
3015 * manual/intro.texi: Fix duplicated typo.
3016
3017 2016-05-19 Joseph Myers <joseph@codesourcery.com>
3018
3019 [BZ #13304]
3020 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
3021 <float.h>, <math_private.h> and <stdlib.h>.
3022 (add_split): New function.
3023 (mul_split): Likewise.
3024 (ext_val): New typedef.
3025 (store_ext_val): New function.
3026 (mul_ext_val): New function.
3027 (compare): New function.
3028 (add_split_ext): New function.
3029 (__fmal): After checking for Inf, NaN and zero, compute result as
3030 an exact sum of scaled double values in round-to-nearest before
3031 adding those up and adjusting for other rounding modes.
3032 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
3033 tests of fma.
3034 * math/auto-libm-test-out: Regenerated.
3035
3036 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
3037
3038 [BZ #20119]
3039 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
3040 processor level type mask for CPUID with EAX == 11.
3041
3042 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
3043
3044 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
3045 logical threads if the HTT bit is 0.
3046 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
3047 (index_cpu_HTT): Likewise.
3048 (reg_HTT): Likewise.
3049
3050 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
3051
3052 [BZ #20115]
3053 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
3054 Remove alignments on jump targets.
3055
3056 2016-05-19 Joseph Myers <joseph@codesourcery.com>
3057
3058 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
3059 (getpwent): Likewise.
3060 (setpwent): Likewise.
3061 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
3062 variable.
3063
3064 * conform/data/search.h-data (insque): Do not expect for [XPG3].
3065 (remque): Likewise.
3066 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
3067 variable.
3068
3069 2016-05-18 Joseph Myers <joseph@codesourcery.com>
3070
3071 * math/libm-test.inc: Update comment not to refer to signs of NaNs
3072 not being tested.
3073
3074 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
3075
3076 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3077 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
3078 call.
3079 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3080 (__condvar_cleanup1): Likewise.
3081
3082 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
3083
3084 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3085 New
3086 (__pthread_unwind): Renamed to ...
3087 (PTHREAD_UNWIND): This.
3088 (__pthread_enable_asynccancel): Replace
3089 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3090
3091 2016-05-18 Joseph Myers <joseph@codesourcery.com>
3092
3093 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
3094 (CLONE_NEWCGROUP): New macro.
3095
3096 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
3097 (Q_GETNEXTQUOTA): New macro.
3098
3099 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
3100
3101 [BZ #19907]
3102 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
3103 buffer updated by the previous run.
3104 * string/test-memcpy.c (do_one_test): Likewise.
3105 * benchtests/bench-memmove.c (do_one_test): Add a comment.
3106 * string/test-memmove.c (do_one_test): Likewise.
3107
3108 2016-05-17 Joseph Myers <joseph@codesourcery.com>
3109
3110 [BZ #20094]
3111 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
3112 not [__USE_XOPEN].
3113 (unlockpt): Likewise.
3114 (ptsname): Likewise.
3115 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
3116 variable.
3117
3118 [BZ #20076]
3119 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
3120 instead of [__USE_UNIX98].
3121 (S_ISSOCK): Likewise.
3122 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
3123 variable.
3124
3125 [BZ #20074]
3126 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
3127 [__USE_POSIX].
3128 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
3129 variable.
3130
3131 [BZ #20051]
3132 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
3133 (ttyslot): Do not declare.
3134 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
3135 (ttyslot): New prototype.
3136 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
3137 variable.
3138 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3139
3140 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3141
3142 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
3143
3144 2016-05-13 Florian Weimer <fweimer@redhat.com>
3145
3146 Fix race condition in tst-mallocfork2, use fewer resources.
3147 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
3148 to current process group.
3149 (signal_sender): Yield in the non-sleeping case.
3150
3151 2016-05-13 Joseph Myers <joseph@codesourcery.com>
3152
3153 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
3154 (ecvt): Likewise.
3155 (fcvt): Likewise.
3156 (gcvt): Likewise.
3157 (getsubopt): Likewise.
3158 (grantpt): Likewise.
3159 (initstate): Likewise.
3160 (l64a): Likewise.
3161 (mktemp): Likewise.
3162 (mkstemp): Likewise.
3163 (ptsname): Likewise.
3164 (random): Likewise.
3165 (realpath): Likewise.
3166 (setstate): Likewise.
3167 (srandom): Likewise.
3168 (ttyslot): Likewise.
3169 (unlockpt): Likewise.
3170 (valloc): Likewise.
3171
3172 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
3173 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
3174 variable.
3175
3176 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
3177
3178 [BZ #20072]
3179 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
3180 init_cpu_features only if SHARED is defined.
3181 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3182
3183 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
3184
3185 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
3186 non-inclusive caches on Intel processors.
3187
3188 2016-05-13 Florian Weimer <fweimer@redhat.com>
3189
3190 * malloc/malloc.c (dumped_main_arena_start)
3191 (dumped_main_arena_end): New variables.
3192 (DUMPED_MAIN_ARENA_CHUNK): New macro.
3193 (do_check_chunk): Skip dumped fake mmapped chunks.
3194 (munmap_chunk): Likewise.
3195 (__libc_free): Do not adjust statistics for fake mmapped chunks.
3196 (__libc_realloc): Adjust hardening check. Always copy dumped fake
3197 mmapped chunks.
3198 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
3199 Mark dumped chunks as using mmap. Update dumped_main_arena_start
3200 and dumped_main_arena_end to cover the dumped heap.
3201
3202 2016-05-12 Joseph Myers <joseph@codesourcery.com>
3203
3204 * conform/data/time.h-data (getdate_err): Do not expect for
3205 [XPG3].
3206 (getdate): Likewise.
3207 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3208 variable.
3209
3210 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3211 (F_ULOCK): Likewise.
3212 (F_TEST): Likewise.
3213 (F_TLOCK): Likewise.
3214 (useconds_t): Likewise.
3215 (intptr_t): Do not expect for [XPG3] or [XPG4].
3216 (brk): Do not expect for [XPG3]
3217 (fchown): Likewise.
3218 (fchdir): Likewise.
3219 (ftruncate): Likewise.
3220 (getdtablesize): Likewise.
3221 (gethostid): Likewise.
3222 (getpagesize): Likewise.
3223 (getpgid): Likewise.
3224 (getsid): Likewise.
3225 (getwd): Likewise.
3226 (lchown): Likewise.
3227 (lockf): Likewise.
3228 (readlink): Likewise.
3229 (sbrk): Likewise.
3230 (setpgrp): Likewise.
3231 (setregid): Likewise.
3232 (setreuid): Likewise.
3233 (symlink): Likewise.
3234 (sync): Likewise.
3235 (truncate): Likewise.
3236 (ualarm): Likewise.
3237 (usleep): Likewise.
3238 (vfork): Likewise.
3239 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3240 variable.
3241
3242 [BZ #20054]
3243 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3244 not [__USE_UNIX98].
3245 * conform/data/unistd.h-data (gethostname): Do not expect for
3246 [XPG3].
3247
3248 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3249 [!POSIX] (S_IFBLK): Likewise.
3250 [!POSIX] (S_IFCHR): Likewise.
3251 [!POSIX] (S_IFIFO): Likewise.
3252 [!POSIX] (S_IFREG): Likewise.
3253 [!POSIX] (S_IFDIR): Likewise.
3254 [!POSIX] (S_IFLNK): Likewise.
3255 [!POSIX] (S_IFSOCK): Likewise.
3256 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3257 variable.
3258 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3259
3260 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
3261
3262 * sysdeps/aarch64/memset.S (__memset):
3263 Rewrite of optimized memset.
3264
3265 2016-05-12 Florian Weimer <fweimer@redhat.com>
3266
3267 [BZ #19703]
3268 Partially async-signal-safe fork for single-threaded processes.
3269 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3270 variable. Do not acquire and reset/release malloc and libio locks
3271 in single-threaded processes.
3272 * malloc/tst-mallocfork2.c: New file.
3273 * malloc/Makefile (tests): Add it.
3274
3275 2016-05-12 Florian Weimer <fweimer@redhat.com>
3276
3277 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3278 argument. Use scratch buffer instead of extend_alloca.
3279 (gethosts): Use scratch buffer instead of extend_alloca.
3280 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
3281 extend_alloca.
3282 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3283
3284 2016-05-11 Joseph Myers <joseph@codesourcery.com>
3285
3286 [BZ #20055]
3287 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3288 instead of [__USE_UNIX98].
3289 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3290 [__USE_UNIX98].
3291 * conform/data/termios.h-data (tcgetsid): Do not expect for
3292 [XPG3].
3293 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3294 variable.
3295 (test-xfail-XPG4/termios.h/conform): Likewise.
3296
3297 2016-05-11 Florian Weimer <fweimer@redhat.com>
3298
3299 Do not use mcheck in localedef.
3300 * locale/programs/localedef.c (turn_on_mcheck)
3301 (__malloc_initialize_hook): Remove.
3302
3303 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3304
3305 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3306 * sysdeps/s390/s390-64/Makefile: Likewise.
3307
3308 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
3309
3310 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3311 Remove ifunc-defines.sym.
3312 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3313 Likewise.
3314 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3315 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3316 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3317 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3318 rtld-global-offsets.sym.
3319 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3320 * sysdeps/x86/cpu-features-offsets.sym: This.
3321 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3322 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3323
3324 2016-05-10 Joseph Myers <joseph@codesourcery.com>
3325
3326 [BZ #20073]
3327 * io/sys/stat.h (fchmod): Declare for
3328 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3329 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3330 variable.
3331
3332 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3333 [XPG3] (S_IFSOCK): Likewise.
3334 [XPG3] (S_ISVTX): Likewise.
3335 [XPG3] (S_ISLNK): Likewise.
3336 [XPG3] (S_ISSOCK): Likewise.
3337 [XPG3] (fchmod): Likewise.
3338 [XPG3] (lstat): Likewise.
3339 [XPG3] (mknod): Likewise.
3340
3341 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3342 [XPG3]. Expect type long and XFAIL for [XPG4].
3343 (st_blocks): Likewise.
3344
3345 [BZ #20044]
3346 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3347 (pthread_atfork): New prototype.
3348 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3349 variable.
3350
3351 [BZ #20043]
3352 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3353 prototype.
3354
3355 2016-05-10 Florian Weimer <fweimer@redhat.com>
3356
3357 [BZ #20017]
3358 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
3359 gmtime.
3360
3361 2016-05-10 Florian Weimer <fweimer@redhat.com>
3362
3363 [BZ #19994]
3364 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
3365 flag in _res.options.
3366
3367 2016-05-09 Joseph Myers <joseph@codesourcery.com>
3368
3369 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
3370 [XPG3 || XPG4].
3371 (blksize_t): Likewise.
3372 (clockid_t): Likewise.
3373 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
3374 variable.
3375 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3376
3377 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
3378
3379 * sysdeps/unix/sysv/linux/s390/init-first.c:
3380 Add VDSO_SYMBOL(getcpu).
3381 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
3382 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
3383 Add VDSO_SYMBOL(getcpu).
3384 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
3385 New define HAVE_GETCPU_VSYSCALL.
3386 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3387
3388 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
3389
3390 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
3391 instead of <sysdeps/x86_64/cacheinfo.c>.
3392 * sysdeps/x86_64/cacheinfo.c: Moved to ...
3393 * sysdeps/x86/cacheinfo.c: Here.
3394
3395 2016-05-04 Florian Weimer <fweimer@redhat.com>
3396
3397 * malloc/malloc-internal.h: Adjust header file guard.
3398
3399 2016-05-04 Florian Weimer <fweimer@redhat.com>
3400
3401 [BZ #19787]
3402 * inet/getnameinfo.c (check_sprintf_result): New function.
3403 (CHECKED_SNPRINTF): New macro.
3404 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
3405 to the host buffer.
3406 (gni_host_local): Use checked_copy to copy the host name.
3407 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
3408 (gni_serv_local): Use checked_copy to copy the service name.
3409 (getnameinfo): Remove unnecessary truncation of result buffers.
3410
3411 2016-05-04 Florian Weimer <fweimer@redhat.com>
3412
3413 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
3414 in case of inet_ntop failure.
3415
3416 2016-05-04 Florian Weimer <fweimer@redhat.com>
3417
3418 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
3419 avoid long lines.
3420 (gni_host_inet_numeric): Likewise. Reduce scope of local
3421 variables.
3422 (gni_host_inet, gni_host_local): Add comment.
3423 (gni_host): Add comment. Use temporary to avoid long lines.
3424
3425 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3426
3427 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
3428 registers specifiers where general purpose registers specifiers should
3429 have been used.
3430
3431 2016-05-04 Florian Weimer <fweimer@redhat.com>
3432
3433 [BZ #19779]
3434 CVE-2016-1234
3435 Avoid copying names of directory entries.
3436 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
3437 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
3438 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
3439 (struct readdir_result): New type.
3440 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
3441 (GL_READDIR): New macros.
3442 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
3443 (convert_dirent, convert_dirent64): New functions.
3444 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
3445 convert_dirent64. Adjust references to the readdir result.
3446 * sysdeps/unix/sysv/linux/i386/glob64.c:
3447 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
3448 * posix/bug-glob2.c (LONG_NAME): Define.
3449 (filesystem): Add LONG_NAME.
3450 (my_DIR): Increase the size of room_for_dirent.
3451
3452 2016-05-03 Joseph Myers <joseph@codesourcery.com>
3453
3454 [BZ #20041]
3455 * misc/sys/select.h (__need_timespec): Only define if
3456 [__USE_XOPEN2K].
3457 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3458 variable.
3459 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3460 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3461 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3462
3463 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3464 Segher Boessenkool <segher@gcc.gnu.org>
3465
3466 [BZ #20004]
3467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3468 (__novec_swapcontext): Add missing load.
3469
3470 2016-05-02 Joseph Myers <joseph@codesourcery.com>
3471
3472 [BZ #20023]
3473 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3474 <time.h>.
3475 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3476 variable.
3477 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3478
3479 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3480
3481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3482 flags CLONE_VM compare.
3483
3484 2016-05-02 Florian Weimer <fweimer@redhat.com>
3485
3486 [BZ #20031]
3487 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3488 completely empty.
3489
3490 2016-05-02 Florian Weimer <fweimer@redhat.com>
3491
3492 [BZ #19573]
3493 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3494 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3495 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3496 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3497 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3498 (hesiod_free_list): Mark as hidden.
3499 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3500 res_set, res_get.
3501 * hesiod/hesiod.c: Remove unnecessary forward declarations.
3502 (init, __hesiod_res_get, __hesiod_res_set): Remove.
3503 (hesiod_init): Remove obsolete res_ninit call.
3504 (hesiod_end): Do not free resolver state. Do not invoke callback.
3505 (hesiod_bind): Do not call init.
3506 (get_txt_records): Use res_mkquery, res_send instead of
3507 res_nmkquery, res_nsend.
3508 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3509 instead of _nss_hesiod_init.
3510 (_nss_hesiod_initgroups_dyn): Likewise.
3511 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3512 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3513 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3514
3515 2016-05-02 Florian Weimer <fweimer@redhat.com>
3516
3517 * hesiod/hesiod_p.h (DEF_RHS): Remove.
3518 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3519
3520 2016-05-02 Florian Weimer <fweimer@redhat.com>
3521
3522 * hesiod/hesiod.h: Remove RCS keyword.
3523 * hesiod/hesiod_p.h: Likewise.
3524
3525 * hesiod/hesiod.c: Likewise.
3526
3527 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
3528
3529 [BZ #12450]
3530 * locale/iso-639.def: Add Samogitian/sgs.
3531
3532 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
3533
3534 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3535
3536 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3537
3538 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
3539 Carlos O'Donell <carlos@redhat.com>
3540
3541 [BZ #19072]
3542 * grp/Makefile (headers): Add grp-merge.h
3543 (routines): Add grp-merge.
3544 * grp/getgrgid_r.c: Include grp-merge.h.
3545 (DEEPCOPY_FN): Define.
3546 (MERGE_FN): Define.
3547 * grp/getgrname_r.c: Include grp-merge.h.
3548 (DEEPCOPY_FN): Define.
3549 (MERGE_FN): Define.
3550 * grp/grp-merge.c: New file.
3551 * grp/grp-merge.h: New file.
3552 * include/grp-merge.h: New file.
3553 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3554 __copy_grp@GLIBC_PRIVATE.
3555 * manual/nss.texi (Actions in the NSS configuration): Describe
3556 return, continue, and merge.
3557 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3558 (DEEPCOPY_FN): Define.
3559 (MERGE_FN): Define.
3560 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3561 (DEEPCOPY_FN): Define.
3562 (MERGE_FN): Define.
3563 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3564 [!MERGE_FN]: Define __merge_einval.
3565 (CHECK_MERGE): Define.
3566 (REENTRANT_NAME): Process merge if do_merge is true.
3567 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3568 (__nss_getent_r): Likewise.
3569 * nss/nsswitch.c (nss_parse_service_list): Likewise.
3570 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3571
3572 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3573
3574 [BZ #20012]
3575 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3576 length to calculate the buffer to read.
3577 (fmemopen_write): Set the buffer position based on bytes written.
3578 (fmemopen_seek): Return EINVAL for invalid whence modes.
3579
3580 [BZ #19957]
3581 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3582 tst-getpid2.
3583 (test): Add tst-clone2.
3584 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3585 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3586 pid/tid fields for CLONE_VM.
3587 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3588 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3589 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3590 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3591 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3592 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3593 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3594 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3596 Likewise.
3597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3598 Likewise.
3599 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3600 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3601 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3602 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3603 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3604 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3605 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3606 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3607
3608 2016-04-29 Florian Weimer <fweimer@redhat.com>
3609
3610 [BZ #19642]
3611 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3612 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3613 (gni_serv_local, gni_serv): New functions extracted from
3614 getnameinfo.
3615 (getnameinfo): Call gni_host and gni_serv to perform the
3616 processing. Always free scratch buffer.
3617
3618 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3619
3620 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3621 remaining bytes in the dest string, with zeros.
3622
3623 2016-04-29 Florian Weimer <fweimer@redhat.com>
3624
3625 [BZ #20010]
3626 CVE-2016-3706
3627 * sysdeps/posix/getaddrinfo.c
3628 (convert_hostent_to_gaih_addrtuple): New function.
3629 (gethosts): Call convert_hostent_to_gaih_addrtuple.
3630 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3631 AF_INET data.
3632
3633 2016-04-29 Florian Weimer <fweimer@redhat.com>
3634
3635 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3636 callback function gl_readdir.
3637 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3638 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3639 (glob_in_dir): Remove len. Use strdup instead of malloc and
3640 memcpy to copy the name.
3641 * manual/pattern.texi (Calling Glob): Document requirements for
3642 implementations of the gl_readdir callback function.
3643 * manual/examples/mkdirent.c: New example.
3644 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3645 per the manual guidance.
3646 * posix/tst-gnuglob.c (my_readdir): Likewise.
3647
3648 2016-04-28 Joseph Myers <joseph@codesourcery.com>
3649
3650 [BZ #20014]
3651 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3652 not [__USE_POSIX].
3653 (getchar_unlocked): Likewise.
3654 (putc_unlocked): Likewise.
3655 (putchar_unlocked): Likewise.
3656 (flockfile): Likewise.
3657 (ftrylockfile): Likewise.
3658 (funlockfile): Likewise.
3659 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3660 variable.
3661 (test-xfail-XPG4/stdio.h/conform): Likewise.
3662
3663 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3664 Expect constant.
3665 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3666 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3667 variable.
3668 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3669 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3670
3671 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3672 [__USE_LARGEFILE64] (off64_t): Likewise.
3673 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3674 variable.
3675
3676 2016-04-28 Florian Weimer <fweimer@redhat.com>
3677
3678 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3679
3680 2016-04-28 Florian Weimer <fweimer@redhat.com>
3681
3682 * resolv/inet_addr.c: Reindent preprocessor conditionals.
3683 * resolv/res_init.c: Likewise.
3684 * resolv/res_mkquery.c: Likewise.
3685
3686 2016-04-28 Florian Weimer <fweimer@redhat.com>
3687
3688 * resolv/res_init.c (isascii): Do not define. Use definition in
3689 <ctype.h>.
3690 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3691 (LOG_AUTH): Remove.
3692 (SPRINTF): Remove, adjust caller.
3693 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3694
3695 2016-04-28 Florian Weimer <fweimer@redhat.com>
3696
3697 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3698 SUNSECURITY conditional.
3699 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3700
3701 2016-04-28 Florian Weimer <fweimer@redhat.com>
3702
3703 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3704 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3705 Remove BSD-related preprocessor conditionals.
3706 * conf/portability.h: Remove.
3707
3708 2016-04-28 Florian Weimer <fweimer@redhat.com>
3709
3710 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3711 * resolv/res_data.c: Likewise.
3712
3713 2016-04-28 Florian Weimer <fweimer@redhat.com>
3714
3715 * resolv/res_comp.c: Remove code conditional on __ultrix__.
3716 * resolv/res_data.c: Remove code conditional on ultrix.
3717
3718 2016-04-28 Florian Weimer <fweimer@redhat.com>
3719
3720 * resolv/res_init.c (RFC1535): Do not define. Remove
3721 RFC1535 preprocessor conditionals.
3722 * resolv/README: Update. Do not claim strict RFC 1535 compliance
3723 because there configuration options which make the resolver
3724 behavior different.
3725
3726 2016-04-28 Florian Weimer <fweimer@redhat.com>
3727
3728 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
3729 RESOLVSORT preprocessor conditionals.
3730 * resolv/nss_dns/dns-host.c: Likewise.
3731 * resolv/res_init.c: Likewise.
3732
3733 2016-04-28 Florian Weimer <fweimer@redhat.com>
3734
3735 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
3736 is never defined.
3737
3738 2016-04-28 Florian Weimer <fweimer@redhat.com>
3739
3740 * inet/inet_lnaof.c: Remove SCSS keyword.
3741 * inet/inet_mkadr.c: Likewise.
3742 * inet/inet_net.c: Likewise.
3743 * inet/inet_netof.c: Likewise.
3744 * inet/rcmd.c: Likewise.
3745 * inet/rexec.c: Likewise.
3746 * inet/ruserpass.c: Likewise.
3747
3748 2016-04-28 Florian Weimer <fweimer@redhat.com>
3749
3750 * resolv/inet_addr.c: Remove _LIBC conditionals.
3751 * resolv/res_data.c: Likewise.
3752 * resolv/res_init.c: Likewise.
3753 * resolv/res_mkquery.c: Likewise.
3754 * resolv/res_libc.c: Update comment.
3755 * resolv/README: Update.
3756
3757 2016-04-28 Florian Weimer <fweimer@redhat.com>
3758
3759 * resolv/gethnamaddr.c: Remove SCSS keyword.
3760 * resolv/herror.c: Likewise.
3761 * resolv/inet_addr.c: Likewise.
3762 * resolv/inet_net_ntop.c: Likewise.
3763 * resolv/inet_net_pton.c: Likewise.
3764 * resolv/inet_neta.c: Likewise.
3765 * resolv/inet_ntop.c: Likewise.
3766 * resolv/inet_pton.c: Likewise.
3767 * resolv/ns_date.c: Remove RCS keyword.
3768 * resolv/ns_name.c: Likewise.
3769 * resolv/ns_netint.c: Likewise.
3770 * resolv/ns_parse.c: Likewise.
3771 * resolv/ns_print.c: Likewise.
3772 * resolv/ns_samedomain.c: Likewise.
3773 * resolv/ns_ttl.c: Likewise.
3774 * resolv/nsap_addr.c: Likewise.
3775 * resolv/res_comp.c: Remove SCSS and RCS keyword.
3776 * resolv/res_data.c: Remove RCS keyword.
3777 * resolv/res_debug.c: Remove SCSS and RCS keyword.
3778 * resolv/res_init.c: Likewise.
3779 * resolv/res_mkquery.c: Likewise.
3780 * resolv/res_query.c: Likewise.
3781 * resolv/res_send.c: Likewise.
3782
3783 2016-04-27 Joseph Myers <joseph@codesourcery.com>
3784
3785 * conform/data/stdio.h-data (fdopen): Expect also for
3786 [XPG3 || XPG4].
3787
3788 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3789 (fseeko): Likewise.
3790 (ftello): Likewise.
3791 (ftrylockfile): Likewise.
3792 (funlockfile): Likewise.
3793 (getc_unlocked): Likewise.
3794 (getchar_unlocked): Likewise.
3795 (putc_unlocked): Likewise.
3796 (putchar_unlocked): Likewise.
3797
3798 2016-04-27 Florian Weimer <fweimer@redhat.com>
3799
3800 [BZ #19868]
3801 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3802 DNS packet syntax checks (which were not needed before). Skip
3803 over non-PTR records.
3804
3805 2016-04-27 Florian Weimer <fweimer@redhat.com>
3806
3807 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3808 definition. Include <stddef.h> instead.
3809
3810 2016-04-27 Florian Weimer <fweimer@redhat.com>
3811
3812 [BZ #19831]
3813 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3814 function.
3815 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3816 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3817
3818 2016-04-27 Florian Weimer <fweimer@redhat.com>
3819
3820 [BZ #19862]
3821 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3822 (getanswer_r): Do not call syslog.
3823 (gaih_getanswer_slice): Likewise.
3824 * resolv/gethnamaddr.c (AskedForGot): Remove.
3825 (getanswer): Do not call syslog.
3826 (gethostbyaddr): Likewise.
3827
3828 2016-04-27 Joseph Myers <joseph@codesourcery.com>
3829
3830 * conform/data/signal.h-data (union sigval): Expect also if
3831 [XOPEN2K].
3832 (struct sigevent): Likewise.
3833 (SIGEV_NONE): Likewise.
3834 (SIGEV_SIGNAL): Likewise.
3835 (SIGEV_THREAD): Likewise.
3836 (SIGRTMIN): Likewise.
3837 (SIGRTMAX): Likewise.
3838 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3839 variable.
3840 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3841
3842 2016-04-27 Florian Weimer <fweimer@redhat.com>
3843
3844 [BZ #19830]
3845 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3846 (gaih_getanswer_slice): Likewise.
3847 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3848 Also check for availability of RR metadata.
3849
3850 2016-04-27 Florian Weimer <fweimer@redhat.com>
3851
3852 [BZ #19825]
3853 * resolv/res_send.c (send_vc): Remove early *resplen2
3854 initialization. Set *resplen2 on socket error. Call
3855 close_and_return_error for other errors.
3856
3857 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3858
3859 * sysdeps/unix/sysv/linux/netiucv/iucv.h
3860 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3861 (SCM_IUCV_TRGCLS): New define.
3862
3863 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3864
3865 [BZ #20005]
3866 * libio/fmemopen.c (fmemopen_write): Update internal position after
3867 write.
3868 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3869 * stdio-common/tst-fmemopen4.c: New file..
3870
3871 2016-04-26 Joseph Myers <joseph@codesourcery.com>
3872
3873 [BZ #19996]
3874 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3875 not [__USE_XOPEN2K].
3876 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3877 variable.
3878
3879 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3880 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3881 variable.
3882
3883 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3884 [__USE_XOPEN2K8].
3885 [__USE_LARGEFILE64] (off64_t): Likewise.
3886 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3887 variable.
3888
3889 2016-04-25 Joseph Myers <joseph@codesourcery.com>
3890
3891 [BZ #19989]
3892 * libio/stdio.h (cuserid): Do not declare if
3893 [__USE_XOPEN2K && !__USE_GNU].
3894 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3895 variable.
3896
3897 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3898
3899 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3900 (sysdep_routines): Add P8 and PPC64 strcspn targets.
3901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3902 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3903 ifunc'ed strcspn.
3904 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3905 [EALIGN]: Removed.
3906 [END]: Likewise
3907 [STRSPN]: Define instead of the above to control symbol name.
3908 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3909 New file.
3910 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3911 Likewise.
3912 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3913 Likewise.
3914 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3915 Likewise.
3916 * sysdeps/powerpc/powerpc64/power8/strspn.S:
3917 [INITIAL_MASK]: New macro.
3918 [STRCSPN]: Likewise.
3919 [UPDATE_MASK]: Likewise.
3920 [USE_AS_STRCSPN]: Lisewise.
3921
3922 2016-04-25 Florian Weimer <fweimer@redhat.com>
3923
3924 [BZ #19931]
3925 * stdio-common/tst-vfprintf-width-prec.c: New file.
3926 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3927 (tests-special): Add tst-vfprintf-width-prec-mem.out.
3928 (generated): Add mtrace-related files.
3929 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3930 (tst-%-mem.out): New pattern rule, replaces
3931 tst-printf-bz18872-mem.out.
3932 * stdio-common/vfprintf.c (vfprintf): When handling a precision
3933 specifier, deallocate any previously allocated work buffer.
3934
3935 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3936
3937 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3938 Add nop before __startcontext, add explaining comments.
3939
3940 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
3941
3942 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3943 any more. Notably since IPV6_PKTINFO has been reintroduced with a
3944 completely different API.
3945
3946 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3947 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3948 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3949 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3950 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3951 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3952 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3953 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3954 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3955 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3956
3957 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
3958
3959 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3960
3961 2016-04-23 Mike Frysinger <vapier@gentoo.org>
3962
3963 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3964 when it is the default of 0.
3965
3966 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3967
3968 * sysdeps/powerpc/locale-defines.sym: Add new macros.
3969 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3970 (sysdep_routines): Add new strcasestr targets.
3971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3972 (__libc_ifunc_impl_list): Likewise.
3973 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3974 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3975 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3976 * sysdeps/powerpc/powerpc64/power8/Makefile:
3977 New file to add strcasestr-ppc64 to sysdep_routines.
3978 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3979 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3980
3981 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
3982
3983 * benchtests/Makefile (wcsmbs-benchset): Include only for
3984 native builds and runs.
3985 (LOCALES): Likewise.
3986 (bench-build): Build timing-type here instead of the bench
3987 target. Generate locale only for native builds.
3988 * benchtests/README: Add note for cross-building.
3989
3990 * benchtests/Makefile (bench-clean): Clean up extra-objs.
3991
3992 * benchtests/README: Update README to include instructions on
3993 using bench-build.
3994
3995 * Makefile.in (bench-build): New target.
3996 * Rules (PHONY): Add bench-build target.
3997 * benchtests/Makefile (bench): Depend on bench-build.
3998 (bench-build): New target.
3999
4000 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4001
4002 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
4003 profil_reply_port.
4004 (profile_waiter): Do not initialize profil_reply_port.
4005 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
4006 frequency instead of tick length in us.
4007
4008 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
4009
4010 [BZ #18712]
4011 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
4012 (__old_mempcpy_small): Likewise.
4013 (__old_strcpy_small): Likewise.
4014 (__old_stpcpy_small): Likewise.
4015 (__old_strpbrk_c2): Fix compat symbol name.
4016 (__old_strpbrk_c3): Likewise.
4017 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
4018 (__mempcpy_small): Remove.
4019 (__strcpy_small): Remove.
4020 (__stpcpy_small): Remove.
4021
4022 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
4023
4024 [BZ #19400]
4025 * locale/iso-639.def: Add the Talossan/tzl language.
4026
4027 2016-04-16 Mike Frysinger <vapier@gentoo.org>
4028
4029 [BZ #16983]
4030 * locale/programs/ld-address.c (address_finish): Update postal_fmt
4031 comment. Add "ln" to strchr check on postal_fmt.
4032
4033 2016-04-16 Mike Frysinger <vapier@gentoo.org>
4034
4035 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
4036 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
4037 tel_dom_fmt.
4038
4039 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
4040
4041 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4042 (sysdep_routines): Added __strlen_power8.
4043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
4044 __strlen_power8 entry.
4045 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
4046 Implementation for POWER8.
4047 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
4048 for __strlen_power8.
4049 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
4050 Implementation for POWER8.
4051
4052 2016-04-15 Mike Frysinger <vapier@gentoo.org>
4053
4054 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
4055
4056 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
4057
4058 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
4059 Goldmont and Airmont processors.
4060
4061 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
4062
4063 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
4064 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
4065 (__STRING2_SMALL_GET32): Remove.
4066 (memset): Remove.
4067 (__memset_1): Remove.
4068 (__memset_gc): Remove.
4069 (__mempcpy): Remove.
4070 (mempcpy): Remove.
4071 (__mempcpy_args): Remove.
4072 (strchr): Remove.
4073 (strcpy): Remove.
4074 (strcpy_args): Remove.
4075 (__stpcpy_args): Remove.
4076 (__strcmp_cc): Remove.
4077 (__strcmp_gc): Remove.
4078 (strstr): Remove.
4079
4080 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
4081
4082 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4083 * nis/nis_call.c (nis_server_cache_add): Likewise.
4084
4085 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4086
4087 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4088
4089 2016-04-14 Florian Weimer <fweimer@redhat.com>
4090
4091 * malloc/arena.c (__malloc_fork_lock_parent)
4092 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
4093 internal_function attribute.
4094
4095 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
4096
4097 * stdio-common/printf_fp.c (__printf_fp_l):
4098 Rename ___printf_fp_l to __printf_fp_l and
4099 remove strong alias. Use libc_hidden_def instead
4100 of ldbl_hidden_def macro.
4101
4102 2016-04-14 Florian Weimer <fweimer@redhat.com>
4103
4104 Remove malloc hooks from fork handler. They are no longer needed
4105 because malloc runs right before fork, and no malloc calls from
4106 other fork handlers are not possible anymore.
4107 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
4108 declarations.
4109 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
4110 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
4111 (atfork_recursive_cntr): Remove.
4112 (__malloc_fork_lock_parent): Do not override malloc hooks and
4113 thread_arena.
4114 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
4115 thread_arena.
4116 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
4117 thread_arena instead of save_arena.
4118
4119 2016-04-14 Florian Weimer <fweimer@redhat.com>
4120
4121 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
4122 (thread_atfork, thread_atfork_static): Remove.
4123 * sysdeps/mach/hurd/malloc-machine.h:
4124 (thread_atfork, thread_atfork_static): Remove.
4125
4126 2016-04-14 Florian Weimer <fweimer@redhat.com>
4127
4128 [BZ #19431]
4129 Run the malloc fork handler as late as possible to avoid deadlocks.
4130 * malloc/malloc-internal.h: New file.
4131 * malloc/malloc.c: Include it.
4132 * malloc/arena.c (ATFORK_MEM): Remove.
4133 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
4134 Update comment.
4135 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
4136 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
4137 Remove outdated comment.
4138 (ptmalloc_init): Do not call thread_atfork. Remove
4139 thread_atfork_static.
4140 * malloc/tst-malloc-fork-deadlock.c: New file.
4141 * Makefile (tests): Add tst-malloc-fork-deadlock.
4142 (tst-malloc-fork-deadlock): Link against libpthread.
4143 * manual/memory.texi (Aligned Memory Blocks): Update safety
4144 annotation comments.
4145 * sysdeps/nptl/fork.c (__libc_fork): Call
4146 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4147 __malloc_fork_unlock_child.
4148 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4149
4150 2016-04-14 Florian Weimer <fweimer@redhat.com>
4151
4152 [BZ #19613]
4153 Remove union wait.
4154 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
4155 (w_stopsig, w_stopval): Remove.
4156 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
4157 stat_loc argument.
4158 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
4159 (__WAIT_STATUS_DEFN): Remove.
4160 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4161 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
4162 (wait, wait3, wait4): Use int * for the stat_loc argument.
4163 * posix/wait.c (__wait): Likewise.
4164 * posix/wait3.c (__wait3): Likewise.
4165 * posix/wait4.c (__wait4): Likewise.
4166 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
4167 (__WAIT_STATUS_DEFN): Remove.
4168 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4169 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
4170 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
4171 argument.
4172 * sysdeps/posix/wait.c (__libc_wait): Likewise.
4173 * sysdeps/posix/wait3.c (__wait3): Likewise.
4174 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
4175 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4176 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
4177 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
4178 stat_loc argument.
4179 * manual/process.texi (BSD Wait Functions): Remove union wait.
4180
4181 2016-04-13 Andreas Schwab <schwab@suse.de>
4182
4183 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
4184 (test-extras): Add tst-tlsalign-vars.
4185 * math/Makefile: Wrap long lines.
4186 (libm-vec-test-wrappers): Define.
4187 (test-extras): Add $(libm-vec-test-wrappers).
4188 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
4189 * nss/Makefile (extra-test-objs): Add nss_test1.os.
4190 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
4191 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
4192 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
4193 (extra-test-objs): Add corresponding objects.
4194
4195 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
4196
4197 [BZ #19928]
4198 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
4199 New.
4200 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
4201 times of shared cache size.
4202 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
4203 (VMOVNT): New.
4204 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
4205 (VMOVNT): Likewise.
4206 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4207 (VMOVNT): Likewise.
4208 (VMOVU): Changed to movups for smaller code sizes.
4209 (VMOVA): Changed to movaps for smaller code sizes.
4210 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4211 comments.
4212 (PREFETCH): New.
4213 (PREFETCH_SIZE): Likewise.
4214 (PREFETCHED_LOAD_SIZE): Likewise.
4215 (PREFETCH_ONE_SET): Likewise.
4216 Rewrite to use forward and backward loops, which move 4 vector
4217 registers at a time, to support overlapping addresses and use
4218 non temporal store if size is above the threshold and there is
4219 no overlap between destination and source.
4220
4221 2016-04-12 Alex Smith <alex.smith@imgtec.com>
4222
4223 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4224 Include dl-vdso.
4225 * sysdeps/unix/sysv/linux/mips/Versions: Add
4226 __vdso_clock_gettime.
4227 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4228 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4229 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4230 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4231 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4232 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4233 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4234 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4235 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4236
4237 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4238
4239 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4240 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4241 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4242 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4243 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4244 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4247 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4248 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4249 syscalls generation.
4250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4251 [__NR_pwrite64] (__NR_write): Remove define.
4252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4253 [__NR_pwrite64] (__NR_write): Remove define.
4254 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4255 Remove define.
4256 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4257 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4258 Remove define.
4259 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4260 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4261 Linux implementation as base.
4262 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4263
4264 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4265 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4266 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4267 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4270 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4271 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4272 syscall generation.
4273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4274 [__NR_pread64] (__NR_pread): Remove define.
4275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4276 [__NR_pread64] (__NR_pread): Likewise.
4277 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4278 define.
4279 (__libc_pread): Use SYSCALL_LL macro on offset argument.
4280 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4281 Remove define.
4282 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4283 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4284 Linux implementation as base.
4285 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4286 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4287 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4288
4289 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4290 definition.
4291 (__ALIGNMENT_COUNT): Likewise.
4292 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4293 (__ALIGNMENT_COUNT): Likewise.
4294 (SYSCALL_LL): New define.
4295 (SYSCALL_LL64): Likewise.
4296 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4297 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4298 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4299 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4300
4301 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4302 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4303 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4304 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4305 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4306 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4307
4308 2016-04-11 Florian Weimer <fweimer@redhat.com>
4309
4310 [BZ #19865]
4311 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4312 original buffer before retry.
4313
4314 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4315
4316 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4317 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4318 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4319 GLRO(dl_auxv) list.
4320 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4321 including <ldsodefs.h>.
4322 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4323
4324 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
4325
4326 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4327 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4328 $(CPPFLAGS).
4329
4330 2016-04-09 Khem Raj <raj.khem@gmail.com>
4331
4332 [BZ #17950]
4333 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4334 Add -mfpmath=387.
4335
4336 2016-04-09 Mike Frysinger <vapier@gentoo.org>
4337
4338 * sysdeps/i386/configure.ac: Change == to = when calling test.
4339 * sysdeps/x86_64/configure.ac: Likewise.
4340 * sysdeps/i386/configure: Regenerated.
4341 * sysdeps/x86_64/configure: Likewise.
4342
4343 2016-04-08 Mike Frysinger <vapier@gentoo.org>
4344
4345 [BZ #16137]
4346 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4347 * benchtests/bench-strcoll.c (input_files): Likewise.
4348 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4349 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4350 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4351
4352 2016-04-08 Joseph Myers <joseph@codesourcery.com>
4353
4354 [BZ #19929]
4355 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4356 [__USE_XOPEN2K8 && !__USE_GNU].
4357 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
4358 variable.
4359
4360 [BZ #19925]
4361 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
4362 define if [!__USE_MISC && __USE_XOPEN2K].
4363 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
4364 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
4365 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
4366 Likewise.
4367 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
4368 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
4369 variable.
4370 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4371
4372 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4373
4374 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4375 (sysdep_routines): Add new strspn targets.
4376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4377 (__libc_ifunc_impl_list): Add strspn.
4378 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4379 New file.
4380 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
4381 Likewise.
4382 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
4383 Likewise.
4384 * sysdeps/powerpc/powerpc64/power8/strspn.S:
4385 Likewise.
4386
4387 2016-04-07 Florian Weimer <fweimer@redhat.com>
4388
4389 * misc/hsearch_r.c: Include <limits.h>.
4390
4391 2016-04-07 Florian Weimer <fweimer@redhat.com>
4392
4393 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
4394
4395 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
4396
4397 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4398 (MEMCPY_SYMBOL): New.
4399 (MEMPCPY_SYMBOL): Likewise.
4400 (MEMMOVE_CHK_SYMBOL): Likewise.
4401 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
4402 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
4403 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
4404 Provide alias for memcpy in libc.a and ld.so.
4405
4406 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
4407
4408 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4409 (MEMSET_CHK_SYMBOL): New. Define if not defined.
4410 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
4411 Disabled fro now.
4412 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
4413 symbols. Properly check USE_MULTIARCH on __memset symbols.
4414
4415 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
4416
4417 * benchtests/Makefile (string-benchset): Add memcpy-large,
4418 memmove-large and memset-large.
4419 * benchtests/bench-memcpy-large.c: New file.
4420 * benchtests/bench-memmove-large.c: Likewise.
4421 * benchtests/bench-memmove-large.c: Likewise.
4422 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
4423
4424 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
4425
4426 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4427 32-bit displacement to avoid long nop between instructions.
4428
4429 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
4430
4431 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
4432 a comment on VMOVU and VMOVA.
4433
4434 2016-04-04 Florian Weimer <fweimer@redhat.com>
4435
4436 [BZ #19633]
4437 Use specified locale for number formatting in strfmon_l.
4438 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
4439 (__nl_lookup_word): New inline functions.
4440 * include/printf.h (__print_fp_l): Declare.
4441 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
4442 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
4443 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
4444 (___printf_fp): New function.
4445 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
4446 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
4447 * stdlib/tst-strfmon_l.c (do_test): New test.
4448 * stdlib/Makefile (tests): Add kt.
4449 (LOCALES): Build additional locales.
4450 (tst-strfmon_l.out): Require locales.
4451
4452 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
4453
4454 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4455 if not in libc.
4456 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4457 Likewise.
4458 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4459 Likewise.
4460 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4461 Likewise.
4462
4463 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
4464
4465 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4466 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4467 with unaligned_erms.
4468 (__memmove_erms): Skip if source == destination.
4469 (__memmove_unaligned_erms): Don't check source == destination
4470 first.
4471
4472 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4473
4474 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4475 bit_arch_Fast_Copy_Backward for Intel Core proessors.
4476
4477 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4478
4479 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4480 * string/strspn.c (strspn): Likewise.
4481
4482 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4483
4484 * benchtests/bench-memset.c (do_test): Support 64-byte
4485 alignment.
4486 (test_main): Test 64-byte alignment.
4487
4488 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4489
4490 * benchtests/bench-memmove.c (test_main): Test 64-byte
4491 alignment.
4492
4493 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4494
4495 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4496
4497 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4498
4499 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4500 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4501 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4502
4503 * string/strpbrk.c (strpbrk): Rewrite function.
4504 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4505 (__strpbrk_c2): Likewise.
4506 (__strpbrk_c3): Likewise.
4507 * string/string-inlines.c
4508 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4509 Likewise.
4510 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4511 Likewise.
4512
4513 * string/strspn.c (strcspn): Rewrite function.
4514 * string/bits/string2.h (strspn): Use __builtin_strcspn.
4515 (__strspn_c1): Remove inline function.
4516 (__strspn_c2): Likewise.
4517 (__strspn_c3): Likewise.
4518 * string/string-inlines.c
4519 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4520 compatibility symbol.
4521 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4522 Likewise.
4523 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4524 Likewise.
4525 * string/string-inlines.c: Include generic version.
4526
4527 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
4528 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4529
4530 * string/Version (libc): Add GLIBC_2.24.
4531 * string/strcspn.c (strcspn): Rewrite function.
4532 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4533 (__strcspn_c1): Remove inline function.
4534 (__strcspn_c2): Likewise.
4535 (__strcspn_c3): Likewise.
4536 * string/string-inline.c
4537 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4538 compatibility symbol.
4539 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4540 Likewise.
4541 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4542 Likewise.
4543 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4544
4545 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4546
4547 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4548 Use ahi instead of aghi to adjust stack pointer.
4549
4550 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4551
4552 [BZ #19853]
4553 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4554 TEST to take significant digits as second parameter.
4555 [TEST]: Redefine in terms of TEST_N taking 30
4556 significant digits.
4557 (do_test): Add test case to demonstrate precision
4558 failure in the ldbl-128ibm printf.
4559 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4560 (__mpn_extract_long_double): Carry 7 extra intermediate
4561 bits of precision to aide computing difference when
4562 signs differ.
4563
4564 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
4565
4566 [BZ #19881]
4567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4568 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4569 memset-avx512-unaligned-erms.
4570 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4571 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4572 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4573 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4574 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4575 __memset_sse2_unaligned_erms, __memset_erms,
4576 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4577 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4578 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4579 file.
4580 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4581 Likewise.
4582 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4583 Likewise.
4584 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4585 Likewise.
4586
4587 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
4588
4589 [BZ #19776]
4590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4591 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4592 memmove-avx512-unaligned-erms.
4593 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4594 (__libc_ifunc_impl_list): Test
4595 __memmove_chk_avx512_unaligned_2,
4596 __memmove_chk_avx512_unaligned_erms,
4597 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4598 __memmove_chk_sse2_unaligned_2,
4599 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4600 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4601 __memmove_avx512_unaligned_erms, __memmove_erms,
4602 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4603 __memcpy_chk_avx512_unaligned_2,
4604 __memcpy_chk_avx512_unaligned_erms,
4605 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4606 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4607 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4608 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4609 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4610 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4611 __mempcpy_chk_avx512_unaligned_erms,
4612 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4613 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4614 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4615 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4616 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4617 __mempcpy_erms.
4618 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4619 file.
4620 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4621 Likwise.
4622 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4623 Likwise.
4624 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4625 Likwise.
4626
4627 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4628
4629 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4630 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4631 (La_s390_64_regs): Likewise.
4632 (La_s390_32_retval): Append vector register lrv_v24.
4633 (La_s390_64_retval): Likeweise.
4634 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4635 Handle extended structs La_s390_32_regs and La_s390_32_retval.
4636 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4637 Handle extended structs La_s390_64_regs and La_s390_64_retval.
4638
4639 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4640
4641 [BZ #19916]
4642 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4643 to create a non-vector/vector version for _dl_runtime_resolve and
4644 _dl_runtime_profile. Move implementation to ...
4645 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4646 (_dl_runtime_resolve) Save and restore fpr/vrs.
4647 (_dl_runtime_profile) Save and restore vrs and fix some issues
4648 if _dl_call_pltexit is called.
4649 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4650 Choose the correct resolver function if running on a machine with vx.
4651 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4652 to create a non-vector/vector version for _dl_runtime_resolve and
4653 _dl_runtime_profile. Move implementation to ...
4654 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4655 (_dl_runtime_resolve) Save and restore fpr/vrs.
4656 (_dl_runtime_profile) Save and restore vrs and fix some issues
4657 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4658 Choose the correct resolver function if running on a machine with vx.
4659
4660 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4661
4662 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4663
4664 2016-03-31 Florian Weimer <fweimer@redhat.com>
4665
4666 [BZ #19509]
4667 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4668 skip_map != NULL.
4669 * elf/tst-dlsym-error.c: New file.
4670 * elf/Makefile (tests): Add tst-dlsym-error.
4671 (tst-dlsym-error): Link against libdl.
4672
4673 2016-03-29 Joseph Myers <joseph@codesourcery.com>
4674
4675 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4676 (__ASSUME_FUTIMESAT): Remove macro.
4677 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4678
4679 2016-03-29 Florian Weimer <fweimer@redhat.com>
4680
4681 [BZ #19879]
4682 CVE-2016-3075
4683 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4684 copy name.
4685
4686 2016-03-29 Florian Weimer <fweimer@redhat.com>
4687
4688 [BZ #19837]
4689 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4690 error if parse_line fails.
4691
4692 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4693
4694 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4695 (index_cpu_ERMS): Likewise.
4696 (reg_ERMS): Likewise.
4697
4698 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
4699
4700 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4701 PER_LINUX_FDPIC): Add.
4702
4703 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4704
4705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4706 memcpy-avx512-no-vzeroupper.
4707 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4708 to ...
4709 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4710 (MEMCPY): Don't define.
4711 (MEMCPY_CHK): Likewise.
4712 (MEMPCPY): Likewise.
4713 (MEMPCPY_CHK): Likewise.
4714 (MEMPCPY_CHK): Renamed to ...
4715 (__mempcpy_chk_avx512_no_vzeroupper): This.
4716 (MEMPCPY_CHK): Renamed to ...
4717 (__mempcpy_chk_avx512_no_vzeroupper): This.
4718 (MEMCPY_CHK): Renamed to ...
4719 (__memmove_chk_avx512_no_vzeroupper): This.
4720 (MEMCPY): Renamed to ...
4721 (__memmove_avx512_no_vzeroupper): This.
4722 (__memcpy_avx512_no_vzeroupper): New alias.
4723 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4724
4725 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4726
4727 [BZ #18858]
4728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4729 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4730 and mempcpy-avx512-no-vzeroupper.
4731 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4732 New.
4733 (MEMPCPY): Likewise.
4734 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4735 (MEMPCPY_CHK): New.
4736 (MEMPCPY): Likewise.
4737 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4738 (MEMPCPY): Likewise.
4739 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4740 (MEMPCPY): Likewise.
4741 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4742 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4743 Likewise.
4744 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4745 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4746
4747 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4748 Amit Pawar <Amit.Pawar@amd.com>
4749
4750 [BZ #19583]
4751 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4752 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4753 processors. Set Fast_Copy_Backward for AMD Excavator
4754 processors.
4755 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4756 New.
4757 (index_arch_Fast_Unaligned_Copy): Likewise.
4758 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4759 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4760
4761 2016-03-25 Florian Weimer <fweimer@redhat.com>
4762
4763 [BZ #19791]
4764 * resolv/res_send.c (close_and_return_error): New function.
4765 (send_dg): Initialize *resplen2 after reopen failure. Call
4766 close_and_return_error for error returns. On error paths without
4767 __res_iclose, initialze *resplen2 explicitly. Update comment for
4768 successful return.
4769
4770 2016-03-25 Florian Weimer <fweimer@redhat.com>
4771
4772 [BZ# 19860]
4773 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4774 zero if the compiler does not provide the AVX512F bit.
4775
4776 2016-03-24 Joseph Myers <joseph@codesourcery.com>
4777
4778 [BZ #19848]
4779 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4780 from 8 to 4.
4781 (__ieee754_powl): Compare integer exponent against 4 not 8.
4782 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4783 from 8 to 4.
4784 (__ieee754_powl): Compare integer exponent against 4 not 8.
4785 * math/auto-libm-test-in: Add more tests of pow.
4786 * math/auto-libm-test-out: Regenerated.
4787 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4789
4790 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
4791
4792 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4793 Make code unconditional.
4794 [!__NR_utimensat]: Remove conditional code.
4795 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4796 Make code unconditional.
4797 [!__NR_utimensat]: Remove conditional code.
4798 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4799 Make code unconditional.
4800 [!__NR_utimensat]: Remove conditional code.
4801
4802 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
4803
4804 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4805 Make code unconditional.
4806
4807 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
4808
4809 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4810 call-clobbered %eax on retry path.
4811 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4812
4813 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
4814
4815 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4816 Don't set %rcx twice before "rep movsb".
4817
4818 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
4819
4820 [BZ #19583]
4821 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4822 inline. Check family before setting family, model and
4823 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
4824 bits here.
4825 (init_cpu_features): Replace HAS_CPU_FEATURE and
4826 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4827 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
4828 for Intel processors with usable AVX2. Call get_common_indeces
4829 for other processors with family == NULL.
4830 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4831 (CPU_FEATURES_ARCH_P): Likewise.
4832 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4833 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4834
4835 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4836
4837 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4838 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4839 $(shared-thread-library) instead of hardcoding the path to libpthread.
4840
4841 2016-03-22 Joseph Myers <joseph@codesourcery.com>
4842
4843 * sysdeps/unix/sysv/linux/kernel-features.h
4844 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4845 * sysdeps/unix/sysv/linux/getdents.c
4846 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4847 [!have_no_getdents64_defined]: Likewise.
4848 (__GETDENTS): Remove __have_no_getdents64 conditional.
4849
4850 2016-03-21 Joseph Myers <joseph@codesourcery.com>
4851
4852 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4853 Remove macro.
4854 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4855 <kernel-features.h>.
4856 (signalfd) [__NR_signalfd4]: Make code unconditional.
4857 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4858
4859 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4860
4861 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4862 style.
4863
4864 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
4865
4866 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4867 (__pthread_enable_asynccancel): Use JUMPTARGET to call
4868 __pthread_unwind.
4869 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4870 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4871 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4872 (__condvar_cleanup1): Likewise.
4873
4874 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
4875
4876 [BZ #19822]
4877 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4878 move it to the final $@ location.
4879
4880 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4881
4882 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4883 access where posix_spawn success and pid argument is null.
4884 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4885 success case.
4886
4887 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
4888
4889 * sysdeps/mach/hurd/i386/c++-types.data: New file.
4890
4891 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4892
4893 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4894 and __fcntl.
4895 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4896 __fcntl only.
4897 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4898 adding attribute_hidden to __open and __fcntl.
4899
4900 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4901 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4902 depend on libc-modules.h,
4903 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4904
4905 2016-03-17 Joseph Myers <joseph@codesourcery.com>
4906
4907 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4908 Remove macro.
4909 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4910 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4911 entry.
4912
4913 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4914 Remove macro.
4915 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4916 include <kernel-features.h>.
4917 [!__ASSUME_FALLOCATE]: Remove conditional code.
4918 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4919
4920 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
4921
4922 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4923 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4924 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4925 (_ZGVdN4v_cos_avx2): Likewise.
4926 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4927 (_ZGVdN4v_cos): Likewise.
4928 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4929 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4930 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4931 (_ZGVdN4v_exp_avx2): Likewise.
4932 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4933 (_ZGVdN4v_exp): Likewise.
4934 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4935 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4936 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4937 (_ZGVdN4v_log_avx2): Likewise.
4938 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4939 (_ZGVdN4v_log): Likewise.
4940 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4941 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4942 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4943 (_ZGVdN4vv_pow_avx2): Likewise.
4944 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4945 (_ZGVdN4vv_pow): Likewise.
4946 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4947 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4948 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4949 (_ZGVdN4v_sin_avx2): Likewise.
4950 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4951 (_ZGVdN4v_sin): Likewise.
4952 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4953 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4954 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4955 (_ZGVdN4vvv_sincos_avx2): Likewise.
4956 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4957 (_ZGVdN4vvv_sincos): Likewise.
4958 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4959 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4960 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4961 (_ZGVbN4v_cosf_sse4): Likewise.
4962 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4963 (_ZGVdN8v_cosf_avx2): Likewise.
4964 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4965 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4966 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4967 (_ZGVbN4v_expf_sse4): Likewise.
4968 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4969 (_ZGVdN8v_expf_avx2): Likewise.
4970 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4971 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4972 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4973 (_ZGVbN4v_logf_sse4): Likewise.
4974 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4975 (_ZGVdN8v_logf_avx2): Likewise.
4976 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4977 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4978 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4979 (_ZGVbN4vv_powf_sse4): Likewise.
4980 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4981 (_ZGVdN8vv_powf_avx2): Likewise.
4982 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4983 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4984 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4985 (_ZGVbN4vvv_sincosf_sse4): Likewise.
4986 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4987 (_ZGVdN8vvv_sincosf_avx2): Likewise.
4988 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4989 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4990 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4991 (_ZGVbN4v_sinf_sse4): Likewise.
4992 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4993 (_ZGVdN8v_sinf_avx2): Likewise.
4994 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4995 Use JUMPTARGET to call callee.
4996 (WRAPPER_IMPL_SSE2_ff): Likewise.
4997 (WRAPPER_IMPL_SSE2_fFF): Likewise.
4998 (WRAPPER_IMPL_AVX): Likewise.
4999 (WRAPPER_IMPL_AVX_ff): Likewise.
5000 (WRAPPER_IMPL_AVX_fFF): Likewise.
5001 (WRAPPER_IMPL_AVX512): Likewise.
5002 (WRAPPER_IMPL_AVX512_ff): Likewise.
5003 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5004 Likewise.
5005 (WRAPPER_IMPL_SSE2_ff): Likewise.
5006 (WRAPPER_IMPL_SSE2_fFF): Likewise.
5007 (WRAPPER_IMPL_AVX): Likewise.
5008 (WRAPPER_IMPL_AVX_ff): Likewise.
5009 (WRAPPER_IMPL_AVX_fFF): Likewise.
5010 (WRAPPER_IMPL_AVX512): Likewise.
5011 (WRAPPER_IMPL_AVX512_ff): Likewise.
5012 (WRAPPER_IMPL_AVX512_fFF): Likewise.
5013
5014 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5015
5016 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
5017 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
5018 qualifier.
5019 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
5020 internal_function qualifiers.
5021
5022 2016-03-15 Carlos O'Donell <carlos@redhat.com>
5023
5024 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
5025 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
5026 * math/atest-exp.c (exp_mpn): Mark chk unused.
5027 * math/atest-exp2.c (exp_mpn): Likwise.
5028 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
5029 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
5030
5031 2016-03-15 Joseph Myers <joseph@codesourcery.com>
5032
5033 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
5034 Remove macro.
5035 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
5036 <kernel-features.h>.
5037 [__NR_ppoll]: Make code unconditional.
5038 [!__ASSUME_PPOLL]: Remove conditional code.
5039
5040 * sysdeps/unix/sysv/linux/kernel-features.h
5041 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5042 (__ASSUME_ACCEPT4): Likewise.
5043 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5044 Define.
5045 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
5046 Likewise.
5047 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5048 Likewise.
5049 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
5050 Likewise.
5051 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
5052 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
5053 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5054 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5055 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5056 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5057 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5058 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5059 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5060 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5061 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5062 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5063 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5064 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5065 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5066 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5067 Likewise.
5068 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5069 Likewise.
5070 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5071 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5072 0x040300].
5073 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5074 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5075 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5076 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5077 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5078 0x030300].
5079 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5080 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5081 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5082 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5083 0x040300].
5084 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5085 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5086 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5087 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5088 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5089 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5090 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5091 0x030300].
5092 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5093 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5094 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5095 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5096 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5097 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5098 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5099 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5100 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5101 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5102 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5103 0x040300].
5104 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5105 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5106 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5107 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5108 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5109 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5110 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5111 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5112 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5113 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5114 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5115 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5116 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5117 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5118 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5119 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5120 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5121 Likewise.
5122 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5123 Likewise.
5124
5125 2016-03-15 Andreas Schwab <schwab@suse.de>
5126
5127 [BZ #19257]
5128 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5129 statp->_u._ext.nscount as loop count.
5130
5131 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
5132
5133 * math/test-signgam-finite-c99.c: Also #undef
5134 __LIBC_INTERNAL_MATH_INLINES.
5135 * math/test-signgam-main.c: Likewise.
5136
5137 2016-03-14 Joseph Myers <joseph@codesourcery.com>
5138
5139 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
5140 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5141 (MADV_FREE): Likewise.
5142 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
5143 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
5144 EPOLLEXCLUSIVE.
5145
5146 2016-03-14 Carlos O'Donell <carlos@redhat.com>
5147
5148 * timezone/README: Remove mention of checktab.awk. Mention wiki
5149 SharedSourceFiles.
5150
5151 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
5152
5153 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
5154 WUNTRACED.
5155
5156 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5157
5158 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
5159 order to match the type of p when calling atomic_exchange_acq().
5160
5161 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5162
5163 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
5164 cfi_offset calls.
5165 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5166 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
5167 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
5168 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
5169 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
5170
5171 2016-03-10 Carlos O'Donell <carlos@redhat.com>
5172
5173 * timezone/checktab.awk: Removed.
5174
5175 2016-03-10 Joseph Myers <joseph@codesourcery.com>
5176
5177 * manual/math.texi (Errors in Math Functions): Document relaxed
5178 accuracy goals for IBM long double.
5179 * math/libm-test.inc (test_exceptions): Always allow spurious
5180 "underflow" and "inexact" exceptions for IBM long double.
5181
5182 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
5183
5184 [BZ #19762]
5185 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5186 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
5187 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5188 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
5189 (bit_arch_*): This for feature array.
5190 (bit_*): Renamed to ...
5191 (bit_cpu_*): This for cpu array.
5192 (index_*): Renamed to ...
5193 (index_arch_*): This for feature array.
5194 (index_*): Renamed to ...
5195 (index_cpu_*): This for cpu array.
5196 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
5197 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
5198 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
5199 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
5200 bit_##name with index_cpu_##name and bit_cpu_##name.
5201 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
5202 bit_##name with index_arch_##name and bit_arch_##name.
5203
5204 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
5205
5206 [BZ #19792]
5207 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5208 Terminate FDE before return label.
5209
5210 2016-03-09 Joseph Myers <joseph@codesourcery.com>
5211
5212 [BZ #19790]
5213 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5214 (rintl): Define as macro.
5215 [USE_AS_NEARBYINTL] (__rintl): Likewise.
5216 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5217 of fesetround. Ensure results are evaluated before end of scope.
5218 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5219 USE_AS_NEARBYINTL and include s_rintl.c.
5220 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5221 Disable exception traps in new environment.
5222 (libc_feholdsetround_ppc_ctx): Likewise.
5223
5224 2016-03-08 Roland McGrath <roland@hack.frob.com>
5225
5226 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5227 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5228 (tst_audit10_aux) [__AVX512F__]: ... here.
5229
5230 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
5231
5232 * include/sys/auxv.h: New file.
5233
5234 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
5235
5236 [BZ #19759]
5237 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5238
5239 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5240
5241 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5242 operand modifier.
5243 (feclearexcept): Likewise.
5244
5245 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
5246
5247 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5248 to reflect the entire 32-bit HWCAP.
5249 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5250 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
5251
5252 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
5253
5254 [BZ #19783]
5255 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5256 $(test-via-rtld-prefix).
5257 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5258
5259 2016-03-08 Florian Weimer <fweimer@redhat.com>
5260
5261 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5262 union wait. Report any non-zero exit status as error.
5263
5264 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5265
5266 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5267 configured with --enable-hardcoded-path-in-tests.
5268
5269 2016-03-08 Joseph Myers <joseph@codesourcery.com>
5270
5271 [BZ #19677]
5272 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5273 (__ieee754_remainderl): Put zero low parts in canonical form.
5274 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5275 file. Based on
5276 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5277 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5278 with wrapper round test-fmodrem-ldbl-128ibm.c.
5279 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5280 file.
5281 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5282 Likewise.
5283 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5284 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5285
5286 2016-03-07 Florian Weimer <fweimer@redhat.com>
5287
5288 [BZ #19610]
5289 * elf/ldconfig.c (opt_link): Update comment.
5290 (options): Update help string for option -X.
5291 (search_dir): Unlink stale symbolic link only if updating symbolic
5292 links.
5293 * elf/tst-ldconfig-X.sh: New file.
5294 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5295 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5296
5297 2016-03-07 Andreas Schwab <schwab@suse.de>
5298
5299 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5300 needed arguments.
5301
5302 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
5303
5304 [BZ #15333]
5305 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5306 to lstat64.
5307
5308 2016-03-07 Florian Weimer <fweimer@redhat.com>
5309
5310 * libio/filedoalloc.c (isatty): Remove.
5311 (local_isatty): Add comment. Call __isatty directly.
5312 (_IO_file_doallocate): Update comment. Assume _LIBC.
5313 * libio/wfiledoalloc.c (isatty): Remove.
5314 (_IO_wfile_doallocate): Update comment.
5315
5316 2016-03-07 Florian Weimer <fweimer@redhat.com>
5317
5318 [BZ #19269]
5319 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5320 tst-audit4-aux.o.
5321 (tst-audit10): Depend on tst-audit10-aux.o.
5322 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5323 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5324 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5325 instead of inline AVX code.
5326 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5327 instead of inline AVX512 code.
5328 * sysdeps/x86_64/tst-audit4-aux.c: New file
5329 * sysdeps/x86_64/tst-audit10-aux.c: New file
5330
5331 [BZ #19648]
5332 * test-skeleton.c (main): Do not set RLIMIT_DATA.
5333
5334 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5335
5336 [BZ #14750]
5337 [BZ #10354]
5338 [BZ #18433]
5339 * include/sched.h (__clone): Add hidden prototype.
5340 (__clone2): Likewise.
5341 * include/unistd.h (__dup): Likewise.
5342 * posix/Makefile (tests): Add tst-spawn2.
5343 * posix/tst-spawn2.c: New file.
5344 * sysdeps/posix/dup.c (__dup): Add hidden definition.
5345 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5346 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5347 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5348 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5349 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5350 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5351 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5352 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5353 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5354 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5356 Likewise.
5357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5358 Likewise.
5359 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5360 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5361 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5362 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5363 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5364 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5365 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5366 * sysdeps/unix/sysv/linux/nptl-signals.h
5367 (____nptl_is_internal_signal): New function.
5368 * sysdeps/unix/sysv/linux/spawni.c: New file.
5369
5370 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
5371 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
5372 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
5373 * posix/tst-execvp2.c (do_test): Likewise.
5374 * posix/tst-execvp3.c (do_test): Likewise.
5375 * posix/tst-execvp4.c (do_test): Likewise.
5376 * posix/tst-execvpe1.c: New file.
5377 * posix/tst-execvpe2.c: Likewise.
5378 * posix/tst-execvpe3.c: Likewise.
5379 * posix/tst-execvpe4.c: Likewise.
5380 * posix/tst-execvpe5.c: Likewise.
5381 * posix/tst-execvpe6.c: Likewise.
5382
5383 [BZ #19534]
5384 * posix/execl.c (execl): Remove dynamic memory allocation.
5385 * posix/execle.c (execle): Likewise.
5386 * posix/execlp.c (execlp): Likewise.
5387
5388 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
5389
5390 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
5391 Replace .text with .text.avx512.
5392 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5393 Likewise.
5394
5395 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
5396
5397 * sysdeps/generic/libnsl.abilist: New file.
5398 * sysdeps/generic/libutil.abilist: New file.
5399
5400 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
5401
5402 [BZ #19762]
5403 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
5404 HAS_ARCH_FEATURE with Fast_Rep_String.
5405 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
5406 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
5407 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
5408 Likewise.
5409 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
5410 Likewise.
5411 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
5412 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
5413 Likewise.
5414 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
5415 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
5416 Likewise.
5417
5418 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
5419
5420 [BZ #19745]
5421 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
5422 with *%rax in call.
5423
5424 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
5425
5426 [BZ #19745]
5427 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
5428 with *__libc_start_main@GOTPCREL(%rip) in call.
5429
5430 2016-03-04 Roland McGrath <roland@hack.frob.com>
5431
5432 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
5433 inside conditional for nonempty $(CXX).
5434
5435 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
5436 nonempty.
5437
5438 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
5439 to test for empty $(CXX) rather than $(CXX) of "no".
5440
5441 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
5442
5443 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
5444
5445 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
5446 H.J. Lu <hongjiu.lu@intel.com>
5447
5448 [BZ #18880]
5449 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
5450 instead of Slow_BSF, and also check for Fast_Copy_Backward to
5451 enable __memcpy_ssse3_back.
5452
5453 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
5454
5455 [BZ #19758]
5456 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5457 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5458
5459 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5460
5461 [BZ #19490]
5462 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5463 (__fentry__): Likewise.
5464
5465 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
5466
5467 * gmon/Makefile (noprof): Add $(sysdep_noprof).
5468 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5469
5470 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
5471
5472 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5473 __mcount_internal directly.
5474 (C_LABEL(__fentry__)): Likewise.
5475 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5476 directly.
5477
5478 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
5479
5480 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5481 (__start_context): Call __setcontext directly.
5482
5483 2016-02-26 Joseph Myers <joseph@codesourcery.com>
5484
5485 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5486 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5487 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5488 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5489 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5490 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5491 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5492 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5493 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5494 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5495 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5496 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5497 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5498 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5499 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5500 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5501 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5502 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5503 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5504 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5505 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5506 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5507 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5508 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5509 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5510 Remove conditional code.
5511 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5512 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5513 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5514 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5515 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5516 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5517 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5518 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5519 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5520 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5521 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5522 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5523
5524 2016-02-24 Marko Myllynen <myllynen@redhat.com>
5525
5526 * NEWS (2.23): Fix typo in bug 19048 text.
5527
5528 2016-02-24 Carlos O'Donell <carlos@redhat.com>
5529
5530 [BZ #14259]
5531 * Makeconfig: Rename msgcatdir to localedir.
5532 Rename inst_msgcatdir to inst_localedir.
5533 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5534 * config.make.in: Add localedir.
5535 * elf/Makefile ($(objpfx)sotruss): Use localedir.
5536 (ldd-rewrite): Likewise.
5537 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5538 (install-others): Use inst_localedir.
5539 (CPPFLAGS): Use localedir.
5540 * locale/Makefile (locale-CPPFLAGS): Likewise.
5541 * po/Makefile (mo-installed): Use inst_localedir.
5542
5543 [BZ #19575]
5544 * localedata/charmaps/GB18030: Update comments regarding PAU to
5545 non-PUA mappings.
5546
5547 2016-02-24 Joseph Myers <joseph@codesourcery.com>
5548
5549 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5550 test for header.
5551 * sysdeps/unix/sysv/linux/configure: Regenerated.
5552 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5553 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5554 Remove conditional code.
5555 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5556
5557 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5558 Define to 3.2.0.
5559 (arch_minimum_kernel): Likewise.
5560 * sysdeps/unix/sysv/linux/configure: Regenerated.
5561 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5562 Define to 2.6.32.
5563 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5564 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5565 (arch_minimum_kernel): Define to 2.6.32.
5566 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5567 * README: Document Linux 3.2 requirement.
5568 * manual/install.texi (Linux): Document Linux 3.2 headers
5569 requirement.
5570 * INSTALL: Regenerated.
5571
5572 2016-02-24 Andreas Schwab <schwab@suse.de>
5573
5574 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5575 if !NO_LONG_DOUBLE.
5576
5577 2016-02-22 Roland McGrath <roland@hack.frob.com>
5578
5579 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5580 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5581
5582 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
5583
5584 [BZ #19512]
5585 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5586
5587 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
5588
5589 * posix/tst-dir.c: Include libc-internal.h.
5590
5591 2016-02-20 Florian Weimer <fweimer@redhat.com>
5592
5593 [BZ #19056]
5594 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5595 * manual/filesys.texi (Reading/Closing Directory): Mention
5596 deprecaion.
5597 * posix/tst-dir.c (main): Disable deprecation warning in test.
5598
5599 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
5600
5601 [BZ #19679]
5602 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5603 Renamed to ...
5604 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
5605 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5606 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
5607 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5608 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5609 * sysdeps/x86_64/dl-trampoline.h
5610 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5611 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5612
5613 2016-02-19 Mark Wielaard <mjw@redhat.com>
5614
5615 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5616
5617 2016-02-19 Mark Wielaard <mjw@redhat.com>
5618
5619 * elf/elf.h (R_386_GOT32X): New.
5620 (R_386_NUM): Update.
5621 (R_X86_64_GOTPCRELX: New.
5622 (R_X86_64_REX_GOTPCRELX): New.
5623 (R_X86_64_NUM): Update.
5624
5625 2016-02-19 Mike Frysinger <vapier@gentoo.org>
5626
5627 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5628
5629 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
5630
5631 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5632 assign attr->stackaddr to it, and adjust it down when
5633 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
5634 [_STACK_GROWS_UP]: Delete assert.
5635 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5636 Implement stack grows up logic.
5637 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5638 stack grows up logic.
5639
5640 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5641
5642 * NEWS: Update with 2.24 template.
5643
5644 2016-02-19 Joseph Myers <joseph@codesourcery.com>
5645
5646 [BZ #19678]
5647 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5648 Ensure +0.0 is returned when taking the next value below the least
5649 positive value.
5650
5651 2016-02-19 Florian Weimer <fweimer@redhat.com>
5652
5653 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5654 available. Do not define NO_THREADS.
5655 * malloc/malloc.c: Do not check NO_THREADS.
5656 * malloc/arena.c: Likewise.
5657
5658 2016-02-19 Florian Weimer <fweimer@redhat.com>
5659
5660 * malloc/malloc.c (__libc_mallinfo): Update comment.
5661 (struct malloc_par): Remove max_total_mem member, it was always 0.
5662 (int_mallinfo): Store 0 into usmblks (no functional change).
5663 * malloc/hooks.c (struct malloc_state): Document that
5664 max_total_mem is always 0.
5665 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5666 always 0.
5667 * manual/memory.texi (Statistics of Malloc): Likewise.
5668
5669 2016-02-19 Florian Weimer <fweimer@redhat.com>
5670
5671 * malloc/malloc.c (sysmalloc): Do not update arena_max.
5672 * malloc/arena.c (arena_max): Remove.
5673 (heap_trim, _int_new_arena): Do not update arena_max.
5674
5675 2016-02-19 Florian Weimer <fweimer@redhat.com>
5676
5677 * resolv/res_init.c (res_ninit): Update comment.
5678
5679 2016-02-19 Florian Weimer <fweimer@redhat.com>
5680
5681 [BZ #19505]
5682 * posix/spawn_int.h: Add headers and include guard.
5683 (__spawn_valid_fd): New function.
5684 * posix/spawn_faction_addopen.c
5685 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5686 * posix/spawn_faction_addclose.c
5687 (posix_spawn_file_actions_addclose): Likewise.
5688 * posix/spawn_faction_adddup2.c
5689 (posix_spawn_file_actions_adddup2): Likewise. Add check for
5690 second file descriptor.
5691 * posix/spawn_valid_fd.c: New file.
5692 * posix/tst-posix_spawn-fd.c: New file.
5693 * posix/Makefile (routines): Add spawn_valid_fd.
5694 (tests): Add tst-posix_spawn-fd.
5695
5696 2016-02-19 Florian Weimer <fweimer@redhat.com>
5697
5698 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5699 (do_test): Limit the number of arenas, so that we can use fewer
5700 outer threads. Limit timeout to 3 seconds, in preparation for a
5701 larger TIMEOUT value.
5702
5703 2016-02-19 Joseph Myers <joseph@codesourcery.com>
5704
5705 [BZ #19674]
5706 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5707 sign in overflowing and underflowing results when overflow or
5708 underflow is detected early. Include sign in result before rather
5709 than after scaling.
5710
5711 [BZ #19603]
5712 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5713 (__ieee754_remainderl): Adjust sign of integer version of low part
5714 when taking absolute value of high part.
5715 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5716 * math/libm-test.inc (remainder_test_data): Add another test.
5717 (remquo_test_data): Likewise.
5718
5719 2016-02-18 Joseph Myers <joseph@codesourcery.com>
5720
5721 [BZ #19602]
5722 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5723 equal high parts and both low parts zero specially.
5724 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5725 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5726 Add test-fmodl-ldbl-128ibm.
5727
5728 [BZ #19595]
5729 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5730 common logic for all cases of shifting subnormal results. Do not
5731 insert sign bit in shifted mantissa. Always pass -1023 as biased
5732 exponent to ldbl_insert_mantissa in subnormal case.
5733
5734 [BZ #19594]
5735 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5736 on high and low parts then adjust result and use
5737 ldbl_canonicalize_int if needed.
5738
5739 [BZ #19593]
5740 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5741 on high part and __floor or __ceil on low part then use
5742 ldbl_canonicalize_int if needed.
5743
5744 [BZ #19592]
5745 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5746 high and low parts then use ldbl_canonicalize_int if needed.
5747
5748 [BZ #17899]
5749 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5750 New function.
5751 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5752 on high and low parts then use ldbl_canonicalize_int if needed.
5753
5754 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5755
5756 * configure: Regenerated.
5757
5758 * po/libc.pot: Regenerated.
5759
5760 * po/be.po: Updated translation.
5761 * po/bg.po: Likewise.
5762 * po/ca.po: Likewise.
5763 * po/cs.po: Likewise.
5764 * po/da.po: Likewise.
5765 * po/el.po: Likewise.
5766 * po/eo.po: Likewise.
5767 * po/es.po: Likewise.
5768 * po/fi.po: Likewise.
5769 * po/fr.po: Likewise.
5770 * po/gl.po: Likewise.
5771 * po/hr.po: Likewise.
5772 * po/hu.po: Likewise.
5773 * po/ia.po: Likewise.
5774 * po/id.po: Likewise.
5775 * po/it.po: Likewise.
5776 * po/ja.po: Likewise.
5777 * po/lt.po: Likewise.
5778 * po/nb.po: Likewise.
5779 * po/nl.po: Likewise.
5780 * po/pt_BR.po: Likewise.
5781 * po/rw.po: Likewise.
5782 * po/sk.po: Likewise.
5783 * po/sl.po: Likewise.
5784 * po/sv.po: Likewise.
5785 * po/tr.po: Likewise.
5786 * po/zh_CN.po: Likewise.
5787 * po/zh_TW.po: Likewise.
5788
5789 * version.h (RELEAES): Set to "development".
5790 (VERSION): Set to 2.23.90.
5791
5792 * version.h (RELEASE): Set to "stable".
5793 (VERSION): Set to 2.23.
5794 * include/feature.h (__GLIBC_MINOR__): Set to 23.
5795
5796 * NEWS: Updated fixed bugs.
5797
5798 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
5799 Wilco Dijkstra <wdijkstr@arm.com>
5800
5801 [BZ #19462]
5802 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5803 (_STRING_INLINE_unaligned): This.
5804 * include/string.h: Include <string_private.h>.
5805 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5806 _STRING_INLINE_unaligned.
5807 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5808 (_STRING_INLINE_unaligned): New.
5809 * sysdeps/aarch64/string_private.h: New file.
5810 * sysdeps/generic/string_private.h: Likewise.
5811 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5812 * sysdeps/s390/string_private.h: Likewise.
5813 * sysdeps/x86/string_private.h: Likewise.
5814 * sysdeps/m68k/m680x0/m68020/bits/string.h
5815 (_STRING_ARCH_unaligned): Renamed to ...
5816 (_STRING_INLINE_unaligned): This.
5817 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5818 to ...
5819 (_STRING_INLINE_unaligned): This.
5820 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5821 to ...
5822 (_STRING_INLINE_unaligned): This.
5823 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5824 to ...
5825 (_STRING_INLINE_unaligned): This.
5826
5827 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
5828 H.J. Lu <hongjiu.lu@intel.com>
5829
5830 [BZ #19590]
5831 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5832 relocation.
5833
5834 2016-02-15 Carlos O'Donell <carlos@redhat.com>
5835
5836 [BZ #18665]
5837 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5838 *herrno_p.
5839 (gaih_getanswer): Document functional behviour. Return tryagain
5840 if any result is tryagain.
5841 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5842 when freed.
5843 * resolv/res_send.c: Add copyright text.
5844 (__libc_res_nsend): Document that MAXPACKET is expected.
5845 (send_vc): Document. Remove buffer reuse.
5846 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5847 size of the buffer. Add Dprint for truncated UDP buffer.
5848
5849 2016-02-14 Carlos O'Donell <carlos@redhat.com>
5850
5851 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5852 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5853 * INSTALL: Regenerate.
5854
5855 2016-02-14 Jakub Jelinek <jakub@redhat.com>
5856 Jonathan Wakely <jwakely@redhat.com>
5857 Carlos O'Donell <carlos@redhat.com>
5858
5859 [BZ 19439]
5860 * math/Makefile (tests): Add test-math-isinff.
5861 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5862 * math/bits/mathcalls.h [__USE_MISC]: Use
5863 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5864 functions not in C++11 and which don't conflict e.g. isinff,
5865 isinfl etc.
5866 * math/test-math-isinff.cc: New file.
5867
5868 2016-02-12 Florian Weimer <fweimer@redhat.com>
5869
5870 * misc/bug18240.c (do_test): Set RLIMIT_AS.
5871
5872 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5873
5874 [BZ #19529]
5875 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5876
5877 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5878
5879 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5880
5881 2016-02-01 Joseph Myers <joseph@codesourcery.com>
5882
5883 [BZ #19550]
5884 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5885 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5886 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5887 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5888 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5889 New syscall entry.
5890 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5891 New syscall entry.
5892 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5893 syscall entry.
5894
5895 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
5896
5897 [BZ #18240]
5898 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5899 unsigned int wraparound.
5900
5901 2016-01-27 Florian Weimer <fweimer@redhat.com>
5902
5903 [BZ #18240]
5904 * misc/bug18240.c: New test.
5905 * misc/Makefile (tests): Add it.
5906
5907 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
5908 Joseph Myers <joseph@codesourcery.com>
5909
5910 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5911 load in branch delay slot when less than a word of input left.
5912
5913 2016-01-27 Andreas Schwab <schwab@suse.de>
5914
5915 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5916 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5917 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5918 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5919
5920 2016-01-26 David S. Miller <davem@davemloft.net>
5921
5922 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5923
5924 2016-01-25 David S. Miller <davem@davemloft.net>
5925
5926 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5927 __sqrtl_finite.
5928 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5929 instead using versioned_symbol.
5930 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5931 of entries.
5932
5933 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5934 __sqrtl_finite to GLIBC_2.23
5935
5936 2016-01-25 Ricchard Henderson <rth@redhat.com>
5937
5938 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5939
5940 2016-01-25 Andreas Schwab <schwab@suse.de>
5941
5942 [BZ #17514]
5943 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5944 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5945 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5946 * nptl/tst-mutex-errorcheck.c: New file.
5947
5948 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5949
5950 [BZ #18560]
5951 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5952 (IPCOP_semop): Likewise.
5953 (IPCOP_semget): Likewise.
5954 (IPCOP_semctl): Likewise.
5955 (IPCOP_msgsnd): Likewise.
5956 (IPCOP_msgrcv): Likewise.
5957 (IPCOP_msgget): Likewise.
5958 (IPCOP_msgctl): Likewise.
5959 (IPCOP_shmat): Likewise.
5960 (IPCOP_shmdt): Likewise.
5961 (IPCOP_shmget): Likewise.
5962 (IPCOP_shmctl): Likewise.
5963
5964 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
5965
5966 * string/tst-endian.c: Include <libc-internal.h>.
5967 (do_test): Ignore tautological-compare warnings around
5968 "htobeXX (beXXtoh (i)) != i" and
5969 "htoleXX (leXXtoh (i)) != i" if-statements.
5970
5971 2016-01-24 David S. Miller <davem@davemloft.net>
5972
5973 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5974 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5975 alias.
5976 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5977 __sqrtl_finite.
5978
5979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5980
5981 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
5982
5983 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5984 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5985 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5986
5987 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5988
5989 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5990 (thread_func): Use new function to simplify barrier check.
5991 (do_test): Use new function to simplify checking barrier exit
5992 code, and actually join the child thread.
5993
5994 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5995
5996 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5997 semicolon.
5998 (__libc_tend): Likewise.
5999 (__libc_tabort): Likewise.
6000
6001 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
6002
6003 * sysdeps/nios2/libm-test-ulps: Update.
6004 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
6005 (__gtsf2): Likewise.
6006 (__unorddf2): Likewise.
6007 (__unordsf2): Likewise.
6008 (__ledf2): Likewise.
6009
6010 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
6011
6012 * nis/nis_table.c (__follow_path): Disable diagnostic for
6013 uninitialized variable that is a false positive for gcc 4.7.
6014 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
6015
6016 2016-01-20 Roland McGrath <roland@hack.frob.com>
6017
6018 * sysdeps/nacl/lowlevellock-futex.h
6019 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
6020 Always evaluate PRIVATE argument.
6021
6022 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
6023
6024 [BZ #19490]
6025 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
6026 (pthread_cond_broadcast): Use ENTRY/END
6027 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
6028 (pthread_cond_signal): Likewise.
6029 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
6030 Likewise.
6031 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
6032 Likewise.
6033 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
6034 Likewise.
6035
6036 2016-01-20 Joseph Myers <joseph@codesourcery.com>
6037
6038 * sysdeps/ieee754/dbl-64/s_finite.c
6039 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
6040 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
6041 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
6042 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
6043 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
6044
6045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6046 (__gtsf2): Add as optional for libc.so.
6047 (__unordsf2): Likewise.
6048 (__signbit): Remove for libc.so.
6049 (__signbitl): Likewise.
6050
6051 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
6052
6053 * iconvdata/bug-iconv11.c (test_ibm93x):
6054 Use %zu printf format specifier for size_t argument.
6055
6056 2016-01-19 Joseph Myers <joseph@codesourcery.com>
6057
6058 * math/gen-libm-test.pl (parse_ulps): Do not reduce
6059 already-recorded ulps.
6060 * sysdeps/arm/libm-test-ulps: Regenerated.
6061 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6062 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6063 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6064
6065 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
6066 Paul Pluzhnikov <ppluzhnikov@google.com>
6067
6068 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
6069 assembler not supporting AVX-512.
6070
6071 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
6072
6073 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6074
6075 2016-01-18 Joseph Myers <joseph@codesourcery.com>
6076
6077 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6078 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6079
6080 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6081
6082 * sysdeps/arm/libm-test-ulps: Regenerated.
6083
6084 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6085
6086 [BZ #19451]
6087 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6088
6089 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
6090
6091 [BZ #19486]
6092 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
6093 * sysdeps/generic/fix-fp-int-convert-overflow.h
6094 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
6095 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
6096 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
6097 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
6098 Likewise.
6099 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
6100 Avoid conversions to long int where inexact exceptions
6101 could be raised.
6102 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
6103 Likewise.
6104 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
6105 Avoid conversions to long long int where inexact exceptions
6106 could be raised.
6107 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
6108 Likewise.
6109
6110 2016-01-17 Mike Frysinger <vapier@gentoo.org>
6111
6112 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
6113 * configure: Regenerated.
6114
6115 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
6116
6117 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
6118
6119 2016-01-16 Mike Frysinger <vapier@gentoo.org>
6120
6121 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
6122 outside of comment.
6123
6124 2016-01-15 Torvald Riegel <triegel@redhat.com>
6125
6126 * nptl/tst-barrier1.c: Add description on first line.
6127 * nptl/tst-barrier2.c: Likewise.
6128 * nptl/tst-barrier3.c: Likewise.
6129 * nptl/tst-barrier4.c: Likewise.
6130 * nptl/tst-barrier5.c: Likewise.
6131
6132 2016-01-15 Torvald Riegel <triegel@redhat.com>
6133
6134 [BZ #18868]
6135 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
6136
6137 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
6138
6139 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
6140 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6141 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
6142 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
6143 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
6144 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
6145 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6146 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6147 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6148 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6149 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6150
6151 2016-01-15 Torvald Riegel <triegel@redhat.com>
6152
6153 [BZ #13065]
6154 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
6155 new implementation.
6156 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
6157 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
6158 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
6159 (BARRIER_IN_THRESHOLD): New macro.
6160 * nptl/pthread_barrierattr_setpshared.c
6161 (pthread_barrierattr_setpshared): Clean up.
6162 * nptl/tst-barrier4.c: Correct comment.
6163 * nptl/tst-barrier5.c: New file.
6164 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
6165 (gen-as-const-headers): Remove lowlevelbarrier.sym.
6166 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
6167 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
6168 * nptl/lowlevelbarrier.sym: Remove.
6169 * nptl/DESIGN-barrier.txt: Remove.
6170 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
6171 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
6172 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
6173 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
6174 error.
6175 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
6176 implementation.
6177
6178 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6179
6180 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
6181 (do_child): Mask SIGRTMIN while thr is running.
6182
6183 2016-01-15 Martin Sebor <msebor@redhat.com>
6184
6185 [BZ #19432]
6186 * iconvdata/Makefile: Add bug-iconv11.
6187 * iconvdata/bug-iconv11.c: New test.
6188 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
6189 * iconvdata/ibm933.c: Same.
6190 * iconvdata/ibm935.c: Same.
6191 * iconvdata/ibm937.c: Same.
6192 * iconvdata/ibm939.c: Same.
6193
6194 2016-01-15 Martin Sebor <msebor@redhat.com>
6195
6196 [BZ #19443]
6197 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
6198 [DEBUG] (_ufc_set_bits): Declare used.
6199 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
6200 [DEBUG] (print_all): Declare used.
6201 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
6202 operands of the ternary ?: expression to target type.
6203 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
6204 calling the undeclared abort.
6205 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6206
6207 2016-01-15 Martin Sebor <msebor@redhat.com>
6208
6209 [BZ #18755]
6210 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6211 warnings.
6212 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6213 (__gai_create_helper_thread): Same.
6214 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6215 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6216 to suppress -Wmaybe-uninitialized warnings.
6217
6218 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
6219
6220 [BZ #19465]
6221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6222 inside if.
6223 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6224 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6225 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6226
6227 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
6228
6229 [BZ #19466]
6230 * time/tst-mktime2.c (time_t_max): Removed.
6231 (time_t_min): Likewise.
6232 (TYPE_SIGNED): New.
6233 (TYPE_MINIMUM): Likewise.
6234 (TYPE_MAXIMUM): Likewise.
6235 (TIME_T_MIN): Likewise.
6236 (TIME_T_MAX): Likewise.
6237 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6238 and TIME_T_MIN.
6239 (do_test): Likewise.
6240
6241 2016-01-14 Amit Pawar <amit.pawar@amd.com>
6242
6243 [BZ #19467]
6244 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6245 index_Fast_Unaligned_Load flag for Excavator family CPUs.
6246
6247 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
6248
6249 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6250
6251 2016-01-13 Carlos O'Donell <carlos@redhat.com>
6252
6253 * benchtests/Makefile (PYTHON): Define.
6254 (bench-func): Use $(PYTHON) to run python scripts.
6255 ($(objpfx)bench-%.c): Likewise.
6256
6257 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
6258
6259 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6260 leading slash when `file_name' is "/".
6261
6262 2016-01-12 Joseph Myers <joseph@codesourcery.com>
6263
6264 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6265 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6266 Likewise.
6267 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6268 Likewise.
6269 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6270 Likewise.
6271 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6272 enum constant and macro.
6273 (PTRACE_SETSIGMASK): Likewise.
6274 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6275 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6276 (PTRACE_GETSIGMASK): Likewise.
6277 (PTRACE_SETSIGMASK): Likewise.
6278 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6279 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6280 Likewise.
6281 (PTRACE_SETSIGMASK): Likewise.
6282 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6283 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6284 (PTRACE_GETSIGMASK): Likewise.
6285 (PTRACE_SETSIGMASK): Likewise.
6286 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6287 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6288 Likewise.
6289 (PTRACE_SETSIGMASK): Likewise.
6290 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6291 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6292 Likewise.
6293 (PTRACE_SETSIGMASK): Likewise.
6294 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6295 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6296 Likewise.
6297 (PTRACE_SETSIGMASK): Likewise.
6298 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6299
6300 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
6301 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6302
6303 [BZ #19439]
6304 * math/bits/mathcalls.h
6305 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6306 prototype.
6307 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6308
6309 2016-01-11 Andreas Schwab <schwab@suse.de>
6310
6311 [BZ #19253]
6312 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6313 cache when TZDEFRULES was used.
6314 * time/tst-tzname.c: New file.
6315 * time/Makefile (test): Add tst-tzname.
6316 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6317 * timezone/Makefile (test-zones): Add $(posixrules-file).
6318 ($(testdata)/$(posixrules-file)): New rule.
6319
6320 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
6321
6322 Fix doc quoting problems with Texinfo 5
6323 Without this change, in the info file output, Texinfo 5 quotes code
6324 in text with undirected single quotes 'like this' and generates
6325 code examples that with many PDF readers cannot be cut out of PDFs
6326 and pasted into code.
6327 * manual/libc.texinfo: Configure the libc manual like the GNU
6328 Emacs manual, by using @documentencoding and setting
6329 txicodequoteundirected and txicodequotebacktick. This way,
6330 Texinfo 5 quotes code in text with directed single quotes ‘like
6331 this’ and produces examples that can be cut out of PDFs. This
6332 change causes Texinfo 5 to generate info files that contain UTF-8
6333 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6334 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6335
6336 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6337
6338 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6339 __libc_tabort, __libc_tend): New wrappers that enforce compiler
6340 barriers to their respective compiler built-ins.
6341 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6342 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6343 * sysdeps/powerpc/sysdep.h: Likewise.
6344 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6345 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6346 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6347
6348 2016-01-08 Marko Myllynen <myllynen@redhat.com>
6349
6350 * scripts/config.guess: Revert previous shebang change.
6351 * scripts/config.sub: Likewise.
6352 * scripts/mkinstalldirs: Likewise.
6353
6354 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6355
6356 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
6357 PPC_FEATURE2_HAS_IEEE128.
6358 * sysdeps/powerpc/dl-procinfo.c:
6359 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
6360
6361 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
6362
6363 [BZ #19415]
6364 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
6365 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
6366 (_dl_lookup_address): Rewrite using function resolver trampoline.
6367 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
6368 two bits in address.
6369
6370 2016-01-07 Mike Frysinger <vapier@gentoo.org>
6371
6372 * longlong.h: Change !__SHMEDIA__ to
6373 (!defined (__SHMEDIA__) || !__SHMEDIA__).
6374 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
6375
6376 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
6377 Joseph Myers <joseph@codesourcery.com>
6378 Mark Shinwell <shinwell@codesourcery.com>
6379 Andrew Stubbs <ams@codesourcery.com>
6380 Rich Felker <dalias@libc.org>
6381
6382 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
6383
6384 2016-01-07 Richard Henderson <rth@redhat.com>
6385
6386 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
6387
6388 2016-01-07 Mike Frysinger <vapier@gentoo.org>
6389
6390 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
6391 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
6392 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6393 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6394 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
6395
6396 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
6397 Joseph Myers <joseph@codesourcery.com>
6398
6399 * timezone/private.h: Update from tzcode 2015g.
6400 * timezone/tzfile.h: Likewise.
6401 * timezone/tzselect.ksh: Likewise.
6402 * timezone/zdump.c: Likewise.
6403 * timezone/zic.c: Likewise.
6404 * timezone/ialloc.c: Remove file.
6405 * timezone/scheck.c: Likewise.
6406 * timezone/Makefile (extra-objs): Remove variable.
6407 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
6408 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
6409 -Wno-maybe-uninitialized.
6410 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
6411 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
6412 (CFLAGS-ialloc.c): Remove variable.
6413 (CFLAGS-scheck.c): Likewise.
6414 * timezone/README: Update list of files from tzcode.
6415
6416 2016-01-07 Khem Raj <raj.khem@gmail.com>
6417
6418 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
6419 instead of __fxprintf when _LIBC is undefined.
6420
6421 2016-01-07 Marko Myllynen <myllynen@redhat.com>
6422
6423 * catgets/test-gencat.sh: Remove space after shebang.
6424 * conform/GlibcConform.pm: Likewise.
6425 * conform/check-header-lists.sh: Likewise.
6426 * conform/conformtest.pl: Likewise.
6427 * conform/linknamespace.pl: Likewise.
6428 * conform/list-header-symbols.pl: Likewise.
6429 * debug/catchsegv.sh: Likewise.
6430 * elf/genrtldtbl.awk: Likewise.
6431 * elf/tst-pathopt.sh: Likewise.
6432 * elf/tst-rtld-load-self.sh: Likewise.
6433 * grp/tst_fgetgrent.sh: Likewise.
6434 * iconvdata/gen-8bit-gap-1.sh: Likewise.
6435 * iconvdata/gen-8bit-gap.sh: Likewise.
6436 * iconvdata/gen-8bit.sh: Likewise.
6437 * iconvdata/run-iconv-test.sh: Likewise.
6438 * intl/tst-gettext.sh: Likewise.
6439 * intl/tst-gettext2.sh: Likewise.
6440 * intl/tst-gettext4.sh: Likewise.
6441 * intl/tst-gettext6.sh: Likewise.
6442 * intl/tst-translit.sh: Likewise.
6443 * io/ftwtest-sh: Likewise.
6444 * libio/test-freopen.sh: Likewise.
6445 * locale/gen-translit.pl: Likewise.
6446 * malloc/tst-mtrace.sh: Likewise.
6447 * manual/check-safety.sh: Likewise.
6448 * manual/libc-texinfo.sh: Likewise.
6449 * manual/tsort.awk: Likewise.
6450 * manual/xtract-typefun.awk: Likewise.
6451 * nptl/tst-cancel-wrappers.sh: Likewise.
6452 * nptl/tst-tls6.sh: Likewise.
6453 * posix/globtest.sh: Likewise.
6454 * posix/tst-getconf.sh: Likewise.
6455 * posix/wordexp-tst.sh: Likewise.
6456 * scripts/check-c++-types.sh: Likewise.
6457 * scripts/check-local-headers.sh: Likewise.
6458 * scripts/config.guess: Likewise.
6459 * scripts/config.sub: Likewise.
6460 * scripts/cpp: Likewise.
6461 * scripts/cross-test-ssh.sh: Likewise.
6462 * scripts/documented.sh: Likewise.
6463 * scripts/evaluate-test.sh: Likewise.
6464 * scripts/gen-libc-abis: Likewise.
6465 * scripts/gen-sorted.awk: Likewise.
6466 * scripts/list-fixed-bugs.py: Likewise.
6467 * scripts/merge-test-results.sh: Likewise.
6468 * scripts/mkinstalldirs: Likewise.
6469 * scripts/rellns-sh: Likewise.
6470 * scripts/test-installation.pl: Likewise.
6471 * scripts/update-copyrights: Likewise.
6472 * stdio-common/tst-printf.sh: Likewise.
6473 * stdio-common/tst-unbputc.sh: Likewise.
6474 * stdlib/tst-fmtmsg.sh: Likewise.
6475 * stdlib/tst-setcontext3.sh: Likewise.
6476 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6477 * sysdeps/unix/make-syscalls.sh: Likewise.
6478
6479 2016-01-06 John David Anglin <dave.anglin@bell.net>
6480
6481 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6482 asm stw with atomic_exchange_rel. Add explanatory comment.
6483 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6484 Likewise.
6485
6486 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
6487
6488 [BZ #19122]
6489 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6490 * sysdeps/generic/dl-unistd.h: New file.
6491 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6492
6493 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
6494
6495 [BZ #19122]
6496 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6497 * sysdeps/generic/dl-mman.h: New file.
6498 * sysdeps/mach/hurd/dl-mman.h: Likewise.
6499
6500 2016-01-05 Joseph Myers <joseph@codesourcery.com>
6501
6502 * manual/texinfo.tex: Update to version 2016-01-04.21 with
6503 trailing whitespace removed.
6504 * scripts/config.guess: Update to version 2016-01-01.
6505 * scripts/config.sub: Update to version 2016-01-01.
6506 * scripts/move-if-change: Update from gnulib.
6507
6508 2016-01-04 Anton Blanchard <anton@samba.org>
6509
6510 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6511 for array indices.
6512 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6513
6514 2016-01-04 Joseph Myers <joseph@codesourcery.com>
6515
6516 * NEWS: Update copyright dates.
6517 * catgets/gencat.c (print_version): Likewise.
6518 * csu/version.c (banner): Likewise.
6519 * debug/catchsegv.sh: Likewise.
6520 * debug/pcprofiledump.c (print_version): Likewise.
6521 * debug/xtrace.sh (do_version): Likewise.
6522 * elf/ldconfig.c (print_version): Likewise.
6523 * elf/ldd.bash.in: Likewise.
6524 * elf/pldd.c (print_version): Likewise.
6525 * elf/sotruss.sh: Likewise.
6526 * elf/sprof.c (print_version): Likewise.
6527 * iconv/iconv_prog.c (print_version): Likewise.
6528 * iconv/iconvconfig.c (print_version): Likewise.
6529 * locale/programs/locale.c (print_version): Likewise.
6530 * locale/programs/localedef.c (print_version): Likewise.
6531 * login/programs/pt_chown.c (print_version): Likewise.
6532 * malloc/memusage.sh (do_version): Likewise.
6533 * malloc/memusagestat.c (print_version): Likewise.
6534 * malloc/mtrace.pl: Likewise.
6535 * manual/libc.texinfo: Likewise.
6536 * nptl/version.c (banner): Likewise.
6537 * nscd/nscd.c (print_version): Likewise.
6538 * nss/getent.c (print_version): Likewise.
6539 * nss/makedb.c (print_version): Likewise.
6540 * posix/getconf.c (main): Likewise.
6541 * scripts/test-installation.pl: Likewise.
6542 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6543
6544 * All files with FSF copyright notices: Update copyright dates
6545 using scripts/update-copyrights.
6546 * intl/plural.c: Regenerated.
6547 * locale/programs/charmap-kw.h: Likewise.
6548 * locale/programs/locfile-kw.h: Likewise.
6549
6550 2016-01-02 Helge Deller <deller@gmx.de>
6551
6552 [BZ #19285]
6553 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6554 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6555 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6556 (MADV_xxK_PAGES): Remove.
6557
6558 2016-01-01 Mike Frysinger <vapier@gentoo.org>
6559
6560 [BZ #15421]
6561 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6562 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
6563 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6564 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6565
6566 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
6567
6568 [BZ #19408]
6569 * sysdeps/unix/sysv/linux/personality.c: New file.
6570 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6571 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6572 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6573 (sysdep_routines): Add personality.
6574 (tests): Add tst-personality.
6575 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6576 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6577 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6578 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6579 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6580 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6581 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6582 Likewise.
6583 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6584 Likewise.
6585 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6586 Likewise.
6587 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6588 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6589 Likewise.
6590
6591 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
6592
6593 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6594 (PATH_ARM_SYSTYPE): Remove.
6595 (PATH_CPUINFO): Likewise.
6596 (IO_BASE_FOOTBRIDGE): Likewise.
6597 (IO_SHIFT_FOOTBRIDGE): Likewise.
6598 (struct platform): Likewise.
6599 (init_iosys): Remove compatibility code for 2.4 kernels.
6600 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6601
6602 2015-12-29 Florian Weimer <fweimer@redhat.com>
6603
6604 * malloc/tst-malloc-thread-fail.c: New file.
6605 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6606 (tst-malloc-thread-fail): Link against libpthread.
6607
6608 2015-12-29 Mike Frysinger <vapier@gentoo.org>
6609
6610 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
6611 (get_parser): New function.
6612 (main): New function.
6613
6614 2015-12-29 Rob Wu <rob@robwu.nl>
6615
6616 [BZ #19369]
6617 * resolv/res_init.c (__res_vinit): Reset defdname before use.
6618
6619 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
6620
6621 [BZ #19270]
6622 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6623
6624 2015-12-28 Mike Frysinger <vapier@gentoo.org>
6625
6626 [BZ #15421]
6627 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6628
6629 2015-12-23 Torvald Riegel <triegel@redhat.com>
6630
6631 [BZ #13690]
6632 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6633 after releasing it.
6634 (__lll_robust_unlock): Likewise.
6635 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6636 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6637 (lll_robust_unlock): Likewise.
6638 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6639 Prevent warnings in callers.
6640
6641 2015-12-23 Florian Weimer <fweimer@redhat.com>
6642
6643 * malloc/arena.c (list_lock): Update comment.
6644
6645 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6646
6647 * sysdeps/powerpc/hwcapinfo.c: Export symbol
6648 __parse_hwcap_and_convert_at_platform to libc.a.
6649
6650 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6651
6652 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6653 platform and feature support for POWER9.
6654 * sysdeps/powerpc/dl-procinfo.h: Likewise.
6655 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6656 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6657 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6658 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6659 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6660 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6661 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6662
6663 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6664
6665 Harmonize generic stdio-lock support with nptl
6666
6667 This fixes build when _IO_funlockfile is a macro, fixes build where
6668 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6669 stack unwind.
6670
6671 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6672 _IO_release_lock ): Use cleanup attribute on new
6673 _IO_acquire_lock_file variable instead of assuming that
6674 _IO_release_lock will be called.
6675 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6676 _IO_acquire_lock_needs_exceptions_enabled.
6677 (_IO_acquire_lock_clear_flags2): New macro.
6678
6679 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6680
6681 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6682
6683 2015-12-21 Florian Weimer <fweimer@redhat.com>
6684
6685 [BZ #19182]
6686 * malloc/arena.c (list_lock): Document lock ordering requirements.
6687 (free_list_lock): New lock.
6688 (ptmalloc_lock_all): Comment on free_list_lock.
6689 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6690 (detach_arena): Update comment. free_list_lock is now needed.
6691 (_int_new_arena): Use free_list_lock around detach_arena call.
6692 Acquire arena lock after list_lock. Add comment, including FIXME
6693 about incorrect synchronization.
6694 (get_free_list): Switch to free_list_lock.
6695 (reused_arena): Acquire free_list_lock around detach_arena call
6696 and attached threads counter update. Add two FIXMEs about
6697 incorrect synchronization.
6698 (arena_thread_freeres): Switch to free_list_lock.
6699 * malloc/malloc.c (struct malloc_state): Update comments to
6700 mention free_list_lock.
6701
6702 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
6703
6704 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6705 Remove functions.
6706 (sloww, sloww1): Accept argument to offset quadrant.
6707 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6708 quadrant.
6709 (__sin, __cos): Consolidate common code into new functions.
6710 (reduce_sincos_1, do_sincos_1): New functions.
6711 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6712
6713 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6714 code to new functions.
6715 (reduce_sincos_2, do_sincos_2): New functions.
6716 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6717
6718 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6719 common code for sincos.
6720 (__cos) [!IN_SINCOS]: Likewise.
6721 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6722 New function.
6723 (__sincos): Use it.
6724
6725 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
6726
6727 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6728 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6729 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6730
6731 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
6732
6733 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6735 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6736 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6737 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6738 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6739 index_Prefer_No_VZEROUPPER): New feature.
6740 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6741 Prefer_No_VZEROUPPER for Knights Landing.
6742
6743 015-12-18 Torvald Riegel <triegel@redhat.com>
6744
6745 * math/atest-exp2.c (mp_exp_m1): Remove.
6746
6747 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6748
6749 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6750 syscalls.
6751 (__SYSCALL0): New macro.
6752 (__SYSCALL1): Likewise.
6753 (__SYSCALL2): Likewise.
6754 (__SYSCALL3): Likewise.
6755 (__SYSCALL4): Likewise.
6756 (__SYSCALL5): Likewise.
6757 (__SYSCALL6): Likewise.
6758 (__SYSCALL_CONCAT_X): Likewise.
6759 (__SYSCALL_CONCAT): Likewise.
6760 (__SYSCALL_DIST): Likewise.
6761 (__SYSCALL_CALL): Likewise.
6762
6763 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
6764
6765 [BZ #19363]
6766 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6767
6768 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6769
6770 [BZ #19375]
6771 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6772 negative subnormals.
6773
6774 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
6775
6776 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6777 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6778 (INTERNAL_SYSCALL_NCS): Use it.
6779 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6780
6781 2015-12-16 Florian Weimer <fweimer@redhat.com>
6782
6783 [BZ #19243]
6784 * malloc/arena.c (get_free_list): Remove assert and adjust
6785 reference count handling. Add comment about reused_arena
6786 interaction.
6787 (reused_arena): Add comments abount get_free_list interaction.
6788 * malloc/tst-malloc-thread-exit.c: New file.
6789 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6790 (tst-malloc-thread-exit): Link against libpthread.
6791
6792 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
6793
6794 [BZ #19367]
6795 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6796 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6797 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6798 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6799 (index_Prefer_MAP_32BIT_EXEC): Likewise.
6800
6801 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
6802
6803 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6804 Silvermont optimizations for Knights Landing.
6805
6806 2015-12-15 Andreas Schwab <schwab@suse.de>
6807
6808 [BZ #17197]
6809 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6810 immediately after emitting SI.
6811 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6812 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6813 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6814 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6815 * iconvdata/bug-iconv10.c: New file.
6816 * iconvdata/Makefile (tests): Add bug-iconv10.
6817 ($(objpfx)bug-iconv10.out): New rule.
6818
6819 2015-12-15 Florian Weimer <fweimer@redhat.com>
6820
6821 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6822 aliasing violation.
6823
6824 2015-12-14 Joseph Myers <joseph@codesourcery.com>
6825
6826 [BZ #18472]
6827 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6828 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6829 conditionals for them.
6830 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6831 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6833 sys/kdaemon.h.
6834 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6835 compat-only syscall, obsoleted in glibc 2.23.
6836 (create_module): Likewise.
6837 (get_kernel_syms): Likewise.
6838 (query_module): Likewise.
6839 (uselib): Likewise.
6840 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6841
6842 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
6843
6844 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6845 <linux/version.h>.
6846 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6847 conditional code.
6848 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6849 and ioshift_name initialization.
6850
6851 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
6852
6853 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6854 Fix indentation.
6855
6856 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
6857
6858 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6859
6860 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
6861
6862 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6863
6864 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
6865 Jakub Wilk <jwilk@debian.org>
6866
6867 [BZ #19347]
6868 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6869 to change the group of the device to the tty group.
6870
6871 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
6872
6873 Split large string section; add truncation advice
6874 * manual/examples/strncat.c: Remove.
6875 This example was misleading, as the code would have undefined
6876 behavior if "hello" was longer than SIZE. Anyway, the manual
6877 shouldn't encourage strncpy+strncat for this sort of thing.
6878 * manual/string.texi (Copying Strings and Arrays): Split into
6879 three sections Copying Strings and Arrays, Concatenating Strings,
6880 and Truncating Strings, as this section was way too long. All
6881 cross-referenced changed. Add advice about string-truncation
6882 functions. Remove misleading strncat example.
6883
6884 2015-12-10 Carlos O'Donell <carlos@redhat.com>
6885
6886 * manual/nss.texi (NSS Modules Interface): Document
6887 NSS_STATUS_NOTFOUND and SUCCESS.
6888
6889 2015-12-09 Mike FABIAN <mfabian@redhat.com>
6890
6891 [BZ 18568]
6892 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6893 201505L, for Unicode 8.
6894
6895 2015-12-09 Carlos O'Donell <carlos@redhat.com>
6896
6897 * locale/C-translit.h: Regenerate.
6898
6899 2015-12-09 Mike FABIAN <mfabian@redhat.com>
6900
6901 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6902 and U+0153.
6903
6904 2015-12-09 Joseph Myers <joseph@codesourcery.com>
6905
6906 [BZ #19351]
6907 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6908 expanding log(1+z), compare z rather than its square with epsilon
6909 to determine when to avoid evaluating the expansion.
6910
6911 [BZ #19350]
6912 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6913 Increase overflow threshold.
6914
6915 [BZ #19349]
6916 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6917 when small.
6918
6919 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6920 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6921 New macro.
6922 [__LINUX_KERNEL_VERSION >= 0x040300]
6923 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6924 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6925 Likewise.
6926 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6927 Likewise.
6928 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6929 Likewise.
6930 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6931 Likewise.
6932 [__LINUX_KERNEL_VERSION >= 0x040300]
6933 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6934 [__LINUX_KERNEL_VERSION >= 0x040300]
6935 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6936 [__LINUX_KERNEL_VERSION >= 0x040300]
6937 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6938 [__LINUX_KERNEL_VERSION >= 0x040300]
6939 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6940 [__LINUX_KERNEL_VERSION >= 0x040300]
6941 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6942 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6943 Likewise.
6944 [__LINUX_KERNEL_VERSION >= 0x040300]
6945 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6946 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6947 Likewise.
6948 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6949 Likewise.
6950 [__LINUX_KERNEL_VERSION >= 0x040300]
6951 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6952 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6953 Likewise.
6954 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6955 Likewise.
6956 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6957 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6958 Likewise.
6959 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6960 Likewise.
6961 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6962 Likewise.
6963 [__LINUX_KERNEL_VERSION >= 0x040300]
6964 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6965 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6966 Likewise.
6967 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6968 Likewise.
6969 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6970 Likewise.
6971 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6972 Likewise.
6973 [__LINUX_KERNEL_VERSION >= 0x040300]
6974 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6975 [__LINUX_KERNEL_VERSION >= 0x040300]
6976 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6977 [__LINUX_KERNEL_VERSION >= 0x040300]
6978 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6979 [__LINUX_KERNEL_VERSION >= 0x040300]
6980 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6981 [__LINUX_KERNEL_VERSION >= 0x040300]
6982 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6983 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6984 Likewise.
6985 [__LINUX_KERNEL_VERSION >= 0x040300]
6986 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6987 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6988 Likewise.
6989 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6990 Likewise.
6991 [__LINUX_KERNEL_VERSION >= 0x040300]
6992 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6993 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6994 Likewise.
6995 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6996 Likewise.
6997 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6998 (__ASSUME_SOCKET_SYSCALL): Likewise.
6999 (__ASSUME_BIND_SYSCALL): Likewise.
7000 (__ASSUME_CONNECT_SYSCALL): Likewise.
7001 (__ASSUME_LISTEN_SYSCALL): Likewise.
7002 (__ASSUME_ACCEPT_SYSCALL): Likewise.
7003 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7004 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7005 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7006 (__ASSUME_SEND_SYSCALL): Likewise.
7007 (__ASSUME_SENDTO_SYSCALL): Likewise.
7008 (__ASSUME_RECV_SYSCALL): Likewise.
7009 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7010 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
7011 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7012 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7013 (__ASSUME_SENDMSG_SYSCALL): Likewise.
7014 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7015 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7016 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
7017 Likewise.
7018 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
7019 Likewise.
7020 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
7021 Likewise.
7022 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
7023 Likewise.
7024 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
7025 Likewise.
7026 [__LINUX_KERNEL_VERSION >= 0x020625]
7027 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7028 [__LINUX_KERNEL_VERSION >= 0x020625]
7029 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7030 [__LINUX_KERNEL_VERSION >= 0x020625]
7031 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7032 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
7033 Likewise.
7034 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
7035 Likewise.
7036 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
7037 Likewise.
7038 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
7039 Likewise.
7040 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
7041 Likewise.
7042 [__LINUX_KERNEL_VERSION >= 0x020625]
7043 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7044 [__LINUX_KERNEL_VERSION >= 0x020625]
7045 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7046 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
7047 Likewise.
7048 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
7049 Likewise.
7050
7051 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
7052
7053 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
7054 record the current if the current ABI and CPU support the FP64
7055 extension.
7056 (has-modd-spreg): Define to record the current if the current ABI and
7057 CPU support 32-bit floating point values in odd FPU registers.
7058 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7059 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
7060 $(has-modd-spreg) equals yes.
7061 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
7062 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
7063 $(has-modd-spreg) equal yes.
7064
7065 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
7066
7067 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
7068 basename.
7069
7070 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
7071
7072 * benchtests/Makefile (bench-math): Move ffs and ffsll...
7073 (bench-string): ... here.
7074 (bench): Add bench-string.
7075 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
7076 to *-benchset to reflect what they are.
7077 (benchset): Adjust.
7078
7079 * benchtests/sincos-inputs: Add inputs from sin-inputs and
7080 cos-inputs.
7081
7082 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
7083
7084 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7085 __attribute__ ((__simd__)) for vector math function declarations.
7086
7087 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
7088
7089 Fix typo in strncat, wcsncat manual entries
7090 * manual/string.texi (Copying and Concatenation): Fix typos in
7091 sample implementations of strncat and wcsncat, by having them use
7092 the old value of the destination length, not the new one.
7093
7094 2015-12-04 Joseph Myers <joseph@codesourcery.com>
7095
7096 [BZ #16961]
7097 [BZ #16962]
7098 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
7099 string on the stack for strtod.
7100 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
7101 a string on the stack for strtof.
7102 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
7103 constructing a string on the stack for strtold.
7104 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
7105 __strtold_nan to GLIBC_PRIVATE.
7106 * math/test-nan-overflow.c: New file.
7107 * math/test-nan-payload.c: Likewise.
7108 * math/Makefile (tests): Add test-nan-overflow and
7109 test-nan-payload.
7110
7111 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
7112
7113 Consistency about byte vs character in string.texi
7114 * manual/string.texi (String and Array Utilities):
7115 Distinguish more carefully among bytes, multibyte characters,
7116 and wide characters. Use "byte" when talking about C 'char',
7117 to distinguish it more clearly from multibyte characters.
7118 Say "wide character" or "multibyte character" instead of
7119 "character", when a wide or multibyte character is intended.
7120 Similarly for "multibyte string" versus "string".
7121 Define these terms more carefully.
7122
7123 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
7124
7125 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
7126 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
7127 Likewise.
7128 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7129 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7130 * sysdeps/sh/math_private.h: New file.
7131 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
7132 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
7133 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
7134 long double function name.
7135 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7136 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7137 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7138 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7139 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7141 Remove __finitel, __isinfl, and __isnanl.
7142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7143 Likewise.
7144 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7146 Remove __finitel.
7147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7148 Likewise.
7149 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7150
7151 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
7152
7153 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
7154 installed libmvec_nonshared.a.
7155
7156 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7157
7158 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
7159 (sysdep_routines): Likewise.
7160 (sysdep-rtld-routines): Likewise.
7161 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
7162 [$(subdir) = nptl](tests-static): test-get_hwcap-static
7163 * sysdeps/powerpc/Versions: Added new
7164 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
7165 * sysdeps/powerpc/hwcapinfo.c: New file.
7166 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
7167 and parse hwcap, hwcap2 and platform number information.
7168 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
7169 to store HWCAP+HWCAP2 and platform number.
7170 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
7171 for HWCAP+HWCAP2 and platform number in the TCB.
7172 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
7173 the HWCAP, HWCAP2 and platform number in the TCB.
7174 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
7175 (TLS_INIT_TP): Included calls to add the hwcap and
7176 at_platform values in the TCB in TP initialization.
7177 (TLS_DEFINE_INIT_TP): Likewise.
7178 (THREAD_GET_HWCAP): New macro.
7179 (THREAD_SET_HWCAP): Likewise.
7180 (THREAD_GET_AT_PLATFORM): Likewise.
7181 (THREAD_SET_AT_PLATFORM): Likewise.
7182 * sysdeps/powerpc/powerpc32/dl-machine.h:
7183 (dl_platform_init): New function that calls
7184 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
7185 powerpc32.
7186 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
7187 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
7188 this functionality, static linking case.
7189 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
7190 linking case.
7191 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
7192 __parse_hwcap_and_convert_at_platform for the static linking case.
7193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
7194 Included the new __parse_hwcap_and_convert_at_platform symbol in the
7195 ABI list for GLIBC 2.23.
7196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
7197 Likewise.
7198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
7199 Likewise.
7200
7201 2015-12-02 Ludovic Courtès <ludo@gnu.org>
7202
7203 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
7204 * configure: Regenerate.
7205 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7206 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
7207
7208 2015-12-02 Carlos O'Donell <carlos@redhat.com>
7209
7210 * iconvdata/ibm930.c: Add comment explaining encoding uses.
7211 * iconvdata/ibm933.c: Likewise.
7212 * iconvdata/ibm935.c: Likewise.
7213 * iconvdata/ibm937.c: Likewise.
7214 * iconvdata/ibm939.c: Likewise.
7215
7216 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7217
7218 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7219 pthread_join.
7220 * nptl/tst-cancel21.c (tf): Likewise.
7221
7222 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
7223
7224 [BZ #19313]
7225 * bits/typesizes.h (__CPU_MASK_TYPE): New.
7226 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7227 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7228 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7229 Likewise.
7230 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7231 Likewise.
7232 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7233 Likewise.
7234 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7235 Likewise.
7236 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7237 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7238 unsigned long int with __CPU_MASK_TYPE.
7239
7240 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
7241
7242 * sysdeps/aarch64/libm-test-ulps: Regenerated.
7243
7244 2015-12-01 Joseph Myers <joseph@codesourcery.com>
7245
7246 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7247 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7248 t512.x.
7249 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7250
7251 2015-11-30 Amit Pawar <amit.pawar@amd.com>
7252
7253 [BZ #19214]
7254 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7255 argument to return extended model. Update family and model
7256 with extended family and model when family == 0x0f.
7257 (init_cpu_features): Updated.
7258
7259 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7260
7261 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7262 signed off_t, so 32bit bigger than 2GiB values are fine actually.
7263
7264 * sysdeps/mach/hurd/mmap64.c: New file.
7265
7266 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
7267
7268 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7269 rights for its main user thread in NEWTASK.
7270
7271 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
7272
7273 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7274 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7275
7276 2015-11-27 Carlos O'Donell <carlos@redhat.com>
7277
7278 [BZ #14259]
7279 * Makeconfig: Rename localedir to complocaledir.
7280 Rename inst_localedir to inst_complocaledir.
7281 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7282 * config.make.in: Use complocaledir and libc_cv_complocaledir.
7283 * configure.ac: Use libc_cv_complocaledir.
7284 * configure: Regenerate.
7285 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7286 -DCOMPLOCALEDIR.
7287 * locale/findlocale.c: Use COMPLOCALEDIR.
7288 * locale/loadarchive.c: Likewise.
7289 * locale/programs/locale.c: Likewise.
7290 * locale/programs/localedef.c: Likewise.
7291 * locale/programs/locarchive.c: Likewise.
7292 * localedata/Makefile: Use inst_complocaledir.
7293 * sysdeps/gnu/configure: Regenerate.
7294 * sysdeps/hppa/configure: Regenerate.
7295 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7296 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7298 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7299 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7300 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7301 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7302
7303 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
7304
7305 [BZ #19058]
7306 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7307 AS_NEEDED.
7308 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7309 workaround.
7310 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7311 libmvec-static-only-routines): Added new file.
7312 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7313
7314 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7315
7316 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7317 of interrupted RPC instead of restoring it.
7318
7319 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7320 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7321 libc_hidden_def.
7322 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7323 into initialized data instead of common. Define rtld_hidden_data_def.
7324 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7325 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7326 libc_hidden_def.
7327 (if_freenameindex): Add libc_hidden_weak.
7328 (if_nameindex): Add libc_hidden_weak.
7329 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7330 __open64.
7331 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7332 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7333 * sysdeps/mach/nanosleep.c: Include <time.h>
7334 (__nanosleep): Rename to __libc_nanosleep.
7335 (__nanosleep): Add weak_alias.
7336 (nanosleep): Update alias.
7337
7338 2015-11-24 Joseph Myers <joseph@codesourcery.com>
7339
7340 * stdlib/strtod_nan.c: New file.
7341 * stdlib/strtod_nan_double.h: Likewise.
7342 * stdlib/strtod_nan_float.h: Likewise.
7343 * stdlib/strtod_nan_main.c: Likewise.
7344 * stdlib/strtod_nan_narrow.h: Likewise.
7345 * stdlib/strtod_nan_wide.h: Likewise.
7346 * stdlib/strtof_nan.c: Likewise.
7347 * stdlib/strtold_nan.c: Likewise.
7348 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7349 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7350 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7351 * wcsmbs/wcstod_nan.c: Likewise.
7352 * wcsmbs/wcstof_nan.c: Likewise.
7353 * wcsmbs/wcstold_nan.c: Likewise.
7354 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7355 strtold_nan.
7356 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
7357 wcstof_nan.
7358 * include/stdlib.h (__strtof_nan): Declare and use
7359 libc_hidden_proto.
7360 (__strtod_nan): Likewise.
7361 (__strtold_nan): Likewise.
7362 (__wcstof_nan): Likewise.
7363 (__wcstod_nan): Likewise.
7364 (__wcstold_nan): Likewise.
7365 * include/wchar.h (____wcstoull_l_internal): Declare.
7366 * stdlib/strtod_l.c: Do not include <ieee754.h>.
7367 (____strtoull_l_internal): Remove declaration.
7368 (STRTOF_NAN): Define macro.
7369 (SET_MANTISSA): Remove macro.
7370 (STRTOULL): Likewise.
7371 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
7372 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
7373 (STRTOF_NAN): Define macro.
7374 (SET_MANTISSA): Remove macro.
7375 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
7376 (SET_MANTISSA): Remove macro.
7377 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
7378 macro.
7379 (SET_MANTISSA): Remove macro.
7380 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
7381 macro.
7382 (SET_MANTISSA): Remove macro.
7383 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
7384 (SET_MANTISSA): Remove macro.
7385 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
7386 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
7387 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
7388
7389 [BZ #19266]
7390 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
7391 upper case and lower case letters inside NAN(), not using TOLOWER.
7392 * stdlib/tst-strtod-nan-locale-main.c: New file.
7393 * stdlib/tst-strtod-nan-locale.c: Likewise.
7394 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
7395 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
7396 Depend on $(gen-locales).
7397 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
7398 * wcsmbs/tst-wcstod-nan-locale.c: New file.
7399 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
7400 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
7401 Depend on $(gen-locales).
7402 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
7403
7404 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
7405
7406 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
7407
7408 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
7410 __finitel, __isinfl, and __isnanl.
7411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7412 Likewise.
7413 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
7415 __finitel.
7416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7417 Likewise.
7418 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7419
7420 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
7421
7422 * malloc/memusage.c (me): Remove redundant getenv call.
7423
7424 2015-10-24 Florian Weimer <fweimer@redhat.com>
7425
7426 [BZ #19143]
7427 [BZ #19164]
7428 * nptl/check-cpuset.h: Remove.
7429 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7430 Remove CPU set size check.
7431 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7432 Likewise.
7433 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
7434 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7435 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
7436 (__pthread_setaffinity_new): Remove CPU set size check.
7437 * sysdeps/unix/sysv/linux/sched_setaffinity.c
7438 (__kernel_cpumask_size): Remove.
7439 (__sched_setaffinity_new): Remove CPU set size check.
7440 * manual/threads.texi (Default Thread Attributes): Remove stale
7441 reference to check_cpuset_attr, determine_cpumask_size in comment.
7442 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
7443 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
7444 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
7445 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
7446 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
7447 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
7448 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
7449 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
7450 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
7451 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
7452 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7453 skeleton test file.
7454 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
7455 tst-affinity-pid.
7456
7457 2015-11-24 Florian Weimer <fweimer@redhat.com>
7458
7459 * scripts/update-abilist.sh: New file.
7460 * Makefile (+subdir_targets): Add subdir_update-all-abi.
7461 * Makerules (update-all-abi-%, update-all-abi)
7462 (subdir_update-all-abi): New targets.
7463 * elf/Makefile (update-all-abi): New target.
7464
7465 2015-11-24 Florian Weimer <fweimer@redhat.com>
7466
7467 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7468 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7469 (__libc_lock_define_initialized): Use it.
7470 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7471 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7472 * malloc/malloc.c (main_arena): Likewise.
7473 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7474 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7475
7476 2015-11-23 Joseph Myers <joseph@codesourcery.com>
7477
7478 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7479 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7480 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7481 (PTRACE_O_MASK): Update value.
7482 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7483 New value in enum __ptrace_setoptions.
7484 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7485 (PTRACE_O_MASK): Update value.
7486 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7487 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7488 (PTRACE_O_MASK): Update value.
7489 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7490 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7491 (PTRACE_O_MASK): Update value.
7492 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7493 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7494 (PTRACE_O_MASK): Update value.
7495 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7496 New value in enum __ptrace_setoptions.
7497 (PTRACE_O_MASK): Update value.
7498 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7499 New value in enum __ptrace_setoptions.
7500 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7501 (PTRACE_O_MASK): Update value.
7502
7503 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7504 New macro.
7505 (PACKET_AUXDATA): Likewise.
7506 (PACKET_ORIGDEV): Likewise.
7507 (PACKET_VERSION): Likewise.
7508 (PACKET_HDRLEN): Likewise.
7509 (PACKET_RESERVE): Likewise.
7510 (PACKET_TX_RING): Likewise.
7511 (PACKET_LOSS): Likewise.
7512 (PACKET_VNET_HDR): Likewise.
7513 (PACKET_TX_TIMESTAMP): Likewise.
7514 (PACKET_TIMESTAMP): Likewise.
7515 (PACKET_FANOUT): Likewise.
7516 (PACKET_TX_HAS_OFF): Likewise.
7517 (PACKET_QDISC_BYPASS): Likewise.
7518 (PACKET_ROLLOVER_STATS): Likewise.
7519 (PACKET_FANOUT_DATA): Likewise.
7520 (PACKET_MR_UNICAST): Likewise.
7521
7522 [BZ #19242]
7523 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7524 (TOUPPER): Likewise.
7525 * stdlib/tst-strtol-locale-main.c: New file.
7526 * stdlib/tst-strtol-locale.c: Likewise.
7527 * stdlib/Makefile (tests): Add tst-strtol-locale.
7528 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7529 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7530 Depend on $(gen-locales).
7531 * wcsmbs/tst-wcstol-locale.c: New file.
7532 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7533 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7534 tr_TR.ISO-8859-9.
7535 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7536 Depend on $(gen-locales).
7537
7538 2015-11-20 Roland McGrath <roland@hack.frob.com>
7539
7540 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7541 __glibc_likely instead of __builtin_expect. After falling back to
7542 dyncode_create in a non-ET_DYN case, use the allocate_code_data
7543 system interface to register the code pages as occupied.
7544
7545 2015-11-20 Joseph Myers <joseph@codesourcery.com>
7546
7547 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7548 [!ARM_MATH_PRIVATE_H].
7549 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7550 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7551 [!HPPA_MATH_PRIVATE_H].
7552 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7553 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7554 to [!I386_MATH_PRIVATE_H].
7555 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7556 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7557 Change guard to [!M68K_MATH_PRIVATE_H].
7558 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7559 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7560 guard to [!MICROBLAZE_MATH_PRIVATE_H].
7561 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7562 macro.
7563 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7564 [!MIPS_MATH_PRIVATE_H].
7565 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7566 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7567 [!NIO2_MATH_PRIVATE_H].
7568 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7569 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7570 [!TILE_MATH_PRIVATE_H].
7571 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7572
7573 [BZ #15421]
7574 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7575 initialize with 0 and define as weak alias of __signgam.
7576 * include/math.h [!_ISOMAC] (__signgam): Declare.
7577 * math/Makefile (libm-calls): Add w_lgamma_compat.
7578 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7579 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7580 test-signgam-ullong-init.
7581 (tests-static): Add test-signgam-uchar-static,
7582 test-signgam-uchar-init-static, test-signgam-uint-static,
7583 test-signgam-uint-init-static, test-signgam-ullong-static and
7584 test-signgam-ullong-init-static.
7585 (CFLAGS-test-signgam-uchar.c): New variable.
7586 (CFLAGS-test-signgam-uchar-init.c): Likewise.
7587 (CFLAGS-test-signgam-uchar-static.c): Likewise.
7588 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7589 (CFLAGS-test-signgam-uint.c): Likewise.
7590 (CFLAGS-test-signgam-uint-init.c): Likewise.
7591 (CFLAGS-test-signgam-uint-static.c): Likewise.
7592 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7593 (CFLAGS-test-signgam-ullong.c): Likewise.
7594 (CFLAGS-test-signgam-ullong-init.c): Likewise.
7595 (CFLAGS-test-signgam-ullong-static.c): Likewise.
7596 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7597 * math/Versions (libm): Add GLIBC_2.23.
7598 * math/lgamma-compat.h: New file.
7599 * math/test-signgam-main.c: Likewise.
7600 * math/test-signgam-uchar-init-static.c: Likewise.
7601 * math/test-signgam-uchar-init.c: Likewise.
7602 * math/test-signgam-uchar-static.c: Likewise.
7603 * math/test-signgam-uchar.c: Likewise.
7604 * math/test-signgam-uint-init-static.c: Likewise.
7605 * math/test-signgam-uint-init.c: Likewise.
7606 * math/test-signgam-uint-static.c: Likewise.
7607 * math/test-signgam-uint.c: Likewise.
7608 * math/test-signgam-ullong-init-static.c: Likewise.
7609 * math/test-signgam-ullong-init.c: Likewise.
7610 * math/test-signgam-ullong-static.c: Likewise.
7611 * math/test-signgam-ullong.c: Likewise.
7612 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7613 wrapper of w_lgamma_main.c.
7614 * math/w_lgamma_compat.c: New file.
7615 * math/w_lgamma_compatf.c: Likewise.
7616 * math/w_lgamma_compatl.c: Likewise.
7617 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
7618 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
7619 defining compatibility symbols.
7620 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
7621 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7622 wrapper of w_lgammaf_main.c.
7623 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
7624 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
7625 defining compatibility symbols.
7626 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
7627 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7628 wrapper of w_lgammal_main.c.
7629 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
7630 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
7631 defining compatibility symbols.
7632 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
7633 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7634 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7635 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
7636 <lgamma-compat.h>.
7637 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
7638 (__ieee754_gamma): Define as alias.
7639 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7640 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
7641 <lgamma-compat.h>.
7642 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
7643 (__ieee754_gammaf): Define as alias.
7644 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7645 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
7646 <lgamma-compat.h>.
7647 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
7648 (__ieee754_gammal): Define as alias.
7649 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7650 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
7651 <math/w_lgamma_compat.c>.
7652 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7653 Define as alias of __lgamma_compat and use in defining lgammal.
7654 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7655 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
7656 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7657 (USE_AS_COMPAT): New macro.
7658 (LGAMMA_OLD_VER): Undefine and redefine.
7659 (lgammal): Do not define here.
7660 (gammal): Only define here if [GAMMA_ALIAS].
7661 * conform/linknamespace.pl (@whitelist): Remove signgam.
7662 * sysdeps/nacl/libm.abilist: Update.
7663 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7664 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7665 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7666 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7667 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7668 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7669 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7670 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7671 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7672 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7673 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7674 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7676 Likewise.
7677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7678 Likewise.
7679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7680 Likewise.
7681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7682 Likewise.
7683 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7684 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7685 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7686 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7687 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7689 Likewise.
7690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7691 Likewise.
7692 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7693 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7694 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7695
7696 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7697
7698 [BZ #16364]
7699 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7700 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7701
7702 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7703
7704 * sysdeps/s390/fpu/bits/mathinline.h:
7705 Use __asm__ [__volatile__] instead of asm [volatile].
7706 * sysdeps/s390/abort-instr.h: Likewise.
7707 * sysdeps/s390/atomic-machine.h: Likewise.
7708 * sysdeps/s390/bits/string.h: Likewise.
7709 * sysdeps/s390/dl-tls.h: Likewise.
7710 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7711 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7712 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7713 * sysdeps/s390/fpu/fesetround.c: Likewise.
7714 * sysdeps/s390/fpu/fpu_control.h: Likewise.
7715 * sysdeps/s390/fpu/s_fma.c: Likewise.
7716 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7717 * sysdeps/s390/memusage.h: Likewise.
7718 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7719 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7720 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7721 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7722 * sysdeps/s390/nptl/tls.h: Likewise.
7723 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7724 * sysdeps/s390/s390-32/backtrace.c: Likewise.
7725 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7726 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7727 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7728 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7729 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7730 * sysdeps/s390/s390-64/backtrace.c: Likewise.
7731 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7732 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7733 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7734 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7735 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7736 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7737 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7738 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7739 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7740 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7741 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7742 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7743 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7745 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7746
7747 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7748 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7749
7750 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7751 Add lwarx hint, and use macro for acquire instruction.
7752 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7753 Likewise.
7754 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7755 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7756 update to use new atomic macros.
7757
7758 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7759
7760 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7761 (__lll_trylock_elision): Fix setting of adapt_count.
7762 * sysdeps/unix/sysv/linux/powerpc/htm.h
7763 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7764 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7765 (_ABORT_SYSCALL): Renumber, and clarify definition.
7766 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7767
7768 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7769
7770 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7771 after system headers to prevent MIN/MAX redefinition. Define
7772 HAVE_ALLOCA to preserve builtin alloca usage.
7773
7774 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
7775
7776 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7777 static and don't set or restore rounding.
7778 (__cos)[IN_SINCOS]: Likewise.
7779 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7780 (__sincos): Set and restore rounding mode. Remove check for infinite
7781 or NaN input.
7782
7783 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7784
7785 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7786 as used.
7787
7788 2015-11-16 Florian Weimer <fweimer@redhat.com>
7789
7790 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7791
7792 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
7793
7794 * config.make.in (have-glob-dat-reloc): New.
7795 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
7796 target supports GLOB_DAT relocaton. AC_SUBST.
7797 * configure: Regenerated.
7798 * elf/Makefile (tests): Add tst-prelink.
7799 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7800 (tst-prelink-ENV): New.
7801 ($(objpfx)tst-prelink-conflict.out): Likewise.
7802 ($(objpfx)tst-prelink-cmp.out): Likewise.
7803 * sysdeps/x86/tst-prelink.c: Moved to ...
7804 * elf/tst-prelink.c: Here.
7805 * sysdeps/x86/tst-prelink.exp: Moved to ...
7806 * elf/tst-prelink.exp: Here.
7807 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7808 (tst-prelink-ENV): Removed.
7809 ($(objpfx)tst-prelink-conflict.out): Likewise.
7810 ($(objpfx)tst-prelink-cmp.out): Likewise.
7811 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7812
7813 2015-11-13 Joseph Myers <joseph@codesourcery.com>
7814
7815 [BZ #14551]
7816 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7817 (__mpn_construct_long_double): If high part overflows to infinity,
7818 set errno and recompute overflowed result of the correct sign.
7819 * sysdeps/ieee754/ldbl-128ibm/Makefile
7820 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7821 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7822 $(libm).
7823 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7824
7825 2015-11-12 Joseph Myers <joseph@codesourcery.com>
7826
7827 [BZ #15479]
7828 [BZ #19238]
7829 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7830 floating-point state after first operation on input. Restore full
7831 state rather than just rounding mode.
7832 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7833 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7834 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7835
7836 [BZ #19235]
7837 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7838 add 0.5 to integer arguments.
7839 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7840 Likewise.
7841 (.LC2): New object.
7842
7843 2015-11-11 Mike Frysinger <vapier@gentoo.org>
7844
7845 * scripts/pylintrc (reports): Set to no.
7846
7847 2015-11-10 Roland McGrath <roland@hack.frob.com>
7848
7849 * elf/dl-load.c (open_verify): Take new argument FD.
7850 Skip __open call if passed FD is not -1.
7851 (_dl_map_object, open_path): Update callers.
7852 * elf/dl-sysdep-open.h: New file.
7853 * elf/dl-load.c: Include it.
7854 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7855 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7856 * sysdeps/nacl/dl-sysdep-open.h: New file.
7857 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7858 from libc to rtld.
7859
7860 2015-11-10 Joseph Myers <joseph@codesourcery.com>
7861
7862 [BZ #19228]
7863 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7864 and restore full floating-point state.
7865 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7866 Likewise.
7867 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7868 Likewise.
7869 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7870 Likewise.
7871 * math/test-nearbyint-except-2.c: New file.
7872 * math/Makefile (tests): Add test-nearbyint-except-2.
7873
7874 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
7875
7876 [BZ #19178]
7877 * sysdeps/x86/Makefile (tests): Add tst-prelink.
7878 (tst-prelink-ENV): New.
7879 ($(objpfx)tst-prelink-conflict.out): Likewise.
7880 ($(objpfx)tst-prelink-cmp.out): Likewise.
7881 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7882 * sysdeps/x86/tst-prelink.c: New file.
7883 * sysdeps/x86/tst-prelink.exp: Likewise.
7884
7885 2015-11-10 Joseph Myers <joseph@codesourcery.com>
7886
7887 * math/auto-libm-test-in: Add another test of pow.
7888 * math/auto-libm-test-out: Regenerated.
7889 * math/libm-test.inc (pow_test_data): Add another test.
7890
7891 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7892
7893 [BZ #19219]
7894 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7895 weak_alias to nearbyintl.
7896
7897 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
7898
7899 * sysdeps/aarch64/bits/string.h: New file.
7900 (_STRING_ARCH_unaligned): Define.
7901
7902 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
7903
7904 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7905 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7906 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7907 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7909
7910 2015-11-09 Ulrich Drepper <drepper@gmail.com>
7911
7912 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7913 for original name of the DSO. Add it to the name list of the DSO
7914 if it is actually given.
7915 (_dl_map_object): Keep track of whether an audit module rewrote
7916 the file name. If yes, pass the original name to
7917 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
7918 debugging is enabled, log the change of the file name.
7919 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7920 _dl_map_object_from_fd.
7921 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7922 * elf/tst-audit11.c: New file
7923 * elf/tst-auditmod11.c: New file.
7924 * elf/tst-audit11mod1.c: New file.
7925 * elf/tst-audit11mod2.c: New file.
7926 * elf/tst-audit11mod2.map: New file.
7927 * elf/tst-audit12.c: New file
7928 * elf/tst-auditmod12.c: New file.
7929 * elf/tst-audit12mod1.c: New file.
7930 * elf/tst-audit12mod2.c: New file.
7931 * elf/tst-audit12mod2.map: New file.
7932 * elf/tst-audit12mod3.c: New file.
7933
7934 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
7935
7936 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7937 Don't create weak aliases,
7938 because versioned symbols are created later.
7939 * sysdeps/s390/s390-32/setjmp.S
7940 (setjmp, _setjmp): Remove weak and rename to an unique name
7941 in SHARED case due to existing versioned symbols.
7942 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7943 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7944 (getcontext): Create weak alias only in non SHARED case.
7945 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7946
7947 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
7948
7949 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7950 (__ASSUME_*_SYSCALL) Define new macros.
7951 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7952 Remove socketcall syscalls.
7953 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7954 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7955 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7956 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7957 * sysdeps/unix/sysv/linux/send.c (__libc_send):
7958 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7959
7960 2015-11-09 Florian Weimer <fweimer@redhat.com>
7961
7962 [BZ #12926]
7963 Terminate process on invalid netlink response.
7964 * sysdeps/unix/sysv/linux/netlinkaccess.h
7965 (__netlink_assert_response): Declare.
7966 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7967 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7968 (sysdep_routines): Add netlink_assert_response.
7969 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7970 __netlink_assert_response.
7971 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7972 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7973 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7974 __netlink_assert_response.
7975
7976 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
7977
7978 [BZ #19178]
7979 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7980 (RTYPE_CLASS_PLT): Likewise.
7981 (RTYPE_CLASS_COPY): Likewise.
7982 (RTYPE_CLASS_TLS): Likewise.
7983 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7984 to set relocation type class for DL_DEBUG_PRELINK. Keep only
7985 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7986 DL_DEBUG_PRELINK.
7987
7988 2015-11-06 Joseph Myers <joseph@codesourcery.com>
7989
7990 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7991 calls with argument -0.5.
7992 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7993
7994 * configure.ac (libc_cv_z_nodelete): Remove configure test.
7995 (libc_cv_z_nodlopen): Likewise.
7996 (libc_cv_z_initfirst): Likewise.
7997 * configure: Regenerated.
7998
7999 2015-11-06 Florian Weimer <fweimer@redhat.com>
8000
8001 Simplify abilist format to be line-based.
8002 * scripts/abilist.awk: Collect descriptors in the descs variable.
8003 (emit): Write descs variable and sort it
8004 externally, with sort.
8005 * sysdeps/**/*.abilist: Convert to new format.
8006
8007 2015-11-06 Mark Wielaard <mjw@redhat.com>
8008
8009 [BZ #11460]
8010 * io/Makefile (routines): Add fts64.
8011 (tests): Add tst-fts and tst-fts-lfs.
8012 (CFLAGS-fts64.c): New.
8013 * io/Versions (GLIBC_2.23): New.
8014 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
8015 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
8016 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
8017 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
8018 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
8019 (FTSENT64): Likewise.
8020 (fts64_children): Likewise.
8021 (fts64_close): Likewise.
8022 (fts64_open): Likewise.
8023 (fts64_read): Likewise.
8024 (fts64_set): Likewise.
8025 * io/fts64.c: New file.
8026 * io/tst-fts.c: New test.
8027 * io/tst-fts-lfs.c: Likewise.
8028 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
8029 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
8030 fts64_set.
8031 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8032 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8033 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8034 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8035 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8036 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8037 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8038 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8039 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8040 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8041 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8042 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8043 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8045 Likewise.
8046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8047 Likewise.
8048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8050 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8051 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8052 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8053 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8054 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8057 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8058 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8059 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8060 * sysdeps/wordsize-64/fts.c: New file.
8061 * sysdeps/wordsize-64/fts64.c: Likewise.
8062 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
8063 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
8064 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
8065 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
8066
8067 2015-11-05 Joseph Myers <joseph@codesourcery.com>
8068
8069 * math/libm-test.inc (NON_FINITE): New macro.
8070 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
8071 * math/gen-libm-test.pl (show_exceptions): Add argument
8072 $non_finite.
8073 (parse_args): Update call to show_exceptions.
8074 * math/test-math-finite.h: New file.
8075 * math/test-math-no-finite.h: Likewise.
8076 * math/test-double-finite.c: Likewise.
8077 * math/test-float-finite.c: Likewise.
8078 * math/test-ldouble-finite.c: Likewise.
8079 * math/test-double.c: Include "test-math-no-finite.h".
8080 * math/test-float.c: Include "test-math-no-finite.h".
8081 * math/test-ldouble.c: Include "test-math-no-finite.h".
8082 * math/test-math-inline.h (TEST_FINITE): New macro.
8083 * math/test-math-vector.h (TEST_FINITE): Likewise.
8084 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8085 (libm-tests): Add test-float-finite and test-double-finite.
8086 ($(objpfx)test-float-finite.o): New dependency on
8087 $(objpfx)libm-test.stmp.
8088 ($(objpfx)test-double-finite.o): Likewise.
8089 ($(objpfx)test-ldouble-finite.o): Likewise.
8090 (libm-test-no-inline-cflags): New variable.
8091 (libm-test-finite-cflags): Likewise.
8092 (CFLAGS-test-float-finite.c): Likewise.
8093 (CFLAGS-test-double-finite.c): Likewise.
8094 (CFLAGS-test-ldouble-finite.c): Likewise.
8095 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
8096 (CFLAGS-test-double.c): Likewise.
8097 (CFLAGS-test-ldouble.c): Likewise.
8098
8099 2015-11-05 Roland McGrath <roland@hack.frob.com>
8100
8101 * io/fcntl.c (__fcntl): Add ... to prototype.
8102 * misc/ioctl.c (__ioctl): Likewise.
8103 * misc/syscall.c (syscall): Likewise.
8104
8105 2015-11-05 Joseph Myers <joseph@codesourcery.com>
8106
8107 * scripts/list-fixed-bugs.py: New file.
8108
8109 [BZ #19213]
8110 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
8111 returned for argument 1.
8112 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
8113 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
8114 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
8115 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
8116 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
8117 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
8118
8119 [BZ #19211]
8120 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
8121 __USE_XOPEN], not if [!__USE_ISOC99].
8122 (lgammaf): Likewise.
8123 (lgammal): Likewise.
8124 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
8125 (gammaf): Likewise.
8126 (gammal): Likewise.
8127 * math/test-signgam-finite-c11.c: New file.
8128 * math/test-signgam-finite-c99.c: Likewise.
8129 * math/test-signgam-finite.c: Likewise.
8130 * math/Makefile (tests): Add test-signgam-finite,
8131 test-signgam-finite-c99 and test-signgam-finite-c11.
8132 (CFLAGS-test-signgam-finite.c): New variable.
8133 (CFLAGS-test-signgam-finite-c99.c): Likewise.
8134 (CFLAGS-test-signgam-finite-c11.c): Likewise.
8135
8136 [BZ #19212]
8137 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
8138 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
8139 500].
8140 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
8141 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
8142 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
8143 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
8144 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
8145 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
8146 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
8147 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
8148 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
8149 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
8150
8151 [BZ #19209]
8152 * math/bits/math-finite.h (ldexp): Remove declaration.
8153 (ldexpf): Likewise.
8154 (ldexpl): Likewise.
8155
8156 [BZ #19205]
8157 * math/bits/math-finite.h (acosf): Condition declaration on
8158 [__USE_ISOC99].
8159 (acosl): Likewise.
8160 (acoshf): Likewise.
8161 (acoshl): Likewise.
8162 (asinf): Likewise.
8163 (asinl): Likewise.
8164 (atan2f): Likewise.
8165 (atan2l): Likewise.
8166 (atanhf): Likewise.
8167 (atanhl): Likewise.
8168 (coshf): Likewise.
8169 (coshl): Likewise.
8170 (expf): Likewise.
8171 (expl): Likewise.
8172 (fmodf): Likewise.
8173 (fmodl): Likewise.
8174 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
8175 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
8176 (j0l): Likewise.
8177 (y0f): Likewise.
8178 (y0l): Likewise.
8179 (j1f): Likewise.
8180 (j1l): Likewise.
8181 (y1f): Likewise.
8182 (y1l): Likewise.
8183 (jnf): Likewise.
8184 (jnl): Likewise.
8185 (ynf): Likewise.
8186 (ynl): Likewise.
8187 (lgammaf_r): Condition declaration on [__USE_ISOC99].
8188 (lgammal_r): Likewise.
8189 (__lgamma_r_finite): New declaration.
8190 (__lgammaf_r_finite): Likewise.
8191 (__lgammal_r_finite): Likewise.
8192 (lgamma): Use __lgamma_r_finite.
8193 (lgammaf): Condition definition on [__USE_ISOC99]. Use
8194 __lgammaf_r_finite.
8195 (lgammal): Condition definition on [__USE_ISOC99]. Use
8196 __lgammal_r_finite.
8197 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
8198 __lgamma_r_finite.
8199 (gammaf): Condition definition on [__USE_ISOC99]. Use
8200 __lgammaf_r_finite.
8201 (gammal): Condition definition on [__USE_ISOC99]. Use
8202 __lgammal_r_finite.
8203 (logf): Condition declaration on [__USE_ISOC99].
8204 (logl): Likewise.
8205 (log10f): Likewise.
8206 (log10l): Likewise.
8207 (ldexpf): Likewise.
8208 (ldexpl): Likewise.
8209 (powf): Likewise.
8210 (powl): Likewise.
8211 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8212 __USE_ISOC99].
8213 (remainderf): Condition declaration on [__USE_ISOC99].
8214 (remainderl): Likewise.
8215 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8216 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8217 (scalbl): Likewise.
8218 (sinhf): Condition declaration on [__USE_ISOC99].
8219 (sinhl): Likewise.
8220 (sqrtf): Likewise.
8221 (sqrtl): Likewise.
8222
8223 2015-11-04 Joseph Myers <joseph@codesourcery.com>
8224
8225 * sysdeps/arm/atomic-machine.h
8226 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8227 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8228 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8229 Remove conditional code.
8230 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8231 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8232 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8233 Change conditional to [__ASSEMBLER__].
8234 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8235 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8236 [!__ASSEMBLER__].
8237 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8238 code.
8239 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8240 conditional macro definitions.
8241 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8242 (__arch_compare_and_exchange_val_16_acq): Likewise.
8243 (__arch_compare_and_exchange_val_32_acq): Likewise.
8244 (atomic_exchange_and_add): Likewise.
8245 (atomic_add): Likewise.
8246 (atomic_add_negative): Likewise.
8247 (atomic_add_zero): Likewise.
8248 (atomic_bit_set): Likewise.
8249 (atomic_bit_test_set): Likewise.
8250 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8251 code unconditional.
8252 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8253
8254 * math/test-math-errno.h: New file.
8255 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8256 empty.
8257 (TEST_ERRNO): New macro.
8258 (TEST_EXCEPTIONS): Likewise.
8259 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8260 (TEST_EXCEPTIONS): Likewise.
8261 * math/test-math-vector.h (TEST_ERRNO): Likewise.
8262 * math/test-double.c: Include "test-math-errno.h".
8263 * math/test-float.c: Likewise.
8264 * math/test-ldouble.c: Likewise.
8265 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8266 code unconditional.
8267 (test_exceptions): Only run code if TEST_EXCEPTIONS.
8268 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8269 unconditional.
8270 (test_errno): Only run code if TEST_ERRNO.
8271 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8272
8273 2015-11-04 Florian Weimer <fweimer@redhat.com>
8274
8275 * nptl/tst-once5.cc: Remove attribution.
8276
8277 2015-11-04 Joseph Myers <joseph@codesourcery.com>
8278
8279 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8280 sqrt, tan, tanh, y0, y1 and yn.
8281 * math/auto-libm-test-out: Regenerated.
8282 * math/libm-test.inc (scalb_test_data): Add more tests.
8283 (scalbn_test_data): Likewise.
8284 (scalbln_test_data): Likewise.
8285 (signbit_test_data): Likewise.
8286 (sin_test_data): Likewise.
8287 (sincos_test_data): Likewise.
8288 (sinh_test_data): Likewise.
8289 (sqrt_test_data): Likewise.
8290 (tan_test_data): Likewise.
8291 (tanh_test_data): Likewise.
8292 (tgamma_test_data): Likewise.
8293 (y0_test_data): Likewise.
8294 (y1_test_data): Likewise.
8295 (yn_test_data): Likewise.
8296 (significand_test_data): Likewise.
8297 * sysdeps/i386/fpu/libm-test-ulps: Update.
8298
8299 2015-11-03 David Kastrup <dak@gnu.org>
8300
8301 [BZ #18604]
8302 * assert/assert.h (assert): Don't macro-expand failed assertion
8303 expression in error message.
8304 * malloc/malloc.c (assert): Likewise.
8305
8306 2015-11-03 Joseph Myers <joseph@codesourcery.com>
8307
8308 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8309 test.
8310 * configure: Regenerated.
8311
8312 2015-11-02 Joseph Myers <joseph@codesourcery.com>
8313
8314 * math/libm-test.inc (modf_test_data): Add more tests.
8315 (nearbyint_test_data): Likewise.
8316 (nextafter_test_data): Likewise.
8317 (nexttoward_test_data): Likewise.
8318 (pow_test_data): Likewise.
8319 (remainder_test_data): Likewise.
8320 (remquo_test_data): Likewise.
8321 (rint_test_data): Likewise.
8322
8323 [BZ #19201]
8324 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8325 Check for zero remainder in case of large exponents and ensure
8326 correct sign of result in that case.
8327 * math/libm-test.inc (remainder_test_data): Add more tests.
8328
8329 [BZ #6799]
8330 * math/s_nextafter.c: Include <errno.h>.
8331 (__nextafter): Set errno on overflow and underflow.
8332 * math/s_nexttowardf.c: Include <errno.h>.
8333 (__nexttowardf): Set errno on overflow and underflow.
8334 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8335 (__nextafterl): Set errno on overflow and underflow.
8336 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8337 (__nexttoward): Set errno on overflow and underflow.
8338 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8339 (__nexttowardf): Set errno on overflow and underflow.
8340 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8341 (__nextafterf): Set errno on overflow and underflow.
8342 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8343 (__nextafterl): Set errno on overflow and underflow.
8344 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8345 (__nexttoward): Set errno on overflow and underflow.
8346 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8347 (__nexttowardf): Set errno on overflow and underflow.
8348 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8349 (__nextafterl): Set errno on overflow and underflow.
8350 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8351 (__nexttoward): Set errno on overflow and underflow.
8352 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8353 (__nexttowardf): Set errno on overflow and underflow.
8354 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8355 (__nexttoward): Set errno on overflow and underflow.
8356 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
8357 (__nexttowardf): Set errno on overflow and underflow.
8358 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
8359 (__nldbl_nexttowardf): Set errno on overflow and underflow.
8360 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
8361 (__nextafterl): Set errno on overflow and underflow.
8362 * math/libm-test.inc (nextafter_test_data): Do not allow errno
8363 setting to be missing on overflow. Add more tests.
8364 (nexttoward_test_data): Likewise.
8365
8366 * configure.ac (libc_cv_initfini_array): Remove configure test.
8367 * configure: Regenerated.
8368
8369 2015-10-29 Joseph Myers <joseph@codesourcery.com>
8370
8371 [BZ #19189]
8372 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
8373 non-finite argument handle arguments with negative sign.
8374
8375 * math/libm-test.inc (j0_test_data): Do not test sign of zero
8376 result from infinite argument.
8377 (j1_test_data): Likewise.
8378 (jn_test_data): Likewise.
8379 (y0_test_data): Likewise.
8380 (y1_test_data): Likewise.
8381 (yn_test_data): Likewise.
8382
8383 [BZ #16171]
8384 * math/w_remainder.c (drem): Define as weak alias of __remainder.
8385 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
8386 * math/w_remainderf.c (dremf): Define as weak alias of
8387 __remainderf.
8388 * math/w_remainderl.c (dreml): Define as weak alias of
8389 __remainderl.
8390 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
8391 __remainder.
8392 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
8393 __remainderf.
8394 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
8395 __remainderl.
8396 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
8397 weak alias of remainderl.
8398 * sysdeps/ieee754/ldbl-opt/w_remainder.c
8399 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
8400 alias of __remainder.
8401 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
8402 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
8403 strong alias of __remainderl.
8404 (dreml): Use long_double_symbol.
8405 * math/Makefile (libm-calls): Remove w_drem.
8406 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
8407 (CFLAGS-nldbl-drem.c): Remove variable.
8408 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
8409 * math/w_drem.c: Remove file.
8410 * math/w_dremf.c: Likewise.
8411 * math/w_dreml.c: Likewise.
8412 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
8413 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
8414 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
8415
8416 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
8417 * sysdeps/i386/configure: Regenerated.
8418 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
8419 * sysdeps/x86_64/configure: Regenerated.
8420
8421 * configure.ac (libc_cv_asm_protected_directive): Remove configure
8422 test.
8423 (libc_cv_visibility_attribute): Likewise.
8424 (libc_cv_protected_data): Test unconditionally.
8425 (libc_cv_broken_visibility_attribute): Remove configure test.
8426 (libc_cv_have_sdata_section): Test unconditionally.
8427 * configure: Regenerated.
8428
8429 * include/libc-internal.h (libc_max_align_t): Remove typedef.
8430 * include/scratch_buffer.h: Include <stddef.h> instead of
8431 <libc-internal.h>.
8432 (struct scratch_buffer): Use max_align_t instead of
8433 libc_max_align_t.
8434
8435 2015-10-29 Florian Weimer <fweimer@redhat.com>
8436
8437 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
8438 instead of extend_alloca. Change control flow to avoid a goto.
8439 Remove assert which is trivially always true.
8440
8441 2015-10-28 Joseph Myers <joseph@codesourcery.com>
8442
8443 [BZ #16068]
8444 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
8445 (FE_ALL_EXCEPT_X86): New macro.
8446 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8447 FE_ALL_EXCEPT. Ensure precision control is included in
8448 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8449 handle "denormal operand exception" and clear FZ and DAZ bits.
8450 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
8451 (FE_ALL_EXCEPT_X86): New macro.
8452 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8453 FE_ALL_EXCEPT. Ensure precision control is included in
8454 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8455 handle "denormal operand exception" and clear FZ and DAZ bits.
8456 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8457 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8458 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8459 test-fenv-x87 and test-fenv-sse-2.
8460 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8461
8462 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8463 * math/test-double.h (BUILD_COMPLEX): New macro.
8464 * math/test-float.h (BUILD_COMPLEX): Likewise.
8465 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8466
8467 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8468 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8469 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8471 instead of DBL_DENORM_MIN in comment.
8472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8473 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8474 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8475 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8476 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8477 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8478
8479 2015-10-28 Florian Weimer <fweimer@redhat.com>
8480
8481 [BZ# 19048]
8482 * malloc/malloc.c (struct malloc_state): Update comment. Add
8483 attached_threads member.
8484 (main_arena): Initialize attached_threads.
8485 * malloc/arena.c (list_lock): Update comment.
8486 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8487 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8488 (deattach_arena): New function.
8489 (_int_new_arena): Initialize arena reference count and deattach
8490 replaced arena.
8491 (get_free_list, reused_arena): Update reference count and deattach
8492 replaced arena.
8493 (arena_thread_freeres): Update arena reference count and only put
8494 unreferenced arenas on the free list.
8495
8496 2015-10-28 Joseph Myers <joseph@codesourcery.com>
8497
8498 [BZ #19181]
8499 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8500 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8501 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8502 * math/test-fenv-clear-main.c: New file.
8503 * math/test-fenv-clear.c: Likewise.
8504 * math/Makefile (tests): Add test-fenv-clear.
8505 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8506 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8507 test-fenv-clear-sse.
8508 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8509
8510 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8511 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8512 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8513
8514 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8515
8516 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8517 static libc.
8518
8519 2015-10-28 Joseph Myers <joseph@codesourcery.com>
8520
8521 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8522 test.
8523 * sysdeps/i386/configure: Regenerated.
8524 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8525 test.
8526 * sysdeps/x86_64/configure: Regenerated.
8527 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8528 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8529 memset-avx2 unconditionally instead of conditionally on
8530 [$(config-cflags-avx2) = yes].
8531 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8532 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8533 unconditional.
8534 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8535 * sysdeps/x86_64/multiarch/memset_chk.S
8536 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8537 to [IS_IN (libc) && SHARED].
8538
8539 2015-10-27 Joseph Myers <joseph@codesourcery.com>
8540
8541 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8542 configure test.
8543 * sysdeps/arm/configure: Regenerated.
8544 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8545 Define variable if not already defined.
8546
8547 [BZ #17404]
8548 * sysdeps/mips/atomic-machine.h
8549 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8550 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8551 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8552
8553 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8554 unconditional.
8555 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8556 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8557 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8558 unconditional.
8559 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8560 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8561 unconditional.
8562 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8563 * stdlib/setenv.c
8564 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8565 code unconditional.
8566 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8567 Remove conditional code.
8568 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8569 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8570 unconditional.
8571 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8572 code.
8573 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8574 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8575 unconditional.
8576 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8577 code.
8578 * sysdeps/ieee754/ldbl-128/k_tanl.c
8579 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8580 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8581 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8582 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8583 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8584 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8585 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8586 unconditional.
8587 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8588 code.
8589 * sysdeps/ieee754/ldbl-96/k_tanl.c
8590 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8591 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8592
8593 * nptl/tst-initializers1-c11.c: New file.
8594 * nptl/tst-initializers1-gnu11.c: Likewise.
8595 * nptl/Makefile (tests): Add these new tests.
8596 (CFLAGS-tst-initializers1-c11.c): New variable.
8597 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8598
8599 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8600 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8601 instead of -std=gnu99.
8602 * configure.ac (systemtap): Test with -std=gnu11 instead of
8603 -std=gnu99.
8604 * configure: Regenerated.
8605 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8606 in compilation command in comment.
8607
8608 * sysdeps/nptl/configure.ac: Remove file.
8609 * sysdeps/nptl/configure: Remove generated file.
8610 * configure.ac (libc_cv_forced_unwind): Do not substitute.
8611 * configure: Regenerated.
8612 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8613 * config.make.in (have-forced-unwind): Remove variable.
8614 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8615 unconditional.
8616 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8617 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8618 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8619 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8620 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8621 unconditional.
8622
8623 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8624
8625 [BZ #19174]
8626 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8627 .skip_lock_out_of_tbegin_retries.
8628 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8629 (__lll_lock_elision): Likewise, and respect a value of
8630 try_tbegin <= 0.
8631
8632 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8633
8634 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8635 statement.
8636
8637 2015-10-27 Joseph Myers <joseph@codesourcery.com>
8638
8639 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8640 variable.
8641 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8642 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8643
8644 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8645 of -std=c1x -D_ISOC11_SOURCE.
8646
8647 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8648 * configure: Regenerated.
8649 * manual/install.texi (Tools for Compilation): Document
8650 requirement for GCC 4.7 or later.
8651 * INSTALL: Regenerated.
8652
8653 2015-10-27 Ludovic Courtès <ludo@gnu.org>
8654
8655 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8656 on CNT to a conditional jump to 'puntdata'.
8657
8658 2015-10-27 Joseph Myers <joseph@codesourcery.com>
8659
8660 * configure.ac (libc_cv_gcc___thread): Remove configure test.
8661 (libc_cv_gcc_tls_model_attr): Likewise.
8662 * configure: Regenerated.
8663
8664 * configure.ac (libc_cv_need_minus_P): Remove configure test.
8665 * configure: Regenerated.
8666 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8667
8668 2015-10-26 Joseph Myers <joseph@codesourcery.com>
8669
8670 * configure.ac (old_glibc_headers): Remove configure test.
8671 * configure: Regenerated.
8672 * config.make.in (old-glibc-headers): Remove variable.
8673 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8674 (install): Remove dependency on remove-old-headers.
8675 (headers2_0): Remove variable.
8676 (remove-old-headers): Remove rule.
8677
8678 * configure.ac (libc_cv_dot_text): Remove configure test.
8679 (libc_cv_asm_set_directive): Use .text instead of
8680 ${libc_cv_dot_text} in configure test.
8681 * configure: Regenerated.
8682
8683 2015-10-26 Florian Weimer <fweimer@redhat.com>
8684
8685 [BZ #19168]
8686 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8687
8688 2015-10-26 Florian Weimer <fweimer@redhat.com>
8689
8690 * configure.ac (CXX): Clear the variable if the C++ toolchain does
8691 not support static linking.
8692 * configure: Regenerate.
8693
8694 2015-10-23 Joseph Myers <joseph@codesourcery.com>
8695
8696 * math/libm-test.inc (check_float_internal): Do not special-case
8697 errors up to 0.5 ulp.
8698
8699 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8700 log2.
8701 * math/auto-libm-test-out: Regenerated.
8702 * math/libm-test.inc (MAX_EXP): New macro.
8703 (ilogb_test_data): Add more tests.
8704 (isfinite_test_data): Likewise.
8705 (isgreater_test_data): Likewise.
8706 (isgreaterequal_test_data): Likewise.
8707 (isinf_test_data): Likewise.
8708 (isless_test_data): Likewise.
8709 (islessequal_test_data): Likewise.
8710 (islessgreater_test_data): Likewise.
8711 (isnan_test_data): Likewise.
8712 (isnormal_test_data): Likewise.
8713 (issignaling_test_data): Likewise.
8714 (isunordered_test_data): Likewise.
8715 (j0_test_data): Likewise.
8716 (j1_test_data): Likewise.
8717 (jn_test_data): Likewise.
8718 (lgamma_test_data): Likewise.
8719 (log_test_data): Likewise.
8720 (log10_test_data): Likewise.
8721 (log1p_test_data): Likewise.
8722 (log2_test_data): Likewise.
8723 (logb_test_data): Likewise.
8724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8725
8726 [BZ #18611]
8727 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8728 avoid excess range and precision on underflow.
8729 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8730 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8731 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8732 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8733 underflow.
8734 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8736 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8737 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8738 * math/auto-libm-test-in: Do not allow missing errno setting for
8739 tests of j1 and jn.
8740 * math/auto-libm-test-out: Regenerated.
8741
8742 2015-10-22 Joseph Myers <joseph@codesourcery.com>
8743
8744 [BZ #15491]
8745 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8746 floating-point environment instead of clearing all exceptions.
8747 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8748 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8749 merging in "invalid" exceptions from frndint.
8750 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8751 * math/test-nearbyint-except.c: New file.
8752 * math/Makefile (tests): Add test-nearbyint-except.
8753
8754 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
8755
8756 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8757
8758 * sysdeps/tile/libm-test-ulps: Regenerated.
8759
8760 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8761
8762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8763 (__NR_sync_file_range2): Assume it is always defined.
8764 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8765 (__NR_sync_file_range): Assume it is always defined.
8766
8767 2015-10-22 Andreas Schwab <schwab@suse.de>
8768
8769 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8770 INTERNAL_SYSCALL_ERRNO.
8771 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8772 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8773 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8774 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8775 Likewise.
8776 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8777
8778 2015-10-21 Joseph Myers <joseph@codesourcery.com>
8779
8780 * io/tst-fcntl.c (fd): New static variable.
8781 (do_prepare): Open temporary file here....
8782 (do_test): ...not here.
8783
8784 * io/ftwtest-sh: Also trap on exit to remove temporary files.
8785
8786 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
8787
8788 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8789 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8790 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8791 Moved before "#ifdef __ASSEMBLER__".
8792
8793 2015-10-21 Joseph Myers <joseph@codesourcery.com>
8794
8795 [BZ #19156]
8796 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8797 arguments very close to 0.
8798
8799 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
8800
8801 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8802 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8803
8804 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
8805
8806 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8807 New. Defined for GCC 5 and above when not compiling for
8808 profiling.
8809 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8810
8811 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8812 Renamed to ...
8813 (CFLAGS-epoll_pwait.o): This.
8814 (CFLAGS-mmap.c): Renamed to ...
8815 (CFLAGS-mmap.o): This.
8816 (CFLAGS-mmap64.c): Renamed to ...
8817 (CFLAGS-mmap64.o): This.
8818 (CFLAGS-epoll_pwait.os): New.
8819 (CFLAGS-mmap.os): Likewise.
8820 (CFLAGS-mmap64.os): Likewise.
8821 (CFLAGS-semtimedop.os): Likewise.
8822 (CFLAGS-semtimedop.c): Renamed to ...
8823 (CFLAGS-semtimedop.o): This.
8824
8825 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8826
8827 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8828 warning message.
8829
8830 2015-10-21 Joseph Myers <joseph@codesourcery.com>
8831
8832 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8833 * Makefile ($(objpfx)c++-types-check.out): Filter out
8834 $(+gccwarn-c) instead of -Wstrict-prototypes.
8835
8836 * io/fts.c (fts_open): Convert to prototype-style function
8837 definition.
8838 * malloc/mcheck.c (mcheck): Likewise.
8839 (mcheck_pedantic): Likewise.
8840 * posix/regexec.c (re_search_2_stub): Likewise. Use
8841 internal_function.
8842 (re_search_internal): Likewise.
8843 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8844 prototype-style function definition.
8845 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8846 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8847 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8848 (xdr_utmpptr): Likewise.
8849 (xdr_utmparr): Likewise.
8850 (xdr_utmpidle): Likewise.
8851 (xdr_utmpidleptr): Likewise.
8852 (xdr_utmpidlearr): Likewise.
8853
8854 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8855 log, log10 and log2.
8856 * math/auto-libm-test-out: Regenerated.
8857 * math/libm-test.inc (fmod_test_data): Add more tests.
8858 (fpclassify_test_data): Likewise.
8859 (frexp_test_data): Likewise.
8860 (hypot_test_data): Likewise.
8861 (ilogb_test_data): Likewise.
8862
8863 2015-10-20 Joseph Myers <joseph@codesourcery.com>
8864
8865 * debug/fortify_fail.c (__fortify_fail): Convert to
8866 prototype-style function definition. Use internal_function.
8867 * libio/genops.c (save_for_backup): Convert to prototype-style
8868 function definition.
8869 * libio/wgenops.c (save_for_wbackup): Likewise.
8870 * login/grantpt.c (grantpt): Likewise.
8871 * login/ptsname.c (ptsname): Likewise.
8872 (__ptsname_r): Likewise.
8873 * login/unlockpt.c (unlockpt): Likewise.
8874 * mach/msgserver.c (__mach_msg_server): Likewise.
8875 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8876 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8877 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8878 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8879 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8880 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8881 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8882 Likewise.
8883 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
8884 internal_function.
8885 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8886 prototype-style function definition.
8887 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8888 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8889 (__pthread_create_2_0): Likewise.
8890 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8891 * nptl/register-atfork.c (__register_atfork): Likewise.
8892 * posix/glob.c (glob): Likewise.
8893 * posix/regcomp.c (re_comp): Likewise.
8894 * posix/regexec.c (re_exec): Likewise.
8895 * stdlib/add_n.c [__STDC__]: Make code unconditional.
8896 [!__STDC__]: Remove conditional code.
8897 * stdlib/cmp.c [__STDC__]: Make code unconditional.
8898 [!__STDC__]: Remove conditional code.
8899 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8900 [!__STDC__]: Remove conditional code.
8901 * stdlib/divrem.c [__STDC__]: Make code unconditional.
8902 [!__STDC__]: Remove conditional code.
8903 * stdlib/lshift.c [__STDC__]: Make code unconditional.
8904 [!__STDC__]: Remove conditional code.
8905 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8906 [!__STDC__]: Remove conditional code.
8907 * stdlib/mul.c [__STDC__]: Make code unconditional.
8908 [!__STDC__]: Remove conditional code.
8909 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8910 [!__STDC__]: Remove conditional code.
8911 * stdlib/rshift.c [__STDC__]: Make code unconditional.
8912 [!__STDC__]: Remove conditional code.
8913 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8914 function definition.
8915 (STRTOF): Likewise.
8916 * stdlib/strtod_l.c (__STRTOF): Likewise.
8917 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8918 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8919 (__strtol_l): Likewise.
8920 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8921 [!__STDC__]: Remove conditional code.
8922 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8923 definition.
8924 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8925 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8926 type.
8927 (__strcasecmp): Convert to prototype-style function definition.
8928 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8929 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8930 type.
8931 (__strncasecmp): Convert to prototype-style function definition.
8932 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8933 * sunrpc/xdr.c (xdr_union): Likewise.
8934 * sunrpc/xdr_array.c (xdr_array): Likewise.
8935 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8936 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8937 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8938 Likewise.
8939 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8940 Likewise.
8941 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8942 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8943 Likewise.
8944 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8945 (LOCALE_PARAM_PROTO): Likewise.
8946 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8947 argument type.
8948 (ut_argument_spec): Remove macro.
8949 (ut_argument_spec_iso): Rename to ut_argument_spec.
8950 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
8951 prototype-style function definition.
8952 (memcpy_uppcase): Likewise.
8953 (__strftime_internal): Likewise.
8954 (my_strftime): Likewise.
8955 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8956 (LOCALE_PARAM_DECL): Likewise.
8957 [_LIBC] (LOCALE_PARAM): Include argument type.
8958 (__strptime_internal): Convert to prototype-style function
8959 definition.
8960 (strptime): Likewise.
8961 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8962 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8963 type.
8964 (__wcscasecmp): Convert to prototype-style function definition.
8965 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8966 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8967 type.
8968 (__wcsncasecmp): Convert to prototype-style function definition.
8969
8970 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8971 function definition.
8972 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8973 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8974 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8975 * elf/dl-minimal.c (_itoa): Likewise.
8976 * hurd/hurdmalloc.c (malloc): Likewise.
8977 (free): Likewise.
8978 (realloc): Likewise.
8979 * inet/inet6_option.c (inet6_option_space): Likewise.
8980 (inet6_option_init): Likewise.
8981 (inet6_option_append): Likewise.
8982 (inet6_option_alloc): Likewise.
8983 (inet6_option_next): Likewise.
8984 (inet6_option_find): Likewise.
8985 * io/ftw.c (FTW_NAME): Likewise.
8986 (NFTW_NAME): Likewise.
8987 (NFTW_NEW_NAME): Likewise.
8988 (NFTW_OLD_NAME): Likewise.
8989 * libio/iofwide.c (_IO_fwide): Likewise.
8990 * libio/strops.c (_IO_str_init_static_internal): Likewise.
8991 (_IO_str_init_static): Likewise.
8992 (_IO_str_init_readonly): Likewise.
8993 (_IO_str_overflow): Likewise.
8994 (_IO_str_underflow): Likewise.
8995 (_IO_str_count): Likewise.
8996 (_IO_str_seekoff): Likewise.
8997 (_IO_str_pbackfail): Likewise.
8998 (_IO_str_finish): Likewise.
8999 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
9000 (_IO_wstr_overflow): Likewise.
9001 (_IO_wstr_underflow): Likewise.
9002 (_IO_wstr_count): Likewise.
9003 (_IO_wstr_seekoff): Likewise.
9004 (_IO_wstr_pbackfail): Likewise.
9005 (_IO_wstr_finish): Likewise.
9006 * locale/programs/localedef.c (normalize_codeset): Likewise.
9007 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9008 (add_locales_to_archive): Likewise.
9009 (delete_locales_from_archive): Likewise.
9010 * malloc/malloc.c (__libc_mallinfo): Likewise.
9011 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
9012 * misc/tsearch.c (__tfind): Likewise.
9013 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
9014 * nptl/pthread_attr_getdetachstate.c
9015 (__pthread_attr_getdetachstate): Likewise.
9016 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9017 Likewise.
9018 * nptl/pthread_attr_getinheritsched.c
9019 (__pthread_attr_getinheritsched): Likewise.
9020 * nptl/pthread_attr_getschedparam.c
9021 (__pthread_attr_getschedparam): Likewise.
9022 * nptl/pthread_attr_getschedpolicy.c
9023 (__pthread_attr_getschedpolicy): Likewise.
9024 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
9025 Likewise.
9026 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
9027 Likewise.
9028 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9029 Likewise.
9030 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9031 Likewise.
9032 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
9033 (__pthread_attr_init_2_0): Likewise.
9034 * nptl/pthread_attr_setdetachstate.c
9035 (__pthread_attr_setdetachstate): Likewise.
9036 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9037 Likewise.
9038 * nptl/pthread_attr_setinheritsched.c
9039 (__pthread_attr_setinheritsched): Likewise.
9040 * nptl/pthread_attr_setschedparam.c
9041 (__pthread_attr_setschedparam): Likewise.
9042 * nptl/pthread_attr_setschedpolicy.c
9043 (__pthread_attr_setschedpolicy): Likewise.
9044 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
9045 Likewise.
9046 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
9047 Likewise.
9048 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9049 Likewise.
9050 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9051 Likewise.
9052 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
9053 Likewise.
9054 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
9055 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
9056 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
9057 use internal_function.
9058 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
9059 prototype-style function definition.
9060 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9061 (__pthread_mutex_cond_lock_adjust): Likewise. Use
9062 internal_function.
9063 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
9064 Convert to prototype-style function definition.
9065 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9066 Likewise.
9067 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
9068 Likewise.
9069 (__pthread_mutex_unlock): Likewise.
9070 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
9071 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
9072 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
9073 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
9074 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
9075 * nss/makedb.c (process_input): Likewise.
9076 * posix/fnmatch.c (__strchrnul): Likewise.
9077 (__wcschrnul): Likewise.
9078 (fnmatch): Likewise.
9079 * posix/fnmatch_loop.c (FCT): Likewise.
9080 * posix/glob.c (globfree): Likewise.
9081 (__glob_pattern_type): Likewise.
9082 (__glob_pattern_p): Likewise.
9083 * posix/regcomp.c (re_compile_pattern): Likewise.
9084 (re_set_syntax): Likewise.
9085 (re_compile_fastmap): Likewise.
9086 (regcomp): Likewise.
9087 (regerror): Likewise.
9088 (regfree): Likewise.
9089 * posix/regexec.c (regexec): Likewise.
9090 (re_match): Likewise.
9091 (re_search): Likewise.
9092 (re_match_2): Likewise.
9093 (re_search_2): Likewise.
9094 (re_search_stub): Likewise. Use internal_function
9095 (re_copy_regs): Likewise.
9096 (re_set_registers): Convert to prototype-style function
9097 definition.
9098 (prune_impossible_nodes): Likewise. Use internal_function.
9099 * resolv/inet_net_pton.c (inet_net_pton): Convert to
9100 prototype-style function definition.
9101 (inet_net_pton_ipv4): Likewise.
9102 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9103 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
9104 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9105 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
9106 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9107 Make variadic.
9108 * time/strptime_l.c (localtime_r): Convert to prototype-style
9109 function definition.
9110 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9111 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9112 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9113 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9114
9115 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
9116 definition.
9117 (_ufc_doit_r): Likewise.
9118 * crypt/crypt_util.c (_ufc_copymem): Likewise.
9119 (_ufc_output_conversion_r): Likewise.
9120 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
9121 * inet/rcmd.c (rcmd_af): Likewise.
9122 (rcmd): Likewise.
9123 (ruserok_af): Likewise.
9124 (ruserok): Likewise.
9125 (ruserok2_sa): Likewise.
9126 (ruserok_sa): Likewise.
9127 (iruserok_af): Likewise.
9128 (iruserok): Likewise.
9129 (__ivaliduser): Likewise.
9130 (__validuser2_sa): Likewise.
9131 * inet/rexec.c (rexec_af): Likewise.
9132 (rexec): Likewise.
9133 * inet/ruserpass.c (ruserpass): Likewise.
9134 * locale/programs/xmalloc.c (xcalloc): Likewise.
9135 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
9136 * math/w_drem.c (__drem): Likewise.
9137 * math/w_dremf.c (__dremf): Likewise.
9138 * math/w_dreml.c (__dreml): Likewise.
9139 * misc/daemon.c (daemon): Likewise.
9140 * resolv/res_debug.c (p_fqnname): Likewise.
9141 * stdlib/div.c (div): Likewise.
9142 * string/memcmp.c (memcmp_bytes): Likewise.
9143 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
9144 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
9145
9146 * crypt/cert.c (main): Convert to prototype-style function
9147 definition.
9148 * io/pipe.c (__pipe): Likewise.
9149 * io/pipe2.c (__pipe2): Likewise.
9150 * misc/futimesat.c (futimesat): Likewise.
9151 * misc/utimes.c (__utimes): Likewise.
9152 * posix/execve.c (__execve): Likewise.
9153 * posix/execvp.c (execvp): Likewise.
9154 * posix/execvpe.c (__execvpe): Likewise.
9155 * posix/fexecve.c (fexecve): Likewise.
9156 * socket/socketpair.c (socketpair): Likewise.
9157 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9158 * stdlib/erand48.c (erand48): Likewise.
9159 * stdlib/erand48_r.c (__erand48_r): Likewise.
9160 * stdlib/jrand48.c (jrand48): Likewise.
9161 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
9162 * stdlib/lcong48.c (lcong48): Likewise.
9163 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
9164 * stdlib/nrand48.c (nrand48): Likewise.
9165 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
9166 * stdlib/seed48.c (seed48): Likewise.
9167 * stdlib/seed48_r.c (__seed48_r): Likewise.
9168 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
9169 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
9170 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
9171
9172 2015-10-19 Joseph Myers <joseph@codesourcery.com>
9173
9174 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
9175 * configure: Regenerated.
9176 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
9177 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
9178 unconditional.
9179 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9180 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9181 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9182 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
9183 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
9184 unconditional.
9185 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9186
9187 * posix/Makefile (CFLAGS-regex.c): Remove variable.
9188 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
9189
9190 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
9191 function definition.
9192 * crypt/crypt_util.c (__encrypt_r): Likewise.
9193 * libio/genops.c (_IO_no_init): Likewise.
9194 * libio/iofopncook.c (_IO_fopencookie): Likewise.
9195 (_IO_old_fopencookie): Likewise.
9196 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9197 * libio/iogetline.c (_IO_getline): Likewise.
9198 (_IO_getline_info): Likewise.
9199 * libio/iogetwline.c (_IO_getwline): Likewise.
9200 (_IO_getwline_info): Likewise.
9201 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
9202 * libio/vswprintf.c (_IO_vswprintf): Likewise.
9203 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
9204 (find_entry): Likewise.
9205 (iterate_table): Likewise.
9206 (lookup): Likewise.
9207 * login/forkpty.c (forkpty): Likewise.
9208 * misc/hsearch_r.c (__hsearch_r): Likewise.
9209 * misc/select.c (__select): Likewise.
9210 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9211 Likewise.
9212 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9213 Likewise.
9214 * nptl/old_pthread_cond_timedwait.c
9215 (__pthread_cond_timedwait_2_0): Likewise.
9216 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9217 * nptl/pthread_barrierattr_getpshared.c
9218 (pthread_barrierattr_getpshared): Likewise.
9219 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9220 Likewise.
9221 * nptl/pthread_mutex_setprioceiling.c
9222 (pthread_mutex_setprioceiling): Likewise.
9223 * nptl/pthread_mutexattr_getprioceiling.c
9224 (pthread_mutexattr_getprioceiling): Likewise.
9225 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9226 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9227 Likewise.
9228 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9229 Likewise.
9230 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9231 Likewise.
9232 * socket/recvfrom.c (__recvfrom): Likewise.
9233 * socket/sendto.c (__sendto): Likewise.
9234 * socket/setsockopt.c (__setsockopt): Likewise.
9235 * stdio-common/_itoa.c (_itoa): Likewise.
9236 * stdio-common/_itowa.c (_itowa): Likewise.
9237 * stdio-common/reg-printf.c (__register_printf_specifier):
9238 Likewise.
9239 (__register_printf_function): Likewise.
9240 * stdio-common/tempname.c (__path_search): Likewise.
9241 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9242 * stdlib/mul_1.c (mpn_mul_1): Likewise.
9243 * stdlib/random_r.c (__initstate_r): Likewise.
9244 * stdlib/setenv.c (__add_to_environ): Likewise.
9245 * stdlib/submul_1.c (mpn_submul_1): Likewise.
9246 * streams/getpmsg.c (getpmsg): Likewise.
9247 * streams/putmsg.c (putmsg): Likewise.
9248 * streams/putpmsg.c (putpmsg): Likewise.
9249 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9250 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9251 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9252 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9253 * sunrpc/pm_getport.c (pmap_getport): Likewise.
9254 * sunrpc/svc_udp.c (cache_get): Likewise.
9255 * sunrpc/xdr_array.c (xdr_vector): Likewise.
9256 * sysdeps/mach/hurd/getcwd.c
9257 (__canonicalize_directory_name_internal): Likewise.
9258 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9259 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9260 * sysdeps/mach/hurd/select.c (__select): Likewise.
9261 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9262 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9263 * sysdeps/sparc/nptl/pthread_barrier_init.c
9264 (__pthread_barrier_init): Likewise.
9265 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9266 (__pthread_cond_timedwait): Likewise.
9267 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9268 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9269 Likewise.
9270 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9271 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9272 Likewise.
9273 * sysvipc/semtimedop.c (semtimedop): Likewise.
9274 * time/setitimer.c (__setitimer): Likewise.
9275 * time/strftime_l.c (emacs_strftime): Likewise.
9276
9277 2015-10-19 Mike Frysinger <vapier@gentoo.org>
9278
9279 * config.make.in (have-ssp): Delete.
9280 (stack-protector): New variable.
9281 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
9282 cache test for -fstack-protector-strong. Export stack_protector to
9283 the best ssp flag.
9284 * configure: Regenerated.
9285 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9286 * nscd/Makefile (CFLAGS-nscd): Likewise.
9287 * resolv/Makefile (CFLAGS-libresolv): Likewise.
9288
9289 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
9290
9291 [BZ #19122]
9292 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9293 attribute_hidden.
9294
9295 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9296
9297 [BZ #18743]
9298 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9299 code to...
9300 (ELIDE_LOCK): ...here.
9301 (__get_new_count): New function with part of the code from
9302 __elide_lock that updates the value of adapt_count after a
9303 transaction abort.
9304 (__elided_trylock): Moved this code to...
9305 (ELIDE_TRYLOCK): ...here.
9306
9307 2015-10-19 Mike Frysinger <vapier@gentoo.org>
9308
9309 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9310 * configure: Regenerate.
9311 * INSTALL: Regenerate.
9312 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9313 and tweak grammar.
9314
9315 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
9316
9317 * login/programs/pt_chown.c: Include signal.h
9318 (main): Clear any signal mask from the parent process.
9319
9320 2015-10-19 Joseph Myers <joseph@codesourcery.com>
9321
9322 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9323 * configure: Regenerated.
9324 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9325 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9326 $(gnu89-inline-CFLAGS).
9327
9328 * configure.ac (libc_cv_asm_weak_directive): Remove configure
9329 test.
9330 (libc_cv_asm_weakext_directive): Likewise.
9331 * configure: Regenerated.
9332 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9333 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9334 * include/libc-symbols.h
9335 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9336 #error.
9337 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9338 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9339
9340 * sysdeps/arm/backtrace.c (__backtrace): Convert to
9341 prototype-style function definition.
9342 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9343 * sysdeps/i386/ffs.c (__ffs): Likewise.
9344 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9345 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9346 Likewise.
9347 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9348 Likewise.
9349 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9350 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9351 Likewise.
9352 * sysdeps/m68k/ffs.c (__ffs): Likewise.
9353 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9354 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9355 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9356 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
9357 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
9358 * sysdeps/mach/hurd/access.c (__access): Likewise.
9359 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
9360 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
9361 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9362 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
9363 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
9364 (cthread_getspecific): Likewise.
9365 (cthread_setspecific): Likewise.
9366 (__libc_getspecific): Likewise.
9367 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
9368 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
9369 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
9370 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
9371 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
9372 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
9373 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
9374 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
9375 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
9376 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
9377 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
9378 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9379 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
9380 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
9381 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
9382 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
9383 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
9384 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
9385 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
9386 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
9387 * sysdeps/mach/hurd/link.c (__link): Likewise.
9388 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
9389 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
9390 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9391 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
9392 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9393 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
9394 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
9395 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
9396 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9397 * sysdeps/mach/hurd/rename.c (rename): Likewise.
9398 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
9399 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
9400 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
9401 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
9402 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
9403 * sysdeps/mach/hurd/send.c (__send): Likewise.
9404 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
9405 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
9406 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
9407 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
9408 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
9409 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
9410 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
9411 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
9412 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
9413 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
9414 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
9415 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
9416 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
9417 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
9418 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
9419 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9420 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
9421 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9422 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
9423 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9424 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
9425 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
9426 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
9427 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
9428 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
9429 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
9430 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
9431 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9432 * sysdeps/posix/alarm.c (alarm): Likewise.
9433 * sysdeps/posix/cuserid.c (cuserid): Likewise.
9434 * sysdeps/posix/dirfd.c (dirfd): Likewise.
9435 * sysdeps/posix/dup.c (__dup): Likewise.
9436 * sysdeps/posix/dup2.c (__dup2): Likewise.
9437 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
9438 (main): Likewise.
9439 * sysdeps/posix/flock.c (__flock): Likewise.
9440 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
9441 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9442 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
9443 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
9444 * sysdeps/posix/isatty.c (__isatty): Likewise.
9445 * sysdeps/posix/killpg.c (killpg): Likewise.
9446 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9447 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
9448 * sysdeps/posix/raise.c (raise): Likewise.
9449 * sysdeps/posix/remove.c (remove): Likewise.
9450 * sysdeps/posix/rename.c (rename): Likewise.
9451 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
9452 * sysdeps/posix/seekdir.c (seekdir): Likewise.
9453 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9454 * sysdeps/posix/sigignore.c (sigignore): Likewise.
9455 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9456 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9457 * sysdeps/posix/sigset.c (sigset): Likewise.
9458 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9459 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9460 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9461 * sysdeps/posix/time.c (time): Likewise.
9462 * sysdeps/posix/ttyname.c (getttyname): Likewise.
9463 (ttyname): Likewise.
9464 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9465 * sysdeps/posix/utime.c (utime): Likewise.
9466 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9467 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9468 Likewise.
9469 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9470 (pthread_spin_trylock): Likewise.
9471 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9472 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9473 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9474 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9475 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9476 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9477 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9478 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9479 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9480 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9481 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9482 * sysdeps/s390/ffs.c (__ffs): Likewise.
9483 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9484 Likewise.
9485 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9486 Likewise.
9487 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9488 Likewise.
9489 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9490 (pthread_barrier_destroy): Likewise.
9491 * sysdeps/sparc/nptl/pthread_barrier_wait.c
9492 (__pthread_barrier_wait): Likewise.
9493 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9494 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9495 (__pthread_barrier_wait): Likewise.
9496 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9497 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9498 (memcmp_not_common_alignment): Likewise.
9499 (MEMCMP): Likewise.
9500 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9501 (_wordcopy_fwd_dest_aligned): Likewise.
9502 (_wordcopy_bwd_aligned): Likewise.
9503 (_wordcopy_bwd_dest_aligned): Likewise.
9504 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9505 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9506 * sysdeps/unix/bsd/stty.c (stty): Likewise.
9507 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9508 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9509 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9510 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9511 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9512 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9513 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9514 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9515 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9516 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9517 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9518 * sysdeps/unix/stime.c (stime): Likewise.
9519 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9520 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9521 Likewise. Use internal_function.
9522 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9523 Convert to prototype-style function definition.
9524 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9525 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9526 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9527 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9528 Likewise. Use internal_function.
9529 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9530 prototype-style function definition
9531 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9532 Likewise.
9533 (__getlogin_r): Likewise.
9534 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9535 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9536 (__pthread_cond_broadcast): Likewise.
9537 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9538 (__pthread_cond_destroy): Likewise.
9539 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9540 (__pthread_cond_init): Likewise.
9541 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9542 (__pthread_cond_signal): Likewise.
9543 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9544 (__pthread_cond_wait): Likewise.
9545 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9546 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9547 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9548 Likewise.
9549 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9550 Likewise.
9551 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9552 Likewise.
9553 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9554 Likewise.
9555 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9557 (__ftruncate64): Likewise.
9558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9559 (truncate64): Likewise.
9560 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9561 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9562 (pthread_getcpuclockid): Likewise.
9563 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9564 Likewise.
9565 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9566 Likewise.
9567 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9568 Likewise.
9569 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9570 Likewise.
9571 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9572 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9573 (__libc_sigaction): Likewise.
9574 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9575 Likewise.
9576 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9577 (__sigprocmask): Likewise.
9578 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9579 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9580 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9581 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9582 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9583 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9584 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9585 Likewise.
9586 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9587 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9588 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9589 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9590 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9591 Likewise.
9592 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9593 (__sigprocmask): Likewise.
9594 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9595 (cfgetispeed): Likewise.
9596 (cfsetospeed): Likewise.
9597 (cfsetispeed): Likewise.
9598 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9599 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9600 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9601 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9602 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9603 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9604 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9605 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9606 Likewise.
9607 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9608 Likewise.
9609 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9610 Likewise.
9611 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9612 Likewise.
9613 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9614
9615 2015-10-17 Florian Weimer <fweimer@redhat.com>
9616
9617 sunrpc: Rewrite with explicit TLS access using __thread.
9618 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9619 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9620 directly.
9621 (__rpc_thread_variables): Access thread_rpc_vars directly.
9622 Eliminate redundant assignment of the tvp variable.
9623
9624 2015-10-17 Florian Weimer <fweimer@redhat.com>
9625
9626 malloc: Rewrite with explicit TLS access using __thread.
9627 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9628 (tsd_setspecific, tsd_getspecific): Remove.
9629 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9630 (tsd_setspecific, tsd_getspecific): Likewise.
9631 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9632 (tsd_setspecific, tsd_getspecific): Likewise.
9633 * malloc/arena.c (thread_arena): New TLS variable.
9634 (arena_key): Remove variable.
9635 (arena_get): Use thread_arena.
9636 (arena_lookup): Remove macro.
9637 (malloc_atfork, free_atfork, ptmalloc_lock_all)
9638 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9639 (_int_new_arena, get_free_list, reused_arena)
9640 (arena_thread_freeres): Use thread_arena.
9641 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9642 tsd_getspecific, tsd_setspecific from safety annotations.
9643 (Allocating Cleared Space): Remove arena_lookup from safety
9644 annotations.
9645
9646 2015-10-17 Florian Weimer <fweimer@redhat.com>
9647
9648 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9649 struct scratch_buffer instead of extend_alloca.
9650
9651 2015-10-17 Florian Weimer <fweimer@redhat.com>
9652
9653 * sysdeps/unix/sysv/linux/kernel-features.h
9654 (__ASSUME_SOCK_CLOEXEC): Remove.
9655 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9656 (__have_paccept): Remove unused macro.
9657 * include/unistd.h (__have_sock_cloexec): Remove declaration.
9658 * misc/syslog.c (openlog_internal): Remove fallback code for
9659 !__ASSUME_SOCK_CLOEXEC.
9660 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9661 missing SOCK_CLOEXEC.
9662 * nscd/connections.c (have_sock_cloexec): Remove definition.
9663 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9664 * nscd/nscd_helper.c (open_socket): Remove fallback code for
9665 !__ASSUME_SOCK_CLOEXEC.
9666 * resolv/res_send.c (__have_o_nonblock): Remove definition.
9667 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9668 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9669 definition.
9670 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9671 code for !__ASSUME_SOCK_CLOEXEC.
9672
9673 2015-10-17 Florian Weimer <fweimer@redhat.com>
9674
9675 [BZ #18982]
9676 * manual/stdio.texi (Variable Arguments Output): Add portability
9677 note, explaining that vfprintf clobbers the va_list pointer.
9678
9679 2015-10-16 Joseph Myers <joseph@codesourcery.com>
9680
9681 * math/libm-test.inc (fabs_test_data): Add more tests.
9682 (fdim_test_data): Likewise.
9683 (fma_test_data): Likewise.
9684 (fmax_test_data): Likewise.
9685 (fmin_test_data): Likewise.
9686 (fmod_test_data): Likewise.
9687
9688 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
9689
9690 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
9691 data.
9692
9693 2015-10-16 Joseph Myers <joseph@codesourcery.com>
9694
9695 * math/libm-test.inc (ceil_test_data): Add more tests and more
9696 expectations for "inexact".
9697 (floor_test_data): Add more tests.
9698 (round_test_data): Likewise.
9699 (trunc_test_data): Likewise.
9700
9701 * crypt/cert.c (good_bye): Convert to prototype-style function
9702 definition.
9703 (get8): Likewise.
9704 (put8): Likewise.
9705 * crypt/crypt-entry.c (crypt): Likewise.
9706 (__fcrypt): Likewise.
9707 * crypt/crypt_util.c (_ufc_prbits): Likewise.
9708 (_ufc_set_bits): Likewise.
9709 (_ufc_clearmem): Likewise.
9710 (__init_des_r): Likewise.
9711 (shuffle_sb): Likewise.
9712 (shuffle_sb): Likewise.
9713 (_ufc_setup_salt_r): Likewise.
9714 (_ufc_mk_keytab_r): Likewise.
9715 (_ufc_dofinalperm_r): Likewise.
9716 (encrypt): Likewise.
9717 (__setkey_r): Likewise.
9718 (setkey): Likewise.
9719 * crypt/md5.c (md5_init_ctx): Likewise.
9720 (md5_read_ctx): Likewise.
9721 (md5_finish_ctx): Likewise.
9722 (md5_stream): Likewise.
9723 (md5_buffer): Likewise.
9724 (md5_process_bytes): Likewise.
9725 * crypt/sha256.c (__sha256_init_ctx): Likewise.
9726 (__sha256_finish_ctx): Likewise.
9727 (__sha256_process_bytes): Likewise.
9728 * crypt/sha512.c (__sha512_init_ctx): Likewise.
9729 (__sha512_finish_ctx): Likewise.
9730 (__sha512_process_bytes): Likewise.
9731 * ctype/isctype.c (__isctype): Likewise.
9732 * debug/backtrace.c (__backtrace): Likewise.
9733 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9734 * debug/fgets_chk.c (__fgets_chk): Likewise.
9735 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9736 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9737 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9738 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9739 * debug/memset_chk.c (__memset_chk): Likewise.
9740 * debug/strcat_chk.c (__strcat_chk): Likewise.
9741 * debug/strncat_chk.c (__strncat_chk): Likewise.
9742 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9743 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9744 * dirent/dirfd.c (dirfd): Likewise.
9745 * dirent/getdents.c (__getdirentries): Likewise.
9746 * dirent/getdents64.c (getdirentries64): Likewise.
9747 * dirent/rewinddir.c (__rewinddir): Likewise.
9748 * dirent/seekdir.c (seekdir): Likewise.
9749 * dirent/telldir.c (telldir): Likewise.
9750 * elf/sln.c (makesymlinks): Likewise.
9751 (makesymlink): Likewise.
9752 * gmon/gmon.c (__moncontrol): Likewise.
9753 (__monstartup): Likewise.
9754 (write_hist): Likewise.
9755 (write_call_graph): Likewise.
9756 (write_bb_counts): Likewise.
9757 * grp/setgroups.c (setgroups): Likewise.
9758 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9759 * inet/inet_net.c (inet_network): Likewise.
9760 * inet/inet_netof.c (inet_netof): Likewise.
9761 * inet/rcmd.c (rresvport_af): Likewise.
9762 (rresvport): Likewise.
9763 * io/access.c (__access): Likewise.
9764 * io/chdir.c (__chdir): Likewise.
9765 * io/chmod.c (__chmod): Likewise.
9766 * io/chown.c (__chown): Likewise.
9767 * io/close.c (__close): Likewise.
9768 * io/creat.c (creat): Likewise.
9769 * io/creat64.c (creat64): Likewise.
9770 * io/dup.c (__dup): Likewise.
9771 * io/dup2.c (__dup2): Likewise.
9772 * io/dup3.c (__dup3): Likewise.
9773 * io/euidaccess.c (__euidaccess): Likewise.
9774 * io/faccessat.c (faccessat): Likewise.
9775 * io/fchmod.c (__fchmod): Likewise.
9776 * io/fchmodat.c (fchmodat): Likewise.
9777 * io/fchown.c (__fchown): Likewise.
9778 * io/fchownat.c (fchownat): Likewise.
9779 * io/fcntl.c (__fcntl): Likewise.
9780 * io/flock.c (__flock): Likewise.
9781 * io/fts.c (fts_load): Likewise.
9782 (fts_close): Likewise.
9783 (fts_read): Likewise.
9784 (fts_set): Likewise.
9785 (fts_children): Likewise.
9786 (fts_build): Likewise.
9787 (fts_stat): Likewise.
9788 (fts_sort): Likewise.
9789 (fts_alloc): Likewise.
9790 (fts_lfree): Likewise.
9791 (fts_palloc): Likewise.
9792 (fts_padjust): Likewise.
9793 (fts_maxarglen): Likewise.
9794 (fts_safe_changedir): Likewise.
9795 * io/getwd.c (getwd): Likewise.
9796 * io/isatty.c (__isatty): Likewise.
9797 * io/lchown.c (__lchown): Likewise.
9798 * io/link.c (__link): Likewise.
9799 * io/linkat.c (linkat): Likewise.
9800 * io/lseek.c (__libc_lseek): Likewise.
9801 * io/mkdir.c (__mkdir): Likewise.
9802 * io/mkdirat.c (mkdirat): Likewise.
9803 * io/mkfifo.c (mkfifo): Likewise.
9804 * io/mkfifoat.c (mkfifoat): Likewise.
9805 * io/open.c (__libc_open): Likewise.
9806 * io/open64.c (__libc_open64): Likewise.
9807 * io/readlink.c (__readlink): Likewise.
9808 * io/readlinkat.c (readlinkat): Likewise.
9809 * io/rmdir.c (__rmdir): Likewise.
9810 * io/symlink.c (__symlink): Likewise.
9811 * io/symlinkat.c (symlinkat): Likewise.
9812 * io/ttyname.c (ttyname): Likewise.
9813 * io/ttyname_r.c (__ttyname_r): Likewise.
9814 * io/umask.c (__umask): Likewise.
9815 * io/unlink.c (__unlink): Likewise.
9816 * io/unlinkat.c (unlinkat): Likewise.
9817 * io/utime.c (utime): Likewise.
9818 * libio/clearerr.c (clearerr): Likewise.
9819 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9820 * libio/feof.c (_IO_feof): Likewise.
9821 * libio/feof_u.c (feof_unlocked): Likewise.
9822 * libio/ferror.c (_IO_ferror): Likewise.
9823 * libio/ferror_u.c (ferror_unlocked): Likewise.
9824 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9825 * libio/fileno.c (__fileno): Likewise.
9826 * libio/fputc.c (fputc): Likewise.
9827 * libio/fputc_u.c (fputc_unlocked): Likewise.
9828 * libio/fputwc.c (fputwc): Likewise.
9829 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9830 * libio/freopen.c (freopen): Likewise.
9831 * libio/freopen64.c (freopen64): Likewise.
9832 * libio/fseek.c (fseek): Likewise.
9833 * libio/fseeko.c (fseeko): Likewise.
9834 * libio/fseeko64.c (fseeko64): Likewise.
9835 * libio/ftello.c (__ftello): Likewise.
9836 * libio/ftello64.c (ftello64): Likewise.
9837 * libio/fwide.c (fwide): Likewise.
9838 * libio/genops.c (_IO_un_link): Likewise.
9839 (_IO_link_in): Likewise.
9840 (_IO_least_marker): Likewise.
9841 (_IO_switch_to_main_get_area): Likewise.
9842 (_IO_switch_to_backup_area): Likewise.
9843 (_IO_switch_to_get_mode): Likewise.
9844 (_IO_free_backup_area): Likewise.
9845 (_IO_switch_to_put_mode): Likewise.
9846 (__overflow): Likewise.
9847 (__underflow): Likewise.
9848 (__uflow): Likewise.
9849 (_IO_setb): Likewise.
9850 (_IO_doallocbuf): Likewise.
9851 (_IO_default_underflow): Likewise.
9852 (_IO_default_uflow): Likewise.
9853 (_IO_default_xsputn): Likewise.
9854 (_IO_sgetn): Likewise.
9855 (_IO_default_xsgetn): Likewise.
9856 (_IO_sync): Likewise.
9857 (_IO_default_setbuf): Likewise.
9858 (_IO_default_seekpos): Likewise.
9859 (_IO_default_doallocate): Likewise.
9860 (_IO_init): Likewise.
9861 (_IO_old_init): Likewise.
9862 (_IO_default_sync): Likewise.
9863 (_IO_default_finish): Likewise.
9864 (_IO_default_seekoff): Likewise.
9865 (_IO_sputbackc): Likewise.
9866 (_IO_sungetc): Likewise.
9867 (_IO_set_column): Likewise.
9868 (_IO_set_column): Likewise.
9869 (_IO_adjust_column): Likewise.
9870 (_IO_get_column): Likewise.
9871 (_IO_init_marker): Likewise.
9872 (_IO_remove_marker): Likewise.
9873 (_IO_marker_difference): Likewise.
9874 (_IO_marker_delta): Likewise.
9875 (_IO_seekmark): Likewise.
9876 (_IO_unsave_markers): Likewise.
9877 (_IO_nobackup_pbackfail): Likewise.
9878 (_IO_default_pbackfail): Likewise.
9879 (_IO_default_seek): Likewise.
9880 (_IO_default_stat): Likewise.
9881 (_IO_default_read): Likewise.
9882 (_IO_default_write): Likewise.
9883 (_IO_default_showmanyc): Likewise.
9884 (_IO_default_imbue): Likewise.
9885 (_IO_iter_next): Likewise.
9886 (_IO_iter_file): Likewise.
9887 * libio/getc.c (_IO_getc): Likewise.
9888 * libio/getwc.c (_IO_getwc): Likewise.
9889 * libio/iofclose.c (_IO_new_fclose): Likewise.
9890 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9891 * libio/iofflush.c (_IO_fflush): Likewise.
9892 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9893 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9894 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9895 * libio/iofgets.c (_IO_fgets): Likewise.
9896 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9897 * libio/iofgetws.c (fgetws): Likewise.
9898 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9899 * libio/iofopen64.c (_IO_fopen64): Likewise.
9900 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9901 (_IO_cookie_write): Likewise.
9902 (_IO_cookie_seek): Likewise.
9903 (_IO_cookie_close): Likewise.
9904 (_IO_cookie_seekoff): Likewise.
9905 (_IO_old_cookie_seek): Likewise.
9906 * libio/iofputs.c (_IO_fputs): Likewise.
9907 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9908 * libio/iofputws.c (fputws): Likewise.
9909 * libio/iofputws_u.c (fputws_unlocked): Likewise.
9910 * libio/iofread.c (_IO_fread): Likewise.
9911 * libio/iofread_u.c (__fread_unlocked): Likewise.
9912 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9913 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9914 * libio/ioftell.c (_IO_ftell): Likewise.
9915 * libio/iofwrite.c (_IO_fwrite): Likewise.
9916 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9917 * libio/iogets.c (_IO_gets): Likewise.
9918 * libio/iopadn.c (_IO_padn): Likewise.
9919 * libio/iopopen.c (_IO_new_proc_open): Likewise.
9920 (_IO_new_popen): Likewise.
9921 (_IO_new_proc_close): Likewise.
9922 * libio/ioputs.c (_IO_puts): Likewise.
9923 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9924 (_IO_seekoff): Likewise.
9925 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9926 (_IO_seekpos): Likewise.
9927 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9928 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9929 * libio/ioungetc.c (_IO_ungetc): Likewise.
9930 * libio/ioungetwc.c (ungetwc): Likewise.
9931 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9932 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9933 * libio/iowpadn.c (_IO_wpadn): Likewise.
9934 * libio/libc_fatal.c (__libc_fatal): Likewise.
9935 * libio/memstream.c (__open_memstream): Likewise.
9936 (_IO_mem_sync): Likewise.
9937 (_IO_mem_finish): Likewise.
9938 * libio/oldfileops.c (_IO_old_file_init): Likewise.
9939 (_IO_old_file_close_it): Likewise.
9940 (_IO_old_file_finish): Likewise.
9941 (_IO_old_file_fopen): Likewise.
9942 (_IO_old_file_attach): Likewise.
9943 (_IO_old_file_setbuf): Likewise.
9944 (_IO_old_do_write): Likewise.
9945 (old_do_write): Likewise.
9946 (_IO_old_file_underflow): Likewise.
9947 (_IO_old_file_overflow): Likewise.
9948 (_IO_old_file_sync): Likewise.
9949 (_IO_old_file_seekoff): Likewise.
9950 (_IO_old_file_write): Likewise.
9951 (_IO_old_file_xsputn): Likewise.
9952 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9953 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9954 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9955 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9956 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9957 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9958 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9959 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9960 (_IO_old_popen): Likewise.
9961 (_IO_old_proc_close): Likewise.
9962 * libio/oldpclose.c (__old_pclose): Likewise.
9963 * libio/pclose.c (__new_pclose): Likewise.
9964 * libio/peekc.c (_IO_peekc_locked): Likewise.
9965 * libio/putc.c (_IO_putc): Likewise.
9966 * libio/putc_u.c (putc_unlocked): Likewise.
9967 * libio/putchar.c (putchar): Likewise.
9968 * libio/putchar_u.c (putchar_unlocked): Likewise.
9969 * libio/putwc.c (putwc): Likewise.
9970 * libio/putwc_u.c (putwc_unlocked): Likewise.
9971 * libio/putwchar.c (putwchar): Likewise.
9972 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9973 * libio/rewind.c (rewind): Likewise.
9974 * libio/setbuf.c (setbuf): Likewise.
9975 * libio/setlinebuf.c (setlinebuf): Likewise.
9976 * libio/vasprintf.c (_IO_vasprintf): Likewise.
9977 * libio/vscanf.c (_IO_vscanf): Likewise.
9978 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9979 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9980 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9981 * libio/wgenops.c (_IO_least_wmarker): Likewise.
9982 (_IO_switch_to_main_wget_area): Likewise.
9983 (_IO_switch_to_wbackup_area): Likewise.
9984 (_IO_wsetb): Likewise.
9985 (_IO_wdefault_pbackfail): Likewise.
9986 (_IO_wdefault_finish): Likewise.
9987 (_IO_wdefault_uflow): Likewise.
9988 (__woverflow): Likewise.
9989 (__wuflow): Likewise.
9990 (__wunderflow): Likewise.
9991 (_IO_wdefault_xsputn): Likewise.
9992 (_IO_wdefault_xsgetn): Likewise.
9993 (_IO_wdoallocbuf): Likewise.
9994 (_IO_wdefault_doallocate): Likewise.
9995 (_IO_switch_to_wget_mode): Likewise.
9996 (_IO_free_wbackup_area): Likewise.
9997 (_IO_switch_to_wput_mode): Likewise.
9998 (_IO_sputbackwc): Likewise.
9999 (_IO_sungetwc): Likewise.
10000 (_IO_adjust_wcolumn): Likewise.
10001 (_IO_init_wmarker): Likewise.
10002 (_IO_wmarker_delta): Likewise.
10003 (_IO_seekwmark): Likewise.
10004 (_IO_unsave_wmarkers): Likewise.
10005 * libio/wmemstream.c (open_wmemstream): Likewise.
10006 (_IO_wmem_sync): Likewise.
10007 (_IO_wmem_finish): Likewise.
10008 * locale/nl_langinfo.c (nl_langinfo): Likewise.
10009 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
10010 * locale/programs/simple-hash.c (init_hash): Likewise.
10011 (delete_hash): Likewise.
10012 (insert_entry): Likewise.
10013 (set_entry): Likewise.
10014 (next_prime): Likewise.
10015 (is_prime): Likewise.
10016 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
10017 (xmalloc): Likewise.
10018 (xrealloc): Likewise.
10019 * locale/programs/xstrdup.c (xstrdup): Likewise.
10020 * localedata/collate-test.c (xstrcoll): Likewise.
10021 * localedata/xfrm-test.c (xstrcmp): Likewise.
10022 * login/getlogin_r.c (__getlogin_r): Likewise.
10023 * login/getpt.c (__posix_openpt): Likewise.
10024 * login/login_tty.c (login_tty): Likewise.
10025 * login/setlogin.c (setlogin): Likewise.
10026 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
10027 (mach_msg_destroy_port): Likewise.
10028 (mach_msg_destroy_memory): Likewise.
10029 * malloc/mcheck.c (flood): Likewise.
10030 * misc/acct.c (acct): Likewise.
10031 * misc/brk.c (__brk): Likewise.
10032 * misc/chflags.c (chflags): Likewise.
10033 * misc/chroot.c (chroot): Likewise.
10034 * misc/fchflags.c (fchflags): Likewise.
10035 * misc/fstab.c (getfsspec): Likewise.
10036 (getfsfile): Likewise.
10037 * misc/fsync.c (fsync): Likewise.
10038 * misc/ftruncate.c (__ftruncate): Likewise.
10039 * misc/ftruncate64.c (__ftruncate64): Likewise.
10040 * misc/getdomain.c (getdomainname): Likewise.
10041 (getdomainname): Likewise.
10042 * misc/gethostname.c (__gethostname): Likewise.
10043 * misc/getpass.c (getpass): Likewise.
10044 * misc/getttyent.c (skip): Likewise.
10045 (value): Likewise.
10046 * misc/gtty.c (gtty): Likewise.
10047 * misc/hsearch.c (hsearch): Likewise.
10048 (hcreate): Likewise.
10049 * misc/hsearch_r.c (__hcreate_r): Likewise.
10050 (__hdestroy_r): Likewise.
10051 * misc/ioctl.c (__ioctl): Likewise.
10052 * misc/mkdtemp.c (mkdtemp): Likewise.
10053 * misc/mkostemp.c (mkostemp): Likewise.
10054 * misc/mkostemp64.c (mkostemp64): Likewise.
10055 * misc/mkostemps.c (mkostemps): Likewise.
10056 * misc/mkostemps64.c (mkostemps64): Likewise.
10057 * misc/mkstemp.c (mkstemp): Likewise.
10058 * misc/mkstemp64.c (mkstemp64): Likewise.
10059 * misc/mkstemps.c (mkstemps): Likewise.
10060 * misc/mkstemps64.c (mkstemps64): Likewise.
10061 * misc/mktemp.c (__mktemp): Likewise.
10062 * misc/preadv.c (preadv): Likewise.
10063 * misc/preadv64.c (preadv64): Likewise.
10064 * misc/pwritev.c (pwritev): Likewise.
10065 * misc/pwritev64.c (pwritev64): Likewise.
10066 * misc/readv.c (__readv): Likewise.
10067 * misc/revoke.c (revoke): Likewise.
10068 * misc/setdomain.c (setdomainname): Likewise.
10069 * misc/setegid.c (setegid): Likewise.
10070 * misc/seteuid.c (seteuid): Likewise.
10071 * misc/sethostid.c (sethostid): Likewise.
10072 * misc/sethostname.c (sethostname): Likewise.
10073 * misc/setregid.c (__setregid): Likewise.
10074 * misc/setreuid.c (__setreuid): Likewise.
10075 * misc/sstk.c (sstk): Likewise.
10076 * misc/stty.c (stty): Likewise.
10077 * misc/syscall.c (syscall): Likewise.
10078 * misc/syslog.c (setlogmask): Likewise.
10079 * misc/truncate.c (__truncate): Likewise.
10080 * misc/truncate64.c (truncate64): Likewise.
10081 * misc/ualarm.c (ualarm): Likewise.
10082 * misc/usleep.c (usleep): Likewise.
10083 * misc/ustat.c (ustat): Likewise.
10084 * misc/writev.c (__writev): Likewise.
10085 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10086 * nptl/old_pthread_cond_broadcast.c
10087 (__pthread_cond_broadcast_2_0): Likewise.
10088 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10089 Likewise.
10090 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10091 Likewise.
10092 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
10093 Likewise.
10094 * nptl/pt-raise.c (raise): Likewise.
10095 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
10096 Likewise.
10097 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
10098 * nptl/pthread_barrierattr_destroy.c
10099 (pthread_barrierattr_destroy): Likewise.
10100 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10101 Likewise.
10102 * nptl/pthread_barrierattr_setpshared.c
10103 (pthread_barrierattr_setpshared): Likewise.
10104 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10105 Likewise.
10106 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10107 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10108 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10109 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
10110 Likewise.
10111 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
10112 Likewise.
10113 * nptl/pthread_condattr_getpshared.c
10114 (pthread_condattr_getpshared): Likewise.
10115 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
10116 Likewise.
10117 * nptl/pthread_condattr_setpshared.c
10118 (pthread_condattr_setpshared): Likewise.
10119 * nptl/pthread_detach.c (pthread_detach): Likewise.
10120 * nptl/pthread_equal.c (__pthread_equal): Likewise.
10121 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
10122 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
10123 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
10124 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
10125 Likewise.
10126 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10127 Likewise.
10128 * nptl/pthread_mutex_getprioceiling.c
10129 (pthread_mutex_getprioceiling): Likewise.
10130 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
10131 Likewise.
10132 * nptl/pthread_mutexattr_getprotocol.c
10133 (pthread_mutexattr_getprotocol): Likewise.
10134 * nptl/pthread_mutexattr_getpshared.c
10135 (pthread_mutexattr_getpshared): Likewise.
10136 * nptl/pthread_mutexattr_getrobust.c
10137 (pthread_mutexattr_getrobust): Likewise.
10138 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10139 Likewise.
10140 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
10141 Likewise.
10142 * nptl/pthread_mutexattr_setprioceiling.c
10143 (pthread_mutexattr_setprioceiling): Likewise.
10144 * nptl/pthread_mutexattr_setprotocol.c
10145 (pthread_mutexattr_setprotocol): Likewise.
10146 * nptl/pthread_mutexattr_setpshared.c
10147 (pthread_mutexattr_setpshared): Likewise.
10148 * nptl/pthread_mutexattr_setrobust.c
10149 (pthread_mutexattr_setrobust): Likewise.
10150 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
10151 Likewise.
10152 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
10153 Likewise.
10154 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
10155 Likewise.
10156 * nptl/pthread_rwlockattr_getkind_np.c
10157 (pthread_rwlockattr_getkind_np): Likewise.
10158 * nptl/pthread_rwlockattr_getpshared.c
10159 (pthread_rwlockattr_getpshared): Likewise.
10160 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
10161 Likewise.
10162 * nptl/pthread_rwlockattr_setkind_np.c
10163 (pthread_rwlockattr_setkind_np): Likewise.
10164 * nptl/pthread_rwlockattr_setpshared.c
10165 (pthread_rwlockattr_setpshared): Likewise.
10166 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
10167 Likewise.
10168 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
10169 Likewise.
10170 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
10171 Likewise.
10172 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10173 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
10174 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
10175 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
10176 * nptl/sem_close.c (sem_close): Likewise.
10177 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
10178 * nptl/sem_init.c (__old_sem_init): Likewise.
10179 * nptl/sigaction.c (__sigaction): Likewise.
10180 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10181 * posix/_exit.c (_exit): Likewise.
10182 * posix/alarm.c (alarm): Likewise.
10183 * posix/confstr.c (confstr): Likewise.
10184 * posix/fpathconf.c (__fpathconf): Likewise.
10185 * posix/getgroups.c (__getgroups): Likewise.
10186 * posix/getpgid.c (__getpgid): Likewise.
10187 * posix/group_member.c (__group_member): Likewise.
10188 * posix/pathconf.c (__pathconf): Likewise.
10189 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
10190 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
10191 * posix/setgid.c (__setgid): Likewise.
10192 * posix/setpgid.c (__setpgid): Likewise.
10193 * posix/setuid.c (__setuid): Likewise.
10194 * posix/sleep.c (__sleep): Likewise.
10195 * posix/sysconf.c (__sysconf): Likewise.
10196 * posix/times.c (__times): Likewise.
10197 * posix/uname.c (__uname): Likewise.
10198 * posix/waitid.c (__waitid): Likewise.
10199 * pwd/getpw.c (__getpw): Likewise.
10200 * resolv/base64.c (b64_pton): Likewise.
10201 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10202 * resolv/gethnamaddr.c (Dprintf): Likewise.
10203 (gethostbyname): Likewise.
10204 (gethostbyname2): Likewise.
10205 (gethostbyaddr): Likewise.
10206 (_sethtent): Likewise.
10207 (_gethtbyname): Likewise.
10208 (_gethtbyname2): Likewise.
10209 (_gethtbyaddr): Likewise.
10210 (map_v4v6_address): Likewise.
10211 (map_v4v6_hostent): Likewise.
10212 (addrsort): Likewise.
10213 (ht_sethostent): Likewise.
10214 (ht_gethostbyname): Likewise.
10215 (ht_gethostbyaddr): Likewise.
10216 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10217 (inet_net_ntop_ipv4): Likewise.
10218 * resolv/inet_neta.c (inet_neta): Likewise.
10219 * resolv/inet_ntop.c (inet_ntop): Likewise.
10220 (inet_ntop4): Likewise.
10221 (inet_ntop6): Likewise.
10222 * resolv/inet_pton.c (__inet_pton): Likewise.
10223 (inet_pton4): Likewise.
10224 (inet_pton6): Likewise.
10225 * resolv/res_debug.c (loc_aton): Likewise.
10226 (loc_ntoa): Likewise.
10227 * resource/getpriority.c (__getpriority): Likewise.
10228 * resource/getrusage.c (__getrusage): Likewise.
10229 * resource/nice.c (nice): Likewise.
10230 * resource/setpriority.c (__setpriority): Likewise.
10231 * resource/setrlimit64.c (setrlimit64): Likewise.
10232 * resource/vlimit.c (vlimit): Likewise.
10233 * resource/vtimes.c (vtimes): Likewise.
10234 * rt/aio_error.c (aio_error): Likewise.
10235 * rt/aio_return.c (aio_return): Likewise.
10236 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10237 * signal/kill.c (__kill): Likewise.
10238 * signal/killpg.c (killpg): Likewise.
10239 * signal/raise.c (raise): Likewise.
10240 * signal/sigaction.c (__sigaction): Likewise.
10241 * signal/sigaddset.c (sigaddset): Likewise.
10242 * signal/sigaltstack.c (sigaltstack): Likewise.
10243 * signal/sigandset.c (sigandset): Likewise.
10244 * signal/sigblock.c (__sigblock): Likewise.
10245 * signal/sigdelset.c (sigdelset): Likewise.
10246 * signal/sigempty.c (sigemptyset): Likewise.
10247 * signal/sigfillset.c (sigfillset): Likewise.
10248 * signal/sighold.c (sighold): Likewise.
10249 * signal/sigignore.c (sigignore): Likewise.
10250 * signal/sigintr.c (siginterrupt): Likewise.
10251 * signal/sigisempty.c (sigisemptyset): Likewise.
10252 * signal/sigismem.c (sigismember): Likewise.
10253 * signal/signal.c (signal): Likewise.
10254 * signal/sigorset.c (sigorset): Likewise.
10255 * signal/sigpause.c (__sigpause): Likewise.
10256 * signal/sigpending.c (sigpending): Likewise.
10257 * signal/sigprocmask.c (__sigprocmask): Likewise.
10258 * signal/sigrelse.c (sigrelse): Likewise.
10259 * signal/sigreturn.c (__sigreturn): Likewise.
10260 * signal/sigset.c (sigset): Likewise.
10261 * signal/sigsetmask.c (__sigsetmask): Likewise.
10262 * signal/sigstack.c (sigstack): Likewise.
10263 * signal/sigsuspend.c (__sigsuspend): Likewise.
10264 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10265 * signal/sysv_signal.c (__sysv_signal): Likewise.
10266 * socket/accept.c (accept): Likewise.
10267 * socket/accept4.c (__libc_accept4): Likewise.
10268 * socket/bind.c (__bind): Likewise.
10269 * socket/connect.c (__connect): Likewise.
10270 * socket/getpeername.c (getpeername): Likewise.
10271 * socket/getsockname.c (__getsockname): Likewise.
10272 * socket/getsockopt.c (getsockopt): Likewise.
10273 * socket/listen.c (__listen): Likewise.
10274 * socket/recv.c (__recv): Likewise.
10275 * socket/recvmsg.c (__recvmsg): Likewise.
10276 * socket/send.c (__send): Likewise.
10277 * socket/sendmsg.c (__sendmsg): Likewise.
10278 * socket/shutdown.c (shutdown): Likewise.
10279 * socket/sockatmark.c (sockatmark): Likewise.
10280 * socket/socket.c (__socket): Likewise.
10281 * stdio-common/ctermid.c (ctermid): Likewise.
10282 * stdio-common/cuserid.c (cuserid): Likewise.
10283 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10284 * stdio-common/remove.c (remove): Likewise.
10285 * stdio-common/rename.c (rename): Likewise.
10286 * stdio-common/renameat.c (renameat): Likewise.
10287 * stdio-common/tempname.c (__gen_tempname): Likewise.
10288 * stdio-common/xbug.c (InitBuffer): Likewise.
10289 (AppendToBuffer): Likewise.
10290 (ReadFile): Likewise.
10291 * stdlib/a64l.c (a64l): Likewise.
10292 * stdlib/drand48_r.c (drand48_r): Likewise.
10293 * stdlib/getcontext.c (getcontext): Likewise.
10294 * stdlib/getenv.c (getenv): Likewise.
10295 * stdlib/l64a.c (l64a): Likewise.
10296 * stdlib/llabs.c (llabs): Likewise.
10297 * stdlib/lldiv.c (lldiv): Likewise.
10298 * stdlib/lrand48_r.c (lrand48_r): Likewise.
10299 * stdlib/mrand48_r.c (mrand48_r): Likewise.
10300 * stdlib/putenv.c (putenv): Likewise.
10301 * stdlib/random.c (__srandom): Likewise.
10302 (__initstate): Likewise.
10303 (__setstate): Likewise.
10304 * stdlib/random_r.c (__srandom_r): Likewise.
10305 (__setstate_r): Likewise.
10306 (__random_r): Likewise.
10307 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10308 * stdlib/setcontext.c (setcontext): Likewise.
10309 * stdlib/setenv.c (setenv): Likewise.
10310 (unsetenv): Likewise.
10311 * stdlib/srand48.c (srand48): Likewise.
10312 * stdlib/srand48_r.c (__srand48_r): Likewise.
10313 * stdlib/swapcontext.c (swapcontext): Likewise.
10314 * stdlib/system.c (__libc_system): Likewise.
10315 * stdlib/tst-strtod.c (expand): Likewise.
10316 * stdlib/tst-strtol.c (expand): Likewise.
10317 * stdlib/tst-strtoll.c (expand): Likewise.
10318 * streams/fattach.c (fattach): Likewise.
10319 * streams/fdetach.c (fdetach): Likewise.
10320 * streams/getmsg.c (getmsg): Likewise.
10321 * streams/isastream.c (isastream): Likewise.
10322 * string/ffs.c (__ffs): Likewise.
10323 * string/ffsll.c (ffsll): Likewise.
10324 * string/memcmp.c (memcmp_common_alignment): Likewise.
10325 (memcmp_not_common_alignment): Likewise.
10326 (MEMCMP): Likewise.
10327 * string/memcpy.c (memcpy): Likewise.
10328 * string/memmove.c (MEMMOVE): Likewise.
10329 * string/memset.c (memset): Likewise.
10330 * string/rawmemchr.c (RAWMEMCHR): Likewise.
10331 * string/strchrnul.c (STRCHRNUL): Likewise.
10332 * string/strerror.c (strerror): Likewise.
10333 * string/strndup.c (__strndup): Likewise.
10334 * string/strverscmp.c (__strverscmp): Likewise.
10335 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10336 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10337 (clnttcp_freeres): Likewise.
10338 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10339 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10340 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10341 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10342 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10343 (xdr_callhdr): Likewise.
10344 * sunrpc/rpcinfo.c (udpping): Likewise.
10345 (tcpping): Likewise.
10346 (pstatus): Likewise.
10347 (pmapdump): Likewise.
10348 (brdcst): Likewise.
10349 (deletereg): Likewise.
10350 (getprognum): Likewise.
10351 (getvers): Likewise.
10352 (get_inet_address): Likewise.
10353 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10354 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10355 (svcudp_stat): Likewise.
10356 (svcudp_recv): Likewise.
10357 (svcudp_reply): Likewise.
10358 (svcudp_getargs): Likewise.
10359 (svcudp_freeargs): Likewise.
10360 (svcudp_destroy): Likewise.
10361 * sunrpc/xdr.c (xdr_bytes): Likewise.
10362 (xdr_netobj): Likewise.
10363 (xdr_string): Likewise.
10364 (xdr_wrapstring): Likewise.
10365 * sunrpc/xdr_float.c (xdr_float): Likewise.
10366 (xdr_double): Likewise.
10367 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
10368 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
10369 * sysvipc/ftok.c (ftok): Likewise.
10370 * sysvipc/msgctl.c (msgctl): Likewise.
10371 * sysvipc/msgget.c (msgget): Likewise.
10372 * sysvipc/msgrcv.c (msgrcv): Likewise.
10373 * sysvipc/msgsnd.c (msgsnd): Likewise.
10374 * sysvipc/semget.c (semget): Likewise.
10375 * sysvipc/semop.c (semop): Likewise.
10376 * sysvipc/shmat.c (shmat): Likewise.
10377 * sysvipc/shmctl.c (shmctl): Likewise.
10378 * sysvipc/shmdt.c (shmdt): Likewise.
10379 * sysvipc/shmget.c (shmget): Likewise.
10380 * termios/cfmakeraw.c (cfmakeraw): Likewise.
10381 * termios/speed.c (cfgetospeed): Likewise.
10382 (cfgetispeed): Likewise.
10383 (cfsetospeed): Likewise.
10384 (cfsetispeed): Likewise.
10385 * termios/tcflow.c (tcflow): Likewise.
10386 * termios/tcflush.c (tcflush): Likewise.
10387 * termios/tcgetattr.c (__tcgetattr): Likewise.
10388 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
10389 * termios/tcgetsid.c (tcgetsid): Likewise.
10390 * termios/tcsendbrk.c (tcsendbreak): Likewise.
10391 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
10392 * time/adjtime.c (__adjtime): Likewise.
10393 * time/dysize.c (dysize): Likewise.
10394 * time/ftime.c (ftime): Likewise.
10395 * time/getitimer.c (__getitimer): Likewise.
10396 * time/gettimeofday.c (__gettimeofday): Likewise.
10397 * time/gmtime.c (__gmtime_r): Likewise.
10398 (gmtime): Likewise.
10399 * time/localtime.c (__localtime_r): Likewise.
10400 (localtime): Likewise.
10401 * time/offtime.c (__offtime): Likewise.
10402 * time/settimeofday.c (__settimeofday): Likewise.
10403 * time/stime.c (stime): Likewise.
10404 * time/strftime_l.c (tm_diff): Likewise.
10405 (iso_week_days): Likewise.
10406 * time/strptime.c (strptime): Likewise.
10407 * time/time.c (time): Likewise.
10408 * time/timespec_get.c (timespec_get): Likewise.
10409 * time/tzset.c (tzset_internal): Likewise.
10410 (compute_change): Likewise.
10411 (__tz_compute): Likewise.
10412 * wcsmbs/btowc.c (__btowc): Likewise.
10413 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
10414 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
10415 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
10416 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
10417 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
10418 * wcsmbs/wcscat.c (__wcscat): Likewise.
10419 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10420 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
10421 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
10422 * wcsmbs/wcscspn.c (wcscspn): Likewise.
10423 * wcsmbs/wcsdup.c (wcsdup): Likewise.
10424 * wcsmbs/wcslen.c (__wcslen): Likewise.
10425 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
10426 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
10427 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
10428 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
10429 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10430 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
10431 * wcsmbs/wcsspn.c (wcsspn): Likewise.
10432 * wcsmbs/wcsstr.c (wcsstr): Likewise.
10433 * wcsmbs/wcstok.c (wcstok): Likewise.
10434 * wcsmbs/wctob.c (wctob): Likewise.
10435 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
10436 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10437 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
10438 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
10439 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
10440 * wcsmbs/wmemset.c (__wmemset): Likewise.
10441 * wctype/wcfuncs.c (__towlower): Likewise.
10442 (__towupper): Likewise.
10443
10444 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
10445 (lll_unlock_elision): Add adapt_count parameter.
10446
10447 2015-10-15 Joseph Myers <joseph@codesourcery.com>
10448
10449 * sysdeps/nptl/configure.ac: Do not give errors based on the
10450 results of top-level configure tests.
10451 * sysdeps/nptl/configure: Regenerated.
10452
10453 * configure.ac (libc_cv_Bgroup): Remove configure test.
10454 * configure: Regenerated.
10455 * config.make.in (have-Bgroup): Remove variable.
10456
10457 * configure.ac (sizeof_long_double): Remove configure test.
10458 * configure: Regenerated.
10459 * config.make.in (sizeof-long-double): Remove variable.
10460
10461 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10462 * configure: Regenerated.
10463 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10464 variable.
10465 (exceptions): Likewise.
10466 * sysdeps/arm/configure: Regenerated.
10467 * config.make.in (exceptions): Remove variable.
10468 * Makeconfig (uses-callbacks): Use -fexceptions instead of
10469 $(exceptions).
10470 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10471 (CFLAGS-vdprintf_chk.c): Likewise.
10472 (CFLAGS-printf_chk.c): Likewise.
10473 (CFLAGS-fprintf_chk.c): Likewise.
10474 (CFLAGS-vprintf_chk.c): Likewise.
10475 (CFLAGS-vfprintf_chk.c): Likewise.
10476 (CFLAGS-gets_chk.c): Likewise.
10477 (CFLAGS-fgets_chk.c): Likewise.
10478 (CFLAGS-fgets_u_chk.c): Likewise.
10479 (CFLAGS-fread_chk.c): Likewise.
10480 (CFLAGS-fread_u_chk.c): Likewise.
10481 (CFLAGS-wprintf_chk.c): Likewise.
10482 (CFLAGS-fwprintf_chk.c): Likewise.
10483 (CFLAGS-vwprintf_chk.c): Likewise.
10484 (CFLAGS-vfwprintf_chk.c): Likewise.
10485 (CFLAGS-fgetws_chk.c): Likewise.
10486 (CFLAGS-fgetws_u_chk.c): Likewise.
10487 * libio/Makefile (CFLAGS-fileops.c): Likewise.
10488 (CFLAGS-fputc.c): Likewise.
10489 (CFLAGS-fputwc.c): Likewise.
10490 (CFLAGS-freopen64.c): Likewise.
10491 (CFLAGS-freopen.c): Likewise.
10492 (CFLAGS-fseek.c): Likewise.
10493 (CFLAGS-fseeko64.c): Likewise.
10494 (CFLAGS-fseeko.c): Likewise.
10495 (CFLAGS-ftello64.c): Likewise.
10496 (CFLAGS-ftello.c): Likewise.
10497 (CFLAGS-fwide.c): Likewise.
10498 (CFLAGS-genops.c): Likewise.
10499 (CFLAGS-getc.c): Likewise.
10500 (CFLAGS-getchar.c): Likewise.
10501 (CFLAGS-getwc.c): Likewise.
10502 (CFLAGS-getwchar.c): Likewise.
10503 (CFLAGS-iofclose.c): Likewise.
10504 (CFLAGS-iofflush.c): Likewise.
10505 (CFLAGS-iofgetpos64.c): Likewise.
10506 (CFLAGS-iofgetpos.c): Likewise.
10507 (CFLAGS-iofgets.c): Likewise.
10508 (CFLAGS-iofgetws.c): Likewise.
10509 (CFLAGS-iofputs.c): Likewise.
10510 (CFLAGS-iofputws.c): Likewise.
10511 (CFLAGS-iofread.c): Likewise.
10512 (CFLAGS-iofsetpos64.c): Likewise.
10513 (CFLAGS-iofsetpos.c): Likewise.
10514 (CFLAGS-ioftell.c): Likewise.
10515 (CFLAGS-iofwrite.c): Likewise.
10516 (CFLAGS-iogetdelim.c): Likewise.
10517 (CFLAGS-iogetline.c): Likewise.
10518 (CFLAGS-iogets.c): Likewise.
10519 (CFLAGS-iogetwline.c): Likewise.
10520 (CFLAGS-ioputs.c): Likewise.
10521 (CFLAGS-ioseekoff.c): Likewise.
10522 (CFLAGS-ioseekpos.c): Likewise.
10523 (CFLAGS-iosetbuffer.c): Likewise.
10524 (CFLAGS-iosetvbuf.c): Likewise.
10525 (CFLAGS-ioungetc.c): Likewise.
10526 (CFLAGS-ioungetwc.c): Likewise.
10527 (CFLAGS-oldfileops.c): Likewise.
10528 (CFLAGS-oldiofclose.c): Likewise.
10529 (CFLAGS-oldiofgetpos64.c): Likewise.
10530 (CFLAGS-oldiofgetpos.c): Likewise.
10531 (CFLAGS-oldiofsetpos64.c): Likewise.
10532 (CFLAGS-oldiofsetpos.c): Likewise.
10533 (CFLAGS-peekc.c): Likewise.
10534 (CFLAGS-putc.c): Likewise.
10535 (CFLAGS-putchar.c): Likewise.
10536 (CFLAGS-putwc.c): Likewise.
10537 (CFLAGS-putwchar.c): Likewise.
10538 (CFLAGS-rewind.c): Likewise.
10539 (CFLAGS-wfileops.c): Likewise.
10540 (CFLAGS-wgenops.c): Likewise.
10541 (CFLAGS-oldiofopen.c): Likewise.
10542 (CFLAGS-iofopen.c): Likewise.
10543 (CFLAGS-iofopen64.c): Likewise.
10544 (CFLAGS-oldtmpfile.c): Likewise.
10545 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10546 (CFLAGS-fprintf.c): Likewise.
10547 (CFLAGS-printf.c): Likewise.
10548 (CFLAGS-vfwprintf.c): Likewise.
10549 (CFLAGS-vfscanf.c): Likewise.
10550 (CFLAGS-vfwscanf.c): Likewise.
10551 (CFLAGS-fscanf.c): Likewise.
10552 (CFLAGS-scanf.c): Likewise.
10553 (CFLAGS-isoc99_vfscanf.c): Likewise.
10554 (CFLAGS-isoc99_vscanf.c): Likewise.
10555 (CFLAGS-isoc99_fscanf.c): Likewise.
10556 (CFLAGS-isoc99_scanf.c): Likewise.
10557 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10558 (CFLAGS-isoc99_fwscanf.c): Likewise.
10559 (CFLAGS-isoc99_vwscanf.c): Likewise.
10560 (CFLAGS-isoc99_vfwscanf.c): Likewise.
10561
10562 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10563 after mkstemp64.
10564 * login/tst-utmp.c (do_prepare): Likewise.
10565 * rt/tst-aio.c (do_prepare): Likewise.
10566 * rt/tst-aio64.c (do_prepare): Likewise.
10567
10568 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10569
10570 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10571 (__lll_lock_elision): Remove adapt_count decrement...
10572 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10573 (__lll_trylock_elision): Likewise.
10574 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10575 (__lll_unlock_elision): ... to here. And utilize
10576 new adapt_count parameter.
10577 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10578 (__lll_unlock_elision): Update to include adapt_count
10579 parameter.
10580 (lll_unlock_elision): Pass pointer to adapt_count
10581 variable.
10582
10583 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10584
10585 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10586 Add elision adapt_count parameter to list of arguments.
10587 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10588 (lll_unlock_elision): Update with new parameter list
10589 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10590 (lll_unlock_elision): Likewise.
10591 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10592 (lll_unlock_elision): Likewise.
10593
10594 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10595
10596 [BZ #19122]
10597 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10598 attribute_hidden.
10599
10600 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10601 attribute_hidden.
10602 [IS_IN (rtld)] (__strdup): Likewise.
10603 [IS_IN (rtld)] (__strerror_r): Likewise.
10604 [IS_IN (rtld)] (__strsep_g): Likewise.
10605 [IS_IN (rtld)] (memchr): Likewise.
10606 [IS_IN (rtld)] (memcmp): Likewise.
10607 [IS_IN (rtld)] (memcpy): Likewise.
10608 [IS_IN (rtld)] (memmove): Likewise.
10609 [IS_IN (rtld)] (memset): Likewise.
10610 [IS_IN (rtld)] (rawmemchr): Likewise.
10611 [IS_IN (rtld)] (stpcpy): Likewise.
10612 [IS_IN (rtld)] (strchr): Likewise.
10613 [IS_IN (rtld)] (strcmp): Likewise.
10614 [IS_IN (rtld)] (strlen): Likewise.
10615 [IS_IN (rtld)] (strnlen): Likewise.
10616 [IS_IN (rtld)] (strsep): Likewise.
10617
10618 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10619 attribute_hidden.
10620 [IS_IN (rtld)] (__strtoul_internal): Likewise.
10621
10622 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10623 attribute_hidden.
10624 [IS_IN (rtld)] (__libc_sigaction): Likewise.
10625
10626 * include/setjmp.h (__longjmp): Add attribute_hidden.
10627 [IS_IN (rtld)] (__sigsetjmp): Likewise.
10628
10629 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10630 Add attribute_hidden.
10631
10632 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10633 [IS_IN (rtld)] (__open): Likewise.
10634 [IS_IN (rtld)] (__fcntl): Likewise.
10635
10636 * include/dirent.h (__opendirat): Add attribute_hidden.
10637 (__getdents): Likewise.
10638 (__getdents64): Likewise.
10639 (__alloc_dir): Likewise.
10640 [IS_IN (rtld)] (__closedir): Likewise.
10641 [IS_IN (rtld)] (__fdopendir): Likewise.
10642 [IS_IN (rtld)] (__readdir): Likewise.
10643 [IS_IN (rtld)] (__readdir64): Likewise.
10644 [IS_IN (rtld)] (__rewinddir): Likewise.
10645
10646 * include/dlfcn.h (_dl_catch_error): Moved to ...
10647 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10648 attribute_hidden.
10649
10650 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10651 (_itoa_word): Likewise.
10652
10653 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10654 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10655 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10656 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10657 (_dl_higher_prime_number): Likewise.
10658 (_dl_debug_printf_c): Likewise.
10659 (_dl_signal_cerror): Likewise.
10660 (_dl_receive_error): Likewise.
10661 (_dl_reloc_bad_type): Likewise.
10662 (_dl_resolve_conflicts): Likewise.
10663 (_dl_check_all_versions): Likewise.
10664 (_dl_check_map_versions): Likewise.
10665 (_dl_sort_fini): Likewise.
10666 (_dl_debug_initialize): Likewise.
10667 (_dl_init_paths): Likewise.
10668 (_dl_show_auxv): Likewise.
10669 (_dl_next_ld_env_entry): Likewise.
10670 (_dl_important_hwcaps): Likewise.
10671 (_dl_load_cache_lookup): Likewise.
10672 (_dl_update_slotinfo): Likewise.
10673 (_dl_show_scope): Likewise.
10674
10675 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10676 attribute_hidden.
10677 (_wordcopy_fwd_dest_aligned): Likewise.
10678 (_wordcopy_bwd_aligned): Likewise.
10679 (_wordcopy_bwd_dest_aligned): Likewise.
10680
10681 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10682 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10683 Likewise.
10684 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10685 Likewise.
10686 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10687
10688 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10689
10690 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10691 GCC 5 requirement.
10692
10693 2015-10-15 Joseph Myers <joseph@codesourcery.com>
10694
10695 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10696 test.
10697 * sysdeps/i386/configure: Regenerated.
10698 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10699 code unconditional.
10700
10701 * configure.ac (libc_cv_asm_previous_directive): Remove configure
10702 test.
10703 (libc_cv_asm_popsection_directive): Likewise.
10704 * configure: Regenerated.
10705 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10706 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10707 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10708 (__make_section_unallocated): Make definition unconditional.
10709 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10710 Remove conditional definition.
10711 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10712 (__make_section_unallocated): Likewise.
10713
10714 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10715 * configure: Regenerated.
10716 * config.make.in (static-libgcc): Remove variable.
10717 * Makerules (build-shlib-helper): Use -static-libgcc instead of
10718 $(static-libgcc).
10719 (build-module-helper): Likewise.
10720
10721 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10722 * configure: Regenerated.
10723
10724 2015-10-15 Florian Weimer <fweimer@redhat.com>
10725
10726 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10727 (struct char_buffer): New type.
10728 (char_buffer_start, char_buffer_size, char_buffer_error)
10729 (char_buffer_rewind, char_buffer_add): New functions.
10730 (ADDW): Remove macro, replaced by the char_buffer_add function.
10731 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10732 of extend_alloca. Make control flow more explicit.
10733
10734 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10735
10736 [BZ #19137]
10737 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10738 Add -fomit-frame-pointer.
10739 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10740
10741 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10742
10743 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10744 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10745 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10746 only if !__GNUC_PREREQ (5,0).
10747 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10748 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10749 (INTERNAL_SYSCALL_NCS): Likewise.
10750 (LOADREGS_0): New macro for GCC 5.
10751 (ASMARGS_0): Likewise.
10752 (LOADREGS_1): Likewise.
10753 (ASMARGS_1): Likewise.
10754 (LOADREGS_2): Likewise.
10755 (ASMARGS_2): Likewise.
10756 (LOADREGS_3): Likewise.
10757 (ASMARGS_3): Likewise.
10758 (LOADREGS_4): Likewise.
10759 (ASMARGS_4): Likewise.
10760 (LOADREGS_5): Likewise.
10761 (ASMARGS_5): Likewise.
10762 (LOADREGS_6): Likewise.
10763 (ASMARGS_6): Likewise.
10764
10765 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10766
10767 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10768 -fomit-frame-pointer.
10769 (CFLAGS-mmap64.c): Likewise.
10770 (CFLAGS-semtimedop.c): Likewise.
10771 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10772 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10773 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10774 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10775
10776 2015-10-15 Florian Weimer <fweimer@redhat.com>
10777
10778 [BZ #18928]
10779 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10780 _dl_pointer_guard member.
10781 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10782 initializer.
10783 (security_init): Always set up pointer guard.
10784 (process_envvars): Do not process LD_POINTER_GUARD.
10785
10786 2015-10-14 Joseph Myers <joseph@codesourcery.com>
10787
10788 [BZ #19134]
10789 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10790 (.LC2): Likewise.
10791 (.LC3): Likewise.
10792 (__lround): Do not add 0.5 to integer or out-of-range arguments.
10793
10794 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
10795
10796 [BZ #19129]
10797 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10798 r0 and r1.
10799
10800 2015-10-14 Namhyung Kim <namhyung@gmail.com>
10801
10802 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10803
10804 2015-10-14 Carlos O'Donell <carlos@redhat.com>
10805
10806 * include/stap-probe.h: Fix macro definition formatting.
10807
10808 2015-10-14 Florian Weimer <fweimer@redhat.com>
10809
10810 [BZ #19074]
10811 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10812 load and store num_ifs.
10813
10814 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
10815
10816 [BZ #18822]
10817 * sysdeps/unix/sysv/linux/sched_getaffinity.c
10818 (__sched_getaffinity_new): Add libc_hidden_proto and
10819 libc_hidden_def.
10820
10821 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
10822
10823 [BZ #19007]
10824 * scripts/localplt.awk: Also allow GOT references.
10825 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10826 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10827 with "+ REL R_386_GLOB_DAT".
10828 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10829 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10830
10831 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
10832
10833 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10834 INLINE_SYSCALL_ERROR_RETURN_VALUE.
10835 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10836 Likewise.
10837 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10838 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10839 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10840 INTERNAL_SYSCALLINTERNAL_SYSCALL and
10841 INLINE_SYSCALL_ERROR_RETURN_VALUE.
10842 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10843 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10844 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10845 Likewise.
10846 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10847
10848 2015-10-13 Joseph Myers <joseph@codesourcery.com>
10849
10850 [BZ #19125]
10851 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10852 <math_private.h> and <stdint.h>.
10853 (__llround): Avoid conversions to and from long long int, and
10854 subtractions, where those might raise spurious exceptions.
10855 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10856 <math_private.h> and <stdint.h>.
10857 (__llroundf): Avoid conversions to and from long long int, and
10858 subtractions, where those might raise spurious exceptions.
10859
10860 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
10861
10862 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10863 INLINE_SYSCALL_ERROR_RETURN_VALUE.
10864 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10865 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10866 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10867 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10868 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10869 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10870 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10871 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10872 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10873 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10874 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10875 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10876 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10877 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10878 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10879 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10880 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10881 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10882 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10883 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10884 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10885 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10886 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10887 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10888 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10889 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10890 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10891 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10892 (__xstat64_conv): Likewise.
10893 (__xstat32_conv): Likewise.
10894
10895 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
10896
10897 * sysdeps/unix/sysv/linux/sysdep.h: New file.
10898 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10899 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10900 <sysdeps/unix/sysv/linux/sysdep.h>.
10901 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10902 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10903 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10904 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10905 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10906 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10907 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10908 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10909 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10912 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10913 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10914 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10915 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10916 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10917 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10918 (sysdep-dl-routines): Add sysdep.
10919 [$(subdir) == nptl] (libpthread-routines): Likewise.
10920 [$(subdir) == rt] (librt-routines): Likewise.
10921 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10922 PIC when branching to SYSCALL_ERROR_LABEL.
10923 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10924 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10925 <sysdeps/unix/sysv/linux/sysdep.h>.
10926 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10927 (SYSCALL_ERROR_ERRNO): Removed.
10928 (SYSCALL_ERROR_HANDLER): Changed to empty.
10929 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10930 (__syscall_error): New prototype.
10931 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10932 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10933
10934 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
10935
10936 [BZ #19124]
10937 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10938 (_dl_runtime_resolve_avx512): Make it a hidden alias of
10939 _dl_runtime_resolve_avx.
10940 (_dl_runtime_profile_avx512): Make it a hidden alias of
10941 _dl_runtime_profile_avx.
10942
10943 2015-10-13 Joseph Myers <joseph@codesourcery.com>
10944
10945 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10946 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10947 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10948 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10949
10950 [BZ #16422]
10951 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10952 New configure test.
10953 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10954 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10955 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10956 <math_private.h> and <stdint.h>.
10957 (__llrint): Avoid conversions to long long int where those might
10958 raise spurious exceptions.
10959 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10960 <math_private.h> and <stdint.h>.
10961 (__llrintf): Avoid conversions to long long int where those might
10962 raise spurious exceptions.
10963
10964 2015-10-12 Andreas Schwab <schwab@suse.de>
10965
10966 [BZ #18969]
10967 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
10968 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10969 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
10970 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10971 $(gen-locales).
10972 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
10973 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10974 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10975 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10976 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10977 $(gen-locales).
10978 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
10979 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10980 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10981 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10982 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10983 ($(objpfx)tst-ftell-active-handler.out)
10984 ($(objpfx)tst-ftell-append.out)
10985 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10986 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10987 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10988 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10989 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
10990 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10991 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10992 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10993 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10994 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10995 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10996 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10997 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10998 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10999 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
11000 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
11001 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
11002 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
11003 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
11004 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
11005 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
11006 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
11007 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
11008 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
11009 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
11010 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
11011 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
11012 $(gen-locales).
11013 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
11014 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
11015 $(gen-locales).
11016 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
11017 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
11018 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
11019 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
11020 $(gen-locales).
11021 * libio/tst_wprintf2.c (main): Use explicit locale.
11022 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
11023
11024 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11025
11026 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
11027 __msg_sig_post.
11028 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
11029
11030 2015-10-09 Joseph Myers <joseph@codesourcery.com>
11031
11032 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11033 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11034
11035 * sysdeps/arm/libm-test-ulps: Regenerated.
11036
11037 [BZ #15470]
11038 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
11039
11040 [BZ #16399]
11041 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
11042 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
11043 and <fix-fp-int-convert-overflow.h>.
11044 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11045 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11046 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
11047 and <fix-fp-int-convert-overflow.h>.
11048 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
11049 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11050 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
11051 <fix-fp-int-convert-overflow.h>.
11052 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11053 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11054 * sysdeps/ieee754/dbl-64/s_lround.c: Include
11055 <fix-fp-int-convert-overflow.h>.
11056 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
11057 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11058 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
11059 and <fix-fp-int-convert-overflow.h>.
11060 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11061 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11062 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
11063 <limits.h> and <fix-fp-int-convert-overflow.h>.
11064 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11065 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11066 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
11067 and <fix-fp-int-convert-overflow.h>.
11068 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11069 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11070 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
11071 and <fix-fp-int-convert-overflow.h>.
11072 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11073 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11074 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
11075
11076 2015-10-09 Carlos O'Donell <carlos@redhat.com>
11077
11078 [BZ #18589]
11079 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11080 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11081 $(gen-locales).
11082
11083 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11084 Phil Blundell <pb@pbcl.net>
11085
11086 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11087 * nptl/tst-cancel26.c: New file.
11088 * nptl/tst-cancel27.c: Likewise.
11089
11090 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
11091
11092 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
11093 __ILP32__ isn't defined.
11094 (lrint): Likewise.
11095 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
11096 (lrintf): Likewise.
11097 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
11098 (lrintl): Likewise.
11099 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
11100 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
11101 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
11102
11103 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11104
11105 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11106 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11107
11108 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
11109 file.
11110 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
11111 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11112
11113 2015-10-09 Joseph Myers <joseph@codesourcery.com>
11114
11115 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
11116 configure test.
11117 * sysdeps/i386/configure: Regenerated.
11118 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
11119 configure test.
11120 * sysdeps/x86_64/configure: Regenerated.
11121 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
11122 Make code unconditional.
11123
11124 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
11125 test.
11126 * sysdeps/i386/configure: Regenerated.
11127 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
11128 test.
11129 * sysdeps/x86_64/configure: Regenerated.
11130 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
11131 Make code unconditional.
11132 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11133 Likewise.
11134 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
11135 Likewise.
11136 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11137 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
11138 code unconditional.
11139 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11140 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
11141 code unconditional.
11142 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11143 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
11144 code unconditional.
11145 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
11146 code unconditional.
11147 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11148 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
11149 code unconditional.
11150 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11151 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
11152 code unconditional.
11153 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11154 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
11155 code unconditional.
11156 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11157 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
11158 code unconditional.
11159 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11160 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
11161
11162 [BZ #19095]
11163 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
11164 mantissa to long int before shifting left.
11165
11166 2015-10-08 Joseph Myers <joseph@codesourcery.com>
11167
11168 [BZ #19094]
11169 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
11170 <limits.h>.
11171 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11172 when result overflows but exception would not result from cast.
11173 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
11174 <limits.h>.
11175 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11176 when result overflows but exception would not result from cast.
11177 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
11178 <limits.h>.
11179 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11180 when result overflows but exception would not result from cast.
11181 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
11182 <limits.h>.
11183 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11184 when result overflows but exception would not result from cast.
11185 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
11186 <limits.h>.
11187 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11188 when result overflows but exception would not result from cast.
11189 * math/libm-test.inc (lrint_test_data): Add more tests.
11190 (llrint_test_data): Likewise.
11191
11192 2015-10-08 Roland McGrath <roland@hack.frob.com>
11193
11194 [BZ #18872]
11195 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
11196 Move out from under [$(run-built-tests) = yes] conditional.
11197 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
11198 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
11199
11200 2015-10-08 Carlos O'Donell <carlos@redhat.com>
11201
11202 [BZ #18589]
11203 * string/Makefile (tests): Add bug-strcoll2.
11204 (LOCALES): Add cs_CZ.UTF-8.
11205 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11206
11207 [BZ #18589]
11208 * string/bug-strcoll2.c: New file.
11209 * locale/categories.def: Revert commit
11210 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11211 * locale/langinfo.h: Likewise.
11212 * locale/localeinfo.h: Likewise.
11213 * locale/C-collate.c: Likewise.
11214 * locale/programs/ld-collate.c (collate_output): Likewise.
11215 * string/strcoll_l.c (STRDIFF): Likewise.
11216 (STRCOLL): Likewise.
11217 * wcsmbs/wcscoll_l.c: Likewise.
11218
11219 2015-10-08 Joseph Myers <joseph@codesourcery.com>
11220
11221 * math/libm-test.inc (lround_test_data): Do not expect the absence
11222 of "inexact" for some tests with non-integer arguments.
11223 (llround_test_data): Likewise.
11224
11225 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11226 test.
11227 (libc_cv_cc_sse2avx): Likewise.
11228 * sysdeps/i386/configure: Regenerated.
11229 * sysdeps/i386/i686/multiarch/Makefile
11230 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11231 [$(subdir) = math].
11232 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11233 code unconditional.
11234 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11235 Likewise.
11236 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11237 Likewise.
11238 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11239 Likewise.
11240 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11241 test.
11242 (libc_cv_cc_sse2avx): Likewise.
11243 * sysdeps/x86_64/configure: Regenerated.
11244 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11245 unconditional.
11246 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11247 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11248 unconditional.
11249 (_dl_runtime_profile)
11250 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11251 conditional code.
11252 * sysdeps/x86_64/fpu/multiarch/Makefile
11253 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11254 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11255 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11256 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11257 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11258 * sysdeps/x86_64/fpu/multiarch/e_log.c
11259 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11260 * sysdeps/x86_64/fpu/multiarch/s_atan.c
11261 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11262 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11263 Likewise.
11264 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11265 Likewise.
11266 * sysdeps/x86_64/fpu/multiarch/s_sin.c
11267 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11268 * sysdeps/x86_64/fpu/multiarch/s_tan.c
11269 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11270 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11271 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11272 (HAVE_SSE2AVX_SUPPORT): Likewise.
11273
11274 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
11275
11276 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11277 instead of #pragma optimize.
11278
11279 2015-10-07 Carlos O'Donell <carlos@redhat.com>
11280
11281 [BZ #17195]
11282 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11283 as is similarly done in systrim and _int_free already.
11284
11285 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11286
11287 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11288
11289 2015-10-07 Joseph Myers <joseph@codesourcery.com>
11290
11291 [BZ #19088]
11292 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11293 <limits.h>.
11294 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11295 overflows but exception would not result from cast.
11296 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11297 and <limits.h>.
11298 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11299 overflows but exception would not result from cast.
11300 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11301 <limits.h>.
11302 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11303 overflows but exception would not result from cast.
11304 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11305 <limits.h>.
11306 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11307 overflows but exception would not result from cast.
11308 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
11309 <limits.h>.
11310 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11311 overflows but exception would not result from cast.
11312 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
11313 <limits.h>.
11314 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11315 overflows but exception would not result from cast.
11316 * math/libm-test.inc (lround_test_data): Add more tests.
11317 (llround_test_data): Likewise.
11318
11319 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
11320
11321 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11322 (CFLAGS-ialloc.c): Ditto.
11323 (CFLAGS-scheck.c): Ditto.
11324
11325 2015-10-07 Carlos O'Donell <carlos@redhat.com>
11326
11327 [BZ #19086]
11328 * manual/filesys.texi (Storage Allocation): Fix argument order for
11329 posix_fallocate64.
11330
11331 2015-10-07 Joseph Myers <joseph@codesourcery.com>
11332
11333 [BZ #19085]
11334 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11335 exponent below 48 inside case for non-overflowing exponent.
11336 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11337
11338 2015-10-07 Florian Weimer <fweimer@redhat.com>
11339
11340 * iconvdata/cp737.h (from_idx): Add const.
11341 * iconvdata/cp775.h (from_idx): Likewise.
11342
11343 2015-10-07 Joseph Myers <joseph@codesourcery.com>
11344
11345 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11346 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11347 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11348
11349 [BZ #19079]
11350 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11351 file, conditioned on [!_LP64].
11352 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11353 [!_LP64] (__lround): Do not define as function or alias.
11354 [!_LP64] (lround): Likewise.
11355 [!_LP64] (__lroundl): Likewise.
11356 [!_LP64] (lroundl): Likewise.
11357 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
11358 macro.
11359 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11360 Likewise.
11361
11362 2015-10-06 Joseph Myers <joseph@codesourcery.com>
11363
11364 * math/libm-test.inc (lrint_test_data): Add more tests.
11365 (llrint_test_data): Likewise.
11366 (lround_test_data): Likewise.
11367 (llround_test_data): Likewise.
11368
11369 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
11370 (llrint_test_data): Add tests used for lrint.
11371
11372 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
11373 test.
11374 * sysdeps/i386/configure: Regenerated.
11375 * sysdeps/i386/i686/multiarch/Makefile
11376 [$(config-cflags-sse4) = yes]: Make code unconditional.
11377 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11378 Likewise.
11379 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
11380 Likewise.
11381 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
11382 test.
11383 * sysdeps/x86_64/configure: Regenerated.
11384 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
11385 Make code unconditional.
11386 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11387 Likewise.
11388 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
11389 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
11390
11391 * scripts/rpm2dynsym.sh: Remove file.
11392
11393 2015-10-06 Florian Weimer <fweimer@redhat.com>
11394
11395 * configure.ac (libc_cv_cxx_thread_local): Define.
11396 * configure: Regenerate.
11397 * config.make.in (have-cxx-thread_local): Define.
11398 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
11399 (LDLIBS-tst-thread_local1): Define.
11400 (tests): Add tst-thread_local1.
11401 [have-cxx-thread_local != yes] (tests-unsupported): Add
11402 tst-thread_local1.
11403 * nptl/tst-thread_local1.cc: New file.
11404
11405 2015-10-06 Joseph Myers <joseph@codesourcery.com>
11406
11407 [BZ #19078]
11408 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
11409 (u_thres): Likewise.
11410 (__expl): Determine whether to call __kernel_standard_l based on
11411 value of result, not argument.
11412
11413 * math/libm-test.inc (scalb_test_data): Add more expectations for
11414 the "inexact" exception.
11415
11416 [BZ #19077]
11417 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
11418 0.0L for argument 1.0L.
11419
11420 [BZ #19076]
11421 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
11422 constant 0.0L when computing infinite result.
11423
11424 2015-10-06 Florian Weimer <fweimer@redhat.com>
11425
11426 [BZ #10432]
11427 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11428 malloc_usable_size.
11429
11430 2015-10-06 Florian Weimer <fweimer@redhat.com>
11431
11432 [BZ #19018]
11433 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11434 Mangle function pointer before storing it.
11435 (__call_tls_dtors): Demangle function pointer before calling it.
11436
11437 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11438
11439 [BZ #19012]
11440 * iconv/gconv_db.c (gen_steps): Check for additional errors.
11441 Clean up on failure.
11442
11443 2015-10-05 Joseph Myers <joseph@codesourcery.com>
11444
11445 [BZ #19071]
11446 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
11447 long int variable to store possibly incremented high part of
11448 mantissa.
11449 * math/libm-test.inc (lround_test_data): Add tests used for
11450 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
11451 for tests requiring 64-bit long. Do not condition tests on
11452 [TEST_FLOAT] unnecessarily.
11453 (llround_test_data): Add tests used for lround. Add another
11454 expectation for the "inexact" exception. Do not condition tests
11455 on [TEST_FLOAT] unnecessarily.
11456
11457 [BZ #887]
11458 [BZ #19049]
11459 [BZ #19050]
11460 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11461 * sysdeps/ieee754/dbl-64/e_log10.c: Include
11462 <fix-int-fp-convert-zero.h>.
11463 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11464 * sysdeps/ieee754/dbl-64/e_log2.c: Include
11465 <fix-int-fp-convert-zero.h>.
11466 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11467 * sysdeps/ieee754/dbl-64/s_erf.c: Include
11468 <fix-int-fp-convert-zero.h>.
11469 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11470 * sysdeps/ieee754/dbl-64/s_logb.c: Include
11471 <fix-int-fp-convert-zero.h>.
11472 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11473 * sysdeps/ieee754/flt-32/e_log10f.c: Include
11474 <fix-int-fp-convert-zero.h>.
11475 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11476 * sysdeps/ieee754/flt-32/e_log2f.c: Include
11477 <fix-int-fp-convert-zero.h>.
11478 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11479 * sysdeps/ieee754/flt-32/s_erff.c: Include
11480 <fix-int-fp-convert-zero.h>.
11481 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11482 * sysdeps/ieee754/flt-32/s_logbf.c: Include
11483 <fix-int-fp-convert-zero.h>.
11484 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11485 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11486 <fix-int-fp-convert-zero.h>.
11487 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11488 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11489 <fix-int-fp-convert-zero.h>.
11490 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11491 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11492 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11493 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11494 file.
11495 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11496
11497 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11498
11499 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11500
11501 2015-10-02 Joseph Myers <joseph@codesourcery.com>
11502
11503 [BZ #19059]
11504 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11505 overflowing computation.
11506 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11507 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11508 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11509 Likewise.
11510 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11511 Likewise.
11512 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11513 Likewise.
11514 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11515 Likewise.
11516 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11517 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11518 Likewise.
11519 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11520 Likewise.
11521 * math/libm-test.inc (nexttoward_test_data): Add more tests.
11522
11523 * nss/rewrite_field.c (__nss_rewrite_field): Use
11524 internal_function.
11525 * nss/valid_field.c (__nss_valid_field): Likewise.
11526 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11527
11528 2015-10-02 Florian Weimer <fweimer@redhat.com>
11529
11530 [BZ #18724]
11531 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11532 (__nss_invalid_field_characters, __nss_valid_field)
11533 (__nss_valid_list_field, __nss_rewrite_field): Declare.
11534 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11535 tst-field.c: New file.
11536 * nss/Makefile (routines): Add valid_field, rewrite_field.
11537 (tests-static): Define unconditionally.
11538 (tests): Include tests-static.
11539 [build-static-nss] (tests-static): Use append.
11540 [build-static-nss] (tests): Remove modification.
11541 * nss/getent.c (print_group): Call putgrent. Report error.
11542 (print_gshadow): Call putsgent. Report error.
11543 (print_passwd): Call putpwent. Report error.
11544 (print_shadow): Call putspent. Report error.
11545 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11546 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11547 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
11548 name, password, directory, shell fields for valid syntax. Rewrite
11549 GECOS field to match syntax.
11550 * pwd/Makefile (tests): Add tst-putpwent.
11551 * pwd/tst-putpwent.c: New file.
11552 * grp/putgrent.c (putgrent): Convert to ISO function definition.
11553 Check grName, grpasswd, gr_mem fields for valid syntax.
11554 Change loop variable i to size_t.
11555 * grp/Makefile (tests): Add tst-putgrent.
11556 * grp/tst-putgrent.c: New file.
11557 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11558 valid syntax.
11559 * shadow/Makefile (tests): Add tst-putspent.
11560 * shadow/tst-putspent.c: New file.
11561 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11562 sg_mem fields for valid syntax.
11563 * gshadow/Makefile (tests): Add tst-putsgent.
11564 * gshadow/tst-putsgent.c: New file.
11565
11566 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11567
11568 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11569 assembly instructions.
11570
11571 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11572
11573 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11574 prefix from operands.
11575
11576 2015-10-01 Joseph Myers <joseph@codesourcery.com>
11577
11578 [BZ #16347]
11579 [BZ #19046]
11580 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11581 <libc-internal.h>.
11582 (MAXLGM): Do not use diagnostic control macros.
11583 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11584 threshold for ldbl-128ibm.
11585 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11586 instead of multiplying by log then subtracting.
11587 * math/auto-libm-test-in: Add more tests of lgamma.
11588 * math/auto-libm-test-out: Regenerated.
11589
11590 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11591 (TYPE_HEX_DIG): Likewise.
11592 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11593 precisions when printing floating-point numbers.
11594 (check_float_internal): Likewise.
11595
11596 2015-09-30 Joseph Myers <joseph@codesourcery.com>
11597
11598 [BZ #16620]
11599 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11600 of log (10) rounded downward to 48 bits.
11601 (log10_low): Use corresponding low part of log (10).
11602
11603 [BZ #19032]
11604 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11605 compute result as (x - x) / (x - x) not as 0 / 0.
11606 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11607 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11608
11609 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11610 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11611 and expm1.
11612 * math/auto-libm-test-out: Regenerated.
11613 * math/libm-test.inc (acos_test_data): Add more tests.
11614 (asin_test_data): Likewise.
11615 (asinh_test_data): Likewise.
11616 (atan_test_data): Likewise.
11617 (atanh_test_data): Likewise.
11618 (atan2_test_data): Likewise.
11619 (cbrt_test_data): Likewise.
11620 (ceil_test_data): Likewise.
11621 (copysign_test_data): Likewise.
11622 (cos_test_data): Likewise.
11623 (cosh_test_data): Likewise.
11624 (erf_test_data): Likewise.
11625 (erfc_test_data): Likewise.
11626 (exp_test_data): Likewise.
11627 (exp10_test_data): Likewise.
11628 (exp2_test_data): Likewise.
11629 (expm1_test_data): Likewise.
11630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11631
11632 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
11633
11634 [BZ #19006]
11635 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11636 to ...
11637 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11638 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11639 to ...
11640 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11641 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11642 to ...
11643 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11644 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11645 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11646 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11647 to ...
11648 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11649 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11650 Moved to ...
11651 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11652 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11653 Moved to ...
11654 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11655 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11656 to ...
11657 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11658 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11659 Moved to ...
11660 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11661 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11662 to ...
11663 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11664 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11665 Removed.
11666 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11667 Likewise.
11668 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11669 Likewise.
11670 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11671 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11672 Likewise.
11673 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11674 Likewise.
11675 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11676 Likewise.
11677 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11678 Likewise.
11679 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11680 Likewise.
11681 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11682 Likewise.
11683 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11684 Likewise.
11685 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11686 Likewise.
11687 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11688 Likewise.
11689 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11690 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11691 Likewise.
11692 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11693 Likewise.
11694 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11695 Likewise.
11696 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11697 Likewise.
11698 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11699 Likewise.
11700 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11701 Replace ../i486/pthread_cond_timedwait.S with
11702 ../pthread_cond_timedwait.S.
11703
11704 2015-09-30 Joseph Myers <joseph@codesourcery.com>
11705
11706 * math/libm-test.inc (acos_test_data): Refine expectations for
11707 errno and "inexact" exceptions.
11708 (acosh_test_data): Likewise.
11709 (asin_test_data): Likewise.
11710 (asinh_test_data): Likewise.
11711 (atan_test_data): Likewise.
11712 (atanh_test_data): Likewise.
11713 (atan2_test_data): Likewise.
11714 (cbrt_test_data): Likewise.
11715 (ceil_test_data): Likewise.
11716 (copysign_test_data): Likewise.
11717 (cosh_test_data): Likewise.
11718 (erf_test_data): Likewise.
11719 (erfc_test_data): Likewise.
11720 (exp_test_data): Likewise.
11721 (exp10_test_data): Likewise.
11722 (exp2_test_data): Likewise.
11723 (expm1_test_data): Likewise.
11724 (fabs_test_data): Likewise.
11725 (floor_test_data): Likewise.
11726 (fma_test_data): Likewise.
11727 (fmax_test_data): Likewise.
11728 (fmin_test_data): Likewise.
11729 (fmod_test_data): Likewise.
11730 (fpclassify_test_data): Likewise.
11731 (frexp_test_data): Likewise.
11732 (hypot_test_data): Likewise.
11733 (ilogb_test_data): Likewise.
11734 (isgreater_test_data): Likewise.
11735 (isgreaterequal_test_data): Likewise.
11736 (isinf_test_data): Likewise.
11737 (isless_test_data): Likewise.
11738 (islessequal_test_data): Likewise.
11739 (islessgreater_test_data): Likewise.
11740 (isnan_test_data): Likewise.
11741 (isnormal_test_data): Likewise.
11742 (issignaling_test_data): Likewise.
11743 (isunordered_test_data): Likewise.
11744 (j0_test_data): Likewise.
11745 (j1_test_data): Likewise.
11746 (jn_test_data): Likewise.
11747 (lgamma_test_data): Likewise.
11748 (lrint_test_data): Likewise.
11749 (llrint_test_data): Likewise.
11750 (log_test_data): Likewise.
11751 (log10_test_data): Likewise.
11752 (log1p_test_data): Likewise.
11753 (log2_test_data): Likewise.
11754 (logb_test_data): Likewise.
11755 (lround_test_data): Likewise.
11756 (llround_test_data): Likewise.
11757 (modf_test_data): Likewise.
11758 (nearbyint_test_data): Likewise.
11759 (nextafter_test_data): Likewise.
11760 (nexttoward_test_data): Likewise.
11761 (pow_test_data): Likewise.
11762 (remainder_test_data): Likewise.
11763 (remquo_test_data): Likewise.
11764 (rint_test_data): Likewise.
11765 (round_test_data): Likewise.
11766 (signbit_test_data): Likewise.
11767 (sinh_test_data): Likewise.
11768 (sqrt_test_data): Likewise.
11769 (tanh_test_data): Likewise.
11770 (tgamma_test_data): Likewise.
11771 (trunc_test_data): Likewise.
11772 (y0_test_data): Likewise.
11773 (y1_test_data): Likewise.
11774 (yn_test_data): Likewise.
11775 (significand_test_data): Likewise.
11776
11777 2015-09-29 Carlos O'Donell <carlos@redhat.com>
11778
11779 * manual/filesys.texi (Storage Allocation): Document that
11780 posix_fallocate emulation fails when fd is open with O_WRONLY.
11781
11782 2015-09-28 Joseph Myers <joseph@codesourcery.com>
11783
11784 [BZ #19016]
11785 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11786 allow more cases with X^2 + Y^2 >= 0.5.
11787 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
11788 normal element in sum instead of special-casing based on values of
11789 arguments.
11790 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11791 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
11792 -1 as normal element in sum instead of special-casing based on
11793 values of arguments.
11794 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11795 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11796 (__x2y2m1): Update comment.
11797 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
11798 as normal element in sum instead of special-casing based on values
11799 of arguments.
11800 * math/s_clog.c (__clog): Handle more cases using log1p without
11801 hypot.
11802 * math/s_clog10.c (__clog10): Likewise.
11803 * math/s_clog10f.c (__clog10f): Likewise.
11804 * math/s_clog10l.c (__clog10l): Likewise.
11805 * math/s_clogf.c (__clogf): Likewise.
11806 * math/s_clogl.c (__clogl): Likewise.
11807 * math/auto-libm-test-in: Add more tests of clog and clog10.
11808 * math/auto-libm-test-out: Regenerated.
11809 * sysdeps/i386/fpu/libm-test-ulps: Update.
11810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11811
11812 2015-09-28 Martin Sebor <msebor@redhat.com>
11813
11814 [BZ #18969]
11815 * string/Makefile (LOCALES): Define.
11816 (gen-locales.mk): Include.
11817 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11818 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11819 * string/tst-strxfrm2.c (do_test): Print the name of the locale
11820 on setlocale failure.
11821
11822 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11823
11824 [BZ #18985]
11825 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11826 (__strftime_internal): Likewise.
11827 * time/tst-strftime.c (do_bz18985): New test.
11828 (do_test): Call it.
11829
11830 2015-09-26 Joseph Myers <joseph@codesourcery.com>
11831
11832 [BZ #18956]
11833 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11834 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
11835 extracting high part.
11836 * math/auto-libm-test-in: Add another test of pow.
11837 * math/auto-libm-test-out: Regenerated.
11838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11839
11840 2015-09-25 Joseph Myers <joseph@codesourcery.com>
11841
11842 [BZ #18825]
11843 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11844 New macro.
11845 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11846 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11847 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11848 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11849 DBL_NARROW_EVAL, reloading the PIC register as needed.
11850 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11851 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11852 FLT_NARROW_EVAL. Use separate return path for case when first
11853 argument is NaN.
11854 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
11855 DEFINE_LDBL_MIN.
11856 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11857 PIC register.
11858 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11859 math_check_force_underflow_nonneg.
11860 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11861 underflow for subnormal result.
11862 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11863 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11864 math_check_force_underflow_nonneg.
11865 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11866 math_check_force_underflow.
11867 * sysdeps/x86_64/fpu/x86_64-math-asm.h
11868 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11869 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
11870 DEFINE_LDBL_MIN.
11871 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11872 * math/auto-libm-test-in: Add more tests of pow.
11873 * math/auto-libm-test-out: Regenerated.
11874
11875 2015-09-25 Florian Weimer <fweimer@redhat.com>
11876
11877 * nss/bug17079.c (init_test_items): Add diagnostic for
11878 inconsistent entries.
11879 (test_buffer_size): Skip inconsistent entries.
11880
11881 2015-09-25 Joseph Myers <joseph@codesourcery.com>
11882
11883 [BZ #13304]
11884 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11885 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11886 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11887
11888 [BZ #13304]
11889 * sysdeps/microblaze/s_fma.c: New file.
11890 * sysdeps/microblaze/s_fmaf.c: Likewise.
11891 * sysdeps/microblaze/sfp-machine.h: Likewise.
11892
11893 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
11894
11895 [BZ #17250]
11896 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11897 member.
11898
11899 2015-09-24 Joseph Myers <joseph@codesourcery.com>
11900
11901 [BZ #18803]
11902 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11903 (MO): New macro.
11904 (__ieee754_hypot) [PIC]: Load PIC register.
11905 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11906 DBL_NARROW_EVAL.
11907 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11908 math_check_force_underflow_nonneg in case where result might be
11909 tiny.
11910 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11911 Likewise.
11912 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11913 Likewise.
11914 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11915 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11916 * math/auto-libm-test-in: Add more tests of hypot.
11917 * math/auto-libm-test-out: Regenerated.
11918
11919 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
11920
11921 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11922
11923 2015-09-24 Joseph Myers <joseph@codesourcery.com>
11924
11925 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11926 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11927 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11928 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11929 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11930 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11931 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11932
11933 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11934 LOAD_PIC_REG.
11935
11936 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11937 (FLT_CHECK_FORCE_UFLOW): Likewise.
11938 (DBL_CHECK_FORCE_UFLOW): Likewise.
11939 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11940 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11941 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11942 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11943 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11944 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11945 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11946 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11947 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11948 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11949 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11950 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11951 (flt_min): Replace with use of DEFINE_FLT_MIN.
11952 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11953 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11954 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11955 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11956 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11957 (flt_min): Replace with use of DEFINE_FLT_MIN.
11958 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11959 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11960 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11961 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11962 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11963 (flt_min): Replace with use of DEFINE_FLT_MIN.
11964 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11965 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11966 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11967 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11968 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11969 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11970 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11971 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11972 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11973 (__atan): Use DBL_CHECK_FORCE_UFLOW.
11974 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11975 (flt_min): Replace with use of DEFINE_FLT_MIN.
11976 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11977 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11978 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11979 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
11980 main computation.
11981 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11982 (flt_min): Replace with use of DEFINE_FLT_MIN.
11983 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
11984 main computation.
11985 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11986 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11987 (MO): New macro.
11988 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11989 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11990 (flt_min): Replace with use of DEFINE_FLT_MIN.
11991 (MO): New macro.
11992 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11993 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11994 (__log1pl): Use MO.
11995
11996 [BZ #19003]
11997 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11998 $(config-cflags-nofma).
11999
12000 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
12001
12002 * sysdeps/aarch64/libm-test-ulps: Regenerated.
12003
12004 2015-09-23 Joseph Myers <joseph@codesourcery.com>
12005
12006 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
12007 (TWO127): Likewise.
12008
12009 * sysdeps/generic/math_private.h (fabs_tg): New macro.
12010 (min_of_type): Likewise.
12011 (math_check_force_underflow): Likewise.
12012 (math_check_force_underflow_nonneg): Likewise.
12013 (math_check_force_underflow_complex): Likewise.
12014 * math/e_exp2l.c (__ieee754_exp2l): Use
12015 math_check_force_underflow_nonneg.
12016 * math/k_casinh.c (__kernel_casinh): Likewise.
12017 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12018 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12019 * math/s_catan.c (__catan): Use
12020 math_check_force_underflow_complex.
12021 * math/s_catanf.c (__catanf): Likewise.
12022 * math/s_catanh.c (__catanh): Likewise.
12023 * math/s_catanhf.c (__catanhf): Likewise.
12024 * math/s_catanhl.c (__catanhl): Likewise.
12025 * math/s_catanl.c (__catanl): Likewise.
12026 * math/s_ccosh.c (__ccosh): Likewise.
12027 * math/s_ccoshf.c (__ccoshf): Likewise.
12028 * math/s_ccoshl.c (__ccoshl): Likewise.
12029 * math/s_cexp.c (__cexp): Likewise.
12030 * math/s_cexpf.c (__cexpf): Likewise.
12031 * math/s_cexpl.c (__cexpl): Likewise.
12032 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
12033 * math/s_clog10.c (__clog10): Likewise.
12034 * math/s_clog10f.c (__clog10f): Likewise.
12035 * math/s_clog10l.c (__clog10l): Likewise.
12036 * math/s_clogf.c (__clogf): Likewise.
12037 * math/s_clogl.c (__clogl): Likewise.
12038 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
12039 * math/s_csinf.c (__csinf): Likewise.
12040 * math/s_csinh.c (__csinh): Likewise.
12041 * math/s_csinhf.c (__csinhf): Likewise.
12042 * math/s_csinhl.c (__csinhl): Likewise.
12043 * math/s_csinl.c (__csinl): Likewise.
12044 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
12045 * math/s_csqrtf.c (__csqrtf): Likewise.
12046 * math/s_csqrtl.c (__csqrtl): Likewise.
12047 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
12048 * math/s_ctanf.c (__ctanf): Likewise.
12049 * math/s_ctanh.c (__ctanh): Likewise.
12050 * math/s_ctanhf.c (__ctanhf): Likewise.
12051 * math/s_ctanhl.c (__ctanhl): Likewise.
12052 * math/s_ctanl.c (__ctanl): Likewise.
12053 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
12054 instead of volatile.
12055 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
12056 math_check_force_underflow.
12057 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12058 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
12059 volatile when forcing underflow.
12060 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12061 math_check_force_underflow_nonneg.
12062 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12063 Likewise.
12064 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
12065 math_check_force_underflow.
12066 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12067 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12068 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12069 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
12070 math_check_force_underflow_nonneg.
12071 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
12072 math_check_force_underflow.
12073 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
12075 instead of volatile.
12076 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
12077 math_check_force_underflow.
12078 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12079 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12080 math_check_force_underflow_nonneg.
12081 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12082 math_check_force_underflow.
12083 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12084 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12085 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12086 math_check_force_underflow_nonneg.
12087 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12088 Likewise.
12089 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12090 math_check_force_underflow.
12091 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12092 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12093 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12094 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
12095 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12096 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
12097 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12098 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12099 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12100 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
12101 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12102 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12103 Likewise.
12104 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
12105 math_check_force_underflow_nonneg.
12106 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12107 Likewise.
12108 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
12109 math_check_force_underflow.
12110 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12111 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12112 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12113 Likewise.
12114 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12115 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
12116 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
12117 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
12118 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
12119 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12120 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
12121 instead of volatile.
12122 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
12123 math_check_force_underflow.
12124 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
12125 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
12126 math_check_force_underflow.
12127 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
12128 Likewise.
12129 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12130 Use math_check_force_underflow_nonneg.
12131 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
12132 math_check_force_underflow.
12133 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12134 Likewise.
12135 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12136 Likewise.
12137 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12138 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12139 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12140 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12141 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
12142 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12143 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12144 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
12145 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
12146 math_check_force_underflow_nonneg.
12147 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
12148 math_check_force_underflow.
12149 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12150 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
12151 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
12152 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
12153 math_check_force_underflow_nonneg.
12154 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
12155 math_check_force_underflow.
12156 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
12157 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
12158 instead of volatile.
12159 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
12160 math_check_force_underflow.
12161
12162 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
12163 * stdlib/strtod_l.c: Include <math_private.h>.
12164 (overflow_value): Use math_narrow_eval.
12165 (underflow_value): Likewise.
12166 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12167 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12168 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12169 (__ieee754_gamma_r): Likewise.
12170 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
12171 Likewise.
12172 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12173 Likewise.
12174 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12175 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
12176 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12177 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12178 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12179 (__ieee754_gammaf_r): Likewise.
12180 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12181 Likewise.
12182 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12183 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
12184 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
12185 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
12186 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
12187 volatile.
12188 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
12189 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
12190 math_narrow_eval.
12191 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12192 Likewise.
12193 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12194 Likewise.
12195 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
12196 Likewise.
12197 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
12198 volatile.
12199 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
12200 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
12201 math_narrow_eval.
12202 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12203 Likewise.
12204 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12205 Likewise.
12206
12207 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
12208
12209 * nptl/Versions: Remove ignored symbols.
12210
12211 2015-09-22 Florian Weimer <fweimer@redhat.com>
12212
12213 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
12214 * nss/Makefile (tests): Update.
12215
12216 2015-09-22 Florian Weimer <fweimer@redhat.com>
12217
12218 * nss/bug18287.c: New file.
12219 * nss/Makefile (tests): Add bug18287.
12220
12221 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12222
12223 * mach/Versions (__mach_host_self_): Add symbol.
12224
12225 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
12226
12227 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12228 vm_page_size.
12229
12230 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12231
12232 Really fix sysdeps/i386/fpu/s_scalbn.S build
12233
12234 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12235 (libc: GLIBC_2_22): Remove unused version set.
12236
12237 2015-09-18 Mike Frysinger <vapier@gentoo.org>
12238
12239 * config.make.in (enable-timezone-tools): New variable.
12240 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12241 (enable_timezone_tools): Export to generated files.
12242 * configure: Regenerate.
12243 * INSTALL: Regenerate.
12244 * manual/install.texi (--disable-timezone-tools): Document new flag.
12245 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12246 ifeq ($(enable-timezone-tools),yes) check.
12247
12248 2015-09-18 Joseph Myers <joseph@codesourcery.com>
12249
12250 * timezone/Makefile: Revert previous change.
12251
12252 [BZ #18980]
12253 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12254 (DEFINE_DBL_MIN): Likewise.
12255 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12256 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12257 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12258 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12259 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12260 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12261 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12262 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12263 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12264 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12265 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12266 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12267 (flt_min): Replace with use of DEFINE_FLT_MIN.
12268 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12269 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12270 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12271 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12272 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12273 (flt_min): Replace with use of DEFINE_FLT_MIN.
12274 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12275 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12276 (flt_min): Replace with use of DEFINE_FLT_MIN.
12277 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12278 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12279 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12280 (__ieee754_hypot): Use DBL_NARROW_EVAL.
12281 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12282 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12283 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12284 (__ieee754_pow): Use DBL_NARROW_EVAL.
12285 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12286 (__ieee754_powf): Use FLT_NARROW_EVAL.
12287 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12288 (__ieee754_expf_sse2): Convert double-precision result to single
12289 precision.
12290 * sysdeps/i386/fpu/libm-test-ulps: Update.
12291
12292 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12293
12294 * timezone/Makefile: Ignore unused variable errors due to private.h
12295 (time_t_min) and (time_t_max).
12296 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
12297 Likewise.
12298
12299 2015-09-18 Joseph Myers <joseph@codesourcery.com>
12300
12301 [BZ #18981]
12302 * sysdeps/i386/fpu/i386-math-asm.h: New file.
12303 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12304 (__ieee754_scalb): Use DBL_NARROW_EVAL.
12305 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12306 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12307 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12308 (__scalbn): Use DBL_NARROW_EVAL.
12309 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12310 (__scalbnf): Use FLT_NARROW_EVAL.
12311
12312 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12313
12314 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12315 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12316 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12317 * stdio-common/printf_fp.c (___printf_fp):
12318 Use signbit to get the sign. Use isinf macro to allow inlining.
12319 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12320 * stdio-common/printf_size.c (__printf_size): Likewise.
12321
12322 2015-09-18 Mike Frysinger <vapier@gentoo.org>
12323
12324 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12325
12326 2015-09-18 Joseph Myers <joseph@codesourcery.com>
12327
12328 [BZ #18980]
12329 * sysdeps/generic/math_private.h: Include <float.h>.
12330 (math_narrow_eval): New macro.
12331 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12332 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12333 math_narrow_eval on overflowing return value.
12334 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12335 Likewise.
12336 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12337 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12338 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12339 Likewise.
12340 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12341
12342 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12343
12344 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12345 * math/Makefile: Remove isinf_ns.c.
12346 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12347 * math/multc3.c (__multc3): Likewise.
12348 * math/s_casin.c (__casin): Likewise.
12349 * math/s_casinf.c (__casinf): Likewise.
12350 * math/s_casinl.c (__casinl): Likewise.
12351 * math/s_cproj.c (__cproj): Likewise.
12352 * math/s_cprojf.c (__cprojf): Likewise.
12353 * math/s_cprojl.c (__cprofl): Likewise.
12354 * math/s_ctan.c (__ctan): Likewise.
12355 * math/s_ctanf.c (__ctanf): Likewise.
12356 * math/s_ctanh.c (__ctanh): Likewise.
12357 * math/s_ctanhf.c (__ctanhf): Likewise.
12358 * math/s_ctanhl.c (__ctanhl): Likewise.
12359 * math/s_ctanl.c (__ctanl): Likewise.
12360 * math/w_fmod.c (__fmod): Likewise.
12361 * math/w_fmodf.c (__fmodf): Likewise.
12362 * math/w_fmodl.c (_fmodl): Likewise.
12363 * math/w_remainder.c (__remainder): Likewise.
12364 * math/w_remainderf.c (__remainderf): Likewise.
12365 * math/w_remainderl.c (__remainderl): Likewise.
12366 * math/w_scalb.c (__scalb): Likewise.
12367 * math/w_scalbf.c (__scalbf): Likewise.
12368 * math/w_scalbl.c (__scalbl): Likewise.
12369 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
12370 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
12371 with isinf.
12372 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
12373 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
12374 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
12375 __isinf_nsf with isinf.
12376 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
12377 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
12378 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
12379 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
12380 with isinf.
12381 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
12382 __isinf_nsl with isinf.
12383 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
12384 with isinf.
12385 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
12386 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
12387 __isinf_nsl with isinf.
12388 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
12389 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
12390 with isinf.
12391
12392 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12393
12394 * resolv/base64.c (rcsid): Remove unused static.
12395 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
12396 static. (tqpi1): Likewise.
12397 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
12398 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
12399 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
12400 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
12401 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
12402 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
12403 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
12404 * timezone/private.h (time_t_min): Likewise. (time_t_max):
12405 Likewise.
12406
12407 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
12408
12409 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
12410 <nptl/pthreadP.h>.
12411 (_longjmp_unwind): Use __libc_ptf_call.
12412 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
12413
12414 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
12415
12416 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
12417 * sysdeps/arm/__longjmp.S: Likewise.
12418
12419 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12420
12421 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
12422 Use __builtin_signbit.
12423 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
12424 Use __builtin_signbitf.
12425 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
12426 Use __builtin_signbitl.
12427 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12428 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
12429
12430 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12431
12432 [BZ #15367]
12433 [BZ #17441]
12434
12435 * math/Makefile: Build test-snan.c with -fsignaling-nans.
12436 * math/math.h (fpclassify): Use __builtin_fpclassify when
12437 available. (signbit): Use __builtin_signbit(f/l).
12438 (isfinite): Use__builtin_isfinite. (isnormal): Use
12439 __builtin_isnormal. (isnan): Use __builtin_isnan.
12440 (isinf): Use __builtin_isinf_sign.
12441
12442 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12443
12444 * benchtests/Makefile: Add bench-math-inlines, link with libm.
12445 * benchtests/bench-math-inlines.c: New benchmark.
12446 * benchtests/bench-util.h: New file.
12447 * benchtests/bench-util.c: New file.
12448 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
12449
12450 2015-09-18 Carlos O'Donell <carlos@redhat.com>
12451
12452 * elf/tst-dlmopen1.c: Define TEST_SO.
12453 (do_test): Use TEST_SO.
12454
12455 * elf/dl-load.c: Include libc-internal.h.
12456 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12457
12458 2015-09-18 Vincent Bernat <vincent@bernat.im>
12459
12460 [BZ #17887]
12461 * time/strptime_l.c (__strptime_internal): Make %z accept
12462 [+-]HH:MM time zones.
12463
12464 2015-09-18 Vincent Bernat <vincent@bernat.im>
12465
12466 [BZ #17886]
12467 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12468 valid time zone.
12469
12470 2015-09-17 Mike Frysinger <vapier@gentoo.org>
12471
12472 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12473 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12474 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12475 (__ASSUME_FDATASYNC): Delete.
12476
12477 2015-09-17 Joseph Myers <joseph@codesourcery.com>
12478
12479 * conform/linknamespace.pl: Require weak undefined symbols to be
12480 in the standard namespace.
12481 (%strong_syms): Rename to %seen_syms.
12482 (%strong_seen): Rename to %seen_where.
12483
12484 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
12485
12486 [BZ #18970]
12487 * misc/error.c (error): Replace pthread_setcancelstate with
12488 __pthread_setcancelstate.
12489 (error_at_line): Likewise.
12490 * posix/wordexp.c (parse_comm): Likewise.
12491 * stdlib/fmtmsg.c (fmtmsg): Likewise.
12492 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12493 (__pthread_setcancelstate): This.
12494 (pthread_setcancelstate): Add an alias.
12495 * nptl/nptl-init.c (pthread_functions): Replace
12496 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12497 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12498 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12499 hidden_proto.
12500 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12501 it with hidden_def.
12502 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12503 (pthread_setcancelstate): Renamed to ...
12504 (__pthread_setcancelstate): This.
12505 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12506 __libc_ptf_call with __pthread_setcancelstate.
12507
12508 2015-09-17 Joseph Myers <joseph@codesourcery.com>
12509 Andreas Schwab <schwab@suse.de>
12510
12511 [BZ #17118]
12512 * math/s_ctan.c (__ctan): Determine sign of zero real part of
12513 result when imaginary part of argument is infinite using sine and
12514 cosine.
12515 * math/s_ctanf.c (__ctanf): Likewise.
12516 * math/s_ctanl.c (__ctanl): Likewise.
12517 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12518 of result when real part of argument is infinite using sine and
12519 cosine.
12520 * math/s_ctanhf.c (__ctanhf): Likewise.
12521 * math/s_ctanhl.c (__ctanhl): Likewise.
12522 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12523 (ctanh_test_data): Add more tests of ctanh.
12524
12525 2015-09-17 Joseph Myers <joseph@codesourcery.com>
12526
12527 [BZ #15384]
12528 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12529 bit-mask as in subtraction.
12530 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12531 Likewise.
12532 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12533 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12534 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12535
12536 [BZ #18951]
12537 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12538 underflow exception for small results.
12539 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12540 Likewise.
12541 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12542 Likewise.
12543 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12544 Likewise.
12545 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12546 Likewise.
12547 * math/auto-libm-test-in: Add more tests of tgamma.
12548 * math/auto-libm-test-out: Regenerated.
12549
12550 2015-09-17 Andreas Schwab <schwab@suse.de>
12551
12552 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12553
12554 2015-09-16 Joseph Myers <joseph@codesourcery.com>
12555
12556 [BZ #18977]
12557 * math/bits/mathcalls.h
12558 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12559 not declare.
12560 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12561 Likewise.
12562 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12563 Likewise.
12564 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12565 Likewise.
12566 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12567 Likewise.
12568 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12569 Likewise.
12570 * conform/data/math.h-data
12571 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12572 function.
12573 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12574 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12575 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12576 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12577 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12578 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12579 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12580 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12581 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12582 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12583 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12584
12585 [BZ #6803]
12586 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12587 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12588 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12589 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12590 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12591 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12592 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12593 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12594 [NO_LONG_DOUBLE] (scalbnl): Likewise.
12595 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12596 Likewise.
12597 [NO_LONG_DOUBLE] (scalbnl): Likewise.
12598 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12599 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12600 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12601 long_double_symbol calls.
12602 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12603 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12604 strong alias of __ldexpl.
12605 (scalbnl): Define using long_double_symbol.
12606 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12607 Remove alias.
12608 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12609 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12610 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12611 (scalbln_test_data): Add more errno expectations.
12612
12613 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
12614
12615 Cache the host port like we cache the task port. This way we do not
12616 need to call the kernel just to get the port. Furthermore, we no
12617 longer increase the reference count on every invocation of
12618 `mach_host_self'.
12619
12620 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12621 Protect declarations against the macro expansion.
12622 * mach/mach_init.c (__mach_host_self_): New variable.
12623 (mach_init): Initialize `__mach_host_self_'.
12624 * mach/mach_init.h (__mach_host_self_): New declaration.
12625 (__mach_host_self, mach_host_self): New macros.
12626 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12627 Release reference.
12628
12629 2015-09-16 Joseph Myers <joseph@codesourcery.com>
12630
12631 [BZ #4404]
12632 * po/de.po: Update from Translation Project.
12633
12634 [BZ #16415]
12635 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12636 (__expm1l): Remove code to handle positive infinity and overflow.
12637 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12638 variable.
12639 (__expm1l): Remove code to handle positive infinity and overflow.
12640
12641 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
12642 Paul Pluzhnikov <ppluzhnikov@google.com>
12643
12644 [BZ #18872]
12645 * stdio-common/Makefile (tst-printf-bz18872): New test.
12646 (tst-printf-bz18872-mem.out): Likewise.
12647 * stdio-common/tst-printf-bz18872.sh: Generate new test.
12648 * stdio-common/vfprintf.c: Fix memory leaks.
12649
12650 2015-09-16 Andreas Schwab <schwab@suse.de>
12651
12652 [BZ #17244]
12653 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12654 Remove extra va_start/va_end calls.
12655
12656 [BZ #17243]
12657 * posix/execl.c (execl): Add missing va_end.
12658 * posix/execle.c (execle): Likewise.
12659 * posix/execlp.c (execlp): Likewise.
12660
12661 2015-09-15 Roland McGrath <roland@hack.frob.com>
12662
12663 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12664 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12665
12666 2015-09-15 Joseph Myers <joseph@codesourcery.com>
12667
12668 [BZ #18967]
12669 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
12670 undefine around includes of <bits/mathcalls.h>.
12671 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12672 not declare function.
12673 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12674 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12675 (scalb): Likewise.
12676 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12677 not define macro.
12678 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12679 variable.
12680 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12681 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12682 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12683
12684 [BZ #18857]
12685 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12686 return non-finite argument without doing ordered comparisons on
12687 it.
12688
12689 [BZ #16296]
12690 * math/fenv.h (fegetround): Use __attribute_pure__.
12691 * include/fenv.h (__fegetround): Likewise.
12692
12693 [BZ #18595]
12694 * math/s_ctan.c (__ctan): Force underflow exception for results
12695 whose real or imaginary part has small absolute value.
12696 * math/s_ctanf.c (__ctanf): Likewise.
12697 * math/s_ctanh.c (__ctanh): Likewise.
12698 * math/s_ctanhf.c (__ctanhf): Likewise.
12699 * math/s_ctanhl.c (__ctanhl): Likewise.
12700 * math/s_ctanl.c (__ctanl): Likewise.
12701 * math/auto-libm-test-in: Do not allow missing underflow for ctan
12702 and ctanh. Add more tests of ctan and ctanh.
12703
12704 [BZ #15918]
12705 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12706 handling of cases where one argument is an infinity.
12707
12708 [BZ #18875]
12709 [BZ #18966]
12710 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12711 (MO): New macro.
12712 (__ieee754_exp10): For small results, force underflow exception
12713 and remove excess range and precision from return value.
12714 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12715 (MO): New macro.
12716 (__ieee754_exp10f): For small results, force underflow exception
12717 and remove excess range and precision from return value.
12718 * math/auto-libm-test-in: Add more tests of exp10.
12719 * math/auto-libm-test-out: Regenerated.
12720
12721 2015-09-14 Joseph Myers <joseph@codesourcery.com>
12722
12723 [BZ #18875]
12724 [BZ #18961]
12725 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12726 (MO): New macro.
12727 (__ieee754_exp): For small results, force underflow exception and
12728 remove excess range and precision from return value.
12729 (__exp_finite): Likewise.
12730 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12731 (MO): New macro.
12732 (__ieee754_expf): For small results, force underflow exception and
12733 remove excess range and precision from return value.
12734 (__expf_finite): Likewise.
12735 * math/auto-libm-test-in: Add more tests of exp.
12736 * math/auto-libm-test-out: Regenerated.
12737
12738 [BZ #16521]
12739 [BZ #18875]
12740 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12741 small results.
12742 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12743 (MO): New macro.
12744 (__ieee754_exp2): For small results, force underflow exception and
12745 remove excess range and precision from return value.
12746 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12747 (MO): New macro.
12748 (__ieee754_exp2f): For small results, force underflow exception
12749 and remove excess range and precision from return value.
12750 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12751 (MO): New macro.
12752 (__ieee754_exp2l): Force underflow exception for small results.
12753 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12754 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12755 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12756 (MO): New macro.
12757 (__ieee754_exp2l): Force underflow exception for small results.
12758 * math/auto-libm-test-in: Add more tests or exp2.
12759 * math/auto-libm-test-out: Regenerated.
12760
12761 2015-09-14 Carlos O'Donell <carlos@redhat.com>
12762
12763 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12764
12765 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12766 /dev/null.
12767
12768 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12769
12770 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12771 io fs process)): Drop spurious backslash.
12772
12773 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12774
12775 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12776 Use sysinfo system call instead of parsing /proc/meminfo.
12777 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12778 Likewise.
12779
12780 2015-09-11 Mike Frysinger <vapier@gentoo.org>
12781
12782 [BZ #16985]
12783 * programs/localedef.c (main): Display argv[remaining] when
12784 output_path is NULL.
12785
12786 2015-09-11 Joseph Myers <joseph@codesourcery.com>
12787
12788 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12789 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12790 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12791 tanh.
12792 * math/auto-libm-test-out: Regenerated.
12793 * sysdeps/i386/fpu/libm-test-ulps: Update.
12794 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12795 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12797
12798 2015-09-11 Roland McGrath <roland@hack.frob.com>
12799
12800 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12801 Use 'override' keyword to freeze the value here, preventing
12802 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12803
12804 2015-09-11 Joseph Myers <joseph@codesourcery.com>
12805
12806 [BZ #14912]
12807 * sysdeps/aarch64/bits/atomic.h: Move to ...
12808 * sysdeps/aarch64/atomic-machine.h: ...here.
12809 (_AARCH64_BITS_ATOMIC_H): Rename macro to
12810 _AARCH64_ATOMIC_MACHINE_H.
12811 * sysdeps/alpha/bits/atomic.h: Move to ...
12812 * sysdeps/alpha/atomic-machine.h: ...here.
12813 * sysdeps/arm/bits/atomic.h: Move to ...
12814 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
12815 * bits/atomic.h: Move to ...
12816 * sysdeps/generic/atomic-machine.h: ...here.
12817 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12818 * sysdeps/i386/bits/atomic.h: Move to ...
12819 * sysdeps/i386/atomic-machine.h: ...here.
12820 * sysdeps/ia64/bits/atomic.h: Move to ...
12821 * sysdeps/ia64/atomic-machine.h: ...here.
12822 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12823 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12824 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12825 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12826 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12827 * sysdeps/microblaze/bits/atomic.h: Move to ...
12828 * sysdeps/microblaze/atomic-machine.h: ...here.
12829 * sysdeps/mips/bits/atomic.h: Move to ...
12830 * sysdeps/mips/atomic-machine.h: ...here.
12831 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12832 * sysdeps/powerpc/bits/atomic.h: Move to ...
12833 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
12834 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12835 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
12836 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
12837 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12838 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
12839 <atomic-machine.h> instead of <bits/atomic.h>.
12840 * sysdeps/s390/bits/atomic.h: Move to ...
12841 * sysdeps/s390/atomic-machine.h: ...here.
12842 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12843 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12844 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12845 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12846 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12847 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12848 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12849 * sysdeps/tile/bits/atomic.h: Move to ...
12850 * sysdeps/tile/atomic-machine.h: ...here.
12851 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12852 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
12853 <sysdeps/tile/atomic-machine.h> instead of
12854 <sysdeps/tile/bits/atomic.h>.
12855 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12856 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12857 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
12858 <sysdeps/tile/atomic-machine.h> instead of
12859 <sysdeps/tile/bits/atomic.h>.
12860 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12861 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12862 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
12863 <sysdeps/arm/atomic-machine.h> instead of
12864 <sysdeps/arm/bits/atomic.h>.
12865 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12866 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12867 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12868 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12869 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12870 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12871 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12872 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12873 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12874 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12875 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12876 * sysdeps/x86_64/bits/atomic.h: Move to ...
12877 * sysdeps/x86_64/atomic-machine.h: ...here.
12878 * include/atomic.h: Include <atomic-machine.h> instead of
12879 <bits/atomic.h>.
12880
12881 * sysdeps/mips/mips32/libm-test-ulps: Update.
12882 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12883
12884 [BZ #18952]
12885 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12886 not convert non-integer negative arguments to int to determine the
12887 value of signgam.
12888 * math/auto-libm-test-in: Add more tests of lgamma.
12889 * math/auto-libm-test-out: Regenerated.
12890
12891 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12892 cosh, csqrt, erfc, expm1 and lgamma.
12893 * math/auto-libm-test-out: Regenerated.
12894 * sysdeps/i386/fpu/libm-test-ulps: Update.
12895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12896
12897 2015-09-10 Joseph Myers <joseph@codesourcery.com>
12898
12899 [BZ #2542]
12900 [BZ #2543]
12901 [BZ #2558]
12902 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12903 __lgamma_neg for arguments from -28.0 to -2.0.
12904 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12905 __lgamma_negf for arguments from -15.0 to -2.0.
12906 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12907 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12908 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12909 Call __lgamma_negl for arguments from -33.0 to -2.0.
12910 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12911 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12912 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12913 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12914 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12915 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12916 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12917 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12918 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12919 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12920 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12921 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12922 (__lgamma_neg): Likewise.
12923 (__lgamma_negl): Likewise.
12924 (__lgamma_product): Likewise.
12925 (__lgamma_productl): Likewise.
12926 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12927 * math/auto-libm-test-in: Add more tests of lgamma.
12928 * math/auto-libm-test-out: Regenerated.
12929 * sysdeps/i386/fpu/libm-test-ulps: Update.
12930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12931
12932 2015-09-09 Justin Maggard <jmaggard@netgear.com>
12933
12934 [BZ #18675]
12935 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12936
12937 2015-09-08 Joseph Myers <joseph@codesourcery.com>
12938
12939 [BZ #14912]
12940 * bits/libc-lock.h: Move to ...
12941 * sysdeps/generic/libc-lock.h: ...here.
12942 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12943 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12944 * sysdeps/mach/hurd/libc-lock.h: ...here.
12945 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12946 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12947 * sysdeps/mach/bits/libc-lock.h: Move to ...
12948 * sysdeps/mach/libc-lock.h: ...here.
12949 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12950 * sysdeps/nptl/bits/libc-lock.h: Move to ...
12951 * sysdeps/nptl/libc-lock.h: ...here.
12952 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12953 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12954 * sysdeps/nptl/libc-lockP.h: ...here.
12955 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12956 * crypt/crypt_util.c: Include <libc-lock.h> instead of
12957 <bits/libc-lock.h>.
12958 * dirent/scandir-tail.c: Likewise.
12959 * dlfcn/dlerror.c: Likewise.
12960 * elf/dl-close.c: Likewise.
12961 * elf/dl-iteratephdr.c: Likewise.
12962 * elf/dl-lookup.c: Likewise.
12963 * elf/dl-open.c: Likewise.
12964 * elf/dl-support.c: Likewise.
12965 * elf/dl-writev.h: Likewise.
12966 * elf/rtld.c: Likewise.
12967 * grp/fgetgrent.c: Likewise.
12968 * gshadow/fgetsgent.c: Likewise.
12969 * gshadow/sgetsgent.c: Likewise.
12970 * iconv/gconv_conf.c: Likewise.
12971 * iconv/gconv_db.c: Likewise.
12972 * iconv/gconv_dl.c: Likewise.
12973 * iconv/gconv_int.h: Likewise.
12974 * iconv/gconv_trans.c: Likewise.
12975 * include/link.h: Likewise.
12976 * inet/getnameinfo.c: Likewise.
12977 * inet/getnetgrent.c: Likewise.
12978 * inet/getnetgrent_r.c: Likewise.
12979 * intl/bindtextdom.c: Likewise.
12980 * intl/dcigettext.c: Likewise.
12981 * intl/finddomain.c: Likewise.
12982 * intl/gettextP.h: Likewise.
12983 * intl/loadmsgcat.c: Likewise.
12984 * intl/localealias.c: Likewise.
12985 * intl/textdomain.c: Likewise.
12986 * libidn/idn-stub.c: Likewise.
12987 * libio/libioP.h: Likewise.
12988 * locale/duplocale.c: Likewise.
12989 * locale/freelocale.c: Likewise.
12990 * locale/newlocale.c: Likewise.
12991 * locale/setlocale.c: Likewise.
12992 * login/getutent_r.c: Likewise.
12993 * login/getutid_r.c: Likewise.
12994 * login/getutline_r.c: Likewise.
12995 * login/utmp-private.h: Likewise.
12996 * login/utmpname.c: Likewise.
12997 * malloc/mtrace.c: Likewise.
12998 * misc/efgcvt.c: Likewise.
12999 * misc/error.c: Likewise.
13000 * misc/fstab.c: Likewise.
13001 * misc/getpass.c: Likewise.
13002 * misc/mntent.c: Likewise.
13003 * misc/syslog.c: Likewise.
13004 * nis/nis_call.c: Likewise.
13005 * nis/nis_callback.c: Likewise.
13006 * nis/nss-default.c: Likewise.
13007 * nis/nss_compat/compat-grp.c: Likewise.
13008 * nis/nss_compat/compat-initgroups.c: Likewise.
13009 * nis/nss_compat/compat-pwd.c: Likewise.
13010 * nis/nss_compat/compat-spwd.c: Likewise.
13011 * nis/nss_nis/nis-alias.c: Likewise.
13012 * nis/nss_nis/nis-ethers.c: Likewise.
13013 * nis/nss_nis/nis-grp.c: Likewise.
13014 * nis/nss_nis/nis-hosts.c: Likewise.
13015 * nis/nss_nis/nis-network.c: Likewise.
13016 * nis/nss_nis/nis-proto.c: Likewise.
13017 * nis/nss_nis/nis-pwd.c: Likewise.
13018 * nis/nss_nis/nis-rpc.c: Likewise.
13019 * nis/nss_nis/nis-service.c: Likewise.
13020 * nis/nss_nis/nis-spwd.c: Likewise.
13021 * nis/nss_nisplus/nisplus-alias.c: Likewise.
13022 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
13023 * nis/nss_nisplus/nisplus-grp.c: Likewise.
13024 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
13025 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
13026 * nis/nss_nisplus/nisplus-network.c: Likewise.
13027 * nis/nss_nisplus/nisplus-proto.c: Likewise.
13028 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
13029 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
13030 * nis/nss_nisplus/nisplus-service.c: Likewise.
13031 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
13032 * nis/ypclnt.c: Likewise.
13033 * nptl/libc_pthread_init.c: Likewise.
13034 * nss/getXXbyYY.c: Likewise.
13035 * nss/getXXent.c: Likewise.
13036 * nss/getXXent_r.c: Likewise.
13037 * nss/nss_db/db-XXX.c: Likewise.
13038 * nss/nss_db/db-netgrp.c: Likewise.
13039 * nss/nss_db/nss_db.h: Likewise.
13040 * nss/nss_files/files-XXX.c: Likewise.
13041 * nss/nss_files/files-alias.c: Likewise.
13042 * nss/nsswitch.c: Likewise.
13043 * posix/regex_internal.h: Likewise.
13044 * posix/wordexp.c: Likewise.
13045 * pwd/fgetpwent.c: Likewise.
13046 * resolv/res_hconf.c: Likewise.
13047 * resolv/res_libc.c: Likewise.
13048 * shadow/fgetspent.c: Likewise.
13049 * shadow/lckpwdf.c: Likewise.
13050 * shadow/sgetspent.c: Likewise.
13051 * socket/opensock.c: Likewise.
13052 * stdio-common/reg-modifier.c: Likewise.
13053 * stdio-common/reg-printf.c: Likewise.
13054 * stdio-common/reg-type.c: Likewise.
13055 * stdio-common/vfprintf.c: Likewise.
13056 * stdio-common/vfscanf.c: Likewise.
13057 * stdlib/abort.c: Likewise.
13058 * stdlib/cxa_atexit.c: Likewise.
13059 * stdlib/fmtmsg.c: Likewise.
13060 * stdlib/random.c: Likewise.
13061 * stdlib/setenv.c: Likewise.
13062 * string/strsignal.c: Likewise.
13063 * sunrpc/auth_none.c: Likewise.
13064 * sunrpc/bindrsvprt.c: Likewise.
13065 * sunrpc/create_xid.c: Likewise.
13066 * sunrpc/key_call.c: Likewise.
13067 * sunrpc/rpc_thread.c: Likewise.
13068 * sysdeps/arm/backtrace.c: Likewise.
13069 * sysdeps/generic/ldsodefs.h: Likewise.
13070 * sysdeps/generic/stdio-lock.h: Likewise.
13071 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
13072 * sysdeps/i386/backtrace.c: Likewise.
13073 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13074 * sysdeps/m68k/backtrace.c: Likewise.
13075 * sysdeps/mach/hurd/cthreads.c: Likewise.
13076 * sysdeps/mach/hurd/dirstream.h: Likewise.
13077 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13078 * sysdeps/nptl/malloc-machine.h: Likewise.
13079 * sysdeps/nptl/stdio-lock.h: Likewise.
13080 * sysdeps/posix/dirstream.h: Likewise.
13081 * sysdeps/posix/getaddrinfo.c: Likewise.
13082 * sysdeps/posix/system.c: Likewise.
13083 * sysdeps/pthread/aio_suspend.c: Likewise.
13084 * sysdeps/s390/s390-32/backtrace.c: Likewise.
13085 * sysdeps/s390/s390-64/backtrace.c: Likewise.
13086 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13087 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13088 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13089 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13090 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13091 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13092 * sysdeps/unix/sysv/linux/system.c: Likewise.
13093 * sysdeps/x86_64/backtrace.c: Likewise.
13094 * time/alt_digit.c: Likewise.
13095 * time/era.c: Likewise.
13096 * time/tzset.c: Likewise.
13097 * wcsmbs/wcsmbsload.c: Likewise.
13098 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
13099 instead of <bits/libc-lock.h> in comment.
13100
13101 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
13102
13103 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
13104 Only use .set mips2 if the current ISA is below mips2.
13105 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
13106 Likewise.
13107 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
13108 mips32r2 if the current ISA is below mips32r2.
13109 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
13110 (TLS_IE): Updated to use the TLD_RDHWR macro.
13111 (TLS_LE): Likewise.
13112 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
13113 __ASSEMBLER__ condition.
13114
13115 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13116
13117 Fix parallel build of before-compile targets.
13118
13119 * sysdeps/mach/Makefile ($(patsubst
13120 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
13121 mach-before-compile target.
13122 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13123 io fs process)): Move rule to dedicated hurd-before-compile target.
13124
13125 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13126
13127 Fix rules generating headers in hurd/ and mach/ when initial make call
13128 has subdir= explicitly set.
13129
13130 * sysdeps/mach/Makefile ($(patsubst
13131 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
13132 calling $(MAKE).
13133 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13134 io fs process)): Force subdir to hurd when calling $(MAKE).
13135 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
13136 subdir to mach when calling $(MAKE).
13137
13138 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
13139
13140 Check sysheaders when looking for Mach and Hurd headers
13141
13142 * sysdeps/mach/configure.ac: Add sysheaders check.
13143 * sysdeps/mach/configure: Regenerate.
13144 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
13145 * sysdeps/mach/hurd/configure: Regenerate.
13146
13147 2015-09-04 Roland McGrath <roland@hack.frob.com>
13148
13149 [BZ #18921]
13150 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
13151 Fix inverted sense of test of 'o_directory_works' value.
13152 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
13153 Bernhard Voelker <mail@bernhard-voelker.de>.
13154
13155 2015-09-04 Joseph Myers <joseph@codesourcery.com>
13156
13157 [BZ #14912]
13158 * bits/linkmap.h: Move to ...
13159 * sysdeps/generic/linkmap.h: ...here.
13160 * sysdeps/aarch64/bits/linkmap.h: Move to ...
13161 * sysdeps/aarch64/linkmap.h: ...here.
13162 * sysdeps/arm/bits/linkmap.h: Move to ...
13163 * sysdeps/arm/linkmap.h: ...here.
13164 * sysdeps/hppa/bits/linkmap.h: Move to ...
13165 * sysdeps/hppa/linkmap.h: ...here.
13166 * sysdeps/ia64/bits/linkmap.h: Move to ...
13167 * sysdeps/ia64/linkmap.h: ...here.
13168 * sysdeps/mips/bits/linkmap.h: Move to ...
13169 * sysdeps/mips/linkmap.h: ...here.
13170 * sysdeps/s390/bits/linkmap.h: Move to ...
13171 * sysdeps/s390/linkmap.h: ...here.
13172 * sysdeps/sh/bits/linkmap.h: Move to ...
13173 * sysdeps/sh/linkmap.h: ...here.
13174 * sysdeps/x86/bits/linkmap.h: Move to ...
13175 * sysdeps/x86/linkmap.h: ...here.
13176 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
13177
13178 2015-09-04 Andreas Schwab <schwab@suse.de>
13179
13180 [BZ #18635]
13181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
13182 (__makecontext): Terminate FDE before return label.
13183 (__novec_makecontext): Likewise.
13184
13185 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13186
13187 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
13188 first member of struct sv in syscall macro.
13189
13190 2015-09-04 Joseph Myers <joseph@codesourcery.com>
13191
13192 [BZ #14912]
13193 * bits/stdio-lock.h: Move to ...
13194 * sysdeps/generic/stdio-lock.h: ...here.
13195 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13196 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
13197 * sysdeps/nptl/stdio-lock.h: ...here.
13198 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13199 * include/libio.h: Include <stdio-lock.h> instead of
13200 <bits/stdio-lock.h>.
13201 * sysdeps/nptl/fork.c: Likewise.
13202 * sysdeps/pthread/flockfile.c: Likewise.
13203 * sysdeps/pthread/ftrylockfile.c: Likewise.
13204 * sysdeps/pthread/funlockfile.c: Likewise.
13205
13206 [BZ #14912]
13207 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13208 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13209 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13210 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13211 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13212 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13213 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13214
13215 2015-09-03 Roland McGrath <roland@hack.frob.com>
13216
13217 * elf/Makefile (test-xfail-tst-protected1a): New variable.
13218 (test-xfail-tst-protected1b): New variable.
13219
13220 2015-09-03 Joseph Myers <joseph@codesourcery.com>
13221
13222 [BZ #14912]
13223 * bits/libc-tsd.h: Move to ...
13224 * sysdeps/generic/libc-tsd.h: ...here.
13225 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13226 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13227 * sysdeps/mach/hurd/libc-tsd.h: ...here.
13228 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13229 * include/ctype.h: Include <libc-tsd.h> instead of
13230 <bits/libc-tsd.h>.
13231 * include/rpc/rpc.h: Likewise.
13232 * locale/localeinfo.h: Likewise.
13233 * sunrpc/rpc_thread.c: Likewise.
13234 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13235 * sysdeps/nptl/malloc-machine.h: Likewise.
13236
13237 * Makefile (headers): Remove bits/libc-lock.h.
13238 * libio/Makefile (headers): Remove bits/stdio-lock.h.
13239
13240 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13241 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13242 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13243 <bits/stdio-lock.h>.
13244 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13245 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13246
13247 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
13248
13249 [BZ #18757]
13250 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13251 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13252 BZ #18757.
13253
13254 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
13255
13256 * malloc/mtrace.pl: Filter out NULL entries.
13257
13258 2015-09-01 Joseph Myers <joseph@codesourcery.com>
13259
13260 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13261 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13262 macro.
13263
13264 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13265 (TCP_CC_INFO): Likewise.
13266 (TCP_SAVE_SYN): Likewise.
13267 (TCP_SAVED_SYN): Likewise.
13268
13269 2015-08-31 Brett Neumeier <brett@neumeier.us>
13270
13271 [BZ #18870]
13272 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13273
13274 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
13275
13276 [BZ #18873]
13277 Fix broken overflow check in posix_fallocate
13278 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13279 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13280 Fix parenthesization typo.
13281
13282 2015-08-28 Mike Frysinger <vapier@gentoo.org>
13283
13284 [BZ #18887]
13285 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13286 tst-mntent-blank-passno.
13287 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13288 * misc/tst-mntent-blank-corrupt.c: New test.
13289 * misc/tst-mntent-blank-passno.c: New test ripped from ...
13290 * misc/tst-mntent.c (do_test): ... here.
13291
13292 2015-08-29 Mike Frysinger <vapier@gentoo.org>
13293
13294 [BZ #4404]
13295 * po/de.po: Fix SIGALRM typo.
13296
13297 2015-08-28 James Perkins <james@loowit.net>
13298
13299 * time/tst-strptime2.c (tests): Replace short list of test
13300 strings for strptime %z specifier with code which exhaustively
13301 tests every combination of sign and 0 to 5 digits. Tests for
13302 rejection of invalid strings.
13303
13304 2015-08-28 James Perkins <james@loowit.net>
13305
13306 [BZ #16141]
13307 * time/strptime_l.c (__strptime_internal): Fix %z minutes
13308 calculation, removing incorrect decimal time rounding, so that
13309 all minute values result in a valid seconds value.
13310 * time/strptime_l.c (__strptime_internal): Extend %z time zone
13311 offset range limits to UTC-99:59 through UTC+99:59 to parse
13312 current and historical use cases.
13313 * time/tst-strptime2.c (tests): Modify and add tests for the
13314 strptime %z input field descriptor, specifically conversion of
13315 minutes to seconds and validating an offset range of -9959 to
13316 +9959.
13317
13318 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13319 Dmitry V. Levin <ldv@altlinux.org>
13320
13321 [BZ #18877]
13322 * posix/Makefile (tests): Add tst-mmap-offset.
13323 * posix/tst-mmap.c: New file.
13324 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13325 offset calculation for negative values.
13326
13327 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13328
13329 * sysdeps/i386/init-arch.h: New file.
13330 * sysdeps/i386/i586/init-arch.h: Likewise.
13331 * sysdeps/i386/i686/init-arch.h: Likewise.
13332 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13333 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
13334 * sysdeps/x86/cpu-features.h (bit_I586): New.
13335 (bit_I686): Likewise.
13336 (bit_CX8): Likewise.
13337 (bit_CMOV): Likewise.
13338 (index_CX8): Likewise.
13339 (index_CMOV): Likewise.
13340 (index_I586): Likewise.
13341 (index_I686): Likewise.
13342 (reg_CX8): Likewise.
13343 (reg_CMOV): Likewise.
13344 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13345 available at compile-time.
13346 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13347 available at compile-time.
13348 * sysdeps/x86/init-arch.h (USE_I586): New macro.
13349 (USE_I686): Likewise.
13350
13351 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13352
13353 * sysdeps/i386/bcopy.S: New file.
13354 * sysdeps/i386/bzero.S: Likewise.
13355 * sysdeps/i386/memcpy.S: Likewise.
13356 * sysdeps/i386/memmove.S: Likewise.
13357 * sysdeps/i386/mempcpy.S: Likewise.
13358 * sysdeps/i386/memset.S: Likewise.
13359 * sysdeps/i386/bzero.c: Removed.
13360 * sysdeps/i386/memset.c: Likewise.
13361 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
13362 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
13363 * sysdeps/i386/i586/memset_chk.S: Likewise.
13364 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
13365 * sysdeps/i386/memcpy_chk.S: Here.
13366 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
13367 * sysdeps/i386/memmove_chk.S: Here.
13368 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
13369 * sysdeps/i386/mempcpy_chk.S: Likewise.
13370 * sysdeps/i386/i686/memset_chk.S: Moved to ...
13371 * sysdeps/i386/memset_chk.S: Likewise.
13372
13373 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
13374
13375 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
13376 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
13377 file, move DIAG_POP_NEEDS_COMMENT to end of file.
13378 * soft-fp/fmadf4.c: Ditto.
13379 * soft-fp/fmatf4.c: Ditto.
13380
13381 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13382
13383 * sysdeps/i386/i586/Implies: Removed.
13384 * sysdeps/i386/i686/Implies: Likewise.
13385
13386 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13387
13388 * sysdeps/i386/i486/strlen.S: Moved to ...
13389 * sysdeps/i386/strlen.S: Here.
13390
13391 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13392
13393 * sysdeps/i386/i486/strcat.S: Moved to ...
13394 * sysdeps/i386/strcat.S: Here.
13395
13396 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13397
13398 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
13399 * sysdeps/i386/pthread_spin_trylock.S: Here.
13400 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
13401 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
13402
13403 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13404
13405 * sysdeps/i386/i486/string-inlines.c: Moved to ...
13406 * sysdeps/i386/string-inlines.c: Here.
13407
13408 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13409
13410 * sysdeps/i386/i486/htonl.S: Moved ...
13411 * sysdeps/i386/htonl.S: here.
13412
13413 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13414
13415 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
13416 * sysdeps/i386/bits/atomic.h: Here.
13417
13418 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13419
13420 * sysdeps/i386/i486/Versions: Removed.
13421
13422 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
13423
13424 [BZ #2898]
13425 * misc/mktemp.c: Add mkdtemp to the link_warning message.
13426 Based on patch by Aurelien Jarno.
13427
13428 2015-08-26 Stan Shebs <stanshebs@google.com>
13429
13430 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
13431 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13432
13433 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13434
13435 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
13436 * sysdeps/powerpc/dl-procinfo.c:
13437 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
13438 feature so it shows when LD_SHOW_AUXV=1.
13439
13440 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13441
13442 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13443 (__arch_compare_and_exchange_val_32_acq): Remove and use common
13444 definition. ISA 2.07B no longer requires full sync.
13445
13446 2015-08-26 Mike Frysinger <vapier@gentoo.org>
13447
13448 [BZ #18863]
13449 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
13450 (si_call_addr): Define.
13451 (si_syscall): Define.
13452 (si_arch): Define.
13453
13454 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
13455
13456 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13457 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13458 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13459 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13460 (__memset_zero_constant_len_parameter): New.
13461 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13462 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13463 (__memset_zero_constant_len_parameter): Don't define if
13464 __memset_chk or USE_AS_BZERO are defined.
13465
13466 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13467 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13468 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13469
13470 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13471 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13472 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13473 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
13474 comments.
13475 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13476 -mno-mmx for $(all-rtld-routines).
13477 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13478 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
13479 i386.
13480
13481 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13482
13483 * sysdeps/generic/unwind.h
13484 (_Unwind_Word): Use __mode__(__unwind_word__)
13485 instead of __mode__(__word__).
13486 (_Unwind_Sword): Likewise.
13487
13488 * sysdeps/s390/s390-64/utf8-utf16-z9.c
13489 (MAX_NEEDED_INPUT): New define.
13490 (MAX_NEEDED_OUTPUT): New define.
13491
13492 * NEWS: New item for IBM z13 string optimizations.
13493
13494 * sysdeps/s390/multiarch/memrchr-c.c: New File.
13495 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13496 * sysdeps/s390/multiarch/memrchr.c: Likewise.
13497 * sysdeps/s390/multiarch/Makefile
13498 (sysdep_routines): Add memrchr functions.
13499 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13500 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13501
13502 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13503 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13504 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13505 * sysdeps/s390/multiarch/Makefile
13506 (sysdep_routines): Add wmemcmp functions.
13507 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13508 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13509 * benchtests/bench-wmemcmp.c: New File.
13510 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13511
13512 * sysdeps/s390/multiarch/wmemset-c.c: New File.
13513 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13514 * sysdeps/s390/multiarch/wmemset.c: Likewise.
13515 * sysdeps/s390/multiarch/Makefile
13516 (sysdep_routines): Add wmemset functions.
13517 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13518 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13519 * wcsmbs/wmemset.c: Use WMEMSET if defined.
13520 * string/test-memset.c: Add wmemset support.
13521 * wcsmbs/test-wmemset.c: New File.
13522 * wcsmbs/Makefile (strop-tests): Add wmemset.
13523 * benchtests/bench-memset.c: Add wmemset support.
13524 * benchtests/bench-wmemset.c: New File.
13525 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13526
13527 * sysdeps/s390/multiarch/memccpy-c.c: New File.
13528 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13529 * sysdeps/s390/multiarch/memccpy.c: Likewise.
13530 * sysdeps/s390/multiarch/Makefile
13531 (sysdep_routines): Add memccpy functions.
13532 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13533 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13534 * string/memccpy.c: Use MEMCCPY if defined.
13535
13536 * sysdeps/s390/multiarch/memchr-vx.S: New File.
13537 * sysdeps/s390/multiarch/memchr.c: Likewise.
13538 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13539 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13540 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13541 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13542 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13543 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13544 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13545 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13546 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13547 and rawmemchr functions.
13548 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13549 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13550 and wmemchr.
13551 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13552 * string/test-memchr.c: Add wmemchr support.
13553 * wcsmbs/test-wmemchr.c: New File.
13554 * wcsmbs/Makefile (strop-tests): Add wmemchr.
13555 * benchtests/bench-memchr.c: Add wmemchr support.
13556 * benchtests/bench-wmemchr.c: New File.
13557 * benchtests/Makefile (wcsmbs-bench): wmemchr.
13558
13559 * sysdeps/s390/multiarch/strcspn-c.c: New File.
13560 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13561 * sysdeps/s390/multiarch/strcspn.c: Likewise.
13562 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13563 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13564 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13565 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13566 wcscspn functions.
13567 * sysdeps/s390/multiarch/ifunc-impl-list.c
13568 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13569 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13570 * string/test-strcspn.c: Add wcscspn support.
13571 * wcsmbs/test-wcscspn.c: New File.
13572 * wcsmbs/Makefile (strop-tests): Add wcscspn.
13573 * benchtests/bench-strcspn.c: Add wcscspn support.
13574 * benchtests/bench-wcscspn.c: New File.
13575 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13576
13577 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13578 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13579 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13580 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13581 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13582 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13583 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13584 wcspbrk functions.
13585 * sysdeps/s390/multiarch/ifunc-impl-list.c
13586 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13587 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13588 * string/test-strpbrk.c: Add wcspbrk support.
13589 * wcsmbs/test-wcspbrk.c: New File.
13590 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13591 * benchtests/bench-strpbrk.c: Add wcspbrk support.
13592 * benchtests/bench-wcspbrk.c: New File.
13593 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13594
13595 * sysdeps/s390/multiarch/strspn-c.c: New File.
13596 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13597 * sysdeps/s390/multiarch/strspn.c: Likewise.
13598 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13599 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13600 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13601 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13602 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13603 wcsspn functions.
13604 * sysdeps/s390/multiarch/ifunc-impl-list.c
13605 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13606 * string/test-strspn.c: Add wcsspn support.
13607 * wcsmbs/test-wcsspn.c: New File.
13608 * wcsmbs/Makefile (strop-tests): Add wcsspn.
13609 * benchtests/bench-strspn.c: Add wcsspn support.
13610 * benchtests/bench-wcsspn.c: New File.
13611 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13612
13613 * sysdeps/s390/multiarch/strrchr-c.c: New File.
13614 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13615 * sysdeps/s390/multiarch/strrchr.c: Likewise.
13616 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13617 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13618 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13619 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13620 wcsrchr functions.
13621 * sysdeps/s390/multiarch/ifunc-impl-list.c
13622 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13623 * benchtests/bench-wcsrchr.c: New File.
13624 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13625
13626 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13627 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13628 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13629 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13630 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13631 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13632 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13633 wcschrnul functions.
13634 * sysdeps/s390/multiarch/ifunc-impl-list.c
13635 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13636 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13637 * string/test-strchr.c: Add wcschrnul support.
13638 * wcsmbs/test-wcschrnul.c: New File.
13639 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13640 * benchtests/bench-strchr.c: Add wcschrnul support.
13641 * benchtests/bench-wcschrnul.c: New File.
13642 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13643
13644 * sysdeps/s390/multiarch/strchr-c.c: New File.
13645 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13646 * sysdeps/s390/multiarch/strchr.c: Likewise.
13647 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13648 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13649 * sysdeps/s390/multiarch/wcschr.c: Likewise.
13650 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13651 wcschr functions.
13652 * sysdeps/s390/multiarch/ifunc-impl-list.c
13653 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13654 * string/strchr.c (STRCHR): Define and use macro.
13655 * benchtests/bench-wcschr.c: New File.
13656 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13657
13658 * sysdeps/s390/multiarch/strncmp-c.c: New File.
13659 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13660 * sysdeps/s390/multiarch/strncmp.c: Likewise.
13661 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13662 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13663 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13664 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13665 wcsncmp functions.
13666 * sysdeps/s390/multiarch/ifunc-impl-list.c
13667 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13668 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13669 * benchtests/bench-strncmp.c: Add wcsncmp support.
13670 * benchtests/bench-wcsncmp.c: New File.
13671 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13672
13673 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13674 * sysdeps/s390/multiarch/strcmp.c: Likewise.
13675 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13676 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13677 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13678 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13679 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13680 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13681 wcscmp functions.
13682 * sysdeps/s390/multiarch/ifunc-impl-list.c
13683 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13684 * string/strcmp.c (STRCMP): Define and use macro.
13685 * benchtests/bench-wcscmp.c: New File.
13686 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13687 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13688 instead of _HAVE_STRING_ARCH_memchr.
13689
13690 * sysdeps/s390/multiarch/strncat-c.c: New File.
13691 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13692 * sysdeps/s390/multiarch/strncat.c: Likewise.
13693 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13694 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13695 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13696 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13697 wcsncat functions.
13698 * sysdeps/s390/multiarch/ifunc-impl-list.c
13699 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13700 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13701 * string/test-strncat.c: Add wcsncat support.
13702 * wcsmbs/test-wcsncat.c: New File.
13703 * wcsmbs/Makefile (strop-tests): Add wcsncat.
13704 * benchtests/bench-strncat.c: Add wcsncat support.
13705 * benchtests/bench-wcsncat.c: New File.
13706 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13707
13708 * sysdeps/s390/multiarch/strcat-c.c: New File.
13709 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13710 * sysdeps/s390/multiarch/strcat.c: Likewise.
13711 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13712 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13713 * sysdeps/s390/multiarch/wcscat.c: Likewise.
13714 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13715 wcscat functions.
13716 * sysdeps/s390/multiarch/ifunc-impl-list.c
13717 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13718 * string/strcat.c (STRCAT): Define and use macro.
13719 * wcsmbs/wcscat.c: Use WCSCAT if defined.
13720 * string/test-strcat.c: Add wcscat support.
13721 * wcsmbs/test-wcscat.c: New File.
13722 * wcsmbs/Makefile (strop-tests): Add wcscat.
13723 * benchtests/bench-strcat.c: Add wcscat support.
13724 * benchtests/bench-wcscat.c: New File.
13725 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13726
13727 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13728 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13729 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13730 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13731 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13732 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13733 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13734 wcpncpy functions.
13735 * sysdeps/s390/multiarch/ifunc-impl-list.c
13736 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13737 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13738 * string/test-stpncpy.c: Add wcpncpy support.
13739 * wcsmbs/test-wcpncpy.c: New File.
13740 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13741 * benchtests/bench-stpncpy.c: Add wcpncpy support.
13742 * benchtests/bench-wcpncpy.c: New File.
13743 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13744
13745 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13746 * sysdeps/s390/multiarch/strncpy.c: Likewise.
13747 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13748 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13749 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13750 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13751 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13752 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13753 wcsncpy functions.
13754 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13755 * sysdeps/s390/multiarch/ifunc-impl-list.c
13756 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13757 * string/test-strncpy.c: Add wcsncpy support.
13758 * wcsmbs/test-wcsncpy.c: New File.
13759 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13760 * benchtests/bench-strncpy.c: Add wcsncpy support.
13761 * benchtests/bench-wcsncpy.c: New File.
13762 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13763
13764 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13765 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13766 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13767 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13768 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13769 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13770 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13771 wcpcpy functions.
13772 * string/stpcpy.c: Use STPCPY if defined.
13773 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13774 * sysdeps/s390/multiarch/ifunc-impl-list.c
13775 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13776 * string/test-stpcpy.c: Add wcpcpy support.
13777 * wcsmbs/test-wcpcpy.c: New File.
13778 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13779 * benchtests/bench-stpcpy.c: Add wcpcpy support.
13780 * benchtests/bench-wcpcpy.c: New File.
13781 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13782
13783 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13784 * sysdeps/s390/multiarch/strcpy.c: Likewise.
13785 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13786 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13787 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13788 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13789 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13790 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13791 wcscpy functions.
13792 * sysdeps/s390/multiarch/ifunc-impl-list.c
13793 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13794 * benchtests/bench-wcscpy.c: New File.
13795 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13796
13797 * sysdeps/s390/multiarch/strnlen-c.c: New File.
13798 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13799 * sysdeps/s390/multiarch/strnlen.c: Likewise.
13800 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13801 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13802 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13803 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13804 wcsnlen functions.
13805 * sysdeps/s390/multiarch/ifunc-impl-list.c
13806 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13807 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13808 * string/test-strnlen.c: Add wcsnlen support.
13809 * wcsmbs/test-wcsnlen.c: New File.
13810 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13811 * benchtests/bench-strnlen.c: Add wcsnlen support.
13812 * benchtests/bench-wcsnlen.c: New File.
13813 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13814
13815 * sysdeps/s390/multiarch/Makefile: New File.
13816 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13817 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13818 * sysdeps/s390/multiarch/strlen.c: Likewise.
13819 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13820 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13821 * sysdeps/s390/multiarch/wcslen.c: Likewise.
13822 * string/strlen.c (STRLEN): Define and use macro.
13823 * sysdeps/s390/multiarch/ifunc-impl-list.c
13824 (IFUNC_VX_IMPL): New macro function.
13825 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13826 * benchtests/Makefile (wcsmbs-bench): New variable.
13827 (string-bench-all): Added wcsmbs-bench.
13828 * benchtests/bench-wcslen.c: New File.
13829
13830 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13831 s390_vx_libc_ifunc2): New macro function.
13832
13833 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13834 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13835 assembler support.
13836 * sysdeps/s390/configure: Regenerated.
13837
13838 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13839 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13840
13841 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13842 * sysdeps/s390/dl-procinfo.h: Add vector capability.
13843 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13844
13845 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13846 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13847 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13848 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13849 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13850 (memcmp, bcmp): Use __memcmp_default as alias source.
13851 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13852 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13853 Rename to __memcmp_default.
13854 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13855 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13856 (memcpy): Use __memcpy_default as alias source.
13857 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13858 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13859 Rename to __memcpy_default.
13860 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13861 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13862 (memset): Use __memset_default as alias source.
13863 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13864 * sysdeps/s390/s390-32/memset.S (__memset_g5):
13865 Rename to __memset_default.
13866 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13867 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13868 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13869 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13870 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13871 (memcmp, bcmp): Use __memcmp_default as alias source.
13872 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13873 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13874 Rename to __memcmp_default.
13875 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13876 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13877 (memcpy): Use __memcpy_default as alias source.
13878 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13879 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13880 Rename to __memcpy_default.
13881 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13882 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13883 (memset): Use __memset_default as alias source.
13884 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13885 * sysdeps/s390/s390-64/memset.S (__memset_z900):
13886 Rename to __memset_default.
13887 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13888 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13889
13890 [BZ #18610]
13891 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13892 __ieee_instruction_pointer to __unused.
13893 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13894 __ieee_instruction_pointer.
13895 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13896 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13897 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13898 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13899 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13900 Mark dxc-field as reserved.
13901
13902 2015-08-25 Roland McGrath <roland@hack.frob.com>
13903
13904 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13905 if the weak reference is not null.
13906
13907 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
13908
13909 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13910
13911 [BZ #11214]
13912 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13913
13914 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13915
13916 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13917 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13918 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13919 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13920 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13921 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13922 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13923 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13924 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13925 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13926 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13927 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13928 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13929 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13930 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13931 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13932 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13933 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13934
13935 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13936
13937 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13938 register other than r0 for tabort, it has special meaning.
13939 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13940 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13941 transaction before starting syscall.
13942
13943 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13944
13945 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13946
13947 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
13948
13949 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13950
13951 * sysdeps/x86_64/rtld-memcmp.c: Removed.
13952 * sysdeps/x86_64/rtld-memset.S: Likewise.
13953 * sysdeps/x86_64/rtld-strchr.S: Likewise.
13954 * sysdeps/x86_64/rtld-strlen.S: Likewise.
13955 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13956 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13957
13958 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13959
13960 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
13961
13962 * debug/strcpy_chk.c: Improve performance.
13963 * debug/stpcpy_chk.c: Likewise.
13964 * sysdeps/x86_64/strcpy_chk.S: Remove.
13965 * sysdeps/x86_64/stpcpy_chk.S: Remove.
13966
13967 [BZ #18240]
13968 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13969
13970 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
13971
13972 [BZ #15128]
13973 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13974 ifuncmain8.
13975 (modules-names): Add ifuncmod8.
13976 ($(objpfx)ifuncmain8): New rule.
13977 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13978 <cpuid.h>.
13979 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13980 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13981 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13982 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13983 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13984 * sysdeps/x86_64/dl-trampoline.h: Likewise.
13985 * sysdeps/x86_64/ifuncmain8.c: New file.
13986 * sysdeps/x86_64/ifuncmod8.c: Likewise.
13987 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13988 Removed.
13989 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13990 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13991 Change rtld_savespace_sse to __glibc_unused2.
13992 (RTLD_CHECK_FOREIGN_CALL): Removed.
13993 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13994 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13995 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13996
13997 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13998
13999 * sysdeps/aarch64/bzero.S (__bzero): Remove.
14000
14001 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
14002
14003 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
14004 Unconditionally set __fpcr to avoid uninialized warning.
14005 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
14006
14007 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14008
14009 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
14010 is corrupt.
14011
14012 * malloc/arena.c (arena_get2): Drop unused argument.
14013 (arena_lock): Adjust.
14014 (arena_get_retry): Likewise.
14015
14016 2015-08-24 Andreas Schwab <schwab@suse.de>
14017
14018 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
14019 Don't define.
14020 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14021 (__ASSUME_IPC64): Don't undef.
14022 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
14023 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14024 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14025 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
14026 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
14027 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
14028 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
14029 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
14030 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
14031 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
14032 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
14033 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
14034 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
14035 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
14036 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
14037 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
14038 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
14039 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
14040 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
14041 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
14042 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
14043
14044 2015-08-21 Mike Frysinger <vapier@gentoo.org>
14045
14046 * manual/Makefile (install): Only build manual when perl is available.
14047
14048 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14049
14050 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
14051 '#undef memcpy' by '#undef memchr'.
14052
14053 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14054
14055 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
14056 memchr not point to the internal __GI_memchr implementation.
14057
14058 2015-08-20 Joseph Myers <joseph@codesourcery.com>
14059
14060 * timezone/Makefile (CFLAGS-zdump.c): Remove
14061 -Wno-strict-prototypes.
14062 (CFLAGS-zic.c): Likewise.
14063 (CFLAGS-ialloc.c): Likewise.
14064 (CFLAGS-scheck.c): Likewise.
14065
14066 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
14067 -Wno-error=undef.
14068
14069 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
14070
14071 * i386/i686/multiarch/strcasestr-c.c: Removed.
14072 * x86_64/multiarch/strcasestr.c: Likewise.
14073 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14074 Remove strcasestr.
14075
14076 2015-08-20 Joseph Myers <joseph@codesourcery.com>
14077
14078 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
14079
14080 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14081 variables for high and low parts before possibly modifying them.
14082
14083 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
14084
14085 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14086 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14087 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14088 of "multiarch/init-arch.h".
14089 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14090 * sysdeps/x86/init-arch.h: This.
14091
14092 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
14093
14094 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
14095 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
14096
14097 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
14098
14099 [BZ #17787]
14100 * manual/macros.texi: Add twoexp macro.
14101 * manual/filesys.texi: Fix exponents.
14102 * manual/llio.texi: Likewise.
14103 * manual/stdio.texi: Likewise.
14104
14105 2015-08-20 Florian Weimer <fweimer@redhat.com>
14106
14107 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
14108 incorrect use.
14109
14110 2015-08-19 Joseph Myers <joseph@codesourcery.com>
14111
14112 [BZ #18370]
14113 * math/s_csqrt.c (__csqrt): Force underflow exception for results
14114 whose real or imaginary part has small absolute value.
14115 * math/s_csqrtf.c (__csqrtf): Likewise.
14116 * math/s_csqrtl.c (__csqrtl): Likewise.
14117 * math/auto-libm-test-in: Add more tests of csqrt.
14118 * math/auto-libm-test-out: Regenerated.
14119 * sysdeps/i386/fpu/libm-test-ulps: Update.
14120
14121 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14122
14123 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
14124 __ppc_set_ppr_very_low): New functions.
14125 * manual/platform.texi: Add documentation about
14126 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
14127
14128 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
14129
14130 * string/stpncpy.c (stpncpy): Improve performance using
14131 __strnlen/memcpy/memset.
14132
14133 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
14134
14135 [BZ #18796]
14136 * scripts/test-installation.pl: Don't add -lmvec to build options if
14137 libmvec wasn't built.
14138
14139 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
14140
14141 [BZ #14341]
14142 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
14143 case when there is a gap between DT_REL and DT_JMPREL sections.
14144 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
14145 (LDFLAGS-tst-split-dynreloc): New.
14146 (tst-split-dynreloc-ENV): Likewise.
14147 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
14148 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
14149
14150 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
14151
14152 [BZ #18822]
14153 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
14154 attribute_hidden.
14155 (__xstat64_conv): Likewise.
14156 (__xstat32_conv): Likewise.
14157
14158 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
14159
14160 [BZ #18822]
14161 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14162 Don't load %ebx when calling __setcontext. Call __setcontext
14163 with HIDDEN_JUMPTARGET.
14164 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
14165 libc_hidden_def.
14166
14167 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
14168
14169 * sysdeps/i386/i686/Makefile
14170 [$(subdir) == string] (sysdep_routines): Moved to ...
14171 * sysdeps/i386/Makefile: Here.
14172 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
14173 * sysdeps/i386/cacheinfo.c: Here.
14174 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
14175 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
14176 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
14177 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
14178
14179 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
14180
14181 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
14182 __i586__ is defined.
14183 (HAS_I686): Defined to 1 if __i686__ is defined.
14184
14185 2015-08-19 Joseph Myers <joseph@codesourcery.com>
14186
14187 * elf/Makefile [$(have-z-execstack) = yes]
14188 (CPPFLAGS-tst-execstack.c): New variable.
14189
14190 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
14191 conditional to [defined UTMPX || _HAVE_UT_TYPE].
14192 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
14193 UTMPX || _HAVE_UT_TV].
14194 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
14195 UTMPX || _HAVE_UT_TV - 0].
14196
14197 2015-08-18 Joseph Myers <joseph@codesourcery.com>
14198
14199 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
14200 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
14201 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
14202
14203 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14204
14205 * sysdeps/powerpc/dl-procinfo.c:
14206 (_dl_powerpc_cap_flags): Added missing strings for some
14207 hwcap features.
14208 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14209
14210 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
14211
14212 Port the 0x7efe...feff pattern to GCC 6.
14213 See Steve Ellcey's bug report in:
14214 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14215 * string/memrchr.c (MEMRCHR):
14216 * string/rawmemchr.c (RAWMEMCHR):
14217 * string/strchr.c (strchr):
14218 * string/strchrnul.c (STRCHRNUL):
14219 Rewrite code to avoid issues with signed shift overflow.
14220
14221 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
14222
14223 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14224 whether cpuid is available only if HAS_CPUID is 0.
14225 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14226 (HAS_I586): Likewise.
14227 (HAS_I686): Likewise.
14228
14229 2015-08-18 Zack Weinberg <zackw@panix.com>
14230
14231 * misc/Versions (libc): Add GLIBC_2.23.
14232
14233 2015-08-18 Alan Modra <amodra@gmail.com>
14234
14235 [BZ #18421]
14236 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14237 .Lp__global.
14238 (_start): Load %dp via .Lp__global.
14239 [!SHARED]: Use .section .rodata.
14240
14241 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14242
14243 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14244 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14245
14246 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14247
14248 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14249 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14250
14251 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14252
14253 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14254 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14255
14256 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14257
14258 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14259 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14260
14261 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14262
14263 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14264 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14265
14266 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14267
14268 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14269 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14270
14271 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14272
14273 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14274
14275 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14276
14277 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14278 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
14279 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14280 (__ASSUME_LWS_CAS): Delete.
14281
14282 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14283
14284 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14285 * sysdeps/hppa/configure: Regenerated.
14286 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14287 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14288 * sysdeps/hppa/nptl/tls.h: Likewise.
14289
14290 2015-08-17 Joseph Myers <joseph@codesourcery.com>
14291
14292 [BZ #18823]
14293 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14294 for scaling up small arguments.
14295 * math/s_csqrtf.c (__csqrtf): Likewise.
14296 * math/s_csqrtl.c (__csqrtl): Likewise.
14297 * math/auto-libm-test-in: Add more tests of csqrt.
14298 * math/auto-libm-test-out: Regenerated.
14299
14300 2015-08-17 Andreas Schwab <schwab@suse.de>
14301
14302 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14303 version set GLIBC_2.19.
14304
14305 2015-08-16 Zack Weinberg <zackw@panix.com>
14306
14307 [BZ #18681]
14308 * misc/regexp.h: This interface is no longer supported.
14309 Remove all contents, leaving only an #error directive.
14310 * misc/regexp.c (loc1, loc2, locs, step, advance):
14311 Demote to compatibility symbols.
14312
14313 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
14314
14315 [BZ #18084]
14316 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14317 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14318 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14319 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14320 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14321 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14322 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14323 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14324 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14325
14326 2015-08-15 Zack Weinberg <zackw@panix.com>
14327
14328 [BZ #18795]
14329 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14330 buffer length is known to be too large, not if it's known to be
14331 small enough.
14332 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14333 overflow at runtime, involving a length parameter, twice: once
14334 with a compile-time constant length parameter, once without.
14335
14336 2015-08-14 Joseph Myers <joseph@codesourcery.com>
14337
14338 [BZ #18824]
14339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14340 scaling x * y up instead of down.
14341 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14342 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14343 * math/auto-libm-test-in: Add more tests of fma.
14344 * math/auto-libm-test-out: Regenerated.
14345
14346 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14347
14348 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14349
14350 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14351
14352 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14353 unnecessary movq.
14354 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14355 Likewise.
14356
14357 2015-08-13 Joseph Myers <joseph@codesourcery.com>
14358
14359 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14360 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
14361 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
14362 and tgamma.
14363 * math/auto-libm-test-out: Regenerated.
14364 * sysdeps/i386/fpu/libm-test-ulps: Update.
14365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14366
14367 [BZ #16520]
14368 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
14369 (__tanh): Force underflow exception for arguments with small
14370 absolute value.
14371 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
14372 (__tanhf): Force underflow exception for arguments with small
14373 absolute value.
14374 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
14375 (__tanhl): Force underflow exception for arguments with small
14376 absolute value.
14377 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
14378 (__tanhl): Force underflow exception for arguments with small
14379 absolute value.
14380 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
14381 (__tanhl): Force underflow exception for arguments with small
14382 absolute value.
14383 * math/auto-libm-test-in: Add more tests of tanh.
14384 * math/auto-libm-test-out: Regenerated.
14385 * sysdeps/i386/fpu/libm-test-ulps: Update.
14386
14387 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14388
14389 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
14390 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
14391
14392 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14393
14394 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
14395 <cpuid.h>.
14396
14397 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14398
14399 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
14400 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
14401
14402 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14403
14404 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
14405 Remove $(objpfx)init-arch.o.
14406 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
14407 init-arch.
14408 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
14409 (INIT_ARCH_EXT): Defined as empty.
14410 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
14411 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
14412 __init_cpu_features call. Replace HAS_XXX with
14413 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14414 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
14415 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
14416 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
14417 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
14418 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14419 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
14420 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
14421 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14422 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
14423 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
14424 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14425 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
14426 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
14427 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14428 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
14429 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
14430 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14431 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14432 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
14433 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
14434 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14435 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
14436 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
14437 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14438 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
14439 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
14440 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14441 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
14442 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
14443 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14444 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
14445 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
14446 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14447 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
14448 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
14449
14450 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14451
14452 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14453 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14454 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14455 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14456 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14457 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14458 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14459 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14460 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14461 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14462 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14463 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
14464 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14465 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14466 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14467 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14468 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14469 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14470 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14471 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14472 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14473 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14474 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14475 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14476 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14477 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14478 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14479 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14480 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14481 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14482 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14483 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14484 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14485 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14486 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14487 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14488 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14489 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14490 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14491 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14492 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14493 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14494 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14495
14496 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14497
14498 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14499 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14500 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14501 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14502 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14503 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14504 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14505 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14506 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14507 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14508 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14509 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14510 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14511 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14512 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14513 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14514 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14515 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14516 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14517 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14518 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14519 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14520 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14521 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14522 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14523 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14524 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14525 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
14526 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14527 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14528 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14529 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14530 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14531 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14532 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14533 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14534 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14535 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14536 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14537 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14538 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14539 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14540 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14541
14542 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14543
14544 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14545 (dl_platform_init): Call init_cpu_features.
14546 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14547 * sysdeps/i386/i686/cacheinfo.c
14548 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14549 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14550 * sysdeps/i386/i686/multiarch/Versions: Removed.
14551 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14552 Removed.
14553 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14554 * sysdeps/unix/sysv/linux/x86/Makefile
14555 (libpthread-sysdep_routines): Remove init-arch.
14556 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14557 <sysdeps/x86_64/dl-procinfo.c> instead of
14558 sysdeps/generic/dl-procinfo.c>.
14559 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14560 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14561 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14562 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14563 [$(subdir) == elf] (tests-static): Add
14564 tst-get-cpu-features-static.
14565 * sysdeps/x86/Versions: New file.
14566 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14567 * sysdeps/x86/cpu-features.c: Likewise.
14568 * sysdeps/x86/cpu-features.h: Likewise.
14569 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14570 * sysdeps/x86/libc-start.c: Likewise.
14571 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14572 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14573 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14574 * sysdeps/x86_64/dl-procinfo.c: Likewise.
14575 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14576 Assume USE_MULTIARCH is defined and don't check it.
14577 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14578 (is_amd): Likewise.
14579 (max_cpuid): Likewise.
14580 (intel_check_word): Likewise.
14581 (__cache_sysconf): Don't call __init_cpu_features.
14582 (__x86_preferred_memory_instruction): Removed.
14583 (init_cacheinfo): Don't call __init_cpu_features. Replace
14584 __cpu_features with GLRO(dl_x86_cpu_features).
14585 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14586 (dl_platform_init): Call init_cpu_features.
14587 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14588 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14589 * sysdeps/x86_64/multiarch/Versions: Removed.
14590 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14591 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14592 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14593 Removed.
14594 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14595
14596 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14597
14598 [BZ #18820]
14599 * libio/Makefile (test-fmemopen-mem): New test.
14600 * libio/test-fmemopen.c (do_bz18820): New test.
14601 * libio/fmemopen.c (__fmemopen): Fix memory leak.
14602 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14603
14604 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14605
14606 [BZ #16734]
14607 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14608 (FREE_BUF): Delete.
14609 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14610 * libio/genops.c (_IO_setb): Use malloc and free directly.
14611 (_IO_default_doallocate, _IO_default_finish): Likewise.
14612 ( _IO_unbuffer_all): Likewise.
14613 ( libc_freeres_fn): Likewise.
14614 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14615 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14616 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14617 (_IO_wdefault_doallocate): Likewise.
14618
14619 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14620
14621 [BZ #18086]
14622 * sysdeps/posix/nice.c (nice): Restore old errno.
14623 * posix/tst-nice.c (do_test): Add test for BZ #18086.
14624
14625 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
14626
14627 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14628
14629 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14630
14631 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14632 __bcopy and add a weak_alias to bcopy.
14633 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14634 for static build.
14635
14636 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14637 cleanup macro usage.
14638 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14639 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14640 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14641 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14642 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14643 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14644 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14645 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14646 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14647 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14648 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14649 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14650 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14651 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14652 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14653 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14654 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14655 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14656 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14657
14658 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14659 libc_hidden_def.
14660 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14661
14662 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14663 (sysdep_routines): Add strstr-ppc64.
14664 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14665
14666 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
14667
14668 [BZ #18778]
14669 * elf/Makefile (tests): Add Add tst-nodelete2.
14670 (modules-names): Add tst-nodelete2mod.
14671 (tst-nodelete2mod.so-no-z-defs): New.
14672 ($(objpfx)tst-nodelete2): Likewise.
14673 ($(objpfx)tst-nodelete2.out): Likewise.
14674 (LDFLAGS-tst-nodelete2): Likewise.
14675 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14676 out of loop through all loaded libraries.
14677 * elf/tst-nodelete2.c: New file.
14678 * elf/tst-nodelete2mod.c: Likewise.
14679 * elf/tst-znodelete-zlib.cc: Delete.
14680
14681 2015-08-11 Andreas Schwab <schwab@suse.de>
14682
14683 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14684 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14685 (__openat64_nocancel): Likewise.
14686
14687 2015-08-11 Joseph Myers <joseph@codesourcery.com>
14688
14689 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14690 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14691 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14692 * math/auto-libm-test-out: Regenerated.
14693 * sysdeps/i386/fpu/libm-test-ulps: Update.
14694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14695
14696 2015-08-10 Joseph Myers <joseph@codesourcery.com>
14697
14698 [BZ #18790]
14699 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14700 threshold for returning +/- 1.
14701 * math/auto-libm-test-in: Add more tests of tanh.
14702 * math/auto-libm-test-out: Regenerated.
14703 * sysdeps/i386/fpu/libm-test-ulps: Update.
14704
14705 2015-08-10 Andreas Schwab <schwab@suse.de>
14706
14707 [BZ #18781]
14708 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14709 MORE_OFLAGS to oflag.
14710 * io/test-lfs.c (do_test): Test openat64.
14711
14712 2015-08-10 Joseph Myers <joseph@codesourcery.com>
14713
14714 [BZ #18789]
14715 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14716 smaller threshold for returning the argument.
14717 * math/auto-libm-test-in: Add more tests of sinh.
14718 * math/auto-libm-test-out: Regenerated.
14719 * sysdeps/i386/fpu/libm-test-ulps: Update.
14720
14721 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
14722
14723 [BZ #18674]
14724 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14725 break.
14726
14727 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
14728
14729 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14730 (generated): Don't add $(addprefix z.,$(tzfiles)).
14731
14732 2015-08-09 Mike Frysinger <vapier@gentoo.org>
14733
14734 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14735 * scripts/sysd-rules.awk: Likewise.
14736
14737 2015-08-09 Mike Frysinger <vapier@gentoo.org>
14738
14739 * iconvdata/tst-tables.sh: Change echo -n to printf.
14740 * nss/db-Makefile: Likewise.
14741 * posix/tst-getconf.sh: Likewise.
14742 * stdio-common/tst-unbputc.sh: Likewise.
14743
14744 2015-08-09 Mike Frysinger <vapier@gentoo.org>
14745
14746 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14747 MADV_*_PAGES defines behind this feature check.
14748
14749 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
14750
14751 [BZ #18480]
14752 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14753 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14754 Define.
14755 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14756 LOAD_REGS_5, LOAD_REGS_6): Update.
14757 (INTERNAL_SYSCALL): Update using new LOAD defines.
14758 (INTERNAL_SYSCALL_NCS): Likewise.
14759 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14760
14761 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
14762
14763 [BZ #16734]
14764 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14765
14766 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
14767
14768 [BZ #17905]
14769 * catgets/Makefile (tst-catgets-mem): New test.
14770 * catgets/catgets.c (catopen): Don't use unbounded alloca.
14771 * catgets/open_catalog.c (__open_catalog): Likewise.
14772 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14773
14774 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
14775
14776 [BZ #18787]
14777 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14778 clobber registers.
14779 (atomic_compare_and_exchange_val_acq): Use register asms to assign
14780 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
14781 Cast return to __typeof (oldval).
14782
14783 2015-08-08 Mike Frysinger <vapier@gentoo.org>
14784
14785 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14786 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
14787 and delete sys/syscall.h include.
14788
14789 2015-08-07 Joseph Myers <joseph@codesourcery.com>
14790
14791 [BZ #16517]
14792 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14793 (tan): Force underflow exception for arguments with small absolute
14794 value.
14795 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14796 (__kernel_tanf): Force underflow exception for arguments with
14797 small absolute value.
14798 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14799 (__kernel_tanl): Force underflow exception for arguments with
14800 small absolute value.
14801 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14802 (__kernel_tanl): Force underflow exception for arguments with
14803 small absolute value.
14804 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14805 (__kernel_tanl): Force underflow exception for arguments with
14806 small absolute value.
14807 * math/auto-libm-test-in: Add more tests of tan.
14808 * math/auto-libm-test-out: Regenerated.
14809
14810 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
14811
14812 Fix sysdeps/i386/fpu/s_scalbn.S build
14813
14814 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14815
14816 2015-08-07 Mike Frysinger <vapier@gentoo.org>
14817
14818 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14819
14820 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
14821
14822 Fix gcrt0.o compilation
14823
14824 When static-start-installed-name is different from
14825 start-installed-name, we must not use the shared objects.
14826
14827 * csu/Makefile
14828 (extra-objs): Add gmon-start.o when building shared library and
14829 $(static-start-installed-name) is different from
14830 $(start-installed-name).
14831 $(objpfx)g$(static-start-installed-name): When building shared
14832 library and $(static-start-installed-name) is different from
14833 $(static-start-installed-name), revert to non-shared rule,
14834 i.e. using $(objpfx)% and gmon-start.o.
14835
14836 2015-08-06 Joseph Myers <joseph@codesourcery.com>
14837
14838 [BZ #16519]
14839 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14840 (__ieee754_sinh): Force underflow exception for arguments with
14841 small absolute value.
14842 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14843 (__ieee754_sinhf): Force underflow exception for arguments with
14844 small absolute value.
14845 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14846 (__ieee754_sinhl): Force underflow exception for arguments with
14847 small absolute value.
14848 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14849 (__ieee754_sinhl): Force underflow exception for arguments with
14850 small absolute value.
14851 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14852 (__ieee754_sinhl): Force underflow exception for arguments with
14853 small absolute value.
14854 * math/auto-libm-test-in: Add more tests of sinh.
14855 * math/auto-libm-test-out: Regenerated.
14856 * sysdeps/i386/fpu/libm-test-ulps: Update.
14857
14858 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14859
14860 * libio/oldfileops.c: Include unistd.h.
14861
14862 2015-08-06 Mike Frysinger <vapier@gentoo.org>
14863
14864 * stdlib/isomac.c: Include ctype.h.
14865
14866 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
14867
14868 * dirent/tst-seekdir.c (main): Converted to ...
14869 (do_test): ... this.
14870 (TEST_FUNCTION): New macro.
14871 Include test-skeleton.c.
14872 * elf/tst-dlmodcount.c (main): Converted to ...
14873 (do_test): ... this.
14874 (TEST_FUNCTION): New macro.
14875 Include test-skeleton.c.
14876 * elf/tst-order-main.c (main): Converted to ...
14877 (do_test): ... this.
14878 (TEST_FUNCTION): New macro.
14879 Include test-skeleton.c.
14880 * elf/tst-pie2.c (main): Converted to ...
14881 (do_test): ... this.
14882 (TEST_FUNCTION): New macro.
14883 Include test-skeleton.c.
14884 * inet/tst-ether_aton.c (main): Converted to ...
14885 (do_test): ... this.
14886 (TEST_FUNCTION): New macro.
14887 Include test-skeleton.c.
14888 * misc/tst-mntent.c (main): Converted to ...
14889 (do_test): ... this.
14890 (TEST_FUNCTION): New macro.
14891 Include test-skeleton.c.
14892 * misc/tst-tsearch.c (main): Converted to ...
14893 (do_test): ... this.
14894 (TEST_FUNCTION): New macro.
14895 Include test-skeleton.c.
14896 * posix/tst-regexloc.c (main): Converted to ...
14897 (do_test): ... this.
14898 (TEST_FUNCTION): New macro.
14899 Include test-skeleton.c.
14900 * resolv/tst-aton.c (main): Converted to ...
14901 (do_test): ... this.
14902 (TEST_FUNCTION): New macro.
14903 Include test-skeleton.c.
14904 * stdio-common/test-fwrite.c (main): Converted to ...
14905 (do_test): ... this.
14906 (TEST_FUNCTION): New macro.
14907 Include test-skeleton.c.
14908 * stdio-common/tst-ferror.c (main): Converted to ...
14909 (do_test): ... this.
14910 (TEST_FUNCTION): New macro.
14911 Include test-skeleton.c.
14912 * stdio-common/tst-printf.c (main): Converted to ...
14913 (do_test): ... this.
14914 (TEST_FUNCTION): New macro.
14915 Include test-skeleton.c.
14916 * stdio-common/tst-printfsz.c (main): Converted to ...
14917 (do_test): ... this.
14918 (TEST_FUNCTION): New macro.
14919 Include test-skeleton.c.
14920 * stdlib/tst-strtod.c (main): Converted to ...
14921 (do_test): ... this.
14922 (TEST_FUNCTION): New macro.
14923 Include test-skeleton.c.
14924 * string/tst-strlen.c (main): Converted to ...
14925 (do_test): ... this.
14926 (TEST_FUNCTION): New macro.
14927 Include test-skeleton.c.
14928 * string/tst-svc.c (main): Converted to ...
14929 (do_test): ... this.
14930 (TEST_FUNCTION): New macro.
14931 Include test-skeleton.c.
14932 * time/tst-strptime.c (main): Converted to ...
14933 (do_test): ... this.
14934 (TEST_FUNCTION): New macro.
14935 Include test-skeleton.c.
14936 * timezone/tst-timezone.c (main): Converted to ...
14937 (do_test): ... this.
14938 (TEST_FUNCTION): New macro.
14939 Include test-skeleton.c.
14940
14941 2015-08-05 Zack Weinberg <zackw@panix.com>
14942
14943 * misc/regexp.h: Update comments.
14944
14945 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
14946
14947 [BZ #18635]
14948 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14949 before return label.
14950
14951 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14952
14953 [BZ #18661]
14954 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14955 when calling __errno_location.
14956 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14957 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14958
14959 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14960
14961 [BZ #18661]
14962 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14963 (__lll_timedwait_tid): Align stack to 16 bytes when calling
14964 __gettimeofday.
14965
14966 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14967
14968 [BZ #18661]
14969 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14970 (__start_context): Don't use pop to restore %rdi so that stack
14971 is aligned to 16 bytes when calling __setcontext.
14972
14973 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14974
14975 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14976 only for libc.
14977 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14978
14979 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14980
14981 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14982 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
14983 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14984
14985 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14986
14987 * string/memccpy.c (memccpy):
14988 Improve performance by using memchr/memcpy/__mempcpy.
14989
14990 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14991
14992 * string/strncpy.c (strncpy):
14993 Improve performance by using __strnlen/memcpy.
14994
14995 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14996
14997 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14998 Optimize to avoid an unnecessary FPCR read.
14999
15000 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
15001
15002 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15003 Optimize to reduce FPCR/FPSR accesses.
15004
15005 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
15006
15007 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
15008 dead->data[category] != NULL.
15009
15010 2015-08-05 Joseph Myers <joseph@codesourcery.com>
15011
15012 [BZ #18647]
15013 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
15014 and |x| close to 1, use absolute value of x when computing log.
15015 * math/auto-libm-test-in: Add more tests of pow.
15016 * math/auto-libm-test-out: Regenerated.
15017
15018 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15019
15020 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
15021 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
15022 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
15023
15024 2015-08-05 Marko Myllynen <myllynen@redhat.com>
15025
15026 [BZ #18525]
15027 * locales/km_KH: Remove timezone definition.
15028 * locales/lo_LA: Likewise.
15029 * locales/my_MM: Likewise.
15030 * locales/nan_TW@latin: Likewise.
15031 * locales/th_TH: Likewise.
15032 * locales/uk_UA: Likewise.
15033
15034 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
15035
15036 [BZ #18265]
15037 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
15038 (wcsncat): Likewise.
15039 (wcscmp): Likewise.
15040 (wcsncmp): Likewise.
15041
15042 2015-08-05 Mike Frysinger <vapier@gentoo.org>
15043
15044 * test-skeleton.c (usage): New function.
15045 (main): Call usage when opt is '?'.
15046
15047 2015-08-05 Mike Frysinger <vapier@gentoo.org>
15048
15049 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
15050 before first use.
15051
15052 2015-08-05 Mike Frysinger <vapier@gentoo.org>
15053
15054 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
15055 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
15056 in there too.
15057
15058 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
15059
15060 * version.h (RELEASE): Set to "development".
15061 (VERSION): Set to "2.22.90"
15062
15063 * version.h (RELEASE): Set to "stable".
15064 (VERSION): Set to "2.22"
15065 * include/features.h (__GLIBC_MINOR__): Set to 22.
15066
15067 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
15068
15069 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
15070 Restructure macro to avoid "value computed is not used" warning.
15071 (atomic_compare_and_exchange_val_acq): Likewise.
15072
15073 2015-08-04 Andreas Schwab <schwab@suse.de>
15074
15075 [BZ #18635]
15076 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
15077 ret.
15078 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
15079
15080 2015-08-01 Carlos O'Donell <carlos@redhat.com>
15081
15082 * po/pl.po: Updated translation.
15083 * po/uk.po: Likewise.
15084 * po/fi.po: Likewise.
15085 * po/ko.po: Likewise.
15086 * po/ru.po: Likewise.
15087 * po/vi.po: Likewise.
15088
15089 2015-07-31 Zack Weinberg <zackw@panix.com>
15090
15091 [BZ #18681]
15092 * regexp.h: Add unconditional #warning stating that this header
15093 will be removed soon. Revise banner comment to match.
15094 (compile): Consistently use ERROR instead of RETURN to report
15095 errors (partial fix for bz#18681).
15096 * regexp.c: Don't include regexp.h. Remove some unnecessary
15097 declarations.
15098
15099 2015-07-31 Carlos O'Donell <carlos@redhat.com>
15100
15101 * po/libc.pot: Regenerated.
15102
15103 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
15104
15105 [BZ #18740]
15106 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
15107 float-vlen4-arch-ext-cflags): Removed.
15108 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
15109 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
15110
15111 2015-07-30 Mike Frysinger <vapier@gentoo.org>
15112
15113 [BZ #14113]
15114 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
15115 aligned to __aligned__.
15116 (pthread_cond_t, pthread_rwlock_t): Likewise.
15117
15118 2015-07-30 Torvald Riegel <triegel@redhat.com>
15119
15120 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
15121
15122 2015-07-30 Mike Frysinger <vapier@gentoo.org>
15123
15124 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
15125 (struct sigaction): Change sa_flags from a long to an int, and add
15126 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
15127
15128 2015-07-30 Mike Frysinger <vapier@gentoo.org>
15129
15130 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
15131 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15132 sysdeps/generic/sysdep.h include.
15133 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
15134 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
15135 sysdeps/hppa/sysdep.h.
15136 (ENTRY, PSEUDO): Undefine before defining.
15137
15138 2015-07-30 Mike Frysinger <vapier@gentoo.org>
15139
15140 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
15141 from scratch to use INTERNAL_SYSCALL.
15142
15143 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
15144
15145 [BZ #18078]
15146 * scripts/check-localplt.awk: Support alternate relocations.
15147 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
15148 sections.
15149 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
15150 malloc entries with + REL R_386_GLOB_DAT.
15151 * sysdeps/x86_64/localplt.data: New file.
15152
15153 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
15154
15155 [BZ #18731]
15156 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15157 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15158 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15159
15160 2015-07-27 Mike Frysinger <vapier@gentoo.org>
15161
15162 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
15163
15164 2015-07-27 Mike Frysinger <vapier@gentoo.org>
15165
15166 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15167 directly in terms of __sync_fetch_and_add and delete (int) cast.
15168
15169 2015-07-27 Mike Frysinger <vapier@gentoo.org>
15170
15171 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
15172 the -D_ASM_IA64_CURRENT_H flag.
15173
15174 2015-07-27 Mike Frysinger <vapier@gentoo.org>
15175
15176 [BZ #18641]
15177 * pwd/pwd.h (putpwent): Delete __nonnull markings.
15178
15179 2015-07-27 Andreas Schwab <schwab@suse.de>
15180
15181 * conform/conformtest.pl (checknamespace): Filter out string
15182 literals while tokenizing.
15183
15184 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
15185
15186 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15187 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
15188 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15189
15190 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
15191
15192 * nptl/tst-join7mod.c: Add #include <string.h>.
15193
15194 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
15195
15196 * sysdeps/nios2/libm-test-ulps: Update.
15197
15198 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
15199
15200 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
15201 Fix order of arguments to the rt_sigprocmask syscall.
15202 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
15203 Likewise.
15204
15205 2015-07-24 Roland McGrath <roland@hack.frob.com>
15206
15207 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15208
15209 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15210
15211 [BZ #18457]
15212 * nptl/Makefile (tests): New test case tst-join7.
15213 (modules-names): New test case module tst-join7mod.
15214 * nptl/tst-join7.c: New file.
15215 * nptl/tst-join7mod.c: New file.
15216 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15217 all translation units in libc.so, libpthread.so and rtld.
15218
15219 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15220
15221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15222
15223 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
15224
15225 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15226 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15227 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15228 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15229 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15230 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15231 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15232 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15233 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15234 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15235 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15236 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15237 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15238 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15239 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15240 implementation.
15241
15242 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15243
15244 [BZ #17711]
15245 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15246 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15247 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15248 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15249 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15250 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15251
15252 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15253
15254 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15255 instead of just saying load lock in the comments.
15256
15257 2015-07-23 Roland McGrath <roland@hack.frob.com>
15258
15259 * sysdeps/unix/Subdirs: Moved ...
15260 * sysdeps/posix/Subdirs: ... here.
15261 * login/pty.h (struct termios, struct winsize): Add forward decls.
15262 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15263 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15264 * sysdeps/arm/nacl/libc.abilist: Updated.
15265 * sysdeps/nacl/libutil.abilist: New file.
15266
15267 * bits/signum.h: Update comments to mention 1003.1-2013 too.
15268 (SIGWINCH): New macro.
15269
15270 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15271 * sysdeps/arm/nacl/libc.abilist: Add it.
15272
15273 2015-07-23 Mike Frysinger <vapier@gentoo.org>
15274
15275 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15276
15277 2015-07-23 Mike Frysinger <vapier@gentoo.org>
15278
15279 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15280 Swap __glibc_reserved0 and sa_flags order.
15281
15282 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15283
15284 [BZ #18657]
15285 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15286 are pending TLS destructor calls.
15287 * include/link.h (struct link_map): Add concurrency note for
15288 L_TLS_DTOR_COUNT.
15289 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15290 Don't touch the link map flag. Atomically increment
15291 l_tls_dtor_count.
15292 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15293 Avoid taking the load lock and don't touch the link map flag.
15294 * stdlib/tst-tls-atexit-nodelete.c: New test case.
15295 * stdlib/Makefile (tests): Use it.
15296 * stdlib/tst-tls-atexit.c (do_test): dlopen
15297 tst-tls-atexit-lib.so again before dlclose. Add conditionals
15298 to allow tst-tls-atexit-nodelete test case to use it.
15299
15300 2015-07-22 Mike Frysinger <vapier@gentoo.org>
15301
15302 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15303 to bits/types.h.
15304 (msgqnum_t): New typedef.
15305 (msglen_t): Likewise.
15306 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
15307 and msg_qbytes type to msglen_t.
15308
15309 2015-07-22 Mike Frysinger <vapier@gentoo.org>
15310
15311 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15312 pad0 to __glibc_reserved0.
15313 (struct stat64): Likewise.
15314
15315 2015-07-22 Mike Frysinger <vapier@gentoo.org>
15316
15317 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15318 Change sa_flags from a long to an int and add __glibc_reserved0 before
15319 it for padding.
15320
15321 2015-07-22 Mike Frysinger <vapier@gentoo.org>
15322
15323 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15324 anonymous by deleting "siginfo" name.
15325
15326 2015-07-21 Roland McGrath <roland@hack.frob.com>
15327
15328 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15329 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15330 rather than __nacl_irt_filename.
15331 * sysdeps/nacl/xstat.c (__xstat): Likewise.
15332
15333 * NEWS: New item for arm-nacl port.
15334 * sysdeps/arm/nacl/libc.abilist: New file.
15335 * sysdeps/nacl/ld.abilist: New file.
15336 * sysdeps/nacl/libBrokenLocale.abilist: New file.
15337 * sysdeps/nacl/libanl.abilist: New file.
15338 * sysdeps/nacl/libcrypt.abilist: New file.
15339 * sysdeps/nacl/libdl.abilist: New file.
15340 * sysdeps/nacl/libm.abilist: New file.
15341 * sysdeps/nacl/libpthread.abilist: New file.
15342 * sysdeps/nacl/libresolv.abilist: New file.
15343 * sysdeps/nacl/librt.abilist: New file.
15344
15345 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
15346
15347 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15348 __startcontext to initialize the new context.
15349 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15350 up CFI directive to forbid further backtracing.
15351
15352 2015-07-21 Marko Myllynen <myllynen@redhat.com>
15353
15354 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15355 reference.
15356 * charmaps/ANSI_X3.4-1968: Likewise.
15357 * charmaps/BS_4730: Likewise.
15358 * charmaps/BS_VIEWDATA: Likewise.
15359 * charmaps/CP1250: Likewise.
15360 * charmaps/CP1251: Likewise.
15361 * charmaps/CP1252: Likewise.
15362 * charmaps/CP1253: Likewise.
15363 * charmaps/CP1254: Likewise.
15364 * charmaps/CP1255: Likewise.
15365 * charmaps/CP1256: Likewise.
15366 * charmaps/CSN_369103: Likewise.
15367 * charmaps/EBCDIC-DK-NO: Likewise.
15368 * charmaps/GB_1988-80: Likewise.
15369 * charmaps/GREEK-CCITT: Likewise.
15370 * charmaps/GREEK7: Likewise.
15371 * charmaps/INIS-8: Likewise.
15372 * charmaps/ISIRI-3342: Likewise.
15373 * charmaps/ISO_2033-1983: Likewise.
15374 * charmaps/ISO_5427-EXT: Likewise.
15375 * locales/POSIX: Likewise.
15376 * locales/ar_SA: Likewise.
15377 * locales/be_BY: Likewise.
15378 * locales/be_BY@latin: Likewise.
15379 * locales/ca_ES: Likewise.
15380 * locales/cs_CZ: Likewise.
15381 * locales/da_DK: Likewise.
15382 * locales/de_BE: Likewise.
15383 * locales/de_CH: Likewise.
15384 * locales/de_LU: Likewise.
15385 * locales/en_AU: Likewise.
15386 * locales/en_BW: Likewise.
15387 * locales/en_CA: Likewise.
15388 * locales/en_DK: Likewise.
15389 * locales/en_GB: Likewise.
15390 * locales/en_IE: Likewise.
15391 * locales/en_NZ: Likewise.
15392 * locales/en_ZA: Likewise.
15393 * locales/en_ZW: Likewise.
15394 * locales/es_AR: Likewise.
15395 * locales/es_BO: Likewise.
15396 * locales/es_CL: Likewise.
15397 * locales/es_CO: Likewise.
15398 * locales/es_DO: Likewise.
15399 * locales/es_EC: Likewise.
15400 * locales/es_ES: Likewise.
15401 * locales/es_HN: Likewise.
15402 * locales/es_MX: Likewise.
15403 * locales/es_PA: Likewise.
15404 * locales/es_PE: Likewise.
15405 * locales/es_PY: Likewise.
15406 * locales/es_SV: Likewise.
15407 * locales/es_US: Likewise.
15408 * locales/es_UY: Likewise.
15409 * locales/es_VE: Likewise.
15410 * locales/et_EE: Likewise.
15411 * locales/fa_IR: Likewise.
15412 * locales/fo_FO: Likewise.
15413 * locales/fr_CA: Likewise.
15414 * locales/fr_CH: Likewise.
15415 * locales/gv_GB: Likewise.
15416 * locales/he_IL: Likewise.
15417 * locales/hr_HR: Likewise.
15418 * locales/id_ID: Likewise.
15419 * locales/is_IS: Likewise.
15420 * locales/it_CH: Likewise.
15421 * locales/iw_IL: Likewise.
15422 * locales/kl_GL: Likewise.
15423 * locales/ko_KR: Likewise.
15424 * locales/kw_GB: Likewise.
15425 * locales/lg_UG: Likewise.
15426 * locales/lt_LT: Likewise.
15427 * locales/lv_LV: Likewise.
15428 * locales/mi_NZ: Likewise.
15429 * locales/nhn_MX: Likewise.
15430 * locales/nl_BE: Likewise.
15431 * locales/pl_PL: Likewise.
15432 * locales/sk_SK: Likewise.
15433 * locales/sl_SI: Likewise.
15434 * locales/sv_FI: Likewise.
15435 * locales/tl_PH: Likewise.
15436 * locales/tr_TR: Likewise.
15437 * locales/vi_VN: Likewise.
15438
15439 2015-07-21 Khem Raj <raj.khem@gmail.com>
15440
15441 [BZ #17475]
15442 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
15443 of tu_IN and bh_IN.
15444
15445 2015-07-21 Mike Frysinger <vapier@gentoo.org>
15446
15447 [BZ #18694]
15448 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
15449 bits/wordsize.h.
15450 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
15451
15452 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15453
15454 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15455 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15456 (spawn_thread): New function.
15457 (load): Rename to reg_dtor_and_close. Move dlopen to...
15458 (do_test): ... here. Use IS_LOADED to test for its
15459 availability.
15460
15461 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
15462
15463 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15464
15465 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
15466
15467 [BZ #18696]
15468 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15469 si_addr_bnd.
15470 (si_lower): New.
15471 (si_upper): Likewise.
15472
15473 2015-07-16 David S. Miller <davem@davemloft.net>
15474
15475 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15476
15477 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15478
15479 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15480 buffer.
15481 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15482 fail output information.
15483
15484 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15485
15486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15487 and strstr-ppc64..
15488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15489 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15490 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15491 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15492 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15493
15494 2015-07-16 Mike Frysinger <vapier@gentoo.org>
15495
15496 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15497 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15498 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15499 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15500
15501 2015-07-16 Mike Frysinger <vapier@gentoo.org>
15502
15503 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15504 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15505 rtld_hidden_proto.
15506 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15507
15508 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15509
15510 * tst-nodelete-opened.c (do_test): Add comment to clarify how
15511 the test can fail.
15512
15513 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15514
15515 [BZ #18676]
15516 * elf/tst-nodelete-opened.c: New test case.
15517 * elf/tst-nodelete-opened-lib.c: New test case module.
15518 * elf/Makefile (tests, modules-names): Use them.
15519 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15520 early.
15521
15522 2015-07-15 David S. Miller <davem@davemloft.net>
15523
15524 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15525 futex-intenal.h
15526 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15527 * sysdeps/sparc/sparc64/Makefile: Likewise.
15528 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15529 Remove space from macro define.
15530 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15531
15532 2015-07-15 Pravin Satpute <psatpute@redhat.com>
15533
15534 [BZ #17475]
15535 * locale/iso-639.def: Update Bhili and Tulu language codes as
15536 per iso639-3.
15537
15538 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
15539
15540 * elf/tst-leaks1.c (main): Converted to ...
15541 (do_test): ... this.
15542 (TEST_FUNCTION): New macro.
15543 Include test-skeleton.c.
15544 * localedata/tst-langinfo.c (main): Converted to ...
15545 (do_test): ... this.
15546 (TEST_FUNCTION): New macro.
15547 Include test-skeleton.c.
15548 * math/test-fpucw.c (main): Converted to ...
15549 (do_test): ... this.
15550 (TEST_FUNCTION): New macro.
15551 Include test-skeleton.c.
15552 * math/test-tgmath.c (main): Converted to ...
15553 (do_test): ... this.
15554 (TEST_FUNCTION): New macro.
15555 Include test-skeleton.c.
15556 * math/test-tgmath2.c (main): Converted to ...
15557 (do_test): ... this.
15558 (TEST_FUNCTION): New macro.
15559 Include test-skeleton.c.
15560 * setjmp/tst-setjmp.c (main): Converted to ...
15561 (do_test): ... this.
15562 (TEST_FUNCTION): New macro.
15563 Include test-skeleton.c.
15564 * stdio-common/tst-sscanf.c (main): Converted to ...
15565 (do_test): ... this.
15566 (TEST_FUNCTION): New macro.
15567 Include test-skeleton.c.
15568 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15569 (do_test): ... this.
15570 (TEST_FUNCTION): New macro.
15571 Include test-skeleton.c.
15572
15573 * elf/tst-audit9.c (main): Converted to ...
15574 (do_test): ... this.
15575 (TEST_FUNCTION): New macro.
15576 Include test-skeleton.c.
15577
15578 2015-07-15 Mike Frysinger <vapier@gentoo.org>
15579
15580 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15581
15582 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15583
15584 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15585 New variable.
15586
15587 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15588
15589 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15590
15591 2015-07-14 Roland McGrath <roland@hack.frob.com>
15592
15593 * sysdeps/generic/dl-fileid.h: New file.
15594 * sysdeps/posix/dl-fileid.h: New file.
15595 * sysdeps/nacl/dl-fileid.h: New file.
15596 * include/link.h: Include <dl-fileid.h>.
15597 (struct link_map): Replace l_dev and l_ino with l_file_id.
15598 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15599 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
15600 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
15601
15602 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15603
15604 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15605
15606 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15607
15608 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15609 Add iff $CXX is set.
15610 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15611 Likewise.
15612 (tst-nodelete-zmodiff): Likewise.
15613 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15614
15615 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15616
15617 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15618
15619 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
15620
15621 * sysdeps/aarch64/fpu/math_private.h
15622 (define math_opt_barrier): Add AArch64 version.
15623 (math_force_eval): Likewise.
15624
15625 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
15626
15627 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15628
15629 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
15630
15631 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15632 %ld with %jd and cast to intmax_t.
15633 (do_test_length_zero): Likewise.
15634
15635 2015-07-10 Roland McGrath <roland@hack.frob.com>
15636
15637 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15638
15639 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
15640
15641 * sysdeps/tile/libm-test-ulps: Regenerated.
15642
15643 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15644 Comment out the whole function, not just its body.
15645
15646 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15647
15648 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15649 locks.
15650
15651 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15652
15653 2015-07-10 Torvald Riegel <triegel@redhat.com>
15654
15655 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15656 (sem_assume_only_signals_cause_futex_EINTR): Remove.
15657
15658 2015-07-10 Torvald Riegel <triegel@redhat.com>
15659
15660 * sysdeps/nptl/futex-internal.h: New file.
15661 * sysdeps/nacl/futex-internal.h: New file.
15662 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15663 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15664 error checking.
15665 (setxid_unmark_thread): Likewise.
15666 (__nptl_setxid): Likewise.
15667 (__wait_lookup_done): Likewise.
15668 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15669 * nptl/nptl-init.c (sighandler_setxid): Likewise.
15670 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15671 * nptl/pthread_once.c (clear_once_control): Likewise.
15672 (__pthread_once_slow): Likewise.
15673 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15674 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15675 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15676 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15677 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15678 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15679 Likewise.
15680 (__pthread_rwlock_rdlock): Likewise.
15681 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15682 Likewise.
15683 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15684 Likewise.
15685 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15686 Likewise.
15687 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15688 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15689 Likewise.
15690 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15691 __ASSUME_PRIVATE_FUTEX check.
15692 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15693 Check that shared futexes are supported.
15694 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15695 wrappers with error checking.
15696 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15697 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15698 * nptl/pthread_barrierattr_setpshared.c
15699 (pthread_barrierattr_setpshared): Check that shared futexes are
15700 supported.
15701 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15702 Likewise.
15703 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15704 Likewise.
15705 * nptl/sem_init.c (futex_private_if_supported): Remove.
15706 (__new_sem_init): Adapt and check that shared futexes are supported.
15707 * nptl/sem_open.c (sem_open): Likewise.
15708 * nptl/sem_post.c (futex_wake): Remove.
15709 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15710 (do_futex_wait): Use futex wrappers with error checking.
15711 * nptl/sem_wait.c: Include lowlevellock.h.
15712 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15713 Use futex_supports_pshared.
15714 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15715 Use futex wrappers with error checking.
15716 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15717 Likewise.
15718 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15719 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15720 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15721 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15722 (futex_wake): Likewise.
15723 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15724 (do_futex_wait): Use futex wrappers with error checking.
15725 (__new_sem_wait_slow): Update EINTR handling.
15726 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15727
15728 2015-07-09 Martin Sebor <msebor@redhat.com>
15729
15730 [BZ #18435]
15731 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15732 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15733 * nptl/Makefile (test-xfail-tst-once5): Define.
15734
15735 2015-07-09 Roland McGrath <roland@hack.frob.com>
15736
15737 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15738 * elf/dl-minimal.c: For readability, reorder some definitions and
15739 introduce more page breaks. Include <stdio.h>.
15740 (__libc_fatal): New function.
15741
15742 * include/unistd.h: Add rtld_hidden_proto for _exit.
15743 * posix/_exit.c: Add rtld_hidden_def.
15744 * sysdeps/mach/hurd/_exit.c: Likewise.
15745 * sysdeps/nacl/_exit.c: Likewise.
15746 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15747 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15748
15749 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
15750
15751 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15752 bndmov encoding with zero displacement.
15753
15754 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
15755 H.J. Lu <hongjiu.lu@intel.com>
15756
15757 [BZ #18134]
15758 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15759 * sysdeps/i386/configure: Regenerated.
15760 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15761 (_dl_runtime_profile): Save and restore Intel MPX return bound
15762 registers when calling _dl_call_pltexit. Add
15763 PRESERVE_BND_REGS_PREFIX before return.
15764 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15765 (LRV_BND1_OFFSET): Likewise.
15766 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15767 lrv_bnd1.
15768 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15769 typo in bndmov encoding.
15770 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15771 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
15772 branch instructions to preserve bounds.
15773
15774 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15775
15776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15777 [GLIBC_2.22]: Add fmemopen.
15778
15779 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
15780
15781 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15782 returns an error, also try to use host port from __mach_host_self for
15783 the __vm_wire call.
15784 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15785
15786 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
15787
15788 [BZ #18400]
15789 [BZ #18648]
15790 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15791 Fix pr_uid and pr_gid members.
15792 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15793 definition to elf_greg_t.
15794
15795 2015-07-08 Roland McGrath <roland@hack.frob.com>
15796
15797 [BZ #18383]
15798 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15799 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15800 * sysdeps/arm/configure: Regenerated.
15801 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15802 (test-xfail-tst-tlsalign-static): Variable removed.
15803
15804 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15805 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15806 rather than explicit 'ln -s'.
15807
15808 * resolv/rpc/netdb.h: New file.
15809 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15810
15811 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15812
15813 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15814 length buffers.
15815 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15816 test-skeleton.c.
15817
15818 [BZ #6544]
15819 [BZ #11216]
15820 [BZ #12836]
15821 [BZ #13151]
15822 [BZ #13152]
15823 [BZ #14292]
15824 * include/stdio.h (fmemopen): Remove hidden prototype.
15825 (__fmemopen): Add new hidden prototype.
15826 * libio/Makefile: Add oldfmemopen object.
15827 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15828 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15829 compliance.
15830 * libio/oldfmemopen.c: New file: old fmemopen implementation for
15831 symbol compatibility.
15832 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15833 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15834 fmemopen.
15835 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15836 on append and read mode.
15837 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15838 fmemopen.
15839 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15840 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15841 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15842 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15843 Likewise.
15844 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15845 [GLIBC_2.22]: Likewise.
15846 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15847 Likewise.
15848 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15849 Likewise.
15850 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15851 [GLIBC_2.22]: Likewise.
15852 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15853 [GLIBC_2.22]: Likewise.
15854 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15855 [GLIBC_2.22]: Likewise.
15856 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15857 [GLIBC_2.22]: Likewise.
15858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15859 [GLIBC_2.22]: Likewise.
15860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15861 [GLIBC_2.22]: Likewise.
15862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15863 [GLIBC_2.22]: Likewise.
15864 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15865 Likewise.
15866 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15867 Likewise.
15868 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15869 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15870 [GLIBC_2.22]: Likewise.
15871 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15872 [GLIBC_2.22]: Likewise.
15873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15874 [GLIBC_2.22]: Likewise.
15875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15876 [GLIBC_2.22]: Likewise.
15877 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15878 Likewise.
15879 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15880 Likewise.
15881 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15882 Likewise.
15883 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15884 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15885
15886 2015-07-08 Carlos O'Donell <carlos@redhat.com>
15887
15888 [BZ #18643]
15889 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15890 IPV6_PATHMTU, and IPV6_DONTFRAG.
15891
15892 2015-07-08 Feng Gao <gfree.wind@gmail.com>
15893
15894 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15895 and _IO_UNBUFFERED.
15896 * libio/oldfileops.c: Likewise.
15897 * libio/wfileops.c: Likewise.
15898
15899 2015-07-08 Mike Frysinger <vapier@gentoo.org>
15900
15901 * nscd/selinux.c: Delete selinux/flask.h include.
15902
15903 2015-07-08 Mike Frysinger <vapier@gentoo.org>
15904
15905 [BZ #18641]
15906 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15907 (putpwent): Likewise.
15908 (getpwnam): Likewise.
15909 (getpwent_r): Likewise.
15910 (getpwuid_r): Likewise.
15911 (getpwnam_r): Likewise.
15912 (fgetpwent_r): Likewise.
15913
15914 2015-07-08 Carlos O'Donell <carlos@redhat.com>
15915
15916 [BZ #18557]
15917 * inet/rcmd.c (__validuser2_sa): Check user first to
15918 short-circuit host check.
15919
15920 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
15921 Mikhail Ilin <m.ilin@samsung.com>
15922
15923 [BZ #17833]
15924 * elf/Makefile (tests): Add tst-nodelete.
15925 (modules-names): Add tst-nodelete-uniquemod.
15926 (tst-nodelete-uniquemod.so-no-z-defs): New.
15927 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15928 (tst-nodelete-zmod.so-no-z-defs): Likewise.
15929 ($(objpfx)tst-nodelete): Likewise.
15930 ($(objpfx)tst-nodelete.out): Likewise.
15931 (LDFLAGS-tst-nodelete): Likewise.
15932 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15933 * elf/dl-close.c (_dl_close_worker): Add a parameter to
15934 implement forced object deletion.
15935 (_dl_close): Pass false to _dl_close_worker.
15936 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15937 * elf/tst-nodelete.cc: New file.
15938 * elf/tst-nodeletelib.cc: Likewise.
15939 * elf/tst-znodeletelib.cc: Likewise.
15940 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15941
15942 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15943
15944 [BZ #18508]
15945 * stdlib/Makefile ($(objpfx)tst-makecontext3):
15946 Depend on $(libdl).
15947 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15948 is not called infinitely times.
15949 (backtrace_helper): New function.
15950 (trace_arg): New struct.
15951 (st1): Enlarge stack size.
15952 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15953 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15954 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15955 Likewise.
15956
15957 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15958
15959 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15960
15961 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15962
15963 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15964 Include sys/types.h instead of bits/types.h.
15965 Remove inclusion of bits/wordsize.h.
15966
15967 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
15968
15969 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15970 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15971 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15972 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15973 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15974 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15975
15976 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
15977
15978 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15979 link-defines.sym.
15980 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15981 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15982 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15983 and LR_SIZE.
15984 * sysdeps/i386/link-defines.sym: New file.
15985
15986 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
15987
15988 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15989 (modules-names): Add tst-auditmod3a tst-auditmod3b.
15990 ($(objpfx)tst-audit3): New rule.
15991 ($(objpfx)tst-audit3.out): Likewise.
15992 * sysdeps/i386/tst-audit3.c: New file.
15993 * sysdeps/i386/tst-audit3.h: Likewise.
15994 * sysdeps/i386/tst-auditmod3a.c: Likewise.
15995 * sysdeps/i386/tst-auditmod3b.c: Likewise.
15996
15997 2015-07-07 Torvald Riegel <triegel@redhat.com>
15998
15999 [BZ #18633]
16000 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
16001 pointer in C code.
16002 (__strcat_c): Likewise.
16003 (__strcat_g): Likewise.
16004
16005 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
16006
16007 [BZ #18592]
16008 * misc/sbrk.c: Set errno to ENOMEM on overflow.
16009
16010 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
16011
16012 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
16013 New function. (__ieee754_sqrtf): New function.
16014 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
16015 New function.
16016 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
16017 New function.
16018
16019 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
16020
16021 * sysdeps/ieee754/support.c: Remove unused file.
16022
16023 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
16024
16025 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
16026 registers instead of d ones so the layout is kernel abi compatible.
16027 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
16028 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
16029 Likewise.
16030
16031 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
16032
16033 * sysdeps/aarch64/libm-test-ulps: Regenerated.
16034
16035 2015-07-01 Joseph Myers <joseph@codesourcery.com>
16036
16037 [BZ #18619]
16038 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
16039 and return argument in case of subnormal argument.
16040
16041 2015-07-01 Martin Sebor <msebor@redhat.com>
16042
16043 [BZ #18435]
16044 * nptl/Makefile: Add tst-once5.cc.
16045 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16046 Remove macro redefinitions.
16047 * nptl/tst-once5.cc: New test.
16048
16049 2015-07-01 Joseph Myers <joseph@codesourcery.com>
16050
16051 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16052
16053 * sysdeps/arm/libm-test-ulps: Regenerated.
16054
16055 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16056 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16057
16058 2015-06-30 Torvald Riegel <triegel@redhat.com>
16059
16060 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
16061 lll_lock_wait_private and lll_futex_wake probes.
16062
16063 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16064 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
16065 Likewise.
16066 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
16067 atomic_spin_nop.
16068 * sysdeps/x86_64/bits/atomic.h: Likewise.
16069 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
16070 to atomic_spin_nop and move ...
16071 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16072 ... here and ...
16073 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
16074 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
16075 atomic_spin_nop instead of BUSY_WAIT_NOP.
16076 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
16077 Likewise.
16078 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
16079 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16080 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16081 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16082 instead of atomic_delay.
16083
16084 2015-06-29 Joseph Myers <joseph@codesourcery.com>
16085
16086 [BZ #18613]
16087 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16088 X_ADJ not X when adjusting exponent.
16089 (__ieee754_gamma_r): Do intermediate computations in
16090 round-to-nearest then adjust overflowing and underflowing results
16091 as needed.
16092 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
16093 of X_ADJ not X when adjusting exponent.
16094 (__ieee754_gammaf_r): Do intermediate computations in
16095 round-to-nearest then adjust overflowing and underflowing results
16096 as needed.
16097 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
16098 log of X_ADJ not X when adjusting exponent.
16099 (__ieee754_gammal_r): Do intermediate computations in
16100 round-to-nearest then adjust overflowing and underflowing results
16101 as needed. Use 1.0L not 1.0f as numerator of division.
16102 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
16103 log of X_ADJ not X when adjusting exponent.
16104 (__ieee754_gammal_r): Do intermediate computations in
16105 round-to-nearest then adjust overflowing and underflowing results
16106 as needed. Use 1.0L not 1.0f as numerator of division.
16107 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
16108 of X_ADJ not X when adjusting exponent.
16109 (__ieee754_gammal_r): Do intermediate computations in
16110 round-to-nearest then adjust overflowing and underflowing results
16111 as needed. Use 1.0L not 1.0f as numerator of division.
16112 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
16113 to auto-libm-test-in.
16114 (tgamma_test): Use ALL_RM_TEST.
16115 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
16116 tests of tgamma with spurious-overflow.
16117 * math/auto-libm-test-out: Regenerated.
16118 * math/gen-libm-have-vector-test.sh: Do not check for START.
16119 * sysdeps/i386/fpu/libm-test-ulps: Update.
16120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16121
16122 [BZ #18612]
16123 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
16124 arguments, just return 0.5 times the argument, with underflow
16125 forced as needed.
16126 * math/auto-libm-test-in: Add more tests of j1.
16127 * math/auto-libm-test-out: Regenerated.
16128
16129 [BZ #16559]
16130 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
16131 (__ieee754_j1): Force underflow exception for small results.
16132 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16133 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
16134 (__ieee754_j1f): Force underflow exception for small results.
16135 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16136 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16137 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16138 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
16139 (__ieee754_j1l): Force underflow exception for small results.
16140 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16141 * math/auto-libm-test-in: Add more tests of j1 and jn.
16142 * math/auto-libm-test-out: Regenerated.
16143
16144 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
16145 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
16146 (PF_MPLS): Likewise.
16147 (AF_IB): Likewise.
16148 (AF_MPLS): Likewise.
16149 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
16150 value and macro.
16151 (MS_RMT_MASK): Include MS_LAZYTIME.
16152
16153 2015-06-26 Mel Gorman <mgorman@suse.de>
16154
16155 [BZ #18502]
16156 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16157 already minimal.
16158
16159 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
16160
16161 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
16162 (DT_MIPS_NUM): Update.
16163 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
16164 DT_MIPS_RLD_MAP_REL.
16165
16166 2015-06-25 Joseph Myers <joseph@codesourcery.com>
16167
16168 [BZ #16559]
16169 [BZ #18602]
16170 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
16171 round-to-nearest internally then recompute results that
16172 underflowed to zero in the original rounding mode.
16173 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16174 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16175 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16176 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16177 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
16178 * sysdeps/i386/fpu/libm-test-ulps: Update.
16179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16180
16181 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
16182
16183 * NEWS: Fixed description of link with vector math library.
16184
16185 2015-06-25 Andreas Schwab <schwab@suse.de>
16186
16187 [BZ #18549]
16188 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
16189 * libio/test-fmemopen.c (do_test): Add test for it.
16190
16191 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
16192
16193 [BZ #17841]
16194 * Makeconfig (no-pie-ldflag): New.
16195 (+link): Set to $(+link-pie) if default to PIE.
16196 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
16197 * config.make.in (build-pie-default): New.
16198 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
16199 is default. AC_SUBST.
16200 * configure: Regenerated.
16201 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
16202
16203 2015-06-24 Roland McGrath <roland@hack.frob.com>
16204
16205 * nptl/descr.h (struct pthread): Change type of field setxid_futex
16206 to 'unsigned int'.
16207
16208 * resolv/gai_misc.h (struct waitlist): Change type of field
16209 counterp to 'volatile unsigned int *'.
16210 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16211 FUTEXADDR and OLDVAL.
16212 * resolv/getaddrinfo_a.c (getaddrinfo_a):
16213 Give local variable TOTAL type 'volatile unsigned int'.
16214 (struct async_waitlist): Change type of field counter to 'unsigned int'.
16215 * resolv/gai_suspend.c (gai_suspend):
16216 Give local variable CNTR type 'unsigned int'.
16217
16218 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16219 counterp to 'volatile unsigned int *'.
16220 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16221 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16222 (aio_suspend): Give local variable CNTR type 'unsigned int'.
16223 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16224 Give local variable TOTAL type 'volatile unsigned int'.
16225 (struct async_waitlist): Change type of field counter to 'unsigned int'.
16226
16227 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
16228
16229 [BZ #18383]
16230 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16231 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
16232 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16233 comment for i386/x86-64.
16234 (test-xfail-tst-tlsalign-extern-static): Removed.
16235
16236 2015-06-24 Joseph Myers <joseph@codesourcery.com>
16237
16238 * math/test-double.h: New file.
16239 * math/test-float.h: Likewise.
16240 * math/test-ldouble.h: Likewise.
16241 * math/test-math-inline.h: Likewise.
16242 * math/test-math-no-inline.h: Likewise.
16243 * math/test-math-scalar.h: Likewise.
16244 * math/test-math-vector.h: Likewise.
16245 * math/test-vec-loop.h: Remove file. Contents moved into
16246 test-math-vector.h.
16247 * math/libm-test.inc (MATHCONST): Do not document macro.
16248 * math/test-double.c: Include test-double.h, test-math-no-inline.h
16249 and test-math-scalar.h.
16250 (FUNC): Remove macro.
16251 (FUNC_TEST): Likewise.
16252 (FLOAT): Likewise.
16253 (MATHCONST): Likewise.
16254 (PRINTF_EXPR): Likewise.
16255 (PRINTF_XEXPR): Likewise.
16256 (PRINTF_NEXPR): Likewise.
16257 (TEST_DOUBLE): Likewise.
16258 (TEST_MATHVEC): Likewise.
16259 (__NO_MATH_INLINES): Likewise.
16260 * math/test-float.c: Include test-float.h, test-math-no-inline.h
16261 and test-math-scalar.h.
16262 (FUNC): Remove macro.
16263 (FUNC_TEST): Likewise.
16264 (FLOAT): Likewise.
16265 (MATHCONST): Likewise.
16266 (PRINTF_EXPR): Likewise.
16267 (PRINTF_XEXPR): Likewise.
16268 (PRINTF_NEXPR): Likewise.
16269 (TEST_FLOAT): Likewise.
16270 (TEST_MATHVEC): Likewise.
16271 (__NO_MATH_INLINES): Likewise.
16272 * math/test-idouble.c: Include test-double.h, test-math-inline.h
16273 and test-math-scalar.h.
16274 (FUNC): Remove macro.
16275 (FUNC_TEST): Likewise.
16276 (FLOAT): Likewise.
16277 (MATHCONST): Likewise.
16278 (PRINTF_EXPR): Likewise.
16279 (PRINTF_XEXPR): Likewise.
16280 (PRINTF_NEXPR): Likewise.
16281 (TEST_DOUBLE): Likewise.
16282 (TEST_MATHVEC): Likewise.
16283 (TEST_INLINE): Likewise.
16284 (__NO_MATH_INLINES): Likewise.
16285 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16286 test-math-scalar.h.
16287 (FUNC): Remove macro.
16288 (FUNC_TEST): Likewise.
16289 (FLOAT): Likewise.
16290 (MATHCONST): Likewise.
16291 (PRINTF_EXPR): Likewise.
16292 (PRINTF_XEXPR): Likewise.
16293 (PRINTF_NEXPR): Likewise.
16294 (TEST_FLOAT): Likewise.
16295 (TEST_MATHVEC): Likewise.
16296 (TEST_INLINE): Likewise.
16297 (__NO_MATH_INLINES): Likewise.
16298 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16299 and test-math-scalar.h.
16300 (FUNC): Remove macro.
16301 (FUNC_TEST): Likewise.
16302 (FLOAT): Likewise.
16303 (MATHCONST): Likewise.
16304 (PRINTF_EXPR): Likewise.
16305 (PRINTF_XEXPR): Likewise.
16306 (PRINTF_NEXPR): Likewise.
16307 (TEST_LDOUBLE): Likewise.
16308 (TEST_MATHVEC): Likewise.
16309 (TEST_INLINE): Likewise.
16310 (__NO_MATH_INLINES): Likewise.
16311 * math/test-ldouble.c: Include test-ldouble.h,
16312 test-math-no-inline.h and test-math-scalar.h.
16313 (FUNC): Remove macro.
16314 (FUNC_TEST): Likewise.
16315 (FLOAT): Likewise.
16316 (MATHCONST): Likewise.
16317 (PRINTF_EXPR): Likewise.
16318 (PRINTF_XEXPR): Likewise.
16319 (PRINTF_NEXPR): Likewise.
16320 (TEST_LDOUBLE): Likewise.
16321 (TEST_MATHVEC): Likewise.
16322 (__NO_MATH_INLINES): Likewise.
16323 * math/test-double-vlen2.h: Include test-double.h,
16324 test-math-no-inline.h and test-math-vector.h.
16325 (FLOAT): Remove macro.
16326 (FUNC): Likewise.
16327 (MATHCONST): Likewise.
16328 (PRINTF_EXPR): Likewise.
16329 (PRINTF_XEXPR): Likewise.
16330 (PRINTF_NEXPR): Likewise.
16331 (TEST_DOUBLE): Likewise.
16332 (TEST_MATHVEC): Likewise.
16333 (__NO_MATH_INLINES): Likewise.
16334 (CNCT): Likewise.
16335 (CONCAT): Likewise.
16336 (WRAPPER_NAME): Likewise.
16337 (WRAPPER_DECL): Likewise.
16338 (WRAPPER_DECL_ff): Likewise.
16339 (WRAPPER_DECL_fFF): Likewise.
16340 (VECTOR_WRAPPER): Likewise.
16341 (VECTOR_WRAPPER_ff): Likewise.
16342 (VECTOR_WRAPPER_fFF): Likewise.
16343 (VEC_LEN): New macro.
16344 * math/test-double-vlen4.h: Include test-double.h,
16345 test-math-no-inline.h and test-math-vector.h.
16346 (FLOAT): Remove macro.
16347 (FUNC): Likewise.
16348 (MATHCONST): Likewise.
16349 (PRINTF_EXPR): Likewise.
16350 (PRINTF_XEXPR): Likewise.
16351 (PRINTF_NEXPR): Likewise.
16352 (TEST_DOUBLE): Likewise.
16353 (TEST_MATHVEC): Likewise.
16354 (__NO_MATH_INLINES): Likewise.
16355 (CNCT): Likewise.
16356 (CONCAT): Likewise.
16357 (WRAPPER_NAME): Likewise.
16358 (WRAPPER_DECL): Likewise.
16359 (WRAPPER_DECL_ff): Likewise.
16360 (WRAPPER_DECL_fFF): Likewise.
16361 (VECTOR_WRAPPER): Likewise.
16362 (VECTOR_WRAPPER_ff): Likewise.
16363 (VECTOR_WRAPPER_fFF): Likewise.
16364 (VEC_LEN): New macro.
16365 * math/test-double-vlen8.h: Include test-double.h,
16366 test-math-no-inline.h and test-math-vector.h.
16367 (FLOAT): Remove macro.
16368 (FUNC): Likewise.
16369 (MATHCONST): Likewise.
16370 (PRINTF_EXPR): Likewise.
16371 (PRINTF_XEXPR): Likewise.
16372 (PRINTF_NEXPR): Likewise.
16373 (TEST_DOUBLE): Likewise.
16374 (TEST_MATHVEC): Likewise.
16375 (__NO_MATH_INLINES): Likewise.
16376 (CNCT): Likewise.
16377 (CONCAT): Likewise.
16378 (WRAPPER_NAME): Likewise.
16379 (WRAPPER_DECL): Likewise.
16380 (WRAPPER_DECL_ff): Likewise.
16381 (WRAPPER_DECL_fFF): Likewise.
16382 (VECTOR_WRAPPER): Likewise.
16383 (VECTOR_WRAPPER_ff): Likewise.
16384 (VECTOR_WRAPPER_fFF): Likewise.
16385 (VEC_LEN): New macro.
16386 * math/test-float-vlen4.h: Include test-float.h,
16387 test-math-no-inline.h and test-math-vector.h.
16388 (FLOAT): Remove macro.
16389 (FUNC): Likewise.
16390 (MATHCONST): Likewise.
16391 (PRINTF_EXPR): Likewise.
16392 (PRINTF_XEXPR): Likewise.
16393 (PRINTF_NEXPR): Likewise.
16394 (TEST_FLOAT): Likewise.
16395 (TEST_MATHVEC): Likewise.
16396 (__NO_MATH_INLINES): Likewise.
16397 (CNCT): Likewise.
16398 (CONCAT): Likewise.
16399 (WRAPPER_NAME): Likewise.
16400 (WRAPPER_DECL): Likewise.
16401 (WRAPPER_DECL_ff): Likewise.
16402 (WRAPPER_DECL_fFF): Likewise.
16403 (VECTOR_WRAPPER): Likewise.
16404 (VECTOR_WRAPPER_ff): Likewise.
16405 (VECTOR_WRAPPER_fFF): Likewise.
16406 (VEC_LEN): New macro.
16407 * math/test-float-vlen8.h: Include test-float.h,
16408 test-math-no-inline.h and test-math-vector.h.
16409 (FLOAT): Remove macro.
16410 (FUNC): Likewise.
16411 (MATHCONST): Likewise.
16412 (PRINTF_EXPR): Likewise.
16413 (PRINTF_XEXPR): Likewise.
16414 (PRINTF_NEXPR): Likewise.
16415 (TEST_FLOAT): Likewise.
16416 (TEST_MATHVEC): Likewise.
16417 (__NO_MATH_INLINES): Likewise.
16418 (CNCT): Likewise.
16419 (CONCAT): Likewise.
16420 (WRAPPER_NAME): Likewise.
16421 (WRAPPER_DECL): Likewise.
16422 (WRAPPER_DECL_ff): Likewise.
16423 (WRAPPER_DECL_fFF): Likewise.
16424 (VECTOR_WRAPPER): Likewise.
16425 (VECTOR_WRAPPER_ff): Likewise.
16426 (VECTOR_WRAPPER_fFF): Likewise.
16427 (VEC_LEN): New macro.
16428 * math/test-float-vlen16.h: Include test-float.h,
16429 test-math-no-inline.h and test-math-vector.h.
16430 (FLOAT): Remove macro.
16431 (FUNC): Likewise.
16432 (MATHCONST): Likewise.
16433 (PRINTF_EXPR): Likewise.
16434 (PRINTF_XEXPR): Likewise.
16435 (PRINTF_NEXPR): Likewise.
16436 (TEST_FLOAT): Likewise.
16437 (TEST_MATHVEC): Likewise.
16438 (__NO_MATH_INLINES): Likewise.
16439 (CNCT): Likewise.
16440 (CONCAT): Likewise.
16441 (WRAPPER_NAME): Likewise.
16442 (WRAPPER_DECL): Likewise.
16443 (WRAPPER_DECL_ff): Likewise.
16444 (WRAPPER_DECL_fFF): Likewise.
16445 (VECTOR_WRAPPER): Likewise.
16446 (VECTOR_WRAPPER_ff): Likewise.
16447 (VECTOR_WRAPPER_fFF): Likewise.
16448 (VEC_LEN): New macro.
16449 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
16450 test-vec-loop.h.
16451 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16452 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16453 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16454 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16455 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16456 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16457 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16458
16459 2015-06-24 Roland McGrath <roland@hack.frob.com>
16460
16461 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16462 (__getlogin_r): ... this.
16463
16464 2015-06-24 Joseph Myers <joseph@codesourcery.com>
16465
16466 [BZ #18594]
16467 * math/s_ccosh.c (__ccosh): Compare with least normal value
16468 instead of comparing class with FP_SUBNORMAL.
16469 * math/s_ccoshf.c (__ccoshf): Likewise.
16470 * math/s_ccoshl.c (__ccoshl): Likewise.
16471 * math/s_cexp.c (__cexp): Likewise.
16472 * math/s_cexpf.c (__cexpf): Likewise.
16473 * math/s_cexpl.c (__cexpl): Likewise.
16474 * math/s_csin.c (__csin): Likewise.
16475 * math/s_csinf.c (__csinf): Likewise.
16476 * math/s_csinh.c (__csinh): Likewise.
16477 * math/s_csinhf.c (__csinhf): Likewise.
16478 * math/s_csinhl.c (__csinhl): Likewise.
16479 * math/s_csinl.c (__csinl): Likewise.
16480 * math/s_ctan.c (__ctan): Likewise.
16481 * math/s_ctanf.c (__ctanf): Likewise.
16482 * math/s_ctanh.c (__ctanh): Likewise.
16483 * math/s_ctanhf.c (__ctanhf): Likewise.
16484 * math/s_ctanhl.c (__ctanhl): Likewise.
16485 * math/s_ctanl.c (__ctanl): Likewise.
16486 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16487 csin, csinh, ctan and ctanh.
16488 * math/auto-libm-test-out: Regenerated.
16489 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16490 * sysdeps/i386/fpu/libm-test-ulps: Update.
16491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16492
16493 2015-06-24 Roland McGrath <roland@hack.frob.com>
16494
16495 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16496 return value is wrong, print the expected value too.
16497
16498 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
16499
16500 [BZ #18585]
16501 * elf/readlib.c (is_gdb_python_file): New.
16502 (process_file): Don't issue errors on filenames with -gdb.py
16503 suffix.
16504
16505 2015-06-24 Joseph Myers <joseph@codesourcery.com>
16506
16507 * math/auto-libm-test-in: Add more tests of csin and csinh.
16508 * math/auto-libm-test-out: Regenerated.
16509 * math/libm-test.inc (csin_test_data): Remove tests moved to
16510 auto-libm-test-in.
16511 (csinh_test_data): Likewise.
16512
16513 [BZ #18593]
16514 * math/s_csin.c (__csin): Negate before rather than after possibly
16515 overflowing multiplication.
16516 * math/s_csinf.c (__csinf): Likewise.
16517 * math/s_csinh.c (__csinh): Likewise.
16518 * math/s_csinhf.c (__csinhf): Likewise.
16519 * math/s_csinhl.c (__csinhl): Likewise.
16520 * math/s_csinl.c (__csinl): Likewise.
16521 * math/auto-libm-test-in: Add some tests of csin and csinh.
16522 * math/auto-libm-test-out: Regenerated.
16523 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16524 (csinh_test_data): Likewise.
16525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16526
16527 [BZ #18586]
16528 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16529 underflow exception for small results.
16530
16531 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
16532
16533 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16534 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16535 variable and included header.
16536 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16537 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16538 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16539 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16540 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16541 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16542 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16543 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16544 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16545 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16546 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16547 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16548 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16549 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16550 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16551 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16552
16553 2015-06-23 Joseph Myers <joseph@codesourcery.com>
16554
16555 [BZ #16526]
16556 [BZ #16538]
16557 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16558 (__sin): Force underflow exception for arguments with small
16559 absolute value.
16560 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16561 (__kernel_sinf): Force underflow exception for arguments with
16562 small absolute value.
16563 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16564 (__kernel_sincosl): Force underflow exception for arguments with
16565 small absolute value.
16566 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16567 (__kernel_sinl): Force underflow exception for arguments with
16568 small absolute value.
16569 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16570 (__kernel_sincosl): Force underflow exception for arguments with
16571 small absolute value.
16572 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16573 (__kernel_sinl): Force underflow exception for arguments with
16574 small absolute value.
16575 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16576 (__kernel_sinl): Force underflow exception for arguments with
16577 small absolute value.
16578 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16579 (__kernel_sinf): Force underflow exception for arguments with
16580 small absolute value.
16581 * math/auto-libm-test-in: Add more tests of sin and sincos.
16582 * math/auto-libm-test-out: Regenerated.
16583
16584 [BZ #18245]
16585 [BZ #18583]
16586 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16587 (__kernel_standard_l): Use feholdexcept and fesetenv around
16588 conversion to double instead of special-casing overflow and
16589 underflow.
16590 * math/libm-test.inc (fmod_test_data): Add more tests.
16591 (remainder_test_data): Likewise.
16592 (sqrt_test_data): Likewise.
16593
16594 2015-06-23 Torvald Riegel <triegel@redhat.com>
16595
16596 [BZ #17403]
16597 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16598 atomic_read_barrier, atomic_write_barrier): Define.
16599 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16600 atomic_read_barrier, atomic_write_barrier): Define.
16601
16602 2015-06-23 Joseph Myers <joseph@codesourcery.com>
16603
16604 * math/Makefile [$(PERL) != no]
16605 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16606 dependency on libm-test.stmp below the inclusion of Rules.
16607
16608 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
16609
16610 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16611 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16612 and included header.
16613 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16614 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16615 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16616 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16617 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16618 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16619 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16620 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16621 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16622 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16623 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16624 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16625 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16626 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16627 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16628 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16629 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16630 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16631 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16632
16633 2015-06-23 Joseph Myers <joseph@codesourcery.com>
16634
16635 [BZ #18371]
16636 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16637 intermediate but not final result might underflow.
16638 * math/s_csqrtf.c (__csqrtf): Likewise.
16639 * math/s_csqrtl.c (__csqrtl): Likewise.
16640 * math/auto-libm-test-in: Add more tests of csqrt.
16641 * math/auto-libm-test-out: Regenerated.
16642 * sysdeps/i386/fpu/libm-test-ulps: Update.
16643
16644 [BZ #18219]
16645 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16646 threshold on absolute value of exponent for which scaling is used.
16647 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16648 * math/auto-libm-test-in: Add more tests of exp2.
16649 * math/auto-libm-test-out: Regenerated.
16650
16651 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
16652
16653 [BZ #17977]
16654 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16655 when initializing interface list, based on the bug analysis
16656 and the patch proposed by Eric Newton.
16657 * resolv/tst-res_hconf_reorder.c: New test.
16658 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16659 tst-res_hconf_reorder.
16660 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16661 and $(shared-thread-library).
16662 (tst-res_hconf_reorder-ENV): New variable.
16663
16664 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16665 in comment.
16666
16667 2015-06-22 Joseph Myers <joseph@codesourcery.com>
16668
16669 [BZ #16353]
16670 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16671 (__expm1): Force underflow exception for arguments with small
16672 absolute value.
16673 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16674 (__expm1f): Force underflow exception for arguments with small
16675 absolute value.
16676 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16677 (__expm1): Force underflow exception for arguments with small
16678 absolute value.
16679 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16680 (__expm1f): Force underflow exception for arguments with small
16681 absolute value.
16682 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16683 Check for small arguments before calling __expm1.
16684 * math/auto-libm-test-in: Do not mark underflow exceptions as
16685 possibly missing for bug 16353.
16686 * math/auto-libm-test-out: Regenerated.
16687
16688 2015-06-22 Andreas Schwab <schwab@suse.de>
16689
16690 [BZ #18513]
16691 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16692 PTR queries.
16693
16694 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
16695
16696 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16697
16698 * string/strcoll_l.c: Remove unused struct element idxnow.
16699
16700 2015-06-21 Joseph Myers <joseph@codesourcery.com>
16701
16702 [BZ #18569]
16703 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16704 underflow and return argument in case of subnormal argument.
16705 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16706 Likewise.
16707 * math/auto-libm-test-in: Add more tests of expm1.
16708 * math/auto-libm-test-out: Regenerated.
16709
16710 [BZ #16361]
16711 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16712 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16713 tiny results.
16714 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16715 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16716 tiny results.
16717 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
16718 mark underflow exceptions as possibly missing for bug 16361.
16719 * math/auto-libm-test-out: Regenerated.
16720
16721 2015-06-19 Joseph Myers <joseph@codesourcery.com>
16722
16723 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16724 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16725 Remove variable.
16726 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16727 (test-xfail-XOPEN2K8/utmpx.h/conform).
16728
16729 * conform/conformtest.pl ($xerrors): New variable.
16730 (note_error): New function.
16731 (compiletest): New argument $xfail. Use not_error.
16732 (runtest): Likewise.
16733 (top level): Handle xfail- lines. Update calls to compiletest and
16734 runtest. Handle xfail- and optional- in headers listed with
16735 allow-header.
16736 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16737 (O_EXEC): Likewise.
16738 (O_SEARCH): Likewise.
16739 * conform/data/stropts.h-data (ioctl): Likewise.
16740 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16741 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16742 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16743 (msghdr.msg_controllen): Likewise.
16744 (cmsghdr.cmsg_len): Likewise.
16745 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16746 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16747 variable.
16748 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16749 (test-xfail-XPG4/stropts.h/conform): Likewise.
16750 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16751 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16752 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16753 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16754 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16755 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16756 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16757 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16758 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16759 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16760 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16761 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16762 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16763 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16764 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16765 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16766 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16767 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16768 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16769
16770 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
16771
16772 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16773 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16774 definitions for proper unfolding of __MATHDECL_VEC.
16775
16776 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16777
16778 * benchtests/bench-strcoll.c:
16779 Include string.h.
16780 (main): Remove unused variable res.
16781
16782 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16783
16784 * timezone/Makefile (%/UTC %/Universal):
16785 Generate test-result files for UTC and Universal.
16786
16787 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16788
16789 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16790
16791 2015-06-18 Joseph Myers <joseph@codesourcery.com>
16792
16793 [BZ #16350]
16794 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16795 for arguments with small absolute value.
16796 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16797 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16798 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16799 (__asinh): Force underflow exception for arguments with small
16800 absolute value.
16801 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16802 (__asinhf): Force underflow exception for arguments with small
16803 absolute value.
16804 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16805 (__asinhl): Force underflow exception for arguments with small
16806 absolute value.
16807 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16808 (__asinhl): Force underflow exception for arguments with small
16809 absolute value.
16810 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16811 (__asinhl): Force underflow exception for arguments with small
16812 absolute value.
16813 * math/auto-libm-test-in: Do not mark underflow exceptions as
16814 possibly missing for bug 16350.
16815 * math/auto-libm-test-out: Regenerated.
16816
16817 * include/bits/ipc.h: Remove file.
16818 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16819 variable.
16820 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16821 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16822 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16823 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16824 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16825 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16826 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16827 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16828 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16829
16830 * math/auto-libm-test-in: Remove spurious underflow allowance for
16831 tests of cexp.
16832 * math/auto-libm-test-out: Regenerated.
16833
16834 [BZ #18558]
16835 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16836 unconditional definition.
16837 (MCAST_BLOCK_SOURCE): Likewise.
16838 (MCAST_UNBLOCK_SOURCE): Likewise.
16839 (MCAST_LEAVE_GROUP): Likewise.
16840 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16841 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16842 (MCAST_MSFILTER): Likewise.
16843 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16844 Remove variable.
16845 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16846 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16847 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16848 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16849 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16850
16851 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
16852
16853 * NEWS: Mention addition of x86_64 vector sincosf.
16854 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16855 * math/test-float-vlen4.h: Likewise.
16856 * math/test-float-vlen8.h: Likewise.
16857 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16858 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16859 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16860 * sysdeps/x86_64/fpu/Versions: New versions added.
16861 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16862 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16863 Added build of SSE, AVX2 and AVX512 IFUNC versions.
16864 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16865 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16866 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16867 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16868 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16869 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16870 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16871 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16872 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16873 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16874 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16875 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16876 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16877 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16878 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16879 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16880 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16881 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16882 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16883 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16884 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16885
16886 * NEWS: Mention addition of x86_64 vector sincos.
16887 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16888 * math/math.h (__MATHDECL_VEC): New macro.
16889 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16890 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16891 declaration under condition.
16892 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16893 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16894 TEST_VEC_LOOP change.
16895 * math/test-double-vlen4.h: Likewise.
16896 * math/test-double-vlen8.h: Likewise.
16897 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16898 * math/test-float-vlen4.h: Likewise.
16899 * math/test-float-vlen8.h: Likewise.
16900 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16901 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16902 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16903 * sysdeps/x86_64/fpu/Versions: New versions added.
16904 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16905 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16906 Added build of SSE, AVX2 and AVX512 IFUNC versions.
16907 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16908 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16909 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16910 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16911 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16912 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16913 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16914 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16915 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16916 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16917 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16918 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16919 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16920 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16921 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16922 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16923 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16924 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16925 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16926 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16927 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16928
16929 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16930 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16931 redirections for powf.
16932 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16933 * sysdeps/x86_64/fpu/Versions: New versions added.
16934 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16935 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16936 Added build of SSE, AVX2 and AVX512 IFUNC versions.
16937 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16938 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16939 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16940 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16941 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16942 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16943 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16944 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16945 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16946 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16947 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16948 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16949 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16950 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16951 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16952 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16953 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16954 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16955 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16956 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16957 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16958 * math/test-float-vlen16.h: Fixed 2 argument macro.
16959 * math/test-float-vlen4.h: Likewise.
16960 * math/test-float-vlen8.h: Likewise.
16961 * NEWS: Mention addition of x86_64 vector powf.
16962
16963 2015-06-17 Joseph Myers <joseph@codesourcery.com>
16964
16965 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16966 and redefine.
16967 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16968 and redefine.
16969 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16970 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16971 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16972
16973 [BZ #18553]
16974 * resource/getpriority.c (getpriority): Rename to __getpriority
16975 and define as weak alias of __getpriority.
16976 * resource/setpriority.c (setpriority): Rename to __setpriority
16977 and define as weak alias of __setpriority.
16978 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16979 __getpriority and define as weak alias of __getpriority.
16980 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16981 __setpriority and define as weak alias of __setpriority.
16982 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16983 strong name.
16984 (setpriority): Use __setpriority as strong name.
16985 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16986 __getpriority and define as weak alias of __getpriority.
16987 * include/sys/resource.h (__getpriority): Declare. Use
16988 libc_hidden_proto.
16989 (__setpriority): Likewise.
16990 (getpriority): Don't use libc_hidden_proto.
16991 (setpriority): Likewise.
16992 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16993 getpriority. Call __setpriority instead of setpriority.
16994 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16995 Remove variable.
16996
16997 [BZ #18547]
16998 * misc/getttyent.c (getttynam): Rename to __getttynam and define
16999 as weak alias of __getttynam. Use prototype function definition.
17000 Call __setttyent, __getttyent and __endttyent instead of
17001 setttyent, getttyent and endttyent.
17002 (getttyent): Rename to __getttyent and define as weak alias of
17003 __getttyent. Call __setttyent instead of setttyent. Call
17004 __fgets_unlocked instead of fgets_unlocked.
17005 (setttyent): Rename to __setttyent and define as weak alias of
17006 __setttyent.
17007 (endttyent): Rename to __endttyent and define as weak alias of
17008 __endttyent.
17009 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
17010 (__setttyent): Likewise.
17011 (__endttyent): Likewise.
17012 (getttyent): Don't use libc_hidden_proto.
17013 (setttyent): Likewise.
17014 (endttyent): Likewise.
17015 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
17016 __endttyent instead of setttyent, getttyent and endttyent.
17017 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
17018 Remove variable.
17019
17020 [BZ #18546]
17021 * socket/recv.c (__recv): Use libc_hidden_def.
17022 * socket/socket.c (__socket): Likewise.
17023 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17024 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17025 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
17026 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
17027 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
17028 libc_hidden_def.
17029 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
17030 libc_hidden_weak.
17031 * include/sys/socket.h (__socket): Do not use attribute_hidden.
17032 Use libc_hidden_proto.
17033 (__recv): Likewise.
17034 * socket/Versions (libc): Export __recv and __socket at version
17035 GLIBC_PRIVATE.
17036 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
17037 instead of recv.
17038 (init_mq_netlink): Call __socket instead of socket.
17039 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
17040 Remove variable.
17041
17042 [BZ #18545]
17043 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
17044 __mq_timedreceive and define as alias of __mq_timedreceive. Use
17045 hidden_weak.
17046 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
17047 define as alias of __mq_timedsend. Use hidden_weak.
17048 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
17049 __mq_timedsend as strong name.
17050 (mq_timedreceive): Use __mq_timedreceive as strong name.
17051 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
17052 (__mq_timedreceive): Likewise.
17053 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
17054 __mq_timedreceive instead of mq_timedreceive.
17055 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17056 instead of mq_timedsend.
17057 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
17058 Remove variable.
17059
17060 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
17061 hidden_def and hidden_weak instead of libc_hidden_def and
17062 libc_hidden_weak.
17063 (top level): Refer to hidden_def in comment.
17064 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
17065 macro. Use it instead of libc_hidden_def.
17066 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
17067 specify __GI_* name explicitly.
17068 (mq_timedreceive): Likewise.
17069 (mq_setattr): Likewise.
17070
17071 [BZ #18544]
17072 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
17073 __pthread_barrier_init and define as weak alias of
17074 __pthread_barrier_init.
17075 * sysdeps/sparc/nptl/pthread_barrier_init.c
17076 (pthread_barrier_init): Likewise.
17077 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
17078 __pthread_barrier_wait and define as weak alias of
17079 __pthread_barrier_wait.
17080 * sysdeps/sparc/nptl/pthread_barrier_wait.c
17081 (pthread_barrier_wait): Likewise.
17082 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17083 (pthread_barrier_wait): Likewise.
17084 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17085 (pthread_barrier_wait): Likewise.
17086 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17087 (pthread_barrier_wait): Likewise.
17088 * nptl/Versions (libpthread): Export __pthread_barrier_init and
17089 __pthread_barrier_wait at version GLIBC_PRIVATE.
17090 * include/pthread.h (__pthread_barrier_init): Declare.
17091 (__pthread_barrier_wait): Likewise.
17092 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
17093 Call __pthread_barrier_wait instead of pthread_barrier_wait.
17094 (helper_thread): Likewise.
17095 (init_mq_netlink): Call __pthread_barrier_init instead of
17096 pthread_barrier_init.
17097
17098 [BZ #18542]
17099 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
17100 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
17101 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
17102 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
17103 vswscanf.
17104 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
17105 Remove variable.
17106
17107 [BZ #18540]
17108 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
17109 strong alias of _IO_fflush. Use libc_hidden_def.
17110 * libio/iofflush_u.c (fflush_unlocked): Rename to
17111 __fflush_unlocked and define as weak alias of __fflush_unlocked.
17112 Use libc_hidden_weak.
17113 * include/stdio.h (__fflush_unlocked): Declare. Use
17114 libc_hidden_proto.
17115 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
17116 fflush_unlocked.
17117 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
17118 Remove variable.
17119
17120 [BZ #18539]
17121 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
17122 define as weak alias of __addseverity.
17123 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
17124 Remove variable.
17125 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17126 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17127 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17128
17129 [BZ #18536]
17130 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
17131 (__tfind): Likewise.
17132 (__tdelete): Likewise.
17133 (__twalk): Likewise.
17134 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
17135 __twalk to GLIBC_PRIVATE.
17136 * include/search.h (__tsearch): Use libc_hidden_proto.
17137 (__tfind): Likewise.
17138 (__tdelete): Likewise.
17139 (__twalk): Likewise.
17140 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
17141 Call __tdelete instead of tdelete.
17142 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
17143 tfind. Call __tsearch instead of tsearch.
17144 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
17145 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
17146 Remove variable.
17147 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17148
17149 [BZ #18534]
17150 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
17151 (dprintf): Define as a weak alias of __dprintf, not a strong
17152 alias.
17153 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
17154 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
17155 dprintf.
17156 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
17157 Remove variable.
17158 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17159 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17160
17161 [BZ #18533]
17162 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
17163 not a strong alias.
17164 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
17165 Remove variable.
17166
17167 [BZ #18532]
17168 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
17169 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
17170 (in6addr_loopback): Rename to __in6addr_loopback and define as
17171 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
17172 * include/netinet/in.h (__in6addr_loopback): Declare. Use
17173 libc_hidden_proto.
17174 (__in6addr_any): Likewise.
17175 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
17176 in6addr_any.
17177 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
17178 variable.
17179 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17180
17181 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
17182
17183 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
17184 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
17185 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17186 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17187 redirections for pow.
17188 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17189 * sysdeps/x86_64/fpu/Versions: New versions added.
17190 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17191 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17192 build of SSE, AVX2 and AVX512 IFUNC versions.
17193 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
17194 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
17195 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
17196 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
17197 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
17198 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
17199 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
17200 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
17201 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
17202 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
17203 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
17204 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
17205 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17206 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17207 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17208 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17209 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17210 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17211 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17212 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17213 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17214 * NEWS: Mention addition of x86_64 vector pow.
17215
17216 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17217 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17218 redirections for expf.
17219 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17220 * sysdeps/x86_64/fpu/Versions: New versions added.
17221 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17222 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17223 build of SSE, AVX2 and AVX512 IFUNC versions.
17224 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17225 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17226 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17227 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17228 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17229 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17230 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17231 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17232 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17233 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17234 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17235 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17236 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17237 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17238 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17239 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17240 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17241 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17242 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17243 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17244 * NEWS: Mention addition of x86_64 vector expf.
17245
17246 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17247 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17248 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17249 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17250 redirections for exp.
17251 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17252 * sysdeps/x86_64/fpu/Versions: New versions added.
17253 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17254 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17255 build of SSE, AVX2 and AVX512 IFUNC versions.
17256 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17257 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17258 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17259 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17260 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17261 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17262 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17263 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17264 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17265 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17266 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17267 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17268 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17269 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17270 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17271 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17272 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17273 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17274 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17275 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17276 * NEWS: Mention addition of x86_64 vector exp.
17277
17278 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17279 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17280 redirections for logf.
17281 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17282 * sysdeps/x86_64/fpu/Versions: New versions added.
17283 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17284 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17285 build of SSE, AVX2 and AVX512 IFUNC versions.
17286 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17287 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17288 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17289 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17290 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17291 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17292 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17293 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17294 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17295 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17296 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17297 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17298 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17299 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17300 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17301 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17302 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17303 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17304 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17305 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17306 * NEWS: Mention addition of x86_64 vector logf.
17307
17308 * bits/libm-simd-decl-stubs.h: Added stubs for log.
17309 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17310 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17311 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17312 redirections for log.
17313 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17314 * sysdeps/x86_64/fpu/Versions: New versions added.
17315 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17316 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17317 build of SSE, AVX2 and AVX512 IFUNC versions.
17318 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17319 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17320 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17321 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17322 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17323 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17324 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17325 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17326 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17327 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17328 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17329 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17330 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17331 test.
17332 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17333 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17334 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17335 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17336 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17337 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17338 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17339 * NEWS: Mention addition of x86_64 vector log.
17340
17341 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
17342
17343 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17344 cfi_adjust_cfa_offset argument.
17345 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17346 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17347
17348 [BZ #18034]
17349 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17350 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17351 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17352 ordering using ldar.
17353 (_dl_tlsdesc_dynamic): Likewise.
17354 (_dl_tlsdesc_return_lazy): Likewise.
17355 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17356 relaxed atomics instead of volatile and synchronize with release store.
17357 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
17358 volatile.
17359 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17360
17361 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
17362
17363 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17364 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
17365 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17366 * sysdeps/x86_64/fpu/Versions: New versions added.
17367 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17368 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17369 build of SSE, AVX2 and AVX512 IFUNC versions.
17370 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
17371 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
17372 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
17373 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
17374 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
17375 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
17376 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17377 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
17378 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
17379 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
17380 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
17381 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
17382 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
17383 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17384 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17385 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17386 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17387 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17388 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17389 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17390 * NEWS: Mention addition of x86_64 vector sinf.
17391
17392 2015-06-14 Joseph Myers <joseph@codesourcery.com>
17393
17394 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
17395 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
17396 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
17397 Remove variable.
17398 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17399 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17400
17401 2015-06-12 Joseph Myers <joseph@codesourcery.com>
17402
17403 [BZ #18530]
17404 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
17405 strong alias of _IO_fputs. Use libc_hidden_def.
17406 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
17407 and define as weak alias of __fputs_unlocked. Use
17408 libc_hidden_weak.
17409 * include/stdio.h (__fputs_unlocked): Declare. Use
17410 libc_hidden_proto.
17411 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
17412 fputs_unlocked.
17413
17414 [BZ #18529]
17415 * resolv/netdb.h [__USE_POSIX]: Change condition to
17416 [__USE_XOPEN2K].
17417 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
17418 not expect.
17419 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
17420 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
17421 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
17422 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
17423 [XPG4 || UNIX98] (AI_ALL): Likewise.
17424 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
17425 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
17426 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
17427 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17428 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
17429 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
17430 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
17431 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
17432 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
17433 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
17434 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
17435 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
17436 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
17437 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
17438 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
17439 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17440 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17441 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
17442 [XPG4 || UNIX98] (gai_strerror): Likewise.
17443 [XPG4 || UNIX98] (getaddrinfo): Likewise.
17444 [XPG4 || UNIX98] (getnameinfo): Likewise.
17445
17446 [BZ #18528]
17447 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
17448 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
17449 __USE_XOPEN2K8].
17450 (getgrent): Likewise.
17451 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
17452 expect.
17453 [XPG3 || POSIX2008] (endgrent): Likewise.
17454 [XPG3] (setgrent): Likewise.
17455 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17456 variable.
17457 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17458
17459 [BZ #18527]
17460 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17461 define as weak alias of __getlogin_r. Use libc_hidden_weak.
17462 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17463 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17464 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17465 * include/unistd.h (__getlogin_r): Declare. Use
17466 libc_hidden_proto.
17467 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17468 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17469 variable.
17470 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17471 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17472 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17473
17474 2015-06-12 Martin Sebor <msebor@redhat.com>
17475
17476 [BZ #18512]
17477 * Makerules (check-install-supported): New target.
17478 (install): Add check-install-supported as a dependency.
17479 * manual/install.texi (Installing the C Library): Document
17480 that overriding prefix and exec_prefix is not supported.
17481 Mention DESTDIR.
17482 * INSTALL: Regenerate from the above.
17483
17484 2015-06-12 Joseph Myers <joseph@codesourcery.com>
17485
17486 [BZ #18519]
17487 * posix/Versions (libc): Export __libc_pread at version
17488 GLIBC_PRIVATE.
17489 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17490 instead of pread.
17491 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17492 variable.
17493
17494 [BZ #18522]
17495 * misc/efgcvt_r.c
17496 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17497 (cvt_symbol): Use weak_alias instead of strong_alias.
17498 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17499 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17500 Remove variable.
17501 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17502 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17503
17504 [BZ #18520]
17505 * inet/herrno.c (h_errno): Rename to __h_errno.
17506 (__libc_h_errno): Define as alias of __h_errno not h_errno.
17507 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17508 to __h_errno instead of h_errno.
17509 * nptl/herrno.c (h_errno): Rename to __h_errno.
17510 (__h_errno_location): Refer to __h_errno not h_errno.
17511 * resolv/Versions (h_errno): Rename to __h_errno.
17512 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17513 Remove variable.
17514 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17515
17516 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
17517
17518 * configure.ac: More strict check for AVX512 assembler support.
17519 * configure: Regenerated.
17520
17521 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17522 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17523 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17524 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17525 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17526 * sysdeps/x86_64/fpu/Versions: New versions added.
17527 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17528 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17529 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17530 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17531 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17532 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17533 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17534 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17535 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17536 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17537 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17538 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17539 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17540 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17541 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17542 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17543 test.
17544 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17545 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17546 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17547 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17548 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17549 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17550 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17551 * NEWS: Mention addition of x86_64 vector sin.
17552
17553 2015-06-11 Florian Weimer <fweimer@redhat.com>
17554
17555 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17556 comment.
17557
17558 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
17559
17560 [BZ #18479]
17561 * nptl/pt-interp.c: New file.
17562 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17563 Add pt-interp.
17564 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17565 $(common-objpfx)runtime-linker.h.
17566
17567 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
17568
17569 * Makeconfig (+interp): Remove unused variable.
17570 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17571 only. Depend on $(common-objpfx)runtime-linker.h instead of
17572 $(elf-objpfx)runtime-linker.h.
17573 ($(elf-objpfx)runtime-linker.h): Rename to
17574 $(common-objpfx)runtime-linker.h and move ...
17575 * Makerules [$(build-shared) = yes]: ... here.
17576 * elf/interp.c: Include <runtime-linker.h> instead of
17577 <elf/runtime-linker.h>.
17578
17579 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17580
17581 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17582 (__gettimeofday_syscall): Remove vsyscall fallback.
17583 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17584 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17585 Add syscall fallback function.
17586 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17587 if vDSO is not present.
17588 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17589 fallback function.
17590 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17591 present.
17592 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17593 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17594
17595 2015-06-09 Joseph Myers <joseph@codesourcery.com>
17596
17597 [BZ #18497]
17598 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17599 of wcscmp.
17600 (wcscmp): Define as weak alias of WCSCMP.
17601 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17602 wcscoll.
17603 (USE_HIDDEN_DEF): Define.
17604 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17605 __wcscoll. Don't use libc_hidden_weak.
17606 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17607 wcscmp.
17608 * sysdeps/i386/i686/multiarch/wcscmp-c.c
17609 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17610 __GI_wcscmp.
17611 (weak_alias): Undefine and redefine.
17612 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17613 __wcscmp and define as weak alias of __wcscmp.
17614 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17615 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
17616 (__wcscoll): Likewise.
17617 (wcscmp): Don't use libc_hidden_proto.
17618 (wcscoll): Likewise.
17619 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17620 wcscoll.
17621 * posix/regexec.c (check_node_accept_bytes): Likewise.
17622 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17623 variable.
17624 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17625 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17626
17627 [BZ #18507]
17628 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17629 __fstatvfs and define as weak alias of __fstatvfs. Use
17630 libc_hidden_weak.
17631 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17632 and define as weak alias of __statvfs. Use libc_hidden_weak.
17633 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17634 Define as alias of __fstatvfs, not fstatvfs.
17635 (fstatvfs64): Likewise.
17636 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17637 Define as alias of __statvfs, not statvfs.
17638 (statvfs64): Likewise.
17639 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17640 Remove variable.
17641
17642 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17643
17644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17645 (HAVE_GETCPU_VSYSCALL): Define.
17646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17647 (HAVE_GETCPU_VSYSCALL): Likewise.
17648 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17649 * sysdeps/unix/sysv/linux/sched_getcpu.c
17650 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17651 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17652 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17653 prototype.
17654 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17655 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17656 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17657 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17658 Define.
17659 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17660 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17661 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17662 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17663
17664 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
17665
17666 * sysdeps/x86_64/fpu/Makefile: New file.
17667 * sysdeps/x86_64/fpu/Versions: New file.
17668 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17669 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17670 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17671 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17672 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17673 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17674 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17675 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17676 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17677 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17678 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17679 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17680 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17681 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17682 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17683 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17684 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17685 * sysdeps/x86_64/configure.ac: Options for libmvec build.
17686 * sysdeps/x86_64/configure: Regenerated.
17687 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17688 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17689 * manual/install.texi (Configuring and compiling): Document
17690 --disable-mathvec.
17691 * INSTALL: Regenerated.
17692 * NEWS: Mention addition of libmvec and x86_64 vector cos.
17693
17694 * math/Makefile: Added rules for vector tests.
17695 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17696 declaration under condition.
17697 * math/test-double-vlen2.h: New file.
17698 * math/test-double-vlen4.h: New file.
17699 * math/test-double-vlen8.h: New file.
17700 * math/test-vec-loop.h: Added initialization macro.
17701 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17702 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17703 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17704 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17705 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17706 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17707 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17708 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17709 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17710 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17711 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17712
17713 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17714 * sysdeps/x86_64/fpu/Versions: New versions added.
17715 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17716 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17717 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17718 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17719 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17720 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17721 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17722 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17723 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17724 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17725 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17726 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17727 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17728 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17729 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17730 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17731 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17732 * NEWS: Mention addition of x86_64 vector cosf.
17733
17734 * math/Makefile: Added CFLAGS for new tests.
17735 * math/test-float-vlen16.h: New file.
17736 * math/test-float-vlen4.h: New file.
17737 * math/test-float-vlen8.h: New file.
17738 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17739 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17740 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17741 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17742 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17743 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17744 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17745 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17746 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17747 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17748 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17749
17750 2015-06-09 Marko Myllynen <myllynen@redhat.com>
17751
17752 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17753 * locale/programs/ld-ctype.c: Likewise.
17754
17755 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
17756
17757 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17758 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17759 bit_ZMM16_31_state): New macro.
17760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17761 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17762
17763 2015-06-08 Joseph Myers <joseph@codesourcery.com>
17764
17765 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17766
17767 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
17768
17769 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17770
17771 2015-06-05 Joseph Myers <joseph@codesourcery.com>
17772
17773 [BZ #18498]
17774 * libio/memstream.c (open_memstream): Rename to __open_memstream
17775 and define as weak alias of __open_memstream.
17776 * include/stdio.h (__open_memstream): Declare. Use
17777 libc_hidden_proto.
17778 (open_memstream): Don't use libc_hidden_proto.
17779 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17780 open_memstream.
17781 * posix/getopt.c (_getopt_internal_r): Likewise.
17782 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17783 variable.
17784 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17785 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17786 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17787
17788 [BZ #18496]
17789 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17790 instead of wcrtomb.
17791
17792 [BZ #18483]
17793 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17794 [__USE_XOPEN2K8]. Remove redundant #endif.
17795 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17796 Remove redundant #if.
17797 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17798 Remove variable.
17799 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17800 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17801
17802 [BZ #18495]
17803 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17804 (__iswlower): Likewise.
17805 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
17806 (__iswlower): Likewise.
17807 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17808 instead of towlower.
17809 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17810 instead of iswlower. Call __towupper instead of towupper.
17811 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17812 instead of iswalnum.
17813
17814 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17815
17816 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17817 errors to stderr.
17818
17819 2015-06-05 Florian Weimer <fweimer@redhat.com>
17820
17821 [BZ #15661]
17822 [BZ #17322]
17823 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17824 Check for overflow properly. Check for O_APPEND. Ignore large
17825 file system block sizes. Add comments about problems.
17826 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17827 * manual/filesys.texi (Storage Allocation): New node.
17828
17829 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17830
17831 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17832 cancellable syscalls.
17833 (SYS_ify): Add guard to no redefine it.
17834 (INLINE_SYSCALL): Likewise.
17835 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17836 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17837 SYSCALL_CANCEL instead.
17838 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17839 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17840 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17841 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17842 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17843 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17844 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17845 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17846 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17847 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17848 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17849 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17850 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17851 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17852 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17853 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17854 Likewise.
17855 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17856 (__libc_pread64): Likewise.
17857 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17858 (__libc_preadv): Likewise.
17859 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17860 (__libc_readv64): Likewise.
17861 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17862 (__libc_pwrite): Likewise.
17863 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17864 (__libc_pwrite64): Likewise.
17865 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17866 (__libc_pwritev): Likewise.
17867 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17868 (__libc_pwritev64): Likewise.
17869 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17870 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17871 (sync_file_range): Likewise.
17872 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17873 Likewise.
17874 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17875 Likewise.
17876 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17877 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17878 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17879 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17880 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17881 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17882 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17883 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17885 Likewise.
17886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17887 (__libc_read64): Likewise.
17888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17889 Likewise.
17890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17891 Likewise.
17892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17893 Likewise.
17894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17895 Likewise.
17896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17897 (__libc_pread64): Likewise.
17898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17899 Likewise.
17900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17901 (__libc_pwrite64): Likewise.
17902 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17903 (sync_file_range): Likewise.
17904 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17905 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17906 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17907 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17908 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17909 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17910 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17911 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17912 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17913 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17914 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17915 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17916 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17917 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17918 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17919 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17920 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17921 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17922 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17923 Likewise.
17924 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17925 Likewise.
17926 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17927 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17928 Likewise.
17929 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17930 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17931 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17932 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17933 Likewise.
17934 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17935 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17936 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17937 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17938 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17939
17940 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
17941
17942 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17943 Include dl-vdso.
17944 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17945 Use VDSO routines for gettimeofday, clock_gettime if
17946 available.
17947 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17948 Declare VDSO symbols.
17949 * sysdeps/unix/sysv/linux/arm/sysdep.h:
17950 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17951 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17952 * sysdeps/unix/sysv/linux/arm/Versions: Add
17953 __vdso_clock_gettime.
17954
17955 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17956
17957 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17958 be an inline implementation regardless of library is built within.
17959 (open_not_cancel_2): Likewise.
17960 (__read_nocancel): Likewise.
17961 (__write_nocancel): Likewise.
17962 (openat_not_cancel): Likewise.
17963 (openat_not_cancel_3): Likewise.
17964 (openat64_not_cancel): Likewise.
17965 (openat64_not_cancel_3): Likewise.
17966 (__close_nocancel): Likewise.
17967 (pause_not_cancel): Likewise.
17968 (nanosleep_not_cancel): Likewise.
17969 (sigsuspend_not_cancel): Likewise.
17970
17971 2015-06-04 Torvald Riegel <triegel@redhat.com>
17972
17973 [BZ #14958]
17974 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17975 wake-up.
17976 (__pthread_rwlock_rdlock_slow): Likewise.
17977 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17978 Likewise.
17979 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17980 Likewise.
17981 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17982 * nptl/tst-rwlock16.c: New file.
17983 * nptl/Makefile (tests): Add new test.
17984
17985 2015-06-04 Torvald Riegel <triegel@redhat.com>
17986
17987 [BZ #18324]
17988 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17989 missing wake-up of readers.
17990 * nptl/tst-rwlock15.c: New file.
17991 * nptl/Makefile (tests): Add new test.
17992
17993 2015-06-03 Roland McGrath <roland@hack.frob.com>
17994
17995 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17996 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17997 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17998 and __nacl_supply_interface_rtld.
17999 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
18000 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
18001 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
18002 Add __nacl_supply_interface_rtld.
18003 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
18004
18005 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
18006
18007 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
18008 isfinite.
18009 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18010 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
18011
18012 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
18013
18014 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
18015 __signbit* with standard C99 macros.
18016 * math/e_exp10l.c: Likewise.
18017 * math/e_exp2l.c: Likewise.
18018 * math/e_scalb.c: Likewise.
18019 * math/e_scalbf.c: Likewise.
18020 * math/e_scalbl.c: Likewise.
18021 * math/s_ldexp.c: Likewise.
18022 * math/s_ldexpf.c: Likewise.
18023 * math/s_ldexpl.c: Likewise.
18024 * math/w_atan2.c: Likewise.
18025 * math/w_atan2f.c: Likewise.
18026 * math/w_atan2l.c: Likewise.
18027 * math/w_cosh.c: Likewise.
18028 * math/w_coshf.c: Likewise.
18029 * math/w_coshl.c: Likewise.
18030 * math/w_exp10.c: Likewise.
18031 * math/w_exp10f.c: Likewise.
18032 * math/w_exp10l.c: Likewise.
18033 * math/w_exp2.c: Likewise.
18034 * math/w_exp2f.c: Likewise.
18035 * math/w_exp2l.c: Likewise.
18036 * math/w_fmod.c: Likewise.
18037 * math/w_fmodf.c: Likewise.
18038 * math/w_fmodl.c: Likewise.
18039 * math/w_hypot.c: Likewise.
18040 * math/w_hypotf.c: Likewise.
18041 * math/w_hypotl.c: Likewise.
18042 * math/w_jnl.c: Likewise.
18043 * math/w_lgamma.c: Likewise.
18044 * math/w_lgamma_r.c: Likewise.
18045 * math/w_lgammaf.c: Likewise.
18046 * math/w_lgammaf_r.c: Likewise.
18047 * math/w_lgammal.c: Likewise.
18048 * math/w_lgammal_r.c: Likewise.
18049 * math/w_pow.c: Likewise.
18050 * math/w_powf.c: Likewise.
18051 * math/w_powl.c: Likewise.
18052 * math/w_remainder.c: Likewise.
18053 * math/w_remainderf.c: Likewise.
18054 * math/w_remainderl.c: Likewise.
18055 * math/w_scalb.c: Likewise.
18056 * math/w_scalbf.c: Likewise.
18057 * math/w_scalbl.c: Likewise.
18058 * math/w_scalbln.c: Likewise.
18059 * math/w_scalblnf.c: Likewise.
18060 * math/w_scalblnl.c: Likewise.
18061 * math/w_sinh.c: Likewise.
18062 * math/w_sinhf.c: Likewise.
18063 * math/w_sinhl.c: Likewise.
18064 * math/w_tgamma.c: Likewise.
18065 * math/w_tgammaf.c: Likewise.
18066 * math/w_tgammal.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18068 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
18069 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18070 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18071 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18073 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18074 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18075 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18076 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18077 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18078 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18079 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18080 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18081 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18082 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18083 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18084 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18085 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18086 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18087 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18088 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18089 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18090 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18091 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18092 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18093 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
18094 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18095 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18096 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18097 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
18098 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
18099 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
18100 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
18101 * stdio-common/printf_fp.c: Likewise.
18102 * stdio-common/printf_fphex.c: Likewise.
18103 * stdio-common/printf_size.c: Likewise.
18104
18105 2015-06-03 Joseph Myers <joseph@codesourcery.com>
18106
18107 [BZ #18470]
18108 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
18109 strnlen.
18110 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
18111 Remove variable.
18112 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18113 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18114 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18115 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18116 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18117 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18118 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18119 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18120 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18121 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18122
18123 [BZ #18468]
18124 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
18125 weak alias of __wmemchr. Use libc_hidden_weak.
18126 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
18127 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
18128 instead of wmemchr.
18129
18130 2015-06-02 Roland McGrath <roland@hack.frob.com>
18131
18132 [BZ #18383]
18133 * elf/tst-tlsalign-extern.c: New file.
18134 * elf/tst-tlsalign-extern-static.c: New file.
18135 * elf/tst-tlsalign-vars.c: New file.
18136 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
18137 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
18138 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
18139 ($(objpfx)tst-tlsalign-extern-static): Likewise.
18140 (test-xfail-tst-tlsalign-extern-static): New variable.
18141
18142 2015-06-02 Joseph Myers <joseph@codesourcery.com>
18143
18144 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
18145 Use variable name _sc_err instead of err.
18146 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
18147 instead of ret.
18148 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
18149 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
18150 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
18151 (INLINE_SYSCALL): Likewise.
18152
18153 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
18154 * include/string.h (__strnlen): Use libc_hidden_proto.
18155 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
18156 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
18157 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
18158 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18159 (libc_hidden_def): Undefine and redefine.
18160 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
18161 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
18162 __GI_strnlen.
18163 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
18164 libc_hidden_def.
18165 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
18166
18167 [BZ #18469]
18168 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
18169 weak alias of __towlower. Use libc_hidden_weak.
18170 (towupper): Rename to __towupper and define as weak alias of
18171 __towupper. Use libc_hidden_weak.
18172 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
18173 (__towupper): Likewise.
18174 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
18175 __towlower instead of towlower.
18176
18177 2015-06-02 Roland McGrath <roland@hack.frob.com>
18178
18179 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
18180 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
18181
18182 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
18183
18184 * sysdeps/aarch64/libm-test-ulps: Update.
18185
18186 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18187
18188 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
18189 Define.
18190 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18191 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18192 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18193 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18194 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
18195 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
18196 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
18197
18198 2015-06-01 Martin Sebor <msebor@redhat.com>
18199
18200 [BZ #18116]
18201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18202 (__setcontext): Use extended four-operand version of mtsf whenever
18203 possible.
18204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18205 (__novec_swapcontext): Likewise.
18206
18207 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18208
18209 * benchtests/scripts/compare_bench.py: New file.
18210 * benchtests/scripts/import_bench.py (mean): New function.
18211 (split_list): Likewise.
18212 (do_for_all_timings): Likewise.
18213 (compress_timings): Likewise.
18214
18215 * benchtests/scripts/import_bench.py: New file.
18216 * benchtests/scripts/validate_benchout.py: Import import_bench
18217 instead of jsonschema.
18218 (validate_bench): Remove function.
18219 (main): Use import_bench.
18220
18221 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
18222
18223 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18224 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18225
18226 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18227
18228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18229
18230 2015-05-28 Roland McGrath <roland@hack.frob.com>
18231
18232 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18233 set THREAD_SELF->tid to a magic value and futex-wake it.
18234 Pass its address to the thread_exit system call.
18235 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18236 bit is clear.
18237 * sysdeps/nacl/lowlevellock.h: New file.
18238 * sysdeps/nacl/lll_timedwait_tid.c: New file.
18239
18240 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18241 Add TIMEOUT to current time, don't subtract it.
18242
18243 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
18244
18245 [BZ #2981]
18246 [BZ #18422]
18247 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18248 ($(objpfx)tst-audit2.out): Also depend on
18249 $(objpfx)tst-auditmod9b.so.
18250 * elf/tst-audit2.c: Include <dlfcn.h>.
18251 (calloc_called): New.
18252 (calloc): Allow to be called more than once.
18253 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18254
18255 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
18256
18257 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18258 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18259
18260 2015-05-27 Marko Myllynen <myllynen@redhat.com>
18261
18262 * stdlib/monetary.h: Fix comment.
18263
18264 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
18265
18266 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18267 Avoid using variables in #defines that might cause shadowing.
18268 (INTERNAL_VSYSCALL_CALL): Likewise.
18269
18270 2015-05-26 Roland McGrath <roland@hack.frob.com>
18271
18272 * sysdeps/nacl/lll_timedlock_wait.c: New file.
18273
18274 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18275 * nptl/lll_timedlock_wait.c: ... to this new file.
18276 * nptl/Makefile (libpthread-routines): Add it.
18277 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18278 * nptl/lll_timedwait_tid.c: ... to this new file.
18279 * nptl/Makefile (libpthread-routines): Add it.
18280 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18281 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18282 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18283 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18284 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18285 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18286 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18287 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18288 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18289 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18290
18291 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18292
18293 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18294 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18295 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18296 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18297 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18298 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18299 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18300 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18301 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18302 * sysdeps/unix/sysv/linux/tile/sysdep.h
18303 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18304 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18305 using vDSO syscall macro.
18306
18307 2015-05-26 Andriy Rysin <arysin@gmail.com>
18308
18309 [BZ #17293]
18310 * uk_UA: Fix sorting order for Ukrainian locale
18311
18312 2015-05-26 Marko Myllynen <myllynen@redhat.com>
18313
18314 * stdlib/monetary.h: Fix comment.
18315
18316 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
18317
18318 [BZ #18234]
18319 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18320 st_mtim and st_ctim members.
18321 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18322 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18323 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18324 (struct stat64): Likewise.
18325 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18326 (struct stat64): Likewise.
18327 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18328 (struct stat64): Likewise.
18329
18330 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18331
18332 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18333 Define and include sysdep-vdso.h.
18334 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18335 Likewise.
18336 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18337 Likewise.
18338 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18339 Define with VDSO_SYMBOL and use PTR_MANGLE.
18340 (__vdso_clock_gettime): Likewise.
18341 (__vdso_clock_getres): Likewise.
18342 (_libc_vdso_platform_setup): Likewise.
18343 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18344 Likewise.
18345 (_libc_vdso_platform_setup): Likewise.
18346 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18347 Likewise.
18348 (__vdso_clock_gettime): Likewise.
18349 (__vdso_clock_getres): Likewise.
18350 (__vdso_get_tbfreq): Likewise.
18351 (__vdso_getcpu): Likewise.
18352 (__vdso_time): Likewise.
18353 (__vdso_sigtramp_rt64): Likewise.
18354 (__vdso_signtramp32): Likewise.
18355 (__vdso_sigtramp_rt32): Likewise.
18356 (_libc_vdso_platform_setup): Likewise.
18357 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
18358 Likewise.
18359 (__vdso_clock_gettime): Likewise.
18360 (__vdso_clock_getres): Likewise.
18361 (_libc_vdso_platform_setup): Likewise.
18362 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
18363 Likewise.
18364 (__vdso_clock_gettime): Likewise.
18365 (_libc_vdso_platform_setup): Likewise.
18366 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18367 Likewise.
18368 (__vdso_getcpu): Likewise.
18369 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
18370 Use VDSO_SYMBOL macro to define.
18371 (__vdso_clock_gettime): Likewise.
18372 (__vdso_clock_getres): Likewise.
18373 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
18374 Likewise.
18375 (__vdso_clock_gettime): Likewise.
18376 (__vdso_clock_getres): Likewise.
18377 (__vdso_get_tbfreq): Likewise.
18378 (__vdso_getcpu): Likewise.
18379 (__vdso_time): Likewise.
18380 (__vdso_sigtramp_rt64): Likewise.
18381 (__vdso_signtramp32): Likewise.
18382 (__vdso_sigtramp_rt32): Likewise.
18383 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
18384 Likewise.
18385 (__vdso_clock_gettime): Likewise.
18386 (__vdso_clock_getres): Likewise.
18387 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
18388 Likewise.
18389 (__vdso_clock_gettime): Likewise.
18390 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18391 Likewise.
18392 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
18393 macro.
18394 (INTERNAL_VSYSCALL): Likewise.
18395 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
18396 Remove macro.
18397 (INTERNAL_VSYSCALL): Likewise.
18398 (INTERNAL_VSYSCALL_NCS): Likewise.
18399 (INTERNAL_VSYSCALL_CALL): New macro.
18400 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18401 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
18402 Likewise.
18403 (INTERNAL_VSYSCALL): Likewise.
18404 (INTERNAL_VSYSCALL_NCS): Likewise.
18405 (INTERNAL_VSYSCALL_CALL): New macro.
18406 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18408 (INLINE_VSYSCALL): Remove macro.
18409 (INTERNAL_VSYSCALL): Remove macro.
18410 (INTERNAL_VSYSCALL_NCS): Remove macro.
18411 (INTERNAL_VSYSCALL_CALL): New macro.
18412 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
18413 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
18414 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18415 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
18416 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18418 (INLINE_VSYSCALL): Remove macro.
18419 (INTERNAL_VSYSCALL): Likewise.
18420 (INTERNAL_VSYSCALL_NCS): Likewise.
18421 (INTERNAL_VSYSCALL_CALL): New macro.
18422 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
18423 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
18424 PTR_DEMANGLE on vDSO pointer.
18425 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18426 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
18427 macro.
18428 (INTERNAL_SYSCALL): Likewise.
18429 (INTERNAL_VSYSCALL_NCS): Remove macro.
18430 (INTERNAL_VSYSCALL_CALL): New macro.
18431 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
18432 Remove macro.
18433 (INTERNAL_VSYSCALL): Likewise.
18434 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
18435 sysdep-vdso.h instead of libc-vdso.h.
18436 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
18437 definition.
18438 (INLINE_VSYSCALL): Likewise.
18439 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
18440 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
18441 definition.
18442 (INLINE_VSYSCALL): Likewise.
18443 (INTERNAL_VSYSCALL): Likewise.
18444 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18445 * sysdeps/unix/sysv/linux/timespec_get.c
18446 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18447 (timespec_get): Use ANSI prototype.
18448 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
18449 and definition for Linux.
18450
18451 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
18452
18453 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18454 * include/libc-symbols.h: libmvec_hidden_* macro series added.
18455
18456 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
18457
18458 [BZ #2981]
18459 [BZ #18410]
18460 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18461 for missing DT_PLTRELSZ.
18462
18463 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
18464
18465 Remove obsolete aliases that broke 'locale -a'
18466 [BZ #18412]
18467 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18468 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18469 breaking some applications that use 'locale -a' output.
18470 Change the encoding of this file from Latin-1 to ASCII to avoid
18471 other potential problems with people grepping this file.
18472
18473 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18474
18475 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18476 -fasynchronous-unwind-tables.
18477 (CFLAGS-sendto.c): Likewise.
18478 (CFLAGS-sendmsg.c): Likewise.
18479 (CFLAGS-connect.c): Likewise.
18480 (CFLAGS-recvmsg.c): Likewise.
18481 (CFLAGS-recvfrom.c): Likewise.
18482 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18483 (SOCKETCALL): New macro: non-cancellable socketcall.
18484 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18485 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18486 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18487 * sysdeps/unix/sysv/linux/accept.c: New file.
18488 * sysdeps/unix/sysv/linux/bind.c: Likewise.
18489 * sysdeps/unix/sysv/linux/connect.c: Likewise.
18490 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18491 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18492 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18493 * sysdeps/unix/sysv/linux/listen.c: Likewise.
18494 * sysdeps/unix/sysv/linux/recv.c: Likewise.
18495 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18496 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18497 * sysdeps/unix/sysv/linux/send.c: Likewise.
18498 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18499 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18500 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18501 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18502 * sysdeps/unix/sysv/linux/socket.c: Likewise.
18503 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18504 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18505 prototype.
18506 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18507 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18508 instead of __internal_xxx function.
18509 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18510 prototype.
18511 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18512 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18513 instead of __internal_xxx function.
18514 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18515 prototype.
18516 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18517 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18518 instead of __internal_xxx function.
18519 * sysdeps/unix/sysv/linux/accept.S: Remove file.
18520 * sysdeps/unix/sysv/linux/bind.S: Likewise.
18521 * sysdeps/unix/sysv/linux/connect.S: Likewise.
18522 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18523 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18524 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18525 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18526 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18527 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18528 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18529 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18530 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18531 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18532 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18533 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18534 * sysdeps/unix/sysv/linux/listen.S: Likewise.
18535 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18536 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18537 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18538 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18541 * sysdeps/unix/sysv/linux/recv.S: Likewise.
18542 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18543 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18544 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18545 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18546 * sysdeps/unix/sysv/linux/send.S: Likewise.
18547 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18548 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18549 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18550 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18551 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18552 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18553 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18554 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18555 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18556 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18557 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18558 socketcall is implemented in GLIBC.
18559
18560 2015-05-22 Joseph Myers <joseph@codesourcery.com>
18561
18562 * soft-fp/fmadf4.c: Include <libc-internal.h>.
18563 (__fma): Ignore uninitialized warnings around packing.
18564 * soft-fp/fmasf4.c: Include <libc-internal.h>.
18565 (__fmaf): Ignore uninitialized warnings around packing.
18566 * soft-fp/fmatf4.c: Include <libc-internal.h>.
18567 (__fmal): Ignore uninitialized warnings around packing.
18568
18569 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18570 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18571 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18572 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18573
18574 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18575 switch statement into default case.
18576 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18577
18578 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18579 a conditional in forcing "inexact".
18580 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18581 Likewise.
18582
18583 2015-05-22 Roland McGrath <roland@hack.frob.com>
18584
18585 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18586 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18587 for each INTERNAL_SYSCALL use.
18588
18589 2015-05-22 Joseph Myers <joseph@codesourcery.com>
18590
18591 [BZ #438]
18592 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18593 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18594 variable.
18595
18596 [BZ #18444]
18597 * string/basename.c (basename): Rename to __basename and define as
18598 weak alias of __basename. Use libc_hidden_weak.
18599 * include/string.h (__basename): Declare. Use libc_hidden_proto.
18600 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18601 __basename instead of basename.
18602 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18603 Remove variable.
18604 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18605
18606 2015-05-18 Florian Weimer <fweimer@redhat.com>
18607
18608 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18609 (_IO_JUMPS_FILE_plus): New.
18610 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18611 _IO_CAST_FIELD_ACCESS.
18612 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18613 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18614 * libio/freopen.c (freopen): Likewise.
18615 * libio/freopen64.c (freopen64): Likewise.
18616 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18617 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18618 * libio/iofwide.c (_IO_fwide): Likewise.
18619 * libio/memstream.c (open_memstream): Likewise.
18620 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18621 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18622 * libio/oldiopopen.c (_IO_old_popen): Likewise.
18623
18624 2015-05-21 Joseph Myers <joseph@codesourcery.com>
18625
18626 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18627 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18628 NADJ.
18629 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18630 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18631 NADJ.
18632 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18633 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18634 NADJ.
18635
18636 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18637 (p == 4) case.
18638
18639 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18640 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18641 Remove variable.
18642 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18643 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18644 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18645
18646 2015-05-21 Florian Weimer <fweimer@redhat.com>
18647
18648 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18649 Adjust jump table label generation macros.
18650
18651 2015-05-21 Florian Weimer <fweimer@redhat.com>
18652
18653 * stdio-common/vfprintf.c (vfprintf): Move local variables
18654 args_malloced, specs, specs_malloced, and the code after
18655 do_positional to the printf_positional function.
18656 (printf_positional): New function.
18657
18658 2015-05-21 Florian Weimer <fweimer@redhat.com>
18659
18660 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18661 function.
18662 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18663 STEP4_TABLE, process_arg): Move macro definitions
18664 out of the vfprintf function. (Cosmetic change only.)
18665
18666 2015-05-21 Carlos O'Donell <carlos@redhat.com>
18667
18668 * benchtests/Makefile (stdio-common-bench): Define.
18669 (benchset): Add stdio-common-bench.
18670 * sprintf-inputs: New file.
18671 * sprintf-source.c: New file.
18672
18673 2015-05-21 Andreas Schwab <schwab@suse.de>
18674
18675 [BZ #13028]
18676 [BZ #17053]
18677 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18678 of struct __res_state.
18679 * resolv/res_send.c (__libc_res_nsend): Likewise.
18680 (get_nsaddr): New function.
18681 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18682 statp directly.
18683
18684 2015-05-20 Joseph Myers <joseph@codesourcery.com>
18685
18686 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18687 -D_POSIX_C_SOURCE=199506L.
18688
18689 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18690
18691 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18692 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18693 Do not mention otherwise.
18694 [POSIX] (_XOPEN_VERSION): Do not expect.
18695 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18696 [POSIX] (_POSIX2_C_BIND): Likewise.
18697 [POSIX] (_POSIX2_VERSION): Likewise.
18698 [POSIX] (_XOPEN_XPG2): Likewise.
18699 [POSIX] (_XOPEN_XPG3): Likewise.
18700 [POSIX] (_XOPEN_XPG4): Likewise.
18701 [POSIX] (_XOPEN_UNIX): Likewise.
18702 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18703 [POSIX] (_POSIX_BARRIERS): Likewise.
18704 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18705 [POSIX] (_POSIX_CPUTIME): Likewise.
18706 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18707 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18708 [POSIX] (_POSIX_SHELL): Likewise.
18709 [POSIX] (_POSIX_SPAWN): Likewise.
18710 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18711 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18712 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18713 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18714 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18715 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18716 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18717 [POSIX] (_XBS5_LP64_OFF64): Likewise.
18718 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18719 [POSIX] (_POSIX_TIMEOUTS): Likewise.
18720 [POSIX] (_POSIX2_PBS): Likewise.
18721 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18722 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18723 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18724 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18725 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18726 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18727 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18728 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18729 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18730 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18731 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18732 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18733 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18734 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18735 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18736 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18737 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18738 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18739 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18740 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18741 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18742 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18743 [POSIX] (_SC_2_C_BIND): Likewise.
18744 [POSIX] (_SC_2_C_VERSION): Likewise.
18745 [POSIX] (_SC_2_PBS): Likewise.
18746 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18747 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18748 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18749 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18750 [POSIX] (_SC_2_PBS_TRACK): Likewise.
18751 [POSIX] (_SC_ATEXIT_MAX): Likewise.
18752 [POSIX] (_SC_BARRIERS): Likewise.
18753 [POSIX] (_SC_BASE): Likewise.
18754 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18755 [POSIX] (_SC_DEVICE_IO): Likewise.
18756 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18757 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18758 [POSIX] (_SC_FD_MGMT): Likewise.
18759 [POSIX] (_SC_FIFO): Likewise.
18760 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18761 [POSIX] (_SC_FILE_LOCKING): Likewise.
18762 [POSIX] (_SC_FILE_SYSTEM): Likewise.
18763 [POSIX] (_SC_IOV_MAX): Likewise.
18764 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18765 [POSIX] (_SC_NETWORKING): Likewise.
18766 [POSIX] (_SC_PAGE_SIZE): Likewise.
18767 [POSIX] (_SC_PASS_MAX): Likewise.
18768 [POSIX] (_SC_PIPE): Likewise.
18769 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18770 [POSIX] (_SC_REGEXP): Likewise.
18771 [POSIX] (_SC_SHELL): Likewise.
18772 [POSIX] (_SC_SIGNALS): Likewise.
18773 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18774 [POSIX] (_SC_SPIN_LOCKS): Likewise.
18775 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18776 [POSIX] (_SC_USER_GROUPS): Likewise.
18777 [POSIX] (_SC_USER_GROUPS_R): Likewise.
18778 [POSIX] (_SC_STREAMS): Likewise.
18779 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18780 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18781 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18782 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18783 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18784 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18785 [POSIX] (_PC_FILESIZEBITS): Likewise.
18786 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18787 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18788 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18789 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18790 [POSIX] (uid_t): Likewise.
18791 [POSIX] (gid_t): Likewise.
18792 [POSIX] (off_t): Likewise.
18793 [POSIX] (pid_t): Likewise.
18794 [POSIX] (cuserid): Allow.
18795 (_SC_2_CHAR_TERM): Require constant.
18796 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18797 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18798 variable.
18799
18800 2015-05-20 Roland McGrath <roland@hack.frob.com>
18801
18802 * sysdeps/nacl/pthread-pids.h: New file.
18803 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18804 (create_thread): Use __nacl_get_tid to initialize PD->tid.
18805
18806 * nptl/pthread-pids.h: New file.
18807 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18808 * nptl/nptl-init.c: Include <pthread-pids.h>.
18809 (__pthread_initialize_minimal_internal):
18810 Call __pthread_initialize_pids instead of set_tid_address syscall.
18811
18812 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18813 * sysdeps/posix/usleep.c: ... here.
18814
18815 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18816
18817 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18818 call_pselect6 object.
18819 [$(subdir) = io]: Remove call_sync_file_range object.
18820 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18821 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18822 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18823 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18824
18825 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
18826
18827 * math/s_cproj.c: Add include "math_private.h".
18828 * math/s_cprojf.c: Likewise.
18829 * math/s_cprojl.c: Likewise.
18830
18831 2015-05-19 Joseph Myers <joseph@codesourcery.com>
18832
18833 [BZ #18244]
18834 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18835 high mantissa bit when testing whether P is a NaN.
18836 * math/libm-test.inc (remainder_test_data): Add more tests.
18837 (remquo_test_data): Likewise.
18838
18839 [BZ #18049]
18840 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18841 below -32, return the argument, with underflow if subnormal.
18842 * math/auto-libm-test-in: Add more tests of atanh.
18843 * math/auto-libm-test-out: Regenerated.
18844
18845 2015-05-19 Roland McGrath <roland@hack.frob.com>
18846
18847 [BZ #18434]
18848 * nptl/tst-sem15.c: New file.
18849 * nptl/Makefile (tests): Add it.
18850 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18851 s/<</>>/ to fix typo in EOVERFLOW check.
18852 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18853
18854 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18855
18856 * manual/strings.texi (envz_remove): Fix typo in safety
18857 annotations.
18858
18859 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
18860 Steve Ellcey <sellcey@imgtec.com>
18861
18862 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18863 in order to avoid strict alias warnings.
18864 (iruserok_af): Ditto for ra.
18865
18866 2015-05-19 James Lemke <jwlemke@codesourcery.com>
18867
18868 [BZ #17581]
18869 * malloc/hooks.c
18870 (magicbyte): Convert to a function and avoid returning 0x01.
18871 (mem2mem_check): Avoid using a length byte equal to the magic byte.
18872 (mem2chunk_check): Fix unsigned comparisons to zero.
18873 Hoist defs of sz and magic.
18874
18875 2015-05-19 Richard Henderson <rth@redhat.com>
18876
18877 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18878
18879 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18880
18881 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18882
18883 [BZ #16159]
18884 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18885 * malloc/arena.c (arena_lock): Check if arena is corrupt.
18886 (reused_arena): Find a non-corrupt arena.
18887 (heap_trim): Pass arena to unlink.
18888 * malloc/hooks.c (malloc_check_get_size): Pass arena to
18889 malloc_printerr.
18890 (top_check): Likewise.
18891 (free_check): Likewise.
18892 (realloc_check): Likewise.
18893 * malloc/malloc.c (malloc_printerr): Add arena argument.
18894 (unlink): Likewise.
18895 (munmap_chunk): Adjust.
18896 (ARENA_CORRUPTION_BIT): New macro.
18897 (arena_is_corrupt): Likewise.
18898 (set_arena_corrupt): Likewise.
18899 (sysmalloc): Use mmap if there are no usable arenas.
18900 (_int_malloc): Likewise.
18901 (__libc_malloc): Don't fail if arena_get returns NULL.
18902 (_mid_memalign): Likewise.
18903 (__libc_calloc): Likewise.
18904 (__libc_realloc): Adjust for additional argument to
18905 malloc_printerr.
18906 (_int_free): Likewise.
18907 (malloc_consolidate): Likewise.
18908 (_int_realloc): Likewise.
18909 (_int_memalign): Don't touch corrupt arenas.
18910 * malloc/tst-malloc-backtrace.c: New test case.
18911
18912 * Makefile (summarize-tests): Fix return value on success.
18913
18914 * manual/string.texi (Envz Functions): Add envz_remove.
18915
18916 2015-05-18 Roland McGrath <roland@hack.frob.com>
18917
18918 * sysdeps/posix/opendir.c: Include <stdbool.h>.
18919 (invalid_name): New function, broken out of ...
18920 (__opendirat): ... here. Call it.
18921 (need_isdir_precheck): New function, broken out of ...
18922 (__opendirat): ... here. Call it.
18923 Use __fxstatat64, not __xstatat64.
18924 (opendir_oflags): New function, broken out of ...
18925 (__opendirat): ... here. Call it.
18926 (opendir_tail): New function, broken out of ...
18927 (__opendirat): ... here. Call it.
18928 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18929 opendir_tail, rather than punting to __opendirat.
18930 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18931
18932 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18933
18934 * .gitignore: Ignore generated *.pyc.
18935
18936 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
18937
18938 * include/stdio.h: Define __need_wint_t.
18939 * test-skeleton.c: Avoid `for' loop initial declaration.
18940 * nptl/tst-initializers1.c: Use test-skeleton.c.
18941
18942 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18943
18944 [BZ #18418]
18945 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18946
18947 2015-05-15 Joseph Myers <joseph@codesourcery.com>
18948
18949 [BZ #16352]
18950 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18951 (__ieee754_atanh): Force underflow exception for results with
18952 small absolute value.
18953 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18954 (__ieee754_atanhf): Force underflow exception for results with
18955 small absolute value.
18956 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18957 (__ieee754_atanh): Force underflow exception for results with
18958 small absolute value.
18959 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18960 (__ieee754_atanhf): Force underflow exception for results with
18961 small absolute value.
18962 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18963 (__ieee754_atanhl): Force underflow exception for results with
18964 small absolute value.
18965 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18966 (__ieee754_atanhl): Force underflow exception for results with
18967 small absolute value.
18968 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18969 (__ieee754_atanhl): Force underflow exception for results with
18970 small absolute value.
18971 * math/auto-libm-test-in: Do not allow missing underflow
18972 exceptions from atanh.
18973 * math/auto-libm-test-out: Regenerated.
18974
18975 [BZ #18221]
18976 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18977 2**-28 as threshold for returning x or +/- 1/x.
18978 * math/auto-libm-test-in: Add more tests of tan.
18979 * math/auto-libm-test-out: Regenerated.
18980
18981 [BZ #18220]
18982 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18983 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18984 * math/auto-libm-test-in: Add another test of lgamma.
18985 * math/auto-libm-test-out: Regenerated.
18986
18987 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
18988
18989 * stdio-common/printf_fp.c (___printf_fp): Use abs.
18990 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
18991 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18992 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18993 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
18994 (ADD2A): Use fabs. (SUB2A): Use fabs.
18995 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18996 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18997 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18998 (log1): Use fabs. (my_log2): Use fabs.
18999 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
19000 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
19001 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
19002 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
19003 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
19004 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
19005 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
19006 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
19007 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
19008 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
19009 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
19010
19011 2015-05-15 Joseph Myers <joseph@codesourcery.com>
19012
19013 [BZ #18217]
19014 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
19015 as threshold for returning 1 - x.
19016 * math/auto-libm-test-in: Add more tests of erfc.
19017 * math/auto-libm-test-out: Regenerated.
19018
19019 2015-05-14 Joseph Myers <joseph@codesourcery.com>
19020
19021 [BZ #18196]
19022 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
19023 threshold for large arguments.
19024 * math/auto-libm-test-in: Add another test of atan.
19025 * math/auto-libm-test-out: Regenerated.
19026
19027 [BZ #16339]
19028 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
19029 (__log1p): Force underflow exception for results with small
19030 absolute value.
19031 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
19032 (__log1pf): Force underflow exception for results with small
19033 absolute value.
19034 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
19035 (__log1p): Force underflow exception for results with small
19036 absolute value.
19037 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
19038 (__log1pf): Force underflow exception for results with small
19039 absolute value.
19040 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
19041 (__log1pl): Force underflow exception for results with small
19042 absolute value.
19043 * math/auto-libm-test-in: Do not allow missing underflow
19044 exceptions from log1p.
19045 * math/auto-libm-test-out: Regenerated.
19046
19047 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
19048 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19049
19050 [BZ #16704]
19051 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
19052
19053 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
19054
19055 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
19056 (libmvec): New variable.
19057 * configure.ac: Added option for mathvec build.
19058 * configure: Regenerated.
19059 * mathvec/Depend: New file.
19060 * mathvec/Makefile: New file.
19061 * shlib-versions: Added libmvec.
19062 * math/Makefile: Added rule for libm.so installation.
19063
19064 * bits/math-vector.h: New file.
19065 * bits/libm-simd-decl-stubs.h: New header.
19066 * math/Makefile (headers): Added new header
19067 libm-simd-decl-stubs.h.
19068 * math/math.h (__MATHCALL_VEC): New macro.
19069
19070 * math/gen-libm-have-vector-test.sh: Script generates series of macros
19071 for conditions in testing functions.
19072 * math/Makefile: Added call of libm-have-vector-test.sh.
19073 * math/libm-test.inc (HAVE_VECTOR): New macros.
19074
19075 * math/libm-test.inc: START refactored.
19076 * math/test-double.c (TEST_MATHVEC): Add define.
19077 * math/test-float.c: Likewise.
19078 * math/test-idouble.c: Likewise.
19079 * math/test-ifloat.c: Likewise.
19080 * math/test-ildoubl.c: Likewise.
19081 * math/test-ldouble.c: Likewise.
19082 * sysdeps/generic/math-tests-arch.h
19083 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19084 architecture check.
19085
19086 * math/test-double.c (FUNC_TEST): New macro.
19087 * math/test-float.c: Likewise.
19088 * math/test-idouble.c: Likewise.
19089 * math/test-ifloat.c: Likewise.
19090 * math/test-ildoubl.c: Likewise.
19091 * math/test-ldouble.c: Likewise.
19092 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
19093
19094 2015-05-13 Roland McGrath <roland@hack.frob.com>
19095
19096 * sysdeps/nacl/fdopendir.c: New file.
19097
19098 * dirent/scandir-tail.c: New file.
19099 * dirent/scandir64-tail.c: New file.
19100 * dirent/Makefile (routines): Add them.
19101 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
19102 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
19103 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
19104 [!SCANDIR] (SCANDIR_TAIL): New macro.
19105 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
19106 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
19107 (SCANDIRAT): Macro removed.
19108 (SCANDIR_TAIL): New macro.
19109 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
19110 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
19111 (SCANDIRAT): Just call __opendirat and __scandir_tail.
19112 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
19113 (READDIR): Macro removed.
19114 (SCANDIR_TAIL): New macro.
19115 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19116 (SCANDIR_TAIL): New macro.
19117
19118 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
19119 * dirent/scandir-cancel.c: ... to this new file.
19120 * dirent/Makefile (routines): Add it.
19121 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
19122 * sysdeps/unix/sysv/linux/i386/scandir64.c
19123 (SKIP_SCANDIR_CANCEL): Macro removed.
19124 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
19125
19126 * dirent/tst-scandir.c: New file.
19127 * dirent/tst-scandir64.c: New file.
19128 * dirent/Makefile (tests): Add them.
19129
19130 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
19131
19132 [BZ #18409]
19133 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
19134
19135 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
19136
19137 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
19138 list.
19139
19140 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
19141
19142 * benchtests/bench-strcoll.c: New benchmark.
19143 * benchtests/Makefile: Generate locales and run benchmark.
19144 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
19145 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19146 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
19147 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
19148 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
19149 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
19150 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
19151 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
19152 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
19153 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
19154 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
19155 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
19156 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
19157 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
19158 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
19159 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
19160 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
19161 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
19162 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
19163 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
19164 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
19165 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
19166 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
19167 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
19168
19169 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
19170
19171 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
19172 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19173
19174 2015-05-12 Roland McGrath <roland@hack.frob.com>
19175
19176 * posix/uname-values.h: New file.
19177 * posix/uname.c: Include that instead of <config-name.h>.
19178 * sysdeps/nacl/uname-values.h: New file.
19179 * sysdeps/arm/nacl/uname-values.h: New file.
19180
19181 2015-05-12 Joseph Myers <joseph@codesourcery.com>
19182
19183 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
19184 splitting into fields.
19185
19186 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
19187
19188 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
19189 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
19190 * locale/localeinfo.h: Add enum collation_encoding_type.
19191 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
19192 * programs/ld-collate.c (collate_output): Add encoding type info.
19193 * string/strcoll_l.c (STRDIFF): New function.
19194 * (STRCOLL): Use STRDIFF to skip over equal prefix.
19195 * wcsmbs/wcscoll_l.c: Define STRDIFF.
19196
19197 2015-05-11 Joseph Myers <joseph@codesourcery.com>
19198
19199 [BZ #18397]
19200 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
19201 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
19202 <fpu_control.h> instead of <math/fpu_control.c>.
19203 * sysdeps/mips/mips32/fpu/Makefile: New file.
19204
19205 2015-05-11 Andreas Schwab <schwab@suse.de>
19206
19207 [BZ #18007]
19208 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19209 nss_endgrent.
19210 (_nss_compat_endgrent): Call nss_endgrent.
19211 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19212 nss_endpwent.
19213 (_nss_compat_endpwent): Call nss_endpwent.
19214 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19215 needent, call nss_setspent only if non-zero.
19216 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19217 (internal_endspent): Don't call nss_endspent.
19218 (_nss_compat_endspent): Call nss_endspent.
19219 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19220 Remove. All uses removed.
19221 (internal_setent): Remove parameter stayopen, add parameter
19222 stream. Use it instead of global variable.
19223 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19224 (internal_endent, internal_getent): Add parameter stream. Use it
19225 instead of global variable.
19226 (CONCAT(_nss_files_end,ENTNAME))
19227 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19228 (_nss_files_get##name##_r): Pass local stream. Remove locking.
19229 * nss/nss_files/files-alias.c (position, last_use): Remove. All
19230 uses removed.
19231 (internal_setent, internal_endent): Add parameter stream. Use it
19232 instead of global variable.
19233 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19234 stream.
19235 (get_next_alias): Add parameter stream.
19236 (_nss_files_getaliasent_r): Pass global stream.
19237 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
19238 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19239 (_nss_files_gethostbyname4_r): Pass local stream to
19240 internal_setent, internal_getent and internal_endent. Remove
19241 locking.
19242
19243 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19244
19245 * tst-strfmon1.c (tests): Update expected currency symbol.
19246
19247 2015-05-08 Roland McGrath <roland@hack.frob.com>
19248
19249 * sysdeps/nacl/gethostname.c: New file.
19250
19251 2015-05-08 Joseph Myers <joseph@codesourcery.com>
19252
19253 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19254 and sinh.
19255 * math/auto-libm-test-out: Regenerated.
19256 * sysdeps/i386/fpu/libm-test-ulps: Update.
19257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19258
19259 2015-05-08 Carlos O'Donell <carlos@redhat.com>
19260
19261 [BZ #18125]
19262 * stdlib/tst-setcontext3.c: New file.
19263 * stdlib/tst-setcontext3.sh: New file.
19264 * stdlib/Makefile (tests): Add tst-setcontext3.
19265 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19266 to verify test program created output file.
19267 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19268 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19269 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19270 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19271
19272 2015-05-06 Roland McGrath <roland@hack.frob.com>
19273
19274 [BZ #18383]
19275 * elf/tst-tlsalign.c: New file.
19276 * elf/tst-tlsalign-static.c: New file.
19277 * elf/tst-tlsalign-lib.c: New file.
19278 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19279 (tests-static): Add tst-tlsalign-static.
19280 (modules-names): Add tst-tlsalign-lib.
19281 (test-xfail-tst-tlsalign): New variable.
19282 (test-xfail-tst-tlsalign-static): New variable.
19283
19284 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19285 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19286
19287 2015-05-06 Joseph Myers <joseph@codesourcery.com>
19288
19289 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19290 csqrt, erfc, sin and sincos.
19291 * math/auto-libm-test-out: Regenerated.
19292 * sysdeps/i386/fpu/libm-test-ulps: Update.
19293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19294
19295 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
19296
19297 * sysdeps/aarch64/libm-test-ulps: Update.
19298
19299 2015-05-05 Joseph Myers <joseph@codesourcery.com>
19300
19301 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19302 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19303 * math/auto-libm-test-out: Regenerated.
19304 * sysdeps/i386/fpu/libm-test-ulps: Update.
19305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19306
19307 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
19308
19309 [BZ #18265]
19310 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19311 (wcsncpy): Likewise.
19312
19313 2015-05-05 Florian Weimer <fweimer@redhat.com>
19314
19315 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19316 Assume __ASSUME_FALLOCATE is always true.
19317 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19318 (__posix_fallocate64_l64): Likweise.
19319 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19320 (posix_fallocate): Likewise.
19321 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19322 (__posix_fallocate64_l64): Likewise.
19323 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19324 [!__ASSUME_FALLOCATE]: Add comment.
19325
19326 2015-05-05 Florian Weimer <fweimer@redhat.com>
19327
19328 * sysdeps/unix/sysv/linux/i386/Makefile
19329 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19330 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19331 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19332 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19333 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19334 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19335 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19336
19337 2015-05-02 Joseph Myers <joseph@codesourcery.com>
19338
19339 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19340 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19341 tgamma.
19342 * math/auto-libm-test-out: Regenerated.
19343 * sysdeps/i386/fpu/libm-test-ulps: Update.
19344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19345
19346 2015-05-01 Joseph Myers <joseph@codesourcery.com>
19347
19348 * math/auto-libm-test-in: Add more tests of tgamma.
19349 * math/auto-libm-test-out: Regenerated.
19350 * sysdeps/i386/fpu/libm-test-ulps: Update.
19351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19352
19353 * math/auto-libm-test-in: Add more tests of tanh.
19354 * math/auto-libm-test-out: Regenerated.
19355 * sysdeps/i386/fpu/libm-test-ulps: Update.
19356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19357
19358 * math/auto-libm-test-in: Add more tests of tan.
19359 * math/auto-libm-test-out: Regenerated.
19360 * sysdeps/i386/fpu/libm-test-ulps: Update.
19361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19362
19363 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
19364 * math/auto-libm-test-out: Regenerated.
19365 * sysdeps/i386/fpu/libm-test-ulps: Update.
19366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19367
19368 * math/auto-libm-test-in: Add another test of pow.
19369 * math/auto-libm-test-out: Regenerated.
19370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19371
19372 * math/auto-libm-test-in: Add more tests of lgamma.
19373 * math/auto-libm-test-out: Regenerated.
19374 * sysdeps/i386/fpu/libm-test-ulps: Update.
19375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19376
19377 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
19378 log1p.
19379 * math/auto-libm-test-out: Regenerated.
19380 * sysdeps/i386/fpu/libm-test-ulps: Update.
19381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19382
19383 2015-05-01 Mark Wielaard <mjw@redhat.com>
19384
19385 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
19386 Elf64_Chdr structs and ELFCOMPRESS constants.
19387
19388 2015-05-01 Joseph Myers <joseph@codesourcery.com>
19389
19390 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
19391 expm1.
19392 * math/auto-libm-test-out: Regenerated.
19393 * sysdeps/i386/fpu/libm-test-ulps: Update.
19394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19395
19396 * math/auto-libm-test-in: Add more tests of erf and erfc.
19397 * math/auto-libm-test-out: Regenerated.
19398 * sysdeps/i386/fpu/libm-test-ulps: Update.
19399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19400
19401 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
19402
19403 * config.h.in (HAVE_AARCH64_BE): Add.
19404
19405 2015-04-30 Joseph Myers <joseph@codesourcery.com>
19406
19407 * math/auto-libm-test-in: Add more tests of csqrt.
19408 * math/auto-libm-test-out: Regenerated.
19409 * sysdeps/i386/fpu/libm-test-ulps: Update.
19410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19411
19412 * math/auto-libm-test-in: Add more tests of cosh and sinh.
19413 * math/auto-libm-test-out: Regenerated.
19414 * sysdeps/i386/fpu/libm-test-ulps: Update.
19415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19416
19417 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
19418
19419 2015-04-29 Roland McGrath <roland@hack.frob.com>
19420
19421 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
19422 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
19423
19424 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
19425 (euidaccess, eaccess): Define as weak aliases.
19426
19427 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
19428 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
19429 but __suseconds_t is often 'long int' so some sources assume that
19430 type is being used (e.g. they use %ld to print tv_usec).
19431
19432 2015-04-29 Florian Weimer <fweimer@redhat.com>
19433
19434 [BZ #18007]
19435 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
19436 (CVE-2014-8121)
19437 * nss/tst-nss-getpwent.c: New file.
19438 * nss/Makefile (tests): Add new test.
19439
19440 2015-04-28 Joseph Myers <joseph@codesourcery.com>
19441
19442 [BZ #18346]
19443 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
19444 exponents less than 48 as cases where high part of mantissa needs
19445 examining to determine whether argument is integral.
19446 * math/libm-test.inc (round_test_data): Add more tests.
19447
19448 2015-04-28 Mark Wielaard <mjw@redhat.com>
19449
19450 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
19451
19452 2015-04-27 David S. Miller <davem@davemloft.net>
19453
19454 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19455 __tls_get_addr.
19456 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19457
19458 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
19459
19460 [BZ#18333]
19461 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19462
19463 2015-04-27 Florian Weimer <fweimer@redhat.com>
19464
19465 [BZ#18333]
19466 * time/tzset.c (parse_tzname): Return error on memory allocation
19467 failure.
19468 * test-skeleton.c (struct temp_name_list): Change type of name
19469 member to non-const.
19470 (add_temp_file): Create a copy of the file name.
19471 (delete_temp_files): Deallocate memory.
19472 (create_temp_file): Add comment.
19473
19474 2015-04-24 Florian Weimer <fweimer@redhat.com>
19475
19476 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19477 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19478
19479 2015-04-24 Roland McGrath <roland@hack.frob.com>
19480
19481 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19482 * sysdeps/arm/configure: Regenerated.
19483
19484 2015-04-24 Florian Weimer <fweimer@redhat.com>
19485
19486 [BZ #17715]
19487 * time/tzfile.c (__tzfile_read): Check for large values of
19488 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
19489 * time/tzset.c (__tzstring_len): New function, based on the old
19490 __tzstring function.
19491 (__tzstring): Call __tzstring_len.
19492 (parse_tzname): New helper function extracted from
19493 __tzset_parse_tz. Call __tzstring_len, without making a copy of
19494 the input string.
19495 (parse_offset): New helper function extracted from
19496 __tzset_parse_tz. Replace switch with fallthrough with
19497 initialization before sscanf.
19498 (parse_rule): Likewise.
19499 (__tzset_parse_tz): Rewrite using the new helper functions. Use
19500 new-style function definition.
19501 * timezone/Makefile (tests): Add tst-tzset.
19502 (tst-tzset.out): Dependencies on time zone files.
19503 (tst-tzset-ENV): Set TZDIR.
19504 (testdata/XT%): Copy crafted time zone files.
19505 * timezone/README: Mention crafted time zone files.
19506 * timezone/testdata/XT1, timezone/testdata/XT2,
19507 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19508 files.
19509 * timezone/tst-tzset.c: New test.
19510
19511 2015-04-24 Florian Weimer <fweimer@redhat.com>
19512
19513 * Makeconfig (+gccwarn): Remove -Winline.
19514
19515 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19516
19517 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19518
19519 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19520
19521 * NEWS: Mention sysconf() cache information support for s390.
19522 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19523
19524 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
19525
19526 * math/k_casinh.c (__kernel_casinh): Use __copysign.
19527 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19528 (__nearbyint): Likewise.
19529 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19530 (copysignl): Likewise.
19531
19532 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
19533
19534 [BZ #18287]
19535 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19536 based on padding. (CVE-2015-1781)
19537
19538 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19539
19540 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19541 libc-vdso.h.
19542 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19543 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19544 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19545 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19546 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19547 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19548 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19549 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19550 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19551 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19552 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19553 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19554 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19555 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19556 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19557 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19558 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19559 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19560 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19561 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19562 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19563 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19564 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19565
19566 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
19567
19568 * stdlib/setenv.c (__add_to_environ):
19569 Dump core quickly if setenv (..., NULL, ...) is called.
19570 This time, do it the right way, and pacify GCC with a pragma.
19571
19572 2015-04-17 Roland McGrath <roland@hack.frob.com>
19573
19574 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19575 IMAP->l_prev cannot be null, and #if out the code for the contrary
19576 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19577 believe that NS (&_dl_ns[NSID]) could point outside the array.
19578
19579 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19580 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19581 before using NSID as an index.
19582
19583 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
19584
19585 [BZ #17825]
19586 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19587 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19588 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19589
19590 2015-04-17 Roland McGrath <roland@hack.frob.com>
19591
19592 Add preliminary port to Google Native Client on ARM.
19593 * abi-tags (.*-.*-nacl.*): New entry.
19594 * sysdeps/arm/nacl: New directory.
19595 * sysdeps/nacl: New directory.
19596
19597 2015-04-16 David S. Miller <davem@davemloft.net>
19598
19599 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19600 lowlevellock-futex.h
19601
19602 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
19603
19604 * sysdeps/tile/configure.ac: New file.
19605 * sysdeps/tile/configure: Regenerated.
19606
19607 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19608
19609 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
19610 conditionals for weak_alias and libc_hidden_weak.
19611 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19612 libc_hidden_weak and weak_alias.
19613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19614 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19615 and weak_alias for static one.
19616
19617 2015-04-15 David S. Miller <davem@davemloft.net>
19618
19619 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19620
19621 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19622
19623 [BZ #18206]
19624 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19625 Use signed comparision instead of substraction to avoid
19626 overflow bug.
19627 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19628 Take the sign of ret.
19629 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19630 Do not expect precise return values. Only the sign matters.
19631 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19632 * wcsmbs/test-wcsncmp.c: New File.
19633 * string/test-strncmp.c: Add wcsncmp support.
19634
19635 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19636
19637 [BZ #6792]
19638 * math/w_log1p.c: New file.
19639 * math/w_log1pf.c: Likewise.
19640 * math/w_log1pl.c: Likewise.
19641 * math/Makefile (libm-calls): Add w_log1p.
19642 * math/s_log1pl.c (log1pl): Remove weak_alias.
19643 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19644 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19645 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19646 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19647 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19648 [NO_LONG_DOUBLE] (log1pl): Likewise.
19649 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19650 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19651 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19652 (log1p): Remove long_double_symbol.
19653 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19654 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19655 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19656 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19657 remove weak_alias for corresponding log1p function.
19658 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19659 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19660 * sysdeps/ia64/fpu/w_log1p.c: New file.
19661 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19662 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19663 * math/libm-test.inc (log1p_test_data): Add errno expectations.
19664
19665 2015-04-10 Joseph Myers <joseph@codesourcery.com>
19666
19667 [BZ #18247]
19668 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19669 decimal exponent by 1.
19670 * stdlib/tst-strtod-round-data: Add more tests.
19671 * stdlib/tst-strtod-round.c (tests): Regenerated.
19672
19673 2015-04-09 Joseph Myers <joseph@codesourcery.com>
19674
19675 * math/auto-libm-test-in: Add more tests of clog and clog10.
19676 * math/auto-libm-test-out: Regenerated.
19677 * sysdeps/i386/fpu/libm-test-ulps: Update.
19678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19679
19680 2015-04-09 Roland McGrath <roland@hack.frob.com>
19681
19682 * Makeconfig (module-cppflags): Exclude all .v.i files.
19683 (skip-module-cppflags): Variable removed.
19684
19685 * configure.ac (libc_config_ok): Initialize before reading
19686 preconfigure scripts, not after.
19687 * configure: Regenerated.
19688
19689 * test-skeleton.c (TIMEOUT): Move #define to top level.
19690 (main): Grok environment variable TEST_DIRECT. If set, print
19691 test expectation details into that file and then behave as if
19692 given --direct.
19693
19694 2015-04-09 Florian Weimer <fweimer@redhat.com>
19695
19696 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19697 warning on 32-bit.
19698
19699 2015-04-08 David S. Miller <davem@davemloft.net>
19700
19701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19702
19703 2015-04-08 Joseph Myers <joseph@codesourcery.com>
19704
19705 * math/auto-libm-test-in: Add more tests of atanh.
19706 * math/auto-libm-test-out: Regenerated.
19707 * sysdeps/i386/fpu/libm-test-ulps: Update.
19708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19709
19710 * math/auto-libm-test-in: Add more tests of atan.
19711 * math/auto-libm-test-out: Regenerated.
19712 * sysdeps/i386/fpu/libm-test-ulps: Update.
19713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19714
19715 2015-04-08 Florian Weimer <fweimer@redhat.com>
19716
19717 * elf/pldd.c (main): Rewrite to use struct
19718 scratch_buffer instead of extend_alloca.
19719 * elf/pldd-xx.c (find_maps): Likewise.
19720 * grp/initgroups.c: Include <scratch_buffer.h> instead of
19721 <alloca.h>.
19722 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19723 scratch_buffer instead of extend_alloca.
19724 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19725 grp/compat-initgroups.c.
19726 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19727 Rewrite to use struct scratch_buffer instead of extend_alloca.
19728 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19729 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19730
19731 2015-04-08 Joseph Myers <joseph@codesourcery.com>
19732
19733 * math/auto-libm-test-in: Add more tests of cbrt.
19734 * math/auto-libm-test-out: Regenerated.
19735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19736
19737 * math/auto-libm-test-in: Add more tests of cabs.
19738 * math/auto-libm-test-out: Regenerated.
19739 * sysdeps/i386/fpu/libm-test-ulps: Update.
19740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19741
19742 [BZ #18210]
19743 [BZ #18211]
19744 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19745 (__ieee754_atan2): Set FE_TONEAREST mode for internal
19746 computations.
19747 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19748 clog10.
19749 * math/auto-libm-test-out: Regenerated.
19750 * sysdeps/i386/fpu/libm-test-ulps: Update.
19751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19752
19753 [BZ #18197]
19754 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19755 (atan): Set FE_TONEAREST mode for internal computations.
19756 * math/auto-libm-test-in: Add more tests of atan.
19757 * math/auto-libm-test-out: Regenerated.
19758
19759 2015-04-07 James Cowgill <james410@cowgill.org.uk>
19760
19761 [BZ #17930]
19762 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19763
19764 2015-04-07 Florian Weimer <fweimer@redhat.com>
19765
19766 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19767
19768 2015-04-07 Florian Weimer <fweimer@redhat.com>
19769
19770 * include/scratch_buffer.h: New file.
19771 * malloc/scratch_buffer_grow.c: Likewise.
19772 * malloc/scratch_buffer_grow_preserve.c: Likewise.
19773 * malloc/scratch_buffer_set_array_size.c: Likewise.
19774 * malloc/tst-scratch_buffer.c: Likewise.
19775 * malloc/Makefile (routines): Add scratch_buffer_grow.
19776 (tests): Add test case.
19777 * malloc/Versions (GLIBC_PRIVATE): Export
19778 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19779 __libc_scratch_buffer_set_array_size.
19780
19781 2015-04-06 Richard Henderson <rth@redhat.com>
19782
19783 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19784 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19785
19786 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19787 unsigned int before printing.
19788
19789 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19790
19791 [BZ #17596]
19792 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19793 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19794
19795 2015-04-02 Florian Weimer <fweimer@redhat.com>
19796
19797 * include/libc-internal.h (libc_max_align_t): Define.
19798
19799 2015-04-02 Andreas Schwab <schwab@suse.de>
19800
19801 [BZ #16850]
19802 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19803
19804 2015-04-02 Mel Gorman <mgorman@suse.de>
19805
19806 [BZ #17195]
19807 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19808 as well as the main arena.
19809
19810 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
19811
19812 [BZ #18185]
19813 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19814 sharing L2 cache to 2 for Silvermont/Knights Landing.
19815
19816 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
19817
19818 [BZ #17711]
19819 * config.make.in (have-protected-data): New.
19820 * configure.ac: Check linker support for protected data symbol.
19821 * configure: Regenerated.
19822 * elf/Makefile (modules-names): Add tst-protected1moda and
19823 tst-protected1modb if $(have-protected-data) is yes.
19824 (tests): Add tst-protected1a and tst-protected1b if
19825 $(have-protected-data) is yes.
19826 ($(objpfx)tst-protected1a): New.
19827 ($(objpfx)tst-protected1b): Likewise.
19828 (tst-protected1modb.so-no-z-defs): Likewise.
19829 * elf/tst-protected1a.c: New file.
19830 * elf/tst-protected1b.c: Likewise.
19831 * elf/tst-protected1mod.h: Likewise.
19832 * elf/tst-protected1moda.c: Likewise.
19833 * elf/tst-protected1modb.c: Likewise.
19834
19835 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
19836
19837 [BZ #17711]
19838 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19839 indicates it is called from do_lookup_x on relocation against
19840 protected data, skip the data definion in the executable from
19841 copy reloc.
19842 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19843 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19844 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19845 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19846 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19847 otherwise to 0.
19848 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19849 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19850 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19851 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19852 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19853 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19854
19855 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
19856
19857 * sysdeps/nptl/pthread.h: Remove duplicate definition of
19858 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19859
19860 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
19861
19862 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19863 THREAD_SETMEM_NC.
19864 * sysdeps/x86_64/nptl/tls.h: Ditto.
19865
19866 2015-03-27 Roland McGrath <roland@hack.frob.com>
19867
19868 * dlfcn/tststatic.c (main): Converted to ...
19869 (do_test): ... this.
19870 (TEST_FUNCTION): New macro.
19871 Include test-skeleton.c.
19872
19873 2015-03-26 Alan Modra <amodra@gmail.com>
19874
19875 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19876 Don't segfault if ifunc resolver returns a NULL. Do set plt to
19877 zero for undefined weak.
19878 (elf_machine_plt_conflict): Similarly.
19879
19880 2015-03-25 Joseph Myers <joseph@codesourcery.com>
19881
19882 * math/auto-libm-test-in: Add more tests of acosh, asinh and
19883 atanh.
19884 * math/auto-libm-test-out: Regenerated.
19885 * sysdeps/i386/fpu/libm-test-ulps: Update.
19886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19887
19888 * math/auto-libm-test-in: Add another test of asin.
19889 * math/auto-libm-test-out: Regenerated.
19890 * sysdeps/i386/fpu/libm-test-ulps: Update.
19891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19892
19893 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19894 Remove macro.
19895 (LLL_EBX_REG): Likewise.
19896 (LLL_ENTER_KERNEL): Likewise.
19897
19898 * math/auto-libm-test-in: Add more tests of asin.
19899 * math/auto-libm-test-out: Regenerated.
19900 * sysdeps/i386/fpu/libm-test-ulps: Update.
19901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19902
19903 [BZ #18138]
19904 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19905 libc_do_syscall_args): New structure.
19906 (INTERNAL_SYSCALL_MAIN_0): New macro.
19907 (INTERNAL_SYSCALL_MAIN_1): Likewise.
19908 (INTERNAL_SYSCALL_MAIN_2): Likewise.
19909 (INTERNAL_SYSCALL_MAIN_3): Likewise.
19910 (INTERNAL_SYSCALL_MAIN_4): Likewise.
19911 (INTERNAL_SYSCALL_MAIN_5): Likewise.
19912 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
19913 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19914 Replace conditional definitions by conditional definitions of ....
19915 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
19916 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19917 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19918 (libpthread-sysdep_routines): Add libc-do-syscall.
19919 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19920 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19921 to __NR_futex not 240.
19922
19923 2015-03-25 Alan Modra <amodra@gmail.com>
19924
19925 * NEWS: Advertise TLS optimization.
19926 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19927 (DT_PPC_NUM): Increment.
19928 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19929 (CHECK_STATIC_TLS): Use here.
19930 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19931 TLS descriptors.
19932 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19933 * sysdeps/powerpc/dl-tls.c: New file.
19934 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19935 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19936 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19937 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19941
19942 2015-03-25 Alan Modra <amodra@gmail.com>
19943
19944 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19945 for overlapping .opd entries" to "support...".
19946 * sysdeps/powerpc/powerpc64/configure: Regenerate
19947
19948 2015-03-25 Joseph Myers <joseph@codesourcery.com>
19949
19950 * math/auto-libm-test-in: Add more tests of acos.
19951 * math/auto-libm-test-out: Regenerated.
19952 * sysdeps/i386/fpu/libm-test-ulps: Update.
19953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19954
19955 * math/auto-libm-test-in: Add more tests of expm1.
19956 * math/auto-libm-test-out: Regenerated.
19957 * sysdeps/i386/fpu/libm-test-ulps: Update.
19958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19959
19960 2015-03-24 Joseph Myers <joseph@codesourcery.com>
19961
19962 * math/auto-libm-test-in: Add more tests of cosh and sinh.
19963 * math/auto-libm-test-out: Regenerated.
19964 * sysdeps/i386/fpu/libm-test-ulps: Update.
19965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19966
19967 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19969
19970 * math/auto-libm-test-in: Add more tests of log2.
19971 * math/auto-libm-test-out: Regenerated.
19972 * sysdeps/i386/fpu/libm-test-ulps: Update.
19973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19974
19975 2015-03-23 Roland McGrath <roland@hack.frob.com>
19976
19977 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19978 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
19979 _IO_IS_APPENDING bit in READ_WRITE instead.
19980
19981 2015-03-23 Florian Weimer <fweimer@redhat.com>
19982
19983 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19984 (__determine_cpumask_size): Replace extend_alloca with a
19985 variable-length array. Do not treat res == 0 as an error.
19986
19987 2015-03-23 Florian Weimer <fweimer@redhat.com>
19988
19989 [BZ #18100]
19990 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19991 and integer overflow.
19992 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19993 (main): Add integer overflow tests.
19994 * manual/pattern.texi (Calling Wordexp): Document additional use
19995 for WRDE_SYNTAX.
19996
19997 2015-03-23 Alan Modra <amodra@gmail.com>
19998
19999 * config.h.in: Remove HAVE_ASM_PPC_REL16.
20000 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
20001 and false branch of conditional.
20002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20003 Likewise.
20004
20005 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
20006
20007 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
20008 libc-modules.h
20009 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
20010 unused declaration of _hurd_intr_rpc_msg_in_trap.
20011 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
20012 defined instead of whether it is non-zero.
20013 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
20014 input constraint instead of both input and output constraint. Use ecx
20015 clobber instead of %ecx.
20016 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
20017 mutex_unlock): Use a statement expression instead of an expression list.
20018 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
20019 type to vm_size_t instead of vm_address_t.
20020 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
20021 defined instead of whether it is non-zero.
20022 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
20023 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
20024 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
20025 comparisons with mapaddr.
20026 * nscd/nscd-client.h: Include <time.h>.
20027 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
20028 9th parameter to __vm_region instead of int.
20029 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
20030 * scripts/check-local-headers.sh (exclude): Add device/,
20031 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
20032 cthreads.h.
20033
20034 2015-03-19 Roland McGrath <roland@hack.frob.com>
20035
20036 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
20037 to account for alignment padding.
20038 * sysdeps/arm/memmove.S: Likewise.
20039
20040 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
20041
20042 * sysdeps/unix/sysv/linux/generic/README: New file.
20043
20044 2015-03-18 Joseph Myers <joseph@codesourcery.com>
20045
20046 [BZ #18138]
20047 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
20048 (futex_abstimed_wait)
20049 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
20050 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
20051 of lll_futex_timed_wait.
20052
20053 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
20054
20055 [BZ #17542]
20056 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
20057
20058 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
20059
20060 [BZ #17090]
20061 [BZ #17620]
20062 [BZ #17621]
20063 [BZ #17628]
20064 * NEWS: Update.
20065 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
20066 entries with Static TLS too. Skip entries past the end of the
20067 allocated DTV, from Alan Modra.
20068 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
20069 Static TLS DTV entry set up from...
20070 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
20071 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20072 * nptl/allocatestack.c (init_one_static_tls): ... and here...
20073 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
20074 for Static TLS.
20075 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
20076 that the slot we find is associated with the given map before
20077 using its generation count.
20078 * nptl_db/db_info.c: Include ldsodefs.h.
20079 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20080 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20081 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20082 (link_map::l_tls_offset): New struct field.
20083 (dtv_t::counter): Likewise.
20084 (rtld_global): New struct.
20085 (_rtld_global): New rtld variable.
20086 (dl_tls_dtv_slotinfo_list): New rtld global field.
20087 (dtv_slotinfo_list): New struct.
20088 (dtv_slotinfo): Likewise.
20089 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20090 (td_lookup): Rename to...
20091 (td_mod_lookup): ... this. Use new mod parameter instead of
20092 LIBPTHREAD_SO.
20093 * nptl_db/td_thr_tlsbase.c: Include link.h.
20094 (dtv_slotinfo_list, dtv_slotinfo): New functions.
20095 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
20096 addresses even if the DTV is out of date or missing them.
20097 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
20098 index zero-length arrays.
20099 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
20100 (td_lookup): Make it a macro implemented in terms of...
20101 (td_mod_lookup): ... this declaration.
20102 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
20103 (DB_MAIN_VARIABLE): Likewise.
20104
20105 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
20106
20107 [BZ #18134]
20108 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20109
20110 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
20111
20112 * stdlib/setenv.c (__add_to_environ): Revert previous change.
20113
20114 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
20115
20116 [BZ #18128]
20117 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
20118 (atomic_add, atomic_increment_and_test)
20119 (atomic_decrement_and_test): Fix 64-bit arithmetic.
20120
20121 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
20122
20123 * stdlib/setenv.c (__add_to_environ):
20124 Dump core quickly if setenv (..., NULL, ...) is called.
20125
20126 2015-03-13 Roland McGrath <roland@hack.frob.com>
20127
20128 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
20129 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
20130 all the necessary asm magic in one place.
20131 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
20132 using those.
20133
20134 2015-03-13 Carlos O'Donell <carlos@redhat.com>
20135
20136 [BZ #14906]
20137 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
20138 traced file mtime. Use consistent log message.
20139 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20140 (register_traced_file): Call install_watches. Always set mtime.
20141 (invalidate_cache): Iterate over all trace files. Call install_watches.
20142 (inotify_check_files): Don't inline. Handle watching parent
20143 directories and configuration file movement in and out.
20144 (handle_inotify_events): New function.
20145 (main_loop_poll): Call handle_inotify_events.
20146 (main_loop_epoll): Likewise.
20147 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
20148 (struct traced_file): Use array of inotify fds. Add parent directory,
20149 and basename.
20150 (struct database_dyn): Remove unused file_mtime.
20151 (init_traced_file): New inline function.
20152 (define_traced_file): New macro.
20153 * nss/nss_db/db-init.c: Use define_traced_file.
20154 (_nss_db_init): Use init_traced_file.
20155 * nss/nss_files/files-init.c: Use define_traced_file.
20156 (_nss_files_init): Use init_traced_file.
20157
20158 2015-03-12 Joseph Myers <joseph@codesourcery.com>
20159
20160 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
20161 [_LIBC]: Do not include <stdlib.h>.
20162 [!_LIBC] (abort): Remove declaration.
20163 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
20164 _FP_STATIC_ASSERT instead of conditionally calling abort.
20165 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
20166 (_FP_EXTEND_CNAN): Likewise.
20167 (FP_TRUNC): Likewise.
20168 (__FP_CLZ): Likewise.
20169 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
20170
20171 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
20172
20173 * manual/string.texi (XPG basename): Fix prototype.
20174
20175 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20176
20177 [BZ #18080]
20178 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
20179 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20180 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
20181 (__setcontext): Likewise.
20182 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
20183 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20184 Call rt_sigprocmask syscall one time to set new signal mask
20185 and retrieve the current signal mask instead of two calls.
20186 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
20187 (__swapcontext): Likewise.
20188 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
20189 * stdlib/tst-setcontext2.c: New file.
20190
20191 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20192
20193 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20194
20195 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
20196
20197 [BZ #18093]
20198 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
20199 the wrong size.
20200
20201 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
20202
20203 [BZ #18043]
20204 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
20205
20206 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
20207
20208 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20209 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20210 Remove define.
20211 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20212 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20213 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20214 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20215 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20216 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20217 define.
20218 * nptl_db/td_symbol_list.c (td_lookup): Remove
20219 HAVE_ASM_GLOBAL_DOT_NAME code.
20220 * sysdeps/powerpc/powerpc64/configure.ac: Remove
20221 HAVE_ASM_GLOBAL_DOT_NAME check.
20222 * sysdeps/powerpc/powerpc64/configure: Regenerate.
20223 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20224 (DOT_LABEL): Remove define.
20225 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20226 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20227 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20228 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20229 (__TLS_GET_ADDR): Likewise.
20230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20231 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20232
20233 2015-03-11 Carlos O'Donell <carlos@redhat.com>
20234
20235 [BZ #18111]
20236 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20237 (_FPU_SETCW): Initialize cw from fpsr before storing.
20238 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20239 (fesetexceptflag): Rewrite using fpu_control.h.
20240 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20241
20242 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
20243
20244 [BZ #18110]
20245 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20246 asms.
20247 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20248
20249 2015-03-11 Joseph Myers <joseph@codesourcery.com>
20250
20251 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20252 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20253 abort.
20254 (_FP_FMA): Likewise.
20255 (_FP_DIV): Likewise.
20256
20257 2015-03-10 Roland McGrath <roland@hack.frob.com>
20258
20259 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20260 with 0 in that case.
20261 * Makefile (summarize-tests): New canned sequence, factored out of
20262 commands for targets tests and xtests. Display summary lines that
20263 don't start with PASS: or XFAIL: rather than ones that do start with
20264 ERROR: or FAIL:. Make the commands fail if any summary lines fail
20265 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20266 do start with ERROR: or FAIL:.
20267 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20268 (except for [$(build-shared) = yes]).
20269 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20270 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20271 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20272 * nptl/Makefile: Revert 2015-03-04 changes.
20273 [$(CXX) empty] (tests-unsupported): New variable.
20274 * debug/Makefile: Likewise.
20275
20276 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20277 gnulib file. Replace __attribute with __attribute__ throughout.
20278
20279 2015-03-10 Carlos O'Donell <carlos@redhat.com>
20280
20281 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20282
20283 2015-03-10 Joseph Myers <joseph@codesourcery.com>
20284
20285 [BZ #18104]
20286 * math/auto-libm-test-in: Add another test of pow.
20287 * math/auto-libm-test-out: Regenerated.
20288
20289 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20290
20291 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20292 $(config-cflags-nofma).
20293
20294 2015-03-10 Joseph Myers <joseph@codesourcery.com>
20295
20296 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20297 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20298 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20299 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20300 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20301 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20302 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20303 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20304 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20305 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20306 Add comment on closing #endif.
20307
20308 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20309
20310 * posix/wordexp.c (CHAR_IN_SET): New macro.
20311 (parse_param): Use it.
20312
20313 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20314
20315 * sysdeps/powerpc/fpu/libm-test-ulps: update.
20316
20317 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20318
20319 [BZ #18043]
20320 * posix/wordexp.c (parse_param): Fix buffer overflow.
20321 * posix/wordexp-test.c (test_case): Add test case.
20322
20323 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20324
20325 [BZ #18042]
20326 * posix/wordexp.c (parse_backtick): Fix off-by-one.
20327 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20328
20329 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20330
20331 [BZ #18043]
20332 * posix/wordexp-test.c (test_case): Add test for BZ #18043
20333 (do_bz18043): Delete.
20334 (at_page_end): New.
20335 (testit): Refactor to have words at the edge of unreadable page.
20336
20337 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20338
20339 [BZ #16734]
20340 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20341 Cleanup read-only streams as well.
20342 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20343
20344 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
20345
20346 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20347 <bits/libc-lockP.h>
20348
20349 2015-03-07 Joseph Myers <joseph@codesourcery.com>
20350
20351 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
20352 on [__KERNEL__].
20353 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20354 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20355 * soft-fp/op-common.h (_FP_DECL): Likewise.
20356
20357 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
20358
20359 * elf/ifuncdep2.c (global): Replace
20360 __attribute__((visibility("protected"))) with
20361 asm (".protected global").
20362 * elf/ifuncmod1.c (global): Likewise.
20363 * elf/ifuncmod5.c (global): Likewise.
20364
20365 2015-03-06 Joseph Myers <joseph@codesourcery.com>
20366
20367 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
20368 <asm/sfp-machine.h> instead of <sfp-machine.h>.
20369
20370 2015-03-06 Roland McGrath <roland@hack.frob.com>
20371
20372 * manual/install.texi (Configuring and compiling):
20373 Document test-wrapper-env-only.
20374 * INSTALL: Regenerated.
20375
20376 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20377
20378 [BZ #18043]
20379 * posix/wordexp.c (parse_param): Fix buffer overflow.
20380 * posix/wordexp-test.c (do_bz18043): Add test case.
20381
20382 2015-03-06 Vincent Bernat <vincent@bernat.im>
20383
20384 * time/tst-strptime2.c (do_test): Ensure failing tests are
20385 reported correctly.
20386 * time/tst-strptime3.c (do_test): Likewise.
20387
20388 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
20389
20390 Fix aio_error thread-safety.
20391 * sysdeps/pthread/aio_error.c: New file
20392 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
20393 synchronization.
20394
20395 2015-03-06 Florian Weimer <fweimer@redhat.com>
20396
20397 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
20398 (group_number, vfprintf): Use it.
20399 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
20400 (JUMP, REF): Use it.
20401 (WORK_BUFFER_SIZE): New enum constant.
20402 (process_arg, vfprintf): Use it.
20403
20404 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
20405
20406 * manual/errno.texi (Error Messages): Complete example function
20407 by adding missing #define.
20408 (program_invocation_name): Add statement indicating GNU
20409 extension and reference which header file declares the variable.
20410 (program_invocation_short_name): Likewise.
20411
20412 2015-03-06 Mike Frysinger <vapier@gentoo.org>
20413
20414 * manual/errno.texi (Error Messages): Delete strerror ISO C89
20415 compatibility note.
20416
20417 2015-03-05 Roland McGrath <roland@hack.frob.com>
20418
20419 * Makeconfig (test-wrapper-env-only): New variable.
20420 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
20421 then use that with $(test-wrapper-env-only) rather than using
20422 $(test-wrapper-env) $(run-program-env) $($*-ENV).
20423
20424 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
20425
20426 [BZ #18082]
20427 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
20428 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
20429 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
20430 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
20431 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
20432 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
20433 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
20434 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
20435 Likewise.
20436 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
20437 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
20438 Likewise.
20439 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
20440 Likewise.
20441 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
20442 Likewise.
20443 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
20444 Likewise.
20445 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
20446 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
20447 Likewise.
20448 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
20449 Likewise.
20450 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
20451 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20452
20453 2015-03-04 Roland McGrath <roland@hack.frob.com>
20454
20455 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20456 (ETH_ALEN): New macro.
20457 (struct ether_addr): Use it for length of ether_addr_octet.
20458
20459 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20460 (setdb): Don't call __nss_configure_lookup for "rpc".
20461 (do_test): Don't call test_rpc.
20462 (output_rpcent, test_rpc): Functions moved ...
20463 * sunrpc/test-rpcent.c: ... to this new file.
20464 * sunrpc/Makefile (tests): Add it.
20465
20466 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20467 __xpg_sigpause.
20468 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20469 * nptl/tst-signal6.c: Likewise.
20470 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20471 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20472
20473 * configure.ac (libc_cv_cxx_link_ok): New check.
20474 Reset CXX to empty if it fails to link.
20475 * configure: Regenerated.
20476 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20477 bug-atexit3-lib only if $(CXX) is nonempty.
20478 * nptl/Makefile (tests): Likewise for tst-cancel24.
20479 (tests, tests-static): Likewise for tst-cancel24-static.
20480 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20481 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20482 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20483 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20484
20485 2015-03-04 Andreas Schwab <schwab@suse.de>
20486
20487 [BZ #17631]
20488 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20489 for non-GCC compilers.
20490 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20491 Likewise.
20492
20493 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
20494
20495 [BZ #17776]
20496 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20497 integer before bitwise and assembly operations.
20498 (feclearexcept): Likewise.
20499 * math/test-fenvinline.c: New file.
20500 * math/Makefile: Add test-fenvinline test.
20501
20502 2015-03-03 Alan Modra <amodra@gmail.com>
20503
20504 [BZ #16512]
20505 * scripts/localplt.awk: Strip off symbol version.
20506 * NEWS: Mention bug fix.
20507
20508 2015-03-02 Roland McGrath <roland@hack.frob.com>
20509
20510 * sysdeps/pthread/timer_routines.c
20511 (timer_free_list, thread_free_list, thread_active_list): Make static.
20512
20513 2015-03-02 Joseph Myers <joseph@codesourcery.com>
20514
20515 [BZ #17779]
20516 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20517 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20518 Undefine.
20519 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20520 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20521 Likewise.
20522 * sysdeps/unix/sysv/linux/sh/kernel-features.h
20523 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20524 Likewise.
20525
20526 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20527
20528 [BZ #18036]
20529 * posix/fnmatch_loop.c (END): Detect invalid pattern.
20530 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20531
20532 2015-03-02 Andreas Schwab <schwab@suse.de>
20533
20534 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20535 variable name.
20536
20537 2015-03-02 Florian Weimer <fweimer@redhat.com>
20538
20539 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20540 Return error status.
20541
20542 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
20543
20544 [BZ #15969]
20545 * locale/findlocale.c (_nl_find_locale): Introduce const
20546 version of loc_name and drop unsafe type casts.
20547
20548 2015-02-27 Roland McGrath <roland@hack.frob.com>
20549
20550 * dlfcn/tststatic2.c (main): Converted to ...
20551 (do_test): ... this.
20552 (TEST_FUNCTION): New macro.
20553 Include test-skeleton.c.
20554
20555 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
20556
20557 [BZ #17711]
20558 * elf/Makefile (tests): Add vismain only if PIE is enabled.
20559 (tests-pie): Add vismain.
20560 (CFLAGS-vismain.c): New.
20561 * elf/vismain.c: Add comments for PIE requirement.
20562
20563 2015-02-27 Joseph Myers <joseph@codesourcery.com>
20564
20565 [BZ #18046]
20566 [BZ #18047]
20567 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20568 0x1p-56L as threshold for just returning the argument.
20569 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20570 0x1p-32L as threshold for just returning the argument.
20571 * math/auto-libm-test-in: Add more tests of atanh.
20572 * math/auto-libm-test-out: Regenerated.
20573 * sysdeps/i386/fpu/libm-test-ulps: Update.
20574 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20575
20576 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
20577
20578 * string/bcopy.c (bcopy): Call memmove for performance.
20579
20580 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
20581
20582 * string/bzero.c (__bzero): Call memset for performance.
20583
20584 2015-02-27 John David Anglin <dave.anglin@bell.net>
20585
20586 [BZ #18068]
20587 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20588 to 00100000.
20589
20590 2015-02-27 Joseph Myers <joseph@codesourcery.com>
20591
20592 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20593
20594 2015-02-26 Joseph Myers <joseph@codesourcery.com>
20595
20596 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20597 (__kernel_standard): Use CSTR macro when setting exc.name.
20598 * sysdeps/ieee754/Makefile [$(subdir) = math]
20599 (CFLAGS-k_standard.c): Remove variable.
20600
20601 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20602 setting p and q from "else if" to "else".
20603 (qzero): Likewise.
20604 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20605 (qone): Likewise.
20606 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20607 (qzerof): Likewise.
20608 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20609 (qonef): Likewise.
20610 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20611 (qzero): Likewise.
20612 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20613 (qone): Likewise.
20614
20615 [BZ #18038]
20616 [BZ #18039]
20617 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20618 return pi/2 for arguments below 0x1p-113L.
20619 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20620 return pi/2 for arguments below 0x1p-106L.
20621 * math/auto-libm-test-in: Add more tests of acos.
20622 * math/auto-libm-test-out: Regenerated.
20623
20624 [BZ #16351]
20625 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20626 (MO): New macro.
20627 (__ieee754_asin): Force underflow exception for results with small
20628 absolute value.
20629 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20630 (MO): New macro.
20631 (__ieee754_asinf): Force underflow exception for results with
20632 small absolute value.
20633 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20634 (__ieee754_asin): Force underflow exception for results with small
20635 absolute value.
20636 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20637 (__ieee754_asinf): Force underflow exception for results with
20638 small absolute value.
20639 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20640 (__ieee754_asinl): Force underflow exception for results with
20641 small absolute value.
20642 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20643 (__ieee754_asinl): Force underflow exception for results with
20644 small absolute value.
20645 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20646 (__ieee754_asinl): Force underflow exception for results with
20647 small absolute value.
20648 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20649 Include <math.h>.
20650 * math/auto-libm-test-in: Do not mark underflow exceptions as
20651 possibly missing for bug 16351.
20652 * math/auto-libm-test-out: Regenerated.
20653
20654 [BZ #18030]
20655 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20656 of power of 2 down when low part has opposite sign.
20657 * math/libm-test.inc (logb_test_data): Add more tests.
20658
20659 2015-02-26 Andreas Schwab <schwab@suse.de>
20660
20661 [BZ #18032]
20662 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20663 over collating symbol inside a bracket expression. Minor cleanup.
20664 * posix/tst-fnmatch3.c (do_test): Add test case.
20665
20666 2015-02-26 Joseph Myers <joseph@codesourcery.com>
20667
20668 [BZ #18029]
20669 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20670 Adjust exponent of power of 2 down when low part has opposite
20671 sign.
20672 * math/libm-test.inc (ilogb_test_data): Add more tests.
20673
20674 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
20675
20676 [BZ #15969]
20677 * locale/findlocale.c (_nl_find_locale): Fix constness error in
20678 the previous change.
20679
20680 [BZ #15969]
20681 * locale/findlocale.c (_nl_find_locale): Retry archive search
20682 after alias expansion.
20683
20684 2015-02-25 Roland McGrath <roland@hack.frob.com>
20685
20686 * iconv/tst-iconv3.c (main): Converted to ...
20687 (do_test): ... this.
20688 (TEST_FUNCTION): New macro.
20689 Include test-skeleton.c.
20690
20691 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20692 (convert): Make function static.
20693 (test_unalign): Likewise. Add const to argument pointee types.
20694 (main): Replace with static function do_test.
20695 Print "Succeeded." only if RET is zero.
20696 (TEST_FUNCTION): New macro.
20697 Include test-skeleton.c.
20698
20699 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20700 returns a null pointer.
20701
20702 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20703
20704 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20705 to __memcpy_ppc only for static builds.
20706
20707 2015-02-25 Joseph Myers <joseph@codesourcery.com>
20708
20709 [BZ #18020]
20710 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20711 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20712 * math/auto-libm-test-in: Add more tests of asinh.
20713 * math/auto-libm-test-out: Regenerated.
20714 * sysdeps/i386/fpu/libm-test-ulps: Update.
20715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20716
20717 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
20718
20719 [BZ #15850]
20720 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20721 and ip6_mtuinfo definitions here.
20722 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20723 in this define too. Update comment.
20724
20725 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
20726
20727 * elf/sprof.c (load_shobj): Tweak error message to match others.
20728
20729 2015-02-24 Kevin Easton <kevin@guarana.org>
20730
20731 [BZ #16145] (partial fix)
20732 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20733 to reduce lock contention.
20734
20735 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
20736
20737 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20738 (struct timex): Update time comment.
20739 (ADJ_SETOFFSET): Define.
20740
20741 2015-02-24 Joseph Myers <joseph@codesourcery.com>
20742
20743 [BZ #18019]
20744 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20745 2**56 not 2**28 as threshold for log (2x) formula.
20746 * math/auto-libm-test-in: Add more tests of acosh.
20747 * math/auto-libm-test-out: Regenerated.
20748 * sysdeps/i386/fpu/libm-test-ulps: Update.
20749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20750
20751 2015-02-24 Mike Frysinger <vapier@gentoo.org>
20752
20753 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20754 parenthesis around the buf assignment.
20755 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20756
20757 2015-02-24 Joseph Myers <joseph@codesourcery.com>
20758
20759 [BZ #16783]
20760 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20761 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20762 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20763 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20764 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20765 * math/libm-test.inc (scalb_test_data): Add more tests.
20766
20767 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20768
20769 [BZ #17916]
20770 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20771 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20772
20773 2015-02-24 Eric Rannaud <e@nanocritical.com>
20774
20775 [BZ #17523]
20776 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20777 * io/bits/fcntl2.h (open): Use it.
20778 (openat): Likewise.
20779 * io/open.c (__libc_open): Likewise.
20780 * io/open64.c (__libc_open64): Likewise.
20781 * io/open64_2.c (__open64_2): Likewise.
20782 * io/open_2.c (__open_2): Likewise.
20783 * io/openat.c (__openat): Likewise.
20784 * io/openat64.c (__openat64): Likewise.
20785 * io/openat64_2.c (__openat64_2): Likewise.
20786 * io/openat_2.c (__openat_2): Likewise.
20787 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20788 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20789 * sysdeps/posix/open64.c (__libc_open64): Likewise.
20790 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20791 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20792 (__open_nocancel): Likewise.
20793 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20794 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20795 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20796
20797 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20798
20799 [BZ #14841]
20800 * resolv/gethnamaddr.c (getanswer): Skip logging if
20801 RES_USE_DNSSEC is set.
20802 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20803
20804 2015-02-24 Mike Frysinger <vapier@gentoo.org>
20805
20806 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20807
20808 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
20809
20810 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20811 201304L, for Unicode 7.
20812
20813 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
20814
20815 [BZ #17836]
20816 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20817 shared library. Add gmon-start.os otherwise.
20818 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20819 $(objpfx)gmon-start.os if builing shared library.
20820 ($(objpfx)g$(static-start-installed-name)): Likewise.
20821
20822 2015-02-23 Andreas Schwab <schwab@suse.de>
20823
20824 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20825
20826 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20827
20828 [BZ #17269]
20829 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20830 (enlarge_userbuf): Likewise.
20831
20832 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
20833
20834 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20835 * math/atest-exp.c (TIMEOUT): Adjust to 200.
20836 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20837 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20838
20839 2015-02-20 Joseph Myers <joseph@codesourcery.com>
20840
20841 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20842 expression inside statement expression.
20843
20844 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
20845
20846 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20847 <sysdeps/nptl/lowlevellock.h> and remove macros and
20848 functions that are now defined there.
20849 (SYS_futex): Remove.
20850 (lll_compare_and_swap): Remove.
20851 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20852
20853 2015-02-19 Joseph Myers <joseph@codesourcery.com>
20854
20855 [BZ #17999]
20856 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20857 instead of scandirat.
20858 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20859 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20860 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20861 __scandirat.
20862 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20863 (__scandirat): Declare. Use libc_hidden_proto.
20864 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20865 Remove variable.
20866 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20867
20868 2015-02-18 Joseph Myers <joseph@codesourcery.com>
20869
20870 [BZ #15319]
20871 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20872 (MO): New macro.
20873 (__ieee754_atan2): For results with small absolute value, force
20874 underflow exception and remove excess range and precision from
20875 return value.
20876 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20877 (MO): New macro.
20878 (__ieee754_atan2f): For results with small absolute value, force
20879 underflow exception and remove excess range and precision from
20880 return value.
20881 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20882 (MO): New macro.
20883 (__atan): For results with small absolute value, force underflow
20884 exception and remove excess range and precision from return value.
20885 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20886 (MO): New macro.
20887 (__atanf): For results with small absolute value, force underflow
20888 exception and remove excess range and precision from return value.
20889 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20890 <math.h>.
20891 (__ieee754_atan2): Force underflow exception for results with
20892 small absolute value.
20893 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20894 <math_private.h>.
20895 (atan): Force underflow exception for results with small absolute
20896 value.
20897 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20898 (__atanf): Force underflow exception for results with small
20899 absolute value.
20900 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20901 <math.h>.
20902 (__atanl): Force underflow exception for results with small
20903 absolute value.
20904 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20905 (__atanl): Force underflow exception for results with small
20906 absolute value.
20907 * sysdeps/x86/fpu/bits/mathinline.h
20908 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20909 (__ieee754_atan2): Only define inline for long double.
20910 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20911 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20912 * math/auto-libm-test-in: Do not mark underflow exceptions as
20913 possibly missing for bug 15319. Add more tests of atan2.
20914 * math/auto-libm-test-out: Regenerated.
20915 * math/libm-test.inc (casin_test_data): Do not mark underflow
20916 exceptions as possibly missing for bug 15319.
20917 (casinh_test_data): Likewise.
20918 * sysdeps/i386/fpu/libm-test-ulps: Update.
20919
20920 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
20921
20922 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20923 * sysdeps/mips/bits/endian.h: Fix comments.
20924
20925 2015-02-18 Joseph Myers <joseph@codesourcery.com>
20926
20927 [BZ #17996]
20928 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20929 (hdestroy_r): Likewise.
20930 (hsearch_r): Likewise.
20931 (__hcreate_r): Declare and use libc_hidden_proto.
20932 (__hdestroy_r): Likewise.
20933 (__hsearch_r): Likewise.
20934 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20935 (hcreate): Call __hcreate_r instead of hcreate_r.
20936 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20937 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20938 as weak alias of __hcreate_r.
20939 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20940 __hdestroy_r.
20941 (hsearch_r): Rename to __hsearch_r and define as weak alias of
20942 __hsearch_r.
20943 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20944 Remove variable.
20945 (test-xfail-XPG4/search.h/linknamespace): Likewise.
20946 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20947 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20948 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20949
20950 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20951
20952 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20953 arena_lock into a single arena_get.
20954
20955 2015-02-17 Carlos O'Donell <carlos@redhat.com>
20956
20957 * dl-reloc.c: Inlucde libc-internal.h.
20958 (_dl_try_allocate_static_tls): Call ALIGN_UP.
20959 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20960 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20961 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20962 (grow_heap): Likewise.
20963 * malloc/malloc.c: Include libc-internal.h.
20964 (do_check_malloc): Call powerof2.
20965 (sysmalloc): Use pagesize. Call ALIGN_UP.
20966 (systrim): Use pagesize.
20967 (mremap_chunk): Use pagesize. Call ALIGN_UP.
20968 (__libc_valloc): Use pagesize.
20969 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20970
20971 2015-02-17 Joseph Myers <joseph@codesourcery.com>
20972
20973 [BZ #17991]
20974 * include/sys/resource.h (__getrlimit64): Declare. Use
20975 libc_hidden_proto.
20976 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20977 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
20978 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20979 getrlimit64.
20980 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20981 __getrlimit64.
20982 [!getrlimit64] (getrlimit64): Define as weak alias of
20983 __getrlimit64. Use libc_hidden_weak.
20984 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20985 using __getrlimit64 not __new_getrlimit64.
20986 (__GI_getrlimit64): Likewise.
20987 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20988 Likewise.
20989 (__GI_getrlimit64): Likewise.
20990 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20992 (getrlimit): Add __getrlimit64 alias.
20993 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20994 Likewise.
20995 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20996 Remove variable.
20997 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20998 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20999
21000 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
21001
21002 * libio/fileops.c: Add missing sys/mman.h
21003 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
21004
21005 2015-02-17 Joseph Myers <joseph@codesourcery.com>
21006
21007 * manual/math.texi (Errors in Math Functions): Clarify goals
21008 regarding inexact and underflow exceptions.
21009
21010 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
21011
21012 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
21013 * sysdeps/mips/memset.S: Ditto.
21014
21015 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
21016
21017 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
21018
21019 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
21020
21021 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
21022 (__v1longjmp): Remove versioned symbol.
21023 (__v1siglongjmp): Remove alias and versioned symbol.
21024 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
21025 (__v2siglongjmp): Likewise.
21026
21027 2015-02-16 Torvald Riegel <triegel@redhat.com>
21028
21029 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
21030
21031 2015-02-16 Mike Frysinger <vapier@gentoo.org>
21032
21033 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21034
21035 2015-02-16 Joseph Myers <joseph@codesourcery.com>
21036
21037 [BZ #17987]
21038 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
21039 zero result does not depend on the sign resulting from
21040 subtraction.
21041 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21042 Likewise.
21043 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21044 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21045 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21046 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21047 * math/libm-test.inc (remquo_test_data): Add more tests.
21048
21049 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
21050
21051 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
21052 Problem reported by J William Piggott.
21053
21054 2015-02-16 Joseph Myers <joseph@codesourcery.com>
21055
21056 [BZ #17978]
21057 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
21058 products 4 * y and 2 * y where those would overflow.
21059 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21060 Likewise.
21061 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21062 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21063 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21064 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21065 * math/libm-test.inc (remquo_test_data): Add more tests.
21066
21067 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
21068
21069 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
21070 [defined _COMPILING_NEWLIB].
21071 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
21072 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
21073
21074 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
21075 [!defined __mips_isa_rev || __mips_isa_rev < 6].
21076
21077 2015-02-16 Torvald Riegel <triegel@redhat.com>
21078
21079 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21080 acquired.
21081
21082 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
21083
21084 [BZ #17792]
21085 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21086 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21087 HOST_STACK_END_ADDR): Likewise.
21088
21089 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
21090
21091 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21092 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
21093 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
21094
21095 2015-02-13 Roland McGrath <roland@hack.frob.com>
21096
21097 * sysdeps/generic/c++-types.data: New file.
21098 * sysdeps/generic/ld.abilist: New file.
21099 * sysdeps/generic/libBrokenLocale.abilist: New file.
21100 * sysdeps/generic/libanl.abilist: New file.
21101 * sysdeps/generic/libc.abilist: New file.
21102 * sysdeps/generic/libcrypt.abilist: New file.
21103 * sysdeps/generic/libdl.abilist: New file.
21104 * sysdeps/generic/libm.abilist: New file.
21105 * sysdeps/generic/libpthread.abilist: New file.
21106 * sysdeps/generic/libresolv.abilist: New file.
21107 * sysdeps/generic/librt.abilist: New file.
21108
21109 2015-02-13 Joseph Myers <joseph@codesourcery.com>
21110
21111 [BZ #17569]
21112 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21113 Compute absolute value of x as modified by fmod, not original
21114 value of x.
21115 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
21116 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
21117 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
21118 RUN_TEST_ffI_f1_mod8.
21119 (remquo_test_data): Add more tests.
21120
21121 2015-02-13 Roland McGrath <roland@hack.frob.com>
21122
21123 * sysdeps/init_array/pt-crti.S: New file.
21124
21125 2015-02-13 Joseph Myers <joseph@codesourcery.com>
21126
21127 [BZ #17967]
21128 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21129 __builtin_fmaf instead of relying on contraction of a * b + c.
21130
21131 2015-02-12 J William Piggott <elseifthen@gmx.com>
21132
21133 [BZ #17969]
21134 * manual/time.texi: correct the zoneinfo path in the TZ Variable
21135 node.
21136
21137 2015-02-12 Joseph Myers <joseph@codesourcery.com>
21138
21139 [BZ #17964]
21140 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21141 __builtin_fma instead of relying on contraction of a * b + c.
21142
21143 2015-02-12 Roland McGrath <roland@hack.frob.com>
21144
21145 * Makeconfig (ASFLAGS): Add -Werror=undef.
21146 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
21147 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
21148 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
21149
21150 * Makeconfig (after-link): New variable.
21151 (+link-pie, +link-pie-tests): Use it.
21152 (+link-static, +link-static-tests): Likewise.
21153 (+link, +link-tests): Likewise.
21154 * Makerules (build-module, build-module-asneeded): Likewise.
21155 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
21156 Likewise.
21157 * elf/Makefile ($(objpfx)ld.so): Likewise.
21158
21159 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
21160
21161 [BZ #17965]
21162 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21163 both struct timeval and struct timespec.
21164
21165 2015-02-12 Joseph Myers <joseph@codesourcery.com>
21166
21167 [BZ #16560]
21168 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21169 and redefine.
21170 (__ieee754_exp2l): Do not multiply small fractional parts by
21171 M_LN2l.
21172 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
21173 small argument.
21174 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21175 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21176 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
21177 * math/auto-libm-test-in: Add more tests of exp2.
21178 * math/auto-libm-test-out: Regenerated.
21179
21180 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21181
21182 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
21183 unaligned path.
21184
21185 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21186
21187 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
21188 little endian.
21189
21190 2015-02-12 Andreas Schwab <schwab@suse.de>
21191
21192 [BZ #15790]
21193 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21194 Filter out elision flags from value returned in kind.
21195 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
21196 * nptl/tst-pthread-mutexattr.c: New file.
21197
21198 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21199
21200 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
21201 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
21202 into gnu-gnu, and update comment to refer to abi-tags.
21203
21204 2015-02-11 Joseph Myers <joseph@codesourcery.com>
21205
21206 [BZ #15467]
21207 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21208 (__sincos): Set errno to EDOM for infinite argument.
21209 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21210 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21211 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21212 (__sincosl): Set errno to EDOM for infinite argument.
21213 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21214 (__sincosl): Set errno to EDOM for infinite argument.
21215 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21216 (__sincosl): Set errno to EDOM for infinite argument.
21217 * math/libm-test.inc (sincos_test_data): Test errno setting.
21218
21219 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
21220
21221 * string/strxfrm_l.c: Remove #define STRCMP.
21222 * string/strcoll_l.c: Remove #define STRLEN.
21223 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21224 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21225
21226 2015-02-10 Joseph Myers <joseph@codesourcery.com>
21227
21228 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21229 * sysdeps/mips/mips32/sfp-machine.h: ... here.
21230 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21231 * sysdeps/mips/mips64/Makefile: ... here.
21232 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21233 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21234 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21235 * sysdeps/mips/mips64/sfp-machine.h: ... here.
21236 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21237 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21238 * sysdeps/mips/mips64/n64/Implies: Likewise.
21239
21240 2015-02-10 Roland McGrath <roland@hack.frob.com>
21241
21242 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21243 <sys/time.h>, <string.h>, and <errno.h>.
21244 (dest_offset, dest_address, value, zero): Remove unused variables.
21245 (ldouble): Remove typedef.
21246 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21247 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
21248 1). Fix code style.
21249 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21250 (check): Function removed.
21251 (CHECK): New macro.
21252 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
21253 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21254 Don't call set_sigaction_FP and remove_sigaction_FP here.
21255 (ldouble_test): Just use 'long double' as macro argument, no need for
21256 the 'ldouble' typedef.
21257 (do_test): Set up SIGFPE handler at start, using plain signal rather
21258 than sigaction. Fix code style.
21259
21260 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
21261
21262 [BZ #17949]
21263 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21264 jump label.
21265
21266 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21267
21268 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21269 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21270
21271 * sysdeps/powerpc/configure.ac: Remove file.
21272 * sysdeps/powerpc/configure: Likewise.
21273
21274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21275 [sysdep_routines]: Remove wordcopy-power6 object.
21276 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21277 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21278 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21279 (__memmove_ppc32): Likewise.
21280 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21281 file.
21282 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21283 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21284 Remove preprocessor.
21285
21286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21287 [sysdep_routines]: Remove wide chars objects.
21288 [wcsmbs]: New rule for wide char objects.
21289
21290 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21291 Remove wordcopy-power6 obejct.
21292 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21293 Use local call for wordcopy and memcpy symbols.
21294 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21295 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21296 implementation for loader.
21297 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21298
21299 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21300 Remove wordcopy-power7 object.
21301 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21302 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21303 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21304 (_wordcopy_fwd_dest_aligned): Likewise.
21305 (_wordcopy_bwd_aligned): Likewise.
21306 (_wordcopy_bwd_dest_aligned): Likewise.
21307
21308 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21309 Rewrite to call __memmove_ppc instead of include default
21310 implementation.
21311
21312 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21313 Remove wide chars objects.
21314 [wcsmbs]: New rule for wide char objects.
21315
21316 2015-02-09 Andreas Schwab <schwab@suse.de>
21317
21318 [BZ #17912]
21319 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21320 in terms of __O_DIRECTORY.
21321
21322 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
21323
21324 * time/getdate.c: Include <stdbool.h>.
21325 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21326 call PTR_MANGLE.
21327 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21328 PTR_DEMANGLE.
21329
21330 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
21331
21332 Add ersatz _Static_assert on older C hosts
21333 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21334 pre-C11 C platform that is not known to support _Static_assert.
21335
21336 2015-02-07 Richard Braun <rbraun@sceen.net>
21337
21338 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21339 sigstate.
21340 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21341
21342 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
21343
21344 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21345 priority against unexistent AIO_PRIO_DELTA_MAX.
21346 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21347 instead of int.
21348 * misc/fchflags.c (fchflags): Likewise.
21349 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21350 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21351 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21352 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21353 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21354 Declare macros.
21355 [__USE_MISC] (chflags, fchflags): Declare functions.
21356 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21357 EINVAL when nfds is greater than FD_SETSIZE.
21358 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
21359 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
21360 45.
21361 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
21362 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
21363 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
21364 MACH_RCV_TIMED_OUT.
21365 * hurd/hurd/signal.h (_hurd_self_sigstate,
21366 _hurd_critical_section_lock, _hurd_critical_section_unlock):
21367 Explicit casts from void *.
21368 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
21369 * abi-tags: Rename gnu-gnu os into gnu.
21370
21371 [BZ #4719]
21372 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
21373 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
21374 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
21375 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
21376 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
21377 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
21378
21379 [BZ #17944]
21380 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
21381 duplicates ADDR->sun_path with sockaddr LEN limitation.
21382 * sysdeps/mach/hurd/connect.c: Include <string.h>
21383 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
21384 * sysdeps/mach/hurd/sendmsg.c: Likewise.
21385 * sysdeps/mach/hurd/sendto.c: Likewise.
21386 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
21387 implementing it by hand.
21388
21389 2015-02-06 Roland McGrath <roland@hack.frob.com>
21390
21391 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
21392 Use sfi_breg on ldr.
21393 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
21394 Likewise.
21395
21396 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
21397 it's defined.
21398 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
21399 Test SIGSETXID only if it's defined.
21400
21401 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
21402
21403 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21404 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
21405
21406 * nptl/tst-align2.c: Moved ...
21407 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
21408 * nptl/Makefile (tests): Remove tst-align2.
21409 * sysdeps/unix/sysv/linux/Makefile
21410 [$(subdir) = nptl] (tests): Add tst-align-clone.
21411 * nptl/tst-getpid1.c: Moved ...
21412 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
21413 * nptl/tst-getpid2.c: Moved ...
21414 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
21415 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
21416 * sysdeps/unix/sysv/linux/Makefile
21417 [$(subdir) = nptl] (tests): ... here.
21418 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
21419 * sysdeps/unix/sysv/linux/Makefile
21420 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
21421
21422 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
21423 Drop trailing \n from perror argument. Use return rather than exit.
21424
21425 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
21426 on [SA_SIGINFO].
21427 * nptl/tst-cancel21.c (do_test): Likewise.
21428 * debug/tst-backtrace6.c: Include <signal.h> first thing.
21429 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
21430 [!SA_SIGINFO]: Make it a stub test.
21431
21432 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
21433 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
21434
21435 * posix/tst-getlogin.c: Move to ...
21436 * login/tst-getlogin.c: ... here.
21437 * posix/Makefile (tests): Move tst-getlogin to ...
21438 * login/Makefile (tests): ... here.
21439
21440 * libio/tst-atime.c (do_test): Move local variables SV and E
21441 inside [ST_NOATIME] conditional.
21442
21443 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
21444
21445 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
21446
21447 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
21448 (wait_code): New function replaces macro.
21449 Call nanosleep rather than syscall.
21450
21451 * nptl/pt-system.c: Rewritten. Put everything under
21452 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21453 Use IFUNC to redirect when possible.
21454
21455 * nptl/pt-longjmp.c: Rewritten. Put everything under
21456 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21457 Use IFUNC to redirect when possible.
21458
21459 * nptl/pt-fork.c: Rewritten. Put everything under
21460 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21461 Use IFUNC to redirect when possible.
21462 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21463
21464 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21465 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21466 unconditionally nowadays. This included the only reference to
21467 __vdso_clock_gettime that appears outside libc proper.
21468 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21469 Remove version set (containing only __vdso_clock_gettime).
21470 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21471 Add attribute_hidden.
21472 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21473 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21474 libc_hidden_data_def.
21475 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21476 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21477
21478 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21479 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21480 setrpcent, and getrpcport to ...
21481 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21482 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21483 getrpcbynumber_r, and getrpcent_r to ...
21484 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21485 * inet/getrpcbyname.c: Moved ...
21486 * sunrpc/getrpcbyname.c: ... here.
21487 * inet/getrpcbyname_r.c: Moved ...
21488 * sunrpc/getrpcbyname_r.c: ... here.
21489 * inet/getrpcbynumber.c: Moved ...
21490 * sunrpc/getrpcbynumber.c: ... here.
21491 * inet/getrpcbynumber_r.c: Moved ...
21492 * sunrpc/getrpcbynumber_r.c: ... here.
21493 * inet/getrpcent.c: Moved ...
21494 * sunrpc/getrpcent.c: ... here.
21495 * inet/getrpcent_r.c: Moved ...
21496 * sunrpc/getrpcent_r.c: ... here.
21497 * inet/Makefile (routines): Move those to ...
21498 * sunrpc/Makefile (routines): ... here.
21499 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21500 the $(subdirs) list.
21501 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
21502 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21503 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21504 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21505
21506 * elf/Makefile (routines): Include $(all-dl-routines), not just
21507 $(dl-routines).
21508 (rtld-routines): Likewise. Use = rather than :=.
21509 * sysdeps/aarch64/Makefile [$(subdir) = elf]
21510 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21511 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21512 * sysdeps/arm/Makefile: Likewise.
21513 * sysdeps/i386/Makefile: Likewise.
21514 * sysdeps/x86_64/Makefile: Likewise.
21515 * sysdeps/hppa/Makefile [$(subdir) = elf]
21516 (sysdep_routines, sysdep-rtld-routines): Don't add
21517 $(sysdep-dl-routines) to these.
21518 * sysdeps/ia64/Makefile: Likewise.
21519 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21520 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21521 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21522 Don't add dl-static to these; sysdep-dl-routines alone is enough.
21523 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21524 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21525 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21526 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21527 * sysdeps/powerpc/Makefile [$(subdir) = elf]
21528 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21529 these; sysdep-dl-routines alone is enough.
21530
21531 2015-02-06 Joseph Myers <joseph@codesourcery.com>
21532
21533 [BZ #17932]
21534 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21535 where multiplication results in zero and third argument is finite
21536 and nonzero.
21537 * math/auto-libm-test-in: Add more tests of fma.
21538 * math/auto-libm-test-out: Regenerated.
21539
21540 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21541 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21542 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21543 (_FP_CMP_EQ): Likewise.
21544 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21545
21546 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21547 extra argument CHECK_NAN. Redefine as wrapper around
21548 _FP_EXTEND_CNAN.
21549
21550 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
21551
21552 * version.h (RELEASE): Set to "stable".
21553 (VERSION): Set to "2.21"
21554 * include/features.h (__GLIBC_MINOR__): Set to 21.
21555
21556 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21557
21558 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21559 Paul Eggert <eggert@cs.ucla.edu>
21560
21561 [BZ #16618]
21562 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21563 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21564 size in bytes. Store needed elements in wpmax. Use needed size
21565 in bytes for extend_alloca.
21566
21567 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
21568
21569 * manual/install.texi: Latest tested versions are GCC 4.9.2,
21570 binutls 2.25, and texinfo 5.2.
21571 * INSTALL: Regenerate.
21572 * sysdeps/nios2/configure: Regenerate.
21573 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21574 * manual/contrib.texi: Update.
21575 * po/be.po: Update.
21576 * po/bg.po: Update.
21577 * po/ca.po: Update.
21578 * po/cs.po: Update.
21579 * po/da.po: Update.
21580 * po/de.po: Update.
21581 * po/el.po: Update.
21582 * po/eo.po: Update.
21583 * po/es.po: Update.
21584 * po/fi.po: Update.
21585 * po/fr.po: Update.
21586 * po/gl.po: Update.
21587 * po/hr.po: Update.
21588 * po/hu.po: Update.
21589 * po/ia.po: Update.
21590 * po/id.po: Update.
21591 * po/it.po: Update.
21592 * po/ja.po: Update.
21593 * po/ko.po: Update.
21594 * po/lt.po: Update.
21595 * po/nb.po: Update.
21596 * po/nl.po: Update.
21597 * po/pl.po: Update.
21598 * po/pt_BR.po: Update.
21599 * po/ru.po: Update.
21600 * po/rw.po: Update.
21601 * po/sk.po: Update.
21602 * po/sl.po: Update.
21603 * po/sv.po: Update.
21604 * po/tr.po: Update.
21605 * po/uk.po: Update.
21606 * po/vi.po: Update.
21607 * po/zh_CN.po: Update.
21608 * po/zh_TW.po: Update.
21609
21610 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21611 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21612 * sysdeps/hppa/dl-irel.h: Remove #warning.
21613 * sysdeps/hppa/entry.h: Provide prototype for
21614 __canonicalize_funcptr_for_compare and cast argument.
21615 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21616 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21617 * sysdeps/hppa/sotruss-lib.c: New file.
21618 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21619 (atomic_compare_and_exchange_val_acq): Use __typeof__.
21620 (atomic_compare_and_exchange_bool_acq): Likewise.
21621 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21622 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21623
21624 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21625 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21626 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21627
21628 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
21629
21630 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21631 called function in non-PIC case.
21632
21633 2015-01-31 David S. Miller <davem@davemloft.net>
21634
21635 * sysdeps/sparc/sparc32/bits/atomic.h
21636 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21637 unlock not after it.
21638 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21639 volatile register usage warnings from the compiler.
21640
21641 * sysdeps/sparc/nptl/sem_init.c: Delete.
21642 * sysdeps/sparc/nptl/sem_post.c: Delete.
21643 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21644 * sysdeps/sparc/nptl/sem_wait.c: Delete.
21645 * sysdeps/sparc/sparc32/sem_init.c: New file.
21646 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21647 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21648 padding explicitly initialized.
21649 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21650 padding for in-semaphore spinlock.
21651 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21652 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21653 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21654 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21655 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21656 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21657 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21658 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21659 version.
21660 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21661 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21662
21663 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
21664
21665 [BZ #17801]
21666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21667 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21668 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21669 New.
21670 (index_AVX_Fast_Unaligned_Load): Likewise.
21671 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21672 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21673 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21674 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21675 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21676 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21677 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21678 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21679 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21680
21681 2015-01-29 Andreas Schwab <schwab@suse.de>
21682
21683 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21684
21685 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21686
21687 [BZ #17892]
21688 * nscd/nscd_stat.c (send_stats): Initialize DATA.
21689
21690 2015-01-28 Martin Sebor <msebor@redhat.com>
21691
21692 * math/README.libm-test: Clarify. Add "How to read the test output."
21693
21694 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
21695
21696 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21697 Define to 0.
21698
21699 2015-01-28 Joseph Myers <joseph@codesourcery.com>
21700
21701 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21702 (__HAVE_64B_ATOMICS): Define to 0.
21703
21704 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21705
21706 [BZ #17885]
21707 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21708 value to set as new flag.
21709
21710 [BZ #16576]
21711 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21712 and use _ARCH_PPCSQ instead.
21713 (__ieee754_sqrt): Likewise.
21714 (__ieee754_sqrtf): Likewise.
21715 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21716 _ARCH_PPCSQ is defined.
21717 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21718 fsqrt instruction.
21719 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21720 _ARCH_PPCSQ is defined.
21721 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21722 fsqrts instruction.
21723 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21724
21725 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21726
21727 * iconv/loop.c: Suppress array out of bound warning caused by GCC
21728 bug (GCC BZ #64739).
21729
21730 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
21731
21732 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21733 Mark _retval as used.
21734 (lll_futex_wake_unlock): Likewise.
21735 (lll_futex_timed_wait_requeue_pi): Likewise.
21736
21737 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21738 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21739 register variables.
21740
21741 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21742 libm_hidden_def.
21743
21744 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21745 (__bswap_64): Mark as __always_inline.
21746
21747 2015-01-25 Bram <bug_rh@spam.wizbit.be>
21748
21749 [BZ #15378]
21750 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21751 when none of the search directories exist.
21752
21753 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21754
21755 [BZ #17869]
21756 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21757 power8 in .machine directive.
21758
21759 [BZ #17868]
21760 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21761 set dependency from opd value.
21762
21763 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
21764
21765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21766 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21767 architecture.
21768
21769 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
21770
21771 [BZ #17870]
21772 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21773 with uint64_t.
21774 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21775 (uint64_t) 1.
21776 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21777 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21778 Replace 1UL with (uint64_t) 1.
21779 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21780 int with uint64_t.
21781
21782 2015-01-23 Roland McGrath <roland@hack.frob.com>
21783
21784 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21785 (if_freenameindex): Likewise.
21786
21787 * resource/getrlimit64.c: Add missing libc_hidden_def.
21788
21789 2015-01-22 Joseph Myers <joseph@codesourcery.com>
21790
21791 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21792 __label__.
21793 (_FP_FMA): Likewise.
21794 (_FP_TO_INT_ROUND): Likewise.
21795 (_FP_FROM_INT): Likewise.
21796
21797 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21798
21799 [BZ #16418]
21800 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21801 Make code racy and cancel safe.
21802
21803 2015-01-21 Carlos O'Donell <carlos@redhat.com>
21804
21805 * sysdeps/arm/unwind-resume.h: Fix copyright year.
21806 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21807 attribution.
21808
21809 * pwd/tst-getpw.c: Rewrite.
21810
21811 [BZ #17702]
21812 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21813 (modules-names): Add moddummy1 and moddummy2.
21814 ($(objpfx)tst-rec-dlopen): Define.
21815 * dlfcn/moddummy1.c: New file.
21816 * dlfcn/moddummy2.c: New file.
21817 * dlfcn/tst-rec-dlopen.c: New file.
21818 * elf/dl-cache.c (_dl_load_cache_lookup):
21819 Return char*. Copy result with alloca/strcpy/strdup.
21820 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21821 returns char*. Free cached. If not saving realname
21822 free cached.
21823 * elf/dl-open.c (dl_open_worker): Do not assert that
21824 _r_debug->r_state is RT_CONSISTENT.
21825 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21826 returns char*.
21827
21828 2015-01-21 Torvald Riegel <triegel@redhat.com>
21829 Carlos O'Donell <carlos@redhat.com>
21830
21831 [BZ #12674]
21832 * nptl/sem_waitcommon.c: New file.
21833 * nptl/sem_wait.c: Include sem_waitcommon.c.
21834 (__sem_wait_cleanup, do_futex_wait): Remove.
21835 (__new_sem_wait): Adapt.
21836 (__new_sem_trywait): New function.
21837 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21838 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21839 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21840 (sem_timedwait): Adapt.
21841 * nptl/sem_post.c (__new_sem_post): Adapt.
21842 (futex_wake): New function.
21843 (__old_sem_post): Add release MO fence.
21844 * nptl/sem_open.c (sem_open): Adapt.
21845 * nptl/sem_init.c (__new_sem_init): Adapt.
21846 (futex_private_if_supported): New function.
21847 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21848 (__old_sem_getvalue): Add using previous code.
21849 * sysdeps/nptl/internaltypes.h: Adapt.
21850 * nptl/tst-sem13.c (do_test): Adapt.
21851 * nptl/tst-sem11.c (main): Adapt.
21852 * nptl/sem_trywait.c: Remove.
21853 * nptl/DESIGN-sem.txt: Remove.
21854 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21855 (gen-as-const-headers): Remove structsem.sym.
21856 * nptl/structsem.sym: Remove.
21857 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21858 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21859 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21860 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21861 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21862 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21863 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21864 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21865 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21866 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21867 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21868 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21869 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21870 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21871 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21872 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21873 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21874 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21875 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21876 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21877 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21878 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21879
21880 2015-01-20 Carlos O'Donell <carlos@redhat.com>
21881
21882 * INSTALL: Regenerated.
21883
21884 * po/libc.pot: Regenerated.
21885
21886 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
21887 Sandra Loosemore <sandra@codesourcery.com>
21888 Andrew Jenner <andrew@codesourcery.com>
21889 Joseph Myers <joseph@codesourcery.com>
21890 Nathan Sidwell <nathan@codesourcery.com>
21891
21892 * NEWS: Mention new Nios II port.
21893 * sysdeps/nios2/Implies: New file.
21894 * sysdeps/nios2/Makefile: New file.
21895 * sysdeps/nios2/Subdirs: New file.
21896 * sysdeps/nios2/Versions: New file.
21897 * sysdeps/nios2/__longjmp.S: New file.
21898 * sysdeps/nios2/abort-instr.h: New file.
21899 * sysdeps/nios2/backtrace.c: New file.
21900 * sysdeps/nios2/bits/endian.h: New file.
21901 * sysdeps/nios2/bits/fenv.h: New file.
21902 * sysdeps/nios2/bits/link.h: New file.
21903 * sysdeps/nios2/bits/setjmp.h: New file.
21904 * sysdeps/nios2/bsd-_setjmp.S: New file.
21905 * sysdeps/nios2/bsd-setjmp.S: New file.
21906 * sysdeps/nios2/configure: New generated file.
21907 * sysdeps/nios2/configure.ac: New file.
21908 * sysdeps/nios2/crti.S: New file.
21909 * sysdeps/nios2/crtn.S: New file.
21910 * sysdeps/nios2/dl-init.c: New file.
21911 * sysdeps/nios2/dl-machine.h: New file.
21912 * sysdeps/nios2/dl-sysdep.h: New file.
21913 * sysdeps/nios2/dl-tls.h: New file.
21914 * sysdeps/nios2/dl-trampoline.S: New file.
21915 * sysdeps/nios2/gccframe.h: New file.
21916 * sysdeps/nios2/gmp-mparam.h: New file.
21917 * sysdeps/nios2/jmpbuf-offsets.h: New file.
21918 * sysdeps/nios2/jmpbuf-unwind.h: New file.
21919 * sysdeps/nios2/ldsodefs.h: New file.
21920 * sysdeps/nios2/libc-tls.c: New file.
21921 * sysdeps/nios2/libm-test-ulps: New file.
21922 * sysdeps/nios2/machine-gmon.h: New file.
21923 * sysdeps/nios2/math-tests.h: New file.
21924 * sysdeps/nios2/math_private.h: New file.
21925 * sysdeps/nios2/memusage.h: New file.
21926 * sysdeps/nios2/nptl/Makefile: New file.
21927 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21928 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21929 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21930 * sysdeps/nios2/nptl/pthreaddef.h: New file.
21931 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21932 * sysdeps/nios2/nptl/tls.h: New file.
21933 * sysdeps/nios2/preconfigure: New file.
21934 * sysdeps/nios2/s_fma.c: New file.
21935 * sysdeps/nios2/s_fmaf.c: New file.
21936 * sysdeps/nios2/setjmp.S: New file.
21937 * sysdeps/nios2/sfp-machine.h: New file.
21938 * sysdeps/nios2/sotruss-lib.c: New file.
21939 * sysdeps/nios2/stackguard-macros.h: New file.
21940 * sysdeps/nios2/stackinfo.h: New file.
21941 * sysdeps/nios2/start.S: New file.
21942 * sysdeps/nios2/sysdep.h: New file.
21943 * sysdeps/nios2/tls-macros.h: New file.
21944 * sysdeps/nios2/tst-audit.h: New file.
21945 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21946 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21947 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21948 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21949 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21950 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21951 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21952 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21953 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21954 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21955 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21956 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21957 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21958 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21959 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21960 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21961 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21962 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21963 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21964 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21965 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21966 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21967 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21968 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21969 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21970 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21971 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21972 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21973 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21974 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21975 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21976 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21977 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21978 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21979 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21980 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21981 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21982 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21983 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21984 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21985 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21986 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21987 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21988 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21989
21990 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21991
21992 [BZ #17844]
21993 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21994 (getutent): Use weak_alias in non SHARED case
21995 and default_symbol_version in SHARED case.
21996 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21997 (getutent_r, pututline): Likewise.
21998 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21999 (getutid): Likewise.
22000 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
22001 (getutid_r): Likewise.
22002 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
22003 (getutline): Likewise.
22004 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
22005 (getutline_r): Likewise.
22006 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
22007 (updwtmp): Likewise.
22008
22009 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22010
22011 [BZ #17848]
22012 * sysdeps/s390/s390-32/memcmp.S
22013 (memcmp_g5): Rename to __memcmp_g5.
22014 * sysdeps/s390/s390-32/memcpy.S
22015 (memcpy_g5): Rename to __memcpy_g5.
22016 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22017 (memcpy_mvcle) Rename to __memcpy_mvcle.
22018 * sysdeps/s390/s390-32/memset.S
22019 (memset_g5): Rename to __memset_g5.
22020 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22021 (IFUNC_RESOLVE): Prefix ifunc-resolve function
22022 and use prefixed functions.
22023 * sysdeps/s390/s390-32/multiarch/memcmp.S
22024 (memcmp_z196): Rename to __memcmp_z196.
22025 (memcmp_z10): Rename to __memcmp_z10.
22026 (memcmp): Set alias to __memcmp_g5.
22027 (bcmp): Set alias to __memcmp_g5.
22028 * sysdeps/s390/s390-32/multiarch/memcpy.S
22029 (memcpy_z196): Rename to __memcpy_z196.
22030 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22031 (memcpy_z10): Rename to __memcpy_z10.
22032 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22033 (memcpy): Set alias to __memcpy_g5.
22034 * sysdeps/s390/s390-32/multiarch/memset.S
22035 (memset_z196): Rename to __memset_z196.
22036 Jump to __memset_mvcle instead of memset_mvcle.
22037 (memset_z10): Rename to __memset_z10.
22038 Jump to __memset_mvcle instead of memset_mvcle.
22039 (memset_mvcle) Rename to __memset_mvcle.
22040 (memset): Set alias to __memset_g5.
22041 * sysdeps/s390/s390-64/memcmp.S
22042 (memcmp_z900): Rename to __memcmp_z900.
22043 * sysdeps/s390/s390-64/memcpy.S
22044 (memcpy_z900): Rename to __memcpy_z900.
22045 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22046 (memcpy_mvcle) Rename to __memcpy_mvcle.
22047 * sysdeps/s390/s390-64/memset.S
22048 (memset_z900): Rename to __memset_z900.
22049 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
22050 (IFUNC_RESOLVE): Prefix ifunc-resolve function
22051 and use prefixed functions.
22052 * sysdeps/s390/s390-64/multiarch/memcmp.S
22053 (memcmp_z196): Rename to __memcmp_z196.
22054 (memcmp_z10): Rename to __memcmp_z10.
22055 (memcmp): Set alias to __memcmp_z900.
22056 (bcmp): Set alias to __memcmp_z900.
22057 * sysdeps/s390/s390-64/multiarch/memcpy.S
22058 (memcpy_z196): Rename to __memcpy_z196.
22059 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22060 (memcpy_z10): Rename to __memcpy_z10.
22061 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22062 (memcpy): Set alias to __memcpy_z900.
22063 * sysdeps/s390/s390-64/multiarch/memset.S
22064 (memset_z196): Rename to __memset_z196.
22065 Jump to __memset_mvcle instead of memset_mvcle.
22066 (memset_z10): Rename to __memset_z10.
22067 Jump to __memset_mvcle instead of memset_mvcle.
22068 (memset_mvcle) Rename to __memset_mvcle.
22069 (memset): Set alias to __memset_z900.
22070
22071 2015-01-14 Joseph Myers <joseph@codesourcery.com>
22072
22073 [BZ #17748]
22074 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
22075 __fesetenv instead of fesetenv.
22076
22077 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22078
22079 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22080 macro.
22081
22082 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22083
22084 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22085 regression on LE.
22086
22087 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22088 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22089 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22090 strncmp-power8 object.
22091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22092 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
22093 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
22094 * NEWS: Update.
22095
22096 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22097 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22098
22099 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
22100 trailing byte check.
22101
22102 2015-01-13 David S. Miller <davem@davemloft.net>
22103
22104 * include/signal.h (__sigreturn): Guard with __USE_MISC.
22105
22106 2015-01-13 Roland McGrath <roland@hack.frob.com>
22107
22108 * login/logout.c (logout): Use memset rather than bzero.
22109 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
22110 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
22111 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
22112 (_gethtbyaddr): Likewise.
22113 * locale/programs/simple-hash.c (bcopy): Macro removed.
22114
22115 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22116
22117 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22118 Add strcmp-power8 object.
22119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22120 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
22121 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
22122 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
22123 __strcmp_power8 implementation.
22124 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
22125 * NEWS: Update.
22126
22127 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22128 Add strncpy-power8 and stpncpy-power8 objects.
22129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22130 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
22131 implementations.
22132 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
22133 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
22134 __stpncpy_power8 implementation.
22135 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
22136 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
22137 __strncpy_power8 implementation.
22138 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
22139 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
22140 * NEWS: Update.
22141
22142 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
22143 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
22144 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
22145
22146 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22147 strncat-power8 object.
22148 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
22149 __strcat_power8 implementation.
22150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22151 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
22152 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
22153 optimized strcat for power8.
22154
22155 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22156 strcpy-power8 and stpcpy-power8 objects.
22157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22158 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
22159 implementations.
22160 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
22161 multiarch stpcpy implementation for POWER8.
22162 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
22163 multiarch strcpy implementation for POWER8.
22164 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
22165 __strcpy_power8 function.
22166 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
22167 stpcpy for POWER8.
22168 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
22169 strcpy for POWER8.
22170 * NEWS: Update.
22171
22172 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
22173
22174 [BZ #16009]
22175 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
22176 weights and rules. Use do_xfrm_cached if data fits in cache,
22177 do_xfrm otherwise. Moved former main loop to...
22178 * (do_xfrm_cached): New function.
22179 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
22180 find_idx, find_position and stack_push.
22181 * (find_idx): New function.
22182 * (find_position): Likewise.
22183 * localedata/sort-test.sh: Added test run for do_xfrm.
22184 * localedata/xfrm-test.c (main): Added command line option
22185 -nocache to run the test with strings that are too large for
22186 the STRXFRM cache.
22187
22188 2015-01-13 Torvald Riegel <triegel@redhat.com>
22189
22190 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
22191 variable to lll_futex_wake call, not the value itself.
22192
22193 2015-01-12 Joseph Myers <joseph@codesourcery.com>
22194
22195 [BZ #17803]
22196 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
22197 twom64. Adjust value to 0x1p-64L.
22198 (__scalblnl): Only return standard underflowing result for K <=
22199 -64 not K <= -63; adjust exponent for underflowing result by 64
22200 not 63.
22201 * math/libm-test.inc (scalbn_test_data): Add more tests.
22202 (scalbln_test_data): Likewise.
22203
22204 [BZ #17834]
22205 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22206 0x1p63L.
22207 (__scalblnl): Get new exponent of adjusted subnormal value from ES
22208 not HX.
22209 * math/libm-test.inc (scalbn_test_data): Add more tests.
22210 (scalbln_test_data): Likewise.
22211
22212 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22213 Stefani Seibold <stefani@seibold.net>
22214
22215 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22216 (sysdep_routines): Add dl-vdso here, ...
22217 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22218 (sysdep_routines): ... not here.
22219 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22220 fallback when vDSO is not presented.
22221 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22222 Define with libc_hidden_proto/libc_hidden_data_def definitions.
22223 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22224 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22225 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22226 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22227 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22228 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22229 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22230 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22231 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
22232 fallback configurable symbol when vDSO is not available.
22233 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22234 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
22235 be able to redefine fallback symbol when vDSO is not available.
22236 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22237 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22238
22239 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22240
22241 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22242 (TLS_INIT_TP): Add tm_capable initialization.
22243 (TLS_DEFINE_INIT_TP): Likewise.
22244 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22245 TCB.
22246 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22247 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22248 calculation.
22249 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22250 transactoion is lock elision is built and TCB tm_capable is set.
22251 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22253 (INTERNAL_SYSCALL_NCS): Likewise.
22254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22255 (INTERNAL_SYSCALL_NCS): Likewise.
22256 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22257
22258 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22259 for powerpc.
22260 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22261 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22262 and remove it for 32 bits case.
22263 [pthread_rwlock_t] (__rwelision): New field for lock elision.
22264 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22265 initialization.
22266 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22267 Disable lock elision with rdlocks if elision is not available.
22268
22269 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22270 (sysdep_routines): Add lock elision objects.
22271 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22272 [pthread_mutex_t] (__spins): Rework to add lock elision field.
22273 [pthread_mutex_t] (__elision): Add field.
22274 [__PTHREAD_SPINS]: Adjust to init lock elision field.
22275 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22276 elision definitions for powerpc.
22277 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22278 implementation of lock elision for powerpc.
22279 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22280 implementation of timed lock elision for powerpc.
22281 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22282 implementation of trylock with lock elision for powerpc.
22283 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22284 implementaion of unlock for lock elision for powerpc.
22285 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22286 automatic enable lock elision for mutexes.
22287 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22288 transaction execution definitions for powerpc.
22289 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22290 definitions.
22291 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22292 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22293 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22294 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22295 * NEWS: Update.
22296
22297 2015-01-09 Roland McGrath <roland@hack.frob.com>
22298
22299 * sysdeps/posix/shm-directory.c: Use <> rather than ""
22300 for #include of <shm-directory.h>.
22301
22302 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
22303
22304 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22305 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22306
22307 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
22308
22309 [BZ #17791]
22310 * NEWS: Mention bug fix.
22311 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22312 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22313 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22314
22315 2015-01-09 Torvald Riegel <triegel@redhat.com>
22316
22317 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22318
22319 2015-01-09 Torvald Riegel <triegel@redhat.com>
22320
22321 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22322
22323 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
22324
22325 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22326 pointer and cast to uintptr_t.
22327
22328 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
22329
22330 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22331 removed.
22332 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22333
22334 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
22335
22336 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22337 of 0.
22338
22339 2015-01-08 Roland McGrath <roland@hack.frob.com>
22340
22341 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22342 <nptl/pthreadP.h> instead.
22343 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22344
22345 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22346 already defined.
22347 [__SIGRTMIN] (init): Function removed.
22348 [__SIGRTMIN] (initialized): Variable removed.
22349 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22350 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22351 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22352 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22353 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22354 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22355 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22356 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
22357 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
22358 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
22359 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
22360 * sysdeps/nptl/allocrtsig.c: New file.
22361 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
22362 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
22363 * sysdeps/generic/testrtsig.h: File removed.
22364
22365 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
22366 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
22367
22368 * nptl/nptl-init.c (pthread_functions): Conditionalize
22369 .ptr__nptl_setxid initialization on [SIGSETXID].
22370
22371 * sysdeps/nptl/sys/procfs.h: New file.
22372 * nptl_db/Makefile (headers): Add it.
22373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
22374
22375 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
22376 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
22377 * nptl/pthread_attr_setaffinity.c: Include it.
22378 * nptl/pthread_setattr_default_np.c: Likewise.
22379 * nptl/check-cpuset.h: New file.
22380
22381 2015-01-08 Richard Henderson <rth@redhat.com>
22382
22383 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
22384 (CFLAGS-tst-execstack-prog.c): Likewise.
22385 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
22386
22387 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
22388 Sandra Loosemore <sandra@codesourcery.com>
22389 Andrew Jenner <andrew@codesourcery.com>
22390 Joseph Myers <joseph@codesourcery.com>
22391 Nathan Sidwell <nathan@codesourcery.com>
22392
22393 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
22394 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
22395 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
22396 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
22397 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
22398 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
22399 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
22400 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
22401 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
22402 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
22403 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
22404 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
22405 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
22406 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
22407 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22408 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
22409 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
22410
22411 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22412
22413 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
22414 timespec struct member in syscall macro.
22415 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22416 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
22417 first timeval struct member in syscall macro.
22418 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
22419
22420 2015-01-07 Joseph Myers <joseph@codesourcery.com>
22421
22422 [BZ #17748]
22423 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
22424 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
22425 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
22426 __feupdateenv and define as weak alias of __feupdateenv. Use
22427 libm_hidden_weak.
22428 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
22429 libm_hidden_def.
22430 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
22431 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
22432 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22433 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
22434 libm_hidden_def.
22435 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
22436 __feupdateenv and define as weak alias of __feupdateenv. Use
22437 libm_hidden_weak.
22438 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
22439 libm_hidden_def.
22440 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22441 __feupdateenv and define as weak alias of __feupdateenv. Use
22442 libm_hidden_weak.
22443 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
22444 libm_hidden_def.
22445 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22446 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22447 (__feupdateenv): Likewise.
22448 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
22449 __feupdateenv and define as weak alias of __feupdateenv. Use
22450 libm_hidden_weak.
22451 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22452 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22453 libm_hidden_def.
22454 * sysdeps/tile/math_private.h (__feupdateenv): New inline
22455 function.
22456 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22457 libm_hidden_def.
22458 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22459 __feupdateenv instead of feupdateenv.
22460 (default_libc_feupdateenv_test): Likewise.
22461 (libc_feresetround_ctx): Likewise.
22462
22463 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22464
22465 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22466 prototype.
22467
22468 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
22469
22470 * posix/regcomp.c (parse_bracket_exp): Initialize type to
22471 COLL_SYM in a couple of places to avoid uninitialized variable
22472 wanings on tilegx gcc 4.8.2.
22473
22474 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
22475
22476 * sysdeps/aarch64/strcpy.S: New file.
22477 * sysdeps/aarch64/stpcpy.S: New file.
22478 * NEWS: Updated.
22479
22480 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
22481
22482 * sysdeps/aarch64/strrchr.S: New file.
22483 * NEWS: Updated.
22484
22485 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
22486
22487 [BZ #17658]
22488 * stdlib/setenv.c: Fix memory leak when setting large,
22489 duplicate string.
22490
22491 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
22492
22493 [BZ #17273]
22494 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22495 and tabs from buffer before parsing fstab entry.
22496 * misc/tst-mntent.c (main): Add test for mount entry with
22497 trailing spaces and tabs.
22498
22499 2015-01-06 Joseph Myers <joseph@codesourcery.com>
22500
22501 [BZ #17748]
22502 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
22503 * math/fesetround.c (fesetround): Rename to __fesetround and
22504 define as weak alias of __fesetround. Use libm_hidden_weak.
22505 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22506 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22507 * sysdeps/arm/fesetround.c (fesetround): Likewise.
22508 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22509 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22510 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22511 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22512 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22513 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22514 __fesetround_inline.
22515 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22516 __fesetround_inline instead of __fesetround.
22517 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22518 __fesetround and define as weak alias of __fesetround. Use
22519 libm_hidden_weak. Call __fesetround_inline instead of
22520 __fesetround.
22521 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22522 __fesetround and define as weak alias of __fesetround. Use
22523 libm_hidden_weak.
22524 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22525 Likewise.
22526 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22527 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22528 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22529 * sysdeps/tile/math_private.h (__fesetround): New inline function.
22530 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22531 __fesetround and define as weak alias of __fesetround. Use
22532 libm_hidden_weak.
22533 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22534 __fesetround instead of fesetround.
22535 (default_libc_feholdexcept_setround): Likewise.
22536 (libc_feholdsetround_ctx): Likewise.
22537 (libc_feholdsetround_noex_ctx): Likewise.
22538
22539 [BZ #17748]
22540 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22541 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22542 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22543 and define as weak alias of __fesetenv. Use libm_hidden_weak.
22544 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22545 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22546 define as weak alias of __fesetenv. Use libm_hidden_weak.
22547 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22548 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22549 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22550 define as weak alias of __fesetenv. Use libm_hidden_weak.
22551 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22552 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22553 define as weak alias of __fesetenv. Use libm_hidden_weak.
22554 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22555 libm_hidden_def.
22556 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22557 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22558 Likewise.
22559 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22560 define as weak alias of __fesetenv. Use libm_hidden_weak.
22561 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22562 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22563 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22564 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22565 and define as weak alias of __fesetenv. Use libm_hidden_weak.
22566 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22567 __fesetenv instead of fesetenv.
22568 (libc_feresetround_noex_ctx): Likewise.
22569 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22570 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22571 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22572 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22573 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22574 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22575 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22576 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22577 (__feupdateenv): Likewise.
22578 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22579 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22580 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22581 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22582
22583 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
22584
22585 [BZ #17806]
22586 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22587 addresses have been freed.
22588
22589 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
22590
22591 * resolv/res_init.c (__res_vinit): Improve comments about nserv
22592 and nservall.
22593
22594 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
22595
22596 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22597 Clean up check_pf allocation pattern. addresses
22598
22599 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22600
22601 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22602 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22603 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22604 * nptl/pthread_exit.c (__pthread_exit): Likewise.
22605 * nptl/pthread_join.c (pthread_join): Likewise.
22606 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22607 * sysdeps/posix/waitid.c (__waitid): Likewise.
22608 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22609 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22610 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22611 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22612 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22613 Likewise.
22614 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22615 (__libc_pread64): Likewise.
22616 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22617 (__libc_pwrite): Likewise.
22618 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22619 (__libc_pwrite64): Likewsie.
22620 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22621 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22622 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22623 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22624 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22625 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22626 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22628 Likewise.
22629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22630 (__libc_pread64): Likewise.
22631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22632 Likewise.
22633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22634 (__libc_pwrite64): Likewise.
22635 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22636 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22637 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22638 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22639 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22640 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22641 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22642 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22643 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22644 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22645 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22646 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22647 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22648 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22649 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22650 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22651 Likewise.
22652
22653 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
22654
22655 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22656 (CFLAGS-test-double.c): Likewise.
22657 (CFLAGS-test-ldouble.c): Likewise.
22658 (CPPFLAGS-test-ifloat.c): Likewise.
22659 (CPPFLAGS-test-idouble.c): Likewise.
22660 (CPPFLAGS-test-ildoubl.c): Likewise.
22661 (CFLAGS-test-test-fenv.c): Remove variable.
22662 (CFLAGS-test-misc.c): Likewise.
22663
22664 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
22665
22666 [BZ #17797]
22667 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22668 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22669 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22670 CLOCKS_PER_SEC == 1000000.
22671 * time/clocktest.c (main): Replace %ld with %jd and cast to
22672 intmax_t.
22673
22674 2015-01-05 Roland McGrath <roland@hack.frob.com>
22675
22676 * sysdeps/generic/unwind-resume.h: New file.
22677 * sysdeps/gnu/unwind-resume.c: Include it.
22678 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22679 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22680 argument list.
22681 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22682 global rather than static.
22683 (_Unwind_Resume): Update user.
22684 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22685 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
22686 rather than static. Add __attribute__ ((cold)).
22687 (_Unwind_Resume, __gcc_personality_v0): Update callers.
22688 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22689 * sysdeps/arm/arm-unwind-resume.S: New file.
22690 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22691 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22692 * sysdeps/arm/Makefile [$(subdir) = csu]
22693 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22694 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22695 Add rt-arm-unwind-resume.
22696 [$(subdir) = nptl]
22697 (libpthread-sysdep_routines, libpthread-shared-only-routines):
22698 Add pt-arm-unwind-resume.
22699 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22700 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22701
22702 2015-01-05 Joseph Myers <joseph@codesourcery.com>
22703
22704 [BZ #17748]
22705 * include/fenv.h (__feholdexcept): Declare. Use
22706 libm_hidden_proto.
22707 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22708 define as weak alias of __feholdexcept. Use libm_hidden_weak.
22709 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22710 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22711 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22712 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22713 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22714 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22715 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22716 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22717 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22718 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22719 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22720 (feholdexcept): Likewise.
22721 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22722 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22723 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22724 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22725 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22726 __feholdexcept instead of feholdexcept.
22727 (default_libc_feholdexcept_setround): Likewise.
22728
22729 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
22730
22731 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22732 to avoid using stl/str to align destination.
22733
22734 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
22735
22736 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22737
22738 2015-01-05 Joseph Myers <joseph@codesourcery.com>
22739
22740 [BZ #17796]
22741 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22742 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22743 Define as weak alias not strong alias.
22744
22745 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
22746
22747 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22748 bltzal with addiupc.
22749 (RTLD_START): Ditto.
22750
22751 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
22752
22753 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22754 for __vdso_* functions in declarations.
22755 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22756 definitions.
22757 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22758 INTERNAL_VSYSCALL): Use struct return types to check for error.
22759
22760 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22761 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22762 function with cast from llround().
22763 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22764 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22765 Define.
22766
22767 2015-01-05 Joseph Myers <joseph@codesourcery.com>
22768
22769 [BZ #17793]
22770 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22771 Define as weak alias not strong alias.
22772
22773 [BZ #17635]
22774 * ctype/ctype-c99.c: New file. isblank implementation moved from
22775 ...
22776 * ctype/ctype-extn.c: ... here.
22777 (__isblank_l): Move to ...
22778 * ctype/ctype-c99_l.c: ... here. New file.
22779 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22780 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22781 Remove variable.
22782 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22783 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22784 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22785 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22786 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22787
22788 [BZ #17777]
22789 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22790 (posix_fadvise64): Define as weak alias not strong alias.
22791 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22792 (posix_fallocate64): Likewise.
22793 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22794 Remove variable.
22795 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22796 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22797 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22798 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22799 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22800
22801 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
22802
22803 [BZ #16191]
22804 * NEWS: Mention bug fix.
22805 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22806 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22807 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22808 (HOST_STACK_END_ADDR): Likewise.
22809
22810 2015-01-02 Joseph Myers <joseph@codesourcery.com>
22811
22812 [BZ #17748]
22813 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
22814 * math/fegetround.c (fegetround): Rename to __fegetround and
22815 define as weak alias of __fegetround. Use libm_hidden_weak.
22816 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22817 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22818 * sysdeps/arm/fegetround.c (fegetround): Likewise.
22819 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22820 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22821 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22822 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22823 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22824 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22825 Undefine after rather than before function definition; use
22826 parentheses around function name in definition.
22827 (__fegetround): Also undefine macro after function definition.
22828 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22829 __fegetround and define as weak alias of __fegetround. Use
22830 libm_hidden_weak. Do not undefine as macro.
22831 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22832 Likewise.
22833 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22834 __fegetround and define as weak alias of __fegetround. Use
22835 libm_hidden_weak.
22836 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22837 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22838 * sysdeps/tile/math_private.h (__fegetround): New inline function.
22839 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22840 __fegetround and define as weak alias of __fegetround. Use
22841 libm_hidden_weak.
22842 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22843 __fegetround instead of fegetround.
22844
22845 [BZ #17782]
22846 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22847 Condition macro definition on [__USE_MISC].
22848
22849 [BZ #17781]
22850 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22851 (struct sigaction): Change type of sa_flags field to int.
22852
22853 [BZ #17780]
22854 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22855 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22856 __glibc_reserved0.
22857
22858 * nptl/version.c (banner): Use single year in copyright notice.
22859
22860 * NEWS: Update copyright dates.
22861 * catgets/gencat.c (print_version): Likewise.
22862 * csu/version.c (banner): Likewise.
22863 * debug/catchsegv.sh: Likewise.
22864 * debug/pcprofiledump.c (print_version): Likewise.
22865 * debug/xtrace.sh (do_version): Likewise.
22866 * elf/ldconfig.c (print_version): Likewise.
22867 * elf/ldd.bash.in: Likewise.
22868 * elf/pldd.c (print_version): Likewise.
22869 * elf/sotruss.sh: Likewise.
22870 * elf/sprof.c (print_version): Likewise.
22871 * iconv/iconv_prog.c (print_version): Likewise.
22872 * iconv/iconvconfig.c (print_version): Likewise.
22873 * locale/programs/locale.c (print_version): Likewise.
22874 * locale/programs/localedef.c (print_version): Likewise.
22875 * login/programs/pt_chown.c (print_version): Likewise.
22876 * malloc/memusage.sh (do_version): Likewise.
22877 * malloc/memusagestat.c (print_version): Likewise.
22878 * malloc/mtrace.pl: Likewise.
22879 * manual/libc.texinfo: Likewise.
22880 * nptl/version.c (banner): Likewise.
22881 * nscd/nscd.c (print_version): Likewise.
22882 * nss/getent.c (print_version): Likewise.
22883 * nss/makedb.c (print_version): Likewise.
22884 * posix/getconf.c (main): Likewise.
22885 * scripts/test-installation.pl: Likewise.
22886 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22887
22888 2015-01-02 Will Newton <will.newton@linaro.org>
22889
22890 * sysdeps/arm/armv7/configure: Removed.
22891 * sysdeps/arm/armv7/configure.ac: Likewise.
22892
22893 2015-01-02 Joseph Myers <joseph@codesourcery.com>
22894
22895 * All files with FSF copyright notices: Update copyright dates
22896 using scripts/update-copyrights.
22897 * intl/plural.c: Regenerated.
22898 * locale/programs/charmap-kw.h: Likewise.
22899 * locale/programs/locfile-kw.h: Likewise.
22900
22901 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22902
22903 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22904
22905 2014-12-31 Joseph Myers <joseph@codesourcery.com>
22906
22907 [BZ #17748]
22908 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22909 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22910 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22911 and define as weak alias of __fegetenv. Use libm_hidden_weak.
22912 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22913 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22914 define as weak alias of __fegetenv. Use libm_hidden_weak.
22915 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22916 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22917 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22918 define as weak alias of __fegetenv. Use libm_hidden_weak.
22919 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22920 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22921 define as weak alias of __fegetenv. Use libm_hidden_weak.
22922 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22923 libm_hidden_def.
22924 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22925 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22926 Likewise.
22927 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22928 define as weak alias of __fegetenv. Use libm_hidden_weak.
22929 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22930 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22931 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22932 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22933 and define as weak alias of __fegetenv. Use libm_hidden_weak.
22934 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22935 __fegetenv instead of fegetenv.
22936 (libc_feholdsetround_noex_ctx): Likewise.
22937
22938 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
22939
22940 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22941 (Elf_MIPS_ABIFlags_v0): New structure.
22942 (EF_MIPS_FP64): Define.
22943 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22944 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22945 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22946 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22947 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22948 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22949 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22950 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22951 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22952 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22953 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22954 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22955 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22956 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22957 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22958 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22959 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22960 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22961 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22962 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22963 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22964 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22965 field.
22966 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22967 EF_MIPS_FP64.
22968 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22969 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22970 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22971 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22972 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22973 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22974 * sysdeps/mips/tst-abi-interlink.c: Likewise.
22975 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22976 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22977 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22978 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22979 record the current FP ABI extension.
22980 (mips-mode-switch): Define to show if kernel headers support mode
22981 switching.
22982 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22983 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22984 supported SYSV ABI version to 3.
22985 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22986 feature.
22987
22988 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22989 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22990
22991 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22992 path.
22993 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22994
22995 2014-12-31 Joseph Myers <joseph@codesourcery.com>
22996
22997 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22998 __fegetround and redefine to call __fegetround. Remove condition
22999 on [!__NO_MATH_INLINES].
23000 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
23001 function.
23002 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
23003 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23004 Remove macro.
23005 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
23006 instead of <fenv_libc.h>.
23007 (__llrintl): Call fegetround instead of __fegetround.
23008 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
23009 instead of <fenv_libc.h>.
23010 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23011 (__lrintl): Call fegetround instead of __fegetround.
23012 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
23013 instead of <fenv_libc.h>.
23014 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23015 (__rintl): Call fegetround instead of __fegetround.
23016
23017 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23018
23019 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
23020 arrays.
23021
23022 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
23023
23024 [BZ #17775]
23025 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
23026 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
23027 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
23028
23029 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
23030
23031 * sysdeps/i386/tls-macros.h: Include <features.h>.
23032 (TLS_LE): Use non-PIC version for GCC >= 5.0.
23033 (TLS_IE): Likewise.
23034 (TLS_LD): Likewise.
23035 (TLS_GD): Likewise.
23036 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
23037 define for GCC >= 5.0.
23038
23039 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
23040
23041 * math/test-fenv.c (test_single_exception, set_single_exc,
23042 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
23043 feexcp_mask_test, feenable_test, fe_single_test): Add
23044 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
23045 case where they are not used.
23046 * math/libm-test.inc: Likewise.
23047 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
23048 unused in the absence of FP rounding/exception support.
23049 * stdio-common/tst-printf-round.c: Likewise.
23050 * stdlib/tst-strtod-round.c: Likewise.
23051 * stdlib/tst-strtod-underflow.c: Likewise.
23052
23053 2014-12-30 Joseph Myers <joseph@codesourcery.com>
23054
23055 [BZ #17723]
23056 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
23057 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
23058 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23059 __feraiseexcept and define as weak alias of __feraiseexcept. Use
23060 libm_hidden_weak.
23061 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
23062 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23063 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
23064 libm_hidden_def.
23065 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23066 __feraiseexcept and define as weak alias of __feraiseexcept. Use
23067 libm_hidden_weak.
23068 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
23069 Likewise.
23070 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
23071 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23072 __feraiseexcept and define as weak alias of __feraiseexcept. Use
23073 libm_hidden_weak.
23074 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23075 libm_hidden_def.
23076 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23077 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
23078 (__feraiseexcept): Likewise.
23079 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23080 __feraiseexcept and define as weak alias of __feraiseexcept. Use
23081 libm_hidden_weak.
23082 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23083 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23084 libm_hidden_def.
23085 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23086 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23087 Use libm_hidden_def.
23088 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23089 libm_hidden_def.
23090 (feraiseexcept): Define as weak not strong alias. Use
23091 libm_hidden_weak.
23092 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
23093 New inline function. Factored out of ...
23094 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
23095 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
23096 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
23097 feraiseexcept.
23098 * math/w_acos.c (__acos): Likewise.
23099 * math/w_asin.c (__asin): Likewise.
23100 * math/w_ilogb.c (__ilogb): Likewise.
23101 * math/w_j0.c (y0): Likewise.
23102 * math/w_j1.c (y1): Likewise.
23103 * math/w_jn.c (yn): Likewise.
23104 * math/w_log.c (__log): Likewise.
23105 * math/w_log10.c (__log10): Likewise.
23106 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
23107 * sysdeps/aarch64/fpu/math_private.h
23108 (libc_feupdateenv_test_aarch64): Likewise.
23109 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23110 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
23111 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
23112 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23113 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23114 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23115 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
23116 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23117 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23118 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23119
23120 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
23121
23122 [BZ #17732]
23123 * io/test-utime.c (main): Replace %ld with %jd and cast to
23124 intmax_t.
23125 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
23126 * nptl/tst-mutex5.c: Include <stdint.h>.
23127 (do_test): Replace %ld with %jd and cast to intmax_t.
23128 * posix/tst-regex.c (run_test): Likewise.
23129 (run_test_backwards): Likewise.
23130 * rt/tst-clock.c: Include <stdint.h>.
23131 (clock_test): Replace %ld with %jd and cast to intmax_t.
23132 * rt/tst-cpuclock1.c: Include <stdint.h>.
23133 (do_test): Replace %lu with %ju and cast to uintmax_t.
23134 * rt/tst-cpuclock2.c: Include <stdint.h>.
23135 (do_test): Replace %lu with %ju and cast to uintmax_t.
23136 * rt/tst-mqueue1.c: Include <stdint.h>.
23137 (check_attrs): Replace %ld with %jd and cast to intmax_t.
23138 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
23139 intmax_t.
23140 * rt/tst-mqueue4.c (do_test): Likewise.
23141 * rt/tst-timer4.c: Include <stdint.h>.
23142 (check_ts): Replace %ld with %jd and cast to intmax_t.
23143 (do_test): Likewise.
23144 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
23145 and cast to intmax_t.
23146 * sysdeps/pthread/tst-timer.c (main): Likewise.
23147 * time/clocktest.c (main): Likewise.
23148 * time/tst-posixtz.c (do_test): Likewise.
23149 * timezone/tst-timezone.c (main): Likewise.
23150
23151 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
23152 H.J. Lu <hongjiu.lu@intel.com>
23153
23154 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
23155 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23156 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
23157 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
23158 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
23159 version if bit_Fast_Unaligned_Load is set.
23160 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23161 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23162 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23163 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23164 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23165 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23167 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
23168 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
23169 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
23170 to 4.
23171 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
23172 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
23173 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
23174 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
23175
23176 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
23177
23178 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
23179 instead of #if to avoid a Wundef warning.
23180 * stdlib/tst-limits.c (do_test): Likewise.
23181
23182 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
23183 parallel other exception macros.
23184 (fegetenv): Convert from macro to extern inline so that it applies
23185 retroactively to inline functions already seen by the compiler.
23186 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
23187
23188 * posix/Makefile (before-compile): Use $(objpfx) for
23189 posix-conf-vars-def.h.
23190
23191 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23192
23193 * posix/getconf.c (main): Use size_t for type of I.
23194 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
23195 NSPEC.
23196
23197 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
23198 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
23199 * posix/posix-envs.def: Likewise.
23200 * sysdeps/posix/sysconf.c: Likewise.
23201 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
23202 (specs): Remove array.
23203 * scripts/gen-posix-conf-vars.awk: Support generation of specs
23204 array.
23205
23206 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23207 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23208 (__sysconf): Use CONF_IS_* macros.
23209
23210 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23211 ($(objpfx)posix-conf-vars-def.h): New target.
23212 * posix/posix-conf-vars.list: New file.
23213 * posix/posix-conf-vars.h: New file.
23214 * posix/confstr.c: Include posix-conf-vars.h.
23215 (confstr): Use CONF_IS_* macros.
23216 * posix/posix-envs.def: Include posix-conf-vars.h. Use
23217 CONF_IS_* macros.
23218 * scripts/gen-posix-conf-vars.awk: New file.
23219
23220 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
23221
23222 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23223 fegetround): Add no-op macros to avoid linknamespace issues.
23224
23225 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23226 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23227
23228 * sysdeps/unix/sysv/linux/tile/sysdep.h
23229 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23230 assembly-specific section to avoid a redefinition warning.
23231
23232 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23233 long before casting to pointer to avoid a cast warning.
23234
23235 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
23236
23237 * sysdeps/tile/tilegx/Implies: New file.
23238
23239 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
23240
23241 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23242
23243 2014-12-23 Florian Weimer <fweimer@redhat.com>
23244
23245 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23246
23247 2014-12-22 Joseph Myers <joseph@codesourcery.com>
23248
23249 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23250 not define.
23251 * sysdeps/unix/sysv/linux/utimes.c: Do not include
23252 <kernel-features.h>.
23253 (__utimes) [__NR_utimes]: Make code unconditional.
23254 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23255 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23256 (__ASSUME_UTIMES): Do not undefine.
23257 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23258 (__ASSUME_UTIMES): Likewise.
23259 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23260 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23261 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23262 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23263
23264 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
23265
23266 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23267
23268 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
23269
23270 [BZ #17747]
23271 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23272 alias to weak alias for j0l, y0l.
23273 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23274 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23275
23276 [BZ #17746]
23277 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23278 conversion.
23279
23280 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
23281
23282 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23283 to zero if not already defined.
23284
23285 2014-12-22 Joseph Myers <joseph@codesourcery.com>
23286
23287 [BZ #17724]
23288 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23289 (__kernel_standard_f): Remove. Moved to k_standardf.c.
23290 (__kernel_standard_l): Remove. Moved to k_standardl.c with
23291 (char *) casts added.
23292 * sysdeps/ieee754/k_standardf.c: New file.
23293 * sysdeps/ieee754/k_standardl.c: Likewise.
23294 * math/Makefile (libm-support): Remove k_standard.
23295 (libm-calls): Add k_standard.
23296
23297 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
23298
23299 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23300 Optimize to avoid an unnecessary FPCR read.
23301
23302 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
23303
23304 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23305 Optimize to reduce FPCR/FPSR accesses.
23306
23307 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
23308
23309 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23310 Call libc_fetestexcept_aarch64.
23311
23312 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
23313
23314 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23315 Call libc_fesetround_aarch64.
23316
23317 2014-12-22 Joseph Myers <joseph@codesourcery.com>
23318
23319 [BZ #17733]
23320 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23321 (__bind): Do not define as weak alias.
23322 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23323 define.
23324 (__getsockname): Do not define as weak alias.
23325
23326 2014-12-22 Will Newton <will.newton@linaro.org>
23327
23328 * manual/install.texi: Document that we require bison 2.7
23329 or above.
23330 * INSTALL: Regenerate.
23331 * configure.ac: Use AC_CHECK_PROG_VER instead of
23332 AC_PATH_PROG when checking for bison and check for
23333 version 2.7 or above.
23334 * configure: Regenerate.
23335
23336 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
23337
23338 [BZ #17745]
23339 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23340 * sysdeps/tile/ffsll.c (ffsll): To here.
23341
23342 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23343
23344 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
23345
23346 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23347 if not defined.
23348 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23349 definition.
23350 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23351 hidden ___tls_get_addr.
23352 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23353 hidden __tls_get_addr.
23354 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23355 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23356 Likewise.
23357
23358 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
23359
23360 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
23361 _dl_init call.
23362
23363 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
23364
23365 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
23366 from "call _dl_init@PLT".
23367 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
23368
23369 2014-12-21 Anders Kaseorg <andersk@mit.edu>
23370
23371 * manual/search.texi: (Array Sort Function): Clarify stable sorting
23372 guarantees.
23373
23374 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
23375
23376 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
23377
23378 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
23379
23380 [BZ #17744]
23381 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
23382 strnlen.
23383
23384 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
23385
23386 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
23387 of multu on MIPSr6.
23388 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
23389 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
23390 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
23391 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
23392 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
23393
23394 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
23395
23396 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
23397 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
23398 (PTR_SUBU): Use subu for mips32r6/mips64r6.
23399 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
23400 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
23401 mips32r6/mips64r6.
23402 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
23403
23404 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
23405
23406 * string/strncat.c (STRNCAT): Simplify implementation.
23407
23408 2014-12-19 David S. Miller <davem@davemloft.net>
23409
23410 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
23411 access the quad as both a long double and as a series of 4 words.
23412
23413 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
23414 link_map->l_info array access.
23415
23416 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
23417
23418 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
23419
23420 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
23421 * math/atest-exp2.c (TIMEOUT): Likewise.
23422 * math/atest-sincos.c (TIMEOUT): Likewise.
23423
23424 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
23425
23426 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
23427 -Wno-error with -fno-builtin-lround.
23428
23429 2014-12-19 Torvald Riegel <triegel@redhat.com>
23430
23431 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
23432 Contains futex constants and functions moved over from ...
23433 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
23434 <lowlevellock-futex.h>.
23435 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23436 (lll_timedwait_tid): Add comments and parentheses around macro
23437 arguments.
23438
23439 2014-12-19 Torvald Riegel <triegel@redhat.com>
23440
23441 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
23442 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
23443 (__lll_private_flag): Remove.
23444 (lll_futex_wait): Likewise.
23445 (lll_futex_timed_wait): Likewise.
23446 (lll_futex_wake): Likewise.
23447 (lll_futex_requeue): Likewise.
23448 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23449 (__lll_timedwait_tid): Spell out argument names.
23450 (lll_timedwait_tid): Add comments and parentheses around macro
23451 arguments.
23452 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23453 LLL_SHARED and LLL_PRIVATE usable from assembly code.
23454
23455 2014-12-19 Torvald Riegel <triegel@redhat.com>
23456
23457 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23458 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23459 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23460 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23461 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23462 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23463 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23464 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23465 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23466 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23467 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23468 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23469 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23470 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23471 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23472 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23473 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23474 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23475 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23476
23477 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
23478
23479 * sysdeps/x86_64/x32/Makefile: New file.
23480
23481 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
23482
23483 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23484 1L with (mp_limb_t) 1.
23485
23486 2014-12-17 Roland McGrath <roland@hack.frob.com>
23487
23488 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23489 * nptl/libc_pthread_init.c: ... here.
23490 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23491 * nptl/register-atfork.c: ... here.
23492
23493 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23494 Use pthread_sigmask rather than INTERNAL_SYSCALL.
23495 Use assert_perror to check its return value.
23496 (__gai_create_helper_thread): Likewise.
23497
23498 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23499
23500 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23501
23502 2014-12-17 Joseph Myers <joseph@codesourcery.com>
23503
23504 [BZ #17725]
23505 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23506 __profil_counter.
23507 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23508 Likewise.
23509 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23510 Likewise.
23511 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23512 Likewise.
23513 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23514 (profil_counter): Likewise.
23515 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23516 (profil_counter): Likewise.
23517 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23518 Likewise.
23519 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23520 Likewise.
23521 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23522 (profil_counter): Likewise.
23523 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23524 Likewise.
23525 [!__profil_counter] (profil_counter): Define as weak alias of
23526 __profil_counter.
23527 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23528 (profil_counter): Rename to __profil_counter.
23529 [!__profil_counter] (profil_counter): Define as weak alias of
23530 __profil_counter.
23531 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23532 (profil_counter): Rename to __profil_counter.
23533 [!__profil_counter] (profil_counter): Define as weak alias of
23534 __profil_counter.
23535 * sysdeps/posix/profil.c: Update comment referring to
23536 profil_counter.
23537 (__profil): Use __profil_counter instead of profil_counter.
23538 * sysdeps/posix/sprofil.c (profil_counter): Rename to
23539 __profil_counter. Use __profil_counter_ushort and
23540 __profil_counter_uint in definitions.
23541 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23542 instead of profil_counter_uint and profil_counter_ushort.
23543
23544 [BZ #17722]
23545 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23546 define as weak alias of __inet_makeaddr.
23547 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23548 as weak alias of __inet_addr.
23549 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23550 as weak alias of __inet_pton. Use libc_hidden_weak.
23551 * include/arpa/inet.h (__inet_pton): Declare. Use
23552 libc_hidden_proto.
23553 (inet_makeaddr): Don't use libc_hidden_proto.
23554 (__inet_makeaddr): Declare. Use libc_hidden_proto.
23555 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23556 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
23557 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23558 Remove variable.
23559 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23560 (test-xfail-POSIX/time.h/linknamespace): Likewise.
23561
23562 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
23563
23564 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23565
23566 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
23567
23568 * stdio-common/bug-vfprintf-nargs.c (do_test):
23569 Cast value to intptr_t to avoid format warning
23570 for usage with PRIdPTR printing macro.
23571
23572 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
23573
23574 * libio/tst-widetext.c (do_test):
23575 Use format type %td instead of %Zd for ptrdiff_t
23576 in order to avoid format warning.
23577
23578 2014-12-17 Andreas Schwab <schwab@suse.de>
23579
23580 * nscd/mem.c (gc): Add size_t cast to match printf format.
23581
23582 2014-12-16 Roland McGrath <roland@hack.frob.com>
23583
23584 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23585 (init): Apply PTR_MANGLE to pointers before storing them.
23586 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23587 before using them.
23588
23589 2014-12-16 Joseph Myers <joseph@codesourcery.com>
23590
23591 [BZ #17719]
23592 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23593 define as weak alias of __memrchr.
23594 (__memrchr): Do not define as strong alias of memrchr.
23595 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23596 Remove variable.
23597 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23598 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23599 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23600
23601 [BZ #17717]
23602 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23603 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
23604 (if_indextoname): Rename to __if_indextoname and define as weak
23605 alias of __if_indextoname. Use libc_hidden_weak.
23606 (if_freenameindex): Rename to __if_freenameindex and define as
23607 weak alias of __if_freenameindex.
23608 (if_nameindex): Rename to __if_nameindex and define as weak alias
23609 of __if_nameindex.
23610 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23611 __if_nametoindex and define as weak alias of __if_nametoindex.
23612 Use libc_hidden_weak.
23613 (if_freenameindex): Rename to __if_freenameindex and define as
23614 weak alias of __if_freenameindex.
23615 (if_nameindex): Rename to __if_nameindex and define as weak alias
23616 of __if_nameindex.
23617 (if_indextoname): Rename to __if_indextoname and define as weak
23618 alias of __if_indextoname. Use libc_hidden_weak.
23619 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23620 __if_nametoindex and define as weak alias of __if_nametoindex.
23621 Use libc_hidden_weak.
23622 (if_freenameindex): Rename to __if_freenameindex and define as
23623 weak alias of __if_freenameindex. Use libc_hidden_weak.
23624 (if_nameindex_netlink): Use __if_freenameindex instead of
23625 if_freenameindex.
23626 (if_nameindex): Rename to __if_nameindex and define as weak alias
23627 of __if_nameindex. Use libc_hidden_weak.
23628 (if_indextoname): Rename to __if_indextoname and define as weak
23629 alias of __if_indextoname. Use libc_hidden_weak.
23630 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23631 libc_hidden_proto.
23632 [!_ISOMAC] (__if_freenameindex): Likewise.
23633 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23634 if_nametoindex.
23635 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23636 variable.
23637 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23638 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23639 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23640 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23641 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23642 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23643 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23644
23645 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23646 Remove variable.
23647 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23648 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23649
23650 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23651
23652 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23653 subscript above bounds'
23654
23655 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23656 bounds.
23657
23658 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
23659
23660 * libio/tst-fopenloc.c: Use test-skeleton.c.
23661
23662 * stdlib/tst-bsearch.c: Use test-skeleton.c.
23663 (entry): Rename to ITEM.
23664 (do_test, comp): Adjust.
23665
23666 * stdio-common/tst-fseek.c: Use test-skeleton.c.
23667
23668 2014-12-16 Torvald Riegel <triegel@redhat.com>
23669
23670 * string/tester.c: Include <libc-internal.h>.
23671 (test_memset): Ignore -Wmemset-transposed-args.
23672
23673 2014-12-16 Torvald Riegel <triegel@redhat.com>
23674
23675 * misc/tst-mntent2.c (do_test): Fix warning.
23676
23677 2014-12-16 Torvald Riegel <triegel@redhat.com>
23678
23679 * elf/tst-unique4lib.cc(a): Mark as used.
23680
23681 2014-12-16 Florian Weimer <fweimer@redhat.com>
23682
23683 [BZ #17630]
23684 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23685 names.
23686
23687 2014-12-16 Allan McRae <allan@archlinux.org>
23688
23689 * stdio-common/Makefile (tests): Re-add bug26.
23690
23691 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
23692
23693 [BZ #17657]
23694 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23695 static array.
23696
23697 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
23698
23699 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23700 (__lll_lock_wait): Likewise.
23701 (__lll_timedlock_wait): Likewise.
23702 (__lll_timedwait_tid): Likewise.
23703 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23704 (__lll_robust_timedlock_wait): Likewise.
23705 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23706 (lll_cond_trylock): Likewise.
23707 (__lll_lock): Likewise.
23708 (__lll_robust_lock): Likewise.
23709 (__lll_cond_lock): Likewise.
23710 (lll_robust_cond_lock): Likewise.
23711 (__lll_timedlock): Likewise.
23712 (__lll_robust_timedlock): Likewise.
23713 (__lll_unlock): Likewise.
23714 (__lll_robust_unlock): Likewise.
23715 (lll_wait_tid): Likewise.
23716 (lll_timedwait_tid): Likewise.
23717
23718 2014-12-15 Torvald Riegel <triegel@redhat.com>
23719
23720 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23721
23722 2014-12-15 Torvald Riegel <triegel@redhat.com>
23723
23724 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23725
23726 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
23727
23728 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23729 * stdio-common/tst-sprintf.c: Likewise.
23730
23731 2014-12-15 Torvald Riegel <triegel@redhat.com>
23732
23733 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23734
23735 2014-12-15 Jeff Law <law@redhat.com>
23736
23737 [BZ #16617]
23738 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23739 on the heap. (CVE-2012-3406)
23740 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23741 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
23742 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23743
23744 2014-12-15 Will Newton <will.newton@linaro.org>
23745
23746 * manual/install.texi: Bump required version of texinfo
23747 to 4.7 from 4.5.
23748 * INSTALL: Regenerated.
23749 * configure.ac: Check for makeinfo version 4.7 and above.
23750 * configure: Regenerated.
23751
23752 2014-12-12 Roland McGrath <roland@hack.frob.com>
23753
23754 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23755 PREFIX, string constant to insert between directory and name.
23756 * sysdeps/posix/shm_open.c: Update caller.
23757 * sysdeps/posix/shm_unlink.c: Likewise.
23758 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23759 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23760 (SEM_SHM_PREFIX): New macro.
23761 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23762 [$(have-thread-library) = no].
23763 * nptl/Makefile (libpthread-routines): Add shm-directory.
23764 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23765 * sysdeps/nptl/shm-directory.h: New file.
23766 * sysdeps/posix/shm-directory.c
23767 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23768 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23769 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23770 INTERNAL_SYSCALL.
23771 (__where_is_shmfs): Function removed.
23772 (mountpoint, defaultmount, defaultdir, __namedsem_once):
23773 Variables removed.
23774 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23775 Use SHM_GET_NAME.
23776 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
23777
23778 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23779 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23780 unconditional for use inside libpthread.
23781 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23782
23783 2014-12-12 Roland McGrath <roland@hack.frob.com>
23784
23785 * nptl/pthread_getaffinity.c: New file.
23786 * nptl/pthread_setaffinity.c: New file.
23787 * nptl/pthread_getname.c: New file.
23788 * nptl/pthread_setname.c: New file.
23789
23790 * nptl/pthread_create.c (START_THREAD_DEFN)
23791 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23792
23793 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
23794 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23795
23796 * resolv/res_send.c (send_vc): Disable warning resplen may
23797 be used uninitialized.
23798
23799 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
23800
23801 * nptl/tst-mutex6.c
23802 (ATTR_NULL): New define checks ATTR against NULL.
23803 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23804 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23805
23806 2014-12-11 James Lemke <jwlemke@codesourcery.com>
23807
23808 [BZ #17581]
23809 * malloc/hooks.c
23810 (mem2mem_check): Revert my previous change.
23811 (malloc_check_get_size): Revert my previous change.
23812 (mem2chunk_check): Revert my previous change.
23813
23814 2014-12-11 Roland McGrath <roland@hack.frob.com>
23815
23816 * sysdeps/posix/shm-directory.c: New file.
23817 * sysdeps/posix/shm-directory.h: New file.
23818 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23819 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23820 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
23821 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23822 Transmute EPERM to EACCES.
23823 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23824 from ...
23825 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
23826 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23827
23828 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23829
23830 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23831 pointer and cast to uintptr_t.
23832 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23833 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23834 Add cast to avoid warning.
23835 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23836
23837 2014-12-11 Joseph Myers <joseph@codesourcery.com>
23838
23839 * nptl/semaphore.h: Move to ...
23840 * sysdeps/pthread/semaphore.h: ... here.
23841 * Makefile (installed-headers): Change nptl/semaphore.h to
23842 sysdeps/pthread/semaphore.h.
23843
23844 2014-12-11 Roland McGrath <roland@hack.frob.com>
23845
23846 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23847 generated error format strings.
23848
23849 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23850 -Wformat-extra-args warnings for scanf formats.
23851 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23852 test of zero-length format (duh).
23853 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23854 corner-case scanf format test.
23855 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23856 generated fprintf format string.
23857 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23858 corner-case sprintf format tests.
23859 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23860 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23861 -Wformat-extra-args warnings throughout.
23862 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23863 (CFLAGS-scanf4.c): Likewise.
23864 (CFLAGS-scanf7.c): Likewise.
23865 (CFLAGS-tst-sprintf.c): Likewise.
23866 (CFLAGS-tst-printf.c): Likewise.
23867 (CFLAGS-tst-printfsz.c): Likewise.
23868
23869 2014-12-11 Joseph Myers <joseph@codesourcery.com>
23870
23871 * include/cpio.h: New file.
23872 * include/fmtmsg.h: Likewise.
23873
23874 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
23875 corresponding format argument to size_t.
23876 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
23877 arguments.
23878 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
23879 corresponding format argument to size_t.
23880 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
23881 arguments.
23882 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
23883 corresponding format argument to size_t.
23884 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23885 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23886 (CFLAGS-tst-mbswcs2.c): Likewise.
23887 (CFLAGS-tst-mbswcs3.c): Likewise.
23888 (CFLAGS-tst-mbswcs4.c): Likewise.
23889 (CFLAGS-tst-mbswcs5.c): Likewise.
23890 (CFLAGS-tst-trans.c): Likewise.
23891
23892 2014-12-11 Roland McGrath <roland@hack.frob.com>
23893
23894 * posix/regexbug1.c (main): Use "%s" format with regerror results,
23895 rather than assuming they won't contain any '%'s.
23896
23897 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
23898
23899 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23900 inhibit_loop_to_libcall to avoid recursive calls.
23901 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23902 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23903
23904 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
23905
23906 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23907 prototype.
23908
23909 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
23910
23911 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23912 integer value instead of boolean.
23913
23914 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
23915
23916 * malloc/malloc.c: Fix powerof2 check.
23917
23918 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23919
23920 * locale/programs/locfile.h (maybe_swap_uint32):
23921 Remove inline and add unused attribute.
23922
23923 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23924
23925 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23926 Truncating assembler expression to a .long expression.
23927
23928 2014-12-11 Andreas Schwab <schwab@suse.de>
23929
23930 * elf/rtld.c (struct map_args): Constify str member.
23931 (do_preload): Constify fname argument.
23932
23933 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23934
23935 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23936 constants definition.
23937
23938 2014-12-11 Andreas Schwab <schwab@suse.de>
23939
23940 [BZ #16657]
23941 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23942 FORCE_ELISION instead of DO_ELISION.
23943 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23944 Remove.
23945 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23946 Likewise.
23947
23948 * iconvdata/gconv-modules: Remove duplicate entry.
23949
23950 2014-12-11 Will Newton <will.newton@linaro.org>
23951
23952 Merge gettext 0.19.3 into intl/.
23953
23954 This involves a number of cosmetic changes to comments
23955 and ANSI function definitions and prototypes throughout
23956 all the files. The gettext copyright header is used but
23957 with the date ranges taken from the glibc copy.
23958
23959 * NEWS: Add gettext merge to 2.21.
23960 * intl/bindtextdom.c: Switch to gettext copyright.
23961 Use ANSI definitions and prototypes.
23962 Use gl_* locking primitives rather than __libc_* ones.
23963 Use __builtin_expect rather than __glibc_likely/unlikely.
23964 * intl/dcgettext.c: Switch to gettext copyright.
23965 Use ANSI definitions and prototypes.
23966 * intl/dcigettext.c: Switch to gettext copyright.
23967 Use ANSI definitions and prototypes.
23968 (INTDIV0_RAISES_SIGFPE): New define.
23969 Use gl_* locking primitives rather than __libc_* ones.
23970 Include eval-plural.h instead of plural-eval.c.
23971 Use __builtin_expect rather than __glibc_likely/unlikely.
23972 * intl/dcngettext.c: Switch to gettext copyright.
23973 Use ANSI definitions and prototypes.
23974 * intl/dgettext.c: Likewise.
23975 * intl/dngettext.c: Likewise.
23976 * intl/plural-eval.c: Renamed to...
23977 * intl/eval-plural.h: ...this.
23978 * intl/explodename.c: Switch to gettext copyright.
23979 Use ANSI definitions and prototypes.
23980 (_nl_explode_name): Use strchr instead of __rawmemchr.
23981 * intl/finddomain.c: Switch to gettext copyright.
23982 Use ANSI definitions and prototypes.
23983 Use gl_* locking primitives rather than __libc_* ones.
23984 (_nl_find_domain): Use malloc rather than alloca for
23985 allocation of temporary locale name.
23986 * intl/gettext.c: Switch to gettext copyright.
23987 Use ANSI definitions and prototypes.
23988 * intl/gettextP.h: Switch to gettext copyright.
23989 Use ANSI definitions and prototypes.
23990 Use gl_* locking primitives rather than __libc_* ones.
23991 * intl/gmo.h: Switch to gettext copyright.
23992 (struct sysdep_string): Move struct segment_pair outside of
23993 struct definition.
23994 * intl/hash-string.c: Use ANSI definitions and prototypes.
23995 * intl/hash-string.h: Switch to gettext copyright.
23996 Use ANSI definitions and prototypes.
23997 * intl/l10nflist.c: Switch to gettext copyright.
23998 Use ANSI definitions and prototypes.
23999 (_nl_normalize_codeset): Avoid integer overflow.
24000 * intl/loadinfo.h: Switch to gettext copyright.
24001 Use ANSI definitions and prototypes.
24002 (LIBINTL_DLL_EXPORTED): New define.
24003 (PATH_SEPARATOR): New define.
24004 * intl/loadmsgcat.c: Switch to gettext copyright.
24005 * intl/localealias.c: Switch to gettext copyright.
24006 Use ANSI definitions and prototypes.
24007 (_nl_expand_alias): Use PATH_SEPARATOR.
24008 * intl/ngettext.c: Switch to gettext copyright.
24009 Use ANSI definitions and prototypes.
24010 * intl/plural-exp.c: Likewise.
24011 * intl/plural-exp.h: Switch to gettext copyright.
24012 Use ANSI definitions and prototypes.
24013 (struct expression): Move definition of enum operator outside
24014 of struct definition.
24015 * intl/plural.c: Regenerate.
24016 * intl/plural.y: Switch to gettext copyright.
24017 Use ANSI definitions and prototypes.
24018 Port to bison 3.0.
24019 * intl/textdomain.c: Switch to gettext copyright.
24020 Use ANSI definitions and prototypes.
24021 Use gl_* locking primitives rather than __libc_* ones.
24022
24023 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
24024
24025 * debug/warning-nop.c: Add used atrribute.
24026
24027 2014-12-10 Joseph Myers <joseph@codesourcery.com>
24028
24029 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
24030
24031 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
24032 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
24033 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
24034
24035 2014-12-10 Joseph Myers <joseph@codesourcery.com>
24036 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24037
24038 [BZ #17634]
24039 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
24040 Undefine after defining function. Define as weak alias of
24041 __wcschr. Use libc_hidden_weak.
24042 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
24043 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
24044 (libc_hidden_def): Also define __GI___wcschr alias.
24045 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24046 __wcschr and define as weak alias of __wcschr.
24047 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
24048 __wcschr.
24049 [!WCSCHR] (DEFAULT_WCSCHR): Define.
24050 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
24051 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
24052 libc_hidden_weak. Do not use libc_hidden_def.
24053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
24054 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
24055 __GI___wcschr alias.
24056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
24057 [IS_IN (libc)] (wcschr): Define as macro expanding to
24058 __redirect_wcschr.
24059 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
24060 [IS_IN (libc)] (__wcschr_power6): Likewise.
24061 [IS_IN (libc)] (__wcschr_power7): Likewise.
24062 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
24063 instead of wcschr.
24064 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
24065 __libc_wcschr.
24066 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
24067 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
24068 __wcschr and define as weak alias of __wcschr. Use
24069 libc_hidden_builtin_def.
24070 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
24071 as weak alias of __wcschr. Use libc_hidden_weak.
24072 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
24073 wcschr.
24074 * time/era.c (_nl_init_era_entries): Likewise.
24075 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
24076 variable.
24077 (test-xfail-XPG3/time.h/linknamespace): Likewise.
24078 (test-xfail-XPG4/time.h/linknamespace): Likewise.
24079
24080 2014-12-10 Joseph Myers <joseph@codesourcery.com>
24081
24082 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24083 format for long int variable.
24084
24085 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
24086
24087 [BZ #10672]
24088 * manual/search.texi: (Array Sort Function): Remove claim how to make
24089 qsort stable.
24090
24091 2014-12-10 Andreas Schwab <schwab@suse.de>
24092
24093 [BZ #12847]
24094 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
24095 user-controlled locks.
24096
24097 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
24098
24099 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
24100 register.
24101
24102 2014-12-10 Joseph Myers <joseph@codesourcery.com>
24103
24104 * configure.ac (--disable-werror): New configure option.
24105 (enable_werror): New AC_SUBST.
24106 * configure: Regenerated.
24107 * config.make.in (enable-werror): New variable.
24108 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
24109 -Wno-error=undef.
24110 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
24111 * manual/install.texi (Configuring and compiling): Document
24112 --disable-werror.
24113 * INSTALL: Regenerated.
24114 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
24115 (CFLAGS-tst-chk2.c): Likewise.
24116 (CFLAGS-tst-chk3.c): Likewise.
24117 (CFLAGS-tst-chk4.cc): Likewise.
24118 (CFLAGS-tst-chk5.cc): Likewise.
24119 (CFLAGS-tst-chk6.cc): Likewise.
24120 (CFLAGS-tst-lfschk1.c): Likewise.
24121 (CFLAGS-tst-lfschk2.c): Likewise.
24122 (CFLAGS-tst-lfschk3.c): Likewise.
24123 (CFLAGS-tst-lfschk4.cc): Likewise.
24124 (CFLAGS-tst-lfschk5.cc): Likewise.
24125 (CFLAGS-tst-lfschk6.cc): Likewise.
24126
24127 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
24128 (main): Disable -Wdeprecated-declarations around calls to
24129 register_printf_function.
24130
24131 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
24132 (do_test): Disable -Wdiv-by-zero around some calls to
24133 fwrite_unlocked and fread_unlocked.
24134
24135 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
24136 (DIAG_POP_NEEDS_COMMENT): Likewise.
24137 (_DIAG_STR1): Likewise.
24138 (_DIAG_STR): Likewise.
24139 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
24140 * stdio-common/bug21.c: Include <libc-internal.h>.
24141 (do_test): Disable -Wformat around call to sscanf.
24142 * stdio-common/scanf14.c: Include <libc-internal.h>.
24143 (main): Disable -Wformat around some calls to scanf functions.
24144
24145 2014-12-09 Torvald Riegel <triegel@redhat.com>
24146
24147 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24148
24149 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24150
24151 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
24152 stack variable alignment.
24153
24154 2014-12-06 Joseph Myers <joseph@codesourcery.com>
24155
24156 [BZ #17682]
24157 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
24158 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
24159 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
24160 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
24161 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
24162 __getrlimit instead of getrlimit.
24163 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
24164 __gettimeofday instead of gettimeofday.
24165 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24166 Likewise.
24167 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24168 Likewise.
24169 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24170 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24171 Remove variable.
24172 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24173 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24174
24175 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24176
24177 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
24178 for wide-character tests.
24179
24180 2014-12-04 Roland McGrath <roland@hack.frob.com>
24181
24182 * io/openat64.c: #include <libc-internal.h>
24183 (__openat64): Prototypify. Use ignore_value on MODE.
24184 * io/openat.c: Likewise.
24185 * misc/reboot.c: #include <libc-internal.h>
24186 (reboot): Prototypify. Use ignore_value on HOWTO.
24187 * misc/ptrace.c: #include <libc-internal.h>
24188 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
24189
24190 2014-12-04 Joseph Myers <joseph@codesourcery.com>
24191
24192 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
24193 XPG4, UNIX98 and XOPEN2K.
24194 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
24195 Remove variable.
24196 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24197
24198 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24199
24200 * libio/fileops.c: Use ISO C style for function definitions.
24201 * libio/iofopen.c: Likewise.
24202 * libio/wfileops.c: Likewise.
24203
24204 [BZ #17653]
24205 * libio/fileops.c (_IO_new_file_underflow): Unset cached
24206 offset on EOF.
24207 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24208 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24209 (fgets_func): Function pointer to fgets and fgetws.
24210 (do_ftell_test): Add test to verify ftell value after read
24211 EOF.
24212 (do_test): Set fgets_func.
24213
24214 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24215 O_TRUNC flag for w and w+ modes.
24216 (do_rewind_test): Likewise.
24217 (do_ftell_test): Likewise.
24218 (do_write_test): Likewise.
24219
24220 [BZ #17647]
24221 * libio/fileops.c (do_ftell): Seek only when there are
24222 unflushed writes.
24223 * libio/wfileops.c (do_ftell_wide): Likewise.
24224 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24225 test case.
24226 (do_one_test): Call it.
24227
24228 2014-12-03 Joseph Myers <joseph@codesourcery.com>
24229
24230 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24231 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24232 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24233 Remove variable.
24234 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24235 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24236 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24237
24238 2014-12-02 Joseph Myers <joseph@codesourcery.com>
24239
24240 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24241 Remove variable.
24242 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24243
24244 [BZ #17668]
24245 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24246 as weak alias of __getifaddrs. Use libc_hidden_weak.
24247 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24248 __freeifaddrs. Use libc_hidden_weak.
24249 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24250 define as weak alias of __getifaddrs. Use libc_hidden_weak.
24251 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24252 __freeifaddrs. Use libc_hidden_weak.
24253 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24254 __getifaddrs and define as weak alias of __getifaddrs. Use
24255 libc_hidden_weak.
24256 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24257 __freeifaddrs. Use libc_hidden_weak.
24258 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24259 Remove variable.
24260 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24261 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24262
24263 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
24264
24265 [BZ #17601]
24266 * sysdeps/mips/start.S (__start): Use indirect jump to call
24267 __libc_start_main.
24268
24269 2014-12-02 Joseph Myers <joseph@codesourcery.com>
24270
24271 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24272
24273 * nptl/tst-mutex1.c: Include <stdbool.h>.
24274 [!ATTR] (ATTR_NULL): New macro.
24275 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24276 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24277 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24278
24279 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24280 to char *.
24281
24282 [BZ #17665]
24283 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24284 Change conditional to [__USE_MISC].
24285
24286 [BZ #17664]
24287 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24288 fgets_unlocked.
24289 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24290 __fgets_unlocked.
24291 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24292 fgets_unlocked.
24293 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24294 Remove variable.
24295 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24296 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24297 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24298 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24299 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24300 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24301 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24302 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24303 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24304
24305 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24306
24307 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24308
24309 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24310 Remove strpbrk objects.
24311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24312 (__libc_ifunc_impl_list): Remove strpbrk implementation.
24313 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24314 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24315 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24316 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24317
24318 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24319 Remove strcspn objects.
24320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24321 (__libc_ifunc_impl_list): Remove strcspn implementation.
24322 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24323 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24324 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24325 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24326
24327 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24328 Remove strspn objetcs.
24329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24330 (__libc_ifunc_impl_list): Remove strspn implementation.
24331 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24332 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24333 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24334 * sysdeps/powerpc/powerpc64/strspn.S: New file.
24335
24336 2014-12-01 James Lemke <jwlemke@codesourcery.com>
24337
24338 [BZ #17581]
24339 * malloc/hooks.c
24340 (mem2mem_check): Add a terminator to the chain of checking blocks.
24341 (malloc_check_get_size): Use it here.
24342 (mem2chunk_check): Ditto.
24343
24344 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24345
24346 * sysdeps/powerpc/powerpc64/strtok.S: New file.
24347 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24348
24349 2014-11-29 Carlos O'Donell <carlos@redhat.com>
24350
24351 * bits/ioctl-types.h: Indent preprocessor directives correctly.
24352
24353 * nptl/nptl-init.c: Include libc-internal.h.
24354 (__pthread_initialize_minimal_internal): Use ROUND_UP.
24355
24356 * elf/ldconfig.c (search_dir): Expand comment.
24357
24358 2014-11-29 Joseph Myers <joseph@codesourcery.com>
24359
24360 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
24361 variable.
24362 (linknamespace-symlist-stdlibs-tests): Likewise.
24363 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
24364 instead of $(objpfx)symlist-stdlibs.
24365 (linknamespace-libs-isoc): New variable.
24366 (linknamespace-libs): Use $(linknamespace-libs-isoc).
24367 (linknamespace-libs-ISO): New variable.
24368 (linknamespace-libs-ISO99): Likewise.
24369 (linknamespace-libs-ISO11): Likewise.
24370 (linknamespace-libs-XPG3): Likewise.
24371 (linknamespace-libs-XPG4): Likewise.
24372 (linknamespace-libs-POSIX): Likewise.
24373 (linknamespace-libs-UNIX98): Likewise.
24374 (linknamespace-libs-XOPEN2K): Likewise.
24375 (linknamespace-libs-POSIX2008): Likewise.
24376 (linknamespace-libs-XOPEN2K8): Likewise.
24377 ($(objpfx)symlist-stdlibs): Replace by
24378 $(linknamespace-symlist-stdlibs-tests). Use
24379 $(linknamespace-libs-$*) as set of libraries.
24380 ($(linknamespace-header-tests)): Update dependencies. Use
24381 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
24382 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
24383 * conform/linknamespace.pl: Remove comment about considering
24384 definitions of symbols from irrelevant libraries.
24385
24386 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
24387
24388 [BZ #13862]
24389 * elf/dl-tls.c: Include <atomic.h>.
24390 (oom): Remove #ifdef SHARED/#endif.
24391 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
24392 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
24393 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
24394 big enough.
24395 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
24396 * nptl/Makefile (tests): Add tst-stack4.
24397 (modules-names): Add tst-stack4mod.
24398 ($(objpfx)tst-stack4): New.
24399 (tst-stack4mod.sos): Likewise.
24400 ($(objpfx)tst-stack4.out): Likewise.
24401 ($(tst-stack4mod.sos)): Likewise.
24402 (clean): Likewise.
24403 * nptl/tst-stack4.c: New file.
24404 * nptl/tst-stack4mod.c: Likewise.
24405
24406 2014-11-27 J. Brown <jb999@gmx.de>
24407
24408 * sysdeps/x86/bits/string.h: Add recent CPUs.
24409
24410 2014-11-27 Joseph Myers <joseph@codesourcery.com>
24411
24412 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
24413 sigblock.
24414
24415 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
24416 feof.
24417
24418 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
24419 variable.
24420
24421 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
24422
24423 * nscd/connections.c: Include libc-internal.h because of macro
24424 usage ignore_value.
24425
24426 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24427
24428 * string/bits/string3.h (__warn_memset_zero_len): Don't
24429 declare for gcc newer than 5.0.
24430 (memset): Don't test for zero-length __LEN for gcc newer than
24431 5.0.
24432
24433 2014-11-27 Joseph Myers <joseph@codesourcery.com>
24434
24435 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
24436 size_t for %zu format.
24437
24438 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
24439 difference, not %ju.
24440
24441 2014-11-26 Joseph Myers <joseph@codesourcery.com>
24442
24443 * include/libc-internal.h (ignore_value): New macro.
24444 * nscd/connections.c (restart): Wrap calls to setuid and setgid
24445 with ignore_value.
24446
24447 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
24448 definition.
24449
24450 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
24451 pthread_cleanup_push to void *.
24452
24453 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24454 Undefine.
24455
24456 [BZ #16619]
24457 [BZ #16740]
24458 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24459 instead of 1L << 52.
24460
24461 * libio/bug-rewind.c (do_test): Check fwscanf return values.
24462 * libio/bug-rewind2.c (do_test): Likewise.
24463
24464 * debug/test-stpcpy_chk-ifunc.c: Remove file.
24465 * debug/test-strcpy_chk-ifunc.c: Likewise.
24466 * wcsmbs/test-wcschr-ifunc.c: Likewise.
24467 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24468 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24469 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24470 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24471 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24472 * Rules [$(multi-arch) = no] (tests): Do not filter out
24473 $(tests-ifunc).
24474 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24475 * debug/Makefile (tests-ifunc): Remove variable.
24476 (tests): Do not add $(tests-ifunc).
24477 * wcsmbs/Makefile (tests-ifunc): Remove variable.
24478 (tests): Do not add $(tests-ifunc).
24479 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24480 [TEST_IFUNC]: Remove conditionals.
24481 * string/test-string.h (TEST_IFUNC): Remove macro.
24482 [TEST_IFUNC]: Remove conditionals.
24483
24484 * string/test-strchr.c [!WIDE] (L): New macro.
24485 [WIDE] (L): Likewise.
24486 (check1): Use CHAR instead of char. Use L on string and character
24487 constants.
24488
24489 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
24490
24491 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24492 tests.
24493 * sysdeps/powerpc/bits/atomic.h
24494 (__arch_atomic_exchange_and_add_32_acq): Add definition.
24495 (__arch_atomic_exchange_and_add_32_rel): Likewise.
24496 (atomic_exchange_and_add_acq): Likewise.
24497 (atomic_exchange_and_add_rel): Likewise.
24498 * sysdeps/powerpc/powerpc32/bits/atomic.h
24499 (__arch_atomic_exchange_and_add_64_acq): Add definition.
24500 (__arch_atomic_exchange_and_add_64_rel): Likewise.
24501 * sysdeps/powerpc/powerpc64/bits/atomic.h
24502 (__arch_atomic_exchange_and_add_64_acq): Add definition.
24503 (__arch_atomic_exchange_and_add_64_rel): Likewise.
24504
24505 2014-11-26 Torvald Riegel <triegel@redhat.com>
24506
24507 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24508 Change synchronization of __sched_fifo_min_prio and
24509 __sched_fifo_max_prio.
24510 * nptl/pthread_mutexattr_getprioceiling.c
24511 (pthread_mutexattr_getprioceiling): Likewise.
24512 * nptl/pthread_mutexattr_setprioceiling.c
24513 (pthread_mutexattr_setprioceiling): Likewise.
24514 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24515 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24516 Likewise.
24517
24518 2014-11-26 Joseph Myers <joseph@codesourcery.com>
24519
24520 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24521 void.
24522
24523 2014-11-25 Joseph Myers <joseph@codesourcery.com>
24524
24525 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24526 third argument const.
24527
24528 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
24529
24530 fnmatch: work around GCC compiler warning bug with uninit var
24531 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24532 This works around a bug with x86-64 GCC 4.9.2 and earlier
24533 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24534 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24535 used uninitialized in this function [-Wmaybe-uninitialized]".
24536
24537 2014-11-25 Joseph Myers <joseph@codesourcery.com>
24538
24539 * posix/bug-regex31.c (main): Return RES not 0.
24540
24541 2014-11-25 Anton Blanchard <anton@samba.org>
24542
24543 * sysdeps/powerpc/bits/atomic.h
24544 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24545
24546 2014-11-24 Sterling Augustine <saugustine@google.com>
24547
24548 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24549
24550 2014-11-24 Ryan Cumming <etaoins@gmail.com>
24551
24552 [BZ #17608]
24553 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24554
24555 2014-11-24 Joseph Myers <joseph@codesourcery.com>
24556
24557 [BZ #17633]
24558 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24559 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24560 variable.
24561 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24562 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24563
24564 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
24565
24566 * string/strncpy.c (strncpy): Improve performance by using memset.
24567
24568 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
24569
24570 * string/strcpy.c (strcpy):
24571 Improve performance by using strlen and memcpy.
24572
24573 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
24574
24575 * string/strcoll_l.c (get_next_seq): __always_inline.
24576 * string/strcoll_l.c (do_compare): __always_inline.
24577
24578 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24579
24580 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24581 defined.
24582 * include/mqueue.h: Likewise.
24583 * include/stdlib.h: Likewise.
24584
24585 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24586 (get_null_defines): Adjust.
24587 * sunrpc/Makefile: Adjust comment.
24588 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24589 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24590 (CFLAGS-interp.c): Likewise.
24591 (CFLAGS-ldconfig.c): Likewise.
24592 (CPPFLAGS-.os): Likewise.
24593 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24594 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24595 * extra-modules.mk (extra-modules.mk): Likewise.
24596 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24597 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24598 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24599 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24600 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24601 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24602 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24603 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24604 * iconvdata/Makefile (CPPFLAGS): Likewise.
24605 (cpp-srcs-left): Add libof for all iconvdata routines.
24606 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24607 * include/assert.h: Likewise.
24608 * include/ctype.h: Likewise.
24609 * include/errno.h: Likewise.
24610 * include/libc-symbols.h: Likewise.
24611 * include/math.h: Likewise.
24612 * include/netdb.h: Likewise.
24613 * include/resolv.h: Likewise.
24614 * include/stdio.h: Likewise.
24615 * include/stdlib.h: Likewise.
24616 * include/string.h: Likewise.
24617 * include/sys/stat.h: Likewise.
24618 * include/wctype.h: Likewise.
24619 * intl/l10nflist.c: Likewise.
24620 * libidn/idn-stub.c: Likewise.
24621 * libio/libioP.h: Likewise.
24622 * nptl/libc_multiple_threads.c: Likewise.
24623 * nptl/pthreadP.h: Likewise.
24624 * posix/regex_internal.h: Likewise.
24625 * resolv/res_hconf.c: Likewise.
24626 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24627 * sysdeps/arm/memmove.S: Likewise.
24628 * sysdeps/arm/sysdep.h: Likewise.
24629 * sysdeps/generic/_itoa.h: Likewise.
24630 * sysdeps/generic/symbol-hacks.h: Likewise.
24631 * sysdeps/gnu/errlist.awk: Likewise.
24632 * sysdeps/gnu/errlist.c: Likewise.
24633 * sysdeps/i386/i586/memcpy.S: Likewise.
24634 * sysdeps/i386/i586/memset.S: Likewise.
24635 * sysdeps/i386/i686/memcpy.S: Likewise.
24636 * sysdeps/i386/i686/memmove.S: Likewise.
24637 * sysdeps/i386/i686/mempcpy.S: Likewise.
24638 * sysdeps/i386/i686/memset.S: Likewise.
24639 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24640 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24641 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24642 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24643 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24644 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24645 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24646 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24647 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24648 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24649 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24650 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24651 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24652 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24653 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24654 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24655 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24656 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24657 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24658 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24659 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24660 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24661 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24662 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24663 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24664 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24665 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24666 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24667 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24668 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24669 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24670 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24671 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24672 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24673 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24674 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24675 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24676 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24677 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24678 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24679 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24680 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24681 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24682 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24683 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24684 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24685 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24686 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24687 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24688 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24689 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24690 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24691 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24692 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24693 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24694 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24695 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24696 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24697 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24698 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24699 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24700 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24701 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24702 * sysdeps/nptl/bits/libc-lock.h: Likewise.
24703 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24704 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24705 * sysdeps/posix/closedir.c: Likewise.
24706 * sysdeps/posix/opendir.c: Likewise.
24707 * sysdeps/posix/readdir.c: Likewise.
24708 * sysdeps/posix/rewinddir.c: Likewise.
24709 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24710 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24711 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24712 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24713 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24714 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24715 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24716 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24717 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24718 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24719 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24720 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24721 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24722 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24723 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24724 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24725 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24726 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24727 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24728 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24729 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24730 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24731 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24732 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24733 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24734 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24735 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24736 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24737 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24738 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24739 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24740 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24741 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24742 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24743 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24744 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24745 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24746 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24747 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24748 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24749 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24750 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24751 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24752 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24753 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24754 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24755 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24756 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24757 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24758 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24759 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24760 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24761 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24762 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24763 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24764 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24765 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24766 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24767 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24768 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24769 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24770 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24771 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24772 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24773 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24774 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24775 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24776 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24777 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24778 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24779 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24780 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24781 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24782 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24783 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24784 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24785 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24786 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24787 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24788 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24789 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24790 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24791 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24792 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24793 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24794 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24795 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24796 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24797 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24798 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24799 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24800 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24801 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24802 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24803 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24804 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24805 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24806 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24807 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24808 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24809 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24810 * sysdeps/unix/alpha/sysdep.S: Likewise.
24811 * sysdeps/unix/alpha/sysdep.h: Likewise.
24812 * sysdeps/unix/make-syscalls.sh: Likewise.
24813 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24814 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24815 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24816 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24817 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24818 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24819 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24820 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24821 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24822 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24823 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24824 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24825 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24826 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24827 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24828 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24829 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24830 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24831 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24832 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24833 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24834 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24835 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24836 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24837 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24838 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24839 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24842 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24843 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24844 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24845 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24847 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24848 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24849 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24850 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24851 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24852 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24853 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24854 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24855 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24856 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24857 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24858 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24859 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24860 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24861 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24862 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24863 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24864 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24865 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24866 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24867 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24868 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24869 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24871 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24872 * sysdeps/x86_64/memcpy.S: Likewise.
24873 * sysdeps/x86_64/memmove.c: Likewise.
24874 * sysdeps/x86_64/memset.S: Likewise.
24875 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24876 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24877 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24878 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24879 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24880 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24881 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24882 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24883 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24884 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24885 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24886 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24887 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24888 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24889 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24890 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24891 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24892 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24893 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24894 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24895 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24896 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24897 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24898 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24899 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24900 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24901 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24902 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24903 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24904 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24905 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24906 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24907 * sysdeps/x86_64/strcmp.S: Likewise.
24908
24909 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24910
24911 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24912 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24913 * elf/rtld-Rules: Likewise.
24914 * elf/setup-vdso.h: Likewise.
24915 * include/assert.h: Likewise.
24916 * include/bits/stdlib-float.h: Likewise.
24917 * include/errno.h: Likewise.
24918 * include/sys/stat.h: Likewise.
24919 * include/unistd.h: Likewise.
24920 * sysdeps/aarch64/setjmp.S: Likewise.
24921 * sysdeps/alpha/setjmp.S: Likewise.
24922 * sysdeps/arm/__longjmp.S: Likewise.
24923 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24924 * sysdeps/arm/setjmp.S: Likewise.
24925 * sysdeps/arm/sysdep.h: Likewise.
24926 * sysdeps/generic/_itoa.h: Likewise.
24927 * sysdeps/generic/dl-sysdep.h: Likewise.
24928 * sysdeps/generic/ldsodefs.h: Likewise.
24929 * sysdeps/i386/dl-tls.h: Likewise.
24930 * sysdeps/i386/setjmp.S: Likewise.
24931 * sysdeps/m68k/setjmp.c: Likewise.
24932 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24933 * sysdeps/mach/hurd/opendir.c: Likewise.
24934 * sysdeps/posix/getcwd.c: Likewise.
24935 * sysdeps/posix/opendir.c: Likewise.
24936 * sysdeps/posix/profil.c: Likewise.
24937 * sysdeps/powerpc/dl-procinfo.h: Likewise.
24938 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24939 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24940 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24941 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24942 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24943 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24944 * sysdeps/s390/dl-tls.h: Likewise.
24945 * sysdeps/s390/s390-32/setjmp.S: Likewise.
24946 * sysdeps/s390/s390-64/setjmp.S: Likewise.
24947 * sysdeps/sh/sh3/setjmp.S: Likewise.
24948 * sysdeps/sh/sh4/setjmp.S: Likewise.
24949 * sysdeps/unix/alpha/sysdep.h: Likewise.
24950 * sysdeps/unix/arm/sysdep.S: Likewise.
24951 * sysdeps/unix/i386/sysdep.S: Likewise.
24952 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24953 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24954 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24955 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24956 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24957 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24958 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24959 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24960 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24961 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24962 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24963 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24964 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24967 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24968 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24969 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24970 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24971 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24972 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24973 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24974 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24975 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24976 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24977 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24978 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24979 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24980 * sysdeps/x86_64/setjmp.S: Likewise.
24981
24982 * include/math.h: Use IS_IN instead of IS_IN_libm.
24983 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24984 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24985 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24986 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24987 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24988 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24989 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24990 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24991 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24992 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24993 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24994 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24995 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24996 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24997 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24998 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24999 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25000 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
25001 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25002 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
25003 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
25004 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
25005 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
25006 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
25007 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
25008 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
25009 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
25010 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25011 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25012 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
25013 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
25014 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25015 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25017 Likewise.
25018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
25019 Likewise.
25020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
25021 Likewise.
25022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
25023 Likewise.
25024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
25025 Likewise.
25026 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25027 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
25028 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25029 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25030 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25031 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
25033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
25034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
25036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
25037 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
25038 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
25039 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25040 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25041 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25042 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25043 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25044 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25045 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25046 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
25047 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
25048 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
25049 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
25050 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
25051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25052 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
25053
25054 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
25055 * nptl/pthreadP.h: Likewise.
25056 * nptl_db/structs.def: Likewise.
25057 * sysdeps/arm/sysdep.h: Likewise.
25058 * sysdeps/nptl/bits/libc-lock.h: Likewise.
25059 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25060 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
25061 * sysdeps/unix/alpha/sysdep.h: Likewise.
25062 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25063 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25064 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25065 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25066 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25067 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25068 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25069 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25070 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25071 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25072 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25073 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25074 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25075 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25078 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25079 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25080 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25081 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25083 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25084 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25085 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25086 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25087 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25088
25089 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25090 * nptl/pthreadP.h: Likewise.
25091 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25092 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25093 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25094 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25095 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25096 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25097 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25098 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25099 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25100 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25101 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25102 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25104 Likewise.
25105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25106 Likewise.
25107 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25108 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25109 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25110 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25112 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25113 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25114 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25115
25116 * dlfcn/dladdr.c: Use IS_IN.
25117 * dlfcn/dladdr1.c: Likewise.
25118 * dlfcn/dlclose.c: Likewise.
25119 * dlfcn/dlerror.c: Likewise.
25120 * dlfcn/dlinfo.c: Likewise.
25121 * dlfcn/dlmopen.c: Likewise.
25122 * dlfcn/dlopen.c: Likewise.
25123 * dlfcn/dlsym.c: Likewise.
25124 * dlfcn/dlvsym.c: Likewise.
25125
25126 * include/ifaddrs.h: Use IS_IN.
25127 * inet/check_pf.c: Likewise.
25128 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25129 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
25130
25131 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
25132 IS_IN_ldconfig.
25133 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
25134 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
25135
25136 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
25137 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25138 IS_IN (libc).
25139
25140 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
25141
25142 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
25143 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25144 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25145 * include/libc-symbols.h (IS_IN_LIB): New macro.
25146 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
25147 * include/netdb.h: Likewise.
25148 * include/stap-probe.h: Remove all uses of IN_LIB.
25149
25150 * Makeconfig (module-cppflags-real): Define MODULE_NAME
25151 instead of IN_MODULE.
25152 * include/libc-symbols.h (IN_MODULE): Define using
25153 MODULE_NAME.
25154 (PASTE_NAME, PASTE_NAME1): New macros.
25155 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
25156 of IN_LIB.
25157 (STAP_PROBE_ASM): Likewise.
25158
25159 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
25160
25161 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
25162 __mach_init in dlopened libc.
25163
25164 2014-11-22 Mike Frysinger <vapier@gentoo.org>
25165
25166 * sysdeps/arm/preconfigure.ac: Delete EABI check.
25167 * sysdeps/arm/preconfigure: Regenerate.
25168
25169 2014-11-21 Roland McGrath <roland@hack.frob.com>
25170
25171 * nptl/pthread_create.c (__pthread_create_2_1): Set
25172 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
25173 when copying values from IATTR into PD.
25174
25175 2014-11-21 Will Newton <will.newton@linaro.org>
25176 Andrew Pinski <andrew.pinski@caviumnetworks.com>
25177
25178 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
25179 Refactor inline-asm. Also add comment.
25180
25181 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
25182 ElfW macro instead of hardcoded Elf64 types.
25183 (la_aarch64_gnu_pltenter): Likewise.
25184 * sysdeps/aarch64/dl-machine.h
25185 (elf_machine_runtime_setup): Use ElfW(Addr).
25186
25187 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
25188 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
25189 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
25190 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
25191 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
25192 (R_AARCH64_TLS_DTPMOD64): Rename to ..
25193 (R_AARCH64_TLS_DTPMOD): This.
25194 (R_AARCH64_TLS_DTPREL64): Rename to ...
25195 (R_AARCH64_TLS_DTPREL): This.
25196 (R_AARCH64_TLS_TPREL64): Rename to ...
25197 (R_AARCH64_TLS_TPREL): This.
25198 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
25199 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
25200 R_AARCH64_TLS_TPREL64.
25201 (elf_machine_rela): Likewise.
25202
25203 2014-11-21 Torvald Riegel <triegel@redhat.com>
25204
25205 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25206 by setting it to 0. 64b atomics are not supported currently.
25207
25208 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25209
25210 [BZ #16469]
25211 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25212 search domain names.
25213
25214 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25215
25216 [BZ #16469]
25217 * NEWS: Update.
25218 * resolv/res_query.c (__libc_res_nquerydomain): Retain
25219 trailing dot.
25220 * posix/tst-getaddrinfo5.c: New.
25221 * posix/Makefile (tests): Add it.
25222
25223 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25224
25225 [BZ #14498]
25226 * NEWS: Fixed.
25227 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25228 after parsing line but before break_if_match.
25229 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25230 if there is a protocol mismatch.
25231
25232 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25233
25234 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25235 because the potential race is on the user-supplied stream.
25236
25237 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25238
25239 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25240 string literal if not passed a buffer.
25241 * manual/job.texi (ctermid): Update reasoning, note deviation
25242 from posix, suggest mtasurace when not passed a buffer, for
25243 future non-preliminary safety notes.
25244
25245 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25246
25247 * manual/users.texi (cuserid): Fix MT-Safety note for the case
25248 of not passing it a buffer.
25249 Reported by Peng Haitao.
25250
25251 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25252
25253 * manual/Makefile ($(objpfx)stamp-summary): Require
25254 check-safety.sh to pass.
25255 * manual/check-safety.sh: Wish for verification that every
25256 @deftypefn and @deftypefun is followed by a @safety remark.
25257
25258 2014-11-20 Roland McGrath <roland@hack.frob.com>
25259
25260 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25261
25262 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25263 PTHREAD_CANCEL_ASYNCHRONOUS.
25264 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25265 send SIGCANCEL.
25266
25267 * nptl/default-sched.h: New file.
25268 * sysdeps/unix/sysv/linux/default-sched.h: New file.
25269 * nptl/pthread_create.c: Include it.
25270 (__pthread_create_2_1): Use collect_default_sched instead of making
25271 Linux syscalls here directly.
25272
25273 2014-11-20 Torvald Riegel <triegel@redhat.com>
25274
25275 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25276 __pthread_once): Use C11 atomics.
25277
25278 2014-11-20 Torvald Riegel <triegel@redhat.com>
25279
25280 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25281
25282 2014-11-20 Torvald Riegel <triegel@redhat.com>
25283
25284 * include/atomic.h (__atomic_link_error, __atomic_check_size,
25285 atomic_thread_fence_acquire, atomic_thread_fence_release,
25286 atomic_thread_fence_seq_cst, atomic_load_relaxed,
25287 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25288 atomic_compare_exchange_weak_relaxed,
25289 atomic_compare_exchange_weak_acquire,
25290 atomic_compare_exchange_weak_release,
25291 atomic_exchange_acquire, atomic_exchange_release,
25292 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25293 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25294 atomic_fetch_and_acquire,
25295 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25296
25297 2014-11-20 Torvald Riegel <triegel@redhat.com>
25298
25299 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25300 USE_ATOMIC_COMPILER_BUILTINS): Define.
25301 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25302 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25303 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25304 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25305 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25306 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25307 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25308 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25309 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25310 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25311 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25312 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25313 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25314 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25315 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25316 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25317 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25318 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25319 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25320 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25321 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25322 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25323 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25324 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25325 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25326 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25327 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25328 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25329 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25330 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25331 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25332 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25333 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25334 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25335 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25336 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25337 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25338 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25339 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25340 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25341
25342 2014-11-19 Roland McGrath <roland@hack.frob.com>
25343
25344 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25345 the sched_priority value here. It was already checked when the user
25346 called pthread_attr_setschedparam.
25347
25348 * nptl/tst-bad-schedattr.c: New file.
25349 * nptl/Makefile (tests): Add it.
25350
25351 2014-11-19 Carlos O'Donell <carlos@redhat.com>
25352 Florian Weimer <fweimer@redhat.com>
25353 Joseph Myers <joseph@codesourcery.com>
25354 Adam Conrad <adconrad@0c3.net>
25355 Andreas Schwab <schwab@suse.de>
25356 Brooks <bmoses@google.com>
25357
25358 [BZ #17625]
25359 * wordexp-test.c (__dso_handle): Add prototype.
25360 (__register_atfork): Likewise.
25361 (__app_register_atfork): New function.
25362 (registered_forks): New global.
25363 (register_fork): New function.
25364 (test_case): Add 3 new tests for WRDE_CMDSUB.
25365 (main): Call __app_register_atfork.
25366 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
25367 fork count is non-zero fail the test.
25368 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25369 is set.
25370 (parse_dollars): Remove check for WRDE_NOCMD.
25371 (parse_dquote): Likewise.
25372
25373 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25374
25375 * Makeconfig (built-modules): List non-library modules to be
25376 built.
25377 (module-cppflags): Include libc-modules.h for
25378 everything except shlib-versions.v.i.
25379 (CPPFLAGS): Use it.
25380 (before-compile): Add libc-modules.h.
25381 ($(common-objpfx)libc-modules.h,
25382 $(common-objpfx)libc-modules.stmp): New targets.
25383 (common-generated): Add libc-modules.h and libc-modules.stmp.
25384 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
25385 * include/libc-symbols.h: Don't include libc-modules.h.
25386 * include/libc-modules.h: Remove file.
25387 * scripts/gen-libc-modules.awk: New script to generate
25388 libc-modules.h.
25389 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
25390 Depend on libc-modules.stmp.
25391
25392 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
25393
25394 * Makeconfig (in-module): Get value of libof set for the
25395 translation unit.
25396 (CPPFLAGS): Use $(in-module).
25397 * Makerules: Don't suffix routine names for nonlib.
25398 * include/libc-modules.h: New file.
25399 * include/libc-symbols.h: Include libc-modules.h
25400 (IS_IN): New macro to replace IS_IN_* macros.
25401 * elf/Makefile: Set libof-* for each routine.
25402 * elf/rtld-Rules: Likewise.
25403 * extra-modules.mk: Likewise.
25404 * iconv/Makefile: Likewise.
25405 * iconvdata/Makefile: Likewise.
25406 * locale/Makefile: Likewise.
25407 * malloc/Makefile: Likewise.
25408 * nss/Makefile: Likewise.
25409 * sysdeps/gnu/Makefile: Likewise.
25410 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
25411 * sysdeps/unix/sysv/linux/Makefile: Likewise.
25412 * sysdeps/s390/s390-64/Makefile: Likewise.
25413 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
25414 CPPFLAGS for nscd instead of nonlib.
25415
25416 2014-11-18 Roland McGrath <roland@hack.frob.com>
25417
25418 * nptl/createthread.c: New file.
25419
25420 * nptl/createthread.c: Moved ...
25421 * sysdeps/unix/sysv/linux/createthread.c: ... here.
25422
25423 * nptl/createthread.c: Add proper top-line comment.
25424 (do_clone): Folded into ...
25425 (create_thread): ... here. Take new arguments STOPPED_START and
25426 THREAD_RAN. Always set PD->stopped_start to something here. Don't
25427 increment __nptl_threads, do event-reporting logic, do
25428 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
25429 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
25430 resource cleanup if sched_setaffinity or sched_setscheduler fails,
25431 just send SIGCANCEL.
25432 * nptl/pthread_create.c: Forward-declare create_thread before
25433 including createthread.c.
25434 (start_thread): Use new macro START_THREAD_DEFN to replace defining
25435 declaration, and new macro START_THREAD_SELF to replace argument.
25436 Remove return statement.
25437 (report_thread_creation): New function.
25438 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
25439 synchronization logic, and __nptl_nthreads increment here, around
25440 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
25441 PD->parent_cancelhandling here, before create_thread. When
25442 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
25443 __deallocate_stack, and ENOMEM translation here.
25444
25445 2014-11-18 Joseph Myers <joseph@codesourcery.com>
25446
25447 [BZ #17616]
25448 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
25449 (mptwo): Rename to __mptwo.
25450 (__inv): Use __mptwo instead of mptwo.
25451 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
25452 (mptwo): Rename to __mptwo.
25453 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25454 of mpone and __mptwo instead of mptwo.
25455 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25456 instead of mpone.
25457 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25458 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25459 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25460 of mpone and __mptwo instead of mptwo.
25461 (__mpranred): Use __mpone instead of mpone.
25462 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25463 variable.
25464 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25465 (test-xfail-ISO99/math.h/linknamespace): Likewise.
25466 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25467 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25468 (test-xfail-ISO11/math.h/linknamespace): Likewise.
25469 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25470 (test-xfail-XPG3/math.h/linknamespace): Likewise.
25471 (test-xfail-XPG4/math.h/linknamespace): Likewise.
25472 (test-xfail-POSIX/math.h/linknamespace): Likewise.
25473 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25474 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25475 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25476 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25477 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25478 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25479 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25480 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25481 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25482 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25483
25484 2014-11-18 Tom de Vries <tom@codesoucery.com>
25485
25486 * manual/signal.texi (Primitives Interrupted by Signals): In section,
25487 replace BSD Handler xref with BSD Signal Handling.
25488
25489 2014-11-17 Richard Henderson <rth@redhat.com>
25490
25491 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25492 (_FP_PACK_RAW_2): Remove.
25493 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25494 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25495 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25496 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25497 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25498 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25499 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25500 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25501 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25502 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25503 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25504 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25505 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25506 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25507 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25508 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25509
25510 2014-11-14 Roland McGrath <roland@hack.frob.com>
25511
25512 * signal/signal.h [__USE_MISC]
25513 (struct sigvec): Remove type.
25514 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25515 (sigvec): Remove declaration.
25516 * sysdeps/posix/sigvec.c: Moved ...
25517 * signal/sigvec.c: ... here, replacing old file.
25518 (struct sigvec): New type, copied from old signal.h definition.
25519 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25520 (__sigvec): Convert definition to prototype.
25521 (sigvec): Replace weak_alias with compat_symbol.
25522 * signal/Versions (libc: GLIBC_2.21): New version set.
25523 * include/signal.h: Remove __sigvec declaration.
25524 * sysdeps/unix/bsd/sigvec.c: Remove file.
25525 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25526 * manual/signal.texi (BSD Handler): Remove subsection.
25527 Move siginterrupt up to ...
25528 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
25529 (Blocking in BSD): Fold subsection into its parent.
25530 * NEWS: Mention sigvec removal.
25531
25532 2014-11-14 Joseph Myers <joseph@codesourcery.com>
25533
25534 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25535 (DLA_FMS): Make definition conditional only on [__FMA4__].
25536 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25537 definition.
25538
25539 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25540 Make definition conditional only on [PROF].
25541 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25542 definition.
25543 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25544 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25545
25546 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25547 !__GNUC__].
25548 * include/signal.h (__sigpause): Move declaration above call to
25549 libc_hidden_proto.
25550 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25551 variable.
25552 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25553 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25554
25555 2014-11-14 David S. Miller <davem@davemloft.net>
25556
25557 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25558 Define before including <string/memcpy.c> and <string/mempcpy.c>.
25559
25560 2014-11-14 Joseph Myers <joseph@codesourcery.com>
25561
25562 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25563 * configure: Regenerated.
25564 * manual/install.texi (Tools for Compilation): Document a
25565 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25566 compiler verified to work.
25567 * INSTALL: Regenerated.
25568
25569 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25570 redeclare with asm name.
25571 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25572 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25573 including <string.h>.
25574 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25575 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25576 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25577 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25578 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25579 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25580 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25581
25582 2014-11-13 Joseph Myers <joseph@codesourcery.com>
25583
25584 * stdlib/strtol.c (__strtol): Use prototype definition.
25585
25586 [BZ #17594]
25587 * stdlib/strtol.c (SYM__): New macro.
25588 (SYM__1): Likewise.
25589 (__strtol): Likewise.
25590 (strtol): Rename to __strtol and define as weak alias of
25591 __strtol. Use libc_hidden_weak.
25592
25593 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25594
25595 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25596 Use numbered labels in inline assembly.
25597
25598 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25599
25600 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25601 Add setjmp LIBC_PROBE.
25602 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25603 Likewise.
25604 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25605 Add longjmp, longjmp_target LIBC_PROBE.
25606 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25607 Likewise.
25608
25609 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25610
25611 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25612 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25613 to get rid of unused variable warning.
25614
25615 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25616
25617 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25618 Check for unwind_backtrace == NULL only in SHARED case.
25619 (__backchain_backtrace): Compile only in SHARED case.
25620 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25621 Likewise.
25622 (__backchain_backtrace): Declare as static.
25623
25624 2014-11-12 Roland McGrath <roland@hack.frob.com>
25625
25626 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25627 (__libc_multiple_threads_ptr): Variable moved ...
25628 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25629
25630 2014-11-12 Joseph Myers <joseph@codesourcery.com>
25631
25632 * conform/GlibcConform.pm: New file.
25633 * conform/conformtest.pl: Use GlibcConform module.
25634 * conform/linknamespace.pl: New file.
25635 * conform/list-header-symbols.pl: Likewise.
25636 * conform/Makefile (linknamespace-symlists-base): New variable.
25637 (linknamespace-symlists-tests): Likewise.
25638 (linknamespace-header-base): Likewise.
25639 (linknamespace-header-tests): Likewise.
25640 (tests-special): Add new tests.
25641 ($(linknamespace-symlists-tests)): New rule.
25642 (linknamespace-libs): New variable.
25643 ($(objpfx)symlist-stdlibs): New rule.
25644 ($(linknamespace-header-tests)): Likewise.
25645 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25646 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25647 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25648 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25649 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25650 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25651 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25652 (test-xfail-ISO/math.h/linknamespace): Likewise.
25653 (test-xfail-ISO/signal.h/linknamespace): Likewise.
25654 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25655 (test-xfail-ISO/time.h/linknamespace): Likewise.
25656 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25657 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25658 (test-xfail-ISO99/math.h/linknamespace): Likewise.
25659 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25660 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25661 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25662 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25663 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25664 (test-xfail-ISO11/math.h/linknamespace): Likewise.
25665 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25666 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25667 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25668 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25669 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25670 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25671 (test-xfail-XPG3/math.h/linknamespace): Likewise.
25672 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25673 (test-xfail-XPG3/search.h/linknamespace): Likewise.
25674 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25675 (test-xfail-XPG3/time.h/linknamespace): Likewise.
25676 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25677 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25678 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25679 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25680 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25681 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25682 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25683 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25684 (test-xfail-XPG4/math.h/linknamespace): Likewise.
25685 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25686 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25687 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25688 (test-xfail-XPG4/search.h/linknamespace): Likewise.
25689 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25690 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25691 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25692 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25693 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25694 (test-xfail-XPG4/time.h/linknamespace): Likewise.
25695 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25696 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25697 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25698 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25699 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25700 (test-xfail-POSIX/math.h/linknamespace): Likewise.
25701 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25702 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25703 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25704 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25705 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25706 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25707 (test-xfail-POSIX/time.h/linknamespace): Likewise.
25708 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25709 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25710 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25711 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25712 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25713 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25714 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25715 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25716 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25717 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25718 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25719 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25720 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25721 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25722 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25723 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25724 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25725 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25726 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25727 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25728 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25729 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25730 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25731 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25732 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25733 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25734 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25735 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25736 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25737 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25738 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25739 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25740 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25741 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25742 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25743 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25744 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25745 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25746 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25747 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25748 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25749 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25750 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25751 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25752 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25753 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25754 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25755 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25756 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25757 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25758 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25759 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25760 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25761 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25762 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25763 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25764 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25765 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25766 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25767 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25768 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25769 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25770 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25771 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25772 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25773 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25774 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25775 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25776 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25777 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25778 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25779 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25780 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25781 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25782 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25783 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25784 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25785 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25786 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25787 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25788 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25789 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25790 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25791 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25792 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25793 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25794 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25795 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25796 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25797 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25798 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25799 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25800 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25801 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25802 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25803 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25804 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25805 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25806
25807 [BZ #17589]
25808 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25809 of fgets_unlocked.
25810
25811 [BZ #17585]
25812 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25813 (memmem): Rename to __memmem and define as weak alias of
25814 __memmem. Use libc_hidden_weak.
25815 (__memmem): Use libc_hidden_def.
25816 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
25817 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25818 memmem.
25819
25820 [BZ #17582]
25821 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25822 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
25823 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25824 and define as weak alias of __fgets_unlocked. Use
25825 libc_hidden_weak.
25826 (__fgets_unlocked): Use libc_hidden_def.
25827 * include/stdio.h (__fgets_unlocked): Declare. Use
25828 libc_hidden_proto.
25829 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25830 __fgets_unlocked instead of fgets_unlocked.
25831 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25832 (GET_NPROCS_CONF_PARSER): Likewise.
25833 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25834 (GET_NPROCS_CONF_PARSER): Likewise.
25835
25836 [BZ #17574]
25837 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25838 weak alias of __wmemset. Use libc_hidden_weak.
25839 (__wmemset): Use libc_hidden_def.
25840 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
25841 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25842 of wmemset.
25843
25844 [BZ #17573]
25845 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25846 with asm name __mempcpy.
25847 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25848
25849 [BZ #17572]
25850 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25851 and define as weak alias of __rawmemchr.
25852 (__rawmemchr): Do not define as strong alias of rawmemchr.
25853
25854 [BZ #17571]
25855 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25856 alias of __qsort_r.
25857 (qsort): Call __qsort_r instead of qsort_r.
25858 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25859 (__qsort_r): Declare. Call libc_hidden_proto.
25860 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25861 instead of qsort_r.
25862 * nscd/gai.c (__qsort_r): Define to qsort_r.
25863 * posix/tst-rfc3484.c (__qsort_r): Likewise.
25864 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25865 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25866
25867 [BZ #17570]
25868 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25869 define as weak alias of __malloc_info.
25870
25871 [BZ #17584]
25872 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25873 as weak alias of __rewinddir. Don't use libc_hidden_def.
25874 (__rewinddir): Use libc_hidden_def.
25875 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25876 as weak alias of __rewinddir. Don't use libc_hidden_def.
25877 (__rewinddir): Use libc_hidden_def.
25878 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25879 weak alias of __rewinddir. Don't use libc_hidden_def.
25880 (__rewinddir): Use libc_hidden_def.
25881 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25882 (__rewinddir): Use libc_hidden_proto.
25883 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25884 rewinddir.
25885 (__getcwd): Use __rewinddir instead of rewinddir.
25886
25887 [BZ #17583]
25888 * libio/fileno.c (fileno): Rename to __fileno and define as weak
25889 alias of __fileno. Use libc_hidden_weak.
25890 (__fileno): Use libc_hidden_def.
25891 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25892 * libio/ftello.c (ftello): Rename to __ftello and define as weak
25893 alias of __ftello.
25894 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25895 __ftello.
25896 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25897 (__fread_unlocked): Define as strong alias of _IO_fread. Use
25898 libc_hidden_def.
25899 (fread_unlocked): Don't use libc_hidden_ver.
25900 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25901 and define as weak alias of __fread_unlocked. Don't use
25902 libc_hidden_def.
25903 (__fread_unlocked): Use libc_hidden_def.
25904 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
25905 (ftello): Don't use libc_hidden_proto.
25906 (__ftello): Declare. Use libc_hidden_proto.
25907 (fread_unlocked): Don't use libc_hidden_proto.
25908 (__fread_unlocked): Declare. Use libc_hidden_proto.
25909 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25910 and __ftello instead of fileno, fread_unlocked and ftello.
25911
25912 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25913
25914 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25915 GOT12.
25916 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25917 Likewise.
25918 (_dl_start_user): Likewise.
25919 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25920
25921 2014-11-12 Carlos O'Donell <carlos@redhat.com>
25922 Siddhesh Poyarekar <siddhesh@redhat.com>
25923
25924 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25925 Move argv and envp down instead of moving argc up.
25926 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25927
25928 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
25929
25930 [BZ #17506]
25931 * test-skeleton.c (main): Return successful if one of
25932 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25933 * string/tst-strcoll-overflow.c: Define expected status.
25934
25935 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
25936
25937 [BZ #17475]
25938 * locale/iso-639.def: Define Bhili and Tulu language codes.
25939
25940 2014-11-11 Alan Hayward <alan.hayward@arm.com>
25941
25942 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25943
25944 2014-11-10 Renlin Li <Renlin.Li@arm.com>
25945
25946 [BZ #17555]
25947 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25948
25949 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
25950
25951 * configure.ac: Updated check of minimal required version to
25952 2.22.
25953 * manual/install.texi (Tools for Compilation): Updated version
25954 number.
25955 * configure: Regenerated.
25956 * INSTALL: Likewise.
25957
25958 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
25959
25960 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25961 __tls_get_addr.
25962
25963 2014-11-07 Joseph Myers <joseph@codesourcery.com>
25964
25965 * include/sys/wait.h (__libc_waitpid): Remove declaration.
25966 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25967 (__waitpid): Don't define as alias. Use libc_hidden_def not
25968 libc_hidden_weak.
25969 (waitpid): Define as alias of __waitpid.
25970 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25971 __waitpid.
25972 (__waitpid): Don't define as alias. Use libc_hidden_def not
25973 libc_hidden_weak.
25974 (waitpid): Define as alias of __waitpid.
25975 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25976 __libc_waitpid alias.
25977 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25978 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25979 Likewise.
25980 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25981 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25982 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25983 alias.
25984 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25985 __waitpid.
25986 (__waitpid): Don't define as alias. Use libc_hidden_def not
25987 libc_hidden_weak.
25988 (waitpid): Define as alias of __waitpid.
25989
25990 2014-11-06 Carlos O'Donell <carlos@redhat.com>
25991
25992 * manual/llio.texi: Add comment that write safety has been
25993 fixed in Linux.
25994
25995 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25996 (localplt-build-dso): Add elf/ld.so.
25997 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25998 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25999 and free for ld.so.
26000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
26001 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
26002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
26003 Likewise.
26004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26005 Likewise.
26006 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
26007 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
26008 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
26009 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
26010 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26011 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
26012 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
26013 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
26014 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26015 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
26016 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26017
26018 2014-11-05 Joseph Myers <joseph@codesourcery.com>
26019
26020 [BZ #14132]
26021 * include/libc-symbols.h (INTUSE): Remove macro.
26022 (INTDEF): Likewise.
26023 (INTVARDEF): Likewise.
26024 (_INTVARDEF): Likewise.
26025 (INTDEF2): Likewise.
26026 (INTVARDEF2): Likewise.
26027 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
26028 rtld_hidden_def instead of INTVARDEF.
26029 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
26030 (_dl_starting_up_internal): Remove declaration.
26031 (_dl_starting_up): Use rtld_hidden_proto.
26032 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
26033 declaration.
26034 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
26035 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
26036 _dl_starting_up.
26037 * elf/dl-writev.h (_dl_writev): Likewise.
26038 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
26039 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
26040 _dl_starting_up_internal.
26041
26042 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26043
26044 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26045 test-skeleton.c.
26046
26047 2014-11-05 Will Newton <will.newton@linaro.org>
26048
26049 * benchtests/Makefile: (bench-malloc): Add malloc thread
26050 scalability benchmark.
26051 * benchtests/bench-malloc-threads.c: New file.
26052
26053 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
26054
26055 * sysdeps/aarch64/strchrnul.S: New file.
26056
26057 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26058
26059 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
26060 definition.
26061 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26062 Likwise.
26063 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26064 Likewise.
26065 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26066 Likewise.
26067 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26068 Likewise.
26069 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26070 Likewise.
26071
26072 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
26073
26074 * catgets/test-gencat.c: Use test-skeleton.c.
26075 * catgets/tst-catgets.c: Likewise.
26076 * csu/tst-empty.c: Likewise.
26077 * elf/tst-audit2.c: Likewise.
26078 * elf/tst-global1.c: Likewise.
26079 * elf/tst-pathopt.c: Likewise.
26080 * elf/tst-piemod1.c: Likewise.
26081 * elf/tst-tls10.c: Likewise.
26082 * elf/tst-tls11.c: Likewise.
26083 * elf/tst-tls12.c: Likewise.
26084 * gnulib/tst-gcc.c: Likewise.
26085 * iconvdata/tst-e2big.c: Likewise.
26086 * iconvdata/tst-loading.c: Likewise.
26087 * iconv/tst-iconv1.c: Likewise.
26088 * iconv/tst-iconv2.c: Likewise.
26089 * inet/test-inet6_opt.c: Likewise.
26090 * inet/tst-gethnm.c: Likewise.
26091 * inet/tst-network.c: Likewise.
26092 * inet/tst-ntoa.c: Likewise.
26093 * intl/tst-codeset.c: Likewise.
26094 * intl/tst-gettext2.c: Likewise.
26095 * intl/tst-gettext3.c: Likewise.
26096 * intl/tst-ngettext.c: Likewise.
26097 * intl/tst-translit.c: Likewise.
26098 * io/test-stat.c: Likewise.
26099 * libio/test-fmemopen.c: Likewise.
26100 * libio/tst-freopen.c: Likewise.
26101 * libio/tst-sscanf.c: Likewise.
26102 * libio/tst-ungetwc1.c: Likewise.
26103 * libio/tst-ungetwc2.c: Likewise.
26104 * libio/tst-widetext.c: Likewise.
26105 * localedata/tst-ctype.c: Likewise.
26106 * localedata/tst-digits.c: Likewise.
26107 * localedata/tst-leaks.c: Likewise.
26108 * localedata/tst-mbswcs1.c: Likewise.
26109 * localedata/tst-mbswcs2.c: Likewise.
26110 * localedata/tst-mbswcs3.c: Likewise.
26111 * localedata/tst-mbswcs4.c: Likewise.
26112 * localedata/tst-mbswcs5.c: Likewise.
26113 * localedata/tst-setlocale.c: Likewise.
26114 * localedata/tst-trans.c: Likewise.
26115 * localedata/tst-wctype.c: Likewise.
26116 * localedata/tst-xlocale1.c: Likewise.
26117 * login/tst-grantpt.c: Likewise.
26118 * malloc/tst-calloc.c: Likewise.
26119 * malloc/tst-malloc.c: Likewise.
26120 * malloc/tst-mallocstate.c: Likewise.
26121 * malloc/tst-mcheck.c: Likewise.
26122 * malloc/tst-mtrace.c: Likewise.
26123 * malloc/tst-obstack.c: Likewise.
26124 * math/atest-exp2.c: Likewise.
26125 * math/atest-exp.c: Likewise.
26126 * math/atest-sincos.c: Likewise.
26127 * math/test-matherr.c: Likewise.
26128 * math/test-misc.c: Likewise.
26129 * math/test-powl.c: Likewise.
26130 * math/tst-definitions.c: Likewise.
26131 * misc/tst-dirname.c: Likewise.
26132 * misc/tst-efgcvt.c: Likewise.
26133 * misc/tst-fdset.c: Likewise.
26134 * misc/tst-hsearch.c: Likewise.
26135 * misc/tst-mntent2.c: Likewise.
26136 * nptl/tst-sem7.c: Likewise.
26137 * nptl/tst-sem8.c: Likewise.
26138 * nptl/tst-sem9.c: Likewise.
26139 * nss/test-netdb.c: Likewise.
26140 * posix/tst-fnmatch.c: Likewise.
26141 * posix/tst-getlogin.c: Likewise.
26142 * posix/tst-gnuglob.c: Likewise.
26143 * posix/tst-mmap.c: Likewise.
26144 * pwd/tst-getpw.c: Likewise.
26145 * resolv/tst-inet_ntop.c: Likewise.
26146 * rt/tst-timer.c: Likewise.
26147 * stdio-common/test-fseek.c: Likewise.
26148 * stdio-common/test-popen.c: Likewise.
26149 * stdio-common/test-vfprintf.c: Likewise.
26150 * stdio-common/tst-cookie.c: Likewise.
26151 * stdio-common/tst-fileno.c: Likewise.
26152 * stdio-common/tst-gets.c: Likewise.
26153 * stdio-common/tst-obprintf.c: Likewise.
26154 * stdio-common/tst-perror.c: Likewise.
26155 * stdio-common/tst-sprintf2.c: Likewise.
26156 * stdio-common/tst-sprintf3.c: Likewise.
26157 * stdio-common/tst-sprintf.c: Likewise.
26158 * stdio-common/tst-swprintf.c: Likewise.
26159 * stdio-common/tst-tmpnam.c: Likewise.
26160 * stdio-common/tst-unbputc.c: Likewise.
26161 * stdio-common/tst-wc-printf.c: Likewise.
26162 * stdlib/tst-environ.c: Likewise.
26163 * stdlib/tst-fmtmsg.c: Likewise.
26164 * stdlib/tst-limits.c: Likewise.
26165 * stdlib/tst-rand48-2.c: Likewise.
26166 * stdlib/tst-rand48.c: Likewise.
26167 * stdlib/tst-random2.c: Likewise.
26168 * stdlib/tst-random.c: Likewise.
26169 * stdlib/tst-strtol.c: Likewise.
26170 * stdlib/tst-strtoll.c: Likewise.
26171 * stdlib/tst-tls-atexit.c: Likewise.
26172 * stdlib/tst-xpg-basename.c: Likewise.
26173 * string/test-ffs.c: Likewise.
26174 * string/tst-bswap.c: Likewise.
26175 * string/tst-inlcall.c: Likewise.
26176 * string/tst-strtok.c: Likewise.
26177 * string/tst-strxfrm.c: Likewise.
26178 * sysdeps/x86_64/tst-audit10.c: Likewise.
26179 * sysdeps/x86_64/tst-audit3.c: Likewise.
26180 * sysdeps/x86_64/tst-audit4.c: Likewise.
26181 * sysdeps/x86_64/tst-audit5.c: Likewise.
26182 * time/tst-ftime_l.c: Likewise.
26183 * time/tst-getdate.c: Likewise.
26184 * time/tst-mktime3.c: Likewise.
26185 * time/tst-mktime.c: Likewise.
26186 * time/tst-posixtz.c: Likewise.
26187 * time/tst-strptime2.c: Likewise.
26188 * time/tst-strptime3.c: Likewise.
26189 * wcsmbs/tst-btowc.c: Likewise.
26190 * wcsmbs/tst-mbrtowc.c: Likewise.
26191 * wcsmbs/tst-mbsrtowcs.c: Likewise.
26192 * wcsmbs/tst-wchar-h.c: Likewise.
26193 * wcsmbs/tst-wcpncpy.c: Likewise.
26194 * wcsmbs/tst-wcrtomb.c: Likewise.
26195 * wcsmbs/tst-wcsnlen.c: Likewise.
26196 * wcsmbs/tst-wcstof.c: Likewise.
26197
26198 2014-11-04 Joseph Myers <joseph@codesourcery.com>
26199
26200 [BZ #14132]
26201 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
26202 INTDEF.
26203 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
26204 declaration.
26205 (_dl_mcount): Use rtld_hidden_proto.
26206 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26207 _dl_mcount.
26208 * elf/rtld.c (_rtld_global_ro): Likewise.
26209
26210 [BZ #14132]
26211 * elf/dl-init.c (_dl_init): Don't use INTDEF.
26212 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26213 of _dl_init_internal.
26214 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26215 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26216 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26217 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26218 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26219 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26220 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26221 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26222 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26223 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26224 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26225 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26226 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26227 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26228 * sysdeps/tile/dl-start.S (_start): Likewise.
26229 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26230 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26231
26232 [BZ #14132]
26233 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26234 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26235 (rtld_progname): Make macro definition unconditional.
26236 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26237 INTDEF.
26238 (dlmopen_doit): Do not use INTUSE with _dl_argv.
26239 (dl_main): Likewise.
26240 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26241 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26242 instead of _dl_argv_internal.
26243 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26244 __GI__dl_argv instead of INTUSE(_dl_argv).
26245 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26246 __GI__dl_argv instead of _dl_argv_internal.
26247
26248 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26249 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26250 macro.
26251 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26252 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26253 New macro.
26254 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26255 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26256 macro.
26257 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26258 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26259
26260 2014-11-04 Andreas Schwab <schwab@suse.de>
26261
26262 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26263
26264 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26265
26266 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26267 mtvsrd instruction in binary form.
26268
26269 2014-11-03 Andreas Schwab <schwab@suse.de>
26270
26271 [BZ #17522]
26272 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26273 for less than MB_LEN_MAX use a local buffer of that size.
26274 * libio/tst-fputws.c: New file.
26275 * libio/Makefile (tests): Add tst-fputws.
26276
26277 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
26278
26279 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26280 the size of the fpu_fr.fpu_dregs[] array.
26281
26282 2014-11-01 Joseph Myers <joseph@codesourcery.com>
26283
26284 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26285 (__nanosleep): Do not define as alias.
26286 (nanosleep): Define as alias of __nanosleep.
26287 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26288 __libc_nanosleep name.
26289
26290 2014-10-31 Joseph Myers <joseph@codesourcery.com>
26291
26292 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26293 install.texi in comment.
26294
26295 2014-10-31 Torvald Riegel <triegel@redhat.com>
26296
26297 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26298 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26299 ... add here and use lwsync or sync ...
26300 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26301 ... and add here using lwsync.
26302
26303 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
26304
26305 * elf/dl-machine-reject-phdr.h: New file.
26306 * elf/dl-load.c: #include that.
26307 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26308 if that returned true.
26309
26310 2014-10-31 Roland McGrath <roland@hack.frob.com>
26311
26312 [BZ #17496]
26313 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26314 gen-as-const-headers chunk. Add a big scare comment after the last
26315 safe place to touch before-compile.
26316
26317 2014-10-31 Joseph Myers <joseph@codesourcery.com>
26318
26319 * manual/install.texi (Tools for Compilation): Update autoconf
26320 version requirements.
26321 * INSTALL: Regenerated.
26322
26323 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26324 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26325 (__libc_pselect): Likewise.
26326
26327 [BZ #14138]
26328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26332
26333 2014-10-31 Torvald Riegel <triegel@redhat.com>
26334
26335 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26336 correct barrier instruction.
26337 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26338 Likewise.
26339 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26340 Likewise.
26341
26342 2014-10-30 Roland McGrath <roland@hack.frob.com>
26343
26344 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26345 after defining inlines. Instead, just use parens to defeat macro
26346 expansion of __isctype in its declaration.
26347
26348 2014-10-30 Joseph Myers <joseph@codesourcery.com>
26349
26350 * include/sys/uio.h (__libc_readv): Remove declaration.
26351 (__libc_writev): Likewise.
26352 * misc/readv.c (__libc_readv): Rename to __readv.
26353 (__readv): Do not define as alias.
26354 (readv): Define as alias of __readv.
26355 * misc/writev.c (__libc_writev): Rename to __writev.
26356 (__writev): Do not define as alias.
26357 (writev): Define as alias of __writev.
26358 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
26359 (__readv): Do not define as alias.
26360 (readv): Define unconditionally as alias of __readv.
26361 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
26362 (__writev): Do not define as alias.
26363 (writev): Define unconditionally as alias of __writev.
26364 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
26365 name.
26366 (writev): Do not define __libc_writev name.
26367
26368 2014-10-30 Roland McGrath <roland@hack.frob.com>
26369
26370 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
26371 (convert_charseq): New function, broken out of ...
26372 (use_from_charmap): ... here. Call it.
26373 (use_to_charmap): Use convert_charseq and free instead of duplicating
26374 its code with a variable-length stack struct.
26375
26376 2014-10-30 Joseph Myers <joseph@codesourcery.com>
26377
26378 * include/fcntl.h (__libc_creat): Remove declaration.
26379 * io/creat.c (__libc_creat): Rename to creat.
26380 (creat): Do not define as alias.
26381 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
26382 of creat instead of __libc_creat.
26383 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
26384 to creat.
26385 (creat): Do not define as alias.
26386 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
26387 __libc_creat.
26388 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
26389 __libc_creat name.
26390 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
26391 Likewise.
26392
26393 2014-10-29 Carlos O'Donell <carlos@redhat.com>
26394
26395 * manual/llio.texi: Add comments discussing why write() may be
26396 considered MT-unsafe on Linux.
26397
26398 2014-10-28 Carlos O'Donell <carlos@redhat.com>
26399
26400 * dl-load.c (local_strdup): Remove.
26401 (expand_dynamic_string_token): Use __strdup.
26402 (decompose_rpath): Likewise.
26403 (_dl_map_object): Likewise.
26404
26405 2014-10-28 Joseph Myers <joseph@codesourcery.com>
26406
26407 [BZ #14132]
26408 * sysdeps/generic/unwind-dw2-fde.c
26409 (__register_frame_info_bases_internal): Do not declare.
26410 (__register_frame_info_table_bases_internal): Likewise.
26411 (__deregister_frame_info_bases_internal): Likewise.
26412 (__register_frame_info_bases): Declare and use hidden_proto before
26413 definition. Use hidden_def instead of INTDEF.
26414 (__register_frame_info_table_bases): Likewise.
26415 (__deregister_frame_info_bases): Likewise.
26416 (__register_frame_info): Do not use INTUSE.
26417 (__register_frame): Likewise.
26418 (__register_frame_info_table): Likewise.
26419 (__register_frame_table): Likewise.
26420 (__deregister_frame_info): Likewise.
26421 (__deregister_frame): Likewise.
26422
26423 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
26424
26425 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26426 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
26427 not undefine.
26428 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
26429 Likewise.
26430 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
26431 Likewise.
26432
26433 2014-10-27 Joseph Myers <joseph@codesourcery.com>
26434
26435 [BZ #14138]
26436 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
26437 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
26438 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
26439 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
26440 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
26441 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
26442 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
26443 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
26444 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
26445 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
26446 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
26447 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
26448 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
26449 syscall.
26450 (setfsuid): Likewise.
26451 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
26452 (setfsuid): Likewise.
26453 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26454 (setfsuid): Likewise.
26455 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26456 Likewise.
26457 (setfsuid): Likewise.
26458 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26459 (setfsuid): Likewise.
26460 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26461 Likewise.
26462 (setfsuid): Likewise.
26463
26464 2014-10-27 Andreas Schwab <schwab@suse.de>
26465
26466 [BZ #17501]
26467 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26468 check for Slow_SSE4_2 feature bit.
26469 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26470 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26471 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26472 Likewise. Fix check for Fast_Unaligned_Load feature bit.
26473
26474 2014-10-24 Roland McGrath <roland@hack.frob.com>
26475
26476 * configure.ac: Validate compiler version with a empirical test of
26477 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26478 $CC -v output.
26479 * configure: Regenerated.
26480
26481 * inet/htons.c (htons): Prototypify.
26482 * inet/htonl.c (htonl): Likewise.
26483
26484 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26485
26486 * string/strncat.c (strncat): Improve performance by using strlen.
26487
26488 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26489
26490 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26491
26492 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26493
26494 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26495 Call libc_fetestexcept_aarch64.
26496
26497 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26498
26499 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26500 Call libc_feholdexcept_aarch64.
26501
26502 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26503
26504 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26505 Call get_rounding_mode.
26506
26507 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26508
26509 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26510 Simplify logic.
26511
26512 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26513
26514 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26515 Simplify logic.
26516
26517 2014-10-24 Joseph Myers <joseph@codesourcery.com>
26518
26519 [BZ #14138]
26520 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26521 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26522 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26523 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26524 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26525 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26526 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26527 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26528 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26529 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26530 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26531 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26532 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26533 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26534 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26535 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26536 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26537 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26538 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26539 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26540 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26541 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26542 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26543 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26544 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26545 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26546 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26547 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26548 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26549 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26550 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26551 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26552 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26553 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26554 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26555 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26556 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26557 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26558 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26559 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26560 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26561 syscall.
26562 (geteuid): Likewise.
26563 (getgid): Likewise.
26564 (getuid): Likewise.
26565 (getresgid): Likewise.
26566 (getresuid): Likewise.
26567 (getgroups): Likewise.
26568 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26569 (geteuid): Likewise.
26570 (getgid): Likewise.
26571 (getuid): Likewise.
26572 (getresgid): Likewise.
26573 (getresuid): Likewise.
26574 (getgroups): Likewise.
26575 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26576 (geteuid): Likewise.
26577 (getgid): Likewise.
26578 (getuid): Likewise.
26579 (getresgid): Likewise.
26580 (getresuid): Likewise.
26581 (getgroups): Likewise.
26582 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26583 Likewise.
26584 (geteuid): Likewise.
26585 (getgid): Likewise.
26586 (getuid): Likewise.
26587 (getresgid): Likewise.
26588 (getresuid): Likewise.
26589 (getgroups): Likewise.
26590 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26591 (geteuid): Likewise.
26592 (getgid): Likewise.
26593 (getuid): Likewise.
26594 (getresgid): Likewise.
26595 (getresuid): Likewise.
26596 (getgroups): Likewise.
26597 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26598 Likewise.
26599 (geteuid): Likewise.
26600 (getgid): Likewise.
26601 (getuid): Likewise.
26602 (getgroups): Likewise.
26603
26604 [BZ #14138]
26605 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26606 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26607 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26608 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26609 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26610 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26611 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26612 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26613 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26614 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26615 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26616 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26617 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26618 __chown.
26619 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26620 (lchown): Likewise.
26621 (fchown): Likewise.
26622 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26623 Likewise.
26624 (lchown): Likewise.
26625 (fchown): Likewise.
26626 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26627 (lchown): Likewise.
26628 (fchown): Likewise.
26629 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26630 Likewise.
26631 (lchown): Likewise.
26632 (fchown): Likewise.
26633
26634 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26635
26636 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26637 Simplify logic.
26638
26639 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26640
26641 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26642 Cleanup logic.
26643
26644 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26645
26646 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26647 Remove unused include.
26648
26649 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26650
26651 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26652 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26653 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26654 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26655
26656 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
26657 Helge Deller <deller@gmx.de>
26658
26659 [BZ #17508]
26660 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26661 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26662 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26663
26664 2014-10-23 Joseph Myers <joseph@codesourcery.com>
26665
26666 [BZ #14132]
26667 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26668 Remove macro definition.
26669 (__ashrdi3_v_glibc20): Likewise.
26670 (__lshrdi3_v_glibc20): Likewise.
26671 (__cmpdi2_v_glibc20): Likewise.
26672 (__ucmpdi2_v_glibc20): Likewise.
26673 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26674 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26675 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26676 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26677 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26678 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26679
26680 2014-10-22 Roland McGrath <roland@hack.frob.com>
26681
26682 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26683 old GNU extension [0] syntax.
26684 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26685 alloca rather than an array member with variable length.
26686 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26687 * nscd/nscd.c (invalidate_db): New function, broken out of ...
26688 (parse_opt): ... here. Likewise use alloca there.
26689 Validate the -i argument before checking for rootness.
26690 (send_shutdown): New function, broken out of ...
26691 (parse_opt): ... here.
26692
26693 2014-10-22 Roland McGrath <roland@hack.frob.com>
26694
26695 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26696 macro to get at the _rt_local_ro field.
26697 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26698 ([PIC] case) or _dl_hwcap ([!PIC] case).
26699 * sysdeps/arm/setjmp.S: Likewise.
26700
26701 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26702 * sysdeps/arm/configure.ac: New check to define it.
26703 * sysdeps/arm/configure: Regenerated.
26704 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26705 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26706 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26707 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26708 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26709 Use move/movt pair instead of a load.
26710 (LDST_GLOBAL): Macro removed.
26711 (LDR_GLOBAL): New macro replaces it.
26712 (LDR_HIDDEN): New macro.
26713 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26714 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26715
26716 * setjmp/tst-setjmp-static.c: New file.
26717 * setjmp/Makefile (tests): Add it.
26718 (tests-static): New variable.
26719
26720 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
26721
26722 [BZ #17485]
26723 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26724
26725 2014-10-21 Joseph Myers <joseph@codesourcery.com>
26726
26727 [BZ #14132]
26728 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26729
26730 2014-10-21 Roland McGrath <roland@hack.frob.com>
26731
26732 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26733
26734 2014-10-20 Roland McGrath <roland@hack.frob.com>
26735
26736 * io/fts.c (dirent_not_directory): New function.
26737 (fts_build): Call it.
26738
26739 2014-10-20 Roland McGrath <roland@hack.frob.com>
26740
26741 * nptl/version.c (__nptl_main): Use normal __write rather than
26742 INTERNAL_SYSCALL.
26743 (banner): Update copyright years.
26744
26745 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26746 gettimeofday.
26747 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26748 * nptl/pthread_cond_timedwait.c: Likewise.
26749 * nptl/pthread_mutex_timedlock.c: Likewise.
26750 * nptl/sem_timedwait.c: Likewise.
26751
26752 * sysdeps/nptl/bits/libc-lock.h
26753 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26754 (__libc_lock_init_recursive): Return void, not 0.
26755 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26756 (__libc_rwlock_init): Likewise.
26757 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26758
26759 2014-10-20 Torvald Riegel <triegel@redhat.com>
26760
26761 [BZ #15215]
26762 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26763 (__pthread_once_slow): ... here.
26764 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26765 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26766
26767 2014-10-20 Torvald Riegel <triegel@redhat.com>
26768
26769 [BZ #15215]
26770 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26771 __PTHREAD_ONCE_FORK_GEN_INCR): New.
26772 * sysdeps/nptl/fork.c (__libc_fork): Use them.
26773 * nptl/pthread_once.c (__pthread_once): Likewise.
26774 Update comments.
26775
26776 2014-10-20 Joseph Myers <joseph@codesourcery.com>
26777
26778 [BZ #14138]
26779 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26780 name.
26781 (writev): Use __libc_writev as strong name.
26782 * sysdeps/unix/sysv/linux/readv.c: Remove file.
26783 * sysdeps/unix/sysv/linux/writev.c: Likewise.
26784
26785 2014-10-17 Roland McGrath <roland@hack.frob.com>
26786
26787 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26788
26789 * sysdeps/i386/nptl/tls.h
26790 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26791 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26792 New macros.
26793 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26794 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26795 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26796 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26797 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26798 Call CHECK_THREAD_SYSINFO instead of doing an assert.
26799
26800 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26801 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26802 on [__NR_futex].
26803 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26804 broken out of ...
26805 (__pthread_mutex_init): ... here. Call it.
26806 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26807 Conditionalize PI cases on [__NR_futex].
26808 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26809 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26810 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26811
26812 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26813 conditional on [SIGSETXID].
26814 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26815 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26816 is defined. Likewise for SIGSETXID.
26817 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26818 Conditionalize definitions on [SIGSETXID].
26819 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26820 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26821 unblocking on [SIGCANCEL].
26822
26823 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26824 [__NR_set_robust_list].
26825
26826 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26827
26828 * string/strcoll_l.c (get_next_seq): Fix up formatting.
26829 (do_compare): Likewise.
26830
26831 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
26832
26833 [BZ #15884]
26834 * string/strcoll_l.c: Don't include stdio.h.
26835 (coll_seq): Remove members idxarr and rulearr.
26836 (get_next_seq_cached): Remove function.
26837 (get_next_seq): Likewise.
26838 (get_next_seq_nocache): Rename to get_next_seq.
26839 (do_compare): Remove function.
26840 (do_compare_nocache): Rename to do_compare.
26841 (STRCOLL): Remove weight and rules cache.
26842
26843 2014-10-16 Roland McGrath <roland@hack.frob.com>
26844
26845 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26846 * sysdeps/arm/sfp-machine.h: ... to here.
26847 * sysdeps/arm/Implies: Remove arm/soft-fp.
26848
26849 2014-10-14 Joseph Myers <joseph@codesourcery.com>
26850
26851 * conform/data/sys/utsname.h-data (*_t): Allow.
26852 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26853 [POSIX] (WEXITED): Do not expect constant.
26854 [POSIX] (WSTOPPED): Likewise.
26855 [POSIX] (WNOHANG): Likewise.
26856 [POSIX] (WNOWAIT): Likewise.
26857 [POSIX] (siginfo_t): Do not expect type or elements.
26858 [POSIX] (pid_t): Do not expect type.
26859 [POSIX] (signal.h): Do not allow header.
26860 [POSIX] (sys/resource.h): Likewise.
26861 [POSIX] (si_*): Do not allow pattern.
26862 [POSIX] (W*): Likewise.
26863 [POSIX] (P_*): Likewise.
26864 [POSIX] (BUS_*): Likewise.
26865 [POSIX] (CLD_*): Likewise.
26866 [POSIX] (FPE_*): Likewise.
26867 [POSIX] (ILL_*): Likewise.
26868 [POSIX] (POLL_*): Likewise.
26869 [POSIX] (SEGV_*): Likewise.
26870 [POSIX] (SI_*): Likewise.
26871 [POSIX] (TRAP_*): Likewise.
26872 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26873 variable.
26874
26875 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
26876
26877 [BZ #12926]
26878 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26879 infinite loop when __recvmsg returns 0.
26880
26881 2014-10-10 Joseph Myers <joseph@codesourcery.com>
26882
26883 * CANCEL-FCT-WAIVE: Remove file.
26884 * CANCEL-FILE-WAIVE: Likewise.
26885
26886 [BZ #14132]
26887 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26888 instead of INTVARDEF.
26889 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26890 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26891 rtld_hidden_data_def instead of INTVARDEF.
26892 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26893 * elf/dl-deps.c (expand_dst): Likewise.
26894 * elf/dl-load.c (_dl_dst_count): Likewise.
26895 (_dl_dst_substitute): Likewise.
26896 (decompose_rpath): Likewise.
26897 (_dl_init_paths): Likewise.
26898 (open_path): Likewise.
26899 (_dl_map_object): Likewise.
26900 * elf/rtld.c (dl_main): Likewise.
26901 (process_dl_audit): Likewise.
26902 (process_envvars): Likewise.
26903 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26904 Remove declaration.
26905 (__libc_enable_secure): Use rtld_hidden_proto.
26906
26907 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
26908
26909 * elf/dl-load.c
26910 (add_path): New function broken out of _dl_rtld_di_serinfo.
26911 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
26912
26913 2014-10-09 Joseph Myers <joseph@codesourcery.com>
26914
26915 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26916 parentheses around macro arguments.
26917 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26918 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26919 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26920 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26921 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26922 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26923 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26924 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26925 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26926 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26927 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26928 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26929 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26930 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26931 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26932 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26933 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26934 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26935 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26936 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26937 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26938 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26939 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26940 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26941 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26942 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26943 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26944 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26945 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26946 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26947 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26948 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26949 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26950 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26951 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26952 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26953 Likewise.
26954 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26955 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26956 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26957 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26958 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26959 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26960 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26961 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26962 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26963 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26964 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26965 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26966 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26967 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26968 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26969 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26970 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26971 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26972 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26973 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26974 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26975 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26976 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26977 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26978 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26979 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26980 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26981 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26982 (_FP_FRAC_SRS_1): Likewise.
26983 (_FP_FRAC_CLZ_1): Likewise.
26984 (_FP_MUL_MEAT_1_imm): Likewise.
26985 (_FP_MUL_MEAT_1_wide): Likewise.
26986 (_FP_MUL_MEAT_1_hard): Likewise.
26987 (_FP_SQRT_MEAT_1): Likewise.
26988 (_FP_FRAC_ASSEMBLE_1): Likewise.
26989 (_FP_FRAC_DISASSEMBLE_1): Likewise.
26990 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26991 (__FP_CLZ_2): Likewise.
26992 (_FP_MUL_MEAT_2_wide): Likewise.
26993 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26994 (_FP_MUL_MEAT_2_gmp): Likewise.
26995 (_FP_MUL_MEAT_2_120_240_double): Likewise.
26996 (_FP_SQRT_MEAT_2): Likewise.
26997 (_FP_FRAC_ASSEMBLE_2): Likewise.
26998 (_FP_FRAC_DISASSEMBLE_2): Likewise.
26999 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
27000 (_FP_FRAC_CLZ_4): Likewise.
27001 (_FP_MUL_MEAT_4_wide): Likewise.
27002 (_FP_MUL_MEAT_4_gmp): Likewise.
27003 (_FP_SQRT_MEAT_4): Likewise.
27004 (_FP_FRAC_ASSEMBLE_4): Likewise.
27005 (_FP_FRAC_DISASSEMBLE_4): Likewise.
27006 * soft-fp/op-common.h (_FP_CMP): Likewise.
27007 (_FP_CMP_EQ): Likewise.
27008 (_FP_CMP_UNORD): Likewise.
27009 (_FP_TO_INT): Likewise.
27010 (_FP_FROM_INT): Likewise.
27011 [!__FP_CLZ] (__FP_CLZ): Likewise.
27012 (_FP_DIV_HELP_imm): Likewise.
27013 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
27014 Likewise.
27015 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
27016 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
27017 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
27018 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
27019 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
27020 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27021 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27022 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
27023 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
27024 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
27025 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
27026 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
27027 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
27028 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
27029 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
27030 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
27031 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
27032 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
27033 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
27034 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
27035 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
27036 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
27037 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
27038 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27039 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27040 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
27041 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
27042 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
27043 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
27044 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
27045 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
27046 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
27047 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
27048 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
27049 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
27050 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
27051 (FP_UNPACK_RAW_SP): Likewise.
27052 (FP_PACK_RAW_S): Likewise.
27053 (FP_PACK_RAW_SP): Likewise.
27054 (FP_UNPACK_S): Likewise.
27055 (FP_UNPACK_SP): Likewise.
27056 (FP_UNPACK_SEMIRAW_S): Likewise.
27057 (FP_UNPACK_SEMIRAW_SP): Likewise.
27058 (FP_PACK_S): Likewise.
27059 (FP_PACK_SP): Likewise.
27060 (FP_PACK_SEMIRAW_S): Likewise.
27061 (FP_PACK_SEMIRAW_SP): Likewise.
27062 (_FP_SQRT_MEAT_S): Likewise.
27063 (FP_CMP_S): Likewise.
27064 (FP_CMP_EQ_S): Likewise.
27065 (FP_CMP_UNORD_S): Likewise.
27066 (FP_TO_INT_S): Likewise.
27067 (FP_FROM_INT_S): Likewise.
27068
27069 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
27070
27071 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
27072 (FP_EX_INVALID_IMZ): Likewise.
27073 (FP_EX_INVALID_IMZ_FMA): Likewise.
27074 (FP_EX_INVALID_ISI): Likewise.
27075 (FP_EX_INVALID_ZDZ): Likewise.
27076 (FP_EX_INVALID_IDI): Likewise.
27077 (FP_EX_INVALID_SQRT): Likewise.
27078 (FP_EX_INVALID_CVI): Likewise.
27079 (FP_EX_INVALID_VC): Likewise.
27080 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27081 "invalid" exceptions.
27082 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27083 (_FP_ADD_INTERNAL): Likewise.
27084 (_FP_MUL): Likewise.
27085 (_FP_FMA): Likewise.
27086 (_FP_DIV): Likewise.
27087 (_FP_CMP_CHECK_NAN): Likewise.
27088 (_FP_SQRT): Likewise.
27089 (_FP_TO_INT): Likewise.
27090 (FP_EXTEND): Likewise.
27091
27092 2014-10-09 Allan McRae <allan@archlinux.org>
27093
27094 * po/fr.po: Update French translation from translation project.
27095
27096 2014-10-09 Joseph Myers <joseph@codesourcery.com>
27097
27098 [BZ #14132]
27099 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
27100 of INTDEF.
27101 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
27102 (__cxa_atexit): Use libc_hidden_proto.
27103 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
27104
27105 [BZ #14132]
27106 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
27107 declaration.
27108 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
27109 [!_ISOMAC] (__iswspace_l_internal): Likewise.
27110 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
27111 [!_ISOMAC] (__iswctype_internal): Likewise.
27112 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
27113 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
27114 alias.
27115 (fcntl): Remove __fcntl_internal alias.
27116 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
27117 __connect_internal alias.
27118 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
27119 Likewise.
27120
27121 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27122 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
27123 FP_DENORM_ZERO.
27124 (_FP_CHECK_FLUSH_ZERO): New macro.
27125 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
27126 (_FP_CMP): Likewise.
27127 (_FP_CMP_EQ): Likewise.
27128 (_FP_TO_INT): Do not set inexact for subnormal arguments if
27129 FP_DENORM_ZERO.
27130 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
27131 (FP_TRUNC): Likewise.
27132
27133 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
27134 treated as invalid conversion, not as normal exponent.
27135
27136 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
27137 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
27138 (_FP_CMP_EQ): Likewise.
27139 (_FP_CMP_UNORD): Likewise.
27140 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
27141 (FP_CMP_EQ_D): Likewise.
27142 (FP_CMP_UNORD_D): Likewise.
27143 * soft-fp/extended.h (FP_CMP_E): Likewise.
27144 (FP_CMP_EQ_E): Likewise.
27145 (FP_CMP_UNORD_E): Likewise.
27146 * soft-fp/quad.h (FP_CMP_Q): Likewise.
27147 (FP_CMP_EQ_Q): Likewise.
27148 (FP_CMP_UNORD_Q): Likewise.
27149 * soft-fp/single.h (FP_CMP_S): Likewise.
27150 (FP_CMP_EQ_S): Likewise.
27151 (FP_CMP_UNORD_S): Likewise.
27152 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
27153 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
27154 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
27155 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
27156 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
27157 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
27158 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
27159 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27160 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
27161 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
27162 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
27163 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
27164 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
27165 to FP_CMP_Q.
27166 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
27167 FP_CMP_Q.
27168 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
27169 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
27170 FP_CMP_EQ_Q.
27171 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
27172 FP_CMP_Q.
27173 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
27174 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
27175 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
27176 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
27177 FP_CMP_EQ_Q.
27178 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
27179 FP_CMP_Q.
27180 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
27181 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
27182 FP_CMP_EQ_Q.
27183 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
27184 FP_CMP_Q.
27185 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
27186 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
27187 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
27188 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
27189 FP_CMP_EQ_Q.
27190
27191 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
27192 a subnormal result, set the underflow exception if trapping on
27193 underflow is enabled.
27194 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
27195 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
27196 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
27197 redefine to 0.
27198 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
27199 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27200 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27201 * soft-fp/extendxftf2.c (__extendxftf2): Use
27202 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
27203
27204 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
27205 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27206 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27207 FP_HANDLE_EXCEPTIONS.
27208 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27209 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27210 FP_HANDLE_EXCEPTIONS.
27211 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27212 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27213 FP_HANDLE_EXCEPTIONS.
27214 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27215 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27216 FP_HANDLE_EXCEPTIONS.
27217
27218 2014-10-08 Joseph Myers <joseph@codesourcery.com>
27219
27220 [BZ #14132]
27221 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27222 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27223 use INTUSE.
27224 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27225 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27226 Remove alias.
27227 (__adjtimex): Define using libc_hidden_ver.
27228 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27229 Remove declaration.
27230 (ntp_gettime): Call __adjtimex directly.
27231 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27232 Remove declaration.
27233 (ntp_gettimex): Call __adjtimex directly.
27234 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27235 __adjtimex_internal alias.
27236
27237 2014-10-08 Roland McGrath <roland@hack.frob.com>
27238
27239 [BZ #17460]
27240 * nscd/nscd.c (more_help): Rewrite list of tables collection
27241 using xstrdup and asprintf.
27242
27243 * nscd/nscd_conf.c: Remove local xstrdup declaration.
27244
27245 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27246 Roland McGrath <roland@hack.frob.com>
27247
27248 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27249 (do_lookup_unique): ... local function 'enter' here; update callers.
27250
27251 2014-10-06 Joseph Myers <joseph@codesourcery.com>
27252
27253 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27254 compat_symbol calls on [SHARED].
27255 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27256 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27257 Remove.
27258 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27259 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27260 (oldsetrlimit): Remove.
27261 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27263 (lchown): New syscall entry.
27264 (oldsetrlimit): Remove.
27265 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27266 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27267 (oldsetrlimit): Remove.
27268 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27269
27270 [BZ #14138]
27271 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27272 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27273 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27274 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27275 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27276 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27277 (fchown): Likewise.
27278 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27279 (fchown): Likewise.
27280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27281 Likewise.
27282
27283 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27284
27285 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27286 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27287 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27288 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27289 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27290 Likewise.
27291 (__old_sem_post): Likewise.
27292
27293 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
27294
27295 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27296 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27297 HAVE_CLOCK_GETTIME_VSYSCALL macros.
27298 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27299 Use INLINE_VSYSCALL macro.
27300 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27301 __vdso_clock_gettime.
27302 * sysdeps/unix/sysv/linux/tile/init-first.c
27303 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27304 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27305 __vdso_clock_gettime.
27306
27307 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27308 to set up frame more cleanly.
27309
27310 * sysdeps/tile/memcmp.c: New file.
27311
27312 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27313
27314 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27315 * sysdeps/tile/tilegx/strcasestr.c: New file.
27316 * sysdeps/tile/tilegx/strnlen.c: New file.
27317 * sysdeps/tile/tilegx/strstr.c: New file.
27318
27319 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27320
27321 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
27322
27323 * nptl/tst-setuid3.c: Write errors to stdout.
27324
27325 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27326
27327 * elf/dl-deps.c
27328 (preload): New functions broken out of _dl_map_object_deps.
27329 (_dl_map_object_deps): Remove a nested function. Update call sites.
27330
27331 2014-10-01 Joseph Myers <joseph@codesourcery.com>
27332
27333 [BZ #14138]
27334 * sysdeps/unix/sysv/linux/execve.c: Remove file.
27335 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27336
27337 2014-10-01 Steve Ellcey <sellcey@mips.com>
27338
27339 * sysdeps/mips/strcmp.S: New.
27340
27341 2014-09-30 Joseph Myers <joseph@codesourcery.com>
27342
27343 [BZ #14138]
27344 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27345 (linkat): Likewise.
27346 (mkdirat): Likewise.
27347 (readlinkat): Likewise.
27348 (renameat): Likewise.
27349 (symlinkat): Likewise.
27350 (unlinkat): Likewise.
27351 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27352 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27353 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27354 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27355 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27356 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
27357 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
27358
27359 2014-09-30 Will Newton <will.newton@linaro.org>
27360
27361 * math/math.h: Define long double math functions if
27362 _LIBC_TEST is defined.
27363 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
27364
27365 * localedata/Makefile: Move assignment to tests-special
27366 into an ifdef testing run-built-tests.
27367 * timezone/Makefile: Likewise.
27368
27369 2014-09-29 Joseph Myers <joseph@codesourcery.com>
27370
27371 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
27372 with $(BASH) not $(SHELL).
27373
27374 2014-09-29 Carlos O'Donell <carlos@redhat.com>
27375 Matthew LeGendre <legendre1@llnl.gov>
27376
27377 [BZ #17411]
27378 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
27379 l_reloc_result.
27380
27381 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27382
27383 * stdio-common/printf_fp.c
27384 (hack_digit): New function, broken out of ...
27385 (__printf_fp): ... local function here. Update call sites.
27386 hack_digit now takes an additional parameter that is a pointer
27387 to a struct of the referenced locals. Those locals moved inside
27388 the struct and references updated.
27389
27390 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
27391
27392 * aclocal.m4: Require autoconf 2.69.
27393 * configure: Regenerated.
27394 * sysdeps/aarch64/configure: Likewise.
27395 * sysdeps/alpha/configure: Likewise.
27396 * sysdeps/arm/armv7/configure: Likewise.
27397 * sysdeps/arm/configure: Likewise.
27398 * sysdeps/ia64/configure: Likewise.
27399 * sysdeps/mach/configure: Likewise.
27400 * sysdeps/mips/configure: Likewise.
27401 * sysdeps/s390/configure: Likewise.
27402 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
27403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
27404
27405 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
27406 file.
27407 * sysdeps/ia64/configure.ac: Likewise.
27408
27409 2014-09-26 Joseph Myers <joseph@codesourcery.com>
27410
27411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
27412 specify symbol version for ld.so. Do not include entry for
27413 libpthread.
27414 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27415 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27416 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27417
27418 [BZ #14171]
27419 * Makeconfig [$(build-shared) = yes]
27420 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
27421 makefiles.
27422 [$(build-shared) = yes && $(soversions.mk-done) = t]
27423 ($(common-objpfx)gnu/lib-names.h): Remove rule.
27424 [$(build-shared) = yes && $(soversions.mk-done) = t]
27425 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
27426 to Makerules.
27427 [$(build-shared) = yes && $(soversions.mk-done) = t]
27428 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
27429 here.
27430 [$(build-shared) = yes && $(soversions.mk-done) = t]
27431 (common-generated): Don't append gnu/lib-names.h and
27432 gnu/lib-names.stmp here.
27433 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
27434 (lib-names-h-abi): New variable.
27435 [$(build-shared) = yes && $(soversions.mk-done) = t]
27436 (lib-names-stmp-abi): Likewise.
27437 [$(build-shared) = yes && $(soversions.mk-done) = t &&
27438 abi-variants] (before-compile): Append
27439 $(common-objpfx)$(lib-names-h-abi).
27440 [$(build-shared) = yes && $(soversions.mk-done) = t &&
27441 abi-variants] (common-generated): Append gnu/lib-names.h.
27442 [$(build-shared) = yes && $(soversions.mk-done) = t &&
27443 abi-variants] (install-others-nosubdir): Depend on
27444 $(inst_includedir)/$(lib-names-h-abi).
27445 [$(build-shared) = yes && $(soversions.mk-done) = t &&
27446 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
27447 [$(build-shared) = yes && $(soversions.mk-done) = t]
27448 ($(common-objpfx)$(lib-names-h-abi)): New rule.
27449 [$(build-shared) = yes && $(soversions.mk-done) = t]
27450 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
27451 [$(build-shared) = yes && $(soversions.mk-done) = t]
27452 (common-generated): Append $(lib-names-h-abi) and
27453 $(lib-names-stmp-abi).
27454 * scripts/lib-names.awk: Do not handle multi being set.
27455 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27456 Remove variable.
27457 (abi-lp64_be-ld-soname): Likewise.
27458 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27459 Likewise.
27460 (abi-hard-ld-soname): Likewise.
27461 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27462 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27463 Remove variable.
27464 (abi-o32_hard-ld-soname): Likewise.
27465 (abi-o32_soft_2008-ld-soname): Likewise.
27466 (abi-o32_hard_2008-ld-soname): Likewise.
27467 (abi-n32_soft-ld-soname): Likewise.
27468 (abi-n32_hard-ld-soname): Likewise.
27469 (abi-n32_soft_2008-ld-soname): Likewise.
27470 (abi-n32_hard_2008-ld-soname): Likewise.
27471 (abi-n64_soft-ld-soname): Likewise.
27472 (abi-n64_hard-ld-soname): Likewise.
27473 (abi-n64_soft_2008-ld-soname): Likewise.
27474 (abi-n64_hard_2008-ld-soname): Likewise.
27475 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27476 Likewise.
27477 (abi-64-v2-ld-soname): Likewise.
27478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27479 ld.so entries.
27480 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27481 variable.
27482 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27483 entry.
27484 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27485 variable.
27486 (abi-64-ld-soname): Likewise.
27487 (abi-x32-ld-soname): Likewise.
27488 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27489 entry.
27490 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27491
27492 2014-09-23 Joseph Myers <joseph@codesourcery.com>
27493
27494 [BZ #14138]
27495 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27496 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27497 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27498 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27499 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27500 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27501 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27502 syscall entry for GLIBC_2.2 symbol version.
27503 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27504 Likewise.
27505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27506 (setrlimit): Likewise.
27507 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27508 Likewise.
27509
27510 2014-09-23 Will Newton <will.newton@linaro.org>
27511
27512 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27513 _LINUX_ARM_SYSDEP_H include guard too.
27514 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27515 define.
27516
27517 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
27518
27519 * sysdeps/unix/sysv/linux/eventfd.c:
27520 Make first argument unsigned.
27521 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27522 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27523
27524 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
27525
27526 [BZ #16852]
27527 * socket/recvmmsg.c (recvmmsg): Drop const argument.
27528 * socket/sys/socket.h: Likewise.
27529 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27530
27531 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27532
27533 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27534
27535 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
27536
27537 * time/tst-ftime.c: New test.
27538 * time/Makefile (tests): Add tst-ftime.
27539
27540 2014-09-17 Joseph Myers <joseph@codesourcery.com>
27541
27542 * soft-fp/extended.h: Fix comment formatting.
27543 * soft-fp/op-1.h: Likewise.
27544 * soft-fp/op-2.h: Likewise.
27545 * soft-fp/op-4.h: Likewise.
27546 * soft-fp/op-8.h: Likewise.
27547 * soft-fp/op-common.h: Likewise.
27548 * soft-fp/soft-fp.h: Likewise.
27549
27550 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27551
27552 2014-09-16 Joseph Myers <joseph@codesourcery.com>
27553
27554 [BZ #6652]
27555 * Makeconfig (soversions-default-setname): Remove variable.
27556 ($(common-objpfx)soversions.i): Don't pass default_setname to
27557 soversions.awk.
27558 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27559 oldest_abi to abi-versions.awk.
27560 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27561 * config.make.in (oldest-abi): Remove variable.
27562 * configure.ac (--enable-oldest-abi): Remove configure option.
27563 * configure: Regenerated.
27564 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27565 text.
27566 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27567 * scripts/soversions.awk: Do not handle default_setname variable.
27568 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27569 variable.
27570 * sysdeps/mach/hurd/configure: Regenerated.
27571 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27572 variable.
27573 * sysdeps/unix/sysv/linux/configure: Regenerated.
27574
27575 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27576
27577 * elf/Makefile (CFLAGS-interp.c): Remove.
27578 ($(elf-objpfx)runtime-linker.h): Generate header with linker
27579 path string.
27580 * elf/interp.c: Include generated runtime-linker.h
27581
27582 * Makerules (lib%.so): Don't include $(+interp) in
27583 prerequisites.
27584 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27585 * dlfcn/eval.c: Remove file.
27586
27587 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27588 macros.
27589
27590 [BZ #17266]
27591 * misc/sys/cdefs.h: Define __extern_always_inline for clang
27592 4.2 and newer.
27593
27594 [BZ #17370]
27595 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27596
27597 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27598 Jakub Jelinek <jakub@redhat.com>
27599
27600 [BZ #17266]
27601 * libio/stdio.h: Check definition of __fortify_function
27602 instead of __extern_always_inline to include bits/stdio2.h.
27603 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27604 check if __extern_always_inline is defined.
27605 [__USE_MISC || __USE_XOPEN]: Likewise.
27606 [__USE_ISOC99] Likewise.
27607 * misc/sys/cdefs.h (__fortify_function): Define only if
27608 __extern_always_inline is defined.
27609 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27610 __extern_always_inline and __extern_inline only for g++-4.3
27611 and newer or a compatible gcc.
27612
27613 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
27614
27615 [BZ #17371]
27616 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27617 last change to handle zero prefix length.
27618
27619 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27620
27621 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27622 _SC_REGEX_VERSION.
27623
27624 * posix/getconf.c (vars): Add _POSIX_IPV6 and
27625 _POSIX_RAW_SOCKETS.
27626
27627 2014-09-13 Allan McRae <allan@archlinux.org>
27628
27629 * po/ru.po: Update Russian translation from translation project.
27630
27631 2014-09-12 Roland McGrath <roland@hack.frob.com>
27632
27633 * locale/programs/locale.c (show_locale_vars): Inline local function
27634 into its sole call site. Clean up some style nits.
27635 (print_item): New function, broken out of ...
27636 (show_info): ... local function here. Clean up style nits.
27637
27638 * locale/programs/ld-ctype.c (set_one_default): New function, broken
27639 out of ...
27640 (set_class_defaults): ... local function set_default here.
27641 Define set_default as a macro locally to pass constant parameters.
27642 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27643 rather than a shared local.
27644
27645 * stdlib/rpmatch.c (try): New function, broken out of ...
27646 (rpmatch): ... local function here. Also, prototypify definition.
27647
27648 2014-09-12 Joseph Myers <joseph@codesourcery.com>
27649
27650 * scripts/soversions.awk: Do not handle configuration names.
27651 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27652 vendor and os variables to soversions.awk.
27653 * configure.ac: Do not modify gnu-* host_os.
27654 * configure: Regenerated
27655 * shlib-versions: Remove first column with configuration names.
27656 * nptl/shlib-versions: Likewise.
27657 * nptl_db/shlib-versions: Likewise.
27658 * sysdeps/hppa/shlib-versions: Likewise.
27659 * sysdeps/m68k/shlib-versions: Likewise.
27660 * sysdeps/mach/hurd/shlib-versions: Likewise.
27661 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27662 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27663 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27664 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27665 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27666 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27667 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27668 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27670 Likewise.
27671 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27672 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27673 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27674 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27675 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27676 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27677 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27678 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27679
27680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27681 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27683 Regenerated.
27684 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27686 Condition symbol version definitions on [HAVE_ELFV2_ABI].
27687
27688 * shlib-versions: Remove OS-specific entries. Moved to files in
27689 sysdeps.
27690 * sysdeps/mach/hurd/shlib-versions: New file.
27691 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27692
27693 * nptl/shlib-versions: Remove architecture-specific entries.
27694 Moved to files in sysdeps.
27695 * shlib-versions: Likewise.
27696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27697 file.
27698 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27699 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27700 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27701 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27702
27703 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27704 (UDP_NO_CHECK6_RX): Likewise.
27705
27706 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27707
27708 * sysdeps/posix/sysconf.c (__sysconf): Spell
27709 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27710
27711 2014-08-12 Florian Weimer <fweimer@redhat.com>
27712
27713 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27714 loading.
27715 * iconv/Versions (__gconv_transliterate): Export for use from
27716 gconv modules.
27717 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27718 (struct __gconv_trans_data, __gconv_trans_fct,
27719 __gconv_trans_context_fct, __gconv_trans_query_fct,
27720 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27721 definitions.
27722 (struct __gconv_step_data): Remove __trans member.
27723 (__gconv_transliterate): Declaration moved from gconv_int.h. No
27724 longer hidden. Remove unused trans_data argument.
27725 * iconv/gconv_int.h (struct trans_struct): Remove definition.
27726 (__gconv_translit_find): Remove declaration.
27727 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
27728 prototype.
27729 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27730 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27731 trans_data argument. Add hidden definition.
27732 (__gconv_translit_find): Remove.
27733 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27734 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27735 * iconv/skeleton.c: Remove transliteration initialization.
27736 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27737 __gconv_step_data initialization.
27738 * libio/iofwide.c (__libio_translit_): Remove.
27739 (_IO_fwide): Adjust struct __gconv_step_data initialization.
27740 * wcsmbs/btowc.c (__btowc): Likewise.
27741 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27742 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27743 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27744 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27745 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27746 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27747 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27748 * wcsmbs/wctob.c (wctob): Likewise.
27749
27750 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27751
27752 [BZ #16194]
27753 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27754 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
27755 register usage.
27756 * sysdeps/x86/Makefile: Adjust.
27757
27758 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27759 Roland McGrath <roland@hack.frob.com>
27760
27761 * locale/weight.h: Add include guard.
27762 (findidx): Make static rather than auto; take new parameters
27763 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27764 * locale/weightwc.h: Likewise.
27765 * posix/fnmatch_loop.c
27766 (FCT): Change type of EXTRA from int32_t to wint_t.
27767 Don't include either header inside the function.
27768 Call FINDIDX rather than findidx, and pass new arguments.
27769 #undef FINDIDX at the end of the file.
27770 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27771 FINDIDX before including fnmatch_loop.c for the non-wide version.
27772 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27773 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27774 for the wide version.
27775 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27776 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27777 Pass new arguments to findidx.
27778 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27779 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27780 Don't #include it inside the function. Pass new arguments to findidx.
27781 * posix/regex_internal.h
27782 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27783 (re_string_elem_size_at): Don't #include it inside the function.
27784 Pass new arguments to findidx.
27785 * string/strcoll_l.c: #include WEIGHT_H at top level.
27786 (get_next_seq): Don't #include it inside the function.
27787 Pass new arguments to findidx.
27788 (get_next_seq_nocache): Likewise.
27789 * string/strxfrm_l.c: #include WEIGHT_H at top level.
27790 (STRXFRM): Don't #include it inside the function.
27791 Pass new arguments to findidx.
27792
27793 2014-09-11 Florian Weimer <fweimer@redhat.com>
27794
27795 [BZ #17344]
27796 * malloc/malloc.c (unlink): Turn asserts into a call to
27797 malloc_printerr.
27798
27799 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
27800
27801 [BZ #17370]
27802 * libio/wfileops (do_ftell_wide): Free OUT.
27803
27804 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
27805
27806 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27807
27808 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27809
27810 [BZ #17363]
27811 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27812 group if the current group is empty.
27813
27814 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27815
27816 * benchtests/bench-memset.c (test_main): Add more test from size
27817 from 32 to 512 bytes.
27818 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27819 Add POWER8 memset object.
27820 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27821 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27822 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27823 implementation.
27824 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27825 Likewise.
27826 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27827 multiarch POWER8 memset optimization.
27828 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27829 POWER8 memset optimization.
27830
27831 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27832 Remove bzero multiarch objects.
27833 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27834 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27835 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27836 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27837 Remove define.
27838 [__bzero]: Redefine to specific name.
27839 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27840 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27841 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27842 define.
27843 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27844 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27845
27846 2014-09-10 Florian Weimer <fweimer@redhat.com>
27847
27848 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27849 warnings into errors.
27850
27851 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27852 __cxa_thread_atexit_impl prototype.
27853
27854 2014-09-09 Steve Ellcey <sellcey@mips.com>
27855
27856 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27857 Fix capitalization of error message.
27858
27859 2014-09-09 Steve Ellcey <sellcey@mips.com>
27860
27861 * sysdeps/mips/preconfigure: Modify ABI tests.
27862
27863 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
27864
27865 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27866
27867 2014-09-07 Roland McGrath <roland@hack.frob.com>
27868 Carlos O'Donell <carlos@systemhalted.org>
27869
27870 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27871 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27872 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27873 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27874 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27875 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27876 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27877 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27878 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27879 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27880 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27881 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27882 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27883 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27884 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27885 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27886 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27887 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27888 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27889 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27890 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27891 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27892 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27893 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27894 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27895 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27896 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27897 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27898 Deconditionalize the code that was previously under [RESET_PID].
27899 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27900 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27901 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27902 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27903 include sysdep.h.
27904
27905 2014-09-08 Allan McRae <allan@archlinux.org>
27906
27907 * version.h (RELEASE): Set to "development".
27908 (VERSION): Set to "2.20.90"
27909
27910 2014-09-07 Allan McRae <allan@archlinux.org
27911
27912 * version.h (RELEASE): Set to "stable".
27913 (VERSION): Set to "2.20"
27914 * include/features.h (__GLIBC_MINOR__): Set to 20.
27915
27916 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27917 Liebler.
27918
27919 * po/ko.po: Update Korean translation from translation project.
27920
27921 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
27922
27923 [BZ #17354]
27924 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27925 macro for handling signed relocations.
27926
27927 2014-09-03 Florian Weimer <fweimer@redhat.com>
27928
27929 [BZ #17325]
27930 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27931 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27932 assert.
27933 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27934 * iconvdata/ibm935.c (BODY): Likewise.
27935 * iconvdata/ibm937.c (BODY): Likewise.
27936 * iconvdata/ibm939.c (BODY): Likewise.
27937 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27938 assert.
27939 * iconvdata/Makefile (iconv-test.out): Pass module list to test
27940 script.
27941 * iconvdata/run-iconv-test.sh: New test loop for checking for
27942 decoder crashers.
27943
27944 2014-09-02 Khem Raj <raj.khem@gmail.com>
27945
27946 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27947 libm_hidden_ver.
27948
27949 2014-09-01 Allan McRae <allan@archlinux.org>
27950
27951 * po/eo.po: Update Esperanto translation from translation project.
27952
27953 * po/ca.po: Update Catalan translation from translation project.
27954
27955 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
27956
27957 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27958 __proc_dostop call.
27959
27960 2014-08-27 Mark Wielaard <mjw@redhat.com>
27961
27962 [BZ #17319]
27963 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27964 to call set_thread_area instead of hand written asm.
27965 (__NR_set_thread_area): Removed define.
27966 (TLS_FLAG_WRITABLE): Likewise.
27967 (__ASSUME_SET_THREAD_AREA): Remove check.
27968 (TLS_EBX_ARG): Remove define.
27969 (TLS_LOAD_EBX): Likewise.
27970
27971 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27972
27973 Simplify atomicity of socket creation in bind.
27974
27975 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27976 looking up the name after linking the file.
27977
27978 2014-08-27 Allan McRae <allan@archlinux.org>
27979
27980 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27981
27982 2014-08-26 Florian Weimer <fweimer@redhat.com>
27983
27984 [BZ #17187]
27985 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27986 trans_compare, open_translit, __gconv_translit_find):
27987 Remove module loading code.
27988
27989 2014-08-26 Allan McRae <allan@archlinux.org>
27990
27991 * po/vi.po: Update Vietnamese translation from translation project.
27992
27993 * po/uk.po: Update Ukrainian translation from translation project.
27994
27995 * po/fr.po: Update French translation from translation project.
27996
27997 * po/ru.po: Update Russian translation from translation project.
27998
27999 * po/pl.po: Update Polish translation from translation project.
28000
28001 * po/cs.po: Update Czech translation from translation project.
28002
28003 * po/de.po: Update German translation from translation project.
28004
28005 * po/bg.po: Update Bulgarian translation from translation project.
28006
28007 * po/sv.po: Update Sweedish translation from translation project.
28008
28009 * po/nl.po: Update Dutch translation from translation project.
28010
28011 * po/es.po: Update Spanish translation from translation project.
28012
28013 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28014
28015 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
28016
28017 * catgets/Makefile (CPPFLAGS-gencat): Remove.
28018 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
28019 (CPPFLAGS-iconvconfig): Likewise.
28020 * timezone/Makefile (CPPFLAGS-zic): Likewise.
28021
28022 * include/libc-symbols.h: Remove unnecessary check for
28023 NOT_IN_libc.
28024 * nptl/pthreadP.h: Likewise.
28025 * sysdeps/aarch64/setjmp.S: Likewise.
28026 * sysdeps/alpha/setjmp.S: Likewise.
28027 * sysdeps/arm/sysdep.h: Likewise.
28028 * sysdeps/i386/setjmp.S: Likewise.
28029 * sysdeps/m68k/setjmp.c: Likewise.
28030 * sysdeps/posix/getcwd.c: Likewise.
28031 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28032 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28033 * sysdeps/s390/s390-32/setjmp.S: Likewise.
28034 * sysdeps/s390/s390-64/setjmp.S: Likewise.
28035 * sysdeps/sh/sh3/setjmp.S: Likewise.
28036 * sysdeps/sh/sh4/setjmp.S: Likewise.
28037 * sysdeps/unix/alpha/sysdep.h: Likewise.
28038 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28039 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28040 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28041 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28044 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28045 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28046 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28049 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28051 * sysdeps/x86_64/setjmp.S: Likewise.
28052
28053 2014-08-13 Joseph Myers <joseph@codesourcery.com>
28054
28055 [BZ #17263]
28056 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
28057 <stdint.h>.
28058 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
28059 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
28060
28061 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28062
28063 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
28064
28065 [BZ #17262]
28066 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
28067 and __x86_64__ when disabling x87 inline functions.
28068
28069 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
28070
28071 [BZ #17259]
28072 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
28073 asm statement with __cpuid_count.
28074
28075 2014-08-12 Mike Frysinger <vapier@gentoo.org>
28076
28077 * configure.ac: Change __ehdr_start code to dereference the struct.
28078 Run readelf on the output to look for relocations.
28079 * configure: Regenerated.
28080
28081 2014-08-12 Joseph Myers <joseph@codesourcery.com>
28082
28083 [BZ #17261]
28084 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28085 value to 0.
28086 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28087
28088 2014-08-12 Roland McGrath <roland@hack.frob.com>
28089
28090 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28091
28092 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
28093
28094 [BZ #16892]
28095 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
28096 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
28097
28098 2014-08-12 Sean Anderson <seanga2@gmail.com>
28099
28100 * malloc/malloc.c: Fix typo in comment.
28101
28102 2014-08-09 Allan McRae <allan@archlinux.org>
28103
28104 * Regenerate libc.po.
28105
28106 2014-08-08 Mike Frysinger <vapier@gentoo.org>
28107
28108 * intl/tst-gettext2.sh: Check every lang file for creation.
28109
28110 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
28111
28112 * sysdeps/aarch64/fpu/math_private.h
28113 (libc_feholdsetround_noex_aarch64_ctx): New function.
28114
28115 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
28116
28117 * sysdeps/arm/armv6/strcpy.S (strcpy):
28118 Fix performance issue in misaligned cases.
28119
28120 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28121
28122 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
28123 Move definition from termios.h.
28124 (struct termio): Likewise.
28125 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28126 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28127 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28128 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28129 Likewise.
28130 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
28131 Move definition to ioctl-types.h
28132 (struct termio): Likewise.
28133 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28134 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28135 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28136 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28137 Likewise.
28138
28139 2014-08-05 Richard Henderson <rth@redhat.com>
28140
28141 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
28142 exceptions.
28143 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
28144 Add fraiseexcpt.
28145 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
28146 Use __feraiseexcept.
28147 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
28148 Protect libm symbols with IS_IN_libm.
28149
28150 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
28151
28152 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
28153
28154 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
28155
28156 2014-08-04 Will Newton <will.newton@linaro.org>
28157
28158 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
28159 file.
28160
28161 2014-08-04 Mike Frysinger <vapier@gentoo.org>
28162
28163 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
28164 variants for each function.
28165
28166 2014-08-04 Roland McGrath <roland@hack.frob.com>
28167
28168 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
28169 appended ...
28170 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
28171 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
28172 appended ...
28173 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
28174 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
28175 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
28176 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
28177 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
28178 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
28179 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
28180 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
28181 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
28182 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
28183 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
28184 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
28185 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
28186 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
28187 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
28188 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
28189 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
28190 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
28191 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
28192 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
28193 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
28194 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
28195 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
28196 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
28197 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
28198 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
28199 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
28200 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
28201 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
28202 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
28203 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
28204 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
28205 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28206 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28207 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28208 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28209 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28210 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28211 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28212 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28213 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28214 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28215 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28216 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28217 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28218 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28219 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28220 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28221 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28222 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28223 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28224 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28225 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28226 Update #include.
28227 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28228 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28229
28230 2014-08-04 Roland McGrath <roland@hack.frob.com>
28231
28232 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28233 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28234 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28235 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28236 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28237 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28238
28239 2014-08-04 Roland McGrath <roland@hack.frob.com>
28240
28241 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28242 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28243 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28244 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28245
28246 2014-08-04 Roland McGrath <roland@hack.frob.com>
28247
28248 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28249 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28250 (__libc_vfork): Define function under this name.
28251 (__vfork): Define as an alias.
28252 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28253 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28254
28255 2014-08-04 Roland McGrath <roland@hack.frob.com>
28256
28257 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28258 that was previously under [RESET_PID].
28259 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28260
28261 2014-08-04 Andreas Schwab <schwab@suse.de>
28262
28263 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28264
28265 2014-08-03 Mike Frysinger <vapier@gentoo.org>
28266
28267 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28268 (main): Likewise.
28269
28270 2014-08-01 Roland McGrath <roland@hack.frob.com>
28271
28272 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28273
28274 2014-08-01 Richard Henderon <rth@redhat.com>
28275
28276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28277 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28278 typo in exact zero test.
28279 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28280 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28281 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28282
28283 2014-08-01 Roland McGrath <roland@hack.frob.com>
28284
28285 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28286 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28287 * sysdeps/arm/sysdep.h: ... here.
28288 [!__ASSEMBLER__]: Include <stdint.h>.
28289
28290 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28291
28292 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28293 (HAVE_WCTYPE_H): Likewise.
28294 (HAVE_ISWCTYPE): Likewise.
28295 (ENABLE_NLS): Likewise.
28296 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28297 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28298
28299 * posix/regex_internal.c: Check if DEBUG is defined and is
28300 set.
28301
28302 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28303 (HAVE_MBSRTOWCS): Likewise.
28304 * posix/fnmatch.c: Include string.h unconditionally.
28305
28306 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
28307
28308 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28309 reversal.
28310
28311 2014-07-31 Roland McGrath <roland@hack.frob.com>
28312
28313 * sysdeps/generic/safe-fatal.h: New file.
28314 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28315 * nptl/forward.c: Include it.
28316 (__pthread_unwind): Use __safe_fatal as default action, rather
28317 than a bogus use of INTERNAL_SYSCALL that could never work.
28318
28319 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28320 * configure.ac (libc_cv_builtin_trap): New test.
28321 * configure: Regenerated.
28322 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28323 (ABORT_INSTRUCTION): Define using __builtin_trap.
28324
28325 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28326 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28327 * sysdeps/nptl/nptl-signals.h: New file.
28328 * nptl/pthreadP.h: Include <nptl-signals.h>.
28329
28330 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
28331
28332 * sysdeps/s390/s390-64/utf16-utf32-z9.c
28333 (ONE_DIRECTION): Define.
28334 * sysdeps/s390/s390-64/utf8-utf16-z9.c
28335 (ONE_DIRECTION): Define.
28336 * sysdeps/s390/s390-64/utf8-utf32-z9.c
28337 (ONE_DIRECTION): Define.
28338
28339 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
28340
28341 * sysdeps/s390/Makefile: Delete file.
28342 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28343 * sysdeps/s390/__longjmp.c: Delete file.
28344 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28345 Remove fields __flags and __reserved.
28346 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28347 and add versioning.
28348 * sysdeps/s390/rtld-__longjmp.c: Delete file.
28349 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28350 * sysdeps/s390/rtld-setjmp.S: Likewise.
28351 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28352 * sysdeps/s390/s390-32/__longjmp.c: ... here.
28353 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28354 * sysdeps/s390/s390-32/setjmp.S: ... here.
28355 Add versioning.
28356 (__sigsetjmp): Remove setting __flags field.
28357 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
28358 * sysdeps/s390/s390-64/__longjmp.c: ... here.
28359 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
28360 * sysdeps/s390/s390-64/setjmp.S: ... here.
28361 Add versioning.
28362 (__sigsetjmp): Remove setting __flags field.
28363 * sysdeps/s390/setjmp.S: Delete file.
28364 * sysdeps/s390/sigjmp.c: Likewise.
28365 * sysdeps/s390/v1-longjmp.c: Likewise.
28366 * sysdeps/s390/v1-setjmp.h: Likewise.
28367 * sysdeps/s390/v1-sigjmp.c: Likewise.
28368 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
28369 Remove v1-longjmp_chk.
28370 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
28371 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
28372 Include debug/longjmp_chk.c and add versioning.
28373 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
28374 Include nptl/pt-longjmp.c and add versioning.
28375 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
28376 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
28377 Include __longjmp.c.
28378 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28379 Move to ...
28380 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
28381 (__getcontext): Remove setting __flags field.
28382 Add versioning.
28383 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28384 Don't restore upper high grps.
28385 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
28386 Likewise.
28387 (__swapcontext): Remove setting uc_flags field.
28388 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
28389 Delete file.
28390 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28391 Include __longjmp.c.
28392 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28393 Move to ...
28394 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
28395 (__getcontext): Remove setting __flags field.
28396 Add versioning.
28397 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
28398 (__swapcontext): Remove setting uc_flags field.
28399 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
28400 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
28401 Remove fields uc_high_gprs and __reserved.
28402 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
28403 New file with reverted content.
28404 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
28405 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
28406 Regenerated.
28407 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
28408 Regenerated.
28409
28410 2014-07-31 Andreas Schwab <schwab@suse.de>
28411
28412 * config.h.in (HAVE_IFUNC): Define to 0.
28413 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
28414 definedness.
28415
28416 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
28417
28418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28419 memmove-avx-unaligned, memcpy-avx-unaligned and
28420 mempcpy-avx-unaligned.
28421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28422 Add tests for AVX memcpy functions.
28423 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
28424 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
28425 memcpy_chk.
28426 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
28427 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
28428 memmove_chk.
28429 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
28430 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
28431 mempcpy_chk.
28432 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
28433 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
28434 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
28435
28436 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28437
28438 [BZ #17213]
28439 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
28440 powerpc64le.
28441
28442 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
28443
28444 [BZ #16839]
28445 * manual/llio.texi: Add section about open file description locks.
28446 * manual/examples/ofdlocks.c: Example of open file description
28447 lock usage.
28448 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
28449 F_OFD_SETLK, and F_OFD_SETLKW.
28450
28451 2014-07-23 Allan McRae <allan@archlinux.org>
28452
28453 * po/es.po: Update Spanish translation from translation project.
28454
28455 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
28456
28457 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28458
28459 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
28460
28461 [BZ #17078]
28462 * sysdeps/arm/dl-machine.h (elf_machine_rela)
28463 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28464 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28465
28466 2014-07-17 Joseph Myers <joseph@codesourcery.com>
28467
28468 [BZ #17088]
28469 * math/fesetenv.c (__fesetenv)
28470 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28471 * math/feupdateenv.c (__feupdateenv)
28472 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28473
28474 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28475 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28476 (__ASSUME_SOCKETCALL): Do not define.
28477
28478 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28479 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28480 (__ASSUME_SOCKETCALL): Do not define.
28481 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28482 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28483 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28484 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28485 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28486 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28487 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28488 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28489
28490 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28491 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28492 (__ASSUME_SOCKETCALL): Do not define.
28493 (__ASSUME_IPC64): Define unconditionally.
28494 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28495 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28496 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28497 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28498 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28499 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28500 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28501 Likewise.
28502
28503 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28504 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28505 (__ASSUME_SOCKETCALL): Do not define.
28506 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28507 (__ASSUME_FUTEX_LOCK_PI): Likewise.
28508 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28509 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28510 (__ASSUME_REQUEUE_PI): Define unconditionally.
28511 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28512 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28513 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28514 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28515 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28516 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28517
28518 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28519 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28520 (__ASSUME_SOCKETCALL): Do not define.
28521 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28522 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28523 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28524 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28525 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28526 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28527
28528 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28529 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28530 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28531 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28532 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28533 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28534 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28535 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28536 (__ASSUME_GETCPU_SYSCALL): Likewise.
28537
28538 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28539 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
28540 cases for individual architectures.
28541 * sysdeps/gnu/configure: Regenerated.
28542 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28543 LIBC_SLIBDIR_RTLDDIR.
28544 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28545 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28546 LIBC_SLIBDIR_RTLDDIR.
28547 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28549 LIBC_SLIBDIR_RTLDDIR.
28550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28551 Regenerated.
28552 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28553 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28554 file.
28555 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28556 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28557 file.
28558 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28559 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28560 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28561 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28562
28563 * sysdeps/aarch64/shlib-versions: Move to ...
28564 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28565 * sysdeps/alpha/shlib-versions: Move to ...
28566 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28567 * sysdeps/arm/shlib-versions: Move to ...
28568 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28569 * sysdeps/hppa/shlib-versions: Move all contents except for
28570 libgcc_s entry to ...
28571 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
28572 entry from ...
28573 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
28574 * sysdeps/ia64/shlib-versions: Move to ...
28575 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
28576 entry from ...
28577 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
28578 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28579 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28580 * sysdeps/microblaze/shlib-versions: Move to ...
28581 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28582 * sysdeps/mips/shlib-versions: Move to ...
28583 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
28584 entry from ...
28585 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
28586 * sysdeps/tile/shlib-versions: Move to ...
28587 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28588 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28589 from ...
28590 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
28591 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28592 entry from ...
28593 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
28594
28595 2014-07-17 Will Newton <will.newton@linaro.org>
28596
28597 * sysdeps/arm/bits/atomic.h
28598 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28599 (__arch_compare_and_exchange_bool_16_int): Likewise.
28600 (__arch_compare_and_exchange_bool_64_int): Likewise.
28601
28602 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28603 into an #else block.
28604
28605 2014-07-16 Roland McGrath <roland@hack.frob.com>
28606
28607 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28608 just Linux configurations. Test empirically that the compiler sets
28609 __ARM_EABI__, rather than using the tuple to decide.
28610 * sysdeps/arm/preconfigure: Regenerated.
28611 * sysdeps/unix/sysv/linux/arm/configure: File removed.
28612 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28613 contents appended ...
28614 * sysdeps/arm/configure.ac: ... here.
28615 * sysdeps/arm/configure: Regenerated.
28616
28617 2014-07-15 Roland McGrath <roland@hack.frob.com>
28618
28619 * nptl/pthread_kill.c: New file.
28620 * nptl/pthread_sigmask.c: New file.
28621 * nptl/pthread_sigqueue.c: New file.
28622
28623 * sysdeps/nptl/lowlevellock.h: New file.
28624 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28625 * sysdeps/nptl/lowlevellock-futex.h: New file.
28626
28627 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28628 Remove dead declarations.
28629
28630 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
28631
28632 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28633 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28634 config-cflags-avx2.
28635 * sysdeps/x86_64/configure.ac: Likewise.
28636 * sysdeps/i386/configure: Regenerated.
28637 * sysdeps/x86_64/configure: Likewise.
28638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28639 memset-avx2 only if config-cflags-avx2 is yes.
28640 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28641 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28642 defined.
28643 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28644 only if HAVE_AVX2_SUPPORT is defined.
28645 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28646
28647 2014-07-14 Alan Modra <amodra@gmail.com>
28648
28649 [BZ #17153]
28650 * elf/elf.h (DT_PPC64_NUM): Correct value.
28651 * NEWS: Add to fixed bug list.
28652
28653 2014-07-13 Jim Meyering <meyering@fb.com>
28654
28655 [BZ 17150]
28656 regex: don't deref NULL upon heap allocation failure
28657 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28658 failure in one more place.
28659 To trigger the segfault, configure grep -with-included-regex,
28660 build it, and run these commands:
28661 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28662
28663 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
28664
28665 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28666
28667 2014-07-11 Richard Henderson <rth@redhat.com>
28668
28669 * sysdeps/aarch64/libm-test-ulps: Update.
28670
28671 2014-07-10 Florian Weimer <fweimer@redhat.com>
28672
28673 [BZ #17135]
28674 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28675 * nptl/allocatestack.c (__nptl_setxid_error): New function.
28676 (__nptl_setxid): Initialize error member. Call
28677 __nptl_setxid_error.
28678 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28679 * nptl/descr.h (struct xid_command): Add error member.
28680 * nptl/tst-setuid3.c: New file.
28681 * nptl/Makefile (tests): Add it.
28682
28683 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28684
28685 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28686 New define.
28687 (__lll_trylock): Use __lll_base_trylock.
28688 (__lll_cond_trylock): Likewise.
28689
28690 2014-07-10 Roland McGrath <roland@hack.frob.com>
28691
28692 * nptl/pthread_create.c (start_thread): Use atomic_or and
28693 lll_futex_wake directly rather than lll_robust_dead.
28694 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28695 (lll_robust_dead): Macro removed.
28696 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28697 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28698 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28699 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28700 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28701 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28702 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28703 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28704 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28705 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28706 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28707 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28708 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28709 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28710 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28711
28712 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28713 Use atomic_compare_and_exchange_val_acq directly rather than
28714 lll_robust_trylock.
28715 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28716 (__lll_robust_trylock, lll_robust_trylock): Removed.
28717 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28718 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28719 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28720 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28721 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28722 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28723 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28724 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28725 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28726 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28727 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28728 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28729 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28730 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28731
28732 2014-07-02 Florian Weimer <fweimer@redhat.com>
28733
28734 * manual/locale.texi (Locale Names): New section documenting
28735 locale name syntax. Adjust menu and node chaining accordingly.
28736 (Choosing Locale): Reference Locale Names, Locale Categories.
28737 Mention setting LC_ALL=C. Reflect that name syntax is now
28738 documented.
28739 (Locale Categories): New section title. Reference Locale Names.
28740 LC_ALL is an environment variable, but not a category.
28741 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28742 description, now in Locale Name. Reference that section. Locale
28743 name syntax is now documented.
28744
28745 2014-07-02 Florian Weimer <fweimer@redhat.com>
28746
28747 [BZ #17137]
28748 * locale/findlocale.c (name_present, valid_locale_name): New
28749 functions.
28750 (_nl_find_locale): Use the loc_name variable to store name
28751 candidates. Call name_present and valid_locale_name to check and
28752 validate locale names. Return an error if the locale is invalid.
28753
28754 2014-07-02 Florian Weimer <fweimer@redhat.com>
28755
28756 * locale/setlocale.c (setlocale): Use strdup for allocating
28757 composite name copy.
28758
28759 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28760
28761 Sync up with gnulib.
28762 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28763 [!_LIBC && ENABLE_NLS]: Include gettext.h.
28764 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28765 and _GL_ARG_NONNULL.
28766 [USE_UNLOCKED_IO]: Include unlocked-io.h.
28767 [!_LIBC]: Include code for Windows and Cygwin.
28768 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28769 Include prototype for int strerror_r.
28770 [!_LIBC] (is_open): New function.
28771 (flush_stdout): New function.
28772 (print_errno_message): Use it.
28773 (error): Likewise.
28774 (error_at_line): Likewise.
28775 (error_tail) Add function attribute macros. Use
28776 __builtin_expect.
28777
28778 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28779
28780 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28781
28782 * io/ftw.c: Include sys/param.h unconditionally.
28783
28784 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28785
28786 [BZ #17125]
28787 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28788 libc_freeres_ptr.
28789 (freecache): New function to free CACHE on exit.
28790
28791 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28792 initialization.
28793
28794 2014-07-09 David S. Miller <davem@davemloft.net>
28795
28796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28797
28798 * sysdeps/sparc/nptl/internaltypes.h: Delete.
28799 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28800 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28801 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28802 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28803 * sysdeps/sparc/nptl/sem_init.c: Likewise.
28804 * sysdeps/sparc/nptl/sem_post.c: Likewise.
28805 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28806 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28807 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28808 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28809 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28810 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28811
28812 2014-07-09 Andreas Schwab <schwab@suse.de>
28813
28814 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28815 output.
28816 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28817 (do_test): Likewise.
28818
28819 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28820
28821 2014-07-09 Will Newton <will.newton@linaro.org>
28822
28823 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28824 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28825 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28826 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28827 * sysdeps/hppa/start.S (_start): Likewise.
28828
28829 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28830
28831 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28832
28833 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28834 defined.
28835
28836 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28837
28838 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28839 after checking that it is non-NULL.
28840
28841 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28842
28843 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28844
28845 * sysdeps/powerpc/memmove.c: Remove file.
28846 * sysdeps/powerpc/powerpc32/power4/memcopy.h
28847 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28848 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28849 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28850 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28851 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28852 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28853 string memmove instead of removed powerpc one.
28854
28855 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28856 [weak_alias]: Fix compiler warning due trailing data.
28857 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28858 [weak_alias]: Likewise.
28859 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28860 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28861
28862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28863 (__libc_ifunc_impl_list): Add memmove functions.
28864
28865 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28866
28867 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28868 Remove code.
28869 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28870 Likewise.
28871 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28872 Likewise.
28873 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28874 Likewise.
28875 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28876 Likewise.
28877 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28878 Likewise.
28879 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28880 Likewise.
28881 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28882 Likewise.
28883 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28884 Likewise.
28885 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28886 Likewise.
28887 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28888 Likewise.
28889 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28890 Likewise.
28891 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28892 Likewise.
28893 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28894 Likewise.
28895 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28896 Likewise.
28897 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28898 Likewise.
28899 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28900 Likewise.
28901
28902 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28903
28904 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28905 to avoid alignment traps in non-cacheable memory.
28906 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28907
28908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28909 multiarch objects.
28910 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28911 file: multiarch power7 memmove.
28912 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28913 multiarch default memmove.
28914 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28915 multiarch memove for powerpc32/power4.
28916
28917 * string/bcopy.c: Use full path to include memmove.c.
28918 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28919 multiarch objects.
28920 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28921 bcopy for powerpc64.
28922 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28923 bcopy for powerpc64.
28924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28925 and memmove implementations.
28926 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28927 optimized multiarch memmove for POWER7/powerpc64.
28928 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28929 default multiarch memmove for powerpc64.
28930 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28931 multiarch for powerpc64.
28932 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28933 for POWER7/powerpc64.
28934 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28935 memmove for POWER7/powerpc64.
28936
28937 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28938 glibc default one.
28939
28940 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28941 __ELF_NATIVE_CLASS equal to 64.
28942
28943 2014-07-07 Roland McGrath <roland@hack.frob.com>
28944
28945 * sysdeps/nptl/lowlevellock.h: File removed.
28946
28947 * NEWS: NPTL is no longer an add-on!
28948 * nptl/internaltypes.h: Moved ...
28949 * sysdeps/nptl/internaltypes.h: ... here.
28950 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28951 * sysdeps/nptl/fork.c: Likewise.
28952 * sysdeps/nptl/gai_misc.h: Likewise.
28953 * sysdeps/nptl/librt-cancellation.c: Likewise.
28954 * sysdeps/nptl/jmp-unwind.c: Likewise.
28955 * sysdeps/nptl/setxid.h: Likewise.
28956 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28957 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28958 * sysdeps/unix/sysv/linux/arm/Implies: New file.
28959 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28960 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28961 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28962 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28963 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28964 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28965 * sysdeps/unix/sysv/linux/mips/Implies: New file.
28966 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28967 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28968 * sysdeps/unix/sysv/linux/sh/Implies: New file.
28969 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28970 * sysdeps/unix/sysv/linux/tile/Implies: New file.
28971 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28972 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28973 * nptl/Makeconfig: Moved ...
28974 * sysdeps/nptl/Makeconfig: ... here.
28975 * nptl/configure: File removed.
28976 * nptl/ANNOUNCE: File removed.
28977 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28978 * sysdeps/unix/sysv/linux/configure: Regenerated.
28979
28980 * nptl/Makefile (routines): Add libc_pthread_init,
28981 libc_multiple_threads, register-atfork and unregister-atfork.
28982 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28983 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28984 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28985 pthread-pi-defines.sym, structsem.sym.
28986 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28987 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28988 [$(subdir) = nptl] (tests): Add tst-setgetname.
28989 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28990 * sysdeps/unix/sysv/linux/sigaction.c: Just include
28991 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28992 [!LIBC_SIGACTION]: Remove aliases.
28993 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28994 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28995 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28996 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28997 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28998 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28999 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29000 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29001 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29002 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
29003 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
29004 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
29005 __libc_allocate_rtsig_private.
29006 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
29007 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
29008 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29009 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29010 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
29011 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
29012 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
29013 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
29014 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
29015 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
29016 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
29017 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
29018 * nptl/internaltypes.h: ... here.
29019 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
29020 * sysdeps/nptl/jmp-unwind.c: ... here.
29021 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
29022 * nptl/libc-lowlevellock.c: ... here.
29023 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
29024 * nptl/libc_multiple_threads.c: ... here.
29025 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
29026 * nptl/libc_pthread_init.c: ... here.
29027 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
29028 * nptl/lowlevelbarrier.sym: ... here.
29029 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
29030 * nptl/lowlevelcond.sym: ... here.
29031 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
29032 * nptl/lowlevellock.c: ... here.
29033 * nptl/lowlevellock.h: Moved ...
29034 * sysdeps/nptl/lowlevellock.h: ... here.
29035 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
29036 * nptl/lowlevelrobustlock.c: ... here.
29037 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
29038 * nptl/lowlevelrobustlock.sym: ... here.
29039 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
29040 * nptl/lowlevelrwlock.sym: ... here.
29041 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
29042 * nptl/pt-fork.c: ... here.
29043 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
29044 * nptl/pthread-pi-defines.sym: ... here.
29045 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
29046 * nptl/pthread_attr_getaffinity.c: ... here.
29047 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
29048 * nptl/pthread_attr_setaffinity.c: ... here.
29049 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
29050 * nptl/pthread_mutex_cond_lock.c: ... here.
29051 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29052 Update #include.
29053 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
29054 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
29055 * nptl/pthread_once.c: ... here, replacing old file.
29056 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
29057 * nptl/pthread_yield.c: ... here.
29058 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
29059 * nptl/register-atfork.c: ... here.
29060 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
29061 * nptl/sem_post.c: ... here.
29062 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
29063 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
29064 * nptl/sem_timedwait.c: ... here.
29065 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
29066 * nptl/sem_trywait.c: ... here.
29067 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
29068 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
29069 * nptl/sem_wait.c: ... here.
29070 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
29071 * nptl/structsem.sym: ... here.
29072 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
29073 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
29074 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
29075 * nptl/unregister-atfork.c: ... here.
29076 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
29077 * nptl/unwindbuf.sym: ... here.
29078 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
29079 * sysdeps/nptl/fork.c: ... here.
29080 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29081 * sysdeps/nptl/fork.h: ... here.
29082 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29083 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29084 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29085 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29086 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29087 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29088 * sysdeps/unix/sysv/linux/getpid.c: ... here.
29089 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29090 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29091 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29092 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
29093 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
29094 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
29095 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
29096 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
29097 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
29098 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
29099 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
29100 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
29101 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
29102 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
29103 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
29104 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
29105 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
29106 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
29107 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
29108 * sysdeps/unix/sysv/linux/raise.c: ... here.
29109 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
29110 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
29111 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
29112 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
29113 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
29114 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
29115 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
29116 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
29117 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
29118 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
29119 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
29120 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
29121 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
29122 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
29123 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
29124
29125 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29126
29127 * sysdeps/generic/memcopy.h: Add comment for
29128 MEMCPY_OK_FOR_FWD_MEMMOVE.
29129
29130 2014-07-04 Will Newton <will.newton@linaro.org>
29131
29132 * string/memchr.c: Merge from gnulib.
29133 [_LIBC]: Remove conditionals.
29134 (__ptr_t): Remove define.
29135 (LONG_MAX_32_BITS): Likewise.
29136 (LONG_MAX): Likewise.
29137 (MEMCHR): Use ANSI prototype and optimize algorithm.
29138
29139 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
29140
29141 2014-07-03 Roland McGrath <roland@hack.frob.com>
29142
29143 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
29144 (lll_futex_timed_wait_bitset): Fix syscall argument count.
29145
29146 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
29147 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
29148 in a bare environment with no <stdlib.h> installed.
29149 * sysdeps/nptl/configure: Regenerated.
29150
29151 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
29152
29153 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
29154 AC_EGREP_CPP for kernel header checks, so they only succeed if
29155 including <linux/version.h> actually works right.
29156 * sysdeps/unix/sysv/linux/configure: Regenerated.
29157
29158 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
29159 value so it's not diagnosed as unused.
29160
29161 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
29162 thing) with "ifeq ($(subdir),rt)".
29163
29164 2014-07-03 Richard Henderson <rth@redhat.com>
29165
29166 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
29167 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
29168 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
29169
29170 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
29171 (math_force_eval): New.
29172
29173 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
29174 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
29175
29176 * sysdeps/alpha/fpu/s_round.c: Remove file.
29177 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
29178
29179 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
29180 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
29181 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
29182 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
29183 (_dl_start, print_statistics): Likewise.
29184 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
29185 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
29186
29187 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29188 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29189 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29190 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29191 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29192 (HP_SMALL_TIMING_AVAIL): Define.
29193 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29194 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29195 (HP_SMALL_TIMING_AVAIL): Define.
29196 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29197 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29198
29199 * sysdeps/aarch64/hp-timing.h: New file.
29200
29201 * sysdeps/generic/hp-timing.h: Remove dead comment.
29202 * sysdeps/generic/hp-timing-common.h: New file.
29203 * sysdeps/alpha/hp-timing.h: Include it.
29204 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
29205 * sysdeps/i386/i686/hp-timing.h: Likewise.
29206 * sysdeps/ia64/hp-timing.h: Likewise.
29207 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29208 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29209 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29210 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29211 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29212 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29213 (hp_timing_t): New.
29214
29215 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29216 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29217 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29218 * elf/rtld.c (_dl_start_final): Likewise.
29219 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29220 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29221 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29222 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29223 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29224 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29225 (HP_TIMING_DIFF_INIT): Remove.
29226 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29227 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29228 (HP_TIMING_DIFF_INIT): Remove.
29229 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29230 * sysdeps/i386/i686/hp-timing.c: Remove file.
29231 * sysdeps/x86_64/hp-timing.c: Remove file.
29232 * sysdeps/ia64/hp-timing.c: Remove file.
29233 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29234 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29235 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29236 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29237
29238 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29239 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29240 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29241 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29242 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29243 (HP_TIMING_ACCUM): Remove.
29244 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29245 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29246 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29247
29248 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29249 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29250 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29251 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29252 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29253 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29254 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29255 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29256
29257 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29258
29259 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
29260
29261 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29262
29263 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29264
29265 Sync up with gettext.
29266 * intl/loadmsgcat.c: Define O_BINARY if not defined.
29267 [_MSC_VER]: Include malloc.h
29268 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29269 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29270 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
29271 TEMP_FAILURE_RETRY. Cast return of alloca.
29272 [!_LIBC] Call gl_rwlock_init.
29273 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29274
29275 2014-07-02 Roland McGrath <roland@hack.frob.com>
29276
29277 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29278 before checking its value.
29279
29280 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29281
29282 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29283
29284 * debug/memcpy_chk.c: Don't include pagecopy.h.
29285 * debug/mempcpy_chk.c: Likewise.
29286 * string/memcpy.c: Likewise.
29287 * string/memmove.c: Likewise.
29288 * sysdeps/powerpc/memmove.c: Likewise.
29289 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
29290 definition of PAGE_COPY_FWD_MAYBE here...
29291 * sysdeps/generic/pagecopy.h: ... from here.
29292 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29293
29294 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
29295 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29296
29297 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29299 optimizations.
29300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29301 (__libc_ifunc_impl_list): Likewise.
29302 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29303 multiarch strcat for PPC64.
29304 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29305 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29306
29307 2014-07-02 Roland McGrath <roland@hack.frob.com>
29308
29309 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29310
29311 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29312
29313 * intl/loadmsgcat.c: Remove declaration of
29314 get_sysdep_segment_value.
29315 (get_sysdep_segment_value): Use ISO C style.
29316 (_nl_load_domain): Use ISO C style. Get rid of redundant
29317 semicolon. Fix typo and formatting in comment.
29318 (_nl_unload_domain): Use ISO C style.
29319
29320 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29321
29322 2014-07-02 Will Newton <will.newton@linaro.org>
29323
29324 * malloc/obstack.c: Merge from gnulib master.
29325 [HAVE_CONFIG_H]: Remove conditional code.
29326 [!_LIBC]: Include config.h.
29327 [!ELIDE_CODE]: Don't include inttypes.h, include
29328 stdint.h unconditionally.
29329 (print_and_abort): Mark as _Noreturn.
29330 (_obstack_allocated_p): Mark as __attribute_pure__.
29331 (obstack_free): Rename to __obstack_free.
29332 [!__attribute__]: Remove conditional code.
29333 * malloc/obstack.h: Merge from gnulib master.
29334 [__cplusplus]: Move conditional down.
29335 [!__attribute_pure__]: Define __attribute_pure__ here
29336 if it is not already defined.
29337 (_obstack_memory_used): Mark as __attribute_pure__.
29338 [!__obstack_free]: Define as obstack_free.
29339 [__GNUC__]: Remove check for ancient NeXT gcc.
29340
29341 2014-07-02 Will Newton <will.newton@linaro.org>
29342 Paul Eggert <eggert@cs.ucla.edu>
29343
29344 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29345
29346 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29347
29348 * resolv/gethnamaddr.c: Add comment warning that the file is
29349 not maintained.
29350
29351 2014-07-01 Carlos O'Donell <carlos@redhat.com>
29352
29353 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29354 entries.
29355
29356 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
29357 entry for aio_cancel and aio_cancel64.
29358 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
29359 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
29360 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
29361 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
29362 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
29363 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
29364 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
29365 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
29366 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
29367 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
29368 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29369 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
29370 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
29371
29372 2014-07-01 Roland McGrath <roland@hack.frob.com>
29373
29374 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
29375 * nptl/pthread_mutex_lock.c: Likewise.
29376 * nptl/pthread_mutex_timedlock.c: Likewise.
29377 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
29378
29379 2014-07-01 Richard henderson <rth@redhat.com>
29380
29381 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
29382 (__isnan, __isnanl): Remove.
29383 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
29384
29385 * sysdeps/alpha/fpu/libm-test-ulps: Update.
29386
29387 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
29388
29389 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29390
29391 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29392
29393 * resolv/nss_dns/dns-host.c (getanswer_r)
29394 [MULTI_PTRS_ARE_ALIASES]: Remove code.
29395
29396 2014-07-01 Joseph Myers <joseph@codesourcery.com>
29397
29398 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29399 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
29400 undefine.
29401 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
29402 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
29403
29404 2014-07-01 Roland McGrath <roland@hack.frob.com>
29405
29406 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
29407 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
29408
29409 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
29410 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29411
29412 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
29413 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
29414 ... here.
29415 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
29416 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
29417
29418 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29419 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
29420 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
29421 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
29422
29423 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29424 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
29425 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
29426 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
29427 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
29428 Moved ...
29429 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
29430 ... here.
29431 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
29432 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
29433 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
29434 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
29435 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
29436 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
29437 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
29438 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
29439 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
29440 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
29441 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
29442 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
29443 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
29444 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
29445 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
29446 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
29447 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
29448 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
29449 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
29450 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
29451 ... here.
29452 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29453 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29454 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29455 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29456 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29457 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29458 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29459 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29460
29461 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
29462
29463 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29464 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29465 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29466 Add sysdep.
29467
29468 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29469
29470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29471
29472 2014-06-30 Joseph Myers <joseph@codesourcery.com>
29473
29474 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29475 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29476
29477 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29478
29479 * sysdeps/arm/libm-test-ulps: Regenerated.
29480
29481 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
29482 Roland McGrath <roland@hack.frob.com>
29483
29484 * test-skeleton.c (signal_handler): Kill the whole process group
29485 before killing the child individually.
29486 (main): Report any failure on `setpgid'.
29487
29488 2014-06-30 Roland McGrath <roland@hack.frob.com>
29489
29490 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29491 from _TLS_H to _ARM_NPTL_TLS_H.
29492 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29493 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29494
29495 2014-06-30 Joseph Myers <joseph@codesourcery.com>
29496
29497 [BZ #16539]
29498 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29499 (__expm1l): Return argument unchanged when small but not
29500 subnormal.
29501
29502 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29503 include macro name.
29504 (_FP_UNPACK_RAW_1_P): Likewise.
29505 (_FP_PACK_RAW_1): Likewise.
29506 (_FP_PACK_RAW_1_P): Likewise.
29507 (_FP_MUL_MEAT_1_wide): Likewise.
29508 (_FP_MUL_MEAT_DW_1_hard): Likewise.
29509 (_FP_MUL_MEAT_1_hard): Likewise.
29510 (_FP_DIV_MEAT_1_imm): Likewise.
29511 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29512 (_FP_DIV_MEAT_1_udiv): Likewise.
29513 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29514 (_FP_UNPACK_RAW_2): Likewise.
29515 (_FP_UNPACK_RAW_2_P): Likewise.
29516 (_FP_PACK_RAW_2): Likewise.
29517 (_FP_PACK_RAW_2_P): Likewise.
29518 (_FP_MUL_MEAT_DW_2_wide): Likewise.
29519 (_FP_MUL_MEAT_2_wide): Likewise.
29520 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29521 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29522 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29523 (_FP_MUL_MEAT_2_gmp): Likewise.
29524 (_FP_DIV_MEAT_2_udiv): Likewise.
29525 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29526 (_FP_FRAC_SRL_4): Likewise.
29527 (_FP_FRAC_SRST_4): Likewise.
29528 (_FP_FRAC_SRS_4): Likewise.
29529 (_FP_UNPACK_RAW_4): Likewise.
29530 (_FP_UNPACK_RAW_4_P): Likewise.
29531 (_FP_PACK_RAW_4): Likewise.
29532 (_FP_PACK_RAW_4_P): Likewise.
29533 (_FP_MUL_MEAT_DW_4_wide): Likewise.
29534 (_FP_MUL_MEAT_4_wide): Likewise.
29535 (_FP_MUL_MEAT_4_gmp): Likewise.
29536 (umul_ppppmnnn): Likewise.
29537 (_FP_DIV_MEAT_4_udiv): Likewise.
29538 (__FP_FRAC_ADD_4): Likewise.
29539 (__FP_FRAC_SUB_3): Likewise.
29540 (__FP_FRAC_SUB_4): Likewise.
29541 (__FP_FRAC_DEC_3): Likewise.
29542 (__FP_FRAC_DEC_4): Likewise.
29543 (__FP_FRAC_ADDI_4): Likewise.
29544 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29545 (_FP_FRAC_SRL_8): Likewise.
29546 (_FP_FRAC_SRS_8): Likewise.
29547
29548 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29549 include macro name.
29550 (FP_UNPACK_RAW_EP): Likewise.
29551 (FP_PACK_RAW_E): Likewise.
29552 (FP_PACK_RAW_EP): Likewise.
29553 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29554 (_FP_ISSIGNAN): Likewise.
29555 (_FP_ADD_INTERNAL): Likewise.
29556 (_FP_FMA): Likewise.
29557 (_FP_CMP): Likewise.
29558 (_FP_SQRT): Likewise.
29559 (_FP_TO_INT): Likewise.
29560 (_FP_FROM_INT): Likewise.
29561 (FP_EXTEND): Likewise.
29562 (_FP_DIV_MEAT_N_loop): Likewise.
29563
29564 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
29565
29566 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29567 throughout.
29568
29569 2014-06-29 Joseph Myers <joseph@codesourcery.com>
29570
29571 [BZ #17097]
29572 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29573 result with correct sign in case of exponents that produce
29574 overflow except for X very close to 1.
29575
29576 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
29577
29578 mktime: merge #if/#ifdef usage from glibc
29579 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29580 as that works with both Glibc's and Gnulib's style.
29581 See thread starting at Siddhesh Poyarekar's bug report at:
29582 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29583
29584 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29585
29586 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29587 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29588 * sysdeps/tile/tilegx/memmove.c: Remove file.
29589
29590 2014-06-27 Joseph Myers <joseph@codesourcery.com>
29591
29592 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29593 abi-name definition.
29594 * scripts/soversions.awk: Do not handle or generate ABI lines.
29595 * shlib-versions: Remove ABI entries.
29596 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29597 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29598
29599 2014-06-27 Roland McGrath <roland@hack.frob.com>
29600
29601 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29602 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29603 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29604 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29605 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29606 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29607 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29608 Moved ...
29609 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29610 ... here.
29611 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29612 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29613 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29614 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29615 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29616 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29617 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29618 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29619 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29620 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29621 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29622 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29623 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29624 Moved ...
29625 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29626 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29627 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29628 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29629 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29630 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29631 Moved ...
29632 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29633 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29634 Moved ...
29635 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29636 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29637 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29638 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29639 Moved ...
29640 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29641 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29642 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29643 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29644 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29645 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29646 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29647 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29648 Moved ...
29649 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29650 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29651 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29652 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29653 Moved ...
29654 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29655 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29656 Moved ...
29657 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29658 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29659 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29660 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29661 Moved ...
29662 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29663 ... here.
29664 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29665 Identical file removed.
29666 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29667 Moved ...
29668 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29669 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29670 Identical file removed.
29671 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29672 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29673 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29674 Moved ...
29675 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29676 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29677 Identical file removed.
29678 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29679 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29680 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29681 Identical file removed.
29682 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29683 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29684 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29685 Identical file removed.
29686 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29687 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29688 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29689 Identical file removed.
29690 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29691 Moved ...
29692 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29693 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29694 Identical file removed.
29695 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29696 Moved ...
29697 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29698 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29699 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29700 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29701 Identical file removed.
29702 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29703 Moved ...
29704 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29705 ... here.
29706 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29707 Identical file removed.
29708 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29709 Moved ...
29710 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29711 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29712 Identical file removed.
29713 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29714 Moved ...
29715 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29716 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29717 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29718 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29719 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29720 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29721 Moved ...
29722 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29723 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29724 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29725
29726 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29727 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29728 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29729 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29730 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29731
29732 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
29733
29734 [BZ #17092]
29735 * nscd/nscd.c (monitor_child): Return exit status of child
29736 instead of return value from wait syscall.
29737
29738 2014-06-27 Joseph Myers <joseph@codesourcery.com>
29739
29740 * configure.ac (libc_commonpagesize): Remove variable.
29741 (libc_relro_required): Likewise.
29742 (libc_cv_z_relro): Remove configure test.
29743 * configure: Regenerated.
29744 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29745 variable.
29746 (libc_relro_required): Likewise.
29747 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29748 (libc_relro_required): Likewise.
29749 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29750 (libc_relro_required): Likewise.
29751 * sysdeps/arm/preconfigure: Regenerated.
29752 * sysdeps/ia64/preconfigure: Remove file.
29753 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29754 variable.
29755 (libc_relro_required): Likewise.
29756
29757 [BZ #16561]
29758 [BZ #16562]
29759 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29760 (__ieee754_yn): Set FE_TONEAREST mode internally and then
29761 recompute overflowing results in original rounding mode.
29762 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29763 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29764 recompute overflowing results in original rounding mode.
29765 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29766 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29767 recompute overflowing results in original rounding mode.
29768 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29769 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29770 recompute overflowing results in original rounding mode.
29771 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29772 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29773 recompute overflowing results in original rounding mode.
29774 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29775 (libc_feholdsetround_ctx): New macro.
29776 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29777 * sysdeps/i386/fpu/libm-test-ulps: Update.
29778 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29779
29780 2014-06-26 Joseph Myers <joseph@codesourcery.com>
29781
29782 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29783 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29784 corresponding .cpsetup call.
29785
29786 2014-06-26 Roland McGrath <roland@hack.frob.com>
29787
29788 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29789 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29790 * sysdeps/arm/Makefile [$(subdir) = csu]
29791 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29792 (static-only-routines): Add aeabi_read_tp here.
29793 (shared-only-routines): Add libc-aeabi_read_tp here.
29794 (CFLAGS-libc-start.c): Add -fexceptions here.
29795 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29796 (sysdep_routines, static-only-routines, shared-only-routines):
29797 Don't add to these here.
29798 (CFLAGS-libc-start.c): Likewise.
29799
29800 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29801 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29802 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29803 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29804 * sysdeps/arm/Makefile [$(subdir) = rt]
29805 (librt-sysdep_routines, librt-shared-only-routines):
29806 Append rt-aeabi_unwind_cpp_pr1 here.
29807 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29808 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29809 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29810 (libpthread-sysdep_routines, libpthread-shared-only-routines):
29811 Append nptl-aeabi_unwind_cpp_pr1 here.
29812 (tests): Filter out tst-cleanupx4 here.
29813 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29814 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29815 Don't do those here.
29816
29817 2014-06-26 Joseph Myers <joseph@codesourcery.com>
29818
29819 * scripts/list-sources.sh: Do not handle ports specially.
29820
29821 2014-06-26 Roland McGrath <roland@hack.frob.com>
29822
29823 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29824 * sysdeps/arm/feupdateenv.c: Likewise.
29825
29826 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29827
29828 2014-06-26 Joseph Myers <joseph@codesourcery.com>
29829
29830 * manual/texinfo.tex: Update to version 2014-05-05.10 with
29831 trailing whitespace removed.
29832 * scripts/config.guess: Update to version 2014-03-23.
29833 * scripts/config.sub: Update to version 2014-05-01
29834 * scripts/install-sh: Update to version 2013-12-25.23.
29835 * scripts/move-if-change: Update from gnulib.
29836
29837 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29838
29839 * debug/memmove_chk.c: Remove pagecopy.h include.
29840
29841 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
29842
29843 * time/mktime.c (leapyear): Remove inline keyword. The code is now
29844 identical to gnulib mktime.
29845
29846 2014-06-26 Joseph Myers <joseph@codesourcery.com>
29847
29848 * configure.ac: Do not test for machine being rs6000. Do not test
29849 for powerpc*-*soft.
29850 * configure: Regenerated.
29851
29852 [BZ #11505]
29853 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29854 test.
29855 * configure: Regenerated.
29856 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29857 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29858 Remove configure test.
29859 * sysdeps/arm/configure: Regenerated.
29860 * sysdeps/nptl/configure.ac: Do not check
29861 libc_cv_asm_cfi_directives.
29862 * sysdeps/nptl/configure: Regenerated.
29863 * sysdeps/x86_64/nptl/configure.ac: Remove file.
29864 * sysdeps/x86_64/nptl/configure: Remove generated file.
29865 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29866 unconditional.
29867 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29868
29869 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29870
29871 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29872 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29873 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29874 it is defined.
29875
29876 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29877 instead of whether it is defined.
29878 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29879 * sysdeps/hppa/dl-machine.h: Likewise.
29880 * sysdeps/ia64/dl-machine.h: Likewise.
29881 * sysdeps/m68k/dl-machine.h: Likewise.
29882 * sysdeps/microblaze/dl-machine.h: Likewise.
29883 * sysdeps/mips/dl-machine.: Likewise.
29884 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29885 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29886 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29887 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29888 * sysdeps/sh/dl-machine.h: Likewise.
29889 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29890 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29891 * sysdeps/tile/dl-machine.h: Likewise.
29892 * sysdeps/x86_64/dl-machine.h: Likewise.
29893
29894 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29895 code.
29896 (verify_persistent_db): Likewise.
29897
29898 2014-06-26 Roland McGrath <roland@hack.frob.com>
29899
29900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29901 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29903 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29905 Moved ...
29906 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29907 ... here.
29908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29909 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29911 Identical file removed.
29912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29913 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29915 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29917 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29919 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29921 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29923 Moved ...
29924 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29926 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29928 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29930 Moved ...
29931 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29933 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29935 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29937 Identical file removed.
29938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29939 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29941 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29943 Moved ...
29944 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29945 ... here.
29946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29947 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29949 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29951 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29953 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29955 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29957 Moved ...
29958 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29960 Moved ...
29961 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29963 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29965 Moved ...
29966 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29968 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29969
29970 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29971 folded into ...
29972 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29973 * sysdeps/unix/sysv/linux/s390/Versions
29974 (libpthread: GLIBC_2.19): New version set.
29975 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29976 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29977 (librt: GLIBC_2.3.3): New version set.
29978 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29979 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29980 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29981 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29982 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29983 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29984 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29985 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29986 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29987 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29988 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29989 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29990 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29991 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29992 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29993 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29994 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29995 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29996 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29997 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29998 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29999 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
30000 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
30001 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
30002 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
30003 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
30004 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
30005 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
30006 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
30007 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
30008 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
30009 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
30010 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
30011 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
30012 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
30013 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
30014 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
30015 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
30016 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
30017 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
30018 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
30019 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
30020 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
30021 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
30022 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
30023
30024 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
30025 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
30026 (__libc_vfork): Define the function under this name.
30027 [!NOT_IN_libc] (__vfork): Make this an alias.
30028 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30029 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
30030 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
30031 (__libc_vfork): Define the function under this name.
30032 [!NOT_IN_libc] (__vfork): Make this an alias.
30033 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30034 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
30035 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
30036 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
30037 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
30038 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30039
30040 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
30041 code that was previously under [RESET_PID].
30042 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
30043 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
30044 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
30045
30046 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
30047 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
30048 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
30049 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
30050 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30051 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
30052 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
30053 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
30054 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
30055 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
30056 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
30057 Moved ...
30058 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
30059 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
30060 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
30061 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
30062 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
30063 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
30064 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
30065 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
30066 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30067 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
30068 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
30069 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
30070 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
30071 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
30072 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
30073 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
30074 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
30075 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
30076 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
30077 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
30078 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
30079 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30080 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30081 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30082 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30083 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30084 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30085 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30086 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30087
30088 2014-06-25 Roland McGrath <roland@hack.frob.com>
30089
30090 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30091 that was previously under [RESET_PID].
30092 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
30093
30094 2014-06-25 Joseph Myers <joseph@codesourcery.com>
30095
30096 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
30097 not undefine and redefine.
30098 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
30099 [O_CLOEXEC]: Make code unconditional.
30100 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
30101 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
30102 <kernel-features.h>.
30103 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
30104 conditional variable definition.
30105 (shm_open) [O_CLOEXEC]: Make code unconditional.
30106 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
30107 code.
30108
30109 * configure.ac (USE_REGPARMS): Don't define here.
30110 * configure: Regenerated.
30111 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
30112 * sysdeps/i386/configure: Regenerated.
30113
30114 * nptl/createthread.c: Don't include kernel-features.h.
30115 * nptl/pthread_cancel.c: Likewise.
30116 * nptl/pthread_condattr_setclock.c: Likewise.
30117 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
30118 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
30119 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
30120 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
30121 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
30122 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30123 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30124 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
30125 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30126 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
30127 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
30128 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
30129 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
30130 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
30131 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
30132 * nscd/gai.c: Likewise.
30133 * nss/nss_db/db-open.c: Likewise.
30134 * sysdeps/generic/ldsodefs.h: Likewise.
30135 * sysdeps/sh/nptl/tls.h: Likewise.
30136 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30137 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
30138 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
30139 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
30140 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30141 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30142 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
30143 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30144 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30145 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30146 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30147 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30148 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
30149 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
30150 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
30151 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
30152 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
30153 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
30154 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
30155 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
30156 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
30157 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
30158 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
30159 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
30160 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
30161 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
30162 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
30163 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
30164 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30165 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
30166 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
30167 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
30168 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
30169 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30170 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30171 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30172 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30173 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
30174 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
30175 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30176 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30177 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
30178 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
30179 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30180 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
30181 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
30182 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
30183 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
30184 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
30185 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
30186 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
30187 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
30188 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
30189 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30190 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
30191 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30192 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30193 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
30194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
30196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
30197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
30198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
30199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
30200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
30201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
30202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
30205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30216 * sysdeps/unix/sysv/linux/pread.c: Likewise.
30217 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30218 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30219 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30220 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30221 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30222 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30223 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30224 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30225 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30226 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30227 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30228 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30229 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30230 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30231 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30232 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30233 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30234 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30235 * sysdeps/unix/sysv/linux/system.c: Likewise.
30236 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30237 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30238 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30239 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30240 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30241 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30242 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30243
30244 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30245 * configure: Regenerated.
30246 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30247
30248 * configure.ac (base_machine): Do not set specially for particular
30249 machines here.
30250 * configure: Regenerated.
30251 * sysdeps/powerpc/preconfigure: Move machine and base_machine
30252 settings from configure.ac.
30253 * sysdeps/i386/preconfigure: New file.
30254 * sysdeps/s390/preconfigure: Likewise.
30255 * sysdeps/sh/preconfigure: Likewise.
30256 * sysdeps/sparc/preconfigure: Likewise.
30257
30258 2014-06-25 Roland McGrath <roland@hack.frob.com>
30259
30260 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30261 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30262 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30263 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30264 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30265 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30266 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30267 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30268 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30269 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30270 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30271 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30272 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30273 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30274 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30275 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30276 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30277 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30278 * sysdeps/sparc/sparc64/Makefile: ... appended here.
30279
30280 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30281 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30282 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30283 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30284 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30285 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30286 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30287 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30288 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30289 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30290 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30291 * sysdeps/sparc/sparc32/sem_post.c: ... here.
30292 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30293 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30294 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30295 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30296 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30297 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30298 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30299 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30300 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30301 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30302 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30303 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30304 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30305 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30306 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30307 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30308 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30309 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30310 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30311 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30312 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30313 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30314 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30315 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30316 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30317 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30318
30319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30320 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30322 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30324 Moved ...
30325 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30326 ... here.
30327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30328 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30330 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30332 Moved ...
30333 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30335 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30337 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30339 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30341 Moved ...
30342 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30344 Moved ...
30345 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30347 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30349 Moved ...
30350 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30352 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30354 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30356 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
30357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
30358 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
30359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30360 Moved ...
30361 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
30362 ... here.
30363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
30364 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
30365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
30366 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
30367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
30368 Moved ...
30369 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
30370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
30371 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
30372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
30373 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
30374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
30375 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
30376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30377 Moved ...
30378 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
30379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30380 Moved ...
30381 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
30382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
30383 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
30384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30385 Moved ...
30386 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
30387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
30388 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
30389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
30390 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
30391
30392 2014-06-25 Joseph Myers <joseph@codesourcery.com>
30393
30394 * timezone/checktab.awk: Update from tzcode 2014e.
30395 * timezone/private.h: Likewise.
30396 * timezone/tzfile.h: Likewise.
30397 * timezone/zdump.c: Likewise.
30398 * timezone/zic.c: Likewise.
30399
30400 * sysdeps/unix/sysv/linux/kernel-features.h
30401 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
30402 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
30403 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
30404 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30405 Remove conditional code.
30406
30407 2014-06-25 Will Newton <will.newton@linaro.org>
30408
30409 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
30410 (_dl_arm_cap_flags): Add HWCAP2 values.
30411 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
30412 (_DL_HWCAP_COUNT): Increase to 37.
30413 (_DL_HWCAP_LAST): New define.
30414 (_DL_HWCAP2_LAST): New define.
30415 (_dl_procinfo): Add support for printing
30416 AT_HWCAP2 entries.
30417 (_dl_string_hwcap): Use _dl_hwcap_string.
30418
30419 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30420
30421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30422
30423 2014-06-25 Joseph Myers <joseph@codesourcery.com>
30424
30425 * README: Do not mention ports directory.
30426
30427 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
30428 Remove macro.
30429 * sysdeps/unix/sysv/linux/futimes.c: Do not include
30430 <kernel-features.h>.
30431 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
30432 conditional variable definition.
30433 (__futimes): Update comment.
30434 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
30435 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
30436
30437 [BZ #16560]
30438 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
30439 arguments close to 0.
30440 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
30441 Likewise.
30442 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
30443 Likewise.
30444 * math/auto-libm-test-in: Add more tests of exp10.
30445 * math/auto-libm-test-out: Regenerated.
30446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30447
30448 * sysdeps/unix/sysv/linux/kernel-features.h
30449 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
30450 * sysdeps/unix/sysv/linux/readv.c: Do not include
30451 <kernel-features.h>.
30452 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30453 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30454 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30455 unconditional.
30456 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30457 conditional code.
30458 * sysdeps/unix/sysv/linux/writev.c: Do not include
30459 <kernel-features.h>.
30460 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30461 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30462 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30463 unconditional.
30464 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30465 conditional code.
30466
30467 2014-06-25 Will Newton <will.newton@linaro.org>
30468
30469 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30470 comment changes throughout the file. Remove checks
30471 for HAVE_*_H definitions that are not required.
30472 (__gen_tempname): Call abort if an unknown kind value is
30473 passed.
30474
30475 2014-06-25 Andreas Schwab <schwab@suse.de>
30476
30477 [BZ #17086]
30478 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30479 scalbln, scalblnf, scalblnl in libc.
30480
30481 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30482
30483 [BZ #17086]
30484 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30485 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30486 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30487
30488 2014-06-24 Roland McGrath <roland@hack.frob.com>
30489
30490 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30491 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30492 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30493 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30494 Update #include.
30495 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30496 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30497 Update #include.
30498 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30499 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30500 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30501 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30502 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30503 * sysdeps/x86/bits/pthreadtypes.h: ... here.
30504 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30505 * sysdeps/x86/bits/semaphore.h: ... here.
30506 * sysdeps/x86/nptl/elide.h: Moved ...
30507 * sysdeps/x86/elide.h: ... here.
30508 * sysdeps/x86_64/nptl/Implies: File removed.
30509 * sysdeps/i386/nptl/Implies: File removed.
30510
30511 2014-06-24 Joseph Myers <joseph@codesourcery.com>
30512
30513 [BZ #16539]
30514 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30515 return the argument for normal arguments with exponent below -64.
30516 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30517 Likewise.
30518 * math/auto-libm-test-in: Add another test of expm1.
30519 * math/auto-libm-test-out: Regenerated.
30520
30521 [BZ #16287]
30522 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30523 calling __erfcl for arguments at least 16.
30524 * math/auto-libm-test-in: Add more tests of erf.
30525 * math/auto-libm-test-out: Regenerated.
30526
30527 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30528 individual architectures.
30529 * sysdeps/unix/sysv/linux/configure: Regenerated.
30530 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30531 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30532 * sysdeps/unix/sysv/linux/powerpc/configure.ac
30533 (ldd_rewrite_script): Define variable.
30534 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30536 file.
30537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30538 generated file.
30539 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30540 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30541 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30542 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30543 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30544 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30545 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30546 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30547
30548 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30549
30550 [BZ #17084]
30551 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30552 Rename member __data.d to __data.__elision_data.
30553
30554 2014-06-24 Wilco <wdijkstr@arm.com>
30555
30556 * NEWS: Add 16918 to fixed bug list.
30557
30558 2014-06-24 Wilco <wdijkstr@arm.com>
30559
30560 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30561
30562 2014-06-24 Wilco <wdijkstr@arm.com>
30563
30564 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30565 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30566 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30567 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30568 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30569 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30570 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30571 Use _FPU_MASK_RM.
30572
30573 2014-06-24 Wilco <wdijkstr@arm.com>
30574
30575 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30576
30577 2014-06-24 Wilco <wdijkstr@arm.com>
30578
30579 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30580 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30581 * sysdeps/arm/fesetround.c (fesetround): Remove space.
30582 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30583
30584 2014-06-24 Wilco <wdijkstr@arm.com>
30585
30586 [BZ #16918]
30587 * sysdeps/arm/feupdateenv.c (feupdateenv):
30588 Rewrite to reduce FPSCR accesses and fix return value.
30589
30590 2014-06-24 Wilco <wdijkstr@arm.com>
30591
30592 * sysdeps/arm/fclrexcpt.c (feclearexcept):
30593 Optimize to avoid unnecessary FPSCR writes.
30594 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30595 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30596 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30597 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30598
30599 2014-06-24 Wilco <wdijkstr@arm.com>
30600
30601 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30602 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30603 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30604 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30605 Call libc_fetestexcept_vfp.
30606 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30607 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30608 __SOFTFP__ ifdef so that they can be built for softfp.
30609
30610 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30611
30612 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30613 argument type signed char.
30614
30615 * Makerules (check-abi): Dump diff of symlist if the test
30616 fails.
30617
30618 2014-06-23 Roland McGrath <roland@hack.frob.com>
30619
30620 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30621 using abort.
30622
30623 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30624 Remove unused variable ST.
30625
30626 2014-06-23 Joseph Myers <joseph@codesourcery.com>
30627
30628 [BZ #16354]
30629 [BZ #17061]
30630 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30631 small arguments before calling __expm1.
30632 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30633 small arguments before calling __expm1f.
30634 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30635 small arguments before calling __expm1l.
30636 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30637 Likewise.
30638 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30639 * math/auto-libm-test-in: Add more cosh tests. Do not allow
30640 spurious underflow for some cosh tests.
30641 * math/auto-libm-test-out: Regenerated.
30642 * sysdeps/i386/fpu/libm-test-ulps: Update.
30643
30644 [BZ #17050]
30645 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30646 (__ieee754_y1): Set errno if return value overflows.
30647 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30648 (__ieee754_y1f): Set errno if return value overflows.
30649 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30650 (__ieee754_y1l): Set errno if return value overflows.
30651 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30652 (__ieee754_y1l): Set errno if return value overflows.
30653 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30654 * math/auto-libm-test-out: Regenerated.
30655
30656 * math/gen-auto-libm-tests.c: Document use of
30657 ignore-zero-inf-sign.
30658 (input_flag_type): Add value flag_ignore_zero_inf_sign.
30659 (input_flags): Add ignore-zero-inf-sign.
30660 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30661 * math/gen-libm-test.pl (generate_testfile): Handle
30662 ignore-zero-inf-sign.
30663 * math/auto-libm-test-in: Mark some cpow tests with
30664 ignore-zero-inf-sign and some with xfail-rounding.
30665 * math/auto-libm-test-out: Regenerated.
30666 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30667 * sysdeps/i386/fpu/libm-test-ulps: Update.
30668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30669
30670 [BZ #16315]
30671 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30672 overflowing or underflowing operations take place with sign of
30673 result.
30674 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30675 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30676 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30677 (__ieee754_pow): Recompute overflowing and underflowing results in
30678 original rounding mode.
30679 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30680 (__powl_helper): Allow negative argument X and scale negated value
30681 as needed. Avoid passing value outside [-1, 1] to f2xm1.
30682 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30683 overflowing or underflowing operations take place with sign of
30684 result.
30685 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30686 Include <math.h>.
30687 * math/auto-libm-test-in: Add more tests of pow.
30688 * math/auto-libm-test-out: Regenerated.
30689 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30690 (pow_tonearest_test_data): Remove.
30691 (pow_test_tonearest): Likewise.
30692 (pow_towardzero_test_data): Likewise.
30693 (pow_test_towardzero): Likewise.
30694 (pow_downward_test_data): Likewise.
30695 (pow_test_downward): Likewise.
30696 (pow_upward_test_data): Likewise.
30697 (pow_test_upward): Likewise.
30698 (main): Don't call removed functions.
30699 * sysdeps/i386/fpu/libm-test-ulps: Update.
30700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30701
30702 2014-06-23 Roland McGrath <roland@hack.frob.com>
30703
30704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30705 Moved ...
30706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30708 Moved ...
30709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30711 Moved ...
30712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30714 Moved ...
30715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30717 File removed.
30718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30719 File removed.
30720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30721 File removed.
30722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30723 File removed.
30724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30725 File removed.
30726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30727 File removed.
30728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30729 File removed.
30730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30731 File removed.
30732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30733 File removed.
30734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30735 File removed.
30736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30737 File removed.
30738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30739 File removed.
30740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30741 Moved ...
30742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30744 Moved ...
30745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30746 ... here.
30747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30748 Moved ...
30749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30751 Moved ...
30752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30754 Moved ...
30755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30757 Moved ...
30758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30760 Moved ...
30761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30763 Moved ...
30764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30766 Moved ...
30767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30770 ... here.
30771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30772 Moved ...
30773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30775 Moved ...
30776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30777 ... here.
30778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30779 Moved ...
30780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30781 ... here.
30782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30783 Moved ...
30784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30785 ... here.
30786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30787 Moved ...
30788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30790 Moved ...
30791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30795 Moved ...
30796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30797 ... here.
30798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30799 Moved ...
30800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30801 ... here.
30802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30803 Moved ...
30804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30806 Moved ...
30807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30809 Moved ...
30810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30812 Moved ...
30813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30815 Moved ...
30816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30817 ... here.
30818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30819 Moved ...
30820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30822 Moved ...
30823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30825 Moved ...
30826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30828 Moved ...
30829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30833 Moved ...
30834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30836 Moved ...
30837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30839 Moved ...
30840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30841 ... here.
30842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30843 Moved ...
30844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30845 ... here.
30846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30847 Moved ...
30848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30849 ... here.
30850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30851 Moved ...
30852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30854 Moved ...
30855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30857 Moved ...
30858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30860 Moved ...
30861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30862 ... here.
30863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30864 Moved ...
30865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30866 ... here.
30867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30868 Moved ...
30869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30870 ... here.
30871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30872 Moved ...
30873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30875 Moved ...
30876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30877
30878 2014-06-23 Will Newton <will.newton@linaro.org>
30879 Wilco <wdijkstr@arm.com>
30880
30881 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30882 implementation. Include get-rounding-mode.h.
30883 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30884 [!libc_feholdsetround_noex_ctx]: Define
30885 libc_feholdsetround_noex_ctx.
30886 [!libc_feholdsetround_noexf_ctx]: Define
30887 libc_feholdsetround_noexf_ctx.
30888 [!libc_feholdsetround_noexl_ctx]: Define
30889 libc_feholdsetround_noexl_ctx.
30890 (libc_feholdsetround_ctx): New function.
30891 (libc_feresetround_ctx): New function.
30892 (libc_feholdsetround_noex_ctx): New function.
30893 (libc_feresetround_noex_ctx): New function.
30894
30895 2014-06-23 Roland McGrath <roland@hack.frob.com>
30896
30897 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30898 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30899 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30900 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30901 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30902 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30903
30904 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30905 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30906 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30907 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30908 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30909 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30910 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30911 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30912 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30913 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30914 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30915 Moved ...
30916 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30917 ... here.
30918 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30919 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30920 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30921 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30922 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30923 Moved ...
30924 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30925 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30926 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30927 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30928 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30929 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30930 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30931 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30932 Moved ...
30933 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30934 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30935 Moved ...
30936 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30937 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30938 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30939 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30940 Moved ...
30941 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30942 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30943 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30944 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30945 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30946 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30947 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30948 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30949 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30950 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30951 Moved ...
30952 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30953 ... here.
30954 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30955 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30956 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30957 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30958 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30959 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30960 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30961 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30962 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30963 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30964 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30965 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30966 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30967 Moved ...
30968 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30969 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30970 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30971 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30972 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30973 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30974 Moved ...
30975 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30976 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30977 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30978 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30979 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30980
30981 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30982 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30983 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30984 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30985 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30986 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30987 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30988 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30989 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30990 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30991 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30992 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30993 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30994 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30995 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30996 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30997 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30998 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30999 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
31000 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
31001 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
31002 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
31003 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
31004 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
31005 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
31006 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
31007 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
31008 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
31009
31010 2014-06-23 Joseph Myers <joseph@codesourcery.com>
31011
31012 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31013 (FALLOC_FL_COLLAPSE_RANGE): New macro.
31014 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
31015 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
31016 (IPV6_PMTUDISC_INTERFACE): Likewise.
31017 (IPV6_PMTUDISC_OMIT): Likewise.
31018
31019 2014-06-23 Andreas Schwab <schwab@suse.de>
31020
31021 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
31022 Remove unused errout label.
31023
31024 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31025
31026 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
31027 macro: hardware supports Vector Crypto instructions.
31028
31029 2014-06-23 Will Newton <will.newton@linaro.org>
31030
31031 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
31032 rather than __builtin_expect.
31033
31034 * elf/dl-lookup.c (undefined_msg): Remove variable.
31035 (_dl_lookup_symbol_x): Replace undefined_msg with string
31036 literal.
31037
31038 * elf/dl-lookup.c (do_lookup_unique): New function.
31039 (do_lookup_x): Move STB_GNU_UNIQUE handling code
31040 to a separate function.
31041
31042 2014-06-23 Andreas Schwab <schwab@suse.de>
31043
31044 [BZ #17079]
31045 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
31046 before reading the next line.
31047
31048 2014-06-23 Will Newton <will.newton@linaro.org>
31049
31050 * test-skeleton.c (signal_handler): Use printf and %m
31051 rather than perror. Use printf rather than fprintf to
31052 stderr. Use puts rather than fputs to stderr.
31053 (main): Likewise.
31054
31055 2014-06-22 Ludovic Courtès <ludo@gnu.org>
31056
31057 * nscd/nscd.c (thread_info_t): Remove typedef.
31058 (thread_info): Remove variable.
31059
31060 2014-06-21 Allan McRae <allan@archlinux.org>
31061
31062 * NEWS: Mention CVE-2014-4043.
31063
31064 2014-06-20 Roland McGrath <roland@hack.frob.com>
31065
31066 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
31067 * nptl/smp.h: ... here.
31068
31069 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
31070
31071 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31072 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
31073 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
31074 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
31075
31076 * nptl/allocatestack.c: Include <stack-aliasing.h>.
31077 * nptl/stack-aliasing.h: New file.
31078 * sysdeps/i386/i686/stack-aliasing.h: New file.
31079 * sysdeps/i386/i686/nptl/Makefile: File removed.
31080 * sysdeps/x86_64/stack-aliasing.h: New file.
31081 * sysdeps/x86_64/nptl/Makefile
31082 (CFLAGS-pthread_create.c): Variable removed.
31083
31084 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31085 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31086 old file.
31087 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31088 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31089 old file.
31090
31091 2014-06-21 Joseph Myers <joseph@codesourcery.com>
31092
31093 * sysdeps/unix/sysv/linux/arm/kernel-features.h
31094 (__ASSUME_SIGFRAME_V2): Remove macro.
31095 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
31096 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31097 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
31098 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31099 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
31100 Declare as function. Remove conditional macro definitions.
31101 (__default_rt_sa_restorer): Likewise.
31102 (__default_sa_restorer_v1): Remove declaration.
31103 (__default_sa_restorer_v2): Likewise.
31104 (__default_rt_sa_restorer_v1): Likewise.
31105 (__default_rt_sa_restorer_v2): Likewise.
31106 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
31107 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
31108 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
31109
31110 2014-06-20 Roland McGrath <roland@hack.frob.com>
31111
31112 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
31113 (libpthread-routines): Add sysdep.
31114 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
31115 * sysdeps/unix/sysv/linux/sparc/Versions
31116 (libpthread: GLIBC_2.3.3): New version set.
31117 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
31118 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
31119 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
31120 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31121 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
31122 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
31123 Moved ...
31124 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
31125 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
31126 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
31127 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
31128 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
31129 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
31130 * sysdeps/sparc/nptl/sem_init.c: ... here.
31131 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
31132 * sysdeps/sparc/nptl/sem_post.c: ... here.
31133 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
31134 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
31135 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
31136 * sysdeps/sparc/nptl/sem_wait.c: ... here.
31137 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
31138 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
31139 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31140 (libpthread-routines): Add cpu_relax.
31141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
31142 File removed.
31143 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
31144 (librt: GLIBC_2.3.3): New version set.
31145 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
31146 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
31147 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
31148 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
31149 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
31150 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
31151 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
31152 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
31153 Moved ...
31154 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
31155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
31156 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
31157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
31158 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
31159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
31160 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
31161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
31162 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
31163 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
31164 Moved ...
31165 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
31166 Update #include.
31167 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
31168 Moved ...
31169 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
31170 Update #include.
31171 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
31172 Moved ...
31173 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
31174 Update #include.
31175 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
31176 Moved ...
31177 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
31178 Update #include.
31179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
31180 Moved ...
31181 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
31182 Update #include.
31183 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
31184 Moved ...
31185 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
31186 Update #include.
31187 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
31188 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
31189 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
31190 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
31191 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
31192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
31193 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
31194 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
31195 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
31196 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
31197 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31198 Moved ...
31199 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
31200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
31201 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
31202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
31203 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
31204
31205 2014-06-20 Joseph Myers <joseph@codesourcery.com>
31206
31207 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31208 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31209 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31210 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31211 * nscd/nscd.c: Likewise.
31212 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31213 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31214 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31215 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31216
31217 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31218 <kernel-features.h>.
31219 (init_mq_netlink): Remove conditional have_sock_cloexec
31220 definitions. Remove code conditional on have_sock_cloexec < 0.
31221 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31222 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31223 * sysdeps/unix/sysv/linux/opensock.c: Do not include
31224 <kernel-features.h>.
31225 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31226 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31227
31228 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
31229
31230 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31231 Add tests for memset_chk and memset.
31232
31233 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31234 with AVX2_Usable.
31235
31236 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
31237
31238 [BZ #16046]
31239 * elf/tst-dl-iter-static.c: New file.
31240 * elf/Makefile (tests-static): Add tst-dl-iter-static.
31241
31242 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31243 error.
31244
31245 2014-06-20 Joseph Myers <joseph@codesourcery.com>
31246
31247 * sysdeps/unix/sysv/linux/kernel-features.h
31248 (__ASSUME_F_GETOWN_EX): Remove macro.
31249 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31250 <kernel-features.h>.
31251 (miss_F_GETOWN_EX): Remove variable or macro.
31252 (do_fcntl): Do not check miss_F_GETOWN_EX.
31253 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31254
31255 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31256 Remove macro.
31257 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31258 [!__ASSUME_AT_RANDOM]: Remove conditional code.
31259 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31260
31261 * sysdeps/unix/sysv/linux/kernel-features.h
31262 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31263 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31264 [ADJ_OFFSET_SS_READ]: Make code unconditional.
31265 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31266
31267 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
31268
31269 [BZ #17075]
31270 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31271 Fix calculation of the symbol's value.
31272 * sysdeps/arm/tst-armtlsdescloc.c: New file.
31273 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31274 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31275 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31276 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31277 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31278 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31279 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31280 (modules-names): Add `tst-armtlsdescmod',
31281 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31282 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31283 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31284 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31285 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31286 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31287 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31288 ($(objpfx)tst-armtlsdescloc): New dependency.
31289 ($(objpfx)tst-armtlsdescextnow): Likewise.
31290 ($(objpfx)tst-armtlsdescextlazy): Likewise.
31291 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31292 TLS scheme support.
31293 * sysdeps/arm/configure: Regenerate.
31294
31295 2014-06-20 Joseph Myers <joseph@codesourcery.com>
31296
31297 * include/fcntl.h (__atfct_seterrno): Remove prototype.
31298 (__atfct_seterrno_2): Likewise.
31299 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31300 <kernel-features.h>.
31301 (__ASSUME_ATFCTS): Do not undefine and redefine.
31302 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31303 (__have_atfcts): Remove conditional definition.
31304 (__fxstatat([__NR_fstatat64]: Make code unconditional.
31305 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31306 unreachable if [__ASSUME_ATFCTS].
31307 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31308 not undefine and redefine.
31309 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31310 <kernel-features.h>.
31311 (faccessat) [__NR_faccessat]: Make code unconditional.
31312 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31313 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31314 <kernel-features.h>.
31315 (fchmodat) [__NR_fchmodat]: Make code unconditional.
31316 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31317 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31318 <kernel-features.h>.
31319 (fchownat) [__NR_fchownat]: Make code unconditional.
31320 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31321 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31322 <kernel-features.h>.
31323 (futimesat) [__NR_futimesat]: Make code unconditional.
31324 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31325 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31326 <kernel-features.h>.
31327 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31328 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31329 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31330 <kernel-features.h>.
31331 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31332 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31333 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31334 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31335 <kernel-features.h>.
31336 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31337 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31338 * sysdeps/unix/sysv/linux/linkat.c: Do not include
31339 <kernel-features.h>.
31340 (linkat) [__NR_linkat]: Make code unconditional.
31341 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31342 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31343 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31344 <kernel-features.h>.
31345 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31346 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31347 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31348 <kernel-features.h>.
31349 (mkdirat) [__NR_mkdirat]: Make code unconditional.
31350 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31351 * sysdeps/unix/sysv/linux/openat.c: Do not include
31352 <kernel-features.h>.
31353 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31354 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31355 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31356 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
31357 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
31358 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
31359 <kernel-features.h>.
31360 (readlinkat) [__NR_readlinkat]: Make code unconditional.
31361 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
31362 result of INLINE_SYSCALL directly, not via int variable.
31363 * sysdeps/unix/sysv/linux/renameat.c: Do not include
31364 <kernel-features.h>.
31365 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
31366 (renameat) [__NR_renameat]: Make code unconditional.
31367 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
31368 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
31369 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
31370 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
31371 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
31372 (__ASSUME_ATFCTS): Do not undefine and redefine.
31373 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
31374 <kernel-features.h>.
31375 (symlinkat) [__NR_symlinkat]: Make code unconditional.
31376 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31377 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
31378 <kernel-features.h>.
31379 (unlinkat) [__NR_unlinkat]: Make code unconditional.
31380 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31381 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
31382 (__ASSUME_ATFCTS): Do not undefine and redefine.
31383 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31384 <kernel-features.h>.
31385 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31386 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31387 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31388 <kernel-features.h>.
31389 (__xmknodat) [__NR_mknodat]: Make code unconditional.
31390 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31391
31392 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
31393
31394 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
31395
31396 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
31397
31398 [BZ #17069]
31399 * posix/regcomp.c (parse_reg_exp): Deallocate partially
31400 constructed tree before returning error.
31401 * posix/bug-regexp36.c: Expand test case.
31402
31403 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
31404
31405 [BZ #6803]
31406 * math/libm-test.inc (scalbln_test_date):
31407 Add errno expectations.
31408 * math/w_scalblnf.c: New File.
31409 Add wrapper which checks for setting errno to ERANGE.
31410 Add weak_alias for corresponding scalbln function.
31411 * math/w_scalbln.c: Likewise.
31412 * math/w_scalblnl.c: Likewise.
31413 * math/Makefile (libm-calls): Add w_scalbln.
31414 * sysdeps/ieee754/flt-32/s_scalblnf.c:
31415 Remove weak_alias for corresponding scalbln function.
31416 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31417 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31418 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31419 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31420 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
31421 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31422 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
31423 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31424 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
31425 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
31426 Remove long_double_symbol for scalblnl function in libm, libc.
31427 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
31428 Add wrapper which checks for setting errno to ERANGE.
31429 Add long_double_symbol for scalblnl function in libm, libc.
31430 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
31431 Remove long_double_symbol for scalblnl in libm.
31432 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31433 Add wrapper which checks for setting errno to ERANGE.
31434 Add long_double_symbol for scalblnl function in libm.
31435 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
31436 Do not use wrapper because of own implementation.
31437
31438 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
31439
31440 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
31441 3 bytes for __pad1 for x32.
31442 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
31443
31444 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
31445 H.J. Lu <hongjiu.lu@intel.com>
31446
31447 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
31448 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
31449 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31450 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31451 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31452
31453 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
31454
31455 [BZ #17069]
31456 * posix/regcomp.c (parse_expression): Deallocate partially
31457 constructed tree before returning error.
31458 * posix/Makefile.c (tests): Add bug-regex36.
31459 (generated): Add bug-regex36.mtrace.
31460 (tests-special): Add $(objpfx)bug-regex36-mem.out
31461 (bug-regex36-ENV): New variable.
31462 ($(objpfx)bug-regex36-mem.out): New rule.
31463 * posix/bug-regex36.c: New file.
31464
31465 2014-06-19 Will Newton <will.newton@linaro.org>
31466
31467 * malloc/malloc.c (systrim): If extra is zero then return
31468 early.
31469
31470 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31471
31472 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31473
31474 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
31475
31476 * sysdeps/aarch64/strchr.S: New file.
31477
31478 2014-06-18 Joseph Myers <joseph@codesourcery.com>
31479
31480 [BZ #17022]
31481 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31482 from arguments -2 or below.
31483 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31484 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31485
31486 2014-06-18 Andreas Schwab <schwab@suse.de>
31487
31488 [BZ #17062]
31489 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31490 of a bracket expr not to run off the end of the string.
31491 * posix/Makefile (tests): Add tst-fnmatch3.
31492 * posix/tst-fnmatch3.c: New file.
31493
31494 2014-06-18 Joseph Myers <joseph@codesourcery.com>
31495
31496 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31497 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31498 [$(cross-compiling) = no]: Likewise.
31499 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31500 [$(cross-compiling) = no]: Likewise.
31501
31502 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31503
31504 [BZ #17031]
31505 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31506 double, adjusted for any remainder from the high double.
31507 * math/libm-test.inc (nearbyint): Add tests.
31508 (rint): Likewise.
31509
31510 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31511
31512 * nptl/sysdeps/powerpc/Makefile: Moved ...
31513 * sysdeps/powerpc/nptl/Makefile: ... here.
31514 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31515 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31516 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31517 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31518 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31519 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31520 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31521 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31522 * nptl/sysdeps/powerpc/tls.h: Moved ...
31523 * sysdeps/powerpc/nptl/tls.h: ... here.
31524
31525 2014-06-16 Joseph Myers <joseph@codesourcery.com>
31526
31527 [BZ #16681]
31528 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31529 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31530 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31531 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31532 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31533 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31534 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31535 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31536 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31537
31538 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
31539
31540 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31541
31542 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
31543
31544 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31545 defined operator.
31546
31547 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31548 $TIMEOUTFACTOR.
31549
31550 2014-06-16 Florian Weimer <fweimer@redhat.com>
31551
31552 [BZ #17058]
31553 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31554 non-executed part of the test.
31555
31556 2014-06-16 Andreas Schwab <schwab@suse.de>
31557
31558 * string/bits/string2.h (strdup, strndup): Update feature guard.
31559
31560 2014-06-14 David S. Miller <davem@davemloft.net>
31561
31562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31563
31564 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
31565
31566 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31567 that was previously under [RESET_PID].
31568 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31569
31570 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31571 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31572 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31573 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31574 (__libc_vfork): New strong alias.
31575 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31576
31577 2014-06-14 Andi Kleen <ak@linux.intel.com>
31578
31579 * sysdeps/generic/elide.h: New file.
31580
31581 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
31582
31583 * Makefile (installed-headers): Adjust path of pthread.h header.
31584
31585 2014-06-13 Roland McGrath <roland@hack.frob.com>
31586
31587 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31588 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31589 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31590 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31591
31592 * nptl/sysdeps/s390/Makefile: Moved ...
31593 * sysdeps/s390/nptl/Makefile: ... here.
31594 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31595 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31596 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31597 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31598 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31599 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31600 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31601 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31602 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31603 * sysdeps/s390/nptl/pthreaddef.h: ... here.
31604 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31605 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31606 * nptl/sysdeps/s390/tls.h: Moved ...
31607 * sysdeps/s390/nptl/tls.h: ... here.
31608
31609 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31610 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31611
31612 2014-06-13 David S. Miller <davem@davemloft.net>
31613
31614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31617 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31619 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31621 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31622 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31623 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31624 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31625 Remove RESET_PID cpp guards.
31626 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31627 Remove RESET_PID cpp guards.
31628 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31629
31630 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
31631
31632 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31633 __sp to uintptr_t.
31634
31635 2014-06-13 Andi Kleen <ak@linux.intel.com>
31636
31637 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31638 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31639 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31640 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31641 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31642 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31643 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31644 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31645 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31646 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31647 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31648 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31649 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31650 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31651 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31652 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31653 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31654 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31655 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31656 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31657
31658 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31659 (pthread_rwlock_rdlock): Add elision.
31660 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31661 (pthread_rwlock_wrlock): Add elision.
31662 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31663 (pthread_rwlock_trywrlock): Add elision.
31664 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31665 (pthread_rwlock_tryrdlock): Add elision.
31666 * nptl/pthread_rwlock_unlock.c: Include elide.h.
31667 (pthread_rwlock_tryrdlock): Add elision unlock.
31668 * nptl/sysdeps/pthread/pthread.h:
31669 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31670 (PTHREAD_RWLOCK_INITIALIZER,
31671 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31672 Handle new elision field.
31673 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31674 * sysdeps/arm/nptl/bits/pthreadtypes.h
31675 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31676 * sysdeps/sh/nptl/bits/pthreadtypes.h
31677 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31678 * sysdeps/tile/nptl/bits/pthreadtypes.h
31679 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31680 * sysdeps/a/nptl/bits/pthreadtypes.h
31681 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31682 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31683 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31684 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31685 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31686 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31687 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31688 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31689 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31690 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31691 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31692 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31693 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31694 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31695 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31696 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31697 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31698 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31699 (elision_init): Set try_xbegin to zero when no RTM.
31700 * sysdeps/x86/nptl/bits/pthreadtypes.h
31701 (pthread_rwlock_t): Change __pad1 to __rwelision.
31702 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31703
31704 2014-06-13 Andi Kleen <ak@linux.intel.com>
31705
31706 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31707 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31708 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31709 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31710
31711 2014-06-13 Meador Inge <meadori@codesourcery.com>
31712
31713 [BZ #16996]
31714 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31715 that the cached result has been set before returning it.
31716
31717 2014-06-12 Roland McGrath <roland@hack.frob.com>
31718
31719 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31720 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31721 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31722 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31723 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31724 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31725
31726 * nptl/sysdeps/sparc/Makefile: Moved ...
31727 * sysdeps/sparc/nptl/Makefile: ... here.
31728 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31729 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31730 * nptl/sysdeps/sparc/tls.h: Moved ...
31731 * sysdeps/sparc/nptl/tls.h: ... here.
31732 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31733 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31734 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31735 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31736 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31737 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31738 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31739 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31740 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31741 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31742 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31743 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31744 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31745 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31746 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31747 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31748 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31749 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31750 Update #include.
31751 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31752 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31753 Update #include.
31754 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31755 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31756 Update #include.
31757 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31758 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31759 Update #include.
31760
31761 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31762
31763 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31764 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31765
31766 * sysdeps/pthread/posix-timer.h: Include <list.h>.
31767 (struct list_links): Type removed.
31768 (struct thread_node, struct timer_node): Replace struct list_links
31769 with struct list_head.
31770 (list_unlink_ip): Likewise.
31771 * sysdeps/pthread/timer_routines.c
31772 (timer_free_list, thread_free_list, thread_active_list): Likewise.
31773 (list_append, list_insbefore): Likewise.
31774 (list_init): Function removed.
31775 (thread_init, init_module): Use INIT_LIST_HEAD instead.
31776 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31777 * sysdeps/pthread/Makefile: ... here, new file.
31778
31779 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31780 * sysdeps/nptl/Implies: ... here.
31781 * sysdeps/unix/sysv/linux/Implies: Add nptl.
31782 * nptl/sysdeps/pthread/list.h: Moved ...
31783 * include/list.h: ... here.
31784 * nptl/sysdeps/pthread/createthread.c: Moved ...
31785 * nptl/createthread.c: ... here.
31786 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31787 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31788 * nptl/pt-longjmp.c: ... here.
31789 * nptl/sysdeps/pthread/Makefile: Moved ...
31790 * sysdeps/nptl/Makefile: ... here.
31791 * nptl/sysdeps/pthread/Subdirs: Moved ...
31792 * sysdeps/nptl/Subdirs: ... here.
31793 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31794 * sysdeps/nptl/aio_misc.h: ... here.
31795 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31796 * sysdeps/nptl/bits/libc-lock.h: ... here.
31797 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31798 * sysdeps/nptl/bits/libc-lockP.h: ... here.
31799 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31800 * sysdeps/nptl/bits/stdio-lock.h: ... here.
31801 * nptl/sysdeps/pthread/configure: Moved ...
31802 * sysdeps/nptl/configure: ... here.
31803 * nptl/sysdeps/pthread/configure.ac: Moved ...
31804 * sysdeps/nptl/configure.ac: ... here.
31805 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31806 * sysdeps/nptl/gai_misc.h: ... here.
31807 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31808 * sysdeps/nptl/librt-cancellation.c: ... here.
31809 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31810 * sysdeps/nptl/malloc-machine.h: ... here.
31811 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31812 * sysdeps/nptl/pthread-functions.h: ... here.
31813 * nptl/sysdeps/pthread/pthread.h: Moved ...
31814 * sysdeps/nptl/pthread.h: ... here.
31815 * nptl/sysdeps/pthread/setxid.h: Moved ...
31816 * sysdeps/nptl/setxid.h: ... here.
31817 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31818 * sysdeps/nptl/sigfillset.c: ... here.
31819 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31820 * sysdeps/nptl/tcb-offsets.h: ... here.
31821 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31822 * sysdeps/nptl/tst-mqueue8x.c: ... here.
31823 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31824 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31825 * nptl/sysdeps/pthread/allocalim.h: Moved ...
31826 * sysdeps/pthread/allocalim.h: ... here.
31827 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31828 * sysdeps/pthread/bits/sigthread.h: ... here.
31829 * nptl/sysdeps/pthread/flockfile.c: Moved ...
31830 * sysdeps/pthread/flockfile.c: ... here.
31831 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31832 * sysdeps/pthread/ftrylockfile.c: ... here.
31833 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31834 * sysdeps/pthread/funlockfile.c: ... here.
31835 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31836 * sysdeps/pthread/posix-timer.h: ... here.
31837 * nptl/sysdeps/pthread/timer_create.c: Moved ...
31838 * sysdeps/pthread/timer_create.c: ... here.
31839 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31840 * sysdeps/pthread/timer_delete.c: ... here.
31841 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31842 * sysdeps/pthread/timer_getoverr.c: ... here.
31843 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31844 * sysdeps/pthread/timer_gettime.c: ... here.
31845 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31846 * sysdeps/pthread/timer_routines.c: ... here.
31847 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31848 * sysdeps/pthread/timer_settime.c: ... here.
31849 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31850 * sysdeps/pthread/tst-timer.c: ... here.
31851 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31852 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31853
31854 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31855 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31856
31857 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31858 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31859 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31860 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31861 Update #include target.
31862 * nptl/sysdeps/i386/i686/Makefile: Moved ...
31863 * sysdeps/i386/i686/nptl/Makefile: ... here.
31864 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31865 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31866 Update #include target.
31867 * nptl/sysdeps/i386/i686/tls.h: Moved ...
31868 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
31869 * nptl/sysdeps/i386/Makefile: Moved ...
31870 * sysdeps/i386/nptl/Makefile: ... here.
31871 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31872 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31873 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31874 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31875 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31876 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31877 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31878 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31879 * sysdeps/i386/nptl/pthreaddef.h: ... here.
31880 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31881 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31882 * nptl/sysdeps/i386/tls.h: Moved ...
31883 * sysdeps/i386/nptl/tls.h: ... here.
31884
31885 * sysdeps/sh/Makefile [$(subdir) = csu]
31886 (gen-as-const-headers): Add tcb-offsets.sym.
31887 * nptl/sysdeps/sh/Makefile: File removed.
31888 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31889 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31890 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31891 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31892 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31893 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31894 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31895 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31896 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31897 * sysdeps/sh/nptl/pthreaddef.h: ... here.
31898 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31899 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31900 * nptl/sysdeps/sh/tls.h: Moved ...
31901 * sysdeps/sh/nptl/tls.h: ... here.
31902 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31903 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31904 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31905 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31906 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31907 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31908 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31909 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31910 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31911 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31912 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31913 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31914 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31915 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31916 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31917 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31918 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31919 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31920 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31921 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31922 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31923 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31924 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31925 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31926 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31927 Moved ...
31928 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31929 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31930 Moved ...
31931 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31932 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31933 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31934 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31935 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31936 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31937 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31938 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31939 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31940 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31941 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31942 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31943 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31944 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31945 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31946 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31947 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31948 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31949 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31950
31951 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31952
31953 * posix/spawn_faction_addopen.c: Include string.h.
31954
31955 2014-06-11 Roland McGrath <roland@hack.frob.com>
31956
31957 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31958 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31959 * nptl/sysdeps/x86_64/Makefile: Moved ...
31960 * sysdeps/x86_64/nptl/Makefile: ... here.
31961 * nptl/sysdeps/x86_64/configure: Moved ...
31962 * sysdeps/x86_64/nptl/configure: ... here.
31963 * nptl/sysdeps/x86_64/configure.ac: Moved ...
31964 * sysdeps/x86_64/nptl/configure.ac: ... here.
31965 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31966 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31967 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31968 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31969 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31970 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31971 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31972 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31973 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31974 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31975 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31976 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31977 * nptl/sysdeps/x86_64/tls.h: Moved ...
31978 * sysdeps/x86_64/nptl/tls.h: ... here.
31979 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31980 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31981 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31982 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31983
31984 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31985
31986 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31987
31988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31989
31990 2014-06-11 Joseph Myers <joseph@codesourcery.com>
31991
31992 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31993 type.
31994 [POSIX] (off_t): Likewise.
31995 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31996 [POSIX] (S_ISBLK): Require macro.
31997 [POSIX] (S_ISCHR): Likewise.
31998 [POSIX] (S_ISDIR): Likewise.
31999 [POSIX] (S_ISFIFO): Likewise.
32000 [POSIX] (S_ISREG): Likewise.
32001 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
32002 optional-macro.
32003 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
32004 type.
32005 [POSIX] (time_t): Likewise.
32006 [POSIX] (timer_t): Likewise.
32007
32008 2014-06-11 Florian Weimer <fweimer@redhat.com>
32009
32010 [BZ #17048]
32011 * posix/spawn_int.h (struct __spawn_action): Make the path string
32012 non-const to support deallocation.
32013 * posix/spawn_faction_addopen.c
32014 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
32015 * posix/spawn_faction_destroy.c
32016 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
32017 path in all spawn_do_open actions.
32018 * posix/tst-spawn.c (do_test): Exercise the copy operation in
32019 posix_spawn_file_actions_addopen.
32020
32021 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
32022
32023 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
32024 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
32025 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
32026 conditional code always true.
32027 (__libc_vfork): New alias.
32028
32029 2014-06-11 Roland McGrath <roland@hack.frob.com>
32030
32031 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32032 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
32033
32034 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
32035
32036 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32037 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
32038
32039 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32040 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
32041
32042 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32043 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
32044
32045 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
32046
32047 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
32048 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
32049 multiarch strcmp for PPC64.
32050 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
32051 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
32052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
32053 multiarch optimizations.
32054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32055 (__libc_ifunc_impl_list): Likewise.
32056
32057 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32058
32059 * benchtests/scripts/validate_benchout.py: New script.
32060 * benchtests/Makefile (bench-func): Call it.
32061 * benchtests/scripts/benchout.schema.json: New file.
32062
32063 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
32064
32065 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
32066 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
32067 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
32068 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
32069 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
32070 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
32071 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
32072 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
32073 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
32074 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
32075 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32076 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
32077 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
32078 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
32079 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32080 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32082 Moved ...
32083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32084 ... here.
32085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32086 Moved ...
32087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32089 Moved ...
32090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32091 ... here.
32092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
32093 Moved ...
32094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
32095 ... here.
32096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
32097 Moved ...
32098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
32099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
32100 Moved ...
32101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
32102 ... here.
32103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
32104 Moved ...
32105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
32106 ... here.
32107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
32108 Moved ...
32109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
32110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
32111 Moved ...
32112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
32113 ... here.
32114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
32115 Moved ...
32116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
32117 ... here.
32118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
32119 Moved ...
32120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
32121 ... here.
32122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
32123 Moved ...
32124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
32125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
32126 Moved ...
32127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
32128 ... here.
32129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
32130 Moved ...
32131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
32132 ... here.
32133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
32134 Moved ...
32135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
32136 ... here.
32137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
32138 Moved ...
32139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
32140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
32141 Moved ...
32142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
32143 ... here.
32144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
32145 Moved ...
32146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
32147 ... here.
32148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
32149 Moved ...
32150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
32151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
32152 Moved ...
32153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
32154 ... here.
32155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
32156 Moved ...
32157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
32158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
32159 Moved ...
32160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
32161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
32162 Moved ...
32163 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
32164 ... here.
32165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
32166 Moved ...
32167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
32168 ... here.
32169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
32170 Moved ...
32171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
32172 ... here.
32173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
32174 Moved ...
32175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
32176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
32177 Moved ...
32178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
32179 ... here.
32180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
32181 Moved ...
32182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
32183 ... here.
32184 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
32185 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
32186 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
32187 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
32188 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
32189 Moved ...
32190 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
32191 ... here.
32192 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
32193 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
32194 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
32195 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
32196 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
32197 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
32198 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
32199 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
32200 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
32201 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
32202 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
32203 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
32204 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
32205 Moved ...
32206 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32207 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32208 Moved ...
32209 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32210 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32211 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32212 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32213 Moved ...
32214 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32215 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32216 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32217 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32218 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32219 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32220 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32221
32222 2014-06-10 Wilco <wdijkstr@arm.com>
32223
32224 * math/test-fenv-return.c: New file.
32225 * math/Makefile: Add new test test-fenv-return.
32226
32227 2014-06-10 Joseph Myers <joseph@codesourcery.com>
32228
32229 [BZ #17042]
32230 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32231 when x - 1 is zero.
32232 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32233 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32234 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32235 0.0L for an argument of 1.0L.
32236 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32237 Likewise.
32238 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32239 value when x - 1 is zero.
32240 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32241 * sysdeps/i386/fpu/libm-test-ulps: Update.
32242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32243
32244 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
32245
32246 [BZ #15119]
32247 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32248
32249 2014-06-09 Roland McGrath <roland@hack.frob.com>
32250
32251 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32252 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32253
32254 2014-06-09 Roland McGrath <roland@hack.frob.com>
32255
32256 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32257 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32258
32259 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32260 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32261
32262 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32263 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32264
32265 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32266 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32267
32268 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32269 if not already defined.
32270 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32271 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32272 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32273 (TLS_INIT_TP): Use it.
32274 (TLS_DEFINE_INIT_TP): New macro.
32275 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32276
32277 2014-06-09 Joseph Myers <joseph@codesourcery.com>
32278
32279 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32280 constant.
32281 [POSIX] (IXANY): Likewise.
32282 [POSIX] (OLCUC): Likewise.
32283 [POSIX || POSIX2008] (CBAUD): Do not allow.
32284 [POSIX || POSIX2008] (DEFECHO): Likewise.
32285 [POSIX || POSIX2008] (ECHOCTL): Likewise.
32286 [POSIX || POSIX2008] (ECHOKE): Likewise.
32287 [POSIX || POSIX2008] (ECHOPRT): Likewise.
32288 [POSIX || POSIX2008] (EXTA): Likewise.
32289 [POSIX || POSIX2008] (EXTB): Likewise.
32290 [POSIX || POSIX2008] (FLUSHO): Likewise.
32291 [POSIX || POSIX2008] (LOBLK): Likewise.
32292 [POSIX || POSIX2008] (PENDIN): Likewise.
32293 [POSIX || POSIX2008] (SWTCH): Likewise.
32294 [POSIX || POSIX2008] (VDISCARD): Likewise.
32295 [POSIX || POSIX2008] (VDSUSP): Likewise.
32296 [POSIX || POSIX2008] (VLNEXT): Likewise.
32297 [POSIX || POSIX2008] (VREPRINT): Likewise.
32298 [POSIX || POSIX2008] (VSTATUS): Likewise.
32299 [POSIX || POSIX2008] (VWERASE): Likewise.
32300 (B*): Change to B[0123456789]*.
32301 * conform/data/time.h-data [POSIX || UNIX98]
32302 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32303 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32304 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32305 [POSIX] (tm_*): Do not allow.
32306
32307 2014-06-07 Joseph Myers <joseph@codesourcery.com>
32308
32309 * Makefile (install): Don't set LANGUAGE.
32310 * Makefile.in (install): Likewise.
32311 * assert/Makefile (test-assert-ENV): Remove variable.
32312 (test-assert-perr-ENV): Likewise.
32313 * elf/Makefile (neededtest4-ENV): Likewise.
32314 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32315 [$(cross-compiling) = no]: Don't set LANGUAGE.
32316 * io/ftwtest-sh (LANG): Remove variable.
32317 * libio/Makefile (tst-widetext-ENV): Likewise.
32318 * manual/install.texi (Running make install): Don't refer to
32319 environment settings for make install.
32320 * INSTALL: Regenerated.
32321 * nptl/tst-tls6.sh: Don't set LANG.
32322 * posix/globtest.sh (LANG): Remove variable.
32323 * string/Makefile (tester-ENV): Likewise.
32324 (inl-tester-ENV): Likewise.
32325 (noinl-tester-ENV): Likewise.
32326 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32327 [$(cross-compiling) = no]: Don't set LANGUAGE.
32328 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32329 without explicit environment settings.
32330
32331 2014-06-06 Roland McGrath <roland@hack.frob.com>
32332
32333 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32334 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32335 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32336 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32337
32338 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
32339
32340 * crypt/crypt-private.h [DOS]: Add some includes taken from the
32341 other files in the crypt directory.
32342 * crypt/crypt.c: Remove duplicate includes.
32343 * crypt/crypt-entry.c: Likewise.
32344 * crypt/crypt_util.c: Likewise.
32345
32346 2014-06-06 Joseph Myers <joseph@codesourcery.com>
32347
32348 * Makeconfig (run-program-env): New variable.
32349 (run-program-prefix-before-env): Likewise.
32350 (run-program-prefix-after-env): Likewise.
32351 (run-program-prefix): Define in terms of new variables.
32352 (built-program-cmd-before-env): New variable.
32353 (built-program-cmd-after-env): Likewise.
32354 (built-program-cmd): Define in terms of new variables.
32355 (test-program-prefix-before-env): New variable.
32356 (test-program-prefix-after-env): Likewise.
32357 (test-program-prefix): Define in terms of new variables.
32358 (test-program-cmd-before-env): New variable.
32359 (test-program-cmd-after-env): Likewise.
32360 (test-program-cmd): Define in terms of new variables.
32361 * Rules (make-test-out): Use $(run-program-env).
32362 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
32363 (help): Do not mention environment variables. Mention
32364 --timeoutfactor option.
32365 (timeoutfactor): New variable.
32366 (blacklist_exports): Remove function.
32367 (exports): Remove variable.
32368 (command): Do not include ${exports}.
32369 * manual/install.texi (Configuring and compiling): Do not mention
32370 test wrappers preserving environment variables. Mention that last
32371 assignment to a variable must take precedence.
32372 * INSTALL: Regenerated.
32373 * benchtests/Makefile (run-bench): Use $(run-program-env).
32374 * catgets/Makefile ($(objpfx)test1.cat): Use
32375 $(built-program-cmd-before-env), $(run-program-env) and
32376 $(built-program-cmd-after-env).
32377 ($(objpfx)test2.cat): Do not specify environment variables
32378 explicitly.
32379 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
32380 $(run-program-env) and $(built-program-cmd-after-env).
32381 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
32382 $(run-program-env) and $(test-program-cmd-after-env).
32383 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
32384 explicitly.
32385 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
32386 run_program_env and test_program_cmd_after_env arguments.
32387 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
32388 * elf/tst-pathopt.sh: Use run_program_env argument.
32389 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
32390 $(test-wrapper-env) and $(run-program-env).
32391 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
32392 run_program_env arguments.
32393 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
32394 * intl/Makefile ($(objpfx)tst-gettext.out): Use
32395 $(test-program-prefix-before-env), $(run-program-env) and
32396 $(test-program-prefix-after-env).
32397 ($(objpfx)tst-gettext2.out): Likewise.
32398 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
32399 run_program_env and test_program_prefix_after_env arguments.
32400 * intl/tst-gettext2.sh: Likewise.
32401 * intl/tst-gettext4.sh: Do not set environment variables
32402 explicitly.
32403 * intl/tst-gettext6.sh: Likewise.
32404 * intl/tst-translit.sh: Likewise.
32405 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
32406 $(test-program-prefix-before-env), $(run-program-env) and
32407 $(test-program-prefix-after-env).
32408 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
32409 run_program_env and test_program_prefix_after_env arguments.
32410 * math/Makefile (run-regen-ulps): Use $(run-program-env).
32411 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
32412 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
32413 explicitly with each use of ${test_wrapper_env}.
32414 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
32415 $(test-program-prefix-before-env), $(run-program-env) and
32416 $(test-program-prefix-after-env).
32417 * posix/tst-getconf.sh: Do not set environment variables
32418 explicitly.
32419 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
32420 run_program_env and test_program_prefix_after_env arguments.
32421 * stdio-common/tst-printf.sh: Do not set environment variables
32422 explicitly.
32423 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
32424 $(test-program-prefix-before-env), $(run-program-env) and
32425 $(test-program-prefix-after-env).
32426 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
32427 run_program_env and test_program_prefix_after_env arguments.
32428 Split $test calls into $test_pre and $test.
32429 * timezone/Makefile (build-testdata): Use
32430 $(built-program-cmd-before-env), $(run-program-env) and
32431 $(built-program-cmd-after-env).
32432
32433 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32434
32435 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
32436 strlen for non SHARED builds.
32437
32438 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32439
32440 * nptl/allocatestack.c (check_list): Inlined function...
32441 (__reclaim_stacks): ... here.
32442
32443 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
32444
32445 [BZ #15698]
32446 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32447 memory overrun.
32448
32449 2014-06-05 Joseph Myers <joseph@codesourcery.com>
32450
32451 * Rules (make-test-out): Include
32452 LOCPATH=$(common-objpfx)localedata in default environment.
32453 * debug/Makefile (tst-chk1-ENV): Remove variable.
32454 (tst-chk2-ENV): Likewise.
32455 (tst-chk3-ENV): Likewise.
32456 (tst-chk4-ENV): Likewise.
32457 (tst-chk5-ENV): Likewise.
32458 (tst-chk6-ENV): Likewise.
32459 (tst-lfschk1-ENV): Likewise.
32460 (tst-lfschk2-ENV): Likewise.
32461 (tst-lfschk3-ENV): Likewise.
32462 (tst-lfschk4-ENV): Likewise.
32463 (tst-lfschk5-ENV): Likewise.
32464 (tst-lfschk6-ENV): Likewise.
32465 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32466 (tst-iconv7-ENV): Likewise.
32467 * intl/Makefile (LOCPATH-ENV): Likewise.
32468 (tst-codeset-ENV): Likewise.
32469 (tst-gettext3-ENV): Likewise.
32470 (tst-gettext5-ENV): Likewise.
32471 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32472 (tst-fopenloc-ENV): Likewise.
32473 (tst-fgetws-ENV): Remove variable.
32474 (tst-ungetwc1-ENV): Likewise.
32475 (tst-ungetwc2-ENV): Likewise.
32476 (bug-ungetwc2-ENV): Likewise.
32477 (tst-swscanf-ENV): Likewise.
32478 (bug-ftell-ENV): Likewise.
32479 (tst-fgetwc-ENV): Likewise.
32480 (tst-fseek-ENV): Likewise.
32481 (tst-ftell-partial-wide-ENV): Likewise.
32482 (tst-ftell-active-handler-ENV): Likewise.
32483 (tst-ftell-append-ENV): Likewise.
32484 * posix/Makefile (tst-fnmatch-ENV): Likewise.
32485 (tst-regexloc-ENV): Likewise.
32486 (bug-regex1-ENV): Likewise.
32487 (tst-regex-ENV): Likewise.
32488 (tst-regex2-ENV): Likewise.
32489 (bug-regex5-ENV): Likewise.
32490 (bug-regex6-ENV): Likewise.
32491 (bug-regex17-ENV): Likewise.
32492 (bug-regex18-ENV): Likewise.
32493 (bug-regex19-ENV): Likewise.
32494 (bug-regex20-ENV): Likewise.
32495 (bug-regex22-ENV): Likewise.
32496 (bug-regex23-ENV): Likewise.
32497 (bug-regex25-ENV): Likewise.
32498 (bug-regex26-ENV): Likewise.
32499 (bug-regex30-ENV): Likewise.
32500 (bug-regex32-ENV): Likewise.
32501 (bug-regex33-ENV): Likewise.
32502 (bug-regex34-ENV): Likewise.
32503 (bug-regex35-ENV): Likewise.
32504 (tst-rxspencer-ENV): Likewise.
32505 (tst-rxspencer-no-utf8-ENV): Likewise.
32506 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32507 (tst-sscanf-ENV): Likewise.
32508 (tst-swprintf-ENV): Likewise.
32509 (tst-swscanf-ENV): Likewise.
32510 (test-vfprintf-ENV): Likewise.
32511 (scanf13-ENV): Likewise.
32512 (bug14-ENV): Likewise.
32513 (tst-grouping-ENV): Likewise.
32514 * stdlib/Makefile (tst-strtod-ENV): Likewise.
32515 (tst-strtod3-ENV): Likewise.
32516 (tst-strtod4-ENV): Likewise.
32517 (tst-strtod5-ENV): Likewise.
32518 (testmb2-ENV): Likewise./
32519 * string/Makefile (tst-strxfrm-ENV): Likewise.
32520 (tst-strxfrm2-ENV): Likewise.
32521 (bug-strcoll1-ENV): Likewise.
32522 (test-strcasecmp-ENV): Likewise.
32523 (test-strncasecmp-ENV): Likewise.
32524 * time/Makefile (tst-strptime-ENV): Likewise.
32525 (tst-ftime_l-ENV): Likewise.
32526 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32527 (tst-mbrtowc-ENV): Likewise.
32528 (tst-wcrtomb-ENV): Likewise.
32529 (tst-mbrtowc2-ENV): Likewise.
32530 (tst-c16c32-1-ENV): Likewise.
32531 (tst-mbsnrtowcs-ENV): Likewise.
32532
32533 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
32534
32535 * manual/resource.texi (How to get information about the memory
32536 subsystem?): Fix typo.
32537 Reported by Peon de la Parra Ivan <peon@keba.com>
32538
32539 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
32540
32541 [BZ #16882]
32542 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32543 (pthread_spin_lock): Branch out of spin loop to proper location.
32544 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32545 (pthread_spin_lock): Likewise.
32546
32547 * nptl/tst-spin4.c: New test.
32548 * nptl/Makefile (tests): Add tst-spin4.
32549
32550 2014-06-03 Andreas Schwab <schwab@suse.de>
32551
32552 [BZ #15946]
32553 * resolv/res_send.c (send_dg): Reload file descriptor after
32554 calling reopen.
32555
32556 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
32557
32558 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32559
32560 2014-06-03 Richard Henderson <rth@redhat.com>
32561
32562 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32563 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32564 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32565 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
32566 in the SAVE_PID block.
32567 (__libc_vfork): New alias.
32568 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32569
32570 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32571 child in registers, not on the stack. Remove RESET_PID conditionals.
32572 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32573
32574 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
32575
32576 * sysdeps/aarch64/libm-test-ulps: Regenerate.
32577
32578 2014-06-03 Wilco <wdijkstr@arm.com>
32579
32580 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32581 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32582 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32583 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32584 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32585 Likewise.
32586
32587 2014-06-03 Wilco <wdijkstr@arm.com>
32588
32589 * sysdeps/aarch64/fpu/math_private.h
32590 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32591 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32592 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32593 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32594 Fix declarations.
32595
32596 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
32597
32598 * crypt/crypt-private.h: Include ufc-crypt.h.
32599 (__b64_from_24bit): Declare extern.
32600 * crypt/crypt_util.c(__b64_from_24bit): New function.
32601 (b64t): New static const variable.
32602 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32603 (b64t): Remove variable.
32604 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32605 * crypt/sha256-crypt.c: Include crypt-private.h.
32606 (b64t): Remove variable.
32607 (__sha256_crypt_r): Remove b64_from_24bit and replace
32608 with __b64_from_24bit.
32609 * crypt/sha512-crypt.c: Likewise.
32610
32611 2014-06-02 Roland McGrath <roland@hack.frob.com>
32612
32613 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32614 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32615 Label the code __libc_vfork rather than __vfork.
32616 [!NOT_IN_libc] (vfork): Define as weak alias.
32617 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32618 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32619 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32620
32621 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32622
32623 * malloc/malloc.c (malloc_info): Fix format specifier for
32624 n_mmaps.
32625
32626 2014-06-02 Wilco <wdijkstr@arm.com>
32627
32628 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32629 FPCR write.
32630
32631 2014-06-02 Wilco <wdijkstr@arm.com>
32632
32633 [BZ #17009]
32634 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32635 Rewrite to reduce FPCR/FPSR accesses.
32636
32637 2014-06-01 David S. Miller <davem@davemloft.net>
32638
32639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32640
32641 2014-05-31 David S. Miller <davem@davemloft.net>
32642
32643 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32644 to occur in round to nearest mode when |x| >= 2.0
32645
32646 2014-05-30 Richard Henderson <rth@twiddle.net>
32647
32648 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32649 (PSEUDO_RET_NOERRNO): Remove.
32650 (ret): Don't redefine.
32651 (ret_NOERRNO): Define in terms of ret.
32652 (ret_ERRVAL): Likewise.
32653
32654 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32655 use of PSEUDO_RET; perform the error check directly.
32656
32657 2014-05-30 Marko Myllynen <myllynen@redhat.com>
32658
32659 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32660 with __int128_t.
32661
32662 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32663
32664 * malloc/malloc (malloc_info): Fix formatting.
32665
32666 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32667 Roland McGrath <roland@hack.frob.com>
32668
32669 * malloc/malloc (malloc_info): Also print mmapped statistics.
32670
32671 2014-05-30 Roland McGrath <roland@hack.frob.com>
32672
32673 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32674 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32675
32676 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
32677
32678 * malloc/malloc.c (malloc_info): Inline mi_arena.
32679
32680 2014-05-29 Richard Henderson <rth@twiddle.net>
32681
32682 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32683 Remove comma before expanding ASM_ARGS_##nr.
32684 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32685 Make _x0 a strict output; make _x8 a strict input; adjust expansion
32686 of ASM_ARGS_##nr.
32687 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32688 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32689 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32690 (ASM_ARGS_1): Add leading comma.
32691
32692 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32693 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32694 to __errno_location.
32695 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32696 Remove the expected plt for __errno_location.
32697
32698 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32699 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32700 call to __read_tp.
32701
32702 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32703 Always allocate 64 bytes of stack frame. Use ldp/stp to create
32704 it and break it down.
32705 (DOCARGS_0, DOCARGS_1): Do nothing.
32706 (DOCARGS_2): Update to store into the new stack frame.
32707 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32708 (UNDOCARGS_1): Update to restore from the new stack frame.
32709 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32710 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32711
32712 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32713 (SINGLE_THREAD_P): New parameter for result regno.
32714 (PSEUDO): Update to match; use cbz instead of beq.
32715
32716 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32717 Use ENTRY to define the _nocancel entry point. Share the syscall
32718 and syscall error check paths with the cancel path.
32719 (PSEUDO_END): New.
32720
32721 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32722 whitespace; tabs before and after asm mnemonics.
32723
32724 2014-05-29 Eric Wong <normalperson@yhbt.net>
32725
32726 [BZ #15132]
32727 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32728 Call fstat64 or stat64 internally, depending on arguments passed.
32729 Replace stat buffer argument with file descriptor argument.
32730 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32731 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32732 Pass fd to __internal_statvfs instead of calling fstat64.
32733 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32734 Pass fd to __internal_statvfs64 instead of calling fstat64.
32735 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32736 Pass -1 to __internal_statvfs instead of calling stat64.
32737 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32738 Pass -1 to __internal_statvfs64 instead of calling stat64.
32739
32740 2014-05-28 Roland McGrath <roland@hack.frob.com>
32741
32742 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32743 that was previously under [RESET_PID].
32744 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32745
32746 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32747 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32748
32749 2014-05-27 Roland McGrath <roland@hack.frob.com>
32750
32751 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32752
32753 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32754 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32755
32756 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
32757
32758 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32759
32760 2014-05-27 Andreas Schwab <schwab@suse.de>
32761
32762 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32763 TLS_INIT_TP macro.
32764 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32765 * elf/rtld.c (init_tls, dl_main): Likewise.
32766 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32767 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32768 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32769 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32770 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32771 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32772 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32773 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32774 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32775 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32776 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32777 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32778 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32779 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32780 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32781 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32782 * sysdeps/generic/tls.h: Update description.
32783
32784 2014-05-27 Will Newton <will.newton@linaro.org>
32785
32786 [BZ #16990]
32787 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32788 and restore r2 rather than just restoring.
32789
32790 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32791
32792 [BZ #16724]
32793 * libio/tst-ftell-append.c: New test case.
32794 * libio/Makefile (tests): Add test case.
32795 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32796 append mode.
32797 * libio/wfileops.c (do_ftell_wide): Likewise.
32798
32799 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32800
32801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32802
32803 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32804 ...
32805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32807 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32808 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32809 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32810 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32811 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32812 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32813 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32814 Moved ...
32815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32816 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32817 Moved ...
32818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32819 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32820 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32821 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32822 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32823 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32824 ...
32825 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32826 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32827 Moved ...
32828 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32829 here.
32830 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32831 ...
32832 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32833 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32834 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32835
32836 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32837 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32838 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32839 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32840
32841 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32842 merge into ...
32843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32844 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32845 ...
32846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32847 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32848 ...
32849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32850 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32851 Moved ...
32852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32853 here.
32854 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32855 Moved ...
32856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32857 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32858 Moved ...
32859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32860
32861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32862 conditional [RESET_PID].
32863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32864 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32865 removed.
32866 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32867 removed.
32868
32869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32870 <tcb-offsets.h>.
32871 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32872 (__libc_vfork): New strong alias.
32873 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32874 removed.
32875 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32876 Removed.
32877
32878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32879 <tcb-offsets.h>.
32880 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32881 (__libc_vfork): New strong alias.
32882 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32883 removed.
32884 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32885 removed.
32886
32887 2014-05-26 Carlos O'Donell <carlos@redhat.com>
32888
32889 * malloc/malloc.c (mi_arena): New function.
32890 (malloc_info): Remove nested function mi_arena. Call non-nosted
32891 function mi_arena.
32892
32893 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32894
32895 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32896 by insrwi.
32897 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32898 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32899 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32900 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32901 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32902 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32903 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32904
32905 2014-05-26 Andreas Schwab <schwab@suse.de>
32906
32907 [BZ #16984]
32908 * locale/programs/repertoire.c (repertoire_read): Add slash
32909 between I18NPATH element and file name.
32910 * locale/programs/locfile.c (locfile_read): Likewise.
32911
32912 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
32913
32914 * nptl/pthread_mutexattr_settype.c
32915 (__pthread_mutexattr_settype):
32916 Disable lock elision for PTHREAD_MUTEX_NORMAL.
32917
32918 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
32919
32920 * nptl/tst-mutex5 (do_test):
32921 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32922
32923 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32924
32925 * benchtests/README: Document 'init' directive.
32926 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32927 BENCH_INIT.
32928 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32929 (parse_file): Recognize 'init' directive.
32930
32931 2014-05-26 Kyle McMartin <kyle@redhat.com>
32932
32933 [BZ #16796]
32934 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32935 alignment of struct pthread.
32936
32937 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32938
32939 [BZ #16878]
32940 * nscd/netgroupcache.c (addgetnetgrentX): Look for
32941 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32942 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32943 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32944
32945 2014-05-25 Richard Henderson <rth@twiddle.net>
32946
32947 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32948 (SINGLE_THREAD_P_PIC): Remove.
32949 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32950 (SINGLE_THREAD_P_PIC): Remove.
32951
32952 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32953 branch to syscall error ...
32954 (PSEUDO): ... here.
32955 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32956 from __local_syscall_error to .Lsyscall_error.
32957 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32958 (SYSCALL_ERROR): Update label name.
32959
32960 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32961 Do not use DOARGS/UNDOARGS.
32962 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32963 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32964 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32965 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32966 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32967
32968 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32969 block comment.
32970
32971 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32972 define if !NOT_IN_libc.
32973 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32974 define with non-default symbol versions.
32975
32976 2014-05-23 Richard Henderson <rth@twiddle.net>
32977
32978 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32979 (vfork, __vfork): Define via compat_symbol.
32980
32981 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32982 [!HAVE_IFUNC] (vfork_compat): Remove.
32983 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32984
32985 2014-05-23 Joseph Myers <joseph@codesourcery.com>
32986
32987 [BZ #16978]
32988 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32989 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32990 variable.
32991
32992 2014-05-23 Richard Henderson <rth@twiddle.net>
32993
32994 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32995 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32996 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32997 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32998
32999 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
33000 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
33001 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
33002 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
33003 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
33004 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
33005 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
33006 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
33007 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
33008 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
33009 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
33010 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
33011 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
33012 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
33013 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
33014 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
33015 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
33016 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
33017 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
33018 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
33019 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
33020 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
33021 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
33022 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
33023 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
33024 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
33025 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
33026 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
33027 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
33028 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
33029 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
33030 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
33031 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
33032 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
33033 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
33034 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
33035 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
33036 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
33037 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
33038 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
33039 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
33040 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
33041 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
33042 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
33043 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
33044 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
33045 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
33046 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
33047 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
33048 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
33049 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
33050 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
33051 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
33052 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
33053 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
33054 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
33055
33056 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
33057 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
33058 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
33059 before exiting on error.
33060 (__libc_vfork): New strong alias.
33061 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
33062 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
33063
33064 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
33065 that was previously under [RESET_PID].
33066 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
33067
33068 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
33069
33070 2014-05-23 Joseph Myers <joseph@codesourcery.com>
33071
33072 [BZ #16977]
33073 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
33074 value when x - 1 is zero.
33075 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
33076 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
33077 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
33078 0.0L for an argument of 1.0L.
33079 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33080 Likewise.
33081 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33082 value when x - 1 is zero.
33083 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33084 * sysdeps/i386/fpu/libm-test-ulps: Update.
33085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33086
33087 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
33088
33089 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33090 alphasort and versionsort.
33091
33092 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33093
33094 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
33095 macro.
33096 [copysignf]: Likewise.
33097
33098 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33099
33100 * crypt/md5-crypt.c: Fix formatting.
33101
33102 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
33103
33104 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
33105 (b64_from_24bit): New function.
33106
33107 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33108
33109 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
33110 libc_hidden_builtin_def to ifunc.
33111 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33112 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
33113
33114 2014-05-21 Roland McGrath <roland@hack.frob.com>
33115
33116 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
33117 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
33118
33119 2014-05-21 Joseph Myers <joseph@codesourcery.com>
33120
33121 * nscd/Depend (linuxthreads): Remove.
33122 (nptl): Add.
33123 * resolv/Depend (linuxthreads): Remove.
33124 * rt/Depend (linuxthreads): Remove.
33125
33126 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
33127 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
33128 $(common-objpfx)elf/.
33129 (link-libc-before-gnulib): Likewise.
33130 (elfobjdir): Remove variable.
33131 * Makefile (install): Use $(elf-objpfx) instead of
33132 $(common-objpfx)elf/.
33133 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
33134 $(elfobjdir)/.
33135 (link-libc-deps): Likewise.
33136 ($(common-objpfx)libc.so): Likewise.
33137 ($(common-objpfx)linkobj/libc.so): Likewise.
33138 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
33139 instead of $(common-objpfx)elf/.
33140 (symbolic-link-list): Likewise.
33141 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33142 [$(cross-compiling) = no]: Likewise.
33143 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
33144 $(elfobjdir)/.
33145 (static-gnulib-arch): Likewise.
33146 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33147 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
33148 $(common-objpfx)elf/.
33149
33150 2014-05-21 Richard Henderson <rth@redhat.com>
33151
33152 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33153 (SINGLE_THREAD_P): Use the correct width load. Fold
33154 into the ldr offset.
33155
33156 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
33157 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
33158
33159 2014-05-20 Joseph Myers <joseph@codesourcery.com>
33160
33161 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
33162 (libgcc_s_resume): Use __attribute_used__.
33163 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
33164 Likewise.
33165
33166 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33167
33168 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
33169 optimization when used with float constants.
33170
33171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33172
33173 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
33174
33175 [BZ #16915]
33176 * locale/nl_langinfo_l.c: Make direct reference to every
33177 _nl_current_CATEGORY symbol.
33178 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
33179 (tests-static): Add tst-langinfo-static.
33180 (tests-special): Add tst-langinfo-static.out.
33181 ($(objpfx)tst-langinfo.out): Redirect output.
33182 ($(objpfx)tst-langinfo-static.out): New.
33183 * localedata/tst-langinfo.sh: Send output to stdout.
33184 * localedata/tst-langinfo-static.c: New file.
33185
33186 [BZ #16965]
33187 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
33188 when the shift amount is modulo the limb size.
33189
33190 2014-05-20 Richard Henderson <rth@redhat.com>
33191
33192 [BZ #16967]
33193 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
33194 Change type of sa_flags from unsigned int to int.
33195
33196 [BZ #16966]
33197 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
33198
33199 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
33200
33201 2014-05-20 Will Newton <will.newton@linaro.org>
33202
33203 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33204 Test the return value of the system call in the nocancel case.
33205
33206 2014-05-20 Will Newton <will.newton@linaro.org>
33207 Yvan Roux <yvan.roux@linaro.org>
33208
33209 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33210 #include of asm/ptrace.h.
33211 (PTRACE_GET_THREAD_AREA): Remove #undef.
33212 (PTRACE_GETHBPREGS): Likewise.
33213 (PTRACE_SETHBPREGS): Likewise.
33214 (struct user_regs_struct): New structure.
33215 (struct user_fpsimd_struct): New structure.
33216 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33217 #include of asm/ptrace.h and second #include of sys/user.h.
33218 (PTRACE_GET_THREAD_AREA): Remove #undef.
33219 (PTRACE_GETHBPREGS): Likewise.
33220 (PTRACE_SETHBPREGS): Likewise.
33221 (ELF_NGREG): Use new struct user_regs_struct.
33222 (elf_fpregset_t): Use new struct user_fpsimd_struct.
33223
33224 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33225
33226 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33227 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33228
33229 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
33230
33231 [BZ #16958]
33232 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33233 membar to avoid block loads/stores to overlap previous stores.
33234
33235 2014-05-17 Richard Henderson <rth@redhat.com>
33236
33237 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33238 Create the __##syscall_name##_nocancel entry point.
33239 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33240 Remove; let the sysdep-cancel.h code create it.
33241
33242 2014-05-17 David S. Miller <davem@davemloft.net>
33243
33244 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33245 Protect with __USE_GNU.
33246 (TIOCSET_TEMPT): Likewise.
33247 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33248 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33249 these are already provided in bits/ioctl-types.h
33250
33251 2014-05-16 Roland McGrath <roland@hack.frob.com>
33252
33253 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33254 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33255
33256 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33257 Use wait4 regardless of [__NR_waitpid].
33258
33259 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
33260
33261 PR libgcc/60166
33262 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33263 (_FP_NANSIGN_Q): Set the quiet bit.
33264
33265 2014-05-16 Joseph Myers <joseph@codesourcery.com>
33266
33267 * benchtests/Makefile
33268 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33269 not $(common-objpfx)math/libm.so.
33270 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33271 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33272 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33273 $(common-objpfx)dlfcn/libdl.so.
33274 ($(objpfx)tst-audit8): Depend on $(libm), not
33275 $(common-objpfx)math/libm.so.
33276 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33277 not $(common-objpfx)dlfcn/libdl.so.
33278 * math/Makefile
33279 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33280 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
33281 [$(build-shared) = yes].
33282 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33283 $(common-objpfx)nptl/libpthread.so.
33284 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33285 $(common-objpfx)math/libm.so$(libm.so-version) or
33286 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33287 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33288 $(common-objpfx)dlfcn/libdl.so.
33289 * setjmp/Makefile (link-libm): Remove variable.
33290 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33291 * stdio-common/Makefile (link-libm): Remove variable.
33292 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33293 * stdlib/Makefile (link-libm): Remove variable.
33294 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33295 ($(objpfx)tst-strtod-round): Likewise.
33296 ($(objpfx)tst-tininess): Likewise.
33297 ($(objpfx)tst-strtod-underflow): Likewise.
33298 ($(objpfx)tst-strtod6): Likewise.
33299 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33300 $(libdl), not $(common-objpfx)nptl/libpthread.so and
33301 $(common-objpfx)dlfcn/libdl.so.
33302
33303 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33304
33305 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33306 BSD terminal modes definitions.
33307
33308 2014-05-16 Roland McGrath <roland@hack.frob.com>
33309
33310 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33311 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33312
33313 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33314 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33315 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33316 Don't do #include_next.
33317 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33318 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33319 Don't do #include_next.
33320 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33321 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33322 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33323 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33324
33325 2014-05-16 Allan McRae <allan@archlinux.org>
33326
33327 * po/sv.po: Update Swedish translation from translation project.
33328
33329 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33330 in sed expression.
33331
33332 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
33333
33334 [BZ #16917]
33335 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33336 errno if the TIOCGPTN ioctl fails with an error different than
33337 EINVAL.
33338 * login/tst-ptsname.c: New file.
33339 * login/Makefile (tests): Add tst-ptsname.
33340
33341 [BZ #16943]
33342 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33343 and prlimit64.
33344
33345 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33346
33347 [BZ #16849]
33348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33349 herrno to return EAI_AGAIN.
33350
33351 2014-05-14 Roland McGrath <roland@hack.frob.com>
33352
33353 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33354 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33355 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33356 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
33357 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
33358 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33359 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
33360 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
33361 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
33362 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
33363 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
33364 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
33365 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
33366 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
33367 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
33368 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
33369 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
33370 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
33371 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
33372 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
33373 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
33374 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
33375 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
33376 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
33377 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
33378 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
33379 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
33380 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
33381 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
33382 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
33383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
33384 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
33385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
33386 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
33387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33388 Moved ...
33389 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
33390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
33391 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
33392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
33393 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
33394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
33395 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
33396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
33397 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
33398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
33399 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
33400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
33401 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
33402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
33403 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
33404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
33405 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
33406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
33407 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
33408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
33409 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
33410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
33411 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
33412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
33413 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
33414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
33415 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
33416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33417 Moved ...
33418 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
33419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
33420 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
33421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
33422 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
33423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
33424 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
33425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
33426 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
33427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
33428 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
33429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
33430 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
33431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
33432 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
33433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
33434 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
33435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
33436 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
33437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33438 Moved ...
33439 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
33440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
33441 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
33442
33443 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
33444 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
33445 (libpthread-sysdep_routines): Add elision-related stuff here instead.
33446 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
33447 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
33448 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
33449 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
33450 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
33451 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
33452 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33453 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33454 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33455 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33456 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33457 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33458 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33459 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33460 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33461 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33462 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33463 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33464 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33465 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33466 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33467 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33468 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33469 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33470 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33471 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33472 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33473 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33474
33475 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33476 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33477
33478 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33479 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33480 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33481 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33482 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33483 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33484 Moved ...
33485 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33486 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33487 Moved ...
33488 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33489 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33490 Moved ...
33491 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33492 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33493 Moved ...
33494 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33495 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33496 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33497 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33498 Moved ...
33499 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33500 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33501 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33502 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33503 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33504 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33505 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33506 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33507 Moved ...
33508 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33509 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33510 Moved ...
33511 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33512 ... here.
33513 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33514 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33515 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33516 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33517 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33518 Moved ...
33519 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33520 ... here.
33521 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33522 Moved ...
33523 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33524 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33525 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33526 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33527 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33528 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33529 Moved ...
33530 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33531 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33532 Moved ...
33533 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33534 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33535 Moved ...
33536 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33537 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33538 Moved ...
33539 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33540 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33541 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33542 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33543 Moved ...
33544 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33545 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33546 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33547 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33548 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33549 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33550 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33551 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33552 Moved ...
33553 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33554 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33555 Moved ...
33556 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33557 ... here.
33558 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33559 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33560 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33561 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33562 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33563 Moved ...
33564 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33565 ... here.
33566 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33567 Moved ...
33568 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33569 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33570 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33571 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33572 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33573 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33574 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33575 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33576 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33577 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33578 Moved ...
33579 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33580 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33581 Moved ...
33582 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33583 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33584 Moved ...
33585 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33586 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33587 Moved ...
33588 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33589 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33590 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33591 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33592 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33593 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33594 Moved ...
33595 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33596 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33597 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33598 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33599 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33600 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33601 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33602 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33603 Moved ...
33604 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33605 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33606 Moved ...
33607 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33608 ... here.
33609 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33610 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33611 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33612 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33613 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33614 Moved ...
33615 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33616 ... here.
33617 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33618 Moved ...
33619 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33620 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33621 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33622 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33623 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33624 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33625 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33626 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33627 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33628 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33629 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33630
33631 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33632 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33633
33634 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33635 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33636
33637 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33638 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33639 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33640 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33641 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33642 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33643 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33644 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33645 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33646 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33647 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33648 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33649 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33650 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33651 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33652 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33653 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33654 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33655 Moved ...
33656 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33657 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33658 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33659 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33660 Moved ...
33661 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33662 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33663 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33664 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33665 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33666 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33667 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33668 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33669 Moved ...
33670 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33671 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33672 Moved ...
33673 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33674 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33675 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33676 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33677 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33678 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33679 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33680 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33681 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33682 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33683 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33684 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33685 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33686 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33687 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33688 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33689 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33690
33691 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33692 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33693 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33694 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33695 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33696
33697 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33698 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33699 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33700 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33701 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33702 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33703 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33704 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33705 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33706 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33707
33708 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33709 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33710
33711 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33712 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33713 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33714 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33715 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33716 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33717 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33718 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33719 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33720 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33721 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33722 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33723 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33724 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33725 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33726 Update #include.
33727 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33728 Likewise.
33729 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33730 Likewise.
33731 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33732 Likewise.
33733 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33734 Likewise.
33735 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33736 Likewise.
33737 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33738 Likewise.
33739 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33740 Likewise.
33741 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33742 Likewise.
33743 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33744 Likewise.
33745 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33746 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33747 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33748 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33749 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33750 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33751 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33752 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33753 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33754 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33755 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33756 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33757 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33758 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
33759 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
33760
33761 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33762 that was previously under [RESET_PID].
33763 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33764 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33765 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33766
33767 * sysdeps/i386/nptl/Implies: New file.
33768 * sysdeps/x86_64/nptl/Implies: New file.
33769 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33770 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33771 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33772 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33773
33774 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33775 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33776 (__libc_vfork): New strong alias.
33777 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33778 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33779
33780 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33781 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33782 (__libc_vfork): New strong alias.
33783 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33784 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33785
33786 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33787 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33788 (__libc_vfork): New strong alias.
33789 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33790 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33791 * nptl/pt-vfork.c: New file.
33792 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33793 (libpthread: GLIBC_2.20): New version set (empty).
33794
33795 2014-05-14 Will Newton <will.newton@linaro.org>
33796
33797 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33798 rather than #if.
33799
33800 2014-05-14 Joseph Myers <joseph@codesourcery.com>
33801
33802 [BZ #16564]
33803 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33804 arguments with exponent 65 or above.
33805 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33806 arguments 0x1p113L or above.
33807 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33808 to arguments 0x1p107L or above.
33809 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33810 positive arguments with exponent 65 or above.
33811 * math/auto-libm-test-in: Add more tests of log1p.
33812 * math/auto-libm-test-out: Regenerated.
33813
33814 [BZ #16928]
33815 * math/s_cacos.c (__cacos): Ensure zero real part of result from
33816 non-finite arguments is +0.
33817 * math/s_cacosf.c (__cacosf): Likewise.
33818 * math/s_cacosl.c (__cacosl): Likewise.
33819 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33820 * sysdeps/i386/fpu/libm-test-ulps: Update.
33821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33822
33823 [BZ #16927]
33824 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33825 value.
33826 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33827 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33828 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33829 for explicit high bit of mantissa when testing for argument equal
33830 to 1.
33831 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33832 * sysdeps/i386/fpu/libm-test-ulps: Update.
33833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33834
33835 [BZ #16516]
33836 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33837 (__erf): Scale by 16 instead of 8 in potentially underflowing
33838 case. Ensure exception if result actually underflows.
33839 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33840 (__erff): Scale by 16 instead of 8 in potentially underflowing
33841 case. Ensure exception if result actually underflows.
33842 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33843 (efx8): Remove variable.
33844 (__erfl): Scale by 16 instead of 8 in potentially underflowing
33845 case. Ensure exception if result actually underflows.
33846 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33847 (efx8): Remove variable.
33848 (__erfl): Scale by 16 instead of 8 in potentially underflowing
33849 case. Ensure exception if result actually underflows.
33850 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33851 (efx8): Remove variable.
33852 (__erfl): Scale by 16 instead of 8 in potentially underflowing
33853 case. Ensure exception if result actually underflows.
33854 * math/auto-libm-test-in: Add more tests of erf.
33855 * math/auto-libm-test-out: Regenerated.
33856
33857 2014-05-14 Andreas Schwab <schwab@suse.de>
33858
33859 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33860 Remove code conditionalized on USE___THREAD.
33861
33862 * config.h.in (HAVE_PT_CHOWN): Define as 0.
33863 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33864 not definedness.
33865
33866 2014-05-14 Joseph Myers <joseph@codesourcery.com>
33867
33868 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33869 Define unconditionally.
33870 (__ASSUME_O_CLOEXEC): Likewise.
33871 (__ASSUME_SOCK_CLOEXEC): Likewise.
33872 (__ASSUME_IN_NONBLOCK): Likewise.
33873 (__ASSUME_PIPE2): Likewise.
33874 (__ASSUME_EVENTFD2): Likewise.
33875 (__ASSUME_SIGNALFD4): Likewise.
33876 (__ASSUME_DUP3): Likewise.
33877 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33878 (__ASSUME_DUP3): Do not define.
33879 (__ASSUME_EVENTFD2): Likewise.
33880 (__ASSUME_IN_NONBLOCK): Likewise.
33881 (__ASSUME_O_CLOEXEC): Likewise.
33882 (__ASSUME_PIPE2): Likewise.
33883 (__ASSUME_SIGNALFD4): Likewise.
33884 (__ASSUME_SOCK_CLOEXEC): Likewise.
33885 (__ASSUME_UTIMES): Undefine.
33886 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33887 (__ASSUME_UTIMES): Do not define.
33888 (__ASSUME_O_CLOEXEC): Likewise.
33889 (__ASSUME_SOCK_CLOEXEC): Likewise.
33890 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33891 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33892 0x020621].
33893 (__ASSUME_PIPE2): Likewise.
33894 (__ASSUME_EVENTFD2): Likewise.
33895 (__ASSUME_SIGNALFD4): Likewise.
33896 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33897 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33898 Do not define.
33899 (__ASSUME_EVENTFD2): Likewise.
33900 (__ASSUME_SIGNALFD4): Likewise.
33901 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33902 (__ASSUME_32BITUIDS): Likewise.
33903 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33904 (__ASSUME_IPC64): Likewise.
33905 (__ASSUME_ST_INO_64_BIT): Likewise.
33906 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33907 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33908 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33909 (__ASSUME_UTIMES): Do not define.
33910 (__ASSUME_PSELECT): Likewise.
33911 (__ASSUME_PPOLL): Likewise.
33912 (__ASSUME_O_CLOEXEC): Likewise.
33913 (__ASSUME_SOCK_CLOEXEC): Likewise.
33914 (__ASSUME_IN_NONBLOCK): Likewise.
33915 (__ASSUME_PIPE2): Likewise.
33916 (__ASSUME_EVENTFD2): Likewise.
33917 (__ASSUME_SIGNALFD4): Likewise.
33918 (__ASSUME_DUP3): Likewise.
33919 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33920 (__ASSUME_UTIMES): Likewise.
33921 (__ASSUME_O_CLOEXEC): Likewise.
33922 (__ASSUME_SOCK_CLOEXEC): Likewise.
33923 (__ASSUME_IN_NONBLOCK): Likewise.
33924 (__ASSUME_PIPE2): Likewise.
33925 (__ASSUME_EVENTFD2): Likewise.
33926 (__ASSUME_SIGNALFD4): Likewise.
33927 (__ASSUME_DUP3): Likewise.
33928 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33929 (__ASSUME_UTIMES): Likewise.
33930 (__ASSUME_O_CLOEXEC): Likewise.
33931 (__ASSUME_SOCK_CLOEXEC): Likewise.
33932 (__ASSUME_IN_NONBLOCK): Likewise.
33933 (__ASSUME_PIPE2): Likewise.
33934 (__ASSUME_EVENTFD2): Likewise.
33935 (__ASSUME_SIGNALFD4): Likewise.
33936 (__ASSUME_DUP3): Likewise.
33937 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33938 Likewise.
33939 (__ASSUME_UTIMES): Likewise.
33940 (__ASSUME_EVENTFD2): Likewise.
33941 (__ASSUME_SIGNALFD4): Likewise.
33942 * sysdeps/unix/sysv/linux/tile/kernel-features.h
33943 (__ASSUME_O_CLOEXEC): Likewise.
33944 (__ASSUME_SOCK_CLOEXEC): Likewise.
33945 (__ASSUME_IN_NONBLOCK): Likewise.
33946 (__ASSUME_PIPE2): Likewise.
33947 (__ASSUME_EVENTFD2): Likewise.
33948 (__ASSUME_SIGNALFD4): Likewise.
33949 (__ASSUME_DUP3): Likewise.
33950 (__ASSUME_UTIMES): Undefine.
33951
33952 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33953 feclearexcept. Remove symbol versioning code.
33954 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
33955 symbol versioning code.
33956 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
33957 symbol versioning code.
33958 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33959 feupdateenv. Remove symbol versioning code.
33960 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33961 fegetexceptflag. Remove symbol versioning code.
33962 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33963 fesetexceptflag. Remove symbol versioning code.
33964 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33965 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
33966 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33967 (__posix_fadvise64_l32): Remove prototype.
33968 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33969 code.
33970
33971 2014-05-13 Roland McGrath <roland@hack.frob.com>
33972
33973 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33974 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33975 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33976 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33977
33978 2014-05-13 Sami Kerola <kerolasa@iki.fi>
33979
33980 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33981 current working directory
33982
33983 2014-05-13 Roland McGrath <roland@hack.frob.com>
33984
33985 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33986 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33987 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33988 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33989 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33990 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33991 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33992 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33993 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33994 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33995 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33996 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33997 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33998 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33999 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
34000 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
34001 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
34002 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
34003 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
34004 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
34005 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
34006 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
34007 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
34008 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
34009 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
34010 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
34011 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
34012 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
34013 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
34014 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
34015 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
34016 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
34017 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
34018 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
34019 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
34020 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
34021 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
34022 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
34023 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
34024 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
34025 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
34026 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
34027
34028 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
34029 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
34030
34031 * sysdeps/unix/sysv/linux/arm/Makefile
34032 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34033 Add rt-aeabi_unwind_cpp_pr1.
34034 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
34035 Add nptl-aeabi_unwind_cpp_pr1.
34036 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
34037 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
34038 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
34039 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34040 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
34041 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34042
34043 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
34044 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
34045 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
34046 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
34047
34048 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
34049 Deconditionalize the code that was previously under [RESET_PID].
34050 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
34051
34052 * sysdeps/generic/exit-thread.h: New file.
34053 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
34054 * include/unistd.h (__exit_thread): Remove declaration.
34055 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
34056 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
34057 * csu/libc-start.c: Include <exit-thread.h>.
34058 (LIBC_START_MAIN): Pass no argument to __exit_thread.
34059 * nptl/pthread_create.c: Include <exit-thread.h>.
34060 (start_thread): Call __exit_thread in place of __exit_thread_inline.
34061 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
34062 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
34063 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
34064 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
34065 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
34066 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
34067 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
34068 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
34069 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
34070 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
34071 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
34072 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
34073 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
34074 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
34075 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
34076 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
34077
34078 2014-05-13 Andreas Schwab <schwab@suse.de>
34079
34080 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34081
34082 2014-05-12 Joseph Myers <joseph@codesourcery.com>
34083
34084 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34085 (__ASSUME_UTIMES): Do not condition on kernel version.
34086 (__ASSUME_PSELECT): Define unconditionally.
34087 (__ASSUME_PPOLL): Likewise.
34088 (__ASSUME_ATFCTS): Likewise.
34089 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34090 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34091 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34092 (__ASSUME_UTIMENSAT): Define unconditionally.
34093 (__ASSUME_PRIVATE_FUTEX): Likewise.
34094 (__ASSUME_FALLOCATE): Likewise.
34095 (__ASSUME_O_CLOEXEC): Likewise.
34096 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
34097 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
34098 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
34099 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
34100 (__ASSUME_IN_NONBLOCK): Likewise.
34101 (__ASSUME_PIPE2): Likewise.
34102 (__ASSUME_EVENTFD2): Likewise.
34103 (__ASSUME_SIGNALFD4): Likewise.
34104 (__ASSUME_DUP3): Likewise.
34105 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34106 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
34107 (__ASSUME_AT_RANDOM): Likewise.
34108 (__ASSUME_PREADV): Likewise.
34109 (__ASSUME_PWRITEV): Likewise.
34110 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34111 (__ASSUME_F_GETOWN_EX): Define unconditionally.
34112 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
34113 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34114 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
34115 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34116 (__ASSUME_O_CLOEXEC): Define unconditionally.
34117 (__ASSUME_PSELECT): Do not undefine conditionally.
34118 (__ASSUME_PPOLL): Likewise.
34119 (__ASSUME_ATFCTS): Likewise.
34120 (__ASSUME_SET_ROBUST_LIST): Likewise.
34121 (__ASSUME_UTIMENSAT): Likewise.
34122 (__ASSUME_FDATASYNC): Define unconditionally.
34123 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34124 (__ASSUME_SIGFRAME_V2): Likewise.
34125 )__ASSUME_EVENTFD2): Likewise.
34126 (__ASSUME_SIGNALFD4): Likewise.
34127 (__ASSUME_PSELECT): Do not undefine conditionally.
34128 (__ASSUME_PPOLL): Likewise.
34129 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34130 (__ASSUME_PSELECT): Define unconditionally.
34131 (__ASSUME_PPOLL): Likewise.
34132 (__ASSUME_O_CLOEXEC): Likewise.
34133 (__ASSUME_SOCK_CLOEXEC): Likewise.
34134 (__ASSUME_IN_NONBLOCK): Likewise.
34135 (__ASSUME_PIPE2): Likewise.
34136 (__ASSUME_EVENTFD2): Likewise.
34137 (__ASSUME_SIGNALFD4): Likewise.
34138 (__ASSUME_DUP3): Likewise.
34139 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34140 (__ASSUME_O_CLOEXEC): Likewise.
34141 (__ASSUME_SOCK_CLOEXEC): Likewise.
34142 (__ASSUME_IN_NONBLOCK): Likewise.
34143 (__ASSUME_PIPE2): Likewise.
34144 (__ASSUME_EVENTFD2): Likewise.
34145 (__ASSUME_SIGNALFD4): Likewise.
34146 (__ASSUME_DUP3): Likewise.
34147 * sysdeps/unix/sysv/linux/mips/kernel-features.h
34148 (__ASSUME_EVENTFD2): Likewise.
34149 (__ASSUME_SIGNALFD4): Likewise.
34150 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34151
34152 2014-05-12 Andreas Schwab <schwab@suse.de>
34153
34154 [BZ #16932]
34155 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
34156 (_nss_nis_gethostbyname4_r): Return error if item length is larger
34157 than maximum RPC packet size.
34158 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
34159 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
34160 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
34161 (_nss_nis_getservbyport_r): Likewise.
34162
34163 2014-05-12 Will Newton <will.newton@linaro.org>
34164
34165 * malloc/Makefile (tests): Add tst-mallopt.
34166 * malloc/tst-mallopt.c: New file.
34167
34168 2014-05-09 Roland McGrath <roland@hack.frob.com>
34169
34170 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
34171 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
34172
34173 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34174
34175 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
34176 (tst-tlsmod6.so): Likewise.
34177
34178 2014-05-09 Roland McGrath <roland@hack.frob.com>
34179
34180 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
34181
34182 2014-05-09 Joseph Myers <joseph@codesourcery.com>
34183
34184 [BZ #16064]
34185 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
34186 and <dl-procinfo.h>.
34187 (__fegetenv): Save SSE state in envp->__eip if supported.
34188 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
34189 envp->__eip if supported.
34190 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
34191 and <dl-procinfo.h>.
34192 (__fesetenv): Always set __eip, __cs_selector, __opcode,
34193 __data_offset and __data_selector in environment to 0. Set SSE
34194 state if supported.
34195 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
34196 test-fenv-sse.
34197 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
34198 -mfpmath=sse.
34199 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
34200
34201 2014-05-09 Will Newton <will.newton@linaro.org>
34202
34203 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
34204 and libc_relro_required for ARM.
34205 * sysdeps/arm/preconfigure: Regenerate.
34206
34207 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
34208 Stefan Liebler <stli@linux.vnet.ibm.com>
34209
34210 * config.make.in (enable-lock-elision): New Makefile variable.
34211 * configure.ac: Likewise.
34212 * configure: Regenerate.
34213 * sysdeps/s390/configure.ac:
34214 Add check for gcc transactions support.
34215 * sysdeps/s390/configure: Regenerate.
34216 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34217 Build elision files if enabled.
34218 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34219 Add lock elision support for s390.
34220 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34221 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34222 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34223 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34224 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34225 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34226 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34227 Likewise.
34228 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34229 Likewise.
34230 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34231 Likewise.
34232 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34233 Likewise.
34234 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34235 (__lll_timedlock_elision, __lll_lock_elision)
34236 (__lll_unlock_elision, __lll_trylock_elision)
34237 (lll_timedlock_elision, lll_lock_elision)
34238 (lll_unlock_elision, lll_trylock_elision): Add.
34239 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34240 (pthread_mutex_t): Add lock elision support for s390.
34241
34242 2014-05-14 Wilco <wdijkstr@arm.com>
34243
34244 * sysdeps/arm/fclrexcpt.c: Cleanup.
34245 * sysdeps/arm/fedisblxcpt.c: Cleanup.
34246 * sysdeps/arm/feenablxcpt.c: Cleanup.
34247 * sysdeps/arm/fegetenv.c: Cleanup.
34248 * sysdeps/arm/fegetexcept.c: Cleanup.
34249 * sysdeps/arm/fegetround.c: Cleanup.
34250 * sysdeps/arm/feholdexcpt.c: Cleanup.
34251 * sysdeps/arm/fesetenv.c: Cleanup.
34252 * sysdeps/arm/fesetround.c: Cleanup.
34253 * sysdeps/arm/feupdateenv.c: Cleanup.
34254 * sysdeps/arm/fgetexcptflg.c: Cleanup.
34255 * sysdeps/arm/fraiseexcpt.c: Cleanup.
34256 * sysdeps/arm/fsetexcptflg.c: Cleanup.
34257 * sysdeps/arm/ftestexcept.c: Cleanup.
34258 * sysdeps/arm/get-rounding-mode.h: Cleanup.
34259 * sysdeps/arm/setfpucw.c: Cleanup.
34260
34261 2014-05-09 Will Newton <will.newton@linaro.org>
34262
34263 * sysdeps/arm/armv7/strcmp.S: New file.
34264 * NEWS: Mention addition of ARMv7 optimized strcmp.
34265
34266 2014-05-08 Roland McGrath <roland@hack.frob.com>
34267
34268 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34269 look for %.ac rather than %.in.
34270
34271 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34272 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34273 * sysdeps/mach/hurd/configure: Regenerated.
34274 * sysdeps/unix/sysv/linux/configure: Regenerated.
34275
34276 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34277
34278 2014-05-07 Steve Ellcey <sellcey@mips.com>
34279
34280 [BZ# 16922]
34281 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34282 (LONG_SUB): Ditto.
34283 (PTR_SUB): Ditto.
34284
34285 2014-05-07 Andreas Schwab <schwab@suse.de>
34286
34287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34288 when skipping over non-matching result from nscd.
34289
34290 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
34291
34292 [BZ #16876]
34293 * nptl/sockperf.c (client): Check socket return value.
34294
34295 [BZ #16877]
34296 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34297 nscd security class.
34298
34299 2014-05-06 Roland McGrath <roland@hack.frob.com>
34300
34301 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34302 * sysdeps/arm/unwind.h: ... here.
34303
34304 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
34305
34306 [BZ# 16916]
34307 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34308 Define.
34309
34310 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
34311
34312 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34313 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34314 multiarch strncpy for PPC64.
34315 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34316 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34318 multiarch optimizations.
34319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34320 (__libc_ifunc_impl_list): Likewise.
34321 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34322 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34323 multiarch stpncpy for PPC64.
34324 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34325 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34326
34327 2014-05-06 Andreas Schwab <schwab@suse.de>
34328
34329 [BZ #16912]
34330 * gmon/mcount.c (_MCOUNT_DECL): Use
34331 atomic_compare_and_exchange_bool_acq instead of
34332 catomic_compare_and_exchange_bool_acq.
34333
34334 2014-05-05 Roland McGrath <roland@hack.frob.com>
34335
34336 * elf/Makefile (others, install-bin): Remove pldd.
34337 (pldd-modules): Variable removed.
34338 ($(objpfx)pldd): Target removed.
34339 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34340 (others, install-bin): Append pldd here.
34341 ($(objpfx)pldd): New target.
34342
34343 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34344 to 0, so the first #if test emitted later doesn't see it undefined.
34345 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34346 * sysdeps/gnu/errlist.c: Regenerated.
34347
34348 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34349
34350 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34351 [libc_hidden_builtin_def]: Define to empty value.
34352 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34353 [libc_hidden_builtin_def]: Likewise.
34354 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34355 [libc_hidden_builtin_def]: Likewise.
34356 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
34357 [libc_hidden_builtin_def]: Likewise.
34358 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
34359 __redirect_memcpy and define ifunc as default hidden symbol.
34360 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
34361 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
34362
34363 2014-05-04 Adam Conrad <adconrad@0c3.net>
34364
34365 * locale/iso-4217.def: Reintroduce XDR currency.
34366
34367 2014-05-04 Allan McRae <allan@archlinux.org>
34368
34369 * po/eo.po: Update Esperanto translation from translation project.
34370
34371 2014-05-02 Carlos O'Donell <carlos@redhat.com>
34372
34373 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
34374 and FEATURE_INDEX_MAX to 1.
34375 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
34376
34377 2014-05-01 Steve Ellcey <sellcey@mips.com>
34378
34379 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
34380 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
34381 * iconvdata/big5.c (ONE_DIRECTION): Define.
34382 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
34383 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
34384 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
34385 * iconvdata/cp932.c (ONE_DIRECTION): Define.
34386 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
34387 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
34388 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
34389 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
34390 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
34391 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
34392 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
34393 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
34394 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
34395 * iconvdata/gbk.c (ONE_DIRECTION): Define.
34396 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
34397 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
34398 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
34399 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
34400 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
34401 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
34402 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
34403 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
34404 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
34405 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
34406 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
34407 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
34408 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
34409 * iconvdata/iso646.c (ONE_DIRECTION): Define.
34410 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
34411 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
34412 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
34413 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
34414 * iconvdata/johab.c (ONE_DIRECTION): Define.
34415 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
34416 * iconvdata/sjis.c (ONE_DIRECTION): Define.
34417 * iconvdata/t.61.c (ONE_DIRECTION): Define.
34418 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
34419 * iconvdata/tscii.c (ONE_DIRECTION): Define.
34420 * iconvdata/uhc.c (ONE_DIRECTION): Define.
34421 * iconvdata/unicode.c (ONE_DIRECTION): Define.
34422 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
34423 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
34424 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
34425
34426 2014-05-01 Roland McGrath <roland@hack.frob.com>
34427
34428 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
34429 (_IO_JUMPS_OFFSET): Define to 0.
34430
34431 * nptl/sysdeps/pthread/bits/libc-lock.h
34432 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34433 (__libc_lock_define_initialized_recursive): Always define using
34434 initializer. Modern compilers treat uninitialized (implicit zero) and
34435 explicit zero initializers the same (i.e. put the datum in bss).
34436
34437 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
34438
34439 * nscd/nscd-client.h: Include <string.h>.
34440
34441 2014-05-01 David S. Miller <davem@davemloft.net>
34442
34443 [BZ #16885]
34444 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
34445 multiple zero bytes exist at the end of a string.
34446 Reported by Aurelien Jarno <aurelien@aurel32.net>
34447
34448 * string/test-strcmp.c (check): Add explicit test for situations where
34449 there are multiple zero bytes after the first.
34450
34451 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
34452
34453 [BZ #16890]
34454 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34455 when compiling wprintf.
34456 * stdio-common/tstdiomisc.c (t3): New function.
34457 (main): Call it.
34458
34459 2014-05-01 Steve Ellcey <sellcey@mips.com>
34460
34461 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34462 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34463 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34464 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34465
34466 2014-05-01 Steve Ellcey <sellcey@mips.com>
34467
34468 * stdlib/longlong.h: Updated from GCC.
34469
34470 2014-05-01 Will Newton <will.newton@linaro.org>
34471 Bernard Ogden <bernie.ogden@linaro.org>
34472
34473 * NEWS: Update fixed bug list.
34474
34475 [BZ #15119]
34476 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34477
34478 2014-04-30 David S. Miller <davem@davemloft.net>
34479
34480 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34481 (libc_feholdexcept_setround_sparc_ctx): New function.
34482 (libc_fesetenv_sparc_ctx): Likewise.
34483 (libc_feupdateenv_sparc_ctx): Likewise.
34484 (libc_feholdsetround_sparc_ctx): Likewise.
34485 (libc_feholdexcept_setround_ctx): Define.
34486 (libc_feholdexcept_setroundf_ctx): Likewise.
34487 (libc_feholdexcept_setroundl_ctx): Likewise.
34488 (libc_fesetenv_ctx): Likewise.
34489 (libc_fesetenvf_ctx): Likewise.
34490 (libc_fesetenvl_ctx): Likewise.
34491 (libc_feupdateenv_ctx): Likewise.
34492 (libc_feupdateenvf_ctx): Likewise.
34493 (libc_feupdateenvl_ctx): Likewise.
34494 (libc_feresetround_ctx): Likewise.
34495 (libc_feresetroundf_ctx): Likewise.
34496 (libc_feresetroundl_ctx): Likewise.
34497 (libc_feholdsetround_ctx): Likewise.
34498 (libc_feholdsetroundf_ctx): Likewise.
34499 (libc_feholdsetroundl_ctx): Likewise.
34500
34501 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34502 with __USE_GNU instead of XOPEN cpp guards.
34503
34504 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34505 0.
34506
34507 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34508 with XOPEN cpp guards.
34509
34510 2014-04-30 Julian Brown <julian@codesourcery.com>
34511
34512 [BZ #16888]
34513 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34514 handling.
34515
34516 2014-04-30 Joseph Myers <joseph@codesourcery.com>
34517
34518 [BZ #9894]
34519 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34520 Change to 2.6.32.
34521 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34522 * sysdeps/unix/sysv/linux/configure: Regenerated.
34523 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34524 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34525 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34526 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34527 * README: Update reference to required Linux kernel version.
34528 * manual/install.texi (Linux): Update reference to required Linux
34529 kernel headers version.
34530 * INSTALL: Regenerated.
34531
34532 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34533 header inclusion.
34534 [POSIX] (limits.h): Likewise.
34535 [POSIX] (math.h): Likewise.
34536 [POSIX] (sys/wait.h): Likewise.
34537 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34538 function.
34539 [POSIX] (stddef.h): Do not allow header inclusion.
34540
34541 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34542
34543 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34544
34545 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
34546
34547 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34548 Return immediately after lll_futex_wake.
34549
34550 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34551
34552 [BZ #16791]
34553 * nscd/nscd-client.h (datahead_init_common): Initialize entire
34554 structure.
34555 (datahead_init_pos): Call datahead_init_common early.
34556 (datahead_init_neg): Likewise.
34557
34558 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34559 datahead_init_neg): New functions.
34560 * nscd/aicache.c (addhstaiX): Use them.
34561 * nscd/grpcache.c (cache_addgr): Likewise.
34562 * nscd/hstcache.c (cache_addhst): Likewise.
34563 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34564 * nscd/netgroupcache.c (do_notfound): Likewise.
34565 (addgetnetgrentX): Likewise.
34566 (addinnetgrX): Likewise.
34567 * nscd/pwdcache.c (cache_addpw): Likewise.
34568 * nscd/servicescache.c (cache_addserv): Likewise.
34569
34570 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34571 Atsushi Onoe <atsushi@onoe.org>
34572
34573 [BZ #14308]
34574 [BZ #12994]
34575 [BZ #13651]
34576 * resolv/res_query.c (__libc_res_nsearch): Return if at least
34577 one response is valid.
34578 * resolv/res_send.c (send_dg): Check for validity of other
34579 response if the current response is a referral.
34580
34581 2014-04-29 Steve Ellcey <sellcey@mips.com>
34582
34583 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34584
34585 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
34586
34587 [BZ #16823]
34588 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34589 Always divide by positive zero when computing -Inf result.
34590 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34591 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34592
34593 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34594
34595 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34596 FPSCR if value do not change.
34597 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34598 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34599 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34600 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34601 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34602 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34603 function.
34604
34605 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
34606
34607 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34608 * sysdeps/unix/sysv/linux/hppa: Move directory from
34609 ports/systeps/unix/sysv/linux/hppa.
34610 * README: Update listing for hppa-*-linux-gnu.
34611
34612 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
34613
34614 [BZ #16754]
34615 * manual/stdio.texi (Hook functions): Fix types of stream hook
34616 functions.
34617 [BZ #16854]
34618 * socket/sys/socket.h: Fix typo in comment.
34619
34620 2014-04-28 Wilco <wdijkstr@arm.com>
34621
34622 * sysdeps/arm/fenv_private.h: New file.
34623 * sysdeps/arm/math_private.h: New file.
34624 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34625
34626 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
34627
34628 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34629 with __int128_t.
34630 (La_x86_64_retval): Likewise.
34631
34632 2014-04-24 Ian Bolton <ian.bolton@arm.com>
34633
34634 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34635 fpsr if value didn't change.
34636 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34637 to fpcr if value didn't change.
34638 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34639 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34640 fpsr or fpcr if value didn't change.
34641 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34642 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34643 fpcr if value didn't change.
34644 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34645 to fpsr if value didn't change.
34646
34647 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34648
34649 * nptl/tst-sem3.c: Use test-skeleton.c
34650 (main): Rename to do_test. Use return instead of
34651 exit.
34652 * nptl/tst-sem4.c: Use test-skeleton.c
34653 (main): Rename to do_test.
34654
34655 2014-04-22 David S. Miller <davem@davemloft.net>
34656
34657 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34658 (struct sigaction): New struct member __glibc_reserved0, change
34659 type of sa_flags to int.
34660
34661 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
34662
34663 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34664 (COUNT_LEADING_ZEROS_0): Define for AArch64.
34665
34666 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34667
34668 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34669 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34670
34671 2014-04-22 Will Newton <will.newton@linaro.org>
34672 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
34673
34674 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34675 (__longjmp): Add longjmp and longjmp_target SystemTap
34676 probes.
34677 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34678 (__sigsetjmp): Add setjmp SystemTap probe.
34679
34680 2014-04-17 Carlos O'Donell <carlos@redhat.com>
34681
34682 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34683 match manual order.
34684
34685 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34686
34687 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34688
34689 * sysdeps/powerpc/fpu/fenv_private.h
34690 (libc_feholdexcept_setroundl_ctx): Define to
34691 libc_feholdexcept_setround_ppc_ctx.
34692 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34693 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34694 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34695 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34696
34697 2014-04-17 Ian Bolton <ian.bolton@arm.com>
34698
34699 * sysdeps/aarch64/math-tests.h: New file.
34700
34701 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
34702
34703 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34704 New.
34705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34706 Check and set bit_AVX2_Usable.
34707 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34708 macro.
34709 (bit_AVX2): Likewise.
34710 (index_AVX2_Usable): Likewise.
34711 (CPUID_AVX2): Likewise.
34712 (HAS_AVX2): Likewise.
34713
34714 2014-04-17 Will Newton <will.newton@linaro.org>
34715
34716 * manual/setjmp.texi (System V contexts): Add note that
34717 calling setcontext on a context created by a call to a
34718 signal handler is undefined. Update text to note that
34719 setcontext from a signal handler is possible but not
34720 recommended.
34721
34722 [BZ #16629]
34723 * stdlib/tst-setcontext.c: Include signal.h.
34724 (main): Check that the signal stack before and
34725 after swapcontext is the same.
34726
34727 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34728 Re-implement to restore registers in user code and avoid
34729 rt_sigreturn system call.
34730
34731 2014-04-17 Wilco <wdijkstr@arm.com>
34732
34733 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34734 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34735 * math/test-fenv.c: Skip exception trap tests on targets which only
34736 support non-stop mode.
34737
34738 2014-04-17 Ian Bolton <ian.bolton@arm.com>
34739 Wilco Dijkstra <wilco.dijkstra@arm.com>
34740
34741 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34742 (libc_feholdsetround_aarch64_ctx)
34743 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34744 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34745 (libc_feresetround_ctx, libc_feresetroundf_ctx)
34746 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34747 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34748 (libc_feresetround_noexl_ctx): Define.
34749
34750 2014-04-16 Richard Henderson <rth@redhat.com>
34751
34752 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34753
34754 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34755 unwind tables.
34756
34757 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34758 const from the non-libc, non-ldso copy.
34759
34760 * sysdeps/alpha/libm-test-ulps: Regenerate.
34761
34762 2014-04-16 Ian Bolton <ian.bolton@arm.com>
34763 Wilco Dijkstra <wilco.dijkstra@arm.com>
34764
34765 * sysdeps/aarch64/fpu/math_private.h: New file.
34766
34767 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
34768
34769 * sysdeps/aarch64/libm-test-ulps: Regenerate.
34770
34771 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
34772
34773 [BZ #16275]
34774 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34775 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34776 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34777 Intel MPX bound registers before _dl_profile_fixup.
34778 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34779 registers after _dl_profile_fixup. Save and restore bound
34780 registers bnd0/bnd1 when calling _dl_call_pltexit.
34781 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34782 (LR_BND_OFFSET): Likewise.
34783 (LRV_BND0_OFFSET): Likewise.
34784 (LRV_BND1_OFFSET): Likewise.
34785
34786 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34787
34788 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34789 to...
34790 * sysdeps/mach/hurd/i386/tls.h: ... here.
34791 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34792 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34793 fields.
34794
34795 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34796
34797 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34798
34799 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
34800
34801 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34802
34803 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
34804
34805 [BZ #14770]
34806 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34807 * sysdeps/s390/configure: Regenerate.
34808
34809 [BZ #16824]
34810 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34811 Set round-to-nearest internally to reduce error accumulation.
34812
34813 2014-04-16 Alan Modra <amodra@gmail.com>
34814
34815 [BZ #16740]
34816 [BZ #16619]
34817 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34818 * math/libm-test.inc (frexp_test_data): Add tests.
34819 * NEWS: Update fixed bug list.
34820
34821 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34822
34823 * benchtests/Makefile: Depend on libraries in build directory.
34824 (bench-math): Separate out math tests.
34825 (bench-pthread): Separate out pthread tests.
34826 (bench): Include math and pthread tests.
34827
34828 2014-04-14 Carlos O'Donell <carlos@redhat.com>
34829
34830 [BZ #16831]
34831 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34832 _dl_debug_initialize.
34833
34834 * configure.ac: Remove SELinux header check.
34835 * configure: Regenerate.
34836 * nscd/selinux.c (perms): Array of const char* to permission names.
34837 (nscd_request_avc_has_perm): Call security_deny_unknown to find
34838 default policy. Call string_to_security_class and string_to_av_perm to
34839 translate strings. Enforce default policy and call avs_has_perm with
34840 results of translated strings.
34841
34842 2014-04-13 David S. Miller <davem@davemloft.net>
34843
34844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34845
34846 2014-04-12 Allan McRae <allan@archlinux.org>
34847
34848 [BZ #16838]
34849 * manual/string.texi (Collation Functions): Fix qsort argument
34850 order in example.
34851 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34852
34853 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
34854
34855 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34856 Make the test a no-op if there are no exceptions defined.
34857
34858 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
34859
34860 * elf/Makefile (tests): make tst-dlopen-aout conditional on
34861 enable-hardcoded-path-in-tests
34862
34863 2014-04-11 Will Newton <will.newton@linaro.org>
34864
34865 * benchtests/Makefile (extra-objs): Add json-lib.o.
34866 (bench-func): Tidy up JSON output.
34867 * benchtests/bench-skeleton.c: Include json-lib.h.
34868 (main): Use JSON library functions to do output of
34869 benchmark results.
34870 * benchtests/bench-timing-type.c (main): Output the
34871 timing type simply, leaving formatting to the user.
34872 * benchtests/json-lib.c: New file.
34873 * benchtests/json-lib.h: Likewise.
34874
34875 2014-04-11 Torvald Riegel <triegel@redhat.com>
34876
34877 [BZ #15215]
34878 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34879 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
34880 memory barriers. Add comments.
34881 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34882 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34883 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34884 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34885 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34886 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34887
34888 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
34889
34890 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34891 * sysdeps/s390/s390-64/configure.ac: ... this ...
34892 * sysdeps/s390/configure.ac: ... to here.
34893 * sysdeps/s390/s390-32/configure: Delete file.
34894 * sysdeps/s390/s390-64/configure: Delete file.
34895 * sysdeps/s390/configure: Regenerate.
34896
34897 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
34898
34899 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34900
34901 2014-04-11 Will Newton <will.newton@linaro.org>
34902
34903 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34904 to zero if it is not defined elsewhere. (mtrim): Test
34905 the value of MALLOC_DEBUG with #if rather than #ifdef.
34906
34907 2014-04-10 Torvald Riegel <triegel@redhat.com>
34908
34909 * benchtests/pthread_once-inputs: New file.
34910 * benchtests/pthread_once-source.c: New file.
34911 * benchtests/README: Update documentation.
34912
34913 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
34914 H.J. Lu <hongjiu.lu@intel.com>
34915
34916 [BZ #16275]
34917 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34918 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34919 * sysdeps/x86_64/configure: Regenerated.
34920 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34921 macro.
34922 (REGISTER_SAVE_RAX): Likewise.
34923 (REGISTER_SAVE_RCX): Likewise.
34924 (REGISTER_SAVE_RDX): Likewise.
34925 (REGISTER_SAVE_RSI): Likewise.
34926 (REGISTER_SAVE_RDI): Likewise.
34927 (REGISTER_SAVE_R8): Likewise.
34928 (REGISTER_SAVE_R9): Likewise.
34929 (REGISTER_SAVE_BND0): Likewise.
34930 (REGISTER_SAVE_BND1): Likewise.
34931 (REGISTER_SAVE_BND2): Likewise.
34932 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
34933 bound registers when calling _dl_fixup.
34934
34935 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34936
34937 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34938 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34939 of its definition.
34940 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34941 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34942 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34943 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34944 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34945 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34946 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34947
34948 2014-04-09 Peter Brett <peter@peter-b.co.uk>
34949
34950 [BZ #15514]
34951 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34952 pathconf(_PC_NAME_MAX).
34953
34954 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34955
34956 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34957 Remove macro usage.
34958 (__PTHREAD_SPINS): Move definition to ...
34959 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34960 (__PTHREAD_SPINS): ... here.
34961 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34962 (__PTHREAD_SPIN): Likewise.
34963 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34964 (__PTHREAD_SPIN): Likewise.
34965 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34966 (__PTHREAD_SPIN): Likewise.
34967 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34968 (__PTHREAD_SPIN): Likewise.
34969 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34970 (__PTHREAD_SPIN): Likewise.
34971 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34972 (__PTHREAD_SPIN): Likewise.
34973 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34974 (__PTHREAD_SPIN): Likewise.
34975 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34976 (__PTHREAD_SPIN): Likewise.
34977 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34978 (__PTHREAD_SPIN): Likewise.
34979 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34980 (__PTHREAD_SPIN): Likewise.
34981 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34982 (__PTHREAD_SPIN): Likewise.
34983 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34984 (__PTHREAD_SPIN): Likewise.
34985
34986 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34987 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34988 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34989 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34990 imply folder.
34991 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34992 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34993 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34994 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34995 correct imply path.
34996 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34997 strlen symbol for non multi-arch builds.
34998 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34999 missing hidden_def and weak_alias.
35000
35001 2014-04-08 Carlos O'Donell <carlos@redhat.com>
35002
35003 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
35004
35005 2014-04-07 Will Newton <will.newton@linaro.org>
35006
35007 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
35008 and contents. [!_LIBC] Remove #ifndef and contents.
35009 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
35010 * string/memccpy.c (__memccpy): Use ANSI prototype.
35011 * string/memfrob.c (memfrob): Likewise.
35012 * string/strcoll.c (STRCOLL): Likewise.
35013 * string/strlen.c (strlen): Likewise.
35014 * string/strtok.c (STRTOK): Likewise.
35015 * string/strcat.c: Remove unused #include of memcopy.h.
35016 (strcat): Use ANSI prototype.
35017 * string/strchr.c: Remove unused #include of memcopy.h.
35018 (strchr): Use ANSI prototype.
35019 * string/strcmp.c: Remove unused #include of memcopy.h.
35020 (strcmp): Use ANSI prototype.
35021 * string/strcpy.c: Remove unused #include of memcopy.h.
35022 (strcpy): Use ANSI prototype.
35023
35024 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35025
35026 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
35027 * config.make.in (config-extra-cppflags): Set it from
35028 libc_extra_cppflags.
35029 * configure.ac (libc_extra_cflags): Make it accumulate over
35030 configure fragments.
35031 (libc_extra_cppflags): New flag.
35032 * configure. Regenerate.
35033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35034 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
35035 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
35036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
35037
35038 [BZ #16815]
35039 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
35040 result for FE_DOWNWARD rounding mode.
35041 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
35042 Likewise.
35043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35044
35045 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
35046
35047 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
35048 in function argument name.
35049
35050 2014-04-03 David Svoboda <svoboda@cert.org>
35051
35052 [BZ #5666]
35053 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
35054 explicitly.
35055
35056 2014-04-03 Roland McGrath <roland@hack.frob.com>
35057
35058 * elf/dl-unmap-segments.h: New file.
35059 * sysdeps/generic/ldsodefs.h
35060 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
35061 * elf/dl-close.c: Include <dl-unmap-segments.h>.
35062 * elf/dl-fptr.c: Likewise.
35063 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
35064 * sysdeps/aarch64/tlsdesc.c: Likewise.
35065 * sysdeps/arm/tlsdesc.c: Likewise.
35066 * sysdeps/i386/tlsdesc.c: Likewise.
35067 * sysdeps/tile/dl-runtime.c: Likewise.
35068 * sysdeps/x86_64/tlsdesc.c: Likewise.
35069 * elf/dl-load.h: New file.
35070 * elf/dl-load.c: Include it.
35071 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
35072 Macros moved to dl-load.h.
35073 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
35074 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
35075 Use _dl_unmap_segments in place of __munmap.
35076 Break out segment-mapping loop into ...
35077 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
35078
35079 2014-04-03 Will Newton <will.newton@linaro.org>
35080
35081 * elf/dl-lookup.c (do_lookup_x): Remove comment
35082 referring to nested function and move variable
35083 declarations down to before first use.
35084
35085 2014-04-02 Joseph Myers <joseph@codesourcery.com>
35086
35087 [BZ #16799]
35088 [BZ #16800]
35089 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35090 with 0 numerator.
35091 * math/s_catanf.c (__catanf): Likewise.
35092 * math/s_catanh.c (__catanh): Likewise.
35093 * math/s_catanhf.c (__catanhf): Likewise.
35094 * math/s_catanhl.c (__catanhl): Likewise.
35095 * math/s_catanl.c (__catanl): Likewise.
35096 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
35097 by positive zero when computing -Inf result.
35098 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
35099 (catanh_test): Likewise.
35100 * sysdeps/i386/fpu/libm-test-ulps: Update.
35101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35102
35103 [BZ #16789]
35104 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
35105 instead of using underflowing value in computing result.
35106 * math/s_clog10.c (__clog10): Likewise.
35107 * math/s_clog10f.c (__clog10f): Likewise.
35108 * math/s_clog10l.c (__clog10l): Likewise.
35109 * math/s_clogf.c (__clogf): Likewise.
35110 * math/s_clogl.c (__clogl): Likewise.
35111 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
35112 (clog10_test): Likewise.
35113 * sysdeps/i386/fpu/libm-test-ulps: Update.
35114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35115
35116 2014-04-02 Alan Modra <amodra@gmail.com>
35117
35118 [BZ #16739]
35119 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
35120 output when value is near a power of two. Use int64_t for lx and
35121 remove casts. Use decimal rather than hex exponent constants.
35122 Don't use long double multiplication when double will suffice.
35123 * math/libm-test.inc (nextafter_test_data): Add tests.
35124 * NEWS: Add 16739 and 16786 to bug list.
35125
35126 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
35127
35128 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
35129
35130 2014-04-01 Will Newton <will.newton@linaro.org>
35131
35132 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
35133 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
35134
35135 2014-04-01 Florian Weimer <fweimer@redhat.com>
35136
35137 [BZ #13347]
35138 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
35139 * nptl/tst-setuid2.c: New file.
35140 * nptl/Makefile (xtests): Add tst-setuid2.
35141
35142 2014-04-01 Alan Modra <amodra@gmail.com>
35143
35144 [BZ #16786]
35145 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35146
35147 2014-03-31 Joseph Myers <joseph@codesourcery.com>
35148
35149 [BZ #6803]
35150 [BZ #6804]
35151 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
35152 set errno as appropriate.
35153 * math/w_scalbf.c (__scalbf): Likewise.
35154 * math/w_scalbl.c (__scalbl): Likewise.
35155 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
35156 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
35157 * math/libm-test.inc (scalb_test_data): Add errno expectations.
35158 Add more NaN tests.
35159
35160 [BZ #16349]
35161 * math/w_atan2.c: Include <errno.h>.
35162 (__atan2): Set errno for result underflowing to zero.
35163 * math/w_atan2f.c: Include <errno.h>.
35164 (__atan2f): Set errno for result underflowing to zero.
35165 * math/w_atan2l.c: Include <errno.h>.
35166 (__atan2l): Set errno for result underflowing to zero.
35167 * math/auto-libm-test-in: Don't allow missing errno for some atan2
35168 tests.
35169 * math/auto-libm-test-out: Regenerated.
35170
35171 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35172
35173 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35174 Encode instruction correctly in little endian.
35175 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35176 Likewise.
35177 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35178 Likewise.
35179 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35180 Likewise.
35181 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35182 Likewise.
35183
35184 2014-03-31 Joseph Myers <joseph@codesourcery.com>
35185
35186 [BZ #9894]
35187 * sysdeps/unix/sysv/linux/kernel-features.h
35188 [__sparc__ && !__arch64__ && !__sparc_v9__]
35189 (__ASSUME_SET_ROBUST_LIST): Do not define.
35190 [__sparc__ && !__arch64__ && !__sparc_v9__]
35191 (__ASSUME_FUTEX_LOCK_PI): Likewise.
35192 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
35193 Likewise.
35194 * sysdeps/unix/sysv/linux/arm/kernel-features.h
35195 (__ASSUME_FUTEX_LOCK_PI): Undefine.
35196 (__ASSUME_REQUEUE_PI): Likewise.
35197 (__ASSUME_SET_ROBUST_LIST): Likewise.
35198 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35199 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
35200 Undefine.
35201 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35202 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
35203 Likewise.
35204 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
35205 Likewise.
35206 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35207 Likewise.
35208 * sysdeps/unix/sysv/linux/mips/kernel-features.h
35209 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35210 Undefine.
35211 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35212 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35213 Likewise.
35214
35215 [BZ #16648]
35216 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35217 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35218 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35219
35220 2014-03-31 Will Newton <will.newton@linaro.org>
35221
35222 * benchtests/Makefile (bench): Add ffs and ffsll to list
35223 of tests.
35224 * benchtests/ffs-inputs: New file.
35225 * benchtests/ffsll-inputs: Likewise.
35226
35227 2014-03-29 Joseph Myers <joseph@codesourcery.com>
35228
35229 [BZ #16770]
35230 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35231 too large before casting to int.
35232 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35233 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35234 * math/libm-test.inc (scalb_test_data): Add more tests.
35235
35236 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35237
35238 * benchtests/Makefile (DETAILED_OPT): New make option.
35239 (bench-func): Run benchmark program with -d if DETAILED_OPT is
35240 set.
35241 * benchtests/bench-skeleton.c: Include stdbool.h.
35242 (main): Store and print timings per input.
35243 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35244 member to each argument value.
35245 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35246 (_print_arg_data): Initialize per-input timing to 0.
35247
35248 * benchtests/Makefile (timing-type): New binary.
35249 (bench-clean): Also remove bench-timing-type.
35250 (bench): New target for timing-type.
35251 (bench-func): Print output in JSON format.
35252 * benchtests/bench-skeleton.c (main): Print output in JSON
35253 format.
35254 * benchtests/bench-timing-type.c: New file.
35255 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35256 (TIMING_PRINT_STATS): Remove.
35257 * benchtests/scripts/bench.py (_print_arg_data): Store variant
35258 name separately.
35259
35260 * benchtests/bench-modf.c: Remove.
35261 * benchtests/modf-inputs: New inputs file.
35262
35263 2014-03-28 Joseph Myers <joseph@codesourcery.com>
35264
35265 [BZ #16362]
35266 * math/s_clog10.c (M_PI_LOG10E): New macro.
35267 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35268 imaginary parts are 0.
35269 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35270 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35271 imaginary parts are 0.
35272 * math/s_clog10l.c (M_PI_LOG10El): New macro.
35273 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35274 imaginary parts are 0.
35275 * math/libm-test.inc (clog10_test_data): Update expected results
35276 for when real and imaginary parts are 0.
35277
35278 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35279
35280 * elf/dl-load.c: Finish conversion of __builtin_expect into
35281 __glibc_{un}likely.
35282
35283 2014-03-27 Joseph Myers <joseph@codesourcery.com>
35284
35285 [BZ #16348]
35286 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35287 1+x for argument with exponent below -67.
35288 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35289 Likewise.
35290 * math/auto-libm-test-in: Add more tests of exp.
35291 * math/auto-libm-test-out: Regenerated.
35292
35293 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35294
35295 [BZ #16759]
35296 * inet/getnetgrent_r.c (get_nonempty_val): New function.
35297 (nscd_getnetgrent): Use it.
35298
35299 [BZ #16760]
35300 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35301 of stpcpy.
35302
35303 2014-03-27 Andi Kleen <ak@linux.intel.com>
35304
35305 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35306 (lll_robust_lock, lll_cond_lock, lll_timedlock)
35307 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35308 (lll_robust_unlock): Remove out of line section. Use cfi
35309 intrinsics.
35310 (LLL_STUB_UNWIND_INFO*): Remove.
35311 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35312 (lll_robust_lock, lll_cond_lock, lll_timedlock)
35313 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35314 (lll_robust_unlock): Remove out of line section. Use cfi
35315 intrinsics.
35316 (LLL_STUB_UNWIND_INFO*): Remove.
35317
35318 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35319
35320 [BZ #16758]
35321 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35322 blank values.
35323
35324 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
35325
35326 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35327
35328 2014-03-26 Joseph Myers <joseph@codesourcery.com>
35329
35330 [BZ #16198]
35331 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35332 fnstenv.
35333 * math/test-fenv-preserve.c: New file.
35334 * math/Makefile (tests): Add test-fenv-preserve.
35335
35336 2014-03-26 Will Newton <will.newton@linaro.org>
35337
35338 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35339
35340 2014-03-25 Roland McGrath <roland@hack.frob.com>
35341
35342 * scripts/versionlist.awk: Partition the version sets and emit all
35343 GLIBC_* (sorted) before all others (sorted).
35344
35345 2014-03-25 Joseph Myers <joseph@codesourcery.com>
35346
35347 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35348 GLIBC_2.2.5 version.
35349
35350 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35351
35352 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35353 calls.
35354
35355 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35356 previous change.
35357
35358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35359
35360 2014-03-25 Andreas Schwab <schwab@suse.de>
35361
35362 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
35363 label to be used after in6ailist is initialized.
35364
35365 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35366
35367 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35368 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35369
35370 2014-03-25 Joseph Myers <joseph@codesourcery.com>
35371
35372 [BZ #16357]
35373 [BZ #16599]
35374 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
35375 min_plus_half.
35376 (fp_formats): Update initializers.
35377 (init_fp_formats): Initialize new field.
35378 (output_for_one_input_case): Allow underflow for results up to
35379 min_plus_half.
35380 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
35381 * math/auto-libm-test-in: Don't mark some underflows from asin and
35382 atanh as spurious.
35383 * math/auto-libm-test-out: Regenerated.
35384 * sysdeps/i386/fpu/libm-test-ulps: Update.
35385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35386
35387 2014-03-25 Andreas Schwab <schwab@suse.de>
35388
35389 * libio/Makefile (tst-ftell-partial-wide-ENV)
35390 (tst-ftell-active-handler-ENV): Define.
35391
35392 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
35393
35394 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
35395
35396 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
35397
35398 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
35399
35400 2014-03-24 Joseph Myers <joseph@codesourcery.com>
35401
35402 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
35403 * sysdeps/x86_64/fpu/multiarch/e_exp.c
35404 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
35405
35406 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
35407
35408 [BZ #16634]
35409 * elf/dl-load.c (open_verify): Add mode parameter.
35410 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
35411 (open_path): Change from boolean 'secure' to complete flag 'mode'
35412 (_dl_map_object): Adjust.
35413 * elf/Makefile (tests): Add tst-dlopen-aout.
35414 * elf/tst-dlopen-aout.c: New test.
35415
35416 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
35417
35418 [BZ #16714]
35419 * sysdeps/unix/sysv/linux/s390/bits/stat.h
35420 (struct stat): Rename member pad0 to __glibc_reserved0.
35421
35422 [BZ #16712]
35423 * sysdeps/s390/s390-32/bits/wordsize.h
35424 (__WORDSIZE32_SIZE_ULONG): New define.
35425 * sysdeps/s390/s390-64/bits/wordsize.h
35426 (__WORDSIZE32_SIZE_ULONG): Likewise.
35427 * sysdeps/generic/stdint.h (SIZE_MAX):
35428 Define as UL if __WORDSIZE32_SIZE_ULONG.
35429
35430 [BZ #16713]
35431 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35432 (__glibc_reserved0): New variable.
35433 (sa_flags): Change type to int.
35434
35435 * posix/Makefile (before-compile): Use += before-compile instead
35436 of a :=.
35437
35438 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35439 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35440
35441 2014-03-20 Andreas Schwab <schwab@suse.de>
35442
35443 [BZ #16743]
35444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
35445 non-matching result from nscd.
35446
35447 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35448
35449 * scripts/bench.py: Moved to ...
35450 * benchtests/scripts/bench.py: ... here.
35451 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35452
35453 2014-03-24 Andreas Schwab <schwab@suse.de>
35454
35455 [BZ #16002]
35456 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35457 alloca_account and account alloca use for struct in6ailist.
35458
35459 2014-03-24 Joseph Myers <joseph@codesourcery.com>
35460
35461 [BZ #16284]
35462 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35463 rounding mode to recompute results that overflow to infinity or
35464 underflow to zero.
35465 * math/auto-libm-test-in: Don't mark tests as expected to fail for
35466 bug 16284.
35467 * math/auto-libm-test-out: Regenerated.
35468 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35469 (ccosh_test): Likewise.
35470 (csin_test_data): Use plus_oflow.
35471 (csin_test): Use ALL_RM_TEST.
35472 (csinh_test_data): Use plus_oflow.
35473 (csinh_test): Use ALL_RM_TEST.
35474 * sysdeps/i386/fpu/libm-test-ulps: Update.
35475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35476
35477 2014-03-21 Joseph Myers <joseph@codesourcery.com>
35478
35479 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35480 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35481 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35482
35483 [BZ #16731]
35484 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35485 when x - 1 is zero.
35486 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35487 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35488 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35489 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35490 argument is 1.
35491 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35492 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35493 zero.
35494 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35495 * sysdeps/i386/fpu/libm-test-ulps: Update.
35496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35497
35498 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35499
35500 * scripts/bench.pl: Remove file.
35501 * scripts/bench.py: New benchmark script.
35502 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35503 * benchtests/README: Mention python dependency.
35504 * scripts/pylintrc: New file.
35505 * scripts/pylint: New file.
35506
35507 * bits/mathdef.h: Use #ifdef instead of #if.
35508 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35509 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35510 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35511 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35512 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35513 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35514
35515 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35516 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
35517
35518 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35519 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35520 and strpbrk-ppc64 objects.
35521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35522 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35523 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35524 multiarch strpbrk for POWER7.
35525 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35526 multiarch strpbrk for PPC64.
35527 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35528 ifunc selector.
35529 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35530 strpbrk for POWER7.
35531
35532 2014-03-20 Joseph Myers <joseph@codesourcery.com>
35533
35534 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35535 (atan_test): Likewise.
35536 (atanh_test_data): Use NO_TEST_INLINE for two tests.
35537 (atanh_test): Use ALL_RM_TEST.
35538 (atan2_test_data): Likewise.
35539 (cabs_test): Likewise.
35540 (cacosh_test): Likewise.
35541 (carg_test): Likewise.
35542 (casin_test): Likewise.
35543 (casinh_test): Likewise.
35544 (cbrt_test): Likewise.
35545 (csqrt_test): Likewise.
35546 (erf_test): Likewise.
35547 (erfc_test): Likewise.
35548 (pow10_test): Likewise.
35549 (exp2_test): Likewise.
35550 (hypot_test): Likewise.
35551 (j0_test): Likewise.
35552 (j1_test): Likewise.
35553 (lgamma_test): Likewise.
35554 (gamma_test): Likewise.
35555 (sincos_test): Likewise.
35556 (tanh_test): Likewise.
35557 (y0_test): Likewise.
35558 (y1_test): Likewise.
35559 * sysdeps/i386/fpu/libm-test-ulps: Update.
35560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35561
35562 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35563
35564 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35566 and strcspn-ppc64 objects.
35567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35568 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35569 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35570 multiarch strcspn for POWER7.
35571 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35572 multiarch strcspn for PPC64.
35573 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35574 ifunc selector.
35575 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35576 strcspn for POWER7.
35577
35578 2014-03-20 Joseph Myers <joseph@codesourcery.com>
35579
35580 * math/gen-libm-test.pl (generate_testfile): Expect only function
35581 name as argument to AUTO_TESTS_* and pass results for all rounding
35582 modes to parse_args.
35583 (parse_auto_input): Separate inputs of automatic tests from
35584 outputs before storing in %auto_tests.
35585 * math/libm-test.inc (acos_test_data): Update call to
35586 AUTO_TESTS_f_f.
35587 (acos_test): Use ALL_RM_TEST.
35588 (acos_tonearest_test_data): Remove.
35589 (acos_test_tonearest): Likewise.
35590 (acos_towardzero_test_data): Likewise.
35591 (acos_test_towardzero): Likewise.
35592 (acos_downward_test_data): Likewise.
35593 (acos_test_downward): Likewise.
35594 (acos_upward_test_data): Likewise.
35595 (acos_test_upward): Likewise.
35596 (acosh_test_data): Update call to AUTO_TESTS_f_f.
35597 (asin_test_data): Likewise.
35598 (asin_test): Use ALL_RM_TEST.
35599 (asin_tonearest_test_data): Remove.
35600 (asin_test_tonearest): Likewise.
35601 (asin_towardzero_test_data): Likewise.
35602 (asin_test_towardzero): Likewise.
35603 (asin_downward_test_data): Likewise.
35604 (asin_test_downward): Likewise.
35605 (asin_upward_test_data): Likewise.
35606 (asin_test_upward): Likewise.
35607 (asinh_test_data): Update call to AUTO_TESTS_f_f.
35608 (atan_test_data): Likewise.
35609 (atanh_test_data): Likewise.
35610 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35611 (cabs_test_data): Update call to AUTO_TESTS_c_f.
35612 (carg_test_data): Likewise.
35613 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35614 (ccos_test_data): Update call to AUTO_TESTS_c_c.
35615 (ccosh_test_data): Likewise.
35616 (cexp_test_data): Likewise.
35617 (clog_test_data): Likewise.
35618 (clog10_test_data): Likewise.
35619 (cos_test_data): Update call to AUTO_TESTS_f_f.
35620 (cos_test): Use ALL_RM_TEST.
35621 (cos_tonearest_test_data): Remove.
35622 (cos_test_tonearest): Likewise.
35623 (cos_towardzero_test_data): Likewise.
35624 (cos_test_towardzero): Likewise.
35625 (cos_downward_test_data): Likewise.
35626 (cos_test_downward): Likewise.
35627 (cos_upward_test_data): Likewise.
35628 (cos_test_upward): Likewise.
35629 (cosh_test_data): Update call to AUTO_TESTS_f_f.
35630 (cosh_test): Use ALL_RM_TEST.
35631 (cosh_tonearest_test_data): Remove.
35632 (cosh_test_tonearest): Likewise.
35633 (cosh_towardzero_test_data): Likewise.
35634 (cosh_test_towardzero): Likewise.
35635 (cosh_downward_test_data): Likewise.
35636 (cosh_test_downward): Likewise.
35637 (cosh_upward_test_data): Likewise.
35638 (cosh_test_upward): Likewise.
35639 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35640 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35641 (ctan_test_data): Likewise.
35642 (ctan_test): Use ALL_RM_TEST.
35643 (ctan_tonearest_test_data): Remove.
35644 (ctan_test_tonearest): Likewise.
35645 (ctan_towardzero_test_data): Likewise.
35646 (ctan_test_towardzero): Likewise.
35647 (ctan_downward_test_data): Likewise.
35648 (ctan_test_downward): Likewise.
35649 (ctan_upward_test_data): Likewise.
35650 (ctan_test_upward): Likewise.
35651 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35652 (ctanh_test): Use ALL_RM_TEST.
35653 (ctanh_tonearest_test_data): Remove.
35654 (ctanh_test_tonearest): Likewise.
35655 (ctanh_towardzero_test_data): Likewise.
35656 (ctanh_test_towardzero): Likewise.
35657 (ctanh_downward_test_data): Likewise.
35658 (ctanh_test_downward): Likewise.
35659 (ctanh_upward_test_data): Likewise.
35660 (ctanh_test_upward): Likewise.
35661 (erf_test_data): Update call to AUTO_TESTS_f_f.
35662 (erfc_test_data): Likewise.
35663 (exp_test_data): Likewise.
35664 (exp_test): Use ALL_RM_TEST.
35665 (exp_tonearest_test_data): Remove.
35666 (exp_test_tonearest): Likewise.
35667 (exp_towardzero_test_data): Likewise.
35668 (exp_test_towardzero): Likewise.
35669 (exp_downward_test_data): Likewise.
35670 (exp_test_downward): Likewise.
35671 (exp_upward_test_data): Likewise.
35672 (exp_test_upward): Likewise.
35673 (exp10_test_data): Update call to AUTO_TESTS_f_f.
35674 (exp10_test): Use ALL_RM_TEST.
35675 (exp10_tonearest_test_data): Remove.
35676 (exp10_test_tonearest): Likewise.
35677 (exp10_towardzero_test_data): Likewise.
35678 (exp10_test_towardzero): Likewise.
35679 (exp10_downward_test_data): Likewise.
35680 (exp10_test_downward): Likewise.
35681 (exp10_upward_test_data): Likewise.
35682 (exp10_test_upward): Likewise.
35683 (exp2_test_data): Update call to AUTO_TESTS_f_f.
35684 (expm1_test_data): Likewise.
35685 (expm1_test): Use ALL_RM_TEST.
35686 (expm1_tonearest_test_data): Remove.
35687 (expm1_test_tonearest): Likewise.
35688 (expm1_towardzero_test_data): Likewise.
35689 (expm1_test_towardzero): Likewise.
35690 (expm1_downward_test_data): Likewise.
35691 (expm1_test_downward): Likewise.
35692 (expm1_upward_test_data): Likewise.
35693 (expm1_test_upward): Likewise.
35694 (fma_test_data): Update call to AUTO_TESTS_fff_f.
35695 (fma_test): Use ALL_RM_TEST.
35696 (fma_towardzero_test_data): Remove.
35697 (fma_test_towardzero): Likewise.
35698 (fma_downward_test_data): Likewise.
35699 (fma_test_downward): Likewise.
35700 (fma_upward_test_data): Likewise.
35701 (fma_test_upward): Likewise.
35702 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35703 (j0_test_data): Update call to AUTO_TESTS_f_f.
35704 (j1_test_data): Likewise.
35705 (jn_test_data): Update call to AUTO_TESTS_if_f.
35706 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35707 (log_test_data): Update call to AUTO_TESTS_f_f.
35708 (log10_test_data): Likewise.
35709 (log1p_test_data): Likewise.
35710 (log2_test_data): Likewise.
35711 (pow_test_data): Update call to AUTO_TESTS_ff_f.
35712 (pow_tonearest_test_data): Likewise.
35713 (sin_test_data): Update call to AUTO_TESTS_f_f.
35714 (sin_test): Use ALL_RM_TEST.
35715 (sin_tonearest_test_data): Remove.
35716 (sin_test_tonearest): Likewise.
35717 (sin_towardzero_test_data): Likewise.
35718 (sin_test_towardzero): Likewise.
35719 (sin_downward_test_data): Likewise.
35720 (sin_test_downward): Likewise.
35721 (sin_upward_test_data): Likewise.
35722 (sin_test_upward): Likewise.
35723 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35724 (sinh_test_data): Update call to AUTO_TESTS_f_f.
35725 (sinh_test): Use ALL_RM_TEST.
35726 (sinh_tonearest_test_data): Remove.
35727 (sinh_test_tonearest): Likewise.
35728 (sinh_towardzero_test_data): Likewise.
35729 (sinh_test_towardzero): Likewise.
35730 (sinh_downward_test_data): Likewise.
35731 (sinh_test_downward): Likewise.
35732 (sinh_upward_test_data): Likewise.
35733 (sinh_test_upward): Likewise.
35734 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35735 (sqrt_test): Use ALL_RM_TEST.
35736 (sqrt_tonearest_test_data): Remove.
35737 (sqrt_test_tonearest): Likewise.
35738 (sqrt_towardzero_test_data): Likewise.
35739 (sqrt_test_towardzero): Likewise.
35740 (sqrt_downward_test_data): Likewise.
35741 (sqrt_test_downward): Likewise.
35742 (sqrt_upward_test_data): Likewise.
35743 (sqrt_test_upward): Likewise.
35744 (tan_test_data): Update call to AUTO_TESTS_f_f.
35745 (tan_test): Use ALL_RM_TEST.
35746 (tan_tonearest_test_data): Remove.
35747 (tan_test_tonearest): Likewise.
35748 (tan_towardzero_test_data): Likewise.
35749 (tan_test_towardzero): Likewise.
35750 (tan_downward_test_data): Likewise.
35751 (tan_test_downward): Likewise.
35752 (tan_upward_test_data): Likewise.
35753 (tan_test_upward): Likewise.
35754 (tanh_test_data): Update call to AUTO_TESTS_f_f.
35755 (tgamma_test_data): Likewise.
35756 (y0_test_data): Likewise.
35757 (y1_test_data): Likewise.
35758 (yn_test_data): Update call to AUTO_TESTS_if_f.
35759 (main): Do not call removed functions.
35760
35761 2014-03-19 Joseph Myers <joseph@codesourcery.com>
35762
35763 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35764 (ldexp_test_data): Remove.
35765 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
35766 scalbn_test_data.
35767 (scalb_test): Use ALL_RM_TEST.
35768
35769 2014-03-19 Andreas Schwab <schwab@suse.de>
35770
35771 * nscd/nscd.service: Also invalidate netgroup cache on reload.
35772
35773 2014-03-19 Joseph Myers <joseph@codesourcery.com>
35774
35775 [BZ #16649]
35776 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35777 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35778 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35779 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35780 (__ASSUME_PREADV): Undefine.
35781 (__ASSUME_PWRITEV): Likewise.
35782
35783 2014-03-18 Roland McGrath <roland@hack.frob.com>
35784
35785 * bits/mman-linux.h: Add comment about non-Linux use.
35786 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35787 bits/mman-linux.h resting place.
35788
35789 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35790 * bits/mman-linux.h: ... here.
35791
35792 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35793
35794 * conform/conformtest.pl: Add standard definition when calling C
35795 preprocessor on data files.
35796 (checknamespace): Remove unused variable.
35797
35798 2014-03-18 Joseph Myers <joseph@codesourcery.com>
35799
35800 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35801 minus_oflow, plus_uflow and minus_uflow in expected results.
35802 * math/libm-test.inc (scalbn_test_data): Add more tests of
35803 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
35804 minus_uflow.
35805 (scalbn_test): Use ALL_RM_TEST.
35806 (scalbln_test_data): Add more tests of negative arguments. Use
35807 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35808 (scalbln_test): Use ALL_RM_TEST.
35809
35810 2014-03-18 Roland McGrath <roland@hack.frob.com>
35811
35812 * scripts/abilist.awk: Ignore symbols marked with .hidden.
35813
35814 2014-03-18 Will Newton <will.newton@linaro.org>
35815
35816 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35817 inaccurate comment.
35818
35819 2014-03-18 Joseph Myers <joseph@codesourcery.com>
35820
35821 * Makerules [!subdir] (check-abi): Exit with error status if a
35822 test failed.
35823
35824 2014-03-17 Joseph Myers <joseph@codesourcery.com>
35825
35826 * math/libm-test.inc (nearbyint_test_data): Include all tests used
35827 for rint. Include results for all rounding modes.
35828 (nearbyint_test): Use ALL_RM_TEST.
35829 (rint_test_data): Include all tests used for nearbyint.
35830
35831 2014-03-17 Will Newton <will.newton@linaro.org>
35832
35833 * nptl/sysdeps/pthread/pthread.h: Revert previous
35834 change.
35835
35836 * sysdeps/generic/ldsodefs.h: Revert previous
35837 change.
35838
35839 * libio/genops.c: Revert previous change.
35840 * libio/libioP.h: Likewise.
35841 * stdio-common/vfprintf.c: Likewise.
35842
35843 * sysdeps/generic/math_private.h: Revert previous
35844 change.
35845
35846 * sysdeps/generic/math_private.h: Check whether
35847 HAVE_RM_CTX is defined with #ifdef rather
35848 than #if.
35849
35850 * argp/argp-fmtstream.h: Check whether
35851 __STRICT_ANSI__ is defined with #ifdef rather
35852 than #if.
35853 * argp/argp.h: Likewise.
35854
35855 * libio/genops.c: Check whether
35856 _IO_JUMPS_OFFSET is defined with #ifdef rather
35857 than #if.
35858 * libio/libioP.h: Likewise.
35859 * stdio-common/vfprintf.c: Likewise.
35860
35861 * sysdeps/generic/ldsodefs.h: Check whether
35862 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35863 than #if.
35864
35865 * nptl/sysdeps/pthread/pthread.h: Check
35866 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35867 its value.
35868
35869 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35870
35871 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35872 setting O_APPEND.
35873 * libio/tst-ftell-active-handler.c (do_append_test): Add a
35874 test case.
35875
35876 [BZ #16680]
35877 * libio/fileops.c (_IO_file_open): Seek to end of file but
35878 don't cache the offset.
35879 (get_file_offset): Remove function.
35880 (do_ftell): Use cached offset when available.
35881 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35882 don't cache the offset.
35883 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35884 case.
35885 (do_one_test): Call it.
35886 (do_ftell_test): Fix up expected old offset for a+ mode.
35887 * libio/wfileops.c (do_ftell_wide): Used cached offset when
35888 available.
35889
35890 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35891 up test status with function return status.
35892 (do_write_test): Likewise.
35893 (do_append_test): Likewise.
35894
35895 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35896 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35897 Remove.
35898
35899 2014-03-17 Joseph Myers <joseph@codesourcery.com>
35900
35901 * math/gen-libm-test.pl (parse_args): Handle results specified for
35902 each rounding mode separately.
35903 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35904 tests and results from lrint_tonearest_test_data,
35905 lrint_towardzero_test_data, lrint_downward_test_data and
35906 lrint_upward_test_data.
35907 (lrint_test): Use ALL_RM_TEST.
35908 (lrint_tonearest_test_data): Remove.
35909 (lrint_test_tonearest): Likewise.
35910 (lrint_towardzero_test_data): Likewise.
35911 (lrint_test_towardzero): Likewise.
35912 (lrint_downward_test_data): Likewise.
35913 (lrint_test_downward): Likewise.
35914 (lrint_upward_test_data): Likewise.
35915 (lrint_test_upward): Likewise.
35916 (llrint_test_data): Merge in per-rounding-mode tests and results
35917 from llrint_tonearest_test_data, llrint_towardzero_test_data,
35918 llrint_downward_test_data and llrint_upward_test_data.
35919 (llrint_test): Use ALL_RM_TEST.
35920 (llrint_tonearest_test_data): Remove.
35921 (llrint_test_tonearest): Likewise.
35922 (llrint_towardzero_test_data): Likewise.
35923 (llrint_test_towardzero): Likewise.
35924 (llrint_downward_test_data): Likewise.
35925 (llrint_test_downward): Likewise.
35926 (llrint_upward_test_data): Likewise.
35927 (llrint_test_upward): Likewise.
35928 (rint_test_data): Merge in per-rounding-mode tests and results
35929 from rint_tonearest_test_data, rint_towardzero_test_data,
35930 rint_downward_test_data and rint_upward_test_data. Add
35931 per-rounding-mode results for tests not in those arrays.
35932 (rint_test): Use ALL_RM_TEST.
35933 (rint_tonearest_test_data): Remove.
35934 (rint_test_tonearest): Likewise.
35935 (rint_towardzero_test_data): Likewise.
35936 (rint_test_towardzero): Likewise.
35937 (rint_downward_test_data): Likewise.
35938 (rint_test_downward): Likewise.
35939 (rint_upward_test_data): Likewise.
35940 (rint_test_upward): Likewise.
35941 (main): Don't call removed functions.
35942
35943 2014-03-14 Roland McGrath <roland@hack.frob.com>
35944
35945 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35946 "Compiled on ..." crapola. It is anti-useful.
35947
35948 2014-03-14 Joseph Myers <joseph@codesourcery.com>
35949
35950 * scripts/evaluate-test.sh: Handle fourth argument to determine
35951 whether test run should stop on failure.
35952 * Makeconfig (stop-on-test-failure): New variable.
35953 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35954 $(stop-on-test-failure).
35955 * Makefile (tests): Give a summary of results from testing and
35956 exit with failure status if they include an ERROR or FAIL.
35957 (xtests): Likewise.
35958 * manual/install.texi (Configuring and compiling): Mention
35959 stop-on-test-failure=y.
35960 * INSTALL: Regenerated.
35961
35962 2014-03-14 Roland McGrath <roland@hack.frob.com>
35963
35964 * scripts/versionlist.awk: New file.
35965 * Makerules [$(build-shared) = yes]
35966 (postclean-generated): Add Versions.def, not Versions.def.v and
35967 Versions.def.v.i.
35968 ($(common-objpfx)Versions.def.v.i): Target removed.
35969 ($(common-objpfx)Versions.def): New target.
35970 ($(common-objpfx)Versions.all): Depend on that rather that
35971 $(common-objpfx)Versions.def.v.
35972 * Versions.def: File removed.
35973
35974 * Makeconfig (+gccwarn): Add -Wundef.
35975 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35976 a dl-sysdep.h breaking its contract.
35977 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35978 * include/stackinfo.h: New file.
35979 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35980 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35981 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35982 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35983 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35984 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35985 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35986 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35987 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35988 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35989 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35990 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35991 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35992 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35993 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35994
35995 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35996
35997 [BZ #16707]
35998 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35999 implementation.
36000 * math/libm-test.inc (round_test_data): Add more tests.
36001
36002 [BZ #16706]
36003 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
36004 implementation.
36005 * math/libm-test.inc (nearbyint_test_data): Add more tests.
36006
36007 [BZ #16701]
36008 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
36009 implementation.
36010 * math/libm-test.inc (ceil_test_data): Add more tests.
36011
36012 * math/libm-test.inc (trunc_test_data): Add more tests related to
36013 BZ#16414.
36014
36015 2014-03-14 Roland McGrath <roland@hack.frob.com>
36016
36017 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
36018 with #if rather than #ifdef.
36019 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
36020
36021 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
36022
36023 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
36024 first. Disable AVX-512 GCC support if assembler doesn't support
36025 it.
36026 * sysdeps/x86_64/configure: Regenerated.
36027
36028 2014-03-13 Carlos O'Donell <carlos@redhat.com>
36029
36030 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
36031 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
36032 (__old_pthread_attr_setstack): Likewise.
36033 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
36034 [!_STACK_GROWS_DOWN]: Likewise.
36035
36036 2014-03-13 Mike Frysinger <vapier@gentoo.org>
36037
36038 * config.make.in (have-bash2): Delete.
36039 * configure.ac (libc_cv_have_bash2): Delete.
36040 * configure: Regenerate.
36041 * elf/Makefile (common-ldd-rewrite): Rename to ...
36042 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
36043 (sh-ldd-rewrite): Delete.
36044 (bash-ldd-rewrite): Delete.
36045 (have-bash2): Delete checks.
36046 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
36047 ldd-rewrite.
36048
36049 * config.make.in (have-ksh): Delete.
36050 (KSH): Delete.
36051 * configure.ac (libc_cv_have_ksh): Delete.
36052 * configure: Regenerate.
36053
36054 * elf/Makefile: Delete $(have-ksh) check.
36055 ($(objpfx)sotruss): Change KSH to BASH.
36056 * elf/sotruss.ksh: Rename to ...
36057 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
36058 function style to match POSIX. Drop ksh vim mode setting.
36059
36060 * manual/time.texi (Specifying the Time Zone with TZ): Change
36061 Tuesday to Thursday.
36062
36063 * debug/tst-longjmp_chk2.c: Update header comment.
36064 (stackoverflow_handler): Add comment. Call assert on pass value.
36065
36066 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
36067
36068 [BZ #16194]
36069 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
36070 (HAVE_AVX512_ASM_SUPPORT): Likewise.
36071 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
36072 (La_x86_64_vector): Add zmm.
36073 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
36074 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
36075 ($(objpfx)tst-audit10): New target.
36076 ($(objpfx)tst-audit10.out): Likewise.
36077 (tst-audit10-ENV): New.
36078 (AVX512-CFLAGS): Likewise.
36079 (CFLAGS-tst-audit10.c): Likewise.
36080 (CFLAGS-tst-auditmod10a.c): Likewise.
36081 (CFLAGS-tst-auditmod10b.c): Likewise.
36082 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36083 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36084 * sysdeps/x86_64/configure: Regenerated.
36085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36086 AVX-512 zmm register support.
36087 (_dl_x86_64_save_sse): Likewise.
36088 (_dl_x86_64_restore_sse): Likewise.
36089 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36090 size vector registers.
36091 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36092 (ZMM_SIZE): Likewise.
36093 * sysdeps/x86_64/tst-audit10.c: New file.
36094 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
36095 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
36096
36097 2014-03-13 Roland McGrath <roland@hack.frob.com>
36098
36099 * configure.ac (HAVE_EHDR_START): New check.
36100 * configure: Regenerated.
36101 * config.h.in (HAVE_EHDR_START): New #undef.
36102 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
36103 assuming the lowest-addressed segment maps the start of the file.
36104
36105 2014-03-13 Joseph Myers <joseph@codesourcery.com>
36106
36107 * INSTALL: Regenerated.
36108
36109 2014-03-13 Will Newton <will.newton@linaro.org>
36110
36111 * manual/setjmp.texi (System V contexts): Improve
36112 clarity and grammar of documentation.
36113
36114 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
36115
36116 [BZ #16381]
36117 * elf/Makefile (tests): Add tst-pie2.
36118 (tests-pie): Add tst-pie2.
36119 * elf/tst-pie2.c: New file.
36120 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
36121 for ET_EXEC.
36122 * elf/rtld.c (map_doit): Load executable as lt_executable.
36123 (dl_main): Likewise.
36124
36125 2014-03-12 Joseph Myers <joseph@codesourcery.com>
36126
36127 [BZ #16642]
36128 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36129 (__ASSUME_PSELECT): Undefine.
36130
36131 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36132
36133 [BZ #16689]
36134 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
36135 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
36136 static build.
36137 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
36138 selector for static builds.
36139
36140 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
36141
36142 [BZ #16695]
36143 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
36144 key in the buffer.
36145
36146 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36147
36148 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
36149 IFUNC selector for static builds.
36150
36151 2014-03-11 Joseph Myers <joseph@codesourcery.com>
36152
36153 * sysdeps/mips/math_private.h [__mips_hard_float]
36154 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
36155 libc_feresetround_mips_ctx.
36156 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
36157 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
36158 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
36159
36160 [BZ #16677]
36161 * math/s_nextafter.c (__nextafter): Do not return value from
36162 overflowing computation.
36163 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36164 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
36165 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36166 Likewise.
36167 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
36168 Likewise.
36169 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36170 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
36171
36172 2014-03-11 Roland McGrath <roland@hack.frob.com>
36173
36174 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
36175 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
36176 Move sfi_sp use from the load-multiple (that no longer sets sp) to
36177 the new mov targetting sp.
36178
36179 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36180
36181 [BZ #16683]
36182 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
36183 Define it for static builds as well.
36184 (NO_BZERO_IMPL): Likewise.
36185
36186 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36187
36188 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
36189 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
36190 multiarch strspn for PPC64.
36191 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
36192 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
36193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36194 (__libc_ifunc_impl_list): Likewise.
36195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
36196 multiarch optimizations
36197 * string/strspn.c (strspn): Using macro to redefine symbol name.
36198
36199 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36200 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36201
36202 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
36203 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
36204 multiarch strncat for PPC64.
36205 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36206 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36208 (__libc_ifunc_impl_list): Likewise.
36209 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36210 multiarch optimizations
36211
36212 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36213
36214 [BZ #16639]
36215 * nscd/nscd.service: Make service type forking.
36216
36217 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36218
36219 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36220 sign in non default rounding modes.
36221 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36222
36223 2014-03-08 Joseph Myers <joseph@codesourcery.com>
36224
36225 * math/libm-test.inc (ALL_RM_TEST): New macro.
36226 (ceil_test): Use ALL_RM_TEST.
36227 (cimag_test): Likewise.
36228 (conj_test): Likewise.
36229 (copysign_test): Likewise.
36230 (cproj_test): Likewise.
36231 (creal_test): Likewise.
36232 (fabs_test): Likewise.
36233 (floor_test): Likewise.
36234 (fmax_test): Likewise.
36235 (fmin_test): Likewise.
36236 (fmod_test): Likewise.
36237 (fpclassify_test): Likewise.
36238 (frexp_test): Likewise.
36239 (ilogb_test): Likewise.
36240 (isfinite_test): Likewise.
36241 (finite_test): Likewise.
36242 (isgreater_test): Likewise.
36243 (isgreaterequal_test): Likewise.
36244 (isinf_test): Likewise.
36245 (isless_test): Likewise.
36246 (islessequal_test): Likewise.
36247 (islessgreater_test): Likewise.
36248 (isnan_test): Likewise.
36249 (isnormal_test): Likewise.
36250 (issignaling_test): Likewise.
36251 (isunordered_test): Likewise.
36252 (logb_test): Likewise.
36253 (logb_downward_test_data): Remove.
36254 (logb_test_downward): Likewise.
36255 (lround_test): Use ALL_RM_TEST.
36256 (llround_test): Likewise.
36257 (modf_test): Likewise.
36258 (nexttoward_test): Likewise.
36259 (remainder_test): Likewise.
36260 (drem_test): Likewise.
36261 (remainder_tonearest_test_data): Likewise.
36262 (remainder_test_tonearest): Likewise.
36263 (drem_test_tonearest): Likewise.
36264 (remainder_towardzero_test_data): Likewise.
36265 (remainder_test_towardzero): Likewise.
36266 (drem_test_towardzero): Likewise.
36267 (remainder_downward_test_data): Likewise.
36268 (remainder_test_downward): Likewise.
36269 (drem_test_downward): Likewise.
36270 (remainder_upward_test_data): Likewise.
36271 (remainder_test_upward): Likewise.
36272 (drem_test_upward): Likewise.
36273 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
36274 (round_test): Use ALL_RM_TEST.
36275 (signbit_test): Likewise.
36276 (trunc_test): Likewise.
36277 (significand_test): Likewise.
36278 (main): Don't call removed functions.
36279
36280 2014-03-07 Joseph Myers <joseph@codesourcery.com>
36281
36282 [BZ #16674]
36283 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36284 || __USE_XOPEN2K8].
36285 (ILL_ILLOPN): Likewise.
36286 (ILL_ILLADR): Likewise.
36287 (ILL_ILLTRP): Likewise.
36288 (ILL_PRVOPC): Likewise.
36289 (ILL_PRVREG): Likewise.
36290 (ILL_COPROC): Likewise.
36291 (ILL_BADSTK): Likewise.
36292 (FPE_INTDIV): Likewise.
36293 (FPE_INTOVF): Likewise.
36294 (FPE_FLTDIV): Likewise.
36295 (FPE_FLTOVF): Likewise.
36296 (FPE_FLTUND): Likewise.
36297 (FPE_FLTRES): Likewise.
36298 (FPE_FLTINV): Likewise.
36299 (FPE_FLTSUB): Likewise.
36300 (SEGV_MAPERR): Likewise.
36301 (SEGV_ACCERR): Likewise.
36302 (BUS_ADRALN): Likewise.
36303 (BUS_ADRERR): Likewise.
36304 (BUS_OBJERR): Likewise.
36305 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36306 (TRAP_TRACE): Likewise.
36307 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36308 __USE_XOPEN2K8].
36309 (CLD_KILLED): Likewise.
36310 (CLD_DUMPED): Likewise.
36311 (CLD_TRAPPED): Likewise.
36312 (CLD_STOPPED): Likewise.
36313 (CLD_CONTINUED): Likewise.
36314 (POLL_IN): Likewise.
36315 (POLL_OUT): Likewise.
36316 (POLL_MSG): Likewise.
36317 (POLL_ERR): Likewise.
36318 (POLL_PRI): Likewise.
36319 (POLL_HUP): Likewise.
36320 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
36321 Likewise.
36322 (ILL_ILLOPN): Likewise.
36323 (ILL_ILLADR): Likewise.
36324 (ILL_ILLTRP): Likewise.
36325 (ILL_PRVOPC): Likewise.
36326 (ILL_PRVREG): Likewise.
36327 (ILL_COPROC): Likewise.
36328 (ILL_BADSTK): Likewise.
36329 (FPE_INTDIV): Likewise.
36330 (FPE_INTOVF): Likewise.
36331 (FPE_FLTDIV): Likewise.
36332 (FPE_FLTOVF): Likewise.
36333 (FPE_FLTUND): Likewise.
36334 (FPE_FLTRES): Likewise.
36335 (FPE_FLTINV): Likewise.
36336 (FPE_FLTSUB): Likewise.
36337 (SEGV_MAPERR): Likewise.
36338 (SEGV_ACCERR): Likewise.
36339 (BUS_ADRALN): Likewise.
36340 (BUS_ADRERR): Likewise.
36341 (BUS_OBJERR): Likewise.
36342 (BUS_MCEERR_AR): Likewise.
36343 (BUS_MCEERR_AO): Likewise.
36344 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36345 (TRAP_TRACE): Likewise.
36346 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36347 __USE_XOPEN2K8].
36348 (CLD_KILLED): Likewise.
36349 (CLD_DUMPED): Likewise.
36350 (CLD_TRAPPED): Likewise.
36351 (CLD_STOPPED): Likewise.
36352 (CLD_CONTINUED): Likewise.
36353 (POLL_IN): Likewise.
36354 (POLL_OUT): Likewise.
36355 (POLL_MSG): Likewise.
36356 (POLL_ERR): Likewise.
36357 (POLL_PRI): Likewise.
36358 (POLL_HUP): Likewise.
36359 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
36360 (ILL_ILLOPN): Likewise.
36361 (ILL_ILLADR): Likewise.
36362 (ILL_ILLTRP): Likewise.
36363 (ILL_PRVOPC): Likewise.
36364 (ILL_PRVREG): Likewise.
36365 (ILL_COPROC): Likewise.
36366 (ILL_BADSTK): Likewise.
36367 (FPE_INTDIV): Likewise.
36368 (FPE_INTOVF): Likewise.
36369 (FPE_FLTDIV): Likewise.
36370 (FPE_FLTOVF): Likewise.
36371 (FPE_FLTUND): Likewise.
36372 (FPE_FLTRES): Likewise.
36373 (FPE_FLTINV): Likewise.
36374 (FPE_FLTSUB): Likewise.
36375 (SEGV_MAPERR): Likewise.
36376 (SEGV_ACCERR): Likewise.
36377 (BUS_ADRALN): Likewise.
36378 (BUS_ADRERR): Likewise.
36379 (BUS_OBJERR): Likewise.
36380 (BUS_MCEERR_AR): Likewise.
36381 (BUS_MCEERR_AO): Likewise.
36382 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36383 (TRAP_TRACE): Likewise.
36384 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36385 __USE_XOPEN2K8].
36386 (CLD_KILLED): Likewise.
36387 (CLD_DUMPED): Likewise.
36388 (CLD_TRAPPED): Likewise.
36389 (CLD_STOPPED): Likewise.
36390 (CLD_CONTINUED): Likewise.
36391 (POLL_IN): Likewise.
36392 (POLL_OUT): Likewise.
36393 (POLL_MSG): Likewise.
36394 (POLL_ERR): Likewise.
36395 (POLL_PRI): Likewise.
36396 (POLL_HUP): Likewise.
36397 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
36398 Likewise.
36399 (ILL_ILLOPN): Likewise.
36400 (ILL_ILLADR): Likewise.
36401 (ILL_ILLTRP): Likewise.
36402 (ILL_PRVOPC): Likewise.
36403 (ILL_PRVREG): Likewise.
36404 (ILL_COPROC): Likewise.
36405 (ILL_BADSTK): Likewise.
36406 (ILL_BADIADDR): Likewise.
36407 (ILL_BREAK): Likewise.
36408 (FPE_INTDIV): Likewise.
36409 (FPE_INTOVF): Likewise.
36410 (FPE_FLTDIV): Likewise.
36411 (FPE_FLTOVF): Likewise.
36412 (FPE_FLTUND): Likewise.
36413 (FPE_FLTRES): Likewise.
36414 (FPE_FLTINV): Likewise.
36415 (FPE_FLTSUB): Likewise.
36416 (FPE_DECOVF): Likewise.
36417 (FPE_DECDIV): Likewise.
36418 (FPE_DECERR): Likewise.
36419 (FPE_INVASC): Likewise.
36420 (FPE_INVDEC): Likewise.
36421 (SEGV_MAPERR): Likewise.
36422 (SEGV_ACCERR): Likewise.
36423 (SEGV_PSTKOVF): Likewise.
36424 (BUS_ADRALN): Likewise.
36425 (BUS_ADRERR): Likewise.
36426 (BUS_OBJERR): Likewise.
36427 (BUS_MCEERR_AR): Likewise.
36428 (BUS_MCEERR_AO): Likewise.
36429 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36430 (TRAP_TRACE): Likewise.
36431 (TRAP_BRANCH): Likewise.
36432 (TRAP_HWBKPT): Likewise.
36433 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36434 __USE_XOPEN2K8].
36435 (CLD_KILLED): Likewise.
36436 (CLD_DUMPED): Likewise.
36437 (CLD_TRAPPED): Likewise.
36438 (CLD_STOPPED): Likewise.
36439 (CLD_CONTINUED): Likewise.
36440 (POLL_IN): Likewise.
36441 (POLL_OUT): Likewise.
36442 (POLL_MSG): Likewise.
36443 (POLL_ERR): Likewise.
36444 (POLL_PRI): Likewise.
36445 (POLL_HUP): Likewise.
36446 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
36447 (ILL_ILLOPN): Likewise.
36448 (ILL_ILLADR): Likewise.
36449 (ILL_ILLTRP): Likewise.
36450 (ILL_PRVOPC): Likewise.
36451 (ILL_PRVREG): Likewise.
36452 (ILL_COPROC): Likewise.
36453 (ILL_BADSTK): Likewise.
36454 (FPE_INTDIV): Likewise.
36455 (FPE_INTOVF): Likewise.
36456 (FPE_FLTDIV): Likewise.
36457 (FPE_FLTOVF): Likewise.
36458 (FPE_FLTUND): Likewise.
36459 (FPE_FLTRES): Likewise.
36460 (FPE_FLTINV): Likewise.
36461 (FPE_FLTSUB): Likewise.
36462 (SEGV_MAPERR): Likewise.
36463 (SEGV_ACCERR): Likewise.
36464 (BUS_ADRALN): Likewise.
36465 (BUS_ADRERR): Likewise.
36466 (BUS_OBJERR): Likewise.
36467 (BUS_MCEERR_AR): Likewise.
36468 (BUS_MCEERR_AO): Likewise.
36469 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36470 (TRAP_TRACE): Likewise.
36471 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36472 __USE_XOPEN2K8].
36473 (CLD_KILLED): Likewise.
36474 (CLD_DUMPED): Likewise.
36475 (CLD_TRAPPED): Likewise.
36476 (CLD_STOPPED): Likewise.
36477 (CLD_CONTINUED): Likewise.
36478 (POLL_IN): Likewise.
36479 (POLL_OUT): Likewise.
36480 (POLL_MSG): Likewise.
36481 (POLL_ERR): Likewise.
36482 (POLL_PRI): Likewise.
36483 (POLL_HUP): Likewise.
36484 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36485 (ILL_ILLOPN): Likewise.
36486 (ILL_ILLADR): Likewise.
36487 (ILL_ILLTRP): Likewise.
36488 (ILL_PRVOPC): Likewise.
36489 (ILL_PRVREG): Likewise.
36490 (ILL_COPROC): Likewise.
36491 (ILL_BADSTK): Likewise.
36492 (FPE_INTDIV): Likewise.
36493 (FPE_INTOVF): Likewise.
36494 (FPE_FLTDIV): Likewise.
36495 (FPE_FLTOVF): Likewise.
36496 (FPE_FLTUND): Likewise.
36497 (FPE_FLTRES): Likewise.
36498 (FPE_FLTINV): Likewise.
36499 (FPE_FLTSUB): Likewise.
36500 (SEGV_MAPERR): Likewise.
36501 (SEGV_ACCERR): Likewise.
36502 (BUS_ADRALN): Likewise.
36503 (BUS_ADRERR): Likewise.
36504 (BUS_OBJERR): Likewise.
36505 (BUS_MCEERR_AR): Likewise.
36506 (BUS_MCEERR_AO): Likewise.
36507 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36508 (TRAP_TRACE): Likewise.
36509 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36510 __USE_XOPEN2K8].
36511 (CLD_KILLED): Likewise.
36512 (CLD_DUMPED): Likewise.
36513 (CLD_TRAPPED): Likewise.
36514 (CLD_STOPPED): Likewise.
36515 (CLD_CONTINUED): Likewise.
36516 (POLL_IN): Likewise.
36517 (POLL_OUT): Likewise.
36518 (POLL_MSG): Likewise.
36519 (POLL_ERR): Likewise.
36520 (POLL_PRI): Likewise.
36521 (POLL_HUP): Likewise.
36522 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36523 (ILL_ILLOPN): Likewise.
36524 (ILL_ILLADR): Likewise.
36525 (ILL_ILLTRP): Likewise.
36526 (ILL_PRVOPC): Likewise.
36527 (ILL_PRVREG): Likewise.
36528 (ILL_COPROC): Likewise.
36529 (ILL_BADSTK): Likewise.
36530 (FPE_INTDIV): Likewise.
36531 (FPE_INTOVF): Likewise.
36532 (FPE_FLTDIV): Likewise.
36533 (FPE_FLTOVF): Likewise.
36534 (FPE_FLTUND): Likewise.
36535 (FPE_FLTRES): Likewise.
36536 (FPE_FLTINV): Likewise.
36537 (FPE_FLTSUB): Likewise.
36538 (SEGV_MAPERR): Likewise.
36539 (SEGV_ACCERR): Likewise.
36540 (BUS_ADRALN): Likewise.
36541 (BUS_ADRERR): Likewise.
36542 (BUS_OBJERR): Likewise.
36543 (BUS_MCEERR_AR): Likewise.
36544 (BUS_MCEERR_AO): Likewise.
36545 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36546 (TRAP_TRACE): Likewise.
36547 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36548 __USE_XOPEN2K8].
36549 (CLD_KILLED): Likewise.
36550 (CLD_DUMPED): Likewise.
36551 (CLD_TRAPPED): Likewise.
36552 (CLD_STOPPED): Likewise.
36553 (CLD_CONTINUED): Likewise.
36554 (POLL_IN): Likewise.
36555 (POLL_OUT): Likewise.
36556 (POLL_MSG): Likewise.
36557 (POLL_ERR): Likewise.
36558 (POLL_PRI): Likewise.
36559 (POLL_HUP): Likewise.
36560 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36561 (ILL_ILLOPN): Likewise.
36562 (ILL_ILLADR): Likewise.
36563 (ILL_ILLTRP): Likewise.
36564 (ILL_PRVOPC): Likewise.
36565 (ILL_PRVREG): Likewise.
36566 (ILL_COPROC): Likewise.
36567 (ILL_BADSTK): Likewise.
36568 (ILL_DBLFLT): Likewise.
36569 (ILL_HARDWALL): Likewise.
36570 (FPE_INTDIV): Likewise.
36571 (FPE_INTOVF): Likewise.
36572 (FPE_FLTDIV): Likewise.
36573 (FPE_FLTOVF): Likewise.
36574 (FPE_FLTUND): Likewise.
36575 (FPE_FLTRES): Likewise.
36576 (FPE_FLTINV): Likewise.
36577 (FPE_FLTSUB): Likewise.
36578 (SEGV_MAPERR): Likewise.
36579 (SEGV_ACCERR): Likewise.
36580 (BUS_ADRALN): Likewise.
36581 (BUS_ADRERR): Likewise.
36582 (BUS_OBJERR): Likewise.
36583 (BUS_MCEERR_AR): Likewise.
36584 (BUS_MCEERR_AO): Likewise.
36585 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36586 (TRAP_TRACE): Likewise.
36587 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36588 __USE_XOPEN2K8].
36589 (CLD_KILLED): Likewise.
36590 (CLD_DUMPED): Likewise.
36591 (CLD_TRAPPED): Likewise.
36592 (CLD_STOPPED): Likewise.
36593 (CLD_CONTINUED): Likewise.
36594 (POLL_IN): Likewise.
36595 (POLL_OUT): Likewise.
36596 (POLL_MSG): Likewise.
36597 (POLL_ERR): Likewise.
36598 (POLL_PRI): Likewise.
36599 (POLL_HUP): Likewise.
36600 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36601 (ILL_ILLOPN): Likewise.
36602 (ILL_ILLADR): Likewise.
36603 (ILL_ILLTRP): Likewise.
36604 (ILL_PRVOPC): Likewise.
36605 (ILL_PRVREG): Likewise.
36606 (ILL_COPROC): Likewise.
36607 (ILL_BADSTK): Likewise.
36608 (FPE_INTDIV): Likewise.
36609 (FPE_INTOVF): Likewise.
36610 (FPE_FLTDIV): Likewise.
36611 (FPE_FLTOVF): Likewise.
36612 (FPE_FLTUND): Likewise.
36613 (FPE_FLTRES): Likewise.
36614 (FPE_FLTINV): Likewise.
36615 (FPE_FLTSUB): Likewise.
36616 (SEGV_MAPERR): Likewise.
36617 (SEGV_ACCERR): Likewise.
36618 (BUS_ADRALN): Likewise.
36619 (BUS_ADRERR): Likewise.
36620 (BUS_OBJERR): Likewise.
36621 (BUS_MCEERR_AR): Likewise.
36622 (BUS_MCEERR_AO): Likewise.
36623 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36624 (TRAP_TRACE): Likewise.
36625 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36626 __USE_XOPEN2K8].
36627 (CLD_KILLED): Likewise.
36628 (CLD_DUMPED): Likewise.
36629 (CLD_TRAPPED): Likewise.
36630 (CLD_STOPPED): Likewise.
36631 (CLD_CONTINUED): Likewise.
36632 (POLL_IN): Likewise.
36633 (POLL_OUT): Likewise.
36634 (POLL_MSG): Likewise.
36635 (POLL_ERR): Likewise.
36636 (POLL_PRI): Likewise.
36637 (POLL_HUP): Likewise.
36638 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36639 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36640
36641 [BZ #16670]
36642 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36643 before #include of <time.h>.
36644 [!__USE_XOPEN2K] (__need_timespec): Likewise.
36645 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36646 (test-xfail-UNIX98/sched.h/conform): Likewise.
36647
36648 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
36649
36650 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36651 error absence of trapping exception support.
36652 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36653
36654 2014-03-07 Joseph Myers <joseph@codesourcery.com>
36655
36656 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36657 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36658 * timezone/Makefile (testdata): Move definition above include of
36659 Rules.
36660 (test-zones): New variable.
36661 (tests-special): Add zone files.
36662 (build-testdata): Use $(evaluate-test).
36663
36664 * elf/Makefile (tests-special): Rename tests to end with .out.
36665 ($(objpfx)noload-mem): Likewise.
36666 ($(objpfx)tst-leaks1-mem): Likewise.
36667 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36668 * iconv/Makefile (xtests-special): Change test-iconvconfig to
36669 $(objpfx)test-iconvconfig.out.
36670 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
36671 set -e inside subshell and redirect output to file.
36672 * iconvdata/Makefile (generated): Rename tests to end with .out.
36673 Correct type.
36674 (tests-special): Rename tests to end with .out.
36675 ($(objpfx)mtrace-tst-loading): Likewise.
36676 * intl/Makefile (generated): Likewise.
36677 (tests-special): Likewise.
36678 ($(objpfx)mtrace-tst-gettext): Likewise.
36679 * misc/Makefile (generated): Likewise.
36680 (tests-special): Likewise.
36681 ($(objpfx)tst-error1-mem): Likewise.
36682 * nptl/Makefile (tests-special): Likewise.
36683 ($(objpfx)tst-stack3-mem): Likewise.
36684 (generated): Likewise.
36685 * posix/Makefile (generated): Likewise.
36686 (tests-special): Likewise.
36687 (xtests-special): Likewise.
36688 ($(objpfx)tst-fnmatch-mem): Likewise.
36689 ($(objpfx)bug-regex2-mem): Likewise.
36690 ($(objpfx)bug-regex14-mem): Likewise.
36691 ($(objpfx)bug-regex21-mem): Likewise.
36692 ($(objpfx)bug-regex31-mem): Likewise.
36693 ($(objpfx)tst-vfork3-mem): Likewise.
36694 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36695 ($(objpfx)tst-pcre-mem): Likewise.
36696 ($(objpfx)tst-boost-mem): Likewise.
36697 ($(objpfx)bug-ga2-mem): Likewise.
36698 ($(objpfx)bug-glob2-mem): Likewise.
36699 * resolv/Makefile (generate): Likewise.
36700 (tests-special): Likewise.
36701 (xtests-special): Likewise.
36702 (generated): Likewise.
36703 ($(objpfx)mtrace-tst-leaks): Likewise.
36704 ($(objpfx)mtrace-tst-leaks2): Likewise.
36705
36706 * scripts/merge-test-results.sh: New file.
36707 * Makefile (tests-special-notdir): New variable.
36708 (tests): Run merge-test-results.sh.
36709 (xtests): Likewise.
36710 * Rules (tests-special-notdir): New variable.
36711 (xtests-special-notdir): Likewise.
36712 (tests): Run merge-test-results.sh
36713 (xtests): Likewise.
36714
36715 * Makeconfig (test-xfail-name): New variable.
36716 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36717 compute variable name for expected failures.
36718 * conform/Makefile (conformtest-headers-data): New variable.
36719 (conformtest-standards): Likewise.
36720 (conformtest-headers-ISO): Likewise.
36721 (conformtest-headers-ISO99): Likewise.
36722 (conformtest-headers-ISO11): Likewise.
36723 (conformtest-headers-POSIX): Likewise.
36724 (conformtest-headers-XPG3): Likewise.
36725 (conformtest-headers-XPG4): Likewise.
36726 (conformtest-headers-UNIX98): Likewise.
36727 (conformtest-headers-XOPEN2K): Likewise.
36728 (conformtest-headers-POSIX2008): Likewise.
36729 (conformtest-headers-XOPEN2K8): Likewise.
36730 (conformtest-header-list-base): Likewise.
36731 (conformtest-header-list-tests): Likewise.
36732 (conformtest-header-base): Likewise.
36733 (conformtest-header-tests): Likewise.
36734 (tests-special): Add $(conformtest-header-list-tests). If
36735 [$(fast-check) && !$(cross-compiling)], add
36736 $(conformtest-header-tests) instead of
36737 $(objpfx)run-conformtest.out.
36738 (generated): Add $(conformtest-header-list-base). If
36739 [$(fast-check) && !$(cross-compiling)], add
36740 $(conformtest-header-base). Remove previous setting.
36741 ($(conformtest-header-list-tests)): New target.
36742 (test-xfail-run-conformtest): Remove variable.
36743 ($(objpfx)run-conformtest.out): Remove target.
36744 (test-xfail-ISO11/complex.h/conform): New variable.
36745 (test-xfail-ISO11/stdalign.h/conform): Likewise.
36746 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36747 (test-xfail-XPG3/varargs.h/conform): Likewise.
36748 (test-xfail-XPG4/varargs.h/conform): Likewise.
36749 (test-xfail-UNIX98/varargs.h/conform): Likewise.
36750 (test-xfail-XPG4/ndbm.h/conform): Likewise.
36751 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36752 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36753 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36754 (test-xfail-XPG3/fcntl.h/conform): Likewise.
36755 (test-xfail-XPG3/ftw.h/conform): Likewise.
36756 (test-xfail-XPG3/grp.h/conform): Likewise.
36757 (test-xfail-XPG3/langinfo.h/conform): Likewise.
36758 (test-xfail-XPG3/limits.h/conform): Likewise.
36759 (test-xfail-XPG3/pwd.h/conform): Likewise.
36760 (test-xfail-XPG3/search.h/conform): Likewise.
36761 (test-xfail-XPG3/signal.h/conform): Likewise.
36762 (test-xfail-XPG3/stdio.h/conform): Likewise.
36763 (test-xfail-XPG3/stdlib.h/conform): Likewise.
36764 (test-xfail-XPG3/string.h/conform): Likewise.
36765 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36766 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36767 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36768 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36769 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36770 (test-xfail-XPG3/sys/types.h/conform): Likewise.
36771 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36772 (test-xfail-XPG3/termios.h/conform): Likewise.
36773 (test-xfail-XPG3/time.h/conform): Likewise.
36774 (test-xfail-XPG3/unistd.h/conform): Likewise.
36775 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36776 (test-xfail-XPG4/fcntl.h/conform): Likewise.
36777 (test-xfail-XPG4/langinfo.h/conform): Likewise.
36778 (test-xfail-XPG4/netdb.h/conform): Likewise.
36779 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36780 (test-xfail-XPG4/signal.h/conform): Likewise.
36781 (test-xfail-XPG4/stdio.h/conform): Likewise.
36782 (test-xfail-XPG4/stdlib.h/conform): Likewise.
36783 (test-xfail-XPG4/stropts.h/conform): Likewise.
36784 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36785 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36786 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36787 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36788 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36789 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36790 (test-xfail-XPG4/sys/time.h/conform): Likewise.
36791 (test-xfail-XPG4/sys/types.h/conform): Likewise.
36792 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36793 (test-xfail-XPG4/termios.h/conform): Likewise.
36794 (test-xfail-XPG4/ucontext.h/conform): Likewise.
36795 (test-xfail-XPG4/unistd.h/conform): Likewise.
36796 (test-xfail-XPG4/utmpx.h/conform): Likewise.
36797 (test-xfail-POSIX/sched.h/conform): Likewise.
36798 (test-xfail-POSIX/signal.h/conform): Likewise.
36799 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36800 (test-xfail-POSIX/tar.h/conform): Likewise.
36801 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36802 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36803 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36804 (test-xfail-UNIX98/netdb.h/conform): Likewise.
36805 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36806 (test-xfail-UNIX98/sched.h/conform): Likewise.
36807 (test-xfail-UNIX98/signal.h/conform): Likewise.
36808 (test-xfail-UNIX98/stdio.h/conform): Likewise.
36809 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36810 (test-xfail-UNIX98/stropts.h/conform): Likewise.
36811 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36812 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36813 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36814 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36815 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36816 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36817 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36818 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36819 (test-xfail-UNIX98/unistd.h/conform): Likewise.
36820 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36821 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36822 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36823 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36824 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36825 (test-xfail-XOPEN2K/math.h/conform): Likewise.
36826 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36827 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36828 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36829 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36830 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36831 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36832 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36833 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36834 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36835 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36836 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36837 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36838 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36839 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36840 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36841 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36842 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36843 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36844 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36845 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36846 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36847 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36848 (test-xfail-POSIX2008/signal.h/conform): Likewise.
36849 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36850 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36851 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36852 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36853 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36854 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36855 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36856 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36857 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36858 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36859 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36860 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36861 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36862 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36863 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36864 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36865 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36866 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36867 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36868 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36869 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36870 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36871 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36872 (conformtest-cc-flags): Likewise.
36873 ($(conformtest-header-tests): New target.
36874 * conform/check-header-lists.sh: New file.
36875 * conform/run-conformtest.sh: Remove.
36876
36877 * conform/conformtest.pl: Allow ' and \ in values given for
36878 constants.
36879 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36880 inclusion.
36881 [POSIX] (sys/types.h): Likewise.
36882 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36883 inclusion.
36884 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36885 inclusion.
36886 * conform/data/signal.h-data (SIGIO): Remove expectation.
36887 [XPG3] (SIGBUS): Do not expect.
36888 [POSIX || XPG3] (SIGPOLL): Likewise.
36889 [POSIX || XPG3] (SIGPROF): Likewise.
36890 [POSIX || XPG3] (SIGSYS): Likewise.
36891 [XPG3] (SIGTRAP): Likewise.
36892 [POSIX || XPG3] (SIGURG): Likewise.
36893 [POSIX || XPG3] (SIGVTALRM): Likewise.
36894 [POSIX || XPG3] (SIGXCPU): Likewise.
36895 [POSIX || XPG3] (SIGXFSZ): Likewise.
36896 [POSIX] (SA_SIGINFO): Expect.
36897 [XPG3] (siginfo_t): Do not expect type or contents.
36898 [POSIX] (si_pid): Do not expect element.
36899 [POSIX] (si_uid): Likewise.
36900 [POSIX] (si_addr): Likewise.
36901 [POSIX] (si_status): Likewise.
36902 [POSIX] (si_band): Likewise.
36903 [XPG4] (si_value): Likewise.
36904 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36905 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36906 [POSIX || XPG3] (ILL_ILLADR): Likewise.
36907 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36908 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36909 [POSIX || XPG3] (ILL_PRVREG): Likewise.
36910 [POSIX || XPG3] (ILL_COPROC): Likewise.
36911 [POSIX || XPG3] (ILL_BADSTK): Likewise.
36912 [POSIX || XPG3] (FPE_INTDIV): Likewise.
36913 [POSIX || XPG3] (FPE_INTOVF): Likewise.
36914 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36915 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36916 [POSIX || XPG3] (FPE_FLTUND): Likewise.
36917 [POSIX || XPG3] (FPE_FLTRES): Likewise.
36918 [POSIX || XPG3] (FPE_FLTINV): Likewise.
36919 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36920 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36921 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36922 [POSIX || XPG3] (BUS_ADRALN): Likewise.
36923 [POSIX || XPG3] (BUS_ADRERR): Likewise.
36924 [POSIX || XPG3] (BUS_OBJERR): Likewise.
36925 [POSIX || XPG3] (CLD_EXITED): Likewise.
36926 [POSIX || XPG3] (CLD_KILLED): Likewise.
36927 [POSIX || XPG3] (CLD_DUMPED): Likewise.
36928 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36929 [POSIX || XPG3] (CLD_STOPPED): Likewise.
36930 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36931 [POSIX || XPG3] (POLL_IN): Likewise.
36932 [POSIX || XPG3] (POLL_OUT): Likewise.
36933 [POSIX || XPG3] (POLL_MSG): Likewise.
36934 [POSIX || XPG3] (POLL_ERR): Likewise.
36935 [POSIX || XPG3] (POLL_PRI): Likewise.
36936 [POSIX || XPG3] (POLL_HUP): Likewise.
36937 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36938 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36939 (SIG*): Do not allow.
36940 [XPG3] (si_*): Likewise.
36941 [XPG3] (SI_*): Likewise.
36942 [XPG3 || XPG4] (sigev_*): Likewise.
36943 [XPG3 || XPG4] (SIGEV_*): Likewise.
36944 [XPG3 || XPG4] (sival_*): Likewise.
36945 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36946 [POSIX || XPG3] (BUS_*): Likewise.
36947 [POSIX || XPG3] (CLD_*): Likewise.
36948 [POSIX || XPG3] (FPE_*): Likewise.
36949 [POSIX || XPG3] (ILL_*): Likewise.
36950 [POSIX || XPG3] (POLL_*): Likewise.
36951 [POSIX || XPG3] (SEGV_*): Likewise.
36952 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36953 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36954 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36955 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36956 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36957 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36958 Specify type and value.
36959 (TVERSLEN): Likewise.
36960 (REGTYPE): Likewise.
36961 (AREGTYPE): Likewise.
36962 (LNKTYPE): Likewise.
36963 (SYMTYPE): Likewise.
36964 (CHRTYPE): Likewise.
36965 (BLKTYPE): Likewise.
36966 (DIRTYPE): Likewise.
36967 (FIFOTYPE): Likewise.
36968 (CONTTYPE): Likewise.
36969 (TSUID): Likewise.
36970 (TSGID): Likewise.
36971 (TSVTX): Likewise.
36972 (TUREAD): Likewise.
36973 (TUWRITE): Likewise.
36974 (TUEXEC): Likewise.
36975 (TGREAD): Likewise.
36976 (TGWRITE): Likewise.
36977 (TGEXEC): Likewise.
36978 (TOREAD): Likewise.
36979 (TOWRITE): Likewise.
36980 (TOEXEC): Likewise.
36981 [POSIX] (TSVTX): Expect constant.
36982
36983 2014-03-06 Joseph Myers <joseph@codesourcery.com>
36984
36985 * Makefile (tests): Change dependencies to ....
36986 (tests-special): ... additions to this variable.
36987 (tests): Depend on $(tests-special).
36988 * Makerules (check-abi-list): New variable.
36989 (check-abi): Depend on $(check-abi-list).
36990 [$(subdir) = elf] (tests-special): Add
36991 $(objpfx)check-abi-libc.out.
36992 [$(build-shared) = yes && subdir] (tests-special): Add
36993 $(check-abi-list).
36994 [$(build-shared) = yes && subdir] (tests): Do not depend on
36995 check-abi.
36996 * Rules (tests): Depend on $(tests-special).
36997 (xtests): Depend on $(xtests-special).
36998 * catgets/Makefile (tests): Change dependencies to ....
36999 (tests-special): ... additions to this variable.
37000 * conform/Makefile (tests): Change dependencies to ....
37001 (tests-special): ... additions to this variable.
37002 * elf/Makefile (tests): Change dependencies to ....
37003 (tests-special): ... additions to this variable.
37004 * grp/Makefile (tests): Change dependencies to ....
37005 (tests-special): ... additions to this variable.
37006 * iconv/Makefile (xtests): Change dependencies to ....
37007 (xtests-special): ... additions to this variable.
37008 * iconvdata/Makefile (tests): Change dependencies to ....
37009 (tests-special): ... additions to this variable.
37010 * intl/Makefile (tests): Change dependencies to ....
37011 (tests-special): ... additions to this variable. Also add
37012 $(objpfx)tst-gettext.out.
37013 * io/Makefile (tests): Change dependencies to ....
37014 (tests-special): ... additions to this variable.
37015 * libio/Makefile (tests): Change dependencies to ....
37016 (tests-special): ... additions to this variable.
37017 * malloc/Makefile (tests): Change dependencies to ....
37018 (tests-special): ... additions to this variable.
37019 * misc/Makefile (tests): Change dependencies to ....
37020 (tests-special): ... additions to this variable.
37021 * nptl/Makefile (tests): Change dependencies to ....
37022 (tests-special): ... additions to this variable.
37023 * nptl_db/Makefile (tests): Change dependencies to ....
37024 (tests-special): ... additions to this variable.
37025 * posix/Makefile (tests): Change dependencies to ....
37026 (tests-special): ... additions to this variable.
37027 (xtests): Change dependencies to ....
37028 (xtests-special): ... additions to this variable.
37029 * resolv/Makefile (tests): Change dependencies to ....
37030 (tests-special): ... additions to this variable.
37031 (xtests): Change dependencies to ....
37032 (xtests-special): ... additions to this variable.
37033 * stdio-common/Makefile (tests): Change dependencies to ....
37034 (tests-special): ... additions to this variable.
37035 (do-tst-unbputc): Remove target.
37036 (do-tst-printf): Likewise.
37037 * stdlib/Makefile (tests): Change dependencies to ....
37038 (tests-special): ... additions to this variable.
37039 * string/Makefile (tests): Change dependencies to ....
37040 (tests-special): ... additions to this variable.
37041 * sysdeps/x86/Makefile (tests): Change dependencies to ....
37042 (tests-special): ... additions to this variable.
37043
37044 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
37045 whole file.
37046 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
37047 whole file.
37048 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
37049 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
37050
37051 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
37052 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
37053 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
37054 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
37055 * conform/data/libgen.h-data [XPG3]: Likewise.
37056 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
37057 * conform/data/ndbm.h-data [XPG3]: Likewise.
37058 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37059 * conform/data/netdb.h-data [XPG3]: Likewise.
37060 * conform/data/netinet/in.h-data [XPG3]: Likewise.
37061 * conform/data/poll.h-data [XPG3]: Likewise.
37062 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37063 * conform/data/strings.h-data [XPG3]: Likewise.
37064 * conform/data/stropts.h-data [XPG3]: Likewise.
37065 * conform/data/sys/mman.h-data [XPG3]: Likewise.
37066 * conform/data/sys/resource.h-data [XPG3]: Likewise.
37067 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
37068 Likewise.
37069 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
37070 * conform/data/sys/time.h-data [XPG3]: Likewise.
37071 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
37072 * conform/data/sys/uio.h-data [XPG3]: Likewise.
37073 * conform/data/sys/un.h-data [XPG3]: Likewise.
37074 * conform/data/syslog.h-data [XPG3]: Likewise.
37075 * conform/data/ucontext.h-data [XPG3]: Likewise.
37076 * conform/data/utmpx.h-data [XPG3]: Likewise.
37077 * conform/data/varargs.h-data [UNIX98]: Enable file.
37078
37079 * manual/Makefile (INSTALL_INFO): Remove variable setting.
37080
37081 * math/libm-test.inc (struct test_f_f_data): Move expected results
37082 into structure for each rounding mode.
37083 (struct test_ff_f_data): Likewise.
37084 (struct test_ff_f_data_nexttoward): Likewise.
37085 (struct test_fi_f_data): Likewise.
37086 (struct test_fl_f_data): Likewise.
37087 (struct test_if_f_data): Likewise.
37088 (struct test_fff_f_data): Likewise.
37089 (struct test_c_f_data): Likewise.
37090 (struct test_f_f1_data): Likewise.
37091 (struct test_fF_f1_data): Likewise.
37092 (struct test_ffI_f1_data): Likewise.
37093 (struct test_c_c_data): Likewise.
37094 (struct test_cc_c_data): Likewise.
37095 (struct test_f_i_data): Likewise.
37096 (struct test_ff_i_data): Likewise.
37097 (struct test_f_l_data): Likewise.
37098 (struct test_f_L_data): Likewise.
37099 (struct test_fFF_11_data): Likewise.
37100 (RM_): New macro.
37101 (RM_FE_DOWNWARD): Likewise.
37102 (RM_FE_TONEAREST): Likewise.
37103 (RM_FE_TOWARDZERO): Likewise.
37104 (RM_FE_UPWARD): Likewise.
37105 (RUN_TEST_LOOP_f_f): Update references to expected results.
37106 (RUN_TEST_LOOP_2_f): Likewise.
37107 (RUN_TEST_LOOP_fff_f): Likewise.
37108 (RUN_TEST_LOOP_c_f): Likewise.
37109 (RUN_TEST_LOOP_f_f1): Likewise.
37110 (RUN_TEST_LOOP_fF_f1): Likewise.
37111 (RUN_TEST_LOOP_fI_f1): Likewise.
37112 (RUN_TEST_LOOP_ffI_f1): Likewise.
37113 (RUN_TEST_LOOP_c_c): Likewise.
37114 (RUN_TEST_LOOP_cc_c): Likewise.
37115 (RUN_TEST_LOOP_f_i): Likewise.
37116 (RUN_TEST_LOOP_f_i_tg): Likewise.
37117 (RUN_TEST_LOOP_ff_i_tg): Likewise.
37118 (RUN_TEST_LOOP_f_b): Likewise.
37119 (RUN_TEST_LOOP_f_b_tg): Likewise.
37120 (RUN_TEST_LOOP_f_l): Likewise.
37121 (RUN_TEST_LOOP_f_L): Likewise.
37122 (RUN_TEST_LOOP_fFF_11): Likewise.
37123 * math/gen-libm-test.pl (parse_args): Output four copies of
37124 expected results for each test.
37125
37126 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37127 (__ASSUME_UTIMES): Remove.
37128 * sysdeps/unix/sysv/linux/tile/kernel-features.h
37129 (__ASSUME_UTIMES): Likewise.
37130
37131 * math/gen-auto-libm-tests.c: Update comment on output format.
37132 (output_for_one_input_case): Generate before-rounding and
37133 after-rounding information as conditions on output flags not
37134 floating-point format.
37135 * math/auto-libm-test-out: Regenerated.
37136 * math/gen-libm-test.pl (cond_value): New function.
37137 (or_cond_value): Use cond_value.
37138 (generate_testfile): Handle conditional exceptions.
37139
37140 2014-03-05 Joseph Myers <joseph@codesourcery.com>
37141
37142 * math/libm-test.inc (max_valid_error): New variable.
37143 (init_max_error): Take new argument specifying whether function
37144 results are exactly determined. Set max_valid_error and bound
37145 other variables for errors based on this argument.
37146 (set_max_error): Do not record results above max_valid_error.
37147 (check_float_internal): Only accept errors of up to 0.5ulps if
37148 also at most max_valid_error.
37149 (START): Take new argument EXACT and pass it to init_max_error.
37150 (acos_test): Update call to START.
37151 (acos_test_tonearest): Likewise.
37152 (acos_test_towardzero): Likewise.
37153 (acos_test_downward): Likewise.
37154 (acos_test_upward): Likewise.
37155 (acosh_test): Likewise.
37156 (asin_test): Likewise.
37157 (asin_test_tonearest): Likewise.
37158 (asin_test_towardzero): Likewise.
37159 (asin_test_downward): Likewise.
37160 (asin_test_upward): Likewise.
37161 (asinh_test): Likewise.
37162 (atan_test): Likewise.
37163 (atanh_test): Likewise.
37164 (atan2_test): Likewise.
37165 (cabs_test): Likewise.
37166 (cacos_test): Likewise.
37167 (cacosh_test): Likewise.
37168 (carg_test): Likewise.
37169 (casin_test): Likewise.
37170 (casinh_test): Likewise.
37171 (catan_test): Likewise.
37172 (catanh_test): Likewise.
37173 (cbrt_test): Likewise.
37174 (ccos_test): Likewise.
37175 (ccosh_test): Likewise.
37176 (ceil_test): Likewise.
37177 (cexp_test): Likewise.
37178 (cimag_test): Likewise.
37179 (clog_test): Likewise.
37180 (clog10_test): Likewise.
37181 (conj_test): Likewise.
37182 (copysign_test): Likewise.
37183 (cos_test): Likewise.
37184 (cos_test_tonearest): Likewise.
37185 (cos_test_towardzero): Likewise.
37186 (cos_test_downward): Likewise.
37187 (cos_test_upward): Likewise.
37188 (cosh_test): Likewise.
37189 (cosh_test_tonearest): Likewise.
37190 (cosh_test_towardzero): Likewise.
37191 (cosh_test_downward): Likewise.
37192 (cosh_test_upward): Likewise.
37193 (cpow_test): Likewise.
37194 (cproj_test): Likewise.
37195 (creal_test): Likewise.
37196 (csin_test): Likewise.
37197 (csinh_test): Likewise.
37198 (csqrt_test): Likewise.
37199 (ctan_test): Likewise.
37200 (ctan_test_tonearest): Likewise.
37201 (ctan_test_towardzero): Likewise.
37202 (ctan_test_downward): Likewise.
37203 (ctan_test_upward): Likewise.
37204 (ctanh_test): Likewise.
37205 (ctanh_test_tonearest): Likewise.
37206 (ctanh_test_towardzero): Likewise.
37207 (ctanh_test_downward): Likewise.
37208 (ctanh_test_upward): Likewise.
37209 (erf_test): Likewise.
37210 (erfc_test): Likewise.
37211 (exp_test): Likewise.
37212 (exp_test_tonearest): Likewise.
37213 (exp_test_towardzero): Likewise.
37214 (exp_test_downward): Likewise.
37215 (exp_test_upward): Likewise.
37216 (exp10_test): Likewise.
37217 (exp10_test_tonearest): Likewise.
37218 (exp10_test_towardzero): Likewise.
37219 (exp10_test_downward): Likewise.
37220 (exp10_test_upward): Likewise.
37221 (pow10_test): Likewise.
37222 (exp2_test): Likewise.
37223 (expm1_test): Likewise.
37224 (expm1_test_tonearest): Likewise.
37225 (expm1_test_towardzero): Likewise.
37226 (expm1_test_downward): Likewise.
37227 (expm1_test_upward): Likewise.
37228 (fabs_test): Likewise.
37229 (fdim_test): Likewise.
37230 (floor_test): Likewise.
37231 (fma_test): Likewise.
37232 (fma_test_towardzero): Likewise.
37233 (fma_test_downward): Likewise.
37234 (fma_test_upward): Likewise.
37235 (fmax_test): Likewise.
37236 (fmin_test): Likewise.
37237 (fmod_test): Likewise.
37238 (fpclassify_test): Likewise.
37239 (frexp_test): Likewise.
37240 (hypot_test): Likewise.
37241 (ilogb_test): Likewise.
37242 (isfinite_test): Likewise.
37243 (finite_test): Likewise.
37244 (isgreater_test): Likewise.
37245 (isgreaterequal_test): Likewise.
37246 (isinf_test): Likewise.
37247 (isless_test): Likewise.
37248 (islessequal_test): Likewise.
37249 (islessgreater_test): Likewise.
37250 (isnan_test): Likewise.
37251 (isnormal_test): Likewise.
37252 (issignaling_test): Likewise.
37253 (isunordered_test): Likewise.
37254 (j0_test): Likewise.
37255 (j1_test): Likewise.
37256 (jn_test): Likewise.
37257 (ldexp_test): Likewise.
37258 (lgamma_test): Likewise.
37259 (gamma_test): Likewise.
37260 (lrint_test): Likewise.
37261 (lrint_test_tonearest): Likewise.
37262 (lrint_test_towardzero): Likewise.
37263 (lrint_test_downward): Likewise.
37264 (lrint_test_upward): Likewise.
37265 (llrint_test): Likewise.
37266 (llrint_test_tonearest): Likewise.
37267 (llrint_test_towardzero): Likewise.
37268 (llrint_test_downward): Likewise.
37269 (llrint_test_upward): Likewise.
37270 (log_test): Likewise.
37271 (log10_test): Likewise.
37272 (log1p_test): Likewise.
37273 (log2_test): Likewise.
37274 (logb_test): Likewise.
37275 (logb_test_downward): Likewise.
37276 (lround_test): Likewise.
37277 (llround_test): Likewise.
37278 (modf_test): Likewise.
37279 (nearbyint_test): Likewise.
37280 (nextafter_test): Likewise.
37281 (nexttoward_test): Likewise.
37282 (pow_test): Likewise.
37283 (pow_test_tonearest): Likewise.
37284 (pow_test_towardzero): Likewise.
37285 (pow_test_downward): Likewise.
37286 (pow_test_upward): Likewise.
37287 (remainder_test): Likewise.
37288 (drem_test): Likewise.
37289 (remainder_test_tonearest): Likewise.
37290 (drem_test_tonearest): Likewise.
37291 (remainder_test_towardzero): Likewise.
37292 (drem_test_towardzero): Likewise.
37293 (remainder_test_downward): Likewise.
37294 (drem_test_downward): Likewise.
37295 (remainder_test_upward): Likewise.
37296 (drem_test_upward): Likewise.
37297 (remquo_test): Likewise.
37298 (rint_test): Likewise.
37299 (rint_test_tonearest): Likewise.
37300 (rint_test_towardzero): Likewise.
37301 (rint_test_downward): Likewise.
37302 (rint_test_upward): Likewise.
37303 (round_test): Likewise.
37304 (scalb_test): Likewise.
37305 (scalbn_test): Likewise.
37306 (scalbln_test): Likewise.
37307 (signbit_test): Likewise.
37308 (sin_test): Likewise.
37309 (sin_test_tonearest): Likewise.
37310 (sin_test_towardzero): Likewise.
37311 (sin_test_downward): Likewise.
37312 (sin_test_upward): Likewise.
37313 (sincos_test): Likewise.
37314 (sinh_test): Likewise.
37315 (sinh_test_tonearest): Likewise.
37316 (sinh_test_towardzero): Likewise.
37317 (sinh_test_downward): Likewise.
37318 (sinh_test_upward): Likewise.
37319 (sqrt_test): Likewise.
37320 (sqrt_test_tonearest): Likewise.
37321 (sqrt_test_towardzero): Likewise.
37322 (sqrt_test_downward): Likewise.
37323 (sqrt_test_upward): Likewise.
37324 (tan_test): Likewise.
37325 (tan_test_tonearest): Likewise.
37326 (tan_test_towardzero): Likewise.
37327 (tan_test_downward): Likewise.
37328 (tan_test_upward): Likewise.
37329 (tanh_test): Likewise.
37330 (tgamma_test): Likewise.
37331 (trunc_test): Likewise.
37332 (y0_test): Likewise.
37333 (y1_test): Likewise.
37334 (yn_test): Likewise.
37335 (significand_test): Likewise.
37336
37337 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37338 individual tests in comment.
37339 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37340 (prev_max_error): New variable.
37341 (prev_real_max_error): Likewise.
37342 (prev_imag_max_error): Likewise.
37343 (compare_ulp_data): Don't refer to test names in comment.
37344 (find_test_ulps): Remove function.
37345 (find_function_ulps): Likewise.
37346 (find_complex_function_ulps): Likewise.
37347 (init_max_error): Take function name as argument. Look up ulps
37348 for that function.
37349 (print_ulps): Remove function.
37350 (print_max_error): Use prev_max_error instead of calling
37351 find_function_ulps.
37352 (print_complex_max_error): Use prev_real_max_error and
37353 prev_imag_max_error instead of calling find_complex_function_ulps.
37354 (check_float_internal): Take max_ulp parameter instead of calling
37355 find_test_ulps. Don't call print_ulps.
37356 (check_float): Update call to check_float_internal.
37357 (check_complex): Update calls to check_float_internal.
37358 (START): Pass argument to init_max_error.
37359 * math/gen-libm-test.pl (%results): Don't include "kind"
37360 information.
37361 (parse_ulps): Don't handle ulps of individual tests.
37362 (print_ulps_file): Likewise.
37363 (output_ulps): Likewise.
37364 * math/README.libm-test: Update.
37365 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
37366 individual tests.
37367 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
37368 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37369 * sysdeps/arm/libm-test-ulps: Likewise.
37370 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37371 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
37372 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
37373 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
37374 * sysdeps/microblaze/libm-test-ulps: Likewise.
37375 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
37376 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37377 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37378 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
37379 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37380 * sysdeps/sh/libm-test-ulps: Likewise.
37381 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37382 * sysdeps/tile/libm-test-ulps: Likewise.
37383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37384
37385 2014-03-04 Joseph Myers <joseph@codesourcery.com>
37386
37387 * math/libm-test.inc (print_complex_max_error): Check separately
37388 whether real and imaginary errors are within allowed range and
37389 pass 0 to print_complex_function_ulps instead of value within
37390 allowed range.
37391
37392 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37393
37394 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
37395 formatting.
37396 (get_handles_fopen): Likewise.
37397 (do_write_test): Likewise.
37398
37399 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
37400
37401 * libio/fileops.c (do_ftell): Use cached offset when
37402 available.
37403 * libio/iofwide.c (do_ftell_wide): Likewise.
37404 * libio/iofdopen.c (_IO_new_fdopen): Don't use
37405 _IO_file_attach.
37406 * libio/wfileops.c (_IO_fwide): Don't cache offset.
37407
37408 [BZ #16532]
37409 * libio/libioP.h (get_file_offset): New function.
37410 * libio/fileops.c (get_file_offset): Likewise.
37411 (do_ftell): Likewise.
37412 (_IO_new_file_seekoff): Split out ftell logic.
37413 * libio/wfileops.c (do_ftell_wide): Likewise.
37414 (_IO_wfile_seekoff): Split out ftell logic.
37415 * libio/tst-ftell-active-handler.c: New test case.
37416 * libio/Makefile (tests): Add it.
37417
37418 2014-03-03 Roland McGrath <roland@hack.frob.com>
37419
37420 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
37421 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
37422
37423 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37424
37425 [BZ #16639]
37426 * nscd/connections.c (nscd_init): Call do_exit.
37427 (start_threads): Call do_exit and notify_parent.
37428 (begin_drop_privileges): Call do_exit.
37429 (finish_drop_privileges): Likewise.
37430 * nscd/selinux.c (preserve_capabilities): Likewise.
37431 (install_real_capabilities): Likewise.
37432 (nscd_selinux_enabled): Likewise.
37433 (avc_create_thread): Likewise.
37434 (avc_alloc_lock): Likewise.
37435 (nscd_avc_init): Likewise.
37436 * nscd/nscd.c (parent_fd): New static variable.
37437 (main): Create a pipe between parent and child processes.
37438 Skip closing parent_fd.
37439 (monitor_child): New function.
37440 (do_exit): Likewise.
37441 (notify_parent): Likewise.
37442 * nscd/nscd.h (notify_parent): Likewise.
37443 (do_exit): Likewise.
37444
37445 2014-03-03 Carlos O'Donell <carlos@redhat.com>
37446
37447 * malloc/malloc.c (__libc_calloc): Revert last change.
37448
37449 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37450
37451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37452
37453 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37454
37455 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37456 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37457 implementation.
37458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37459 (__libc_ifunc_impl_list): Likewise.
37460 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37461 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37462 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37463 * string/strrchr.c: Define STRRCHR.
37464
37465 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
37466
37467 * benchtest/bench-strtok.c (simple_strtok): Delete.
37468 (strtok_string): Use as benchmark.
37469 * string/strtok (STRTOK): New macro.
37470
37471 2014-02-28 Carlos O'Donell <carlos@redhat.com>
37472
37473 * manual/threads.texi: Add header and standard comments to all
37474 functions.
37475
37476 * elf/dl-lookup.c (check_match): New function.
37477 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37478 (do_lookup_x): Remove nested function check_match. Use non-nested
37479 function check_match.
37480
37481 2014-02-28 Roland McGrath <roland@hack.frob.com>
37482
37483 * csu/Makefile (generated, before-compile): Use += rather than =.
37484 * catgets/Makefile (generated, generated-dirs): Likewise.
37485 * debug/Makefile (generated): Likewise.
37486 * dlfcn/Makefile (generated): Likewise.
37487 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37488 * iconvdata/Makefile (before-compile, generated): Likewise.
37489 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37490 * libio/Makefile (generated): Likewise.
37491 * malloc/Makefile (generated): Likewise.
37492 * manual/Makefile (generated, generated-dirs): Likewise.
37493 * misc/Makefile (generated): Likewise.
37494 * posix/Makefile (generated): Likewise.
37495 * resolv/Makefile (generated): Likewise.
37496 * sunrpc/Makefile (generated, generated-dirs): Likewise.
37497 * timezone/Makefile (generated, generated-dirs): Likewise.
37498
37499 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37500
37501 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37502
37503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37504 power8 implementation.
37505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37506 file: POWER8 llround ifunc implementation.
37507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37508 (__lllround): Add POWER8 implementation.
37509 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37510 POWER8 llround implementation.
37511
37512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37513 power8 implementation.
37514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37515 file: POWER8 llrint ifunc implementation.
37516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37517 Add POWER8 implementation.
37518 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37519 POWER8 llrint implementation.
37520
37521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37522 power8 implementation.
37523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37524 file: POWER8 finite ifunc implementation.
37525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37526 Add POWER8 implementation.
37527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37528 Likewise.
37529 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37530 POWER8 finite implementation.
37531 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37532
37533 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37534 power8 implementation.
37535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37536 file: POWER8 isinf ifunc implementation.
37537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37538 POWER8 implementation.
37539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37540 Likewise.
37541 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37542 isinf implementation.
37543 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37544
37545 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37546 (INIT_ARCH): Add hwcap2 initialization.
37547 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37548 power8 implementation.
37549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37550 file: POWER8 isnan ifunc implementation.
37551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37552 POWER8 implementation.
37553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37554 Likewise.
37555 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37556 isnan implementation.
37557 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37558
37559 2014-02-27 Joey Ye <joey.ye@arm.com>
37560
37561 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37562 (_FP_NANFRAC_Q): Set to zero.
37563
37564 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37565
37566 [BZ #16623]
37567 * math/auto-libm-test-in: New test inputs.
37568 * math/auto-libm-test-out: Regenerate.
37569 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37570 and DA.
37571 (__cos): Likewise.
37572 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37573
37574 2014-02-27 Joseph Myers <joseph@codesourcery.com>
37575
37576 * scripts/evaluate-test.sh: Take new argument indicating whether
37577 failure is expected.
37578 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37579 indicating whether failure is expected.
37580 * conform/Makefile (test-xfail-run-conformtest): New variable.
37581 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37582 level.
37583 * posix/Makefile (test-xfail-annexc): New variable.
37584 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37585
37586 2014-02-26 Joseph Myers <joseph@codesourcery.com>
37587
37588 * argp/Makefile: Include Makeconfig immediately after defining
37589 subdir.
37590 * assert/Makefile: Likewise.
37591 * benchtests/Makefile: Likewise.
37592 * catgets/Makefile: Likewise.
37593 * conform/Makefile: Likewise.
37594 * crypt/Makefile: Likewise.
37595 * csu/Makefile: Likewise.
37596 (all): Remove target.
37597 * ctype/Makefile: Include Makeconfig immediately after defining
37598 subdir.
37599 * debug/Makefile: Likewise.
37600 * dirent/Makefile: Likewise.
37601 * dlfcn/Makefile: Likewise.
37602 * gmon/Makefile: Likewise.
37603 * gnulib/Makefile: Likewise.
37604 * grp/Makefile: Likewise.
37605 * gshadow/Makefile: Likewise.
37606 * hesiod/Makefile: Likewise.
37607 * hurd/Makefile: Likewise.
37608 (all): Remove target.
37609 * iconvdata/Makefile: Include Makeconfig immediately after
37610 defining subdir.
37611 * inet/Makefile: Likewise.
37612 * intl/Makefile: Likewise.
37613 * io/Makefile: Likewise.
37614 * libio/Makefile: Likewise.
37615 (all): Remove target.
37616 * locale/Makefile: Include Makeconfig immediately after defining
37617 subdir.
37618 * login/Makefile: Likewise.
37619 * mach/Makefile: Likewise.
37620 (all): Remove target.
37621 * malloc/Makefile: Include Makeconfig immediately after defining
37622 subdir.
37623 (all): Remove target.
37624 * manual/Makefile: Include Makeconfig immediately after defining
37625 subdir.
37626 * math/Makefile: Likewise.
37627 * misc/Makefile: Likewise.
37628 * nis/Makefile: Likewise.
37629 * nss/Makefile: Likewise.
37630 * po/Makefile: Likewise.
37631 (all): Remove target.
37632 * posix/Makefile: Include Makeconfig immediately after defining
37633 subdir.
37634 * pwd/Makefile: Likewise.
37635 * resolv/Makefile: Likewise.
37636 * resource/Makefile: Likewise.
37637 * rt/Makefile: Likewise.
37638 * setjmp/Makefile: Likewise.
37639 * shadow/Makefile: Likewise.
37640 * signal/Makefile: Likewise.
37641 * socket/Makefile: Likewise.
37642 * soft-fp/Makefile: Likewise.
37643 * stdio-common/Makefile: Likewise.
37644 * stdlib/Makefile: Likewise.
37645 * streams/Makefile: Likewise.
37646 * string/Makefile: Likewise.
37647 * sunrpc/Makefile: Likewise.
37648 (all): Remove target.
37649 * sysvipc/Makefile: Include Makeconfig immediately after defining
37650 subdir.
37651 * termios/Makefile: Likewise.
37652 * time/Makefile: Likewise.
37653 * timezone/Makefile: Likewise.
37654 (all): Remove target.
37655 * wcsmbs/Makefile: Include Makeconfig immediately after defining
37656 subdir.
37657 * wctype/Makefile: Likewise.
37658
37659 2014-02-26 Steve Ellcey <sellcey@mips.com>
37660
37661 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37662 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37663 (libc_feholdexcept_setround_mips): Ditto.
37664 (libc_feholdsetround): New.
37665 (libc_feholdsetroundf): New.
37666 (libc_feholdsetroundl): New.
37667 (libc_feupdateenv_test_mips): New.
37668 (libc_feupdateenv_test): New.
37669 (libc_feupdateenv_testf): New.
37670 (libc_feupdateenv_testl): New.
37671 (libc_feresetround): New.
37672 (libc_feresetroundf): New.
37673 (libc_feresetroundl): New.
37674 (libc_fetestexcept_mips): New.
37675 (libc_fetestexcept): New.
37676 (libc_fetestexceptf): New.
37677 (libc_fetestexceptl): New.
37678 (HAVE_RM_CTX): New.
37679 (libc_feholdexcept_setround_mips_ctx): New.
37680 (libc_feholdexcept_setround_ctx): New.
37681 (libc_feholdexcept_setroundf_ctx): New.
37682 (libc_feholdexcept_setroundl_ctx): New.
37683 (libc_fesetenv_mips_ctx): New.
37684 (libc_fesetenv_ctx): New.
37685 (libc_fesetenv_ctxf): New.
37686 (libc_fesetenv_ctxl): New.
37687 (libc_feupdateenv_mips_ctx): New.
37688 (libc_feupdateenv_ctx): New.
37689 (libc_feupdateenvf_ctx): New.
37690 (libc_feupdateenvl_ctx): New.
37691 (libc_feholdsetround_mips_ctx): New.
37692 (libc_feholdsetround_ctx): New.
37693 (libc_feholdsetroundf_ctx): New.
37694 (libc_feholdsetroundl_ctx): New.
37695 (libc_feresetround_mips_ctx): New.
37696 (libc_feresetround_ctx): New.
37697 (libc_feresetroundf_ctx): New.
37698 (libc_feresetroundl_ctx): New.
37699
37700 2014-02-26 Carlos O'Donell <carlos@redhat.com>
37701
37702 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37703
37704 * manual/ipc.texi: New file.
37705 * manual/Makefile (chapters): Add ipc.
37706 * manual/job.texi: Add "Inter-Process Communication" to next.
37707 * manual/process.texi: Add "Inter-Process Communication" to prev.
37708
37709 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37710
37711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37712
37713 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
37714
37715 * malloc/malloc.c (__libc_calloc): Simplify implementation.
37716
37717 * manual/arith.texi: Fix spaces after sentences.
37718 * manual/charset.texi: Likewise.
37719 * manual/errno.texi: Likewise.
37720 * manual/install.texi: Likewise.
37721 * manual/llio.texi: Likewise.
37722 * manual/locale.texi: Likewise.
37723 * manual/maint.texi: Likewise.
37724 * manual/math.texi: Likewise.
37725 * manual/memory.texi: Likewise.
37726 * manual/message.texi: Likewise.
37727 * manual/probes.texi: Likewise.
37728 * manual/resource.texi: Likewise.
37729 * manual/signal.texi: Likewise.
37730 * manual/socket.texi: Likewise.
37731 * manual/stdio.texi: Likewise.
37732 * manual/string.texi: Likewise.
37733 * manual/time.texi: Likewise.
37734 * manual/users.texi: Likewise.
37735
37736 2014-02-25 Carlos O'Donell <carlos@redhat.com>
37737
37738 [BZ #16632]
37739 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37740 _DEFAULT_SOURCE is defined.
37741
37742 2014-02-25 Ulrich Drepper <drepper@gmail.com>
37743 Carlos O'Donell <carlos@redhat.com>
37744
37745 [BZ #16613]
37746 * elf/dl-tls.c (_dl_count_modids): New function.
37747 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37748 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37749 audit library and increment generation counter.
37750 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37751 * elf/tst-audit9.c: New file.
37752 * elf/tst-auditmod9a.c: New file.
37753 * elf/tst-auditmod9b.c: New file.
37754 * elf/Makefile: Add rules to build and run tst-audit9.
37755
37756 2014-02-25 Florian Weimer <fweimer@redhat.com>
37757
37758 [BZ #15347]
37759 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37760
37761 2014-02-25 Will Newton <will.newton@linaro.org>
37762
37763 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37764 (__longjmp): Restore sp and lr before restoring callee
37765 saved registers. Add longjmp and longjmp_target
37766 SystemTap probe point.
37767 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37768 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37769 Define to zero to match jmpbuf layout.
37770 * sysdeps/arm/setjmp.S: Include stap-probe.h.
37771 (__sigsetjmp): Save sp and lr before saving callee
37772 saved registers. Add setjmp SystemTap probe point.
37773
37774 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37775
37776 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37777
37778 2014-02-24 Andreas Schwab <schwab@suse.de>
37779
37780 [BZ #15804]
37781 * elf/pldd.c (wait_for_ptrace_stop): New function.
37782 (main): Call it after attaching.
37783
37784 2014-02-22 Roland McGrath <roland@hack.frob.com>
37785
37786 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37787 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37788 Versions files is now verboten.
37789 * hurd/Versions (libc: GLIBC_2.0):
37790 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37791 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37792 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37793 * mach/Versions: Likewise.
37794
37795 * csu/Versions: Remove unused %include.
37796 * resolv/Versions: Likewise.
37797
37798 2014-02-21 Joseph Myers <joseph@codesourcery.com>
37799
37800 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37801 ($(objpfx)check-local-headers.out): Likewise.
37802 ($(objpfx)begin-end-check.out): Likewise.
37803 * Makerules (check-abi-%.out): Likewise.
37804 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37805 ($(objpfx)test2.cat): Likewise.
37806 ($(objpfx)de/libc.cat): Likewise.
37807 ($(objpfx)test-gencat.out): Likewise.
37808 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37809 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37810 ($(objpfx)noload-mem): Likewise.
37811 ($(objpfx)tst-pathopt.out): Likewise.
37812 ($(objpfx)tst-rtld-load-self.out): Likewise.
37813 ($(objpfx)tst-array1-cmp.out): Likewise.
37814 ($(objpfx)tst-array1-static-cmp.out): Likewise.
37815 ($(objpfx)tst-array2-cmp.out): Likewise.
37816 ($(objpfx)tst-array3-cmp.out): Likewise.
37817 ($(objpfx)tst-array4-cmp.out): Likewise.
37818 ($(objpfx)tst-array5-cmp.out): Likewise.
37819 ($(objpfx)tst-array5-static-cmp.out): Likewise.
37820 ($(objpfx)check-textrel.out): Likewise.
37821 ($(objpfx)check-execstack.out): Likewise.
37822 ($(objpfx)check-localplt.out): Likewise.
37823 ($(objpfx)order2-cmp.out): Likewise.
37824 ($(objpfx)tst-leaks1-mem): Likewise.
37825 ($(objpfx)tst-leaks1-static-mem): Likewise.
37826 ($(objpfx)tst-initorder-cmp.out): Likewise.
37827 ($(objpfx)tst-initorder2-cmp.out): Likewise.
37828 ($(objpfx)tst-unused-dep.out): Likewise.
37829 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37830 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37831 * iconv/Makefile (test-iconvconfig): Likewise.
37832 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37833 ($(objpfx)iconv-test.out): Likewise.
37834 ($(objpfx)tst-tables.out): Likewise.
37835 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37836 ($(objpfx)tst-gettext.out): Likewise.
37837 ($(objpfx)tst-translit.out): Likewise.
37838 ($(objpfx)tst-gettext2.out): Likewise.
37839 ($(objpfx)tst-gettext4.out): Likewise.
37840 ($(objpfx)tst-gettext6.out): Likewise.
37841 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37842 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37843 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37844 ($(objpfx)tst-fopenloc-mem.out): Likewise.
37845 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37846 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37847 * posix/Makefile ($(objpfx)globtest.out): Likewise.
37848 ($(objpfx)wordexp-tst.out): Likewise.
37849 ($(objpfx)annexc.out): Likewise.
37850 ($(objpfx)tst-fnmatch-mem): Likewise.
37851 ($(objpfx)bug-regex2-mem): Likewise.
37852 ($(objpfx)bug-regex14-mem): Likewise.
37853 ($(objpfx)bug-regex21-mem): Likewise.
37854 ($(objpfx)bug-regex31-mem): Likewise.
37855 ($(objpfx)tst-vfork3-mem): Likewise.
37856 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37857 ($(objpfx)tst-pcre-mem): Likewise.
37858 ($(objpfx)tst-boost-mem): Likewise.
37859 ($(objpfx)tst-getconf.out): Likewise.
37860 ($(objpfx)bug-ga2-mem): Likewise.
37861 ($(objpfx)bug-glob2-mem): Likewise.
37862 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37863 ($(objpfx)mtrace-tst-leaks2): Likewise.
37864 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37865 ($(objpfx)tst-printf.out): Likewise.
37866 ($(objpfx)tst-setvbuf1.out): Likewise.
37867 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37868 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37869 ($(objpfx)tst-fmtmsg.out): Likewise.
37870 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37871 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37872
37873 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37874 * bits/sigaction.h [__USE_MISC]: Likewise.
37875 * bits/waitstatus.h: Update #endif comments.
37876 * ctype/ctype.h: Likewise.
37877 * dirent/dirent.h: Likewise.
37878 [__USE_MISC]: Remove redundant conditionals.
37879 * grp/grp.h: Update #endif comments.
37880 [__USE_GNU]: Remove redundant conditionals.
37881 [__USE_MISC]: Likewise.
37882 * inet/netinet/in.h [__USE_GNU]: Likewise.
37883 * io/sys/stat.h [__USE_MISC]: Likewise.
37884 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37885 * libio/bits/stdio.h: Update #endif comments.
37886 [__USE_MISC]: Remove redundant conditionals.
37887 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37888 * libio/stdio.h: Update #endif comments.
37889 [__USE_MISC]: Remove redundant conditionals.
37890 * math/bits/math-finite.h [__USE_MISC]: Likewise.
37891 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37892 * math/math.h: Update #else and #endif comments.
37893 [__USE_MISC]: Remove redundant conditionals.
37894 * misc/sys/uio.h: Update #endif comments.
37895 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37896 * posix/glob.h [__USE_MISC]: Likewise.
37897 * posix/sys/types.h: Update #endif comments.
37898 [__USE_MISC]: Remove redundant conditionals.
37899 * posix/sys/wait.h: Update #endif comments.
37900 [__USE_MISC]: Remove redundant conditionals.
37901 * posix/unistd.h: Update #endif comments.
37902 [__USE_MISC]: Remove redundant conditionals.
37903 * pwd/pwd.h [__USE_GNU]: Likewise.
37904 [__USE_MISC]: Likewise.
37905 * resolv/netdb.h [__USE_GNU]: Likewise.
37906 * signal/signal.h: Update #endif comments.
37907 [__USE_MISC]: Remove redundant conditionals.
37908 * stdlib/stdlib.h: Update #else and #endif comments.
37909 [__USE_MISC]: Remove redundant conditionals.
37910 [__USE_GNU]: Likewise.
37911 * string/bits/string2.h [__USE_MISC]: Likewise.
37912 * string/string.h: Update #endif comments.
37913 [__USE_MISC]: Remove redundant conditionals.
37914 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37915 Likewise.
37916 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37917 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37918 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37919 Likewise.
37920 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37921 Likewise.
37922 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37923 comments.
37924 [__USE_MISC]: Remove redundant conditionals.
37925 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37926 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37927 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37928 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37929 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37930 Likewise.
37931 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37932 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37933 Likewise.
37934 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37935 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37936 Likewise.
37937 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37938 Likewise.
37939 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37940 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37941 Likewise.
37942 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37943 Likewise.
37944 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37945 * sysdeps/x86/bits/string.h: Update #endif comments.
37946 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37947 conditionals.
37948 * time/sys/time.h: Update #endif comments.
37949 * time/time.h: Likewise.
37950 [__USE_MISC]: Remove redundant conditionals.
37951
37952 2014-02-21 Yury Gribov <y.gribov@samsung.com>
37953
37954 [BZ #16600]
37955 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37956
37957 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
37958
37959 * Versions.def (librt): Add GLIBC_2.17.
37960
37961 2014-02-21 Adam Conrad <adconrad@0c3.net>
37962
37963 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37964 synonym for _SYS_AUXV_H to allow direct inclusion.
37965 * sysdeps/sparc/bits/hwcap.h: Likewise.
37966 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37967 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37968 * sysdeps/sparc/sysdep.h: Likewise.
37969
37970 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37971
37972 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37973
37974 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37975
37976 * benchtests/bench-strrchr.c: Print length instead of position.
37977
37978 2014-02-20 Joseph Myers <joseph@codesourcery.com>
37979
37980 [BZ #16611]
37981 * sysdeps/unix/sysv/linux/kernel-features.h
37982 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37983 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37984 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37985 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37986 Likewise.
37987 [__i386__ || __powerpc__ || __sh__ || __sparc__]
37988 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37989 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37990 (__ASSUME_SENDMMSG): Define instead of using previous
37991 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37992 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37993 (__ASSUME_SENDMMSG_SYSCALL): Define.
37994 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37995 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37996 Likewise.
37997 * sysdeps/unix/sysv/linux/arm/kernel-features.h
37998 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37999 Likewise.
38000 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38001 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38002 Likewise.
38003 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
38004 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38005 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38006 [__ASSUME_SENDMMSG]: Change conditionals to
38007 [__ASSUME_SENDMMSG_SOCKETCALL].
38008 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38009 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
38010 Define.
38011 * sysdeps/unix/sysv/linux/mips/kernel-features.h
38012 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
38013 Likewise.
38014 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
38015 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38016 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38017 [!__ASSUME_SENDMMSG]: Change conditional to
38018 [!__ASSUME_SENDMMSG_SOCKETCALL].
38019 * sysdeps/unix/sysv/linux/tile/kernel-features.h
38020 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38021 Define.
38022
38023 [BZ #16610]
38024 * sysdeps/unix/sysv/linux/kernel-features.h
38025 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
38026 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
38027 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
38028 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
38029 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38030 [__i386__ || __sparc__]
38031 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38032 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
38033 (__ASSUME_RECVMMSG): Define instead of using previous
38034 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
38035 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38036 (__ASSUME_RECVMMSG_SYSCALL): Define.
38037 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38038 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38039 Likewise.
38040 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38041 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38042 Likewise.
38043 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38044 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38045 Likewise.
38046 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
38047 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38048 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38049 [__ASSUME_RECVMMSG]: Change condition to
38050 [__ASSUME_RECVMMSG_SOCKETCALL].
38051 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38052 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38053 Define.
38054 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38055 * sysdeps/unix/sysv/linux/mips/kernel-features.h
38056 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38057 Likewise.
38058 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
38059 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38060 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38061 [!__ASSUME_RECVMMSG]: Change condition to
38062 [!__ASSUME_RECVMMSG_SOCKETCALL].
38063 * sysdeps/unix/sysv/linux/tile/kernel-features.h
38064 (__ASSUME_RECVMMSG_SYSCALL): Define.
38065
38066 [BZ #16609]
38067 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
38068 __powerpc__ || __s390__ || __sh__ || __sparc__]
38069 (__ASSUME_SOCKETCALL): Define.
38070 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
38071 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
38072 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
38073 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
38074 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38075 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38076 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
38077 (__ASSUME_ACCEPT4): Define instead of using previous
38078 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
38079 __powerpc__ || __sparc__ || __s390__)] condition.
38080 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38081 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38082 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38083 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38084 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38085 [!__ASSUME_ACCEPT4]: Change condition to
38086 [!__ASSUME_ACCEPT4_SOCKETCALL].
38087 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38088 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
38089 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38090 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38091 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38092 __ASSUME_ACCEPT4_SYSCALL.
38093 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
38094 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
38095 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38096 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
38097 __ASSUME_ACCEPT4_SYSCALL.
38098 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
38099 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38100 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38101 [__ASSUME_ACCEPT4]: Change condition to
38102 [__ASSUME_ACCEPT4_SOCKETCALL].
38103 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38104 (__ASSUME_SOCKETCALL): Define.
38105 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
38106 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38107 (__ASSUME_SOCKETCALL): Define.
38108 (__ASSUME_ACCEPT4): Remove.
38109 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
38110 Define.
38111 * sysdeps/unix/sysv/linux/mips/kernel-features.h
38112 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
38113 Likewise.
38114 * sysdeps/unix/sysv/linux/tile/kernel-features.h
38115 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38116
38117 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
38118 macro.
38119 (HWCAP_ARM_LPAE): Likewise.
38120 (HWCAP_ARM_EVTSTRM): Likewise.
38121 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
38122 Add vpfd32, lpae and evtstrm.
38123 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
38124 Increase to 22.
38125
38126 2014-02-19 Joseph Myers <joseph@codesourcery.com>
38127
38128 * math/auto-libm-test-in: Add tests of clog10.
38129 * math/auto-libm-test-out: Regenerated.
38130 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
38131 * sysdeps/i386/fpu/libm-test-ulps: Update.
38132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38133
38134 2014-02-18 Andreas Schwab <schwab@suse.de>
38135
38136 [BZ #16574]
38137 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
38138 Store non-zero if the second buffer was newly allocated.
38139 (send_dg): Likewise.
38140 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
38141 to send_vc and send_dg.
38142 (res_nsend): Pass NULL for ansp2_malloced.
38143 * resolv/res_query.c (__libc_res_nquery): Add parameter
38144 answerp2_malloced and pass it down to __libc_res_nsend.
38145 (res_nquery): Pass additional NULL to __libc_res_nquery.
38146 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
38147 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
38148 second answer buffer if answerp2_malloced was set.
38149 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
38150 (__libc_res_nquerydomain): Add parameter
38151 answerp2_malloced and pass it down to __libc_res_nquery.
38152 (res_nquerydomain): Pass additional NULL to
38153 __libc_res_nquerydomain.
38154 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
38155 additional NULL to __libc_res_nsend and __libc_res_nquery.
38156 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
38157 additional NULL to __libc_res_nsearch.
38158 (_nss_dns_gethostbyname4_r): Revert last change. Use new
38159 parameter of __libc_res_nsearch to check for separately allocated
38160 second buffer.
38161 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
38162 __libc_res_nquery.
38163 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
38164 additional NULL to __libc_res_nquery.
38165 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
38166 __libc_res_nsearch.
38167 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
38168 * include/resolv.h: Update prototypes of __libc_res_nquery,
38169 __libc_res_nsearch, __libc_res_nsend.
38170
38171 2014-02-18 Joseph Myers <joseph@codesourcery.com>
38172
38173 * math/auto-libm-test-in: Add tests of fma.
38174 * math/auto-libm-test-out: Regenerated.
38175 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
38176 (fma_towardzero_test_data): Likewise.
38177 (fma_downward_test_data): Likewise.
38178 (fma_upward_test_data): Likewise.
38179 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
38180 mpc_mode.
38181 (rounding_modes): Add values for new field.
38182 (func_calc_method): Add value mpfr_fff_f.
38183 (func_calc_desc): Add mpfr_fff_f union field.
38184 (test_function): Add field exact_args.
38185 (FUNC): Add macro argument EXACT_ARGS.
38186 (FUNC_mpfr_f_f): Update call to FUNC.
38187 (FUNC_mpfr_f_f): Likewise.
38188 (FUNC_mpfr_ff_f): Likewise.
38189 (FUNC_mpfr_if_f): Likewise.
38190 (FUNC_mpc_c_f): Likewise.
38191 (FUNC_mpc_c_c): Likewise.
38192 (test_functions): Add fma. Update calls to FUNC.
38193 (handle_input_arg): Add argument exact_args.
38194 (add_test): Update call to handle_input_arg.
38195 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
38196 (output_for_one_input_case): Update call to calc_generic_results.
38197 Recalculate exact zero results in each rounding mode.
38198
38199 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
38200 non-negative before setting low bit.
38201 * math/auto-libm-test-in: Mark one asin test possibly having
38202 spurious underflow.
38203 * math/auto-libm-test-out: Regenerated.
38204 * sysdeps/i386/fpu/libm-test-ulps: Update.
38205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38206
38207 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
38208
38209 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38210 * sysdeps/unix/sysv/linux/microblaze: Move directory from
38211 ports/sysdeps/unix/sysv/linux/microblaze.
38212 * README: Add missing listing for microblaze*-*-linux-gnu.
38213
38214 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
38215
38216 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38217 duplicate code
38218
38219 2014-02-16 Mike Frysinger <vapier@gentoo.org>
38220
38221 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38222 * sysdeps/unix/sysv/linux/ia64: Move directory from
38223 ports/sysdeps/unix/sysv/linux/ia64.
38224 * README: Update listing for ia64-*-linux-gnu.
38225
38226 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
38227 Joseph Myers <joseph@codesourcery.com>
38228
38229 * Makeconfig (test-name): New variable.
38230 (evaluate-test): Likewise.
38231 * Makerules (do-test-clean): Remove .test-result files.
38232 (common-mostlyclean): Likewise.
38233 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38234 * scripts/evaluate-test.sh: New file.
38235
38236 2014-02-14 Joseph Myers <joseph@codesourcery.com>
38237
38238 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38239 separate $(objpfx)tst-fopenloc-cmp.out and
38240 $(objpfx)tst-fopenloc-mem.out targets.
38241 (tests): Update dependencies.
38242 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38243 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38244 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38245 (tst-rxspencer-no-utf8-ARGS): New variable.
38246 (tst-rxspencer-no-utf8-ENV): Likewise.
38247 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38248 instead of $(objpfx)tst-rxspencer-mem.
38249 ($(objpfx)tst-rxspencer-mem): Change target to
38250 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
38251 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38252 * posix/tst-rxspencer-no-utf8.c: New file.
38253
38254 * elf/Makefile ($(objpfx)order.out): Remove rule.
38255 [$(run-built-tests) = yes] (tests): Depend on
38256 $(objpfx)order-cmp.out.
38257 ($(objpfx)order-cmp.out): New rule.
38258 [$(run-built-tests) = yes] (tests): Depend on
38259 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38260 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38261 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38262 $(objpfx)tst-array5-static-cmp.out.
38263 ($(objpfx)tst-array1.out): Remove rule.
38264 ($(objpfx)tst-array1-cmp.out): New rule.
38265 ($(objpfx)tst-array1-static.out): Remove rule.
38266 ($(objpfx)tst-array1-static-cmp.out): New rule.
38267 ($(objpfx)tst-array2.out): Remove rule.
38268 ($(objpfx)tst-array2-cmp.out): New rule.
38269 ($(objpfx)tst-array3.out): Remove rule.
38270 ($(objpfx)tst-array3-cmp.out): New rule.
38271 ($(objpfx)tst-array4.out): Remove rule.
38272 ($(objpfx)tst-array4-cmp.out): New rule.
38273 ($(objpfx)tst-array5.out): Remove rule.
38274 ($(objpfx)tst-array5-cmp.out): New rule.
38275 ($(objpfx)tst-array5-static.out): Remove rule.
38276 ($(objpfx)tst-array5-static-cmp.out): New rule.
38277 [$(run-built-tests) = yes] (tests): Depend on
38278 $(objpfx)order2-cmp.out.
38279 ($(objpfx)order2.out): Remove rule.
38280 ($(objpfx)order2-cmp.out): New rule.
38281 ($(objpfx)tst-initorder.out): Remove rule.
38282 [$(run-built-tests) = yes] (tests): Depend on
38283 $(objpfx)tst-initorder-cmp.out.
38284 ($(objpfx)tst-initorder-cmp.out): New rule.
38285 ($(objpfx)tst-initorder2.out): Remove rule.
38286 [$(run-built-tests) = yes] (tests): Depend on
38287 $(objpfx)tst-initorder2-cmp.out.
38288 ($(objpfx)tst-initorder2-cmp.out): New rule.
38289 [$(run-built-tests) = yes] (tests): Depend on
38290 $(objpfx)tst-unused-dep-cmp.out.
38291 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38292 ($(objpfx)tst-unused-dep-cmp.out): New rule.
38293 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38294 on $(objpfx)tst-setvbuf1-cmp.out.
38295 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38296 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38297 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38298 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38299 ($(objpfx)tst-svc.out): Remove rule.
38300 ($(objpfx)tst-svc-cmp.out): New rule.
38301
38302 2014-02-13 Joseph Myers <joseph@codesourcery.com>
38303
38304 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38305 * ctype/ctype.h [__USE_MISC]: Likewise.
38306 * dirent/dirent.h [__USE_MISC]: Likewise.
38307 * grp/grp.h [__USE_MISC]: Likewise.
38308 * io/fcntl.h [__USE_MISC]: Likewise.
38309 * io/sys/stat.h [__USE_MISC]: Likewise.
38310 * libio/stdio.h [__USE_MISC]: Likewise.
38311 * posix/unistd.h [__USE_MISC]: Likewise.
38312 * pwd/pwd.h [__USE_MISC]: Likewise.
38313 * stdlib.h [__USE_MISC]: Likewise.
38314 * string/bits/string2.h [__USE_MISC]: Likewise.
38315 * string/string.h [__USE_MISC]: Likewise.
38316 * time/time.h [__USE_MISC]: Likewise.
38317
38318 2014-02-13 Andreas Schwab <schwab@suse.de>
38319
38320 [BZ #16574]
38321 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38322 second answer buffer if it was separately allocated.
38323
38324 2014-02-12 Joseph Myers <joseph@codesourcery.com>
38325
38326 * sysdeps/mips/math-tests.h: Include <features.h>.
38327 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38328 (ROUNDING_TESTS_long_double): Do not define.
38329 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38330 (EXCEPTION_TESTS_long_double): Likewise.
38331 * sysdeps/mips/mips64/libm-test-ulps: Update.
38332
38333 * include/features.h (__USE_BSD): Remove macro definitions.
38334 (__USE_SVID): Likewise.
38335 (_BSD_SOURCE): Likewise.
38336 (_SVID_SOURCE): Likewise.
38337 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38338 from definition of _DEFAULT_SOURCE.
38339 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38340 [_DEFAULT_SOURCE].
38341 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38342 * bits/mman.h [__USE_BSD]: Likewise.
38343 * bits/termios.h [__USE_BSD]: Likewise.
38344 * bits/waitstatus.h [__USE_BSD]: Likewise.
38345 * ctype/ctype.h [__USE_SVID]: Likewise.
38346 * dirent/dirent.h [__USE_BSD]: Likewise.
38347 * grp/grp.h [__USE_SVID]: Likewise.
38348 [__USE_BSD]: Likewise.
38349 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38350 * io/fcntl.h [__USE_BSD]: Likewise.
38351 * io/ftw.h [__USE_BSD]: Likewise.
38352 * io/sys/stat.h [__USE_BSD]: Likewise.
38353 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38354 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38355 * libio/stdio.h [__USE_SVID]: Likewise.
38356 [__USE_BSD]: Likewise.
38357 * math/math.h [__USE_SVID]: Likewise.
38358 [__USE_BSD]: Likewise.
38359 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
38360 * misc/bits/syslog.h [__USE_BSD]: Likewise.
38361 * misc/search.h [__USE_SVID]: Likewise.
38362 * misc/sys/mman.h [__USE_BSD]: Likewise.
38363 * misc/sys/syslog.h [__USE_BSD]: Likewise.
38364 * misc/sys/uio.h [__USE_BSD]: Likewise.
38365 * posix/bits/unistd.h [__USE_BSD]: Likewise.
38366 * posix/glob.h [__USE_BSD]: Likewise.
38367 * posix/regex.h [__USE_BSD]: Likewise.
38368 * posix/sys/types.h [__USE_BSD]: Likewise.
38369 [__USE_SVID]: Likewise.
38370 * posix/sys/utsname.h [__USE_SVID]: Likewise.
38371 * posix/sys/wait.h [__USE_BSD]: Likewise.
38372 [__USE_SVID]: Likewise.
38373 * posix/unistd.h [__USE_BSD]: Likewise.
38374 [__USE_SVID]: Likewise.
38375 * pwd/pwd.h [__USE_SVID]: Likewise.
38376 * resolv/netdb.h [__USE_BSD]: Likewise.
38377 * setjmp/setjmp.h [__USE_BSD]: Likewise.
38378 * signal/signal.h [__USE_BSD]: Likewise.
38379 [__USE_SVID]: Likewise.
38380 * socket/sys/socket.h [__USE_BSD]: Likewise.
38381 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
38382 * stdlib/stdlib.h [__USE_BSD]: Likewise.
38383 [__USE_SVID]: Likewise.
38384 * string/bits/string2.h [__USE_BSD]: Likewise.
38385 [__USE_SVID]: Likewise.
38386 * string/bits/string3.h [__USE_BSD]: Likewise.
38387 * string/endian.h [__USE_BSD]: Likewise.
38388 * string/string.h [__USE_SVID]: Likewise.
38389 [__USE_BSD]: Likewise.
38390 * string/strings.h [__USE_BSD]: Likewise.
38391 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
38392 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
38393 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
38394 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
38395 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
38396 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
38397 Likewise.
38398 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
38399 Likewise.
38400 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
38401 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
38402 Likewise.
38403 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
38404 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
38405 Likewise.
38406 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
38407 Likewise.
38408 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
38409 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
38410 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
38411 Likewise.
38412 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
38413 Likewise.
38414 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
38415 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
38416 * termios/termios.h [__USE_BSD]: Likewise.
38417 * time/sys/time.h [__USE_BSD]: Likewise.
38418 * time/time.h [__USE_BSD]: Likewise.
38419 [__USE_SVID]: Likewise.
38420
38421 * Makefile (subdir_targets): Remove subdir_lint.out.
38422
38423 * stdio-common/Makefile (do-tst-unbputc): Remove target.
38424 (do-tst-printf): Likewise.
38425 (tests): Depend directly on $(objpfx)tst-unbputc.out and
38426 $(objpfx)tst-printf.out.
38427
38428 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
38429
38430 * Makerules (check-abi-%): Change target to
38431 $(objpfx)check-abi-%.out.
38432 (check-abi target): Update dependencies.
38433 (check-abi-pattern variable): Redirect output of diff to $@.
38434 (check-abi variable): Likewise.
38435 * elf/Makefile (check-abi): Update dependencies.
38436
38437 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
38438 unused.
38439 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
38440 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
38441 subnormal range.
38442 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
38443 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
38444 value has largest subnormal exponent.
38445 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
38446 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
38447 * sysdeps/aarch64/soft-fp/sfp-machine.h
38448 (_FP_TININESS_AFTER_ROUNDING): New macro.
38449 * sysdeps/alpha/soft-fp/sfp-machine.h
38450 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38451 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38452 Likewise.
38453 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38454 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38455 * sysdeps/mips/soft-fp/sfp-machine.h
38456 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38457 * sysdeps/powerpc/soft-fp/sfp-machine.h
38458 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38459 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38460 Likewise.
38461 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38462 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38463 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38464 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38465 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38466 Likewise.
38467
38468 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
38469
38470 [BZ #16545]
38471 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38472 model 1.
38473
38474 2014-02-12 Richard Henderson <rth@redhat.com>
38475
38476 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38477 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38478 * sysdeps/unix/sysv/linux/alpha: Move directory from
38479 ports/sysdeps/unix/sysv/linux/alpha.
38480 * README: Update listing for alpha-*-linux-gnu.
38481
38482 2014-02-11 Joseph Myers <joseph@codesourcery.com>
38483
38484 * include/features.h: Update comment documenting feature test
38485 macros.
38486 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
38487 _DEFAULT_SOURCE.
38488 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38489 (_SVID_SOURCE): Likewise.
38490 (_DEFAULT_SOURCE): Update description of default features.
38491 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38492 with _GNU_SOURCE.
38493 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38494 (S_ISVTX): Likewise.
38495 * manual/math.texi (Mathematical Constants): Likewise.
38496 * manual/signal.texi (Interrupted Primitives): Likewise.
38497 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38498 * math/test-matherr.c (_SVID_SOURCE): Do not define.
38499 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38500 Don't refer to _SVID_SOURCE in warning text.
38501
38502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38503
38504 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38505 already defined.
38506 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38507 * sysdeps/mips/dl-lookup.c: Remove.
38508 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38509
38510 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
38511
38512 [BZ #16447]
38513 * math/auto-libm-test-in: Add testcase for expl.
38514 * math/auto-libm-test-out: Regenerate.
38515 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38516 calculation of unsafe.
38517 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38518
38519 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
38520
38521 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38522 * sysdeps/unix/sysv/linux/aarch64: Move directory from
38523 ports/sysdeps/unix/sysv/linux/aarch64.
38524 * README: Update listing for aarch64*-*-linux-gnu.
38525
38526 2014-02-11 Will Newton <will.newton@linaro.org>
38527
38528 * manual/probes.texi (Mathematical Function Probes): Use
38529 "triggered" instead of "hit".
38530
38531 * manual/probes.texi (Internal Probes): Add documentation
38532 of setjmp, longjmp and longjmp_target probes.
38533
38534 * include/stap-probe.h: Add comment about probe argument
38535 format.
38536
38537 * malloc/mtrace.c (attribute_hidden): Remove unused macro
38538 definition. (tr_where, tr_freehook, tr_mallochook,
38539 tr_reallochook, tr_memalignhook): Use ANSI protoype.
38540
38541 2014-02-11 David S. Miller <davem@davemloft.net>
38542
38543 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38544 processing int_tests.
38545
38546 2014-02-10 Joseph Myers <joseph@codesourcery.com>
38547
38548 * sysdeps/mips: Move directory from ports/sysdeps/mips.
38549 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38550 * sysdeps/unix/sysv/linux/mips: Move directory from
38551 ports/sysdeps/unix/sysv/linux/mips.
38552 * README: Update listing for mips-*-linux-gnu and
38553 mips64-*-linux-gnu.
38554
38555 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
38556
38557 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38558 * sysdeps/unix/sysv/linux/m68k: Move directory from
38559 ports/sysdeps/unix/sysv/linux/m68k.
38560 * README: Update listing for m68k-*-linux-gnu.
38561
38562 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
38563
38564 * sysdeps/tile: Move directory from ports/sysdeps/tile.
38565 * sysdeps/unix/sysv/linux/generic: Move directory from
38566 ports/sysdeps/unix/sysv/linux/generic.
38567 * sysdeps/unix/sysv/linux/tile: Move directory from
38568 ports/sysdeps/unix/sysv/linux/tile.
38569 * README: Update listing for tile*-*-linux-gnu.
38570
38571 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
38572
38573 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38574 __builtin_expect.
38575 * benchtests/bench-memmem.c (simple_memmem): Likewise.
38576 * catgets/open_catalog.c (__open_catalog): Likewise.
38577 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38578 * debug/confstr_chk.c: Likewise.
38579 * debug/fread_chk.c (__fread_chk): Likewise.
38580 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38581 * debug/getgroups_chk.c: Likewise.
38582 * debug/mbsnrtowcs_chk.c: Likewise.
38583 * debug/mbsrtowcs_chk.c: Likewise.
38584 * debug/mbstowcs_chk.c: Likewise.
38585 * debug/memcpy_chk.c: Likewise.
38586 * debug/memmove_chk.c: Likewise.
38587 * debug/mempcpy_chk.c: Likewise.
38588 * debug/memset_chk.c: Likewise.
38589 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38590 * debug/strcat_chk.c (__strcat_chk): Likewise.
38591 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38592 * debug/strncat_chk.c (__strncat_chk): Likewise.
38593 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38594 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38595 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38596 * debug/wcpncpy_chk.c: Likewise.
38597 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38598 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38599 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38600 * debug/wcsncpy_chk.c: Likewise.
38601 * debug/wcsnrtombs_chk.c: Likewise.
38602 * debug/wcsrtombs_chk.c: Likewise.
38603 * debug/wcstombs_chk.c: Likewise.
38604 * debug/wmemcpy_chk.c: Likewise.
38605 * debug/wmemmove_chk.c: Likewise.
38606 * debug/wmempcpy_chk.c: Likewise.
38607 * debug/wmemset_chk.c: Likewise.
38608 * dirent/scandirat.c (SCANDIRAT): Likewise.
38609 * dlfcn/dladdr1.c (dladdr1): Likewise.
38610 * dlfcn/dladdr.c (dladdr): Likewise.
38611 * dlfcn/dlclose.c (dlclose_doit): Likewise.
38612 * dlfcn/dlerror.c (__dlerror): Likewise.
38613 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38614 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38615 * dlfcn/dlopen.c (dlopen_doit): Likewise.
38616 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38617 * dlfcn/dlsym.c (dlsym_doit): Likewise.
38618 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38619 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38620 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38621 Likewise.
38622 * elf/dl-conflict.c: Likewise.
38623 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38624 * elf/dl-dst.h: Likewise.
38625 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38626 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38627 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38628 * elf/dl-init.c (call_init, _dl_init): Likewise.
38629 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38630 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38631 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38632 Likewise.
38633 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38634 Likewise.
38635 * elf/dl-minimal.c (__libc_memalign): Likewise.
38636 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38637 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38638 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38639 * elf/dl-sym.c (do_sym): Likewise.
38640 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38641 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38642 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38643 * elf/dl-writev.h (_dl_writev): Likewise.
38644 * elf/ldconfig.c (search_dir): Likewise.
38645 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38646 (dl_main): Likewise.
38647 * elf/setup-vdso.h (setup_vdso): Likewise.
38648 * grp/compat-initgroups.c (compat_call): Likewise.
38649 * grp/fgetgrent.c (fgetgrent): Likewise.
38650 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38651 * grp/putgrent.c (putgrent): Likewise.
38652 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38653 Likewise.
38654 * hurd/hurdinit.c: Likewise.
38655 * iconvdata/8bit-gap.c (struct): Likewise.
38656 * iconvdata/ansi_x3.110.c : Likewise.
38657 * iconvdata/big5.c : Likewise.
38658 * iconvdata/big5hkscs.c : Likewise.
38659 * iconvdata/cp1255.c: Likewise.
38660 * iconvdata/cp1258.c : Likewise.
38661 * iconvdata/cp932.c : Likewise.
38662 * iconvdata/euc-cn.c: Likewise.
38663 * iconvdata/euc-jisx0213.c : Likewise.
38664 * iconvdata/euc-jp.c: Likewise.
38665 * iconvdata/euc-jp-ms.c : Likewise.
38666 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38667 * iconvdata/gb18030.c : Likewise.
38668 * iconvdata/gbbig5.c (const): Likewise.
38669 * iconvdata/gbgbk.c: Likewise.
38670 * iconvdata/gbk.c : Likewise.
38671 * iconvdata/ibm1364.c : Likewise.
38672 * iconvdata/ibm930.c : Likewise.
38673 * iconvdata/ibm932.c: Likewise.
38674 * iconvdata/ibm933.c : Likewise.
38675 * iconvdata/ibm935.c : Likewise.
38676 * iconvdata/ibm937.c : Likewise.
38677 * iconvdata/ibm939.c : Likewise.
38678 * iconvdata/ibm943.c: Likewise.
38679 * iconvdata/iso_11548-1.c: Likewise.
38680 * iconvdata/iso-2022-cn.c : Likewise.
38681 * iconvdata/iso-2022-cn-ext.c : Likewise.
38682 * iconvdata/iso-2022-jp-3.c: Likewise.
38683 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38684 * iconvdata/iso-2022-kr.c : Likewise.
38685 * iconvdata/iso646.c (gconv_end): Likewise.
38686 * iconvdata/iso_6937-2.c : Likewise.
38687 * iconvdata/iso_6937.c : Likewise.
38688 * iconvdata/iso8859-1.c: Likewise.
38689 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38690 * iconvdata/shift_jisx0213.c : Likewise.
38691 * iconvdata/sjis.c : Likewise.
38692 * iconvdata/t.61.c : Likewise.
38693 * iconvdata/tcvn5712-1.c : Likewise.
38694 * iconvdata/tscii.c: Likewise.
38695 * iconvdata/uhc.c : Likewise.
38696 * iconvdata/unicode.c (gconv_end): Likewise.
38697 * iconvdata/utf-16.c (gconv_end): Likewise.
38698 * iconvdata/utf-32.c (gconv_end): Likewise.
38699 * iconvdata/utf-7.c (base64): Likewise.
38700 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38701 * iconv/gconv_close.c (__gconv_close): Likewise.
38702 * iconv/gconv_open.c (__gconv_open): Likewise.
38703 * iconv/gconv_simple.c (internal_ucs4_loop_single)
38704 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38705 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38706 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38707 (ucs4le_internal_loop_single): Likewise.
38708 * iconv/iconv.c (iconv): Likewise.
38709 * iconv/iconv_close.c: Likewise.
38710 * iconv/loop.c (SINGLE): Likewise.
38711 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38712 * include/atomic.h: Likewise.
38713 * inet/inet6_option.c (option_alloc): Likewise.
38714 * intl/bindtextdom.c (set_binding_values): Likewise.
38715 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38716 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38717 * intl/localealias.c (read_alias_file): Likewise.
38718 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38719 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38720 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38721 * libio/fmemopen.c (fmemopen): Likewise.
38722 * libio/iofgets.c (_IO_fgets): Likewise.
38723 * libio/iofgets_u.c (fgets_unlocked): Likewise.
38724 * libio/iofgetws.c (fgetws): Likewise.
38725 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38726 * libio/iogetdelim.c (_IO_getdelim): Likewise.
38727 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38728 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38729 * locale/findlocale.c (_nl_find_locale): Likewise.
38730 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38731 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38732 Likewise.
38733 * locale/setlocale.c (setlocale): Likewise.
38734 * login/programs/pt_chown.c (main): Likewise.
38735 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38736 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38737 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38738 (mmap, mmap64, mremap, munmap): Likewise.
38739 * math/e_exp2l.c: Likewise.
38740 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38741 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38742 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38743 * math/s_catan.c (__catan): Likewise.
38744 * math/s_catanf.c (__catanf): Likewise.
38745 * math/s_catanh.c (__catanh): Likewise.
38746 * math/s_catanhf.c (__catanhf): Likewise.
38747 * math/s_catanhl.c (__catanhl): Likewise.
38748 * math/s_catanl.c (__catanl): Likewise.
38749 * math/s_ccosh.c (__ccosh): Likewise.
38750 * math/s_ccoshf.c (__ccoshf): Likewise.
38751 * math/s_ccoshl.c (__ccoshl): Likewise.
38752 * math/s_cexp.c (__cexp): Likewise.
38753 * math/s_cexpf.c (__cexpf): Likewise.
38754 * math/s_cexpl.c (__cexpl): Likewise.
38755 * math/s_clog10.c (__clog10): Likewise.
38756 * math/s_clog10f.c (__clog10f): Likewise.
38757 * math/s_clog10l.c (__clog10l): Likewise.
38758 * math/s_clog.c (__clog): Likewise.
38759 * math/s_clogf.c (__clogf): Likewise.
38760 * math/s_clogl.c (__clogl): Likewise.
38761 * math/s_csin.c (__csin): Likewise.
38762 * math/s_csinf.c (__csinf): Likewise.
38763 * math/s_csinh.c (__csinh): Likewise.
38764 * math/s_csinhf.c (__csinhf): Likewise.
38765 * math/s_csinhl.c (__csinhl): Likewise.
38766 * math/s_csinl.c (__csinl): Likewise.
38767 * math/s_csqrt.c (__csqrt): Likewise.
38768 * math/s_csqrtf.c (__csqrtf): Likewise.
38769 * math/s_csqrtl.c (__csqrtl): Likewise.
38770 * math/s_ctan.c (__ctan): Likewise.
38771 * math/s_ctanf.c (__ctanf): Likewise.
38772 * math/s_ctanh.c (__ctanh): Likewise.
38773 * math/s_ctanhf.c (__ctanhf): Likewise.
38774 * math/s_ctanhl.c (__ctanhl): Likewise.
38775 * math/s_ctanl.c (__ctanl): Likewise.
38776 * math/w_pow.c: Likewise.
38777 * math/w_powf.c: Likewise.
38778 * math/w_powl.c: Likewise.
38779 * math/w_scalb.c (sysv_scalb): Likewise.
38780 * math/w_scalbf.c (sysv_scalbf): Likewise.
38781 * math/w_scalbl.c (sysv_scalbl): Likewise.
38782 * misc/error.c (error_tail): Likewise.
38783 * misc/pselect.c (__pselect): Likewise.
38784 * nis/nis_callback.c (__nis_create_callback): Likewise.
38785 * nis/nis_call.c (__nisfind_server): Likewise.
38786 * nis/nis_creategroup.c (nis_creategroup): Likewise.
38787 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38788 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38789 * nis/nis_getservlist.c (nis_getservlist): Likewise.
38790 * nis/nis_lookup.c (nis_lookup): Likewise.
38791 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38792 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38793 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38794 * nis/nis_xdr.c (xdr_endpoint): Likewise.
38795 * nis/nss_compat/compat-grp.c (getgrent_next_file)
38796 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38797 * nis/nss_compat/compat-initgroups.c (add_group)
38798 (internal_getgrent_r): Likewise.
38799 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38800 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38801 * nis/nss_compat/compat-spwd.c (getspent_next_file)
38802 (internal_getspnam_r): Likewise.
38803 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38804 (_nss_nis_getaliasbyname_r): Likewise.
38805 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38806 (_nss_nis_getntohost_r): Likewise.
38807 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38808 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38809 (_nss_nis_getgrgid_r): Likewise.
38810 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38811 (internal_nis_gethostent_r, internal_gethostbyname2_r)
38812 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38813 (_nss_nis_gethostbyname4_r): Likewise.
38814 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38815 (initgroups_netid): Likewise.
38816 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38817 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38818 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38819 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38820 (_nss_nis_getprotobynumber_r): Likewise.
38821 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38822 (_nss_nis_getsecretkey): Likewise.
38823 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38824 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38825 (_nss_nis_getpwuid_r): Likewise.
38826 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38827 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38828 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38829 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38830 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38831 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38832 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38833 Likewise.
38834 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38835 (_nss_nisplus_getntohost_r): Likewise.
38836 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38837 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38838 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38839 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38840 Likewise.
38841 * nis/nss_nisplus/nisplus-initgroups.c
38842 (_nss_nisplus_initgroups_dyn): Likewise.
38843 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38844 (_nss_nisplus_getnetbyaddr_r): Likewise.
38845 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38846 (_nss_nisplus_getprotobynumber_r): Likewise.
38847 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38848 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38849 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38850 Likewise.
38851 * nis/nss_nisplus/nisplus-service.c
38852 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38853 (_nss_nisplus_getservbyport_r): Likewise.
38854 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38855 (_nss_nisplus_getspnam_r): Likewise.
38856 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38857 Likewise.
38858 * nscd/aicache.c (addhstaiX): Likewise.
38859 * nscd/cache.c (cache_search, prune_cache): Likewise.
38860 * nscd/connections.c (register_traced_file, send_ro_fd)
38861 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38862 (main_loop_epoll): Likewise.
38863 * nscd/grpcache.c (addgrbyX): Likewise.
38864 * nscd/hstcache.c (addhstbyX): Likewise.
38865 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38866 * nscd/mem.c (gc, mempool_alloc): Likewise.
38867 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38868 (addinnetgrX): Likewise.
38869 * nscd/nscd-client.h (__nscd_acquire_maplock)
38870 (__nscd_drop_map_ref): Likewise.
38871 * nscd/nscd_getai.c (__nscd_getai): Likewise.
38872 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38873 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38874 Likewise.
38875 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38876 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38877 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38878 (__nscd_get_map_ref): Likewise.
38879 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38880 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38881 Likewise.
38882 * nscd/pwdcache.c (addpwbyX): Likewise.
38883 * nscd/selinux.c (preserve_capabilities): Likewise.
38884 * nscd/servicescache.c (addservbyX): Likewise.
38885 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38886 * posix/fnmatch.c (fnmatch): Likewise.
38887 * posix/getopt.c (_getopt_internal_r): Likewise.
38888 * posix/glob.c (glob, glob_in_dir): Likewise.
38889 * posix/wordexp.c (exec_comm_child): Likewise.
38890 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38891 (getanswer_r, gaih_getanswer_slice): Likewise.
38892 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38893 * resolv/res_init.c: Likewise.
38894 * resolv/res_mkquery.c (res_nmkquery): Likewise.
38895 * resolv/res_query.c (__libc_res_nquery): Likewise.
38896 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38897 Likewise.
38898 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38899 * stdio-common/perror.c (perror): Likewise.
38900 * stdio-common/printf_fp.c (___printf_fp): Likewise.
38901 * stdio-common/tmpnam.c (tmpnam): Likewise.
38902 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38903 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38904 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38905 Likewise.
38906 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38907 * stdlib/putenv.c (putenv): Likewise.
38908 * stdlib/setenv.c (__add_to_environ): Likewise.
38909 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38910 * stdlib/strtol_l.c (INTERNAL): Likewise.
38911 * string/memmem.c (memmem): Likewise.
38912 * string/strerror.c (strerror): Likewise.
38913 * string/strnlen.c (__strnlen): Likewise.
38914 * string/test-memmem.c (simple_memmem): Likewise.
38915 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38916 * sunrpc/pm_getport.c (__get_socket): Likewise.
38917 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38918 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38919 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38920 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38921 Likewise.
38922 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38923 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38924 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38925 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38926 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38927 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38928 Likewise.
38929 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38930 Likewise.
38931 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38932 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38933 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38934 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38935 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38937 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38938 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38939 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38940 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38941 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38942 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38943 Likewise.
38944 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38945 Likewise.
38946 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38947 Likewise.
38948 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38949 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38950 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38951 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38952 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38953 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38954 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38955 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38956 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38957 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38958 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38959 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38960 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38961 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38963 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38964 Likewise.
38965 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38966 Likewise.
38967 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38968 Likewise.
38969 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38970 Likewise.
38971 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38972 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38973 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38974 Likewise.
38975 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38976 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38977 * sysdeps/posix/opendir.c (__opendirat): Likewise.
38978 * sysdeps/posix/sleep.c: Likewise.
38979 * sysdeps/posix/tempname.c: Likewise.
38980 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38981 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38982 Likewise.
38983 * sysdeps/powerpc/powerpc32/dl-machine.h
38984 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38985 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38986 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38987 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38988 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38989 Likewise.
38990 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38991 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38992 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38993 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38994 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38995 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38996 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38997 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38998 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38999 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
39000 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
39001 (elf_machine_lazy_rel): Likewise.
39002 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39003 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
39004 (elf_machine_lazy_rel): Likewise.
39005 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
39006 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
39007 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
39008 * sysdeps/unix/grantpt.c (grantpt): Likewise.
39009 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
39010 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
39011 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
39012 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39013 Likewise.
39014 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
39015 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
39016 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
39017 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
39018 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39019 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39020 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
39021 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
39022 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
39023 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39024 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39025 Likewise.
39026 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
39027 (__posix_fallocate64_l64): Likewise.
39028 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
39029 (posix_fallocate): Likewise.
39030 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
39031 Likewise.
39032 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39033 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
39034 (getifaddrs_internal): Likewise.
39035 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
39036 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
39037 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39038 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39039 * sysdeps/unix/sysv/linux/posix_fallocate64.c
39040 (__posix_fallocate64_l64): Likewise.
39041 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
39042 Likewise.
39043 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
39044 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
39045 (__get_clockfreq): Likewise.
39046 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
39047 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
39048 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
39049 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39050 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39051 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
39052 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
39053 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
39054 Likewise.
39055 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
39056 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
39057 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
39058 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
39059 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39060 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
39061 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
39062 Likewise.
39063 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39064 (posix_fallocate): Likewise.
39065 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39066 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
39067 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
39068 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
39069 (elf_machine_rela, elf_machine_rela_relative)
39070 (elf_machine_lazy_rel): Likewise.
39071 * time/asctime.c (asctime_internal): Likewise.
39072 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
39073 * time/tzset.c (__tzset_parse_tz): Likewise.
39074 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39075 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39076 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
39077 * wcsmbs/wcsmbsload.h: Likewise.
39078
39079 [BZ #15894]
39080 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39081
39082 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39083 (arena_get2): Remove THREAD_STATS conditionals.
39084 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39085 (__malloc_stats, int): Likewise.
39086
39087 2014-02-08 Mike Frysinger <vapier@gentoo.org>
39088
39089 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39090 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
39091
39092 * manual/setjmp.texi: Fix typos/grammar errors.
39093
39094 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
39095 Only return early when n is <= 0. Delete unused return statement.
39096
39097 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
39098 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
39099 * debug/tst-longjmp_chk3.c: New file.
39100
39101 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
39102 (test_main): Replace code with set_fortify_handler call.
39103 * debug/test-strcpy_chk.c: Likewise.
39104 * debug/tst-chk1.c: Likewise.
39105 * debug/tst-longjmp_chk.c: Likewise.
39106 * test-skeleton.c: Include fcntl.h & paths.h
39107 (set_fortify_handler): Define.
39108
39109 * debug/tst-longjmp_chk.c: Add header comment and include
39110 ../test-skeleton.c.
39111 (do_test): Mark static.
39112 (TEST_FUNCTION): Define.
39113
39114 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
39115 (IP_PMTUDISC_INTERFACE): Likewise.
39116 (IP_MULTICAST_IF): Likewise.
39117 (IP_MULTICAST_TTL): Likewise.
39118 (IP_MULTICAST_LOOP): Likewise.
39119 (IP_ADD_MEMBERSHIP): Likewise.
39120 (IP_DROP_MEMBERSHIP): Likewise.
39121 (IP_UNBLOCK_SOURCE): Likewise.
39122 (IP_BLOCK_SOURCE): Likewise.
39123 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
39124 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
39125 (IP_MSFILTER): Likewise.
39126 (MCAST_JOIN_GROUP): Likewise.
39127 (MCAST_BLOCK_SOURCE): Likewise.
39128 (MCAST_UNBLOCK_SOURCE): Likewise.
39129 (MCAST_LEAVE_GROUP): Likewise.
39130 (MCAST_JOIN_SOURCE_GROUP): Likewise.
39131 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
39132 (MCAST_MSFILTER): Likewise.
39133 (IP_MULTICAST_ALL): Likewise.
39134 (IP_UNICAST_IF): Likewise.
39135
39136 * timezone/Makefile: Delete $(have-ksh) check.
39137 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
39138 * timezone/tzselect.ksh: Add +x mode bits.
39139
39140 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
39141 (ANON_INODE_FS_MAGIC): Likewise.
39142 (BDEVFS_MAGIC): Likewise.
39143 (BINFMTFS_MAGIC): Likewise.
39144 (BTRFS_TEST_MAGIC): Likewise.
39145 (CRAMFS_MAGIC_WEND): Likewise.
39146 (DEBUGFS_MAGIC): Likewise.
39147 (ECRYPTFS_SUPER_MAGIC): Likewise.
39148 (EXT3_SUPER_MAGIC): Likewise.
39149 (EXT4_SUPER_MAGIC): Likewise.
39150 (FUTEXFS_SUPER_MAGIC): Likewise.
39151 (HOSTFS_SUPER_MAGIC): Likewise.
39152 (HUGETLBFS_MAGIC): Likewise.
39153 (MINIX3_SUPER_MAGIC): Likewise.
39154 (MTD_INODE_FS_MAGIC): Likewise.
39155 (NILFS_SUPER_MAGIC): Likewise.
39156 (OPENPROM_SUPER_MAGIC): Likewise.
39157 (PIPEFS_MAGIC): Likewise.
39158 (PSTOREFS_MAGIC): Likewise.
39159 (QNX6_SUPER_MAGIC): Likewise.
39160 (RAMFS_MAGIC): Likewise.
39161 (REISERFS_SUPER_MAGIC_STRING): Likewise.
39162 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
39163 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
39164 (SECURITYFS_MAGIC): Likewise.
39165 (SELINUX_MAGIC): Likewise.
39166 (SMACK_MAGIC): Likewise.
39167 (SOCKFS_MAGIC): Likewise.
39168 (SQUASHFS_MAGIC): Likewise.
39169 (STACK_END_MAGIC): Likewise.
39170 (TMPFS_MAGIC): Likewise.
39171 (USBDEVICE_SUPER_MAGIC): Likewise.
39172 (V9FS_MAGIC): Likewise.
39173 (XENFS_SUPER_MAGIC): Likewise.
39174 (CRAMFS_MAGIC): Fix typo in comment.
39175 (EXT2_SUPER_MAGIC): Update comment.
39176 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
39177
39178 2014-02-08 Joseph Myers <joseph@codesourcery.com>
39179
39180 * sysdeps/arm: Move directory from ports/sysdeps/arm.
39181 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
39182 * sysdeps/unix/sysv/linux/arm: Move directory from
39183 ports/sysdeps/unix/sysv/linux/arm.
39184 * README: Update listing for arm-*-linux-gnueabi.
39185
39186 * README: Remove mention of am33.
39187
39188 2014-02-07 Roland McGrath <roland@hack.frob.com>
39189
39190 * bits/sigset.h (__sigemptyset): Use a statement expression rather
39191 than the comma operator, to avoid "rhs of comma has no effect"
39192 compiler warnings.
39193 (__sigfillset, __sigandset, __sigorset): Likewise.
39194 * include/signal.h (__sigemptyset): Likewise.
39195 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
39196
39197 2014-02-07 Allan McRae <allan@archlinux.org>
39198
39199 * version.h (RELEASE): Set to "development".
39200 (VERSION): Set to "2.19.90"
39201 * NEWS: Add 2.20 section.
39202
39203 2014-02-06 Carlos O'Donell <carlos@redhat.com>
39204
39205 [BZ #16529]
39206 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39207
39208 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39209
39210 * manual/contrib.texi: Update entry for Carlos O'Donell,
39211 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39212
39213 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
39214
39215 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39216
39217 * sysdeps/unix/sysv/linux/kernel-features.h
39218 [__LINUX_KERNEL_VERSION >= 0x020621]
39219 (__ASSUME_PROC_PID_TASK_COMM): Define.
39220
39221 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39222
39223 [BZ #16398]
39224 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39225 conversion when destination buffer does not have enough space.
39226 * libio/tst-ftell-partial-wide.c: New test case.
39227 * libio/Makefile (tests): Add tst-ftell-partial-wide.
39228
39229 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39230 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
39231 Leonard and Allan McRae.
39232
39233 2014-02-04 David S. Miller <davem@davemloft.net>
39234
39235 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39236 32-bit.
39237
39238 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39239
39240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39241 New file
39242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39243 New file
39244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39245 New file.
39246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39247 New file.
39248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39249 New file.
39250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39251 New file.
39252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39253 New file.
39254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39255 New file.
39256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39257 New file.
39258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39259 New file.
39260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39261 New file.
39262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39263 New file.
39264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39265 New file.
39266
39267 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39268
39269 * nptl/shlib-versions: Change powerpc*le start to 2.17.
39270 * shlib-versions: Likewise.
39271
39272 2014-02-04 Roland McGrath <roland@hack.frob.com>
39273 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39274
39275 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39276 (abilist-pattern): New variable, set to %-le.abilist.
39277
39278 * Makerules (abilist-pattern): New variable.
39279 (vpath): Use $(abilist-pattern) in place of %.abilist.
39280 (check-abi-% pattern rule): Likewise.
39281 (check-abi, update-abi): Likewise.
39282
39283 2014-02-04 Eric Wong <normalperson@yhbt.net>
39284
39285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39286
39287 2014-02-03 Carlos O'Donell <carlos@redhat.com>
39288
39289 * manual/startup.texi: Add next, previous, and top entries for
39290 the `Program Arguments' and `Environment Variables' nodes.
39291
39292 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
39293
39294 * manual/macros.texi: Add comments before MTASC-safety macros.
39295
39296 * manual/users.texi: Document MTASC-safety properties.
39297
39298 * manual/threads.texi (pthread_key_create, pthread_key_delete)
39299 (pthread_getspecific, pthread_setspecific): Format with
39300 @deftypefun, and add @safety note.
39301 * manual/signal.texi: Move comments that analyze the above
39302 functions to their home place.
39303
39304 2014-02-03 Allan McRae <allan@archlinux.org>
39305
39306 * po/sl.po: Update Slovenian translation from translation project.
39307
39308 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
39309
39310 * manual/time.texi (timegm): Add missing blank after @c.
39311 Reported by Joseph Myers <joseph@codesourcery.com>.
39312
39313 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
39314
39315 * manual/check-safety.sh: New.
39316 * manual/Makefile ($(objpfx)stamp-summary): Run it.
39317
39318 * manual/terminal.texi: Document MTASC-safety properties.
39319
39320 * manual/filesys.texi: Document MTASC-safety properties.
39321
39322 * manual/errno.texi: Document MTASC-safety properties.
39323
39324 * manual/intro.texi: Document safety identifiers and
39325 conditionals.
39326
39327 * manual/string.texi (wcstok): Fix prototype.
39328 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39329
39330 * manual/time.texi: Document MTASC-safety properties.
39331
39332 * manual/string.texi: Document MTASC-safety properties.
39333
39334 * manual/threads.texi: Document MTASC-safety properties.
39335
39336 * manual/stdio.texi: Document MTASC-safety properties.
39337
39338 * manual/syslog.texi: Document MTASC-safety properties.
39339
39340 * manual/sysinfo.texi: Document MTASC-safety properties.
39341
39342 * manual/startup.texi: Document MTASC-safety properties.
39343
39344 * manual/socket.texi: Document MTASC-safety properties.
39345
39346 * manual/signal.texi: Document MTASC-safety properties.
39347
39348 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
39349
39350 * manual/setjmp.texi: Document MTASC-safety properties.
39351
39352 * manual/search.texi: Document MTASC-safety properties.
39353
39354 * manual/resource.texi: Document MTASC-safety properties.
39355
39356 * manual/process.texi: Document MTASC-safety properties.
39357
39358 * manual/platform.texi: Document MTASC-safety properties.
39359
39360 * manual/pipe.texi: Document MTASC-safety properties.
39361
39362 * manual/pattern.texi: Document MTASC-safety properties.
39363
39364 * manual/message.texi: Document MTASC-safety properties.
39365
39366 [BZ #12751]
39367 * manual/memory.texi: Document MTASC-safety properties.
39368
39369 * manual/math.texi: Document MTASC-safety properties.
39370
39371 * manual/locale.texi: Document MTASC-safety properties.
39372
39373 * manual/llio.texi: Document MTASC-safety properties.
39374
39375 * manual/libdl.texi: New.
39376
39377 * manual/lang.texi: Document MTASC-safety properties.
39378
39379 * manual/job.texi: Document MTASC-safety properties.
39380
39381 * manual/getopt.texi: Document MTASC-safety properties.
39382
39383 * manual/ctype.texi: Document MTASC-safety properties.
39384
39385 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
39386
39387 [BZ #16046]
39388 * csu/libc-tls.c (static_map): Remove variable.
39389 (__libc_setup_tls): Use main executable's link map for TLS data.
39390 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
39391 casing for LM_ID_BASE and GL(dl_nns).
39392 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
39393 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
39394 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
39395 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
39396 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
39397 member.
39398 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
39399 l_phnum members.
39400
39401 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
39402
39403 * manual/debug.texi: Document MTASC-safety properties.
39404
39405 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
39406
39407 [BZ #16510]
39408 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
39409 of __x86_64__ when disabling x87 inline functions.
39410
39411 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
39412
39413 * manual/charset.texi: Document MTASC-safety properties.
39414
39415 * manual/crypt.texi: Document MTASC-safety properties.
39416
39417 * manual/conf.texi: Document MTASC-safety properties.
39418
39419 * manual/arith.texi: Document MTASC-safety properties.
39420
39421 * manual/argp.texi: Document MTASC-safety properties.
39422
39423 * manual/macros.texi: Introduce macros to document multi
39424 thread, asynchronous signal and asynchronous cancellation
39425 safety properties.
39426 * manual/intro.texi: Introduce the properties themselves.
39427
39428 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39429
39430 * sysdeps/sh/sh4/Makefile: New file.
39431
39432 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
39433
39434 * math/gen-libm-test.pl ($srcdir): New variable.
39435 ($auto_input): Use it.
39436
39437 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39438
39439 [BZ #16506]
39440 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
39441 access beyond array bounds when parsing netgroups file.
39442
39443 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
39444 the old buffer before realloc.
39445
39446 2014-01-27 Allan McRae <allan@archlinux.org>
39447
39448 * po/fr.po: Update French translation from translation project.
39449
39450 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39451
39452 * sysdeps/sh/libm-test-ulps: Regenerate.
39453
39454 2014-01-24 David S. Miller <davem@davemloft.net>
39455
39456 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39457
39458 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39459
39460 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39461 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39462
39463 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39464
39465 [BZ #16474]
39466 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39467 string pointers after reallocation.
39468
39469 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39470
39471 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39472 __SH4A__ instead of __SH_FPU_ANY__.
39473
39474 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39475
39476 * sysdeps/sh/fpu_control.h: New file.
39477 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39478 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39479 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39480 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39481 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39482 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39483 * sysdeps/sh/sys/ucontext.h: Remove.
39484 * sysdeps/sh/sys: Remove directory.
39485
39486 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39487
39488 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39489 s390/sys/ucontext.h.
39490 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39491 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39492
39493 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
39494
39495 [BZ #15605]
39496 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39497
39498 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39499
39500 [BZ#16431]
39501 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39502 Adjust the vDSO correctly for internal calls.
39503 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39504
39505 2014-01-20 Allan McRae <allan@archlinux.org>
39506
39507 * po/ca.po: Update Catalan translation from translation project.
39508
39509 2014-01-16 Mike Frysinger <vapier@gentoo.org>
39510
39511 * sysdeps/s390/sotruss-lib.c: New file.
39512
39513 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39514
39515 [BZ#16430]
39516 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39517 (__GI___gettimeofday): Alias for a different internal symbol to avoid
39518 local calls issues by not having a PLT stub required for IFUNC calls.
39519 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39520
39521 2014-01-16 Joseph Myers <joseph@codesourcery.com>
39522
39523 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39524 * math/test-fpucw-static.c: Likewise.
39525
39526 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39527
39528 [BZ #16453]
39529 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39530
39531 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39532
39533 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39534 implementation for powerpc.
39535
39536 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
39537
39538 [BZ #14782]
39539 * sysdeps/posix/system.c (__libc_system): Do not enable
39540 asynchronous cancellation.
39541
39542 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39543
39544 [BZ #16427]
39545 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39546 handling only for numbers special also in the IEEE case.
39547
39548 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39549
39550 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39551
39552 2014-01-11 Allan McRae <allan@archlinux.org>
39553
39554 * po/bg.po: Update Bulgarian translation from translation project.
39555
39556 * po/de.po: Update German translation from translation project.
39557
39558 2014-01-10 Roland McGrath <roland@hack.frob.com>
39559
39560 * sysdeps/generic/gcc-compat.h: New file.
39561
39562 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39563
39564 * benchtests/asin-inputs: Correct slow inputs.
39565 * benchtests/acos-inputs: Likewise.
39566
39567 2014-01-10 Allan McRae <allan@archlinux.org>
39568
39569 * po:sv.po: Update Swedish translation from translation project.
39570
39571 * po/vi.po: Update Vietnamese translation from translation project.
39572
39573 * po/eo.po: Update Esperanto translation from translation project.
39574
39575 * po/cs.po: Update Czech translation from translation project.
39576
39577 * po/nl.po: Update Dutch translation from translation project.
39578
39579 * po/pl.po: Update Polish translation from translation project.
39580
39581 * po/ru.po: Update Russian translation from translation project.
39582
39583 * po/uk.po: Update Ukrainian translation from translation project.
39584
39585 2014-01-08 Brooks Moses <bmoses@google.com>
39586
39587 * elf/dl-load.c: Fix comment typo.
39588
39589 2014-01-08 Carlos O'Donell <carlos@redhat.com>
39590
39591 * po/header.pot: Rename to...
39592 * po/pot.header: ... this.
39593 * po/Makefile: Use pot.header.
39594
39595 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
39596 Maxim Kuvyrkov <maxim@kugelworks.com>
39597
39598 [BZ #16394]
39599 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39600 SRC and DEST against LEN.
39601
39602 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39603
39604 [BZ #16414]
39605 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39606 implementation.
39607 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39608
39609 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39610
39611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39612
39613 2014-01-08 Joseph Myers <joseph@codesourcery.com>
39614
39615 [BZ #16408]
39616 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39617 for large positive arguments.
39618
39619 2014-01-07 Joseph Myers <joseph@codesourcery.com>
39620
39621 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39622
39623 * math/auto-libm-test-in: Mark various tests with
39624 xfail-rounding:ldbl-128ibm.
39625 * math/auto-libm-test-out: Regenerated.
39626
39627 [BZ #16407]
39628 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39629 Increase overflow threshold.
39630
39631 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
39632
39633 [BZ #14286]
39634 * stdio-common/vfprintf.c: Check for integer overflow.
39635
39636 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39637
39638 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39639 the first argument and return value of __tls_get_addr_internal.
39640
39641 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39642
39643 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39644 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39645
39646 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39647
39648 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39649 * sysdeps/s390/rtld-global-offsets.sym: New file.
39650 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39651 GLIBC_2.19 symbol.
39652 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39653 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39654 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39655 ... this.
39656 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39657 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39658 ... this.
39659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39660 Regenerate.
39661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39662 Regenerate.
39663 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39664 halfs of GPRs for high_gprs contexts.
39665 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39666 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
39667 field.
39668 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39669 uc_flags field.
39670 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39671 64 bit versions:
39672 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39673 for high GPRs (uc_high_gprs) and for future extensions
39674 (__reserved).
39675 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39676 for future extensions (__reserved).
39677 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39678 64 bit versions:
39679 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39680 SC_HIGHGPRS offset definition.
39681 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39682 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39683
39684 * Versions.def: Add GLIBC_2.19 for libpthread.
39685 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39686 siglongjmp for libpthread with GLIBC_2.19 symver.
39687 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39688 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39689 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39690 * sysdeps/s390/__longjmp.c: New file.
39691 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39692 * sysdeps/s390/longjmp.c: New file.
39693 * sysdeps/s390/setjmp.S: New file.
39694 * sysdeps/s390/sigjmp.S: New file.
39695 * sysdeps/s390/v1-longjmp.c: New file.
39696 * sysdeps/s390/v1-setjmp.h: New file.
39697 * sysdeps/s390/v1-sigjmp.c: New file.
39698 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39699 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39700 GLIBC_2.19 version.
39701 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39702 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39703 versioned symbols for ____longjmp_chk.
39704 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39705 Likewise.
39706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39707 Regenerate.
39708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39709 Regenerate.
39710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39711 Regenerate.
39712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39713 Regenerate.
39714 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39715 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39716 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39717 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39718 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39719 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39720 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39721 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39722 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39723 * sysdeps/s390/rtld-__longjmp.c: New file.
39724 * sysdeps/s390/rtld-setjmp.S: New file.
39725
39726 2014-01-06 Joseph Myers <joseph@codesourcery.com>
39727
39728 [BZ #16400]
39729 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39730 Return -__logl (x) for small positive arguments without evaluating
39731 a polynomial.
39732
39733 2014-01-06 Mike Frysinger <vapier@gentoo.org>
39734
39735 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39736 Rename to ...
39737 (__ptrace_peeksiginfo_args): ... this.
39738 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39739 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39740 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39741
39742 2014-01-06 Allan McRae <allan@archlinux.org>
39743
39744 * inet/netinet/in.h: Fix typo in comment.
39745
39746 2014-01-05 Andreas Jaeger <aj@suse.de>
39747
39748 * sysdeps/i386/fpu/libm-test-ulps: Update.
39749
39750 2014-01-05 Allan McRae <allan@archlinux.org>
39751
39752 * po/libc.pot: Regenerated.
39753
39754 * malloc/memusagestat.c: Fix gettext call formatting.
39755
39756 2014-01-04 Sami Kerola <kerolasa@iki.fi>
39757
39758 * nscd/nscd.c: Improve usage() output.
39759
39760 2014-01-04 Mike Frysinger <vapier@gentoo.org>
39761
39762 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39763 * sysdeps/unix/sysv/linux/configure: Regenerated.
39764 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39765 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39766
39767 2014-01-03 Joseph Myers <joseph@codesourcery.com>
39768
39769 [BZ #16390]
39770 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39771 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39772
39773 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39774
39775 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39776 extra tokens at end of #undef directive.
39777 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39778 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39779 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39780
39781 2014-01-03 Joseph Myers <joseph@codesourcery.com>
39782
39783 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39784
39785 * math/auto-libm-test-in: Mark various tests with
39786 xfail-rounding:ldbl-128ibm.
39787 * math/auto-libm-test-out: Regenerated.
39788
39789 2014-01-02 Joseph Myers <joseph@codesourcery.com>
39790
39791 [BZ #16386]
39792 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39793 numbers with subnormal high part when calculating exponent.
39794
39795 [BZ #16385]
39796 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39797 fabs.
39798
39799 [BZ #16384]
39800 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39801 M_LN2l.
39802 (__ieee754_acoshl): Use __log1pl not __log1p.
39803
39804 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
39805
39806 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39807 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39808 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39809 (grow_heap, heap_trim, _int_new_arena, get_free_list)
39810 (reused_arena, arena_get2): Convert to GNU style.
39811 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39812 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39813 (memalign_check, __malloc_set_state): Likewise.
39814 * malloc/mallocbug.c (main): Likewise.
39815 * malloc/malloc.c (__malloc_assert, malloc_init_state)
39816 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39817 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39818 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39819 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39820 (__posix_memalign, malloc_info): Likewise.
39821 * malloc/malloc.h: Likewise.
39822 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39823 (mallochook, memalignhook, reallochook, mabort): Likewise.
39824 * malloc/mcheck.h: Likewise.
39825 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39826 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39827 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39828 * malloc/morecore.c (__default_morecore): Likewise.
39829 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39830 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39831 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39832 (print_and_abort): Likewise.
39833 * malloc/obstack.h: Likewise.
39834 * malloc/set-freeres.c (__libc_freeres): Likewise.
39835 * malloc/tst-mallocstate.c (main): Likewise.
39836 * malloc/tst-mtrace.c (main): Likewise.
39837 * malloc/tst-realloc.c (do_test): Likewise.
39838
39839 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39840
39841 [BZ #16366]
39842 * nscd/netgroupcache.c (do_notfound): New function.
39843 (addgetnetgrentX): Use it.
39844
39845 [BZ # 16365]
39846 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39847 NSS_STATUS_NOTFOUND.
39848
39849 2014-01-01 Joseph Myers <joseph@codesourcery.com>
39850
39851 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39853
39854 2014-01-01 Allan McRae <allan@archlinux.org>
39855
39856 * scripts/update-copyrights: Update configure input file suffix.
39857
39858 * NEWS: Update copyright year.
39859 * catgets/gencat.c: Likewise.
39860 * csu/version.c: Likewise.
39861 * debug/catchsegv.sh: Likewise.
39862 * debug/pcprofiledump.c: Likewise.
39863 * debug/xtrace.sh: Likewise.
39864 * elf/ldconfig.c: Likewise.
39865 * elf/ldd.bash.in: Likewise.
39866 * elf/pldd.c: Likewise.
39867 * elf/sotruss.ksh: Likewise.
39868 * elf/sprof.c: Likewise.
39869 * iconv/iconv_prog.c: Likewise.
39870 * iconv/iconvconfig.c: Likewise.
39871 * locale/programs/locale.c: Likewise.
39872 * locale/programs/localedef.c: Likewise.
39873 * login/programs/pt_chown.c: Likewise.
39874 * malloc/memusage.sh: Likewise.
39875 * malloc/memusagestat.c: Likewise.
39876 * malloc/mtrace.pl: Likewise.
39877 * manual/libc.texinfo: Likewise.
39878 * nscd/nscd.c: Likewise.
39879 * nss/getent.c: Likewise.
39880 * nss/makedb.c: Likewise.
39881 * posix/getconf.c: Likewise.
39882 * scripts/test-installation.pl: Likewise.
39883
39884 * All files with FSF copyright notices: Update copyright dates
39885 using scripts/update-copyrights.
39886 * intl/plural.c: Regenerated.
39887 * locale/programs/charmap-kw.h: Likewise.
39888 * locale/programs/locfile-kw.h: Likewise.
39889
39890 2013-12-31 Mike Frysinger <vapier@gentoo.org>
39891
39892 * sysdeps/unix/sysv/linux/configure: Regenerated.
39893 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39894 the linux/fanotify.h header.
39895 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39896 HAVE_LINUX_FANOTIFY_H is defined.
39897
39898 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39899
39900 * benchtests/cos-inputs: New inputs.
39901 * benchtests/sin-inputs: Likewise.
39902
39903 * benchtests/atan-inputs: New inputs. Fix name of multiple
39904 precision fallback inputs.
39905
39906 * benchtests/atanh-inputs: New inputs.
39907 * benchtests/tanh-inputs: Likewise.
39908
39909 * benchtests/acosh-inputs: New inputs.
39910 * benchtests/asinh-inputs: Likewise.
39911
39912 * benchtests/cosh-inputs: New inputs.
39913 * benchtests/sinh-inputs: Likewise.
39914
39915 * benchtests/acos-inputs: Add more inputs.
39916 * benchtests/asin-inputs: Likewise.
39917
39918 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
39919
39920 [BZ #16375]
39921 * manual/arith.texi: Fix spelling.
39922 * manual/charset.texi: Likewise.
39923 * manual/errno.texi: Likewise.
39924 * manual/filesys.texi: Likewise.
39925 * manual/lang.texi: Likewise.
39926 * manual/llio.texi: Likewise.
39927 * manual/locale.texi: Likewise.
39928 * manual/message.texi: Likewise.
39929 * manual/resource.texi: Likewise.
39930 * manual/search.texi: Likewise.
39931 * manual/setjmp.texi: Likewise.
39932 * manual/stdio.texi: Likewise.
39933 * manual/string.texi: Likewise.
39934 * manual/sysinfo.texi: Likewise.
39935 * manual/time.texi: Likewise.
39936
39937 2013-12-27 Carlos O'Donell <carlos@redhat.com>
39938
39939 * po/sl.po: New file.
39940
39941 2013-12-27 Mike Frysinger <vapier@gentoo.org>
39942
39943 * .gitignore: Add core/.gdbinit/.gdb_history.
39944
39945 2013-12-27 Allan McRae <allan@archlinux.org>
39946
39947 [BZ #16369]
39948 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39949 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39950
39951 2013-12-24 Brooks Moses <bmoses@google.com>
39952
39953 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39954 all compilers that claim C++98 compliance, not just GCC.
39955 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39956 Likewise.
39957
39958 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
39959
39960 * NEWS: Restore accidentally deleted bug-fix entries.
39961
39962 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
39963 Ondřej Bílka <neleai@seznam.cz>
39964
39965 [BZ #15073]
39966 * malloc/malloc.c (_int_free): Perform sanity check only if we
39967 have_lock.
39968
39969 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
39970
39971 [BZ #12986]
39972 * manual/stdio.texi (String Input Conversions): Clarify that character
39973 classes are not supported.
39974
39975 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39976
39977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39978
39979 2013-12-22 Joseph Myers <joseph@codesourcery.com>
39980
39981 [BZ #16337]
39982 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39983 Calculate results for small negative arguments directly rather
39984 than using reflection formula with special underflow handling.
39985
39986 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39987 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39988 sysdeps/unix/bsd/bsd4.4/syscalls.list.
39989 (fchflags): Likewise.
39990 (revoke): Likewise.
39991 (setlogin): Likewise.
39992 (sigaltstack): Likewise.
39993 (wait4): Likewise.
39994 (sigblock): Remove.
39995 (sigsetmask): Likewise.
39996 (wait3): Likewise.
39997 (waitpid): Likewise.
39998 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39999 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
40000 file.
40001 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
40002 * sysdeps/unix/bsd/Makefile: ... here.
40003 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
40004 * sysdeps/unix/bsd/Versions: ... here.
40005 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
40006 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
40007 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
40008 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
40009 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
40010 * sysdeps/unix/bsd/sigblock.c: ... here.
40011 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
40012 * sysdeps/unix/bsd/sigsetmask.c: ... here.
40013 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
40014 * sysdeps/unix/bsd/sigvec.c: ... here.
40015 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
40016 * sysdeps/unix/bsd/tcdrain.c: ... here.
40017 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
40018 * sysdeps/unix/bsd/tcgetattr.c: ... here.
40019 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
40020 * sysdeps/unix/bsd/tcsetattr.c: ... here.
40021 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
40022 * sysdeps/unix/bsd/wait.c: ... here.
40023 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
40024 * sysdeps/unix/bsd/wait3.c: ... here.
40025 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
40026 * sysdeps/unix/bsd/waitpid.c: ... here.
40027
40028 2013-12-21 Joseph Myers <joseph@codesourcery.com>
40029
40030 [BZ #16356]
40031 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
40032 round-to-nearest for [!USE_AS_EXPM1L].
40033 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
40034 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
40035 more tests of exp and exp10. Expect some exp10 tests to miss
40036 exceptions or fail in directed rounding modes.
40037 * math/auto-libm-test-out: Regenerated.
40038 * math/libm-test.inc (exp10_tonearest_test_data): New array.
40039 (exp10_test_tonearest): New function.
40040 (exp10_towardzero_test_data): New array.
40041 (exp10_test_towardzero): New function.
40042 (exp10_downward_test_data): New array.
40043 (exp10_test_downward): New function.
40044 (exp10_upward_test_data): New array.
40045 (exp10_test_upward): New function.
40046 (main): Call the new functions.
40047 * sysdeps/i386/fpu/libm-test-ulps: Update.
40048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40049
40050 2013-12-20 Joseph Myers <joseph@codesourcery.com>
40051
40052 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40053 asinh, atan, atan2, atanh, cbrt, cos and cosh.
40054 * math/auto-libm-test-out: Regenerated.
40055 * math/libm-test.inc (acosh_test_data): Add more tests.
40056 (atanh_test_data): Likewise.
40057 (ceil_test_data): Likewise.
40058 (copysign_test_data): Likewise.
40059 * sysdeps/i386/fpu/libm-test-ulps: Update.
40060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40061
40062 * timezone/checktab.awk: Update from tzcode 2013i.
40063 * timezone/private.h: Likewise.
40064 * timezone/scheck.c: Likewise.
40065 * timezone/tzfile.h: Likewise.
40066 * timezone/tzselect.ksh: Likewise.
40067 * timezone/zdump.c: Likewise.
40068 * timezone/zic.c: Likewise.
40069
40070 * math/auto-libm-test-in: Add tests of cpow.
40071 * math/auto-libm-test-out: Regenerated.
40072 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
40073 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40074 mpc_cc_c.
40075 (func_calc_desc): Add mpc_cc_c union field.
40076 (test_functions): Add cpow.
40077 (special_fill_2pi): New function.
40078 (special_real_inputs): Add 2pi.
40079 (calc_generic_results): Handle mpc_cc_c.
40080 * sysdeps/i386/fpu/libm-test-ulps: Update.
40081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40082
40083 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40084 csqrt, ctan and ctanh.
40085 * math/auto-libm-test-out: Regenerated.
40086 * math/libm-test.inc (TEST_COND_x86_64): New macro.
40087 (TEST_COND_x86): Likewise.
40088 (ccos_test_data): Use AUTO_TESTS_c_c.
40089 (ccosh_test_data): Likewise.
40090 (cexp_test_data): Likewise.
40091 (clog_test_data): Likewise.
40092 (csqrt_test_data): Likewise.
40093 (ctan_test_data): Likewise.
40094 (ctan_tonearest_test_data): Likewise.
40095 (ctan_towardzero_test_data): Likewise.
40096 (ctan_downward_test_data): Likewise.
40097 (ctan_upward_test_data): Likewise.
40098 (ctanh_test_data): Likewise.
40099 (ctanh_tonearest_test_data): Likewise.
40100 (ctanh_towardzero_test_data): Likewise.
40101 (ctanh_downward_test_data): Likewise.
40102 (ctanh_upward_test_data): Likewise.
40103 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40104 mpc_c_c.
40105 (func_calc_desc): Add mpc_c_c union field.
40106 (FUNC_mpc_c_c): New macro.
40107 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
40108 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
40109 ctanh.
40110 (special_fill_min_subnorm_p120): New function.
40111 (special_real_inputs): Add min_subnorm_p120.
40112 (calc_generic_results): Handle mpc_c_c.
40113 * sysdeps/i386/fpu/libm-test-ulps: Update.
40114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40115
40116 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40117
40118 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
40119 (do_sin_slow): New functions.
40120 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
40121 (cslow2, csloww1, csloww2): Use the new functions.
40122
40123 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
40124 Use M to change sign of result instead of X. Assume X is
40125 positive.
40126 (csloww1): Likewise.
40127 (__sin): Adjust.
40128 (__cos): Adjust.
40129
40130 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
40131 arguments A and DA.
40132 (__sin): Adjust.
40133 (__cos): Likewise.
40134
40135 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
40136 (__cos): Likewise.
40137 (sloww1): Don't adjust sign of DX.
40138 (csloww1): Likewise.
40139 (sloww2): Use X directly and don't adjust sign of DX.
40140 (csloww2): Likewise.
40141
40142 2013-12-19 Joseph Myers <joseph@codesourcery.com>
40143
40144 * math/auto-libm-test-in: Add tests of cabs and carg.
40145 * math/auto-libm-test-out: Regenerated.
40146 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
40147 (carg_test_data): Likewise.
40148 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40149 mpc_c_f.
40150 (func_calc_desc): Add mpc_c_f union field.
40151 (test_functions): Add cabs and carg.
40152 (calc_generic_results): Handle mpc_c_f.
40153
40154 * sysdeps/powerpc/powerpc32/libgcc-compat.S
40155 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
40156 as a macro and a compat symbol.
40157 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40158 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40159 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40160 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40161 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
40162 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
40163 not use .hidden.
40164 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
40165 Likewise.
40166 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
40167 Likewise.
40168 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
40169 Likewise.
40170 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40171 Likewise.
40172 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
40173 Likewise.
40174 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
40175 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
40176 from GLIBC_2.3.2.
40177
40178 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40179
40180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40181
40182 2013-12-19 Joseph Myers <joseph@codesourcery.com>
40183
40184 * manual/texinfo.tex: Update to version 2013-11-26.10 with
40185 trailing whitespace removed.
40186 * scripts/config.guess: Update to version 2013-11-29.
40187 * scripts/config.sub: Update to version 2013-10-01.
40188
40189 * math/auto-libm-test-in: Add tests of sincos.
40190 * math/auto-libm-test-out: Regenerated.
40191 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
40192 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40193 mpfr_f_11.
40194 (func_calc_desc): Add mpfr_f_11 union field.
40195 (test_functions): Add sincos.
40196 (calc_generic_results): Handle mpfr_f_11.
40197 * sysdeps/i386/fpu/libm-test-ulps: Update.
40198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40199
40200 2013-12-19 Andreas Schwab <schwab@suse.de>
40201
40202 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
40203 CALL_MCOUNT.
40204 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40205 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40206 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40207
40208 2013-12-19 Joseph Myers <joseph@codesourcery.com>
40209
40210 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40211 * sysdeps/i386/fpu/libm-test-ulps: Update.
40212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40213
40214 [BZ #16293]
40215 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40216 round-to-nearest mode when using frndint.
40217 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40218 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40219 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40220 Likewise.
40221 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
40222 sinh test to fail.
40223 * math/auto-libm-test-out: Regenerated.
40224 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40225 (TEST_COND_x86): Likewise.
40226 (expm1_tonearest_test_data): New array.
40227 (expm1_test_tonearest): New function.
40228 (expm1_towardzero_test_data): New array.
40229 (expm1_test_towardzero): New function.
40230 (expm1_downward_test_data): New array.
40231 (expm1_test_downward): New function.
40232 (expm1_upward_test_data): New array.
40233 (expm1_test_upward): New function.
40234 (main): Run the new test functions.
40235 * sysdeps/i386/fpu/libm-test-ulps: Update.
40236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40237
40238 * include/features.h: Update comment documenting feature test
40239 macros. Mention _DEFAULT_SOURCE in comment.
40240 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40241 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40242 _BSD_SOURCE and _SVID_SOURCE.
40243 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40244 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40245 !_SVID_SOURCE]: Likewise.
40246 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40247 (__USE_POSIX_IMPLICITLY): Define.
40248 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40249 (_POSIX_SOURCE): Undefine and redefine.
40250 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40251 (_POSIX_C_SOURCE): Likewise.
40252 * manual/creature.texi (_DEFAULT_SOURCE): Document.
40253 (Feature Test Macros): Update documentation of default features.
40254
40255 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40256
40257 * benchtests/Makefile: Add bench-strtok.
40258 * benchtests/bench-strtok.c: New file: strtok benchtest.
40259
40260 2013-12-19 Allan McRae <allan@archlinux.org>
40261
40262 * manual/install.texi: Suppress menu for plain text output.
40263 * INSTALL: Regenerated.
40264
40265 2013-12-18 Brooks Moses <bmoses@google.com>
40266
40267 [BZ #15846]
40268 * misc/getauxval.c: Include errno.h.
40269 (__getauxval): Set errno to ENOENT if the requested type is not
40270 found.
40271 * misc/sys/auxv.h (getauxval): Document that it may set errno;
40272 don't declare with __attribute_const__.
40273 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40274 * manual/startup.texi: Document that getauxval sets errno.
40275
40276 2013-12-18 Joseph Myers <joseph@codesourcery.com>
40277
40278 * math/auto-libm-test-in: Add tests of jn and yn.
40279 * math/auto-libm-test-out: Regenerated.
40280 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40281 (yn_test_data): Likewise.
40282 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40283 mpfr_if_f.
40284 (func_calc_desc): Add mpfr_if_f union field.
40285 (FUNC_mpfr_if_f): New macro.
40286 (test_functions): Add jn and yn.
40287 (calc_generic_results): Assert type of second input for
40288 mpfr_ff_f. Handle mpfr_if_f.
40289 (output_for_one_input_case): Disable all checking for arguments
40290 fitting floating-point types in case of an integer argument.
40291 * sysdeps/i386/fpu/libm-test-ulps: Update.
40292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40293
40294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40295 Don't expect fegetround reference in libm.so.
40296
40297 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40298
40299 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40300 $(config-cflags-nofma).
40301
40302 2013-12-18 Joseph Myers <joseph@codesourcery.com>
40303
40304 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40305 * math/auto-libm-test-out: Regenerated.
40306
40307 [BZ #16338]
40308 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40309 to determine exponent and adjust argument to have exponent of -1.
40310 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40311 log2.
40312 * math/auto-libm-test-out: Regenerated.
40313 * sysdeps/i386/fpu/libm-test-ulps: Update.
40314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40315
40316 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
40317
40318 * manual/probes.texi: Remove cases when per-thread arenas are
40319 disabled.
40320
40321 2013-12-18 Andreas Schwab <schwab@suse.de>
40322
40323 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40324 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40325 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40326 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40327 * sysdeps/i386/i686/multiarch/Makefile: Update.
40328 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40329
40330 2013-12-17 Joseph Myers <joseph@codesourcery.com>
40331
40332 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40333 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40334
40335 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
40336
40337 [BZ #15968]
40338 Support TZ transition times < 00:00:00.
40339 This is needed for version-3 tz-format files; it supports time
40340 stamps past 2037 for America/Godthab (the only entry in the tz
40341 database for which this change is relevant).
40342 * manual/time.texi (TZ Variable): Document transition times
40343 from -167:59:59 through -00:00:01.
40344 * time/tzset.c (tz_rule): Time of day is now signed.
40345 (__tzset_parse_tz): Parse negative time of day.
40346
40347 Document TZ transition times >= 25:00:00.
40348 * manual/time.texi (TZ Variable): Document transition times from
40349 25:00:00 through 167:59:59. These are already supported, and this
40350 support will help with version-3 tz-format files.
40351
40352 * manual/time.texi (TZ Variable): Modernize North America example
40353 to reflect current (i.e., 2007-and-later) daylight saving rules.
40354
40355 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
40356
40357 2013-12-17 Joseph Myers <joseph@codesourcery.com>
40358
40359 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
40360 * sysdeps/unix/bsd/bits/stat.h: Likewise.
40361 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
40362 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40363 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
40364 * sysdeps/unix/bsd/bsdstat.h: Likewise.
40365 * sysdeps/unix/bsd/clock.c: Likewise.
40366 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
40367 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
40368 * sysdeps/unix/bsd/init-posix.c: Likewise.
40369 * sysdeps/unix/bsd/poll.c: Likewise.
40370 * sysdeps/unix/bsd/ptsname.c: Likewise.
40371 * sysdeps/unix/bsd/seekdir.c: Likewise.
40372 * sysdeps/unix/bsd/setegid.c: Likewise.
40373 * sysdeps/unix/bsd/seteuid.c: Likewise.
40374 * sysdeps/unix/bsd/setgid.c: Likewise.
40375 * sysdeps/unix/bsd/setrgid.c: Likewise.
40376 * sysdeps/unix/bsd/setruid.c: Likewise.
40377 * sysdeps/unix/bsd/setsid.c: Likewise.
40378 * sysdeps/unix/bsd/setuid.c: Likewise.
40379 * sysdeps/unix/bsd/sigaction.c: Likewise.
40380 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
40381 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
40382 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
40383 * sysdeps/unix/bsd/telldir.c: Likewise.
40384 * sysdeps/unix/bsd/times.c: Likewise.
40385 * sysdeps/unix/bsd/usleep.c: Likewise.
40386
40387 * misc/Makefile (install-lib): Remove libbsd-compat.a.
40388 ($(objpfx)libbsd-compat.a): Remove rule.
40389
40390 * include/features.h (__FAVOR_BSD): Do not define.
40391 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
40392 features conflicting with POSIX.
40393 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
40394 (_BSD_SOURCE): Remove description of not being a subset of other
40395 feature test macros.
40396 * manual/job.texi (getpgrp): Do not document BSD version.
40397 (getpgid): Do not document by reference to BSD getpgrp.
40398 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
40399 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
40400 * signal/signal.h [__FAVOR_BSD]: Likewise.
40401 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
40402 instead of making contents conditional on [__FAVOR_BSD].
40403 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
40404
40405 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40406
40407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40408
40409 2013-12-17 Joseph Myers <joseph@codesourcery.com>
40410
40411 [BZ #16314]
40412 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
40413 values below 2**-450, not 2**-500.
40414 * math/auto-libm-test-in: Don't allow spurious underflow from
40415 hypot.
40416 * math/auto-libm-test-out: Regenerated.
40417
40418 [BZ #16316]
40419 [BZ #16330]
40420 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
40421 values of ha and hb and sort them after adjusting subnormal
40422 arguments.
40423 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
40424 Likewise.
40425 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
40426 values of ea and eb and sort them after adjusting subnormal
40427 arguments.
40428 * math/auto-libm-test-in: Do not expect some hypot tests of
40429 subnormals to fail. Add more hypot tests.
40430 * math/auto-libm-test-out: Regenerated.
40431
40432 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40433
40434 [BZ #13304]
40435 * sysdeps/sh/s_fma.c: New file.
40436 * sysdeps/sh/s_fmaf.c: New file.
40437 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
40438 version.
40439 * sysdeps/sh/Implies: Add sh/soft-fp.
40440
40441 2013-12-16 Roland McGrath <roland@hack.frob.com>
40442
40443 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
40444 level of indirection to members `objname', `errstring', `malloced'.
40445 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
40446 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
40447 it as the __longjmp argument (just pass 1 instead).
40448 (_dl_catch_error): Initialize C with argument pointers and address of
40449 volatile local ERRCODE rather than copying values out of C at return.
40450
40451 2013-12-16 Joseph Myers <joseph@codesourcery.com>
40452
40453 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40454 * math/auto-libm-test-out: Regenerated.
40455 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40456 (hypot_test_data): Likewise.
40457 (pow_test_data): Likewise.
40458 (pow_tonearest_test_data): Likewise.
40459 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40460 mpfr_ff_f.
40461 (func_calc_desc): Add mpfr_ff_f union field.
40462 (FUNC_mpfr_ff_f): New macro.
40463 (test_functions): Add atan2, hypot and pow.
40464 (special_fill_min): New function.
40465 (special_fill_minus_min): Likewise.
40466 (special_fill_min_subnorm): Likewise.
40467 (special_fill_minus_min_subnorm): Likewise.
40468 (special_real_inputs): Add min, -min, min_subnorm and
40469 -min_subnorm.
40470 (calc_generic_results): Handle mpfr_ff_f.
40471 * sysdeps/i386/fpu/libm-test-ulps: Update.
40472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40473
40474 2013-12-16 Will Newton <will.newton@linaro.org>
40475
40476 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40477 (Aligned Memory Blocks): Add documentation for aligned_alloc
40478 and suggest it as an alternative to posix_memalign.
40479 (Hooks for Malloc): Document __memalign_hook is also called
40480 for aligned_alloc. (Summary of Malloc): Add summary for
40481 aligned alloc. Document __memalign_hook is also called
40482 for aligned_alloc.
40483
40484 2013-12-16 Will Newton <will.newton@linaro.org>
40485
40486 * manual/memory.texi (Malloc Examples): Clarify default
40487 alignment documentation. Suggest posix_memalign rather
40488 than memalign or valloc.
40489 (Aligned Memory Blocks): Remove suggestion to use memalign
40490 or valloc. Remove obsolete comment about BSD.
40491 Document memalign errno values and mark the function obsolete.
40492 Document posix_memalign returned error codes. Mark valloc
40493 as obsolete. (Hooks for Malloc): __memalign_hook is also
40494 called for posix_memalign and valloc.
40495 (Summary of Malloc): Add posix_memalign to function summary.
40496 __memalign_hook is also called for posix_memalign and valloc.
40497
40498 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40499
40500 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40501 TAYLOR_SIN.
40502 (__sin): Adjust.
40503 (__cos): Likewise.
40504 (sloww): Use mynumber union. Expand ternary operator into
40505 if-else statements.
40506 (cslow): use mynumber union.
40507
40508 2013-12-16 Allan McRae <allan@archlinux.org>
40509
40510 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40511 * configure: Regenerated.
40512
40513 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40514
40515 [BZ #14120]
40516 * configure.ac: Added --enable-maintainer-mode. Check for
40517 autoconf when enabled.
40518 * configure: Regenerated.
40519
40520 * nscd/nscd.service: New file.
40521 * nscd/nscd.tmpfiles: New file.
40522
40523 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
40524
40525 [BZ #12100]
40526 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40527 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40528 * sysdeps/x86_64/multiarch/strstr.c: ... here.
40529 (strstr): Add __strstr_sse2_unaligned ifunc.
40530 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40531 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40532 (strcasestr): Remove __strcasestr_sse42 ifunc.
40533 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40534 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40536
40537 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40538
40539 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40540 * sysdeps/sh/bits/fenv.h: ... here.
40541 * sysdeps/sh/sh4/fpu/bits: Remove directory.
40542
40543 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40544
40545 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40546
40547 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40548 hypotf multiarch implementations.
40549 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40550 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40551 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40552 multiarch hypot for PPC64.
40553 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40554 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40555 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40556 multiarch hypotf for PPC64.
40557
40558 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40559 modff multiarch implementations.
40560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40563 multiarch modf for PPC64.
40564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40567 multiarch modff for PPC64.
40568
40569 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40570 and logl multiarch implementations.
40571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40574 multiarch logb for PPC64.
40575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40578 multiarch logb for PPC64.
40579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40582 multiarch logb for PPC64.
40583
40584 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40585 isinff multiarch implementation.
40586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40587 file.
40588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40590 multiarch isinf for PPC64.
40591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40592 file.
40593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40594 multiarch isinff for PPC64.
40595
40596 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40597 finitef multiarch implementation.
40598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40599 file.
40600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40602 multiarch finite for PPC64.
40603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40604 file.
40605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40606 multiarch finitef for PPC64.
40607
40608 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40609 lrint multiarch implementation.
40610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40611 file.
40612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40614 multiarch llrint for PPC64.
40615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40616 multiarch lrint for PPC64.
40617
40618 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40619 copysignf multiarch implementation.
40620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40621 file.
40622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40623 file.
40624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40625 multiarch copysign for PPC64.
40626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40627 multiarch copysignf for PPC64.
40628
40629 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40630 multiarch implementation.
40631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40632 file.
40633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40634 file.
40635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40636 file.
40637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40638 file.
40639 multiarch llround for PPC64.
40640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40641 multiarch trunc for PPC64.
40642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40643 multiarch truncf for PPC64.
40644
40645 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40646 multiarch implementation.
40647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40648 file.
40649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40650 file.
40651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40652 file.
40653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40654 file.
40655 multiarch llround for PPC64.
40656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40657 multiarch round for PPC64.
40658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40659 multiarch roundf for PPC64.
40660
40661 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40662 multiarch implementation.
40663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40664 file.
40665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40666 file.
40667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40668 file.
40669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40670 file.
40671 multiarch llround for PPC64.
40672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40673 multiarch floor for PPC64.
40674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40675 multiarch floorf for PPC64.
40676
40677 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40678 multiarch implementation.
40679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40680 file.
40681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40682 file.
40683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40684 file.
40685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40686 file.
40687 multiarch llround for PPC64.
40688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40689 multiarch ceil for PPC64.
40690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40691 multiarch ceilf for PPC64.
40692
40693 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40694 multiarch implementation.
40695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40696 file.
40697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40698 file.
40699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40700 file.
40701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40702 multiarch llround for PPC64.
40703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40704 multiarch lround for PPC64.
40705
40706 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40707 multiarch implementation.
40708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40711 file.
40712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40715 multiarch isnan for PPC64.
40716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40717 multiarch isnanf for PPC64.
40718
40719 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40720 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40721 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40722 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40723 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40725
40726 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40727 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40728 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40729 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40730
40731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40732 multiarch implementations.
40733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40734 (__libc_ifunc_impl_list): Likewise.
40735 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40736 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40737 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40738 multiarch stpcpy for PPC64.
40739
40740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40741 multiarch implementations.
40742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40743 (__libc_ifunc_impl_list): Likewise.
40744 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40745 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40746 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40747 multiarch strcpy for PPC64.
40748
40749 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40750 redefine function name.
40751 (_wordcopy_fwd_dest_aligned): Likewise.
40752 (_wordcopy_bwd_aligned): Likewise.
40753 (_wordcopy_bwd_dest_aligned): Likewise.
40754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40755 multiarch implementations.
40756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40757 (__libc_ifunc_impl_list): Likewise.
40758 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40759 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40760 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40761 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40762 multiarch wcscpy for PPC64.
40763
40764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40765 multiarch implementations.
40766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40767 (__libc_ifunc_impl_list): Likewise.
40768 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40769 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40770 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40771 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40772 multiarch wcscpy for PPC64.
40773
40774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40775 multiarch implementations.
40776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40777 (__libc_ifunc_impl_list): Likewise.
40778 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40779 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40780 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40781 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40782 multiarch wcsrchr for PPC64.
40783
40784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40785 multiarch implementations.
40786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40787 (__libc_ifunc_impl_list): Likewise.
40788 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40789 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40790 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40791 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40792 multiarch wcschr for PPC64.
40793
40794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40795 multiarch implementations.
40796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40797 (__libc_ifunc_impl_list): Likewise.
40798 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40799 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40800 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40801 multiarch strchrnul for PPC64.
40802
40803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40804 implementations.
40805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40806 (__libc_ifunc_impl_list): Likewise.
40807 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40808 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40809 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40810 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40811 strchr for PPC64.
40812
40813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40814 implementations.
40815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40816 (__libc_ifunc_impl_list): Likewise.
40817 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40818 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40819 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40820 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40821 strncmp for PPC64.
40822
40823 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40824 multiarch implementations.
40825 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40826 (__libc_ifunc_impl_list): Likewise.
40827 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40828 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40829 strncasecmp for PPC64.
40830 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40831 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40832 multiarch strncasecmp_l for PPC64.
40833
40834 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40835 multiarch implementations.
40836 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40837 (__libc_ifunc_impl_list): Likewise.
40838 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40839 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40840 multiarch strcasecmp for PPC64.
40841 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40842 file.
40843 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40844 multiarch strcasecmp_l for PPC64.
40845
40846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40847 implementations.
40848 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40849 (__libc_ifunc_impl_list): Likewise.
40850 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40851 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40852 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40853 strnlen for PPC64.
40854
40855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40856 implementations.
40857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40858 (__libc_ifunc_impl_list): Likewise.
40859 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40860 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40861 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40862 strlen for PPC64.
40863
40864 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40865 implementations.
40866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40867 (__libc_ifunc_impl_list): Likewise.
40868 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40869 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40870 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40871 rawmemrchr for PPC64.
40872
40873 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40874 implementation.
40875 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40876 (__libc_ifunc_impl_list): Likewise.
40877 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40878 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40879 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40880 memrchr for PPC64.
40881
40882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40883 implementation.
40884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40885 (__libc_ifunc_impl_list): Likewise.
40886 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40887 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40888 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40889 memchr for PPC64.
40890
40891 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40892 implementation.
40893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40894 (__libc_ifunc_impl_list): Likewise.
40895 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40896 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40897 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40898 mempcpy for PPC64.
40899
40900 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40901 avoid cretion of __bzero symbol.
40902 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40903 Likewise.
40904 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40905 Likewise.
40906 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40907 Likewise.
40908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40909 multiarch implementations.
40910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40911 (__libc_ifunc_impl_list): Likewise.
40912 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40913 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40914 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40915 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40916 bzero for PPC32.
40917 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40918 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40919 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40920 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40921 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40922 memset for PPC64.
40923 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40924
40925 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40927 implementations.
40928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40929 (__libc_ifunc_impl_list): Likewise.
40930 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40931 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40932 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40933 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40934 memcmp for PPC64.
40935
40936 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40937 multiarch for POWER/PPC64.
40938 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40939 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40940 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40941 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40942 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40943 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40944 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40945 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40946 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40947 memcpy for PPC64.
40948
40949 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40950 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40951 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40952 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40953 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40954 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40955 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40956 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40957 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40958 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40959 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40960 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40961 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40962 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40963 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40971
40972 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40973
40974 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40975
40976 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
40977
40978 * benchtests/Makefile (bench): Add exp2 and log2.
40979 (LDLIBS-bench-exp2): Add -lm.
40980 (LDLIBS-bench-log2): Likewise.
40981 * benchtests/exp2-inputs: New inputs file.
40982 * benchtests/log2-inputs: New inputs file.
40983 * benchtests/log-inputs: Add new inputs.
40984 * benchtests/tan-inputs: Likewise.
40985
40986 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40987
40988 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40989 definition...
40990 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40991 (csloww2): ... from here.
40992
40993 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40994 instead of structures.
40995 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40996 (POLYNOMIAL): Likewise.
40997 (TAYLOR_SLOW): Likewise.
40998 (__sin): Likewise.
40999 (__cos): Likewise.
41000 (slow1): Likewise.
41001 (slow2): Likewise.
41002 (sloww): Likewise.
41003 (sloww1); Likewise.
41004 (sloww2): Likewise.
41005 (bsloww1): Likewise.
41006 (bsloww2): Likewise.
41007 (cslow2): Likewise.
41008 (csloww): Likewise.
41009 (csloww1): Likewise.
41010 (csloww2): Likewise.
41011
41012 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
41013
41014 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
41015 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
41016 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
41017 * malloc/hooks.c (realloc_check): Likewise.
41018
41019 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
41020 * malloc/arena.c: Remove PER_THREAD conditional.
41021 [!PER_THREAD]: Remove code.
41022 (ptmalloc_unlock_all2): Likewise.
41023 (ptmalloc_init): Likewise.
41024 (_int_new_arena): Likewise.
41025 (arena_get2): Likewise.
41026 * malloc/hooks.c (__malloc_get_state): Likewise.
41027 (__malloc_set_state): Likewise.
41028 * malloc/malloc.c: Likewise.
41029 (struct malloc_state): Likewise.
41030 (struct malloc_par): Likewise.
41031 (__libc_realloc): Likewise.
41032 (__libc_mallopt): Likewise.
41033
41034 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41035
41036 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
41037
41038 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
41039
41040 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
41041 macro to a function. Check for zero perturb_byte.
41042 (_int_malloc, _int_free): Remove zero perturb_byte checks.
41043
41044 * malloc/malloc.c: (force_reg): Remove.
41045 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
41046 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41047 force_reg by atomic_forced_read.
41048 * malloc/arena.c (ptmalloc_init): Likewise.
41049 * malloc/hooks.c (top_check): Likewise.
41050
41051 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41052
41053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41054
41055 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
41056
41057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41058
41059 2013-12-08 Joseph Myers <joseph@codesourcery.com>
41060
41061 * math/auto-libm-test-in: Add tests of lgamma.
41062 * math/auto-libm-test-out: Regenerated.
41063 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
41064 (M_LOG_2_SQRT_PIl): Likewise.
41065 (lgamma_test_data): Use AUTO_TESTS_f_f1.
41066 * math/gen-auto-libm-tests.c (func_calc_method): Add value
41067 mpfr_f_f1.
41068 (func_calc_desc): Add mpfr_f_f1 union field.
41069 (ARGS1): New macro.
41070 (ARGS2): Likewise.
41071 (ARGS3): Likewise.
41072 (ARGS4): Likewise.
41073 (RET1): Likewise.
41074 (RET2): Likewise.
41075 (CALC): Likewise.
41076 (FUNC): Likewise.
41077 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
41078 (test_functions): Add lgamma.
41079 (calc_generic_results): Handle mpfr_f_f1.
41080 * sysdeps/i386/fpu/libm-test-ulps: Update.
41081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41082
41083 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41084
41085 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41086 __mpn_add_n for PowerPC64/POWER7.
41087 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41088 __mpn_sub_n for PowerPC64/POWER7.
41089
41090 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41091 __mpn_addmul_1 for PowerPC64.
41092 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41093 __mpn_submul_1 for PowerPC64.
41094 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
41095 for PowerPC64.
41096 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
41097 for PowerPC64.
41098
41099 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
41100
41101 [BZ #15089]
41102 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
41103
41104 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41105
41106 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
41107
41108 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
41109 add multiarch folders.
41110 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
41111 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
41112 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
41113 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
41114 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
41115 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
41116 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
41117 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
41118 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
41119 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
41120 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
41121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
41122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
41123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
41124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
41125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
41126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
41127
41128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41129 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
41130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
41131 New file.
41132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
41133 New file.
41134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41135 multiarch __ieee754_hypot for PowerPC32.
41136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
41137 New file.
41138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
41139 New file.
41140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
41141 multiarch __ieee754_hypotf for PowerPC32.
41142
41143 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
41144 long_double_symbol only if __logbl is defined.
41145 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
41146 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
41147 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
41148 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
41149 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
41150 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
41151 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
41152 path for implementation.
41153 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
41154 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
41155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
41156 logb, and logbl multiarch implementations for PowerPC32.
41157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
41158 file.
41159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
41160 file.
41161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
41162 multiarch logb for PowerPC32.
41163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41164 file.
41165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
41166 file.
41167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
41168 multiarch logbf for PowerPC32.
41169 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
41170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
41171 file.
41172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
41173 multiarch logbl implementation for PowerPC32.
41174
41175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
41176 and modff multiarch implementations.
41177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
41178 New file.
41179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
41180 New file.
41181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
41182 multiarch modf for PowerPC32.
41183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
41184 New file.
41185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
41186 New file.
41187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
41188 multiarch modff for PowerPC32.
41189
41190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
41191 and lrintf multiarch implementations.
41192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
41193 New file.
41194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
41195 New file.
41196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
41197 multiarch lrint for PowerPC32.
41198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
41199 file: multiarch lrintf for PowerPC32.
41200
41201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
41202 and lroundf multiarch implementations.
41203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
41204 New file.
41205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41206 New file.
41207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41208 New file.
41209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41210 multiarch lround for PowerPC32.
41211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41212 file: multiarch lroundf for PowerPC32.
41213
41214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41215 copysign and copysignf multiarch implementations.
41216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41217 New file.
41218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41219 New file.
41220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41221 file: multiarch copysign for PowerPC32.
41222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41223 file: multiarch copysignf for PowerPC32.
41224
41225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41226 and truncf multiarch implementations.
41227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41228 New file.
41229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41230 file.
41231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41232 multiarch trunc for PowerPC32.
41233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41234 New file.
41235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41236 New file.
41237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41238 multiarch truncf for PowerPC32.
41239
41240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41241 and roundf multiarch implementations.
41242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41243 New file.
41244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41245 file.
41246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41247 multiarch round for PowerPC32.
41248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41249 New file.
41250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41251 New file.
41252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41253 multiarch roundf for PowerPC32.
41254
41255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41256 and floorf multiarch implementations.
41257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41258 New file.
41259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41260 file.
41261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41262 multiarch floor for PowerPC32.
41263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41264 New file.
41265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41266 New file.
41267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41268 multiarch floorf for PowerPC32.
41269
41270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41271 and ceilf multiarch implementations.
41272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41273 New file.
41274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41275 file.
41276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41277 multiarch ceil for PowerPC32.
41278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41279 New file.
41280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41281 file.
41282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41283 multiarch ceilf for PowerPC32.
41284
41285 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41286 is defined.
41287 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41288 FINITEF is defined.
41289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41290 and finitef multiarch implementations.
41291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41292 New file.
41293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41294 file.
41295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41296 multiarch finite for PowerPC32.
41297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41298 New file.
41299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41300 file: multiarch finitef for PowerPC32.
41301
41302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41303 and isinff multiarch implementations.
41304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41305 file.
41306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41307 file.
41308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41309 multiarch isinf for PowerPC32.
41310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41311 New file.
41312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41313 multiarch isinff for PowerPC32.
41314
41315 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41316 alias when __isnan is defined.
41317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41318 and isnanf multiarch implementations.
41319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41320 file.
41321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41322 file.
41323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41324 file.
41325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41326 file.
41327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41328 multiarch isnan for PowerPC32.
41329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41330 New file.
41331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41332 New file.
41333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41334 multiarch isnanf for PowerPC32.
41335
41336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41337 and sqrtf multiarch implementations.
41338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41339 file.
41340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41341 file.
41342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41343 multiarch sqrt for PowerPC32.
41344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41345 file.
41346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41347 file.
41348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41349 multiarch sqrtf for PowerPC32.
41350
41351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41352 and llroundf multiarch implementations.
41353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41354 New file.
41355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41356 New file.
41357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
41358 New file.
41359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
41360 file: multiarch llround for PowerPC32.
41361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
41362 file: multiarch llroundf for PowerPC32.
41363
41364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
41365 multiarch PowerPC32 fpu implementations.
41366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
41367 New file.
41368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
41369 New file.
41370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
41371 multiarch llrint for PowerPC32.
41372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
41373 New file.
41374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
41375 New file.
41376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
41377 file.
41378
41379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
41380
41381 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
41382 file.
41383 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
41384 file.
41385 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
41386 file.
41387 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
41388 multiarch wordcopy for PPC32.
41389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41390 wordcopy objects.
41391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41392 (__libc_ifunc_impl_list): Likewise.
41393 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
41394 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
41395 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
41396 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
41397 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
41398 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
41399
41400 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
41401 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
41402 file.
41403 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
41404 file.
41405 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
41406 file.
41407 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
41408 multiarch wcscpy for PPC32.
41409 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41410 multiarch objects.
41411 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41412 (__libc_ifunc_impl_list): Likewise.
41413 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41414 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41415 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
41416 sysdeps/powerpc/power6/wcscpy.c.
41417
41418 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
41419 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
41420 file.
41421 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
41422 file.
41423 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
41424 file.
41425 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
41426 multiarch wcsrchr for PPC32.
41427 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41428 multiarch objects.
41429 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41430 (__libc_ifunc_impl_list): Likewise.
41431 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41432 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41433 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
41434 sysdeps/powerpc/power6/wcsrchr.c.
41435
41436 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
41437 file.
41438 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
41439 file.
41440 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
41441 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
41442 multiarch wcschr for PPc32.
41443 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41444 multiarch objects.
41445 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41446 (__libc_ifunc_impl_list): Likewise.
41447 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
41448 * sysdeps/powerpc/power6/wcschr.c: ... to here.
41449 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
41450 sysdeps/powerpc/power6/wcschr.c.
41451
41452 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41453 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41454 file.
41455 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41456 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41457 file: multiarch strchr for PPC32.
41458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41459 multiarch objects.
41460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41461 (__libc_ifunc_impl_list): Likewise.
41462
41463 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41464 name.
41465 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41466 file.
41467 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41468 file.
41469 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41470 multiarch strchrnul for PPC32.
41471 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41472 multiarch objects.
41473 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41474 (__libc_ifunc_impl_list): Likewise.
41475
41476 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41477 file.
41478 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41479 multiarch strncasecmp for PPC32.
41480 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41481 file.
41482 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41483 multiarch strncasecmp_l for PPC32.
41484 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41485 strncasecmp multiarch objects.
41486 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41487 (__libc_ifunc_impl_list): Likewise.
41488
41489 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41490 file.
41491 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41492 multiarch strncasecmp for PPC32.
41493 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41494 New file.
41495 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41496 multiarch strcasecmp_l for PPC32.
41497 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41498 multiarch objects.
41499 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41500 (__libc_ifunc_impl_list): Likewise.
41501
41502 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41503 file.
41504 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41505 file.
41506 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41507 multiarch strncmp for PPC32.
41508 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41509 multiarch objects.
41510 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41511 (__libc_ifunc_impl_list): Likewise.
41512
41513 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41514 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41515 file.
41516 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41517 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41518 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41519 multiarch objects.
41520 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41521 (__libc_ifunc_impl_list): Likewise.
41522
41523 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41524 file.
41525 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41526 file.
41527 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41528 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41529 multiarch objects.
41530 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41531 (__libc_ifunc_impl_list): Likewise.
41532
41533 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41534 file.
41535 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41536 file.
41537 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41538 multiarch rawmemchr for PPC32.
41539 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41540 multiarch objects.
41541 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41542 (__libc_ifunc_impl_list): Likewise.
41543
41544 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41545 file.
41546 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41547 file.
41548 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41549 file: memrchr multiarch for PPC32.
41550 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41551 multiarch objects.
41552 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41553 (__libc_ifunc_impl_list): Likewise.
41554
41555 * string/memchr.c (__memchr): Using macro to redefine symbol name.
41556 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41557 file.
41558 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41559 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41560 multiarch memchr for PPC32.
41561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41562 multiarch objects.
41563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41564 (__libc_ifunc_impl_list): Likewise.
41565
41566 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41567 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41568 file.
41569 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41570 file.
41571 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41572 file: multiarch mempcpy for PPC32.
41573 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41574 multiarch objects.
41575 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41576 (__libc_ifunc_impl_list): Likewise.
41577
41578 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41579 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41580 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41581 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41582 multiarch bzero for PPC32.
41583 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41584 file.
41585 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41586 file.
41587 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41588 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41589 file: multiarch memset for PPC32.
41590 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41591 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41592 memset multiarch objects.
41593 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41594 (__libc_ifunc_impl_list): Likewise.
41595
41596 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41597 file.
41598 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41599 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41600 memcmp for PPC32.
41601 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41602 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41603 multiarch objects.
41604 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41605 (__libc_ifunc_impl_list): Likewise.
41606
41607 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41608 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41609 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41610 file.
41611 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41612 file.
41613 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41614 file.
41615 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41616 multiarch memcpy for PPC32.
41617 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41618 multiarch objects.
41619 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41620 (__libc_ifunc_impl_list): Likewise.
41621
41622 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41623 support multiarch for POWER/PPC32.
41624 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41625 Likewise.
41626 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41628 Implies file to make multiarch folder appers before the fpu and
41629 default folder for power4 configuration.
41630
41631 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41632
41633 * scripts/bench.pl: Append volatile keyword to type.
41634
41635 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41636
41637 * sysdeps/sh/sotruss-lib.c: New file.
41638 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41639
41640 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41641
41642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41643
41644 2013-12-05 Joseph Myers <joseph@codesourcery.com>
41645
41646 [BZ #6810]
41647 * math/w_tgamma.c: Include <errno.h>.
41648 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
41649 * math/w_tgammaf.c: Include <errno.h>.
41650 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
41651 * math/w_tgammal.c: Include <errno.h>.
41652 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
41653 * math/auto-libm-test-in: Do not allow missing errno on tgamma
41654 underflow. Add more tgamma tests.
41655 * math/auto-libm-test-out: Regenerated.
41656 * sysdeps/i386/fpu/libm-test-ulps: Update.
41657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41658
41659 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41660 sin, sinh, tan, tanh, tgamma, y0 and y1.
41661 * math/auto-libm-test-out: Regenerated.
41662 * math/libm-test.inc (TEST_COND_x86_64): New macro.
41663 (TEST_COND_x86): Likewise.
41664 (M_E2l): Remove macro.
41665 (M_E3l): Likewise.
41666 (M_2_SQRT_PIl): Likewise.
41667 (M_SQRT_PIl): Likewise.
41668 (M_1_DIV_El): Likewise.
41669 (log_test_data): Use AUTO_TESTS_f_f.
41670 (log10_test_data): Likewise.
41671 (log1p_test_data): Likewise.
41672 (log2_test_data): Likewise.
41673 (sin_test_data): Likewise.
41674 (sin_tonearest_test_data): Likewise.
41675 (sin_towardzero_test_data): Likewise.
41676 (sin_downward_test_data): Likewise.
41677 (sin_upward_test_data): Likewise.
41678 (sinh_test_data): Likewise.
41679 (sinh_tonearest_test_data): Likewise.
41680 (sinh_towardzero_test_data): Likewise.
41681 (sinh_downward_test_data): Likewise.
41682 (sinh_upward_test_data): Likewise.
41683 (tan_test_data): Likewise.
41684 (tan_tonearest_test_data): Likewise.
41685 (tan_towardzero_test_data): Likewise.
41686 (tan_downward_test_data): Likewise.
41687 (tan_upward_test_data): Likewise.
41688 (tanh_test_data): Likewise.
41689 (tgamma_test_data): Likewise.
41690 (y0_test_data): Likewise.
41691 (y1_test_data): Likewise.
41692 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41693 (special_real_inputs): Add pi/4.
41694 * sysdeps/i386/fpu/libm-test-ulps: Update.
41695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41696
41697 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41698
41699 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41700 "longjmp_target" static probes.
41701 (__longjmp): Rename to __longjmp_symbol.
41702 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41703 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41704 on which longjmp to generate.
41705 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41706 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41707 probe.
41708 (__sigsetjmp): Rename to __sigsetjmp_symbol.
41709 (__sigjmp_save): Rename to __sigjmp_save_symbol.
41710 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41711 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41712 and __sigjmp_save_symbol based on which sigsetjmp to generated.
41713 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41715 __longjmp_symbol based on which __longjmp to generate.
41716 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41717 probe.
41718 (setjmp): Rename to setjmp_symbol.
41719 (__sigsetjmp): Rename to __sigsetjmp_symbol.
41720 (_setjmp): Rename to _setjmp_symbol.
41721 (__sigsetjmp): Rename to __sigsetjmp_symbol.
41722 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41723 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41724 which setjmp to generate.
41725 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41726 "longjmp_target" static probes.
41727
41728 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41729
41730 * benchtests/README: Add note about output arguments.
41731 * benchtests/bench-sincos.c: Remove file.
41732 * benchtests/sincos-inputs: New file.
41733 * scripts/bench.pl: Identify output arguments and define
41734 static variables for them.
41735
41736 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41737
41738 [BZ #15941]
41739 * Makefile (INSTALL): Add install-plain.texi as the primary
41740 dependency.
41741 * manual/install-plain.texi: New file.
41742 * manual/install.texi: Include node directive only for
41743 non-plaintext output.
41744
41745 2013-12-04 Joseph Myers <joseph@codesourcery.com>
41746
41747 * stdlib/longlong.h: Update from GCC.
41748
41749 [BZ #6807]
41750 [BZ #15901]
41751 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41752 * math/w_j0f.c (y0f): Likewise.
41753 * math/w_j0l.c (__y0l): Likewise.
41754 * math/w_j1.c (y1): Likewise.
41755 * math/w_j1f.c (y1f): Likewise.
41756 * math/w_j1l.c (__y1l): Likewise.
41757 * math/w_jn.c (yn): Likewise.
41758 * math/w_jnf.c (ynf): Likewise.
41759 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41760 Bessel function pole errors in _POSIX_ mode. Use NAN as return
41761 value for Bessel function domain errors outside _SVID_ mode.
41762 Adjust sign of return value for yn (negative integer, 0).
41763 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41764 by zero in return for negative x and set sign appropriately for
41765 negative n.
41766 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41767 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41768 * math/libm-test.inc (y0_test_data): Add more tests and adjust
41769 expectations in error cases.
41770 (y1_test_data): Likewise.
41771 (yn_test_data): Likewise.
41772 * sysdeps/i386/fpu/libm-test-ulps: Update.
41773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41774
41775 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41776
41777 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41778 "64" to "64-v1". Add "64-v2".
41779 (abi-64-options): Rename to ...
41780 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
41781 (abi-64-condition): Rename to ...
41782 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
41783 (abi-64-ld-soname): Rename to ...
41784 (abi-64-v1-ld-soname): ... this.
41785 (abi-64-v2-options): Define.
41786 (abi-64-v2-condition): Likewise.
41787 (abi-64-v2-ld-soname): Likewise.
41788 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41789 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41793
41794 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41795 Alan Modra <amodra@gmail.com>
41796
41797 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41798 New versions for use with the ELFv2 ABI.
41799 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41800 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41801 declaration.
41802 (struct La_ppc64v2_retval): Likewise.
41803 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41804 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41805 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41806 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41807 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41808 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41809 Do not save or restore CR.
41810 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41811 (_dl_profile_resolve): Do no save or restore CR. Support extended
41812 return values for ELFv2 ABI. Fix location of FPR return registers.
41813 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41814 updated values for _CALL_ELF == 2.
41815 (La_regs, La_retval, int_retval): Likewise.
41816
41817 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41818
41819 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41820 (FRAME_MIN_SIZE_PARM): Likewise.
41821 (FRAME_BACKCHAIN): Likewise.
41822 (FRAME_CR_SAVE): Likewise.
41823 (FRAME_LR_SAVE): Likewise.
41824 (FRAME_TOC_SAVE): Likewise.
41825 (FRAME_PARM_SAVE): Likewise.
41826 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41827 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41828 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41829 (call_mcount_parm_offset): New macro.
41830 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41831 (PROF): Use symbolic stack frame offsets.
41832 (TAIL_CALL_SYSCALL_ERROR): Likewise.
41833 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41834 Redefine in terms of FRAME_MIN_SIZE.
41835 (_dl_runtime_resolve): Use symbolic stack frame offsets.
41836 (_dl_profile_resolve): Likewise. Update comment.
41837 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41838 symbols stack frame offsets.
41839 (__sigsetjmp): Likewise.
41840 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41841 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41842 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41843 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41844
41845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41846 (FRAME_BACKCHAIN): Remove.
41847 (FRAME_CR_SAVE): Likewise.
41848 (FRAME_LR_SAVE): Likewise.
41849 (FRAME_COMPILER_DW): Likewise.
41850 (FRAME_LINKER_DW): Likewise.
41851 (FRAME_TOC_SAVE): Likewise.
41852 (FRAME_PARM_SAVE): Likewise.
41853 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41854 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41855 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41857 (CHECK_SP): Use symbolic stack frame offsets.
41858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41859 zone" instead of caller's parameter save area for temp storage.
41860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41861 Likewise. Also, use symbolic stack frame offsets.
41862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41863 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41864 our own stack frame instead of the caller's.
41865 (__socket): Use symbolic stack frame offsets.
41866
41867 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41868 Alan Modra <amodra@gmail.com>
41869
41870 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41871 Define.
41872 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41873 (PPC64_LOCAL_ENTRY_OFFSET): Define.
41874 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41875 New function.
41876 (elf_machine_fixup_plt): Call it.
41877 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
41878 reloc arguments.
41879 (elf_machine_rela): Update call to elf_machine_plt_conflict.
41880 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41881 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41882 r2 before calling target.
41883
41884 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41885 Alan Modra <amodra@gmail.com>
41886
41887 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41888 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41889 versions of macros to support ELFv2 ABI.
41890 (LOCALENTRY): New macro.
41891 (ENTRY, EALIGN): Use it.
41892 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41893 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41894 fall through into ENTRY entry point.
41895 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41896 Only define if _CALL_ELF != 2.
41897
41898 (elf_machine_matches_host): Verify ABI version matches.
41899 (RTLD_START): Use LOCALENTRY.
41900 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41901 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41902 (PLT_ENTRY_WORDS): New macro.
41903 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41904 (elf_machine_runtime_setup): Support ELFv2 ABI.
41905 (elf_machine_fixup_plt): Likewise.
41906 (elf_machine_plt_conflict): Likewise.
41907 (resolve_ifunc): Likewise.
41908 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41909 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41910 Likewise.
41911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41912 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41914 (makecontext): Support ELFv2 ABI.
41915 * elf/elf.h (EF_PPC64_ABI): Define.
41916
41917 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41918
41919 * sysdeps/powerpc/powerpc64/sysdep.h
41920 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41921 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41922 (ENTRY) [ASSEMBLER]: ... but instead here ...
41923 (EALIGN) [ASSEMBLER]: ... and here.
41924 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41925 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41926 (ENTRY_2) [!ASSEMBLER]: Use it.
41927 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41928 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
41929 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41930 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41931 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41933 Use PPC64_LOAD_FUNCPTR.
41934
41935 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41936
41937 2013-12-04 Alan Modra <amodra@gmail.com>
41938
41939 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41940 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41941 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41942 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41943
41944 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41945 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41946 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41947 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41948 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41949 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41950
41951 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41952
41953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41954 (__makecontext): Fix incorrect CFI when backtracing out of
41955 context created via makecontext.
41956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41957 (__setcontext): Fix incorrect CFI during switch to new context.
41958 (__novec_setcontext): Likewise.
41959
41960 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
41961
41962 [BZ #4772]
41963 * time/strptime_l.c (__strptime_internal): Allow modifiers
41964 in strptime.
41965 * time/tst-strptime.c (day_tests): Add testcase.
41966
41967 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41968
41969 * scripts/bench.pl: Skip over blank lines.
41970
41971 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
41972
41973 [BZ #926]
41974 * manual/time.texi (Calendar Time): Clarify what timezone functions
41975 use.
41976
41977 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41978
41979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41980
41981 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
41982
41983 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41984 implementation.
41985 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41986 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41987 * debug/memset_chk.c (__memset_chk): Likewise.
41988 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41989 * debug/strncpy_chk.c: Likewise.
41990
41991 2013-12-03 Joseph Myers <joseph@codesourcery.com>
41992
41993 [BZ #15268]
41994 [BZ #15425]
41995 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41996 (__ieee754_exp): For possibly underflowing results, check size of
41997 result and force underflow exception if required.
41998 * math/auto-libm-test-in: Add more tests of exp.
41999 * math/auto-libm-test-out: Regenerated.
42000 * sysdeps/i386/fpu/libm-test-ulps: Update.
42001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42002
42003 [BZ #16283]
42004 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
42005 * math/w_exp2f.c (__exp2f): Likewise.
42006 * math/w_exp2l.c (__exp2l): Likewise.
42007 * math/auto-libm-test-in: Do not allow missing errno on exp2
42008 underflow.
42009 * math/auto-libm-test-out: Regenerated.
42010
42011 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
42012
42013 [BZ #16274]
42014 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
42015 handle filename validation.
42016 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
42017 (do_open): Delete.
42018
42019 2013-12-03 Joseph Myers <joseph@codesourcery.com>
42020
42021 [BZ #6786]
42022 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
42023 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
42024 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
42025 <float.h>.
42026 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
42027 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
42028 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42029 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
42030 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42031 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
42032 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42033 * math/auto-libm-test-in: Don't allow missing errno from erfc.
42034 Add more erfc tests.
42035 * math/auto-libm-test-out: Regenerated.
42036 * sysdeps/i386/fpu/libm-test-ulps: Update.
42037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42038
42039 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
42040 exp2, expm1, j0 and j1.
42041 * math/auto-libm-test-out: Regenerated.
42042 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
42043 (erfc_test_data): Likewise.
42044 (exp_test_data): Likewise.
42045 (exp_tonearest_test_data): Likewise.
42046 (exp_towardzero_test_data): Likewise.
42047 (exp_downward_test_data): Likewise.
42048 (exp_upward_test_data): Likewise.
42049 (exp10_test_data): Likewise.
42050 (exp2_test_data): Likewise.
42051 (expm1_test_data): Likewise.
42052 (j0_test_data): Likewise.
42053 (j1_test_data): Likewise.
42054 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
42055 (input_flag_type): Add flag_xfail_rounding.
42056 (input_flags): Add xfail-rounding.
42057 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
42058 (output_for_one_input_case): Handle flag_xfail_rounding.
42059 * sysdeps/i386/fpu/libm-test-ulps: Update.
42060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42061
42062 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
42063
42064 [BZ #16289]
42065 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
42066 division by 0.
42067
42068 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
42069
42070 [BZ #16195]
42071 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
42072 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
42073 (STAP_PROBE0): New macro.
42074 (STAP_PROBE1): Likewise.
42075 (STAP_PROBE2): Likewise.
42076 (STAP_PROBE3): Likewise.
42077 (STAP_PROBE4): Likewise.
42078
42079 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
42080
42081 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42082
42083 2013-12-02 Steve Ellcey <sellcey@mips.com>
42084
42085 * benchtests/Makefile (bench): Add sqrt.
42086 (LDLIBS-bench-sqrt): New.
42087 * benchtests/sqrt-input: New.
42088
42089 2013-12-02 Pavel Simerda <psimerda@redhat.com>
42090
42091 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42092 (GAIH_EAI): Likewise.
42093 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
42094 (gaih_inet): Likewise.
42095 (getaddrinfo): Don't use GAIH_EAI.
42096
42097 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
42098 (struct gaih): Remove definition.
42099
42100 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42101
42102 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42103 Use HERRNOP directly.
42104
42105 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42106
42107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42108
42109 2013-11-30 Joseph Myers <joseph@codesourcery.com>
42110
42111 * math/gen-auto-libm-tests.c (test_functions): Add more
42112 single-argument functions.
42113 (special_fill_pi_2): New function.
42114 (special_fill_minus_pi_2): Likewise.
42115 (special_fill_pi_6): Likewise.
42116 (special_fill_minus_pi_6): Likewise.
42117 (special_fill_pi_3): Likewise.
42118 (special_fill_2pi_3): Likewise.
42119 (special_fill_e): Likewise.
42120 (special_fill_1_e): Likewise.
42121 (special_fill_e_minus_1): Likewise.
42122 (special_real_inputs): Add more special inputs.
42123 (output_for_one_input_case): Do not require ERANGE on underflow to
42124 zero if round-to-nearest result does not underflow to zero, unless
42125 exact results required.
42126 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
42127 atan, atanh, cbrt, cos and cosh.
42128 * math/auto-libm-test-out: Regenerated.
42129 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
42130 (acos_tonearest_test_data): Likewise.
42131 (acos_towardzero_test_data): Likewise.
42132 (acos_downward_test_data): Likewise.
42133 (acos_upward_test_data): Likewise.
42134 (acosh_test_data): Likewise.
42135 (asin_test_data): Likewise.
42136 (asin_tonearest_test_data): Likewise.
42137 (asin_towardzero_test_data): Likewise.
42138 (asin_upward_test_data): Likewise.
42139 (asinh_test_data): Likewise.
42140 (atan_test_data): Likewise.
42141 (atanh_test_data): Likewise.
42142 (cbrt_test_data): Likewise.
42143 (cos_test_data): Likewise.
42144 (cos_tonearest_test_data): Likewise.
42145 (cos_towardzero_test_data): Likewise.
42146 (cos_downward_test_data): Likewise.
42147 (cos_upward_test_data): Likewise.
42148 (cosh_test_data): Likewise.
42149 (cosh_tonearest_test_data): Likewise.
42150 (cosh_towardzero_test_data): Likewise.
42151 (cosh_downward_test_data): Likewise.
42152 (cosh_upward_test_data): Likewise.
42153 * sysdeps/i386/fpu/libm-test-ulps: Update.
42154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42155
42156 2013-11-29 Joseph Myers <joseph@codesourcery.com>
42157
42158 [BZ #6787]
42159 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
42160 * math/w_exp10f.c (__exp10f): Likewise.
42161 * math/w_exp10l.c (__exp10l): Likewise.
42162 * math/libm-test.inc (exp10_test_data): Add more tests and expect
42163 errno settings in existing tests.
42164
42165 [BZ #14032]
42166 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
42167 precision control set to double precision.
42168 * sysdeps/i386/fpu/w_sqrt.c: New file.
42169 * math/auto-libm-test-in: Add more tests.
42170 * math/auto-libm-test-out: Update.
42171
42172 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
42173 (sqrt_test_tonearest): New function.
42174 (sqrt_towardzero_test_data): New variable.
42175 (sqrt_test_towardzero): New function.
42176 (sqrt_downward_test_data): New variable.
42177 (sqrt_test_downward): New function.
42178 (sqrt_upward_test_data): New variable.
42179 (sqrt_test_upward): New function.
42180 (main): Call the new functions.
42181
42182 * math/gen-auto-libm-tests.c: New file.
42183 * math/auto-libm-test-in: Likewise.
42184 * math/auto-libm-test-out: New generated file.
42185 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
42186 variables.
42187 (%beautify): Add generated representations of zero.
42188 (top level): Set $auto_input and call parse_auto_input.
42189 (beautify): Remove trailing "f" from hex float constants.
42190 (parse_args): Handle XFAIL_TEST.
42191 (convert_condition): New function.
42192 (or_value): Likewise.
42193 (or_cond_value): Likewise.
42194 (generate_testfile): Handle AUTO_TESTS_* lines.
42195 (parse_auto_input): New function.
42196 * math/libm-test.inc (XFAIL_TEST): New macro.
42197 (ERRNO_UNCHANGED): Update value.
42198 (ERRNO_EDOM): Likewise.
42199 (ERRNO_ERANGE): Likewise.
42200 (IGNORE_RESULT): Likewise.
42201 (TEST_COND_flt_32): New macro.
42202 (TEST_COND_dbl_64): Likewise.
42203 (TEST_COND_ldbl_96_intel): Likewise.
42204 (TEST_COND_ldbl_96_m68k): Likewise.
42205 (TEST_COND_ldbl_128): Likewise.
42206 (TEST_COND_ldbl_128ibm): Likewise.
42207 (TEST_COND_long32): Likewise.
42208 (TEST_COND_long64): Likewise.
42209 (TEST_COND_before_rounding): Likewise.
42210 (TEST_COND_after_rounding): Likewise.
42211 (enable_test): Handle XFAIL_TEST flag.
42212 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42213 with finite results.
42214 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42215 auto-libm-test-out.
42216
42217 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42218 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42219
42220 [BZ #16214]
42221 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42222 __tls_get_addr_internal instead of __tls_get_offset in order to
42223 avoid GOT pointer dependency. Make rtld export
42224 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42225 __tls_get_addr since we are a __tls_get_offset platform.
42226 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42227 GOT pointer being set up before.
42228 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42229
42230 2013-11-28 Joseph Myers <joseph@codesourcery.com>
42231
42232 * manual/math.texi (Errors in Math Functions): Document accuracy
42233 goals.
42234
42235 [BZ #15004]
42236 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42237 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42238 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42239 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42240 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42241 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42242 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42243 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42244 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42245 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42246 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42247 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42248 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42249 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42250 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42251 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42252
42253 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42254 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42255 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42256 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42257 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42258 Likewise.
42259 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42260 Likewise.
42261 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42262 Likewise.
42263 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42264 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42265 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42266 atomic-feupdateenv and flt-rounds.
42267 * sysdeps/powerpc/nofpu/Versions (libc): Add
42268 __atomic_feholdexcept, __atomic_feclearexcept,
42269 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42270 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42271 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42272 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42273 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42274 here.
42275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42276 Update.
42277
42278 * manual/arith.texi (FP Exceptions): Document that exceptions may
42279 not be raised when matherr is used.
42280 (Math Error Reporting): Document overflow in directed rounding
42281 modes. Document that errno may not be set when finite values are
42282 returned on overflow. Document intent to set errno on underflow
42283 only for underflow to zero.
42284
42285 [BZ #16271]
42286 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42287 round-to-nearest then adjust result for other rounding modes.
42288 * include/fenv.h (fegetround): Use libm_hidden_proto.
42289 * math/fegetround.c (fegetround): Use libm_hidden_def.
42290 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42291 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42292 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42293 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42294 Likewise.
42295 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42296 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42297 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42298 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42299
42300 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42301
42302 [BZ #16077]
42303 * nss/Versions (libnss_files): Add
42304 _nss_files_gethostbyname3_r.
42305 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42306 New function.
42307 (HOST_DB_LOOKUP): Remove macro.
42308 (_nss_files_gethostbyname_r): Implement function without the
42309 HOST_DB_LOOKUP macro.
42310 (_nss_files_gethostbyname2_r): Likewise.
42311
42312 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
42313
42314 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42315
42316 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
42317
42318 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42319 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42320 warning.
42321
42322 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42323
42324 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42325 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42326 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42327 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42328 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42329 __fe_nomask_env_priv and attribute_hidden.
42330 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42331 (libc_feupdateenv_test_ppc): Likewise.
42332 (libc_feresetround_ppc): Likewise.
42333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42334 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42335 compat_symbol macro.
42336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42337 (__fe_nomask_env): Likewise.
42338 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42339
42340 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
42341
42342 * string/Makefile: Remove ifunc tests.
42343 * string/test-string.h: Define TEST_IFUNC.
42344 * string/test-bcopy-ifunc.c: Remove.
42345 * string/test-bzero-ifunc.c: Likewise.
42346 * string/test-memccpy-ifunc.c: Likewise.
42347 * string/test-memchr-ifunc.c: Likewise.
42348 * string/test-memcmp-ifunc.c: Likewise.
42349 * string/test-memcpy-ifunc.c: Likewise.
42350 * string/test-memmem-ifunc.c: Likewise.
42351 * string/test-memmove-ifunc.c: Likewise.
42352 * string/test-mempcpy-ifunc.c: Likewise.
42353 * string/test-memrchr-ifunc.c: Likewise.
42354 * string/test-memset-ifunc.c: Likewise.
42355 * string/test-rawmemchr-ifunc.c: Likewise.
42356 * string/test-stpcpy-ifunc.c: Likewise.
42357 * string/test-stpncpy-ifunc.c: Likewise.
42358 * string/test-strcasecmp-ifunc.c: Likewise.
42359 * string/test-strcasestr-ifunc.c: Likewise.
42360 * string/test-strcat-ifunc.c: Likewise.
42361 * string/test-strchr-ifunc.c: Likewise.
42362 * string/test-strchrnul-ifunc.c: Likewise.
42363 * string/test-strcmp-ifunc.c: Likewise.
42364 * string/test-strcpy-ifunc.c: Likewise.
42365 * string/test-strcspn-ifunc.c: Likewise.
42366 * string/test-strlen-ifunc.c: Likewise.
42367 * string/test-strncasecmp-ifunc.c: Likewise.
42368 * string/test-strncat-ifunc.c: Likewise.
42369 * string/test-strncmp-ifunc.c: Likewise.
42370 * string/test-strncpy-ifunc.c: Likewise.
42371 * string/test-strnlen-ifunc.c: Likewise.
42372 * string/test-strpbrk-ifunc.c: Likewise.
42373 * string/test-strrchr-ifunc.c: Likewise.
42374 * string/test-strspn-ifunc.c: Likewise.
42375 * string/test-strstr-ifunc.c: Likewise.
42376
42377 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
42378
42379 * benchtests/Makefile: Remove ifunc tests.
42380 * benchtests/bench-string.h: Define TEST_IFUNC.
42381 * benchtests/bench-bcopy-ifunc.c: Remove.
42382 * benchtests/bench-bzero-ifunc.c: Likewise.
42383 * benchtests/bench-memccpy-ifunc.c: Likewise.
42384 * benchtests/bench-memchr-ifunc.c: Likewise.
42385 * benchtests/bench-memcmp-ifunc.c: Likewise.
42386 * benchtests/bench-memcpy-ifunc.c: Likewise.
42387 * benchtests/bench-memmem-ifunc.c: Likewise.
42388 * benchtests/bench-memmove-ifunc.c: Likewise.
42389 * benchtests/bench-mempcpy-ifunc.c: Likewise.
42390 * benchtests/bench-memrchr-ifunc.c: Likewise.
42391 * benchtests/bench-memset-ifunc.c: Likewise.
42392 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
42393 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
42394 * benchtests/bench-stpcpy-ifunc.c: Likewise.
42395 * benchtests/bench-stpncpy-ifunc.c: Likewise.
42396 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
42397 * benchtests/bench-strcasestr-ifunc.c: Likewise.
42398 * benchtests/bench-strcat-ifunc.c: Likewise.
42399 * benchtests/bench-strchr-ifunc.c: Likewise.
42400 * benchtests/bench-strchrnul-ifunc.c: Likewise.
42401 * benchtests/bench-strcmp-ifunc.c: Likewise.
42402 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
42403 * benchtests/bench-strcpy-ifunc.c: Likewise.
42404 * benchtests/bench-strcspn-ifunc.c: Likewise.
42405 * benchtests/bench-strlen-ifunc.c: Likewise.
42406 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
42407 * benchtests/bench-strncat-ifunc.c: Likewise.
42408 * benchtests/bench-strncmp-ifunc.c: Likewise.
42409 * benchtests/bench-strncpy-ifunc.c: Likewise.
42410 * benchtests/bench-strnlen-ifunc.c: Likewise.
42411 * benchtests/bench-strpbrk-ifunc.c: Likewise.
42412 * benchtests/bench-strrchr-ifunc.c: Likewise.
42413 * benchtests/bench-strsep-ifunc.c: Likewise.
42414 * benchtests/bench-strspn-ifunc.c: Likewise.
42415 * benchtests/bench-strstr-ifunc.c: Likewise.
42416
42417 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
42418
42419 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
42420
42421 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
42422
42423 * resolv/netdb.h: Use __glibc_reserved instead __unused.
42424 * rt/aio.h: Likewise.
42425 * sysdeps/gnu/bits/utmp.h: Likewise.
42426 * sysdeps/gnu/bits/utmpx.h: Likewise.
42427 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42428 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
42429 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
42430 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
42431 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
42432 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
42433 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
42434 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
42435 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
42436 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
42437 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
42438 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
42439 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
42440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
42441 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42442 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
42443 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
42444 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
42445 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
42446 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
42447 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
42448 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
42449 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
42450 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42451 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
42452 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42453 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42454 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42455 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42456 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42457 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42458 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42459 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42460 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42461 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42462 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42463 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42464 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42465 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42466 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42467 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42468 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42469
42470 2013-11-25 Carlos O'Donell <carlos@redhat.com>
42471
42472 [BZ #16245]
42473 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42474 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42475
42476 2013-11-25 Joseph Myers <joseph@codesourcery.com>
42477
42478 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42479 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42480 Likewise.
42481
42482 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42483
42484 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42485 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42486 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42487 (__fesetround): Remove define.
42488 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42489 rounding and exceptions handling.
42490 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42491 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42492 (__fe_nomask_env): Likewise.
42493 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42494 __fegetround instead of fegetround.
42495 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42496 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42497
42498 2013-11-21 Roland McGrath <roland@hack.frob.com>
42499
42500 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42501 it's there.
42502
42503 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42504
42505 2013-11-21 Meador Inge <meadori@codesourcery.com>
42506
42507 [BZ #11157]
42508 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42509 (encrypt_r): Likewise.
42510 * malloc/obstack.h (obstack_free): Likewise.
42511 * posix/unistd.h (encrypt): Likewise.
42512
42513 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
42514
42515 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42516 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42517 DL_CALL_DT_FINI() that call the functions directly.
42518 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42519 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42520 * elf/dl-fini.c: Likewise.
42521
42522 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
42523
42524 * malloc/hooks.c (memalign_check): Add alignment rounding.
42525 * malloc/malloc.c (_mid_memalign): New function.
42526 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42527 Implement by calling _mid_memalign.
42528 * manual/probes.texi (Memory Allocation Probes): Remove
42529 memory_valloc_retry and memory_pvalloc_retry.
42530
42531 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
42532
42533 * locale/programs/locarchive.c (open_archive): Add const
42534 qualifier to ARCHIVEFNAME and copy default fname to
42535 DEFAULT_FNAME.
42536
42537 [BZ #15601]
42538 * libio/tst-widetext.input: Rename Oriya to Odia.
42539 * locale/iso-639.def: Likewise.
42540
42541 * manual/probes.texi (Mathematical Function Probes): Add
42542 documentation for sin, cos, asin and acos probes.
42543 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42544 (__sin32): Add slowasin probe.
42545 (__cos32): Add slowacos probe.
42546 (__mpsin): Add slowsin probe.
42547 (__mpcos): Add slowcos probe.
42548
42549 2013-11-19 Joseph Myers <joseph@codesourcery.com>
42550
42551 [BZ #15483]
42552 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42553 thread-local __sim_exceptions_thread and global
42554 __sim_exceptions_global.
42555 (__sim_disabled_exceptions): Change to thread-local
42556 __sim_disabled_exceptions_thread and global
42557 __sim_disabled_exceptions_global.
42558 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42559 and global __sim_round_mode_global.
42560 (__simulate_exceptions): Use thread-local floating-point state and
42561 set global state from it as needed.
42562 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42563 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42564 __sim_round_mode_thread.
42565 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42566 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42567 and global __sim_exceptions_global.
42568 (__sim_disabled_exceptions): Change to thread-local
42569 __sim_disabled_exceptions_thread and global
42570 __sim_disabled_exceptions_global.
42571 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42572 and global __sim_round_mode_global.
42573 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42574 (SIM_SET_GLOBAL): Likewise.
42575 * sysdeps/powerpc/soft-fp/sfp-machine.h
42576 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42577 __sim_round_mode_thread.
42578 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42579 __sim_disabled_exceptions_thread.
42580 (__sim_exceptions): Change to __sim_exceptions_thread.
42581 (__sim_disabled_exceptions): Change to
42582 __sim_disabled_exceptions_thread.
42583 (__sim_round_mode): Change to __sim_round_mode_thread.
42584 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42585 thread-local floating-point state and set global state from it as
42586 needed.
42587 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42588 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42589 (__sim_disabled_exceptions): Remove extern declaration.
42590 (feenableexcept): Use thread-local floating-point state and set
42591 global state from it as needed.
42592 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42593 extern declaration.
42594 (__sim_disabled_exceptions): Likewise.
42595 (__sim_round_mode): Likewise.
42596 (__fegetenv): Use thread-local floating-point state.
42597 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42598 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42599 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42600 floating-point state and set global state from it as needed.
42601 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42602 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42603 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42604 Likewise.
42605 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42606 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42607 Likewise.
42608 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42609 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42610 Use __sim_round_mode_thread.
42611 * math/test-fenv-tls.c: New file.
42612 * math/Makefile (tests): Add test-fenv-tls.
42613 ($(objpfx)test-fenv-tls): Depend on
42614 $(common-objpfx)nptl/libpthread.so.
42615
42616 2013-11-19 Andreas Schwab <schwab@suse.de>
42617
42618 * locale/programs/locale.c (show_info): Decode wordarray elements.
42619 * locale/categories.def (LC_MONETARY): Add element for
42620 _NL_MONETARY_CRNCYSTR.
42621 * locale/C-monetary.c (conversion_rate): New variable.
42622 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42623 element.
42624
42625 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
42626
42627 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42628 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42629
42630 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42631
42632 * elf/Makefile (tst-auxv): New test.
42633 * elf/tst-auxv.c: New
42634 * elf/rtld.c (dl_main): Adjust AT_EXECFN
42635
42636 2013-11-18 Joseph Myers <joseph@codesourcery.com>
42637
42638 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42639 (hidden_proto): Caller changed.
42640 (hidden_tls_proto): New macro.
42641 (libc_hidden_tls_proto): Likewise.
42642 (rtld_hidden_tls_proto): Likewise.
42643 (libm_hidden_tls_proto): Likewise.
42644 (libresolv_hidden_tls_proto): Likewise.
42645 (librt_hidden_tls_proto): Likewise.
42646 (libdl_hidden_tls_proto): Likewise.
42647 (libnss_files_hidden_tls_proto): Likewise.
42648 (libnsl_hidden_tls_proto): Likewise.
42649 (libnss_nisplus_hidden_tls_proto): Likewise.
42650 (libutil_hidden_tls_proto): Likewise.
42651
42652 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
42653
42654 [BZ #10253]
42655 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42656 (decompose_rpath): Defer expansion to fillin_rpath.
42657 (_dl_init_paths): Pass linkmap to fillin_rpath.
42658
42659 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42660
42661 * benchtests/Makefile: Add strsep.
42662 * benchtests/bench-strsep.c: New file: strsep benchtest.
42663 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42664
42665 2013-11-18 Andreas Schwab <schwab@suse.de>
42666
42667 * locale/programs/locale.c (show_info) [case byte]: Check for
42668 '\377' instead of '\177'.
42669 * locale/C-monetary.c (not_available): Always use "\377".
42670 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42671 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
42672 detect unavailable sign_posn locale elements.
42673 * locale/localeconv.c (__localeconv): For grouping and
42674 mon_grouping handle "\177" and "\377" like no grouping.
42675 (INT_ELEM): New macro. Use it to set all numeric members.
42676 * locale/programs/ld-monetary.c (monetary_read)
42677 <tok_mon_grouping>: Normalize single -1 to the empty string.
42678 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42679 Likewise.
42680
42681 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
42682
42683 [BZ #16055]
42684 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42685 when we match (nil).
42686 * stdio-common/tst-sscanf.c (struct test): Add testcase.
42687
42688 2013-11-16 Joseph Myers <joseph@codesourcery.com>
42689
42690 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42691 (NO_TEST_INLINE): Update value.
42692 (ERRNO_UNCHANGED): Likewise.
42693 (ERRNO_EDOM): Likewise.
42694 (ERRNO_ERANGE): Likewise.
42695 (IGNORE_RESULT): Likewise.
42696 (check_float_internal): Check signs of NaN results if
42697 TEST_NAN_SIGN used.
42698 (check_complex): Pass TEST_NAN_SIGN flag through to second
42699 check_float_internal call.
42700 (copysign_test_data): Add tests with quiet NaNs as second
42701 argument. Use TEST_NAN_SIGN.
42702 (fabs_test_data): Add test of negative quiet NaN argument. Use
42703 TEST_NAN_SIGN.
42704 (signbit_test_data): Add tests of quiet NaN argument.
42705 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42706
42707 * math/gen-libm-test.pl (show_exceptions): Take extra argument
42708 $ignore_result.
42709 (parse_args): Handle function results specified as IGNORE.
42710 * math/libm-test.inc (IGNORE_RESULT): New macro.
42711 (check_float_internal): Do not check numerical result if flag
42712 IGNORE_RESULT set.
42713 (check_complex): Pass through IGNORE_RESULT to second
42714 check_float_internal call.
42715 (check_int): Do not check numerical result if flag IGNORE_RESULT
42716 set.
42717 (check_long): Likewise.
42718 (check_bool): Likewise.
42719 (check_longlong): Likewise.
42720 (lrint_test_data): Add tests of infinite and NaN arguments.
42721 (lrint_tonearest_test_data): Likewise.
42722 (lrint_towardzero_test_data): Likewise.
42723 (lrint_downward_test_data): Likewise.
42724 (lrint_upward_test_data): Likewise.
42725 (llrint_test_data): Likewise.
42726 (llrint_tonearest_test_data): Likewise.
42727 (llrint_towardzero_test_data): Likewise.
42728 (llrint_downward_test_data): Likewise.
42729 (llrint_upward_test_data): Likewise.
42730 (lround_test_data): Likewise.
42731 (llround_test_data): Likewise.
42732
42733 * math/libm-test.inc (NO_TEST_INLINE): New macro.
42734 (ERRNO_UNCHANGED): Update value.
42735 (ERRNO_EDOM): Likewise.
42736 (ERRNO_ERANGE): Likewise.
42737 (NO_TEST_INLINE_FLOAT): New macro.
42738 (NO_TEST_INLINE_DOUBLE): Likewise.
42739 (enable_test): New function.
42740 (RUN_TEST_f_f): Check enable_test before running test.
42741 (RUN_TEST_2_f): Likewise.
42742 (RUN_TEST_fff_f): Likewise.
42743 (RUN_TEST_c_f): Likewise.
42744 (RUN_TEST_f_f1): Likewise.
42745 (RUN_TEST_fF_f1): Likewise.
42746 (RUN_TEST_fI_f1): Likewise.
42747 (RUN_TEST_ffI_f1): Likewise.
42748 (RUN_TEST_c_c): Likewise.
42749 (RUN_TEST_cc_c): Likewise.
42750 (RUN_TEST_f_i): Likewise.
42751 (RUN_TEST_f_i_tg): Likewise.
42752 (RUN_TEST_ff_i_tg): Likewise.
42753 (RUN_TEST_f_b): Likewise.
42754 (RUN_TEST_f_b_tg): Likewise.
42755 (RUN_TEST_f_l): Likewise.
42756 (RUN_TEST_f_L): Likewise.
42757 (RUN_TEST_fFF_11): Likewise.
42758 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42759 conditionals.
42760 (cosh_test_data): Likewise.
42761 (exp_test_data): Likewise.
42762 (expm1_test_data): Likewise.
42763 (hypot_test_data): Likewise.
42764 (pow_test_data): Likewise.
42765 (sinh_test_data): Likewise.
42766 (tanh_test_data): Likewise.
42767 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42768 flags argument.
42769
42770 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42771 tests with quiet NaN input and output.
42772 (acosh_test_data): Likewise.
42773 (asin_test_data): Likewise.
42774 (asinh_test_data): Likewise.
42775 (atan_test_data): Likewise.
42776 (atanh_test_data): Likewise.
42777 (atan2_test_data): Likewise.
42778 (cbrt_test_data): Likewise.
42779 (cos_test_data): Likewise.
42780 (cosh_test_data): Likewise.
42781 (erf_test_data): Likewise.
42782 (erfc_test_data): Likewise.
42783 (exp_test_data): Likewise.
42784 (exp10_test_data): Likewise.
42785 (exp2_test_data): Likewise.
42786 (expm1_test_data): Likewise.
42787 (hypot_test_data): Likewise.
42788 (j0_test_data): Likewise.
42789 (j1_test_data): Likewise.
42790 (jn_test_data): Likewise.
42791 (lgamma_test_data): Likewise.
42792 (log_test_data): Likewise.
42793 (log10_test_data): Likewise.
42794 (log1p_test_data): Likewise.
42795 (log2_test_data): Likewise.
42796 (pow_test_data): Likewise.
42797 (scalb_test_data): Likewise.
42798 (sin_test_data): Likewise.
42799 (sincos_test_data): Likewise.
42800 (sinh_test_data): Likewise.
42801 (tan_test_data): Likewise.
42802 (tanh_test_data): Likewise.
42803 (tgamma_test_data): Likewise.
42804 (y0_test_data): Likewise.
42805 (y1_test_data): Likewise.
42806 (yn_test_data): Likewise.
42807
42808 [BZ #16167]
42809 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42810 argument being NaN and avoid computations with second argument in
42811 that case.
42812 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42813 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42814 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42815
42816 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
42817
42818 * locale/iso-639.def: Add Chitwani Tharu (the).
42819
42820 2013-11-14 Andreas Schwab <schwab@suse.de>
42821
42822 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42823 word instead of empty string.
42824
42825 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42826
42827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42828 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42830 (__fe_nomask_env): Likewise.
42831
42832 2013-11-13 Steve Ellcey <sellcey@mips.com>
42833
42834 * benchtests/bench-timing.h: Include time.h.
42835
42836 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
42837
42838 [BZ #15997]
42839 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42840 to 3.4.0 for x32.
42841 * sysdeps/unix/sysv/linux/configure: Regenerated.
42842
42843 2013-11-13 Joseph Myers <joseph@codesourcery.com>
42844
42845 [BZ #16151]
42846 * stdlib/strtod_l.c (round_and_return): Do not consider
42847 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42848 exponent one less than half the least subnormal exponent.
42849 * stdlib/test-strtod-round-data: Add more tests.
42850 * stdlib/tst-strtod-round.c (tests): Regenerated.
42851
42852 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42853
42854 [BZ #14143]
42855 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42856 (__fe_mask_env): Likewise.
42857 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42858 libm_hidden_proto and add function prototype.
42859 (__fe_mask_env): Add function prototype.
42860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42861 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42863 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42865 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42866
42867 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42868
42869 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42870 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42871
42872 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42873
42874 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42875 of htab_find_slot().
42876
42877 2013-11-11 David S. Miller <davem@davemloft.net>
42878
42879 [BZ #16150]
42880 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42881 symbol in the non-vis3 case in static builds.
42882 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42883 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42884 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42885 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42886
42887 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
42888
42889 [BZ #387]
42890 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42891 it is empty.
42892
42893 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42894
42895 * benchtests/Makefile: Add bench-strtod.
42896 * benchtests/bench-strtod.c: New file: strtod benchtest
42897
42898 2013-11-11 Andreas Schwab <schwab@suse.de>
42899
42900 [BZ #16153]
42901 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42902 terminating NUL in key length.
42903
42904 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42905
42906 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42907 Add artificial ODP entry for vDSO symbol for PPC64.
42908 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42909 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42910
42911 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
42912
42913 [BZ #15374]
42914 * nss/getent.c (services_keys): Recognize services starting with digit.
42915
42916 2013-11-06 David S. Miller <davem@davemloft.net>
42917
42918 [BZ #15985]
42919 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42920 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42921
42922 2013-11-06 Will Newton <will.newton@linaro.org>
42923
42924 * manual/memory.texi (Malloc Examples): Remove register
42925 keyword from examples.
42926
42927 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
42928
42929 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42930
42931 2013-11-04 Joseph Myers <joseph@codesourcery.com>
42932
42933 [BZ #6981]
42934 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42935 depending on [__GCC_IEC_559 > 0].
42936 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42937 depending on [__GCC_IEC_559_COMPLEX > 0].
42938
42939 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
42940
42941 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42942 to iso-639.def.
42943
42944 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
42945
42946 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42947
42948 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
42949
42950 [BZ #16112]
42951 * malloc/malloc (malloc_info): Do not handle first bin as
42952 special case.
42953
42954 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
42955
42956 * locale/iso-639.def: Add Central Nahuatl (nhn).
42957
42958 2013-11-01 Bruno Haible <bruno@clisp.org>
42959
42960 [BZ #7003]
42961 * manual/math.texi (BSD Random): Specify range upper bound as
42962 in POSIX.
42963
42964 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
42965
42966 * locale/iso-639.def: Add Meadow Mari (mhr).
42967
42968 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
42969
42970 [BZ #14752], [BZ #15763]
42971 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42972 Validate name.
42973 * rt/tst_shm.c: Add test for escaping directory.
42974
42975 2013-10-31 Andreas Schwab <schwab@suse.de>
42976
42977 [BZ #15917]
42978 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42979 followed by 'x' as part of digit sequence.
42980 * stdio-common/tst-sscanf.c (double_tests2): New tests.
42981
42982 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42983
42984 [BZ #16037]
42985 * configure.ac: allow GNU Make 4.0 and greater.
42986 * configure: Regenerated.
42987
42988 2013-10-30 Will Newton <will.newton@linaro.org>
42989
42990 [BZ #16038]
42991 * malloc/hooks.c (memalign_check): Limit alignment to the
42992 maximum representable power of two.
42993 * malloc/malloc.c (__libc_memalign): Likewise.
42994 * malloc/tst-memalign.c (do_test): Add test for very
42995 large alignment values.
42996 * malloc/tst-posix_memalign.c (do_test): Likewise.
42997
42998 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
42999
43000 [BZ #11087]
43001 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
43002 (munmap_chunk): Likewise.
43003 (mremap_chunk): Likewise.
43004
43005 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
43006
43007 [BZ #15799]
43008 * stdlib/div.c (div): Remove obsolete code.
43009 * stdlib/ldiv.c (ldiv): Likewise.
43010 * stdlib/lldiv.c (lldiv): Likewise.
43011
43012 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43013
43014 [BZ #16071]
43015 * nss/nss_files/files-XXX.c (get_contents_ret): New
43016 enumerator.
43017 (get_contents): New function.
43018 (internal_getent): Use it. Expand size of LINEBUFLEN.
43019
43020 2013-10-30 Mike Frysinger <vapier@gentoo.org>
43021
43022 * configure.in: Moved to ...
43023 * configure.ac: ... here. Change reference to configure.in
43024 to configure.ac.
43025 * sysdeps/arm/preconfigure.ac: ... here.
43026 configure.in to configure.ac.
43027 * sysdeps/gnu/configure.in: Moved to ...
43028 * sysdeps/gnu/configure.ac: ... here.
43029 * sysdeps/i386/configure.in: Moved to ...
43030 * sysdeps/i386/configure.ac: ... here.
43031 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
43032 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
43033 * sysdeps/mach/configure.in: Moved to ...
43034 * sysdeps/mach/configure.ac: ... here.
43035 * sysdeps/mach/hurd/configure.in: Moved to ...
43036 * sysdeps/mach/hurd/configure.ac: ... here.
43037 * sysdeps/powerpc/configure.in: Moved to ...
43038 * sysdeps/powerpc/configure.ac: ... here.
43039 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
43040 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
43041 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
43042 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
43043 * sysdeps/s390/s390-32/configure.in: Moved to ...
43044 * sysdeps/s390/s390-32/configure.ac: ... here.
43045 * sysdeps/s390/s390-64/configure.in: Moved to ...
43046 * sysdeps/s390/s390-64/configure.ac: ... here.
43047 * sysdeps/sh/configure.in: Moved to ...
43048 * sysdeps/sh/configure.ac: ... here.
43049 * sysdeps/sparc/configure.in: Moved to ...
43050 * sysdeps/sparc/configure.ac: ... here.
43051 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
43052 * sysdeps/unix/sysv/linux/configure.ac: ... here.
43053 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43054 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
43055 * sysdeps/x86_64/configure.in: Moved to ...
43056 * sysdeps/x86_64/configure.ac: ... here.
43057 * sysdeps/x86_64/preconfigure.in: Moved to ...
43058 * sysdeps/x86_64/preconfigure.ac: ... here.
43059 * aclocal.m4: Change reference to configure.in to configure.ac.
43060 * config.h.in: Likewise.
43061 * manual/install.texi: Likewise.
43062 * manual/maint.texi: Likewise.
43063 * Makefile: Likewise.
43064 * malloc/Makefile: Likewise.
43065 * nscd/Makefile: Likewise.
43066 * Makeconfig: Change reference to configure.in and
43067 preconfigure.in to configure.ac and preconfigure.ac
43068 respectively.
43069 * INSTALL: Regenerated.
43070 * configure: Likewise.
43071 * sysdeps/gnu/configure: Likewise.
43072 * sysdeps/i386/configure: Likewise.
43073 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
43074 * sysdeps/mach/configure: Likewise.
43075 * sysdeps/mach/hurd/configure: Likewise.
43076 * sysdeps/powerpc/configure: Likewise.
43077 * sysdeps/powerpc/powerpc32/configure: Likewise.
43078 * sysdeps/powerpc/powerpc64/configure: Likewise.
43079 * sysdeps/s390/s390-32/configure: Likewise.
43080 * sysdeps/s390/s390-64/configure: Likewise.
43081 * sysdeps/sh/configure: Likewise.
43082 * sysdeps/sparc/configure: Likewise.
43083 * sysdeps/unix/sysv/linux/configure: Likewise.
43084 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43085 * sysdeps/x86_64/configure: Likewise.
43086 * sysdeps/x86_64/preconfigure: Likewise.
43087
43088 2013-10-29 Andreas Schwab <schwab@suse.de>
43089
43090 * stdio-common/Makefile (tst-swscanf-ENV): Define.
43091
43092 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43093
43094 * benchtests/pow-inputs: Add new inputs.
43095
43096 * benchtests/exp-inputs: Add new inputs.
43097
43098 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
43099 conditional check for return value.
43100 (__cos32): Likewise.
43101
43102 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43103
43104 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
43105 to provide a boost for large inputs with word alignment.
43106 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
43107 implementation based on optimized PPC64 strcpy.
43108 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
43109 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
43110 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
43111 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
43112
43113 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
43114
43115 [BZ #2801]
43116 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
43117
43118 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
43119
43120 [BZ #14876]
43121 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
43122 * time/tst-strptime.c (day_tests): Add testcase.
43123
43124 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
43125
43126 [BZ #14029]
43127 * manual/pattern.texi: Acknowledge that fnmatch can fail.
43128
43129 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
43130
43131 [BZ #16074]
43132 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
43133 MAP_FAILED on error.
43134
43135 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43136
43137 [BZ #16072]
43138 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
43139 heap for large requests.
43140
43141 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
43142
43143 [BZ #9954]
43144 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
43145 result if the result has no associated interface.
43146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
43147 interface for all 127.X.Y.Z addresses.
43148
43149 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
43150
43151 * locale/iso-639.def: Add Ligurian (lij)
43152
43153 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
43154
43155 [BZ #15825]
43156 * sunrpc/rpc_main.c: Document rpcgen -5.
43157
43158 2013-10-19 Michael Stahl <mstahl@redhat.com>
43159
43160 * elf/rtld.c (do_preload): Print the reason why preloading failed.
43161
43162 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
43163
43164 [BZ #10278]
43165 * posix/glob.c: Match only directories when trailing slash is present.
43166 * posix/tst-gnuglob.c (my_opendir): Do not open files.
43167 (main): Add testcase.
43168
43169 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
43170
43171 [BZ #15670]
43172 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
43173
43174 2013-10-18 Carlos O'Donell <carlos@redhat.com>
43175
43176 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43177 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
43178 AUTH_DES and cindex for FIPS 140-2.
43179 (DES Encryption): Add cindex FIPS 46-3.
43180
43181 * locale/locarchive.h (struct locarhandle): Add fname.
43182 * locale/programs/localedef.c (main): Pass ARGV[remaining]
43183 if an optional argument was specified to --list-archive,
43184 otherwise NULL.
43185 * locale/programs/locarchive.c (show_archive_content): Take new
43186 argument fname and pass it via ah.fname to open_archive.
43187 * locale/programs/localedef.h: Update decl.
43188 (open_archive): If AH->fname is non-null, open that file
43189 rather than the default file name, and don't ignore ENOENT.
43190 (create_archive): Set AH.fname to NULL.
43191 (delete_locales_from_archive): Likewise.
43192 (add_locales_to_archive): Likewise.
43193 * locale/programs/locfile.c (write_all_categories): Likewise.
43194
43195 2013-10-18 Joseph Myers <joseph@codesourcery.com>
43196 Aldy Hernandez <aldyh@redhat.com>
43197
43198 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
43199 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
43200 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
43201 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
43202 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
43203 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
43204 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
43205 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43206 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43207 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43208 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43209 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43210 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43211 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43212 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43213 Likewise.
43214 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43215 Likewise.
43216 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43217 Likewise.
43218 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43219 Likewise.
43220 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43221 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43222 Likewise.
43223 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43224 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43225 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43226 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43227 Likewise.
43228 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43229 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43230 * sysdeps/powerpc/preconfigure: Likewise.
43231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43232 Likewise.
43233 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43234 Replace contents of file by #include of <fenv_libc.h>.
43235 * sysdeps/powerpc/soft-fp/sfp-machine.h
43236 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43237 and <sys/prctl.h>.
43238 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43239 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43240 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43241 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43242 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43243 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43245 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43246 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43247 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43248 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43249 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43251 Allow copysignl PLT reference to be missing.
43252
43253 2013-10-18 Richard Sandiford <richard@codesourcery.com>
43254 Joseph Myers <joseph@codesourcery.com
43255
43256 [BZ #15948]
43257 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43258 single character.
43259 (add_to_tablewc): Assert sequence of wide characters is nonempty.
43260
43261 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
43262
43263 * elf/tst-tls-dlinfo.c: Don't include tls.h.
43264 * elf/tst-tls1.c: Likewise.
43265 * elf/tst-tls10.h: Likewise.
43266 * elf/tst-tls14.c: Likewise.
43267 * elf/tst-tls2.c: Likewise.
43268 * elf/tst-tls3.c: Likewise.
43269 * elf/tst-tls4.c: Likewise.
43270 * elf/tst-tls5.c: Likewise.
43271 * elf/tst-tls6.c: Likewise.
43272 * elf/tst-tls7.c: Likewise.
43273 * elf/tst-tls8.c: Likewise.
43274 * elf/tst-tls9.c: Likewise.
43275 * elf/tst-tlsmod1.c: Likewise.
43276 * elf/tst-tlsmod13.c: Likewise.
43277 * elf/tst-tlsmod13a.c: Likewise.
43278 * elf/tst-tlsmod14a.c: Likewise.
43279 * elf/tst-tlsmod16a.c: Likewise.
43280 * elf/tst-tlsmod16b.c: Likewise.
43281 * elf/tst-tlsmod2.c: Likewise.
43282 * elf/tst-tlsmod3.c: Likewise.
43283 * elf/tst-tlsmod4.c: Likewise.
43284 * elf/tst-tlsmod5.c: Likewise.
43285 * elf/tst-tlsmod6.c: Likewise.
43286
43287 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
43288
43289 [BZ #12486]
43290 * malloc/malloc.c: remove checks for statistics.
43291
43292 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
43293
43294 [BZ #15277]
43295 * inet/inet_net.c (inet_network): Detect additional invalid strings.
43296 * inet/tst-network.c: Add testcase.
43297
43298 2013-10-17 Andreas Schwab <schwab@suse.de>
43299
43300 [BZ #15218]
43301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43302 to determine canonical name.
43303
43304 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
43305
43306 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43307 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43308 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43309 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43310 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43311 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43312 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43313 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43314 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43315 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43316 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43317 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43318 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43319 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43320 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43321 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43322 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43323 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43324 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43325 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43326 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43327 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43328 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43329 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43330 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43331 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43332 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43333 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43334 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43335 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43336 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43337 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43338 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43339 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43340 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43341 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43342 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43343 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43344 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43345 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43346 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43347 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43348 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43349 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43350 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43351 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43352 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43353 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43354 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43355 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43356 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43357 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43358 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43359 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43360 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43361 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43362 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43363 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43364
43365 2013-10-17 Joseph Myers <joseph@codesourcery.com>
43366
43367 [BZ #16041]
43368 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
43369 make result into a quiet NaN.
43370
43371 2013-10-16 Joseph Myers <joseph@codesourcery.com>
43372
43373 * soft-fp/adddf3.c: Fix horizontal whitespace.
43374 * soft-fp/addsf3.c: Likewise.
43375 * soft-fp/addtf3.c: Likewise.
43376 * soft-fp/divdf3.c: Likewise.
43377 * soft-fp/divsf3.c: Likewise.
43378 * soft-fp/divtf3.c: Likewise.
43379 * soft-fp/double.h: Likewise.
43380 * soft-fp/eqdf2.c: Likewise.
43381 * soft-fp/eqsf2.c: Likewise.
43382 * soft-fp/eqtf2.c: Likewise.
43383 * soft-fp/extenddftf2.c: Likewise.
43384 * soft-fp/extended.h: Likewise.
43385 * soft-fp/extendsfdf2.c: Likewise.
43386 * soft-fp/extendsftf2.c: Likewise.
43387 * soft-fp/extendxftf2.c: Likewise.
43388 * soft-fp/fixdfdi.c: Likewise.
43389 * soft-fp/fixdfsi.c: Likewise.
43390 * soft-fp/fixdfti.c: Likewise.
43391 * soft-fp/fixsfdi.c: Likewise.
43392 * soft-fp/fixsfsi.c: Likewise.
43393 * soft-fp/fixsfti.c: Likewise.
43394 * soft-fp/fixtfdi.c: Likewise.
43395 * soft-fp/fixtfsi.c: Likewise.
43396 * soft-fp/fixtfti.c: Likewise.
43397 * soft-fp/fixunsdfdi.c: Likewise.
43398 * soft-fp/fixunsdfsi.c: Likewise.
43399 * soft-fp/fixunsdfti.c: Likewise.
43400 * soft-fp/fixunssfdi.c: Likewise.
43401 * soft-fp/fixunssfsi.c: Likewise.
43402 * soft-fp/fixunssfti.c: Likewise.
43403 * soft-fp/fixunstfdi.c: Likewise.
43404 * soft-fp/fixunstfsi.c: Likewise.
43405 * soft-fp/fixunstfti.c: Likewise.
43406 * soft-fp/floatdidf.c: Likewise.
43407 * soft-fp/floatdisf.c: Likewise.
43408 * soft-fp/floatditf.c: Likewise.
43409 * soft-fp/floatsidf.c: Likewise.
43410 * soft-fp/floatsisf.c: Likewise.
43411 * soft-fp/floatsitf.c: Likewise.
43412 * soft-fp/floattidf.c: Likewise.
43413 * soft-fp/floattisf.c: Likewise.
43414 * soft-fp/floattitf.c: Likewise.
43415 * soft-fp/floatundidf.c: Likewise.
43416 * soft-fp/floatundisf.c: Likewise.
43417 * soft-fp/floatunditf.c: Likewise.
43418 * soft-fp/floatunsidf.c: Likewise.
43419 * soft-fp/floatunsisf.c: Likewise.
43420 * soft-fp/floatunsitf.c: Likewise.
43421 * soft-fp/floatuntidf.c: Likewise.
43422 * soft-fp/floatuntisf.c: Likewise.
43423 * soft-fp/floatuntitf.c: Likewise.
43424 * soft-fp/fmadf4.c: Likewise.
43425 * soft-fp/fmasf4.c: Likewise.
43426 * soft-fp/fmatf4.c: Likewise.
43427 * soft-fp/gedf2.c: Likewise.
43428 * soft-fp/gesf2.c: Likewise.
43429 * soft-fp/getf2.c: Likewise.
43430 * soft-fp/ledf2.c: Likewise.
43431 * soft-fp/lesf2.c: Likewise.
43432 * soft-fp/letf2.c: Likewise.
43433 * soft-fp/muldf3.c: Likewise.
43434 * soft-fp/mulsf3.c: Likewise.
43435 * soft-fp/multf3.c: Likewise.
43436 * soft-fp/negdf2.c: Likewise.
43437 * soft-fp/negsf2.c: Likewise.
43438 * soft-fp/negtf2.c: Likewise.
43439 * soft-fp/op-1.h: Likewise.
43440 * soft-fp/op-2.h: Likewise.
43441 * soft-fp/op-4.h: Likewise.
43442 * soft-fp/op-8.h: Likewise.
43443 * soft-fp/op-common.h: Likewise.
43444 * soft-fp/quad.h: Likewise.
43445 * soft-fp/single.h: Likewise.
43446 * soft-fp/soft-fp.h: Likewise.
43447 * soft-fp/sqrtdf2.c: Likewise.
43448 * soft-fp/sqrtsf2.c: Likewise.
43449 * soft-fp/sqrttf2.c: Likewise.
43450 * soft-fp/subdf3.c: Likewise.
43451 * soft-fp/subsf3.c: Likewise.
43452 * soft-fp/subtf3.c: Likewise.
43453 * soft-fp/truncdfsf2.c: Likewise.
43454 * soft-fp/trunctfdf2.c: Likewise.
43455 * soft-fp/trunctfsf2.c: Likewise.
43456 * soft-fp/trunctfxf2.c: Likewise.
43457 * soft-fp/unorddf2.c: Likewise.
43458 * soft-fp/unordsf2.c: Likewise.
43459 * soft-fp/unordtf2.c: Likewise.
43460
43461 2013-10-15 Joseph Myers <joseph@codesourcery.com>
43462
43463 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43464 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43465
43466 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
43467
43468 * elf/dl-libc.c: Clear initfini list after freeing.
43469
43470 2013-10-14 Joseph Myers <joseph@codesourcery.com>
43471
43472 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43473 * soft-fp/addsf3.c: Likewise.
43474 * soft-fp/addtf3.c: Likewise.
43475 * soft-fp/divdf3.c: Likewise.
43476 * soft-fp/divsf3.c: Likewise.
43477 * soft-fp/divtf3.c: Likewise.
43478 * soft-fp/double.h: Likewise.
43479 * soft-fp/eqdf2.c: Likewise.
43480 * soft-fp/eqsf2.c: Likewise.
43481 * soft-fp/eqtf2.c: Likewise.
43482 * soft-fp/extenddftf2.c: Likewise.
43483 * soft-fp/extended.h: Likewise.
43484 * soft-fp/extendsfdf2.c: Likewise.
43485 * soft-fp/extendsftf2.c: Likewise.
43486 * soft-fp/extendxftf2.c: Likewise.
43487 * soft-fp/fixdfdi.c: Likewise.
43488 * soft-fp/fixdfsi.c: Likewise.
43489 * soft-fp/fixdfti.c: Likewise.
43490 * soft-fp/fixsfdi.c: Likewise.
43491 * soft-fp/fixsfsi.c: Likewise.
43492 * soft-fp/fixsfti.c: Likewise.
43493 * soft-fp/fixtfdi.c: Likewise.
43494 * soft-fp/fixtfsi.c: Likewise.
43495 * soft-fp/fixtfti.c: Likewise.
43496 * soft-fp/fixunsdfdi.c: Likewise.
43497 * soft-fp/fixunsdfsi.c: Likewise.
43498 * soft-fp/fixunsdfti.c: Likewise.
43499 * soft-fp/fixunssfdi.c: Likewise.
43500 * soft-fp/fixunssfsi.c: Likewise.
43501 * soft-fp/fixunssfti.c: Likewise.
43502 * soft-fp/fixunstfdi.c: Likewise.
43503 * soft-fp/fixunstfsi.c: Likewise.
43504 * soft-fp/fixunstfti.c: Likewise.
43505 * soft-fp/floatdidf.c: Likewise.
43506 * soft-fp/floatdisf.c: Likewise.
43507 * soft-fp/floatditf.c: Likewise.
43508 * soft-fp/floatsidf.c: Likewise.
43509 * soft-fp/floatsisf.c: Likewise.
43510 * soft-fp/floatsitf.c: Likewise.
43511 * soft-fp/floattidf.c: Likewise.
43512 * soft-fp/floattisf.c: Likewise.
43513 * soft-fp/floattitf.c: Likewise.
43514 * soft-fp/floatundidf.c: Likewise.
43515 * soft-fp/floatundisf.c: Likewise.
43516 * soft-fp/floatunsidf.c: Likewise.
43517 * soft-fp/floatunsisf.c: Likewise.
43518 * soft-fp/floatuntidf.c: Likewise.
43519 * soft-fp/floatuntisf.c: Likewise.
43520 * soft-fp/floatuntitf.c: Likewise.
43521 * soft-fp/fmadf4.c: Likewise.
43522 * soft-fp/fmasf4.c: Likewise.
43523 * soft-fp/fmatf4.c: Likewise.
43524 * soft-fp/gedf2.c: Likewise.
43525 * soft-fp/gesf2.c: Likewise.
43526 * soft-fp/getf2.c: Likewise.
43527 * soft-fp/ledf2.c: Likewise.
43528 * soft-fp/lesf2.c: Likewise.
43529 * soft-fp/letf2.c: Likewise.
43530 * soft-fp/muldf3.c: Likewise.
43531 * soft-fp/mulsf3.c: Likewise.
43532 * soft-fp/multf3.c: Likewise.
43533 * soft-fp/negdf2.c: Likewise.
43534 * soft-fp/negsf2.c: Likewise.
43535 * soft-fp/negtf2.c: Likewise.
43536 * soft-fp/op-1.h: Likewise.
43537 * soft-fp/op-2.h: Likewise.
43538 * soft-fp/op-4.h: Likewise.
43539 * soft-fp/op-8.h: Likewise.
43540 * soft-fp/op-common.h: Likewise.
43541 * soft-fp/quad.h: Likewise.
43542 * soft-fp/single.h: Likewise.
43543 * soft-fp/soft-fp.h: Likewise.
43544 * soft-fp/sqrtdf2.c: Likewise.
43545 * soft-fp/sqrtsf2.c: Likewise.
43546 * soft-fp/sqrttf2.c: Likewise.
43547 * soft-fp/subdf3.c: Likewise.
43548 * soft-fp/subsf3.c: Likewise.
43549 * soft-fp/subtf3.c: Likewise.
43550 * soft-fp/truncdfsf2.c: Likewise.
43551 * soft-fp/trunctfdf2.c: Likewise.
43552 * soft-fp/trunctfsf2.c: Likewise.
43553 * soft-fp/trunctfxf2.c: Likewise.
43554 * soft-fp/unorddf2.c: Likewise.
43555 * soft-fp/unordsf2.c: Likewise.
43556 * soft-fp/unordtf2.c: Likewise.
43557
43558 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
43559
43560 [BZ #15672]
43561 * misc/error.c (error_tail): Fix possible buffer overflow.
43562
43563 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
43564
43565 [BZ #13028]
43566 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43567 address.
43568
43569 2013-10-14 P. J. McDermott <pj@pehjota.net>
43570
43571 [BZ #832]
43572 * elf/ldd.bash.in (try_trace): New function. Delete previous code
43573 testing pipefail option.
43574
43575 2013-10-12 Joseph Myers <joseph@codesourcery.com>
43576
43577 * soft-fp/double.h: Indent preprocessor directives inside #if.
43578 * soft-fp/extended.h: Likewise.
43579 * soft-fp/op-2.h: Likewise.
43580 * soft-fp/op-4.h: Likewise.
43581 * soft-fp/op-common.h: Likewise.
43582 * soft-fp/quad.h: Likewise.
43583 * soft-fp/single.h: Likewise.
43584 * soft-fp/soft-fp.h: Likewise.
43585
43586 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
43587
43588 * iconv/iconv_prog.c: Fix typos.
43589 * stdio-common/psiginfo-data.h: Likewise.
43590
43591 2013-10-12 Reuben Thomas <rrt@sc3d.org>
43592
43593 [BZ #15764]
43594 * locale/setlocale.c: Fix typo.
43595
43596 2013-10-12 Joseph Myers <joseph@codesourcery.com>
43597
43598 [BZ #16036]
43599 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43600 signaling NaN arguments.
43601 * soft-fp/unordsf2.c (__unordsf2): Likewise.
43602 * soft-fp/unordtf2.c (__unordtf2): Likewise.
43603
43604 [BZ #14910]
43605 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43606 unordered operands.
43607 * soft-fp/gesf2.c (__gesf2): Likewise.
43608 * soft-fp/getf2.c (__getf2): Likewise.
43609 * soft-fp/ledf2.c (__ledf2): Likewise.
43610 * soft-fp/lesf2.c (__lesf2): Likewise.
43611 * soft-fp/letf2.c (__letf2): Likewise.
43612
43613 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43614 * soft-fp/eqsf2.c (__eqsf2): Likewise.
43615 * soft-fp/eqtf2.c (__eqtf2): Likewise.
43616 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43617 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43618 * soft-fp/fixdfti.c (__fixdfti): Likewise.
43619 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43620 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43621 * soft-fp/fixsfti.c (__fixsfti): Likewise.
43622 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43623 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43624 * soft-fp/fixtfti.c (__fixtfti): Likewise.
43625 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43626 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43627 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43628 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43629 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43630 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43631 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43632 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43633 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43634 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43635 * soft-fp/floatdisf.c (__floatdisf): Likewise.
43636 * soft-fp/floatsisf.c (__floatsisf): Likewise.
43637 * soft-fp/floattidf.c (__floattidf): Likewise.
43638 * soft-fp/floattisf.c (__floattisf): Likewise.
43639 * soft-fp/floattitf.c (__floattitf): Likewise.
43640 * soft-fp/floatundidf.c (__floatundidf): Likewise.
43641 * soft-fp/floatundisf.c (__floatundisf): Likewise.
43642 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43643 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43644 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43645 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43646 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43647 * soft-fp/gesf2.c (__gesf2): Likewise.
43648 * soft-fp/getf2.c (__getf2): Likewise.
43649 * soft-fp/ledf2.c (__ledf2): Likewise.
43650 * soft-fp/lesf2.c (__lesf2): Likewise.
43651 * soft-fp/letf2.c (__letf2): Likewise.
43652
43653 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43654 Undefine and redefine.
43655 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43656 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43657 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43658 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43659 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43660 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43661 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43662 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43663 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43664 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43665 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43666 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43667 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43668 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43669 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43670
43671 [BZ #16032]
43672 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43673 without decrementing exponent if mantissa >= that for the
43674 denominator, not >.
43675 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43676 denominator, not >. Decrement exponent in < case instead of
43677 incrementing in >= case.
43678 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43679 without decrementing exponent if mantissa >= that for the
43680 denominator, not >.
43681
43682 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43683 computing saturated result for unsigned overflow.
43684
43685 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43686 Jeff Law <law@redhat.com>
43687
43688 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43689 (atan2Mp): Add systemtap probe marker.
43690 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43691 (__ieee754_log): Add systemtap probe marker.
43692 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43693 (atanMp): Add systemtap probe marker.
43694 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43695 (tanMp): Add systemtap probe marker.
43696 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43697 (__slowexp): Add systemtap probe marker.
43698 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43699 (__slowpow): Add systemtap probe marker.
43700 * manual/probes.texi: Document probes.
43701
43702 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
43703
43704 [BZ #15362]
43705 * libio/fileops.c (_IO_new_file_write): Return count of bytes
43706 written.
43707 (_IO_new_file_xsputn): Don't return EOF if nothing has been
43708 written.
43709 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43710 written to buffer but not flushed.
43711 * libio/iofwrite_u.c: Likewise.
43712 * libio/iopadn.c: Return bytes returned even if EOF was
43713 encountered.
43714 * libio/iowpadn.c: Likewise.
43715 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43716 if _IO_padn does not write the whole buffer.
43717 [!COMPILE_WPRINTF] (PAD): Likewise.
43718
43719 2013-10-10 David S. Miller <davem@davemloft.net>
43720
43721 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43722 directory block.
43723
43724 2013-10-10 Joseph Myers <joseph@codesourcery.com>
43725
43726 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
43727 instead of FSF address.
43728 * soft-fp/fixdfti.c: Likewise.
43729 * soft-fp/fixsfti.c: Likewise.
43730 * soft-fp/fixtfti.c: Likewise.
43731 * soft-fp/fixunsdfti.c: Likewise.
43732 * soft-fp/fixunssfti.c: Likewise.
43733 * soft-fp/fixunstfti.c: Likewise.
43734 * soft-fp/floattidf.c: Likewise.
43735 * soft-fp/floattisf.c: Likewise.
43736 * soft-fp/floattitf.c: Likewise.
43737 * soft-fp/floatuntidf.c: Likewise.
43738 * soft-fp/floatuntisf.c: Likewise.
43739 * soft-fp/floatuntitf.c: Likewise.
43740 * soft-fp/trunctfxf2.c: Likewise.
43741
43742 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
43743 * soft-fp/fixdfti.c: Likewise.
43744 * soft-fp/fixsfti.c: Likewise.
43745 * soft-fp/fixtfti.c: Likewise.
43746 * soft-fp/fixunsdfti.c: Likewise.
43747 * soft-fp/fixunssfti.c: Likewise.
43748 * soft-fp/fixunstfti.c: Likewise.
43749 * soft-fp/floattidf.c: Likewise.
43750 * soft-fp/floattisf.c: Likewise.
43751 * soft-fp/floattitf.c: Likewise.
43752 * soft-fp/floatuntidf.c: Likewise.
43753 * soft-fp/floatuntisf.c: Likewise.
43754 * soft-fp/floatuntitf.c: Likewise.
43755 * soft-fp/trunctfxf2.c: Likewise.
43756
43757 2013-10-10 David S. Miller <davem@davemloft.net>
43758
43759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43760
43761 2013-10-10 Joseph Myers <joseph@codsourcery.com>
43762
43763 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43764 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43765 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43766 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43767 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43768 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43769 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43770
43771 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43772 for NaNs before doing comparisons on argument.
43773 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43774 Likewise.
43775
43776 2013-10-10 Will Newton <will.newton@linaro.org>
43777
43778 * malloc/hooks.c (memalign_check): Ensure the value of bytes
43779 passed to _int_memalign does not overflow.
43780
43781 2013-10-10 Torvald Riegel <triegel@redhat.com>
43782
43783 * scripts/bench.pl: Add include-sources directive.
43784 * benchtests/README: Update documentation.
43785
43786 2013-10-10 Joseph Myers <joseph@codesourcery.com>
43787
43788 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43789 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43790 instead of FP_INIT_ROUNDMODE.
43791 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43792 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43793
43794 [BZ #16034]
43795 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
43796 copy class of input value.
43797 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
43798 not handle exceptions.
43799 * soft-fp/negsf2.c (__negsf2): Likewise.
43800 * soft-fp/negtf2.c (__negtf2): Likewise.
43801 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43802
43803 2013-10-09 Joseph Myers <joseph@codesourcery.com>
43804
43805 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43806 semicolon. From Linux kernel.
43807
43808 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
43809
43810 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43811
43812 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
43813
43814 [BZ #156]
43815 * manual/socket.texi: Added statement about buffer
43816 for gethostbyname2_r.
43817
43818 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
43819
43820 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43821 Use .p2align directive instead, throughout.
43822 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43823 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43824 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43825 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43826 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43827 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43828 * sysdeps/x86_64/strchr.S: Likewise.
43829 * sysdeps/x86_64/strrchr.S: Likewise.
43830
43831 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
43832
43833 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43834
43835 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43836
43837 * sysdeps/generic/math_private.h (__mpsin1): Remove
43838 declaration.
43839 (__mpcos1): Likewise.
43840 (__mpsin): New argument __range_reduce.
43841 (__mpcos): Likewise.
43842 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43843 (slow): Use __mpsin and __mpcos.
43844 (slow1): Likewise.
43845 (slow2): Likewise.
43846 (sloww): Likewise.
43847 (sloww1): Likewise.
43848 (sloww2): Likewise.
43849 (bsloww): Likewise.
43850 (bsloww1): Likewise.
43851 (bsloww2): Likewise.
43852 (cslow2): Likewise.
43853 (csloww): Likewise.
43854 (csloww1): Likewise.
43855 (csloww2): Likewise.
43856 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43857 range_reduce. Merge in __mpsin1.
43858 (__mpcos): Likewise.
43859 (__mpsin1): Remove.
43860 (__mpcos1): Likewise.
43861
43862 2013-10-07 Joseph Myers <joseph@codesourcery.com>
43863
43864 * locale/loadlocale.c (_nl_intern_locale_data): Use
43865 LOCFILE_ALIGNED_P.
43866 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43867 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43868 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43869 obstack data is appropriately aligned.
43870 (obstack_int32_grow_fast): Likewise.
43871 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43872 * locale/programs/locfile.c (add_locale_uint32): Likewise.
43873 (add_locale_uint32_array): Likewise.
43874
43875 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
43876
43877 * benchtests/Makefile: Remove ARGLIST and RET variables.
43878 ($(objpfx)bench-%.c): Pass only function name to the script.
43879 * benchtests/README: Update documentation.
43880 * benchtests/acos-inputs: Add new directives.
43881 * benchtests/acosh-inputs: Likewise.
43882 * benchtests/asin-inputs: Likewise.
43883 * benchtests/asinh-inputs: Likewise.
43884 * benchtests/atan-inputs: Likewise.
43885 * benchtests/atanh-inputs: Likewise.
43886 * benchtests/cos-inputs: Likewise.
43887 * benchtests/cosh-inputs: Likewise.
43888 * benchtests/exp-inputs: Likewise.
43889 * benchtests/log-inputs: Likewise.
43890 * benchtests/pow-inputs: Likewise.
43891 * benchtests/rint-inputs: Likewise.
43892 * benchtests/sin-inputs: Likewise.
43893 * benchtests/sinh-inputs: Likewise.
43894 * benchtests/tan-inputs: Likewise.
43895 * benchtests/tanh-inputs: Likewise.
43896 * scripts/bench.pl: Add support for new directives.
43897
43898 2013-10-07 Alan Modra <amodra@gmail.com>
43899
43900 * README: Fix careless merge.
43901
43902 2013-10-05 Alan Modra <amodra@gmail.com>
43903
43904 * NEWS: Mention powerpc64le support and bugs fixed.
43905 * README: Both big-endian and little-endian powerpc64 supported.
43906
43907 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43908
43909 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43910 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43911 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43912 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43913
43914 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
43915
43916 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43917 match prototype.
43918
43919 2013-10-04 Joseph Myers <joseph@codesourcery.com>
43920
43921 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43922 Move -mhard-float appending from
43923 ports/sysdeps/powerpc/powerpc32/Makefile.
43924 [$(with-fp) = yes] (ASFLAGS): Likewise.
43925 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43926 * sysdeps/powerpc/nofpu: Move directory from
43927 ports/sysdeps/powerpc/nofpu.
43928 * sysdeps/powerpc/soft-fp: Move directory from
43929 ports/sysdeps/powerpc/soft-fp.
43930 * sysdeps/powerpc/powerpc32/405: Move directory from
43931 ports/sysdeps/powerpc/powerpc32/405.
43932 * sysdeps/powerpc/powerpc32/440: Move directory from
43933 ports/sysdeps/powerpc/powerpc32/440.
43934 * sysdeps/powerpc/powerpc32/464: Move directory from
43935 ports/sysdeps/powerpc/powerpc32/464.
43936 * sysdeps/powerpc/powerpc32/476: Move directory from
43937 ports/sysdeps/powerpc/powerpc32/476.
43938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43939 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43941 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43943 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43945 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43947 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43948 * README: Update for powerpc-*-linux-gnu software floating point
43949 support in libc.
43950
43951 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43952 case to powerpc/powerpc32*.
43953 * sysdeps/unix/sysv/linux/configure: Regenerated.
43954
43955 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43956 (_FPU_MASK_OM): Define as 0x04.
43957 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43958 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43959 0x00c10080.
43960 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43961 0x0000003c.
43962 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43963
43964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43965 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43966 getcontext_e500.
43967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43968 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43969 setcontext_e500.
43970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43971 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43972 and setcontext_e500.
43973
43974 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
43975
43976 * locale/iso-3166.def: Update iso-1366.def and related occurrences
43977
43978 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43979
43980 * manual/threads.texi (Default Thread Attributes): Fix typo.
43981
43982 2013-10-04 Will Newton <will.newton@linaro.org>
43983
43984 * malloc/Makefile: Add tst-memalign.
43985 * malloc/tst-memalign.c: New file.
43986
43987 * malloc/tst-posix_memalign.c: Add comments.
43988 (do_test): Add comments and call free on all potentially
43989 allocated pointers. Add space after cast.
43990
43991 * malloc/tst-pvalloc.c: Add comments.
43992 (do_test): Add comments and call free on all potentially
43993 allocated pointers. Remove duplicate check for NULL pointer.
43994 Add space after cast.
43995
43996 * malloc/tst-valloc.c: Add comments.
43997 (do_test): Add comments and call free on all potentially
43998 allocated pointers. Remove duplicate check for NULL pointer.
43999 Add space after cast.
44000
44001 2013-10-04 Alan Modra <amodra@gmail.com>
44002
44003 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44004 Use stdint types in rather than __attribute__((mode())).
44005 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44006
44007 2013-10-04 Alan Modra <amodra@gmail.com>
44008
44009 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44010 Correct handling of unaligned relocs for little-endian.
44011 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44012
44013 2013-10-04 Alan Modra <amodra@gmail.com>
44014
44015 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
44016 * configure: Regenerate.
44017 * nptl/shlib-versions: Powerpc*le starts at 2.18.
44018 * shlib-versions: Likewise.
44019
44020 2013-10-04 Alan Modra <amodra@gmail.com>
44021
44022 * string/tester.c (test_memrchr): Increment reported test cycle.
44023
44024 2013-10-04 Alan Modra <amodra@gmail.com>
44025
44026 * string/test-memcpy.c (do_one_test): When reporting errors, print
44027 string address and don't overrun end of string.
44028
44029 2013-10-04 Alan Modra <amodra@gmail.com>
44030
44031 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
44032 insrdi. Make better use of reg selection to speed exit slightly.
44033 Schedule entry path a little better. Remove useless "are we done"
44034 checks on entry to main loop. Handle wrapping around zero address.
44035 Correct main loop count. Handle single left-over word from main
44036 loop inline rather than by using loop_small. Remove extra word
44037 case in loop_small caused by wrong loop count. Add little-endian
44038 support.
44039 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44040 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
44041 cache hint.
44042 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44043 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
44044 support. Avoid rlwimi.
44045 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
44046
44047 2013-10-04 Alan Modra <amodra@gmail.com>
44048
44049 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44050 insrdi. Formatting.
44051 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
44052 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44053 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44054 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44055 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44056 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
44057
44058 2013-10-04 Alan Modra <amodra@gmail.com>
44059
44060 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
44061 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44062 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44063 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
44064 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44065 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44066 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44067 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44068 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
44069 use of regs. Use power7 mtocrf. Tidy function tails.
44070
44071 2013-10-04 Alan Modra <amodra@gmail.com>
44072
44073 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
44074 Formatting. Consistently use rXXX register defines or rN defines.
44075 Use early exit labels that avoid restoring unused non-volatile regs.
44076 Make cr field use more consistent with rWORDn compares. Rename
44077 regs used as shift registers for unaligned loop, using rN defines
44078 for short lifetime/multiple use regs.
44079 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44080 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
44081 addi 1,1,64 to pop stack frame. Simplify return value code.
44082 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44083
44084 2013-10-04 Alan Modra <amodra@gmail.com>
44085
44086 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44087 support. Correct typos, formatting. Optimize tail. Use insrdi
44088 rather than rlwimi.
44089 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44090 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44091 little-endian support. Correct typos.
44092 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
44093 rather than rlwimi.
44094 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
44095 in loop and entry code to keep "and." results.
44096 (strchr): Add little-endian support. Comment. Move cntlzd
44097 earlier in tail.
44098 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
44099
44100 2013-10-04 Alan Modra <amodra@gmail.com>
44101
44102 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
44103 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
44104 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
44105 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
44106
44107 2013-10-04 Alan Modra <amodra@gmail.com>
44108
44109 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
44110 (rTMP): Define as r11.
44111 (strcmp): Add little-endian support. Optimise tail.
44112 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
44113 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44114 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44115 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44116 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44117 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44118 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44119
44120 2013-10-04 Alan Modra <amodra@gmail.com>
44121
44122 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
44123 little-endian support. Remove unnecessary "are we done" tests.
44124 Handle "s" wrapping around zero and extremely large "size".
44125 Correct main loop count. Handle single left-over word from main
44126 loop inline rather than by using small_loop. Correct comments.
44127 Delete "zero" tail, use "end_max" instead.
44128 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
44129
44130 2013-10-04 Alan Modra <amodra@gmail.com>
44131
44132 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
44133 support. Don't branch over align.
44134 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
44135 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
44136 support. Rearrange tmp reg use to suit. Comment.
44137 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
44138
44139 2013-10-04 Alan Modra <amodra@gmail.com>
44140
44141 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
44142
44143 2013-10-04 Alan Modra <amodra@gmail.com>
44144
44145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
44146 conditional form of branch and link when obtaining pc.
44147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44148
44149 2013-10-04 Alan Modra <amodra@gmail.com>
44150
44151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
44152 HIWORD/LOWORD.
44153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
44154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
44155
44156 2013-10-04 Alan Modra <amodra@gmail.com>
44157
44158 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
44159 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
44160 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
44161 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
44162 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44163 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44164 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
44165 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44166 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
44167 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
44168
44169 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
44170 Alistair Popple <alistair@ozlabs.au.ibm.com>
44171 Alan Modra <amodra@gmail.com>
44172
44173 [BZ #15723]
44174 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
44175 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
44176 _dl_hwcap access for little-endian.
44177 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
44178 destroy vmx regs when saving unaligned.
44179 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
44180 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
44181 destroy vmx regs when saving unaligned.
44182
44183 2013-10-04 Alan Modra <amodra@gmail.com>
44184
44185 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
44186 Don't use a union to pack hi/low value.
44187
44188 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
44189
44190 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
44191 for little-endian.
44192 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
44194 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44195 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44196 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44197
44198 2013-10-04 Alan Modra <amodra@gmail.com>
44199
44200 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
44201 constants to usual value for .cst8 section, and remove redundant
44202 high address load.
44203 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
44204 constant for 0x1p52. Load little-endian words of double from
44205 correct stack offsets.
44206
44207 2013-10-04 Alan Modra <amodra@gmail.com>
44208
44209 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44210 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44211 words of double from correct stack offsets.
44212 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44213 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44214 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44215 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44216 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44217 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44218 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44219 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44220 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44221 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44222 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44223 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44224 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44225 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44226 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44227 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44228 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44229
44230 2013-10-04 Alan Modra <amodra@gmail.com>
44231
44232 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44233 64-bit int/double union.
44234 (_FPU_SETCW): Likewise.
44235 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44236 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44237
44238 2013-10-04 Alan Modra <amodra@gmail.com>
44239
44240 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44241 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44242
44243 2013-10-04 Alan Modra <amodra@gmail.com>
44244
44245 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44246 use vector int constants.
44247 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44248
44249 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
44250
44251 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44252 array with long long.
44253 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44254 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44255 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44256 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44257 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44258 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44259 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44260 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44261 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44262 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44263 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44264 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44265 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44266
44267 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
44268
44269 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44270 (__signbit): Likewise. Correct for little-endian.
44271 (__signbitl): Call __signbit.
44272 (lrint): Correct for little-endian.
44273 (lrintf): Call lrint.
44274
44275 2013-10-04 Alan Modra <amodra@gmail.com>
44276
44277 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44278 union 32-bit int array member with 64-bit int array.
44279 (t515, tm256): Double rather than long double.
44280 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44281
44282 2013-10-04 Alan Modra <amodra@gmail.com>
44283
44284 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44285 Delete.
44286 (IEEE854_LONG_DOUBLE_BIAS): Delete.
44287 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44288 version of math_ldbl.h.
44289
44290 2013-10-04 Alan Modra <amodra@gmail.com>
44291
44292 [BZ #15734], [BZ #15735]
44293 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44294 all uses of ieee875 long double macros and unions. Simplify test
44295 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
44296 ldbl_extract_mantissa value for ix,iy exponents. Properly
44297 normalize after ldbl_extract_mantissa, and don't add hidden bit
44298 already handled. Don't treat low word of ieee854 mantissa like
44299 low word of IBM long double and mask off bit when testing for
44300 zero.
44301 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44302 all uses of ieee875 long double macros and unions. Simplify tests
44303 for 0.0L and inf. Correct double adjustment of k. Delete dead code
44304 adjusting ha,hb. Simplify code setting kld. Delete two600 and
44305 two1022, instead use their values. Recognise that tests for large
44306 "a" and small "b" are mutually exclusive. Rename vars. Comment.
44307 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44308 Rewrite all uses of ieee875 long double macros and unions. Simplify
44309 test for 0.0L and nan. Correct negation.
44310 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44311 ieee875 long double macros and unions. Correct output for large
44312 magnitude x. Correct absolute value calculation.
44313 (__erfcl): Likewise.
44314 * math/libm-test.inc: Add tests for errors discovered in IBM long
44315 double versions of fmodl, remainderl, erfl and erfcl.
44316
44317 2013-10-04 Alan Modra <amodra@gmail.com>
44318
44319 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44320 all uses of ieee854 long double macros and unions. Simplify tests
44321 for long doubles that are fully specified by the high double.
44322 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44323 Likewise.
44324 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44325 Remove dead code too.
44326 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44327 (__ieee754_ynl): Likewise.
44328 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44329 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44330 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44331 Remove dead code too.
44332 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44333 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44334 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44335 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44336 Simplify.
44337 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44338 Simplify.
44339 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44340 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44341 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44342 Comment on variable precision.
44343 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44344 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44345 Likewise.
44346 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44347 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44348 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44349 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44350 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44351
44352 2013-10-04 Alan Modra <amodra@gmail.com>
44353
44354 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44355 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44356 all uses of ieee854 long double macros and unions.
44357 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
44358 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44359 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44360 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
44361 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
44362 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44363 Likewise.
44364 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
44365 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44366 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
44367 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44368 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
44369 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
44370 Simplify sign and nan test too.
44371 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
44372 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
44373 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
44374 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
44375 Likewise.
44376 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44377 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
44378 Likewise.
44379 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44380 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
44381 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
44382 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
44383 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
44384 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
44385
44386 2013-10-04 Alan Modra <amodra@gmail.com>
44387
44388 * stdio-common/printf_size.c (__printf_size): Don't use
44389 union ieee854_long_double in fpnum union.
44390 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
44391 signbit macro to retrieve sign from long double.
44392 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
44393 retrieve sign from long double.
44394 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
44395 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
44396 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
44397 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44398 * math/test-misc.c (main): Don't use union ieee854_long_double.
44399
44400 2013-10-04 Alan Modra <amodra@gmail.com>
44401
44402 [BZ #15680]
44403 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
44404 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
44405 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
44406 calculation. Remove unnecessary test for denormal exponent.
44407 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
44408 Correct handling of denormals. Avoid undefined shift behaviour.
44409 Correct normalisation of low mantissa when low double is denormal.
44410 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
44411 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
44412 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
44413 Correct normalisation of low mantissa. Test for overflow of high
44414 mantissa and normalise.
44415 (ldbl_nearbyint): Use more readable constant for two52.
44416 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
44417 (__mpn_construct_long_double): Fix test for overflow of high
44418 mantissa and correct normalisation. Avoid undefined shift.
44419
44420 2013-10-04 Alan Modra <amodra@gmail.com>
44421
44422 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44423 (union ibm_extended_long_double): Define as an array of ieee754_double.
44424 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
44425 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
44426 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
44427 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44428 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44429 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
44430 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44431 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44432 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44433 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
44434 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44435
44436 2013-10-03 Joseph Myers <joseph@codesourcery.com>
44437
44438 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
44439 page size instead of calling getpagesize.
44440
44441 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
44442 (LOCFILE_ALIGN_MASK): Likewise.
44443 (LOCFILE_ALIGN_UP): Likewise.
44444 (LOCFILE_ALIGNED_P): Likewise.
44445 * locale/programs/ld-collate.c (collate_output): Use the new
44446 macros instead of __alignof__ (int32_t).
44447 * locale/weight.h (findidx): Likewise.
44448
44449 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
44450
44451 [BZ #431]
44452 * manual/string.texi: Fix strncat and wcsncat.
44453
44454 2013-10-03 Brooks Moses <bmoses@google.com>
44455
44456 [BZ #15915]
44457 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44458 * Makerules: ...here, and adjust associated comments.
44459
44460 2013-10-02 Will Newton <will.newton@linaro.org>
44461
44462 * malloc/Makefile: Add tst-pvalloc.
44463 * malloc/tst-pvalloc.c: New file.
44464
44465 2013-10-02 Will Newton <will.newton@linaro.org>
44466
44467 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44468 improve test coverage.
44469
44470 2013-10-02 Will Newton <will.newton@linaro.org>
44471
44472 * malloc/Makefile: Add tst-posix_memalign.
44473 * malloc/tst-posix_memalign.c: New file.
44474
44475 2013-10-01 Eric Blake <eblake@redhat.com>
44476
44477 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44478 Use __THROWNL rather than __THROW on static functions.
44479
44480 2013-09-30 Petr Machata <pmachata@redhat.com>
44481
44482 * elf/elf.h (R_AARCH64_ABS16): New macro.
44483 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44484 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44485 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44486 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44487 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44488 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44489 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44490 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44491 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44492 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44493 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44494 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44495 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44496 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44497 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44498 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44499 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44500 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44501 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44502 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44503 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44504 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44505 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44506 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44507 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44508 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44509 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44510 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44511 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44512 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44513 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44514 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44515 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44516 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44517 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44518 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44519 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44520 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44521 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44522 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44523 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44524 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44525 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44526 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44527 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44528 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44529 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44530 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44531 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44532 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44533 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44534 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44535 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44536 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44537 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44538 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44539 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44540 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44541 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44542 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44543 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44544 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44545 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44546 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44547 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44548 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44549 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44550 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44551 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44552 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44553 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44554 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44555 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44556 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44557 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44558 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44559 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44560 (R_AARCH64_TLSDESC_LDR): Likewise.
44561 (R_AARCH64_TLSDESC_ADD): Likewise.
44562 (R_AARCH64_TLSDESC_CALL): Likewise.
44563
44564 2013-09-30 Andreas Schwab <schwab@suse.de>
44565
44566 [BZ #15048]
44567 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44568 the nss database lookup.
44569 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44571
44572 2013-09-28 Mike Frysinger <vapier@gentoo.org>
44573
44574 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44575
44576 2013-09-28 P. J. McDermott <pj@pehjota.net>
44577
44578 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44579 ${Bash-specific parameter/pattern/string} parameter expansion.
44580 * sysdeps/unix/make-syscalls.sh: Likewise.
44581
44582 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44583
44584 * sysdeps/sh/stackguard-macros.h: New file.
44585
44586 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
44587
44588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44589 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44590 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44591 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44592 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44593 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44594
44595 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44596
44597 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44598 Fix thread ID register.
44599
44600 2013-09-25 Joseph Myers <joseph@codesourcery.com>
44601
44602 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44603 [POSIX || UNIX98]: Require rather than permitting all symbols from
44604 <time.h>.
44605 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44606 element of struct sched_param.
44607 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44608 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44609 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44610 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44611 constant.
44612
44613 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
44614
44615 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44616 argument calculation.
44617
44618 2013-09-24 Joseph Myers <joseph@codesourcery.com>
44619
44620 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44621 Expect macro.
44622 [POSIX] (pthread_attr_t): Do not require type.
44623 [POSIX] (pthread_cond_t): Likewise.
44624 [POSIX] (pthread_condattr_t): Likewise.
44625 [POSIX] (pthread_key_t): Likewise.
44626 [POSIX] (pthread_mutex_t): Likewise.
44627 [POSIX] (pthread_mutexattr_t): Likewise.
44628 [POSIX] (pthread_once_t): Likewise.
44629 [POSIX] (pthread_t): Likewise.
44630 [POSIX-based standards] (pthread_atfork): Expect function.
44631
44632 2013-09-24 Joseph Myers <joseph@codesourcery.com>
44633 Richard Sandiford <richard@codesourcery.com>
44634
44635 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44636 (swap_endianness_p): New extern variable.
44637 (set_big_endian): New inline function.
44638 (maybe_swap_uint32): Likewise.
44639 (maybe_swap_uint32_array): Likewise.
44640 (maybe_swap_uint32_obstack): Likewise.
44641 * locale/programs/locfile.c: Include <stdbool.h>.
44642 (swap_endianness_p): New variable.
44643 (add_locale_uint32): Call maybe_swap_uint32.
44644 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44645 (write_locale_data): Call maybe_swap_uint32_array.
44646 * locale/programs/ld-collate.c (obstack_int32_grow): Call
44647 maybe_swap_uint32.
44648 (obstack_int32_grow_fast): Likewise.
44649 (output_weightwc): Call maybe_swap_uint32_obstack.
44650 (collate_output): Likewise.
44651 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44652 (OPT_LITTLE_ENDIAN): Likewise.
44653 (options): Add --little-endian and --big-endian options.
44654 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44655 * locale/programs/locarchive.c: Include "locfile.h".
44656 (GET): New macro.
44657 (SET): Likewise.
44658 (INC): Likewise.
44659 (create_archive): Use the new macros to access fields of
44660 structures directly mapped from or written to locale archives.
44661 (oldlocrecentcmp): Likewise.
44662 (enlarge_archive): Likewise.
44663 (insert_name): Likewise.
44664 (add_alias): Likewise.
44665 (add_locale): Likewise.
44666 (delete_locales_from_archive): Likewise.
44667 (show_archive_content): Likewise.
44668 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
44669 locale data.
44670
44671 2013-09-24 Roland McGrath <roland@hack.frob.com>
44672
44673 * manual/freemanuals.texi: Updated from (newly) canonical copy at
44674 http://www.gnu.org/doc/freemanuals.texi.
44675 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44676
44677 2013-09-24 Will Newton <will.newton@linaro.org>
44678
44679 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44680 macro.
44681
44682 2013-09-23 Joseph Myers <joseph@codesourcery.com>
44683
44684 * locale/hashval.h (compute_hashval): Interpret bytes of key as
44685 unsigned char.
44686
44687 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
44688
44689 * manual/threads.texi (POSIX Threads): Fix a typo.
44690
44691 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
44692
44693 [BZ #14547]
44694 * string/tst-strcoll-overflow.c: New test case.
44695 * string/Makefile (xtests): Add tst-strcoll-overflow.
44696 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44697 cache if string sizes may cause integer overflow.
44698
44699 [BZ #14547]
44700 * string/strcoll_l.c (coll_seq): New members rule, idx,
44701 save_idx and back_us.
44702 (get_next_seq_nocache): New function.
44703 (do_compare_nocache): New function.
44704 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44705 when malloc fails.
44706
44707 2013-09-23 Carlos O'Donell <carlos@redhat.com>
44708
44709 [BZ #15754]
44710 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44711 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44712 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44713
44714 [BZ #15754]
44715 * elf/Makefile (tests): Add tst-ptrguard1.
44716 (tests-static): Add tst-ptrguard1-static.
44717 (tst-ptrguard1-ARGS): Define.
44718 (tst-ptrguard1-static-ARGS): Define.
44719 * elf/tst-ptrguard1.c: New file.
44720 * elf/tst-ptrguard1-static.c: New file.
44721 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44722 * sysdeps/i386/stackguard-macros.h: Likewise.
44723 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44724 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44725 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44726 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44727 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44728 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44729
44730 2013-09-23 Hector Marco <hecmargi@upv.es>
44731 Ismael Ripoll <iripoll@disca.upv.es>
44732 Carlos O'Donell <carlos@redhat.com>
44733
44734 [BZ #15754]
44735 * sysdeps/generic/stackguard-macros.h: Define
44736 __pointer_chk_guard_local and POINTER_CHK_GUARD.
44737 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44738 Define __pointer_chk_guard_local.
44739 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44740 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44741
44742 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
44743
44744 [BZ #15859]
44745 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44746
44747 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
44748
44749 * include/string.h (__ffs): Declare as hidden.
44750 * string/ffs.c (__ffs): Define as hidden.
44751 * sysdeps/i386/ffs.c (__ffs): Likewise.
44752 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44753 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44754 * sysdeps/s390/ffs.c (__ffs): Likewise.
44755 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44756
44757 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
44758
44759 * NEWS: Mention malloc probes.
44760
44761 * malloc/arena.c (new_heap): New memory_heap_new probe.
44762 (grow_heap): New memory_heap_more probe.
44763 (shrink_heap): New memory_heap_less probe.
44764 (heap_trim): New memory_heap_free probe.
44765 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44766 (systrim): New memory_sbrk_less probe.
44767 * manual/probes.texi: Document them.
44768
44769 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44770 * manual/probes.texi: Document it.
44771
44772 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44773 (__libc_realloc): Add memory_realloc_retry probe.
44774 (__libc_memalign): Add memory_memalign_retry probe.
44775 (__libc_valloc): Add memory_valloc_retry probe.
44776 (__libc_pvalloc): Add memory_pvalloc_retry probe.
44777 (__libc_calloc): Add memory_calloc_retry probe.
44778 * manual/probes.texi: Document them.
44779
44780 * malloc/arena.c (get_free_list): Add probe
44781 memory_arena_reuse_free_list.
44782 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44783 and memory_arena_reuse.
44784 (arena_get2) [!PER_THREAD]: Likewise.
44785 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44786 memory_arena_reuse_realloc.
44787 * manual/probes.texi: Document them.
44788
44789 * malloc/malloc.c (__libc_free): Add
44790 memory_mallopt_free_dyn_thresholds probe.
44791 (__libc_mallopt): Add multiple memory_mallopt probes.
44792 * manual/probes.texi: Document them.
44793
44794 * malloc/malloc.c: Include stap-probe.h.
44795 (__libc_mallopt): Add memory_mallopt probe.
44796 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44797 * manual/probes.texi: New.
44798 * manual/Makefile (chapters): Add probes.
44799 * manual/threads.texi: Set next node.
44800
44801 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
44802
44803 [BZ #15963, #13985]
44804 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44805 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44806 Add `Chinese' to `nan' entry name.
44807
44808 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44809
44810 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44811 (POLYNOMIAL): Likewise.
44812 (TAYLOR_SINCOS): Likewise.
44813 (TAYLOR_SLOW): Likewise.
44814 (__sin): Use TAYLOR_SINCOS.
44815 (__cos): Likewise.
44816 (slow): Use TAYLOR_SLOW.
44817 (sloww): Likewise.
44818 (bsloww): Likewise.
44819 (csloww): Likewise.
44820
44821 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44822
44823 * stdlib/strtod_l.c: Fix buffer overrun.
44824
44825 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44826
44827 * benchtests/Makefile (bench): Add sincos.
44828 * benchtests/bench-sincos.c: New file.
44829
44830 * math/libm-test.inc (cos_test_data): New test inputs.
44831 (sin_test_data): Likewise.
44832
44833 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44834 macro.
44835 (__sin): Use it.
44836 (__cos): Likewise.
44837 (slow1): Likewise.
44838 (slow2): Likewise.
44839 (sloww1): Likewise.
44840 (sloww2): Likewise.
44841 (bsloww1): Likewise.
44842 (bsloww2): Likewise.
44843 (cslow2): Likewise.
44844 (csloww1): Likewise.
44845 (csloww2): Likewise.
44846
44847 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44848 function.
44849 (__sin): Use it.
44850 (__cos): Likewise.
44851
44852 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44853 gotos.
44854 (__cos): Likewise.
44855
44856 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
44857
44858 * config.h.in (HAVE_MIPS_NAN2008): New macro.
44859 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44860 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44861 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44862 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44863 * elf/cache.c (print_entry): Handle the new cache flags.
44864
44865 2013-09-18 Joseph Myers <joseph@codesourcery.com>
44866 Aldy Hernandez <aldyh@redhat.com>
44867
44868 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44869 Change condition to [_SOFT_FLOAT].
44870 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44871 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44872 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44873 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44874 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44875 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44876 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44877 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44878 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44879 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44880 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44881 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44882 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44883 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44884 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44885 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44886 declaration.
44887
44888 2013-09-18 Joseph Myers <joseph@codesourcery.com>
44889
44890 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44891 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44892 (__longjmp): Use LOAD_GP to load saved GPRs.
44893 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44894 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44895 (__sigsetjmp): Use SAVE_GP to save GPRs.
44896
44897 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44898 Do not append -msoft-float.
44899 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44900
44901 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
44902
44903 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44904
44905 2013-09-17 Joseph Myers <joseph@codesourcery.com>
44906
44907 [BZ #15966]
44908 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44909 (_FPU_GETCW): Use initial "__" on variable and field names but not
44910 on macro parameter name.
44911 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
44912 parentheses around reference to macro parameter.
44913
44914 2013-09-13 Richard Sandiford <richard@codesourcery.com>
44915
44916 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44917 prototype.
44918 (ctype_startup): Use uint32_t in cast and sizeof for
44919 ctype->charnames.
44920
44921 2013-09-11 Jia Liu <proljc@gmail.com>
44922
44923 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44924 __daddr_t_defined.
44925 [__FreeBSD__]: Likewise.
44926
44927 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
44928
44929 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44930 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44931 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44932 (strchr): Remove __strchr_sse42 ifunc selection.
44933 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44934 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44935
44936 2013-09-11 Will Newton <will.newton@linaro.org>
44937
44938 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44939 parameter to RES. Remove hardcoded 1000 value.
44940 * benchtests/bench-skeleton.c (main): Pass RES parameter
44941 to TIMING_INIT and multiply result by 1000.
44942
44943 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44944
44945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44946
44947 2013-09-11 Andreas Schwab <schwab@suse.de>
44948
44949 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44950 if not defined.
44951 (O_TMPFILE) [__USE_GNU]: Define.
44952 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44953 Define.
44954
44955 2013-09-11 Will Newton <will.newton@linaro.org>
44956
44957 [BZ #15857]
44958 * malloc/malloc.c (__libc_memalign): Check the value of bytes
44959 does not overflow.
44960
44961 2013-09-11 Will Newton <will.newton@linaro.org>
44962
44963 [BZ #15856]
44964 * malloc/malloc.c (__libc_valloc): Check the value of bytes
44965 does not overflow.
44966
44967 2013-09-11 Will Newton <will.newton@linaro.org>
44968
44969 [BZ #15855]
44970 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44971 does not overflow.
44972
44973 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
44974
44975 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44976 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44977 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44978 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44979 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44980
44981 2013-09-10 Allan McRae <allan@archlinux.org>
44982
44983 [BZ #15748]
44984 * manual/arith.texi (Parsing of Floats): Clarify
44985 cross-reference.
44986
44987 [BZ #15849]
44988 * manual/install.texi (Running make install): Mention
44989 --enable-pt-chown.
44990 * INSTALL: Regenerated.
44991
44992 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
44993
44994 * csu/init-first.c (_init): Remove the !SHARED condition around
44995 FPU control word initialization.
44996 * elf/dl-support.c (_dl_fpu_control): New variable.
44997 (_dl_aux_init) <AT_FPUCW>: Initialize it.
44998 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44999 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
45000 * math/test-fpucw-static.c: New file.
45001 * math/test-fpucw-ieee.c: New file.
45002 * math/test-fpucw-ieee-static.c: New file.
45003 * math/Makefile (tests): Add `test-fpucw-ieee' and
45004 `$(tests-static)'.
45005 (tests-static): New variable.
45006 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
45007 dependency to...
45008 [($(build-shared),yes)]
45009 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45010 ... this.
45011 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
45012 New dependency.
45013
45014 2013-09-09 Allan McRae <allan@archlinux.org>
45015
45016 [BZ #15939]
45017 * manual/string.texi (Collation Functions): Fix typo in
45018 strcoll example.
45019 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
45020
45021 [BZ #15893]
45022 * stdlib/isomac.c (get_null_defines): Fix memory leak.
45023
45024 [BZ #15892]
45025 * libio/memstream.c (open_memstream): Fix memory leak.
45026 * libio/wmemstream.c (open_wmemstream): Likewise.
45027
45028 [BZ #15895]
45029 * nscd/netgroupcache.c: Fix nesting of ifdefs.
45030
45031 2013-09-09 Will Newton <will.newton@linaro.org>
45032
45033 * malloc/Makefile: Add tst-realloc to tests.
45034 * malloc/tst-realloc.c: New file.
45035
45036 2013-09-09 Allan McRae <allan@archlinux.org>
45037
45038 [BZ #15844]
45039 * COPYING: Update from GNU website to fix FSF address.
45040 * COPYING.LIB: Likewise.
45041
45042 2013-09-06 David S. Miller <davem@davemloft.net>
45043
45044 * po/zh_TW.po: Update Chinese (traditional) translation from
45045 translation project.
45046
45047 2013-09-06 Richard Sandiford <richard@codesourcery.com>
45048 Joseph Myers <joseph@codesourcery.com>
45049
45050 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
45051 "localeinfo.h".
45052 (obstack_chunk_alloc): New macro.
45053 (obstack_chunk_free): Likewise.
45054 (record_offset): New function.
45055 (init_locale_data): Likewise.
45056 (align_locale_data): Likewise.
45057 (add_locale_empty): Likewise.
45058 (add_locale_raw_data): Likewise.
45059 (add_locale_raw_obstack): Likewise.
45060 (add_locale_string): Likewise.
45061 (add_locale_wstring): Likewise.
45062 (add_locale_uint32): Likewise.
45063 (add_locale_uint32_array): Likewise.
45064 (add_locale_char): Likewise.
45065 (start_locale_structure): Likewise.
45066 (end_locale_structure): Likewise.
45067 (start_locale_prelude): Likewise.
45068 (end_locale_prelude): Likewise.
45069 (write_locale_data): Take locale_file structure rather than an
45070 iovec.
45071 * locale/programs/locfile.h: Include "obstack.h".
45072 (struct locale_file): Change to store locale file contents instead
45073 of header.
45074 (init_locale_data): New prototype.
45075 (align_locale_data): Likewise.
45076 (add_locale_empty): Likewise.
45077 (add_locale_raw_data): Likewise.
45078 (add_locale_raw_obstack): Likewise.
45079 (add_locale_string): Likewise.
45080 (add_locale_wstring): Likewise.
45081 (add_locale_uint32): Likewise.
45082 (add_locale_uint32_array): Likewise.
45083 (add_locale_char): Likewise.
45084 (start_locale_structure): Likewise.
45085 (end_locale_structure): Likewise.
45086 (start_locale_prelude): Likewise.
45087 (end_locale_prelude): Likewise.
45088 (write_locale_data): Update prototype.
45089 * locale/programs/3level.h (struct TABLE): Remove result field.
45090 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45091 Use new locale_file interface.
45092 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
45093 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
45094 * locale/programs/ld-address.c (address_output): Use new
45095 locale_file interface.
45096 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
45097 NO_ADD_LOCALE.
45098 (collate_finish): Don't call collseq_table_finalize.
45099 (collate_output): Use new locale_file interface.
45100 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
45101 in file.
45102 (NO_FINALIZE): Change to NO_ADD_LOCALE.
45103 (TABLE): Move defines earlier in file.
45104 (ELEMENT): Likewise.
45105 (DEFAULT): Likewise.
45106 (wctrans_table_add): Move macro and inline function earlier in
45107 file.
45108 (struct wctype_table): Move type earlier in file.
45109 (add_locale_wctype_table): New static prototype.
45110 (struct locale_ctype_t): Use logical types instead of struct iovec
45111 pointers for members.
45112 (ctype_output): Use new locale_file interface.
45113 (wctype_table_finalize): Change to add_locale_wctype_table. Use
45114 new locale_file interface.
45115 (allocate_arrays): Update for use of new locale_file interface.
45116 * locale/programs/ld-identification.c (identification_output): Use
45117 new locale_file interface.
45118 * locale/programs/ld-measurement.c (measurement_output): Likewise.
45119 * locale/programs/ld-messages.c (messages_output): Likewise.
45120 * locale/programs/ld-monetary.c (monetary_output): Likewise.
45121 * locale/programs/ld-name.c (name_output): Likewise.
45122 * locale/programs/ld-numeric.c (numeric_output): Likewise.
45123 * locale/programs/ld-paper.c (paper_output): Likewise.
45124 * locale/programs/ld-telephone.c (telephone_output): Likewise.
45125 * locale/programs/ld-time.c (time_output): Likewise.
45126
45127 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45128
45129 * benchtests/Makefile: Add memrchr benchmark.
45130 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
45131 benchmark as memrchr.
45132 * benchtests/bench-memrchr-ifunc.c: New file.
45133 * benchtests/bench-memrchr.c: New file.
45134
45135 2013-09-06 Will Newton <will.newton@linaro.org>
45136
45137 * benchtests/Makefile (string-bench): Add memcpy.
45138
45139 2013-09-05 Carlos O'Donell <carlos@redhat.com>
45140 Cong Wang <amwang@redhat.com>
45141
45142 [BZ #15850]
45143 * sysdeps/unix/sysv/linux/bits/in.h
45144 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
45145 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
45146 before __USE_KERNEL_IPV6_DEFS uses.
45147 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
45148 IPPROTO_BEETPH.
45149 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
45150 sockaddr_in6, or ipv6_mreq.
45151
45152 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45153
45154 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
45155 memory access for final bytes in some large inputs.
45156 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
45157
45158 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45159
45160 * string/test-memrchr.c: New file.
45161 * string/test-memrchr-ifunc.c: New file.
45162 * string/Makefile: Add new memrchr testcase.
45163
45164 2013-09-05 Mike Frysinger <vapier@gentoo.org>
45165
45166 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
45167 fanotify_init returns EPERM.
45168
45169 2013-09-04 Joseph Myers <joseph@codesourcery.com>
45170
45171 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
45172 errors.
45173 (top level): Treat second token from macro or constant entries for
45174 allowed headers as allowed.
45175 * include/complex.h: Condition internal declarations on
45176 [!_ISOMAC].
45177 * include/fenv.h: Condition include of <stdbool.h> and internal
45178 declarations on [!_ISOMAC].
45179
45180 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
45181
45182 [BZ #15923]
45183 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
45184
45185 2013-09-04 Joseph Myers <joseph@codesourcery.com>
45186
45187 * configure.in (--enable-versioning): Remove configure option.
45188 (libc_cv_asm_symver_directive): Remove configure test.
45189 (libc_cv_ld_version_script_option): Likewise.
45190 (VERSIONING): Remove variable and AC_SUBST.
45191 (DO_VERSIONING): Remove AC_DEFINE.
45192 * configure: Regenerated.
45193 * config.h.in (DO_VERSIONING): Remove macro.
45194 * Makerules [$(versioning) = yes]: Change conditionals to
45195 [$(build-shared) = yes].
45196 * config.make.in (versioning): Remove variable.
45197 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
45198 [$(build-shared) = yes].
45199 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
45200 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
45201 * elf/Makefile [$(versioning) = yes]: Change conditionals to
45202 [$(build-shared) = yes].
45203 * extra-lib.mk [$(versioning) = yes]: Likewise.
45204 * hurd/Makefile [$(versioning) = yes]: Likewise.
45205 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45206 [SHARED].
45207 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45208 [SHARED].
45209 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45210 [SHARED && !NO_HIDDEN].
45211 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45212 [SHARED].
45213 [SHARED && DO_VERSIONING]: Likewise..
45214 * libio/Makefile [$(versioning) = yes]: Change conditionals to
45215 [$(build-shared) = yes].
45216 * manual/install.texi (--disable-versioning): Remove
45217 documentation.
45218 * INSTALL: Regenerated.
45219 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45220 to [SHARED].
45221 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45222 [$(build-shared) = yes].
45223 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45224 * sysdeps/i386/i686/multiarch/strstr-c.c
45225 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45226 [SHARED && !NO_HIDDEN].
45227 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45228 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45229 * sysdeps/powerpc/powerpc32/dl-machine.c
45230 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45231 * sysdeps/powerpc/powerpc32/sysdep.h
45232 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45233 to [SHARED && PIC && !NO_HIDDEN].
45234 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45235 conditional to [SHARED].
45236
45237 2013-09-04 Will Newton <will.newton@linaro.org>
45238
45239 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45240 * benchtests/bench-string.h: Include bench-timing.h instead
45241 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45242 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45243 call to HP_TIMING_DIFF_INIT.
45244 * benchtests/bench-memccpy.c: Use bench-timing.h macros
45245 instead of hp-timing.h macros.
45246 * benchtests/bench-memchr.c: Likewise.
45247 * benchtests/bench-memcmp.c: Likewise.
45248 * benchtests/bench-memcpy.c: Likewise.
45249 * benchtests/bench-memmem.c: Likewise.
45250 * benchtests/bench-memmove.c: Likewise.
45251 * benchtests/bench-memset.c: Likewise.
45252 * benchtests/bench-rawmemchr.c: Likewise.
45253 * benchtests/bench-strcasecmp.c: Likewise.
45254 * benchtests/bench-strcasestr.c: Likewise.
45255 * benchtests/bench-strcat.c: Likewise.
45256 * benchtests/bench-strchr.c: Likewise.
45257 * benchtests/bench-strcmp.c: Likewise.
45258 * benchtests/bench-strcpy.c: Likewise.
45259 * benchtests/bench-strcpy_chk.c: Likewise.
45260 * benchtests/bench-strlen.c: Likewise.
45261 * benchtests/bench-strncasecmp.c: Likewise.
45262 * benchtests/bench-strncat.c: Likewise.
45263 * benchtests/bench-strncmp.c: Likewise.
45264 * benchtests/bench-strncpy.c: Likewise.
45265 * benchtests/bench-strnlen.c: Likewise.
45266 * benchtests/bench-strpbrk.c: Likewise.
45267 * benchtests/bench-strrchr.c: Likewise.
45268 * benchtests/bench-strspn.c: Likewise.
45269 * benchtests/bench-strstr.c: Likewise.
45270
45271 2013-09-04 Will Newton <will.newton@linaro.org>
45272
45273 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45274
45275 2013-09-03 Joseph Myers <joseph@codesourcery.com>
45276
45277 [BZ #15427]
45278 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45279 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45280 * math/libm-test.inc (lgamma_test_data): Add more tests.
45281 * sysdeps/i386/fpu/libm-test-ulps: Update.
45282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45283
45284 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
45285
45286 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45287 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45288 Add ifunc.
45289 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45290 Add strcmp-sse2-unaligned
45291 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45292
45293 2013-09-02 Mike Frysinger <vapier@gentoo.org>
45294
45295 * Versions.def (libc): Add GLIBC_2.19.
45296
45297 2013-09-02 Mike Frysinger <vapier@gentoo.org>
45298
45299 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45300 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45301
45302 2013-09-02 Joseph Myers <joseph@codesourcery.com>
45303
45304 [BZ #14155]
45305 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45306 intermediate calculations in recurrence.
45307 (__ieee754_ynf): Likewise.
45308 * math/libm-test.inc (jn_test_data): Do not allow spurious
45309 underflow exception. Add more tests.
45310 (yn_test_data): Add more tests.
45311 * sysdeps/i386/fpu/libm-test-ulps: Update.
45312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45313
45314 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
45315
45316 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45317
45318 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
45319
45320 * csu/init-first.c: Fix then/than typos.
45321 * locale/programs/ld-collate.c: Likewise.
45322 * locale/programs/linereader.h: Likewise.
45323 * manual/charset.texi: Likewise.
45324 * manual/filesys.texi: Likewise.
45325 * manual/stdio.texi: Likewise.
45326 * manual/string.texi: Likewise.
45327 * stdlib/fmtmsg.c: Likewise.
45328 * sysdeps/i386/stpncpy.S: Likewise.
45329 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45330 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45331 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45332 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45333
45334 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
45335
45336 * elf/dl-open.c: Fix typos.
45337 * iconvdata/gbbig5.c: Likewise.
45338 * iconvdata/iso-2022-jp.c: Likewise.
45339 * iconv/gconv_int.h: Likewise.
45340 * iconv/loop.c: Likewise.
45341 * nis/rpcsvc/nis.h: Likewise.
45342 * resolv/ns_name.c: Likewise.
45343 * stdio-common/vfscanf.c: Likewise.
45344 * streams/stropts.h: Likewise.
45345 * sunrpc/rpc_thread.c: Likewise.
45346 * sysdeps/i386/strpbrk.S: Likewise.
45347 * sysdeps/ieee754/k_standard.c: Likewise.
45348 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45349 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45350 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45351 * sysdeps/mach/hurd/profil.c: Likewise.
45352 * sysdeps/s390/dl-procinfo.h: Likewise.
45353 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45354 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45355 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45356 * sysdeps/x86_64/dl-trampoline.S: Likewise.
45357 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45358
45359 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
45360
45361 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45362 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
45363
45364 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
45365
45366 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
45367 aix specific files.
45368 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
45369 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
45370 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
45371 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
45372 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
45373 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
45374 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
45375 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
45376
45377 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
45378 Roland McGrath <roland@hack.frob.com>
45379
45380 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
45381 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
45382
45383 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
45384
45385 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
45386 __executable_start symbol instead of _start.
45387
45388 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
45389
45390 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
45391 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
45392 Move macros to...
45393 * sysdeps/gnu/ldsodefs.h: ... this new file.
45394
45395 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
45396 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
45397 instead of ELFOSABI_LINUX.
45398
45399 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
45400 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
45401 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
45402 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
45403 Likewise.
45404 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
45405 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
45406 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
45407 Likewise.
45408 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45409 (ibm_extended_long_double): Add ieee_nan member.
45410 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
45411 (do_test): New function.
45412
45413 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
45414 TEST_TRUNC.
45415 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
45416 functions, renamed from truncdfsf_test, trunctfsf_test,
45417 trunctfdf_test.
45418 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
45419 functions.
45420 (do_test): Run all these.
45421
45422 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
45423
45424 * argp/argp-help.c: Fix typos.
45425 * argp/argp-parse.c: Likewise.
45426 * debug/backtracesyms.c: Likewise.
45427 * elf/elf.h: Likewise.
45428 * malloc/malloc.c: Likewise.
45429 * nis/nis_print.c: Likewise.
45430 * resolv/res_comp.c: Likewise.
45431 * stdlib/stdlib.h: Likewise.
45432 * sunrpc/clnt_tcp.c: Likewise.
45433 * sunrpc/clnt_udp.c: Likewise.
45434 * sunrpc/clnt_unix.c: Likewise.
45435 * sysdeps/unix/bsd/ptsname.c: Likewise.
45436 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45437 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
45438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
45439 Likewise.
45440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
45441 Likewise.
45442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
45443 Likewise.
45444 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45445
45446 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45447
45448 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
45449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45450
45451 2013-08-27 Mike Frysinger <vapier@gentoo.org>
45452
45453 [BZ #15897]
45454 * dlfcn/Makefile (tests): Add bug-dl-leaf.
45455 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45456 ($(objpfx)bug-dl-leaf): New rule.
45457 ($(objpfx)bug-dl-leaf.so): Likewise.
45458 ($(objpfx)bug-dl-leaf.out): Likewise.
45459 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45460 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45461 * dlfcn/bug-dl-leaf.c: New test.
45462 * dlfcn/bug-dl-leaf-lib.c: Likewise.
45463 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45464 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45465 (dlclose): Likewise.
45466 (dlmopen): Likewise.
45467
45468 2013-08-27 Roland McGrath <roland@hack.frob.com>
45469
45470 * include/netdb.h [!_ISOMAC]:
45471 Don't include <tls.h>.
45472 (h_errno, __libc_h_errno): Move declaration and macros out of
45473 [_LIBC_REENTRANT].
45474
45475 * include/resolv.h [_RESOLV_H_]:
45476 Don't include <tls.h>.
45477 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45478 * resolv/res_libc.c: Don't include <tls.h>.
45479 (_res): Use __attribute__ ((nocommon)) in place of
45480 __attribute__ ((section (".bss"))).
45481
45482 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45483 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45484
45485 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45486
45487 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45488 only under [SIOCGIFCONF && SIOCGIFNETMASK].
45489
45490 * resolv/res_mkquery.c: Include <sys/time.h>.
45491
45492 * inet/ifreq.c: Moved to ...
45493 * sysdeps/unix/ifreq.c: ... here.
45494 * inet/ifreq.c: New file, true stub version.
45495
45496 * socket/sa_len.c: New file.
45497 * socket/Makefile (aux): Add it.
45498 * sysdeps/unix/sysv/linux/Makefile
45499 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45500 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45501 and #include <socket/sa_len.c>.
45502 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45503 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45504
45505 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45506 * bits/socket.h: ... here.
45507
45508 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45509 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45510 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45511
45512 2013-08-27 Andreas Schwab <schwab@suse.de>
45513
45514 [BZ #15736]
45515 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45516 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45517 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45518 * string/test-strcasecmp.c (test_main): Run tests in several
45519 locales.
45520 * string/test-strncasecmp.c (test_main): Likewise.
45521
45522 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45523 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45524 to __strcasecmp_nonascii and __strncasecmp_nonascii.
45525 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45526 (__strncasecmp_ssse3) [PIC]: Likewise.
45527
45528 2013-08-26 Roland McGrath <roland@hack.frob.com>
45529
45530 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45531
45532 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45533 instead of explicitly declaring xdecrypt.
45534 * nis/nss_nis/nis-publickey.c: Likewise.
45535
45536 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45537
45538 [BZ #15890]
45539 * nscd/aicache.c: Include res_hconf.h.
45540 (addhstaiX): Initialize res_hconf.
45541
45542 2013-08-26 Andreas Schwab <schwab@suse.de>
45543
45544 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45545 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45546
45547 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45548
45549 * nscd/aicache.c (addhstaiX): Fix indentation.
45550
45551 2013-08-25 Mike Frysinger <vapier@gentoo.org>
45552
45553 * configure.ac: Quote $build_pt_chown test.
45554 * configure: Regenerated.
45555
45556 2013-08-23 Joseph Myers <joseph@codesourcery.com>
45557
45558 [BZ #15532]
45559 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45560 * math/s_cexpf.c (__cexpf): Likewise.
45561 * math/s_cexpl.c (__cexpl): Likewise.
45562 * math/libm-test.inc (cexp_test_data): Correct expected return
45563 value for NaN + i0. Add another test.
45564
45565 2013-08-22 David S. Miller <davem@davemloft.net>
45566
45567 * po/ca.po: Update Catalan translation from translation project.
45568 * po/uk.po: Add Ukrainian translations from translation project.
45569
45570 2013-08-21 Joseph Myers <joseph@codesourcery.com>
45571
45572 [BZ #15797]
45573 * math/s_fdim.c (__fdim): Check for infinite arguments if result
45574 is infinite, not alongside NaN test.
45575 * math/s_fdimf.c (__fdimf): Likewise.
45576 * math/s_fdiml.c (__fdiml): Likewise.
45577 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
45578 errno is unchanged.
45579
45580 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
45581
45582 * argp/argp-help.c: Fix typos.
45583 * crypt/speeds.c: Likewise.
45584 * csu/check_fds.c: Likewise.
45585 * elf/dl-load.c: Likewise.
45586 * elf/dl-open.c: Likewise.
45587 * elf/reldep3.c: Likewise.
45588 * elf/reldep.c: Likewise.
45589 * elf/sprof.c: Likewise.
45590 * iconv/iconv_charmap.c: Likewise.
45591 * iconv/skeleton.c: Likewise.
45592 * iconv/strtab.c: Likewise.
45593 * io/lockf64.c: Likewise.
45594 * libio/libioP.h: Likewise.
45595 * resolv/gai_notify.c: Likewise.
45596 * resolv/ns_name.c: Likewise.
45597 * resolv/ns_samedomain.c: Likewise.
45598 * resolv/res_send.c: Likewise.
45599 * stdlib/random.c: Likewise.
45600 * sunrpc/rpc/xdr.h: Likewise.
45601 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45602 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45603 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45604 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45605 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45606 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45607 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45608 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45609 * sysdeps/mach/hurd/check_fds.c: Likewise.
45610 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45611 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45612 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45613 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45614 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45615 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45616 * sysdeps/pthread/aio_notify.c: Likewise.
45617 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45618 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45619 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45620 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45621 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45622
45623 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45624
45625 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45626 version if bit_Slow_SSE4_2 is set.
45627 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45628 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45629
45630 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45631
45632 [BZ #15867]
45633 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45634 trampoline stack frame information.
45635 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45636 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45637 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45638 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45639 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45640 * sysdeps/unix/sysv/linux/powerpc/init-first.c
45641 (_libc_vdso_platform_setup): Initialize the signal trampolines.
45642 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45643 sa_flags value.
45644 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45645 interrupting a syscall and set with option SA_SIGINFO.
45646
45647 2013-08-20 Joseph Myers <joseph@codesourcery.com>
45648
45649 [BZ #15531]
45650 * math/s_cproj.c (__cproj): Only return an infinity if one part of
45651 argument is infinite.
45652 * math/s_cprojf.c (__cprojf): Likewise.
45653 * math/s_cprojl.c (__cprojl): Likewise.
45654 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45655 * math/libm-test.inc (cproj_test_data): Add more tests.
45656
45657 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45658
45659 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45660 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45661 size. Use __ffs to determine corresponding shift.
45662
45663 2013-08-20 Joseph Myers <joseph@codesourcery.com>
45664 Roland McGrath <roland@hack.frob.com>
45665
45666 * Makefile (INSTALL): Remove trailing blank lines from output of
45667 makeinfo.
45668
45669 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45670
45671 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45672 Align 32 bit compat elf_greg to 8 bytes.
45673
45674 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
45675
45676 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45677
45678 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45679
45680 * string/strcoll_l.c (coll_seq): New structure.
45681 (get_next_seq_cached): New function.
45682 (get_next_seq): New function.
45683 (do_compare): New function.
45684 (STRCOLL): Use GNU style definition. Simplify implementation
45685 by using get_next_seq, get_next_seq_cached and do_compare.
45686
45687 2013-08-16 Florian Weimer <fweimer@redhat.com>
45688
45689 [BZ #14699]
45690 CVE-2013-4237
45691 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45692 member.
45693 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45694 member.
45695 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45696 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45697 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
45698 conditional.
45699 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45700 GETDENTS_64BIT_ALIGNED.
45701 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45702 * manual/filesys.texi (Reading/Closing Directory): Document
45703 ENAMETOOLONG return value of readdir_r. Recommend readdir more
45704 strongly.
45705 * manual/conf.texi (Limits for Files): Add portability note to
45706 NAME_MAX, PATH_MAX.
45707 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45708
45709 2013-08-13 Andreas Schwab <schwab@suse.de>
45710
45711 [BZ #15749]
45712 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45713 of fabs.
45714 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45715 LDBL_MAX_EXP >= 16384]: Add tests for it.
45716
45717 2013-08-12 David S. Miller <davem@davemloft.net>
45718
45719 * version.h (RELEASE): Set to "development".
45720 (VERSION): Set to "2.18.90".
45721 * NEWS: Add 2.19 section.
45722
45723 2013-08-03 David S. Miller <davem@davemloft.net>
45724
45725 * po/ko.po: Update Korean translation from translation project.
45726
45727 2013-08-01 David S. Miller <davem@davemloft.net>
45728
45729 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
45730 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45731 Bilka.
45732
45733 2013-07-30 David S. Miller <davem@davemloft.net>
45734
45735 * po/fr.po: Update French translation from translation project.
45736
45737 2013-07-28 David S. Miller <davem@davemloft.net>
45738
45739 * po/cs.po: Update Czech translation from translation project.
45740
45741 * po/sv.po: Update Swedish translation from translation project.
45742
45743 2013-07-27 David S. Miller <davem@davemloft.net>
45744
45745 * po/eo.po: Update Esperanto translation from translation project.
45746
45747 * po/vi.po: Update Vietnamese translation from translation project.
45748
45749 * po/de.po: Update German translation from translation project.
45750
45751 2013-07-26 David S. Miller <davem@davemloft.net>
45752
45753 * po/bg.po: Update Bulgarian translation from translation project.
45754
45755 * po/nl.po: Update Dutch translation from translation project.
45756 * po/pl.po: Update Polish translation from translation project.
45757 * po/ru.po: Update Russian translation from translation project.
45758
45759 2013-07-24 David S. Miller <davem@davemloft.net>
45760
45761 * po/libc.pot: Update.
45762
45763 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45764
45765 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45766 variable page size.
45767 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45768 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45769 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45770
45771 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45772
45773 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45774
45775 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45776 Andreas Schwab <schwab@suse.de>
45777 Roland McGrath <roland@hack.frob.com>
45778 Joseph Myers <joseph@codesourcery.com>
45779 Carlos O'Donell <carlos@redhat.com>
45780
45781 [BZ #15755]
45782 * config.h.in: Define HAVE_PT_CHOWN.
45783 * config.make.in (build-pt-chown): New variable.
45784 * configure.in (--enable-pt_chown): New configure option.
45785 * configure: Regenerate.
45786 * login/Makefile: Include Makeconfig. Build pt_chown only if
45787 build-pt-chown is enabled.
45788 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45789 pt_chown to fix pty ownership.
45790 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45791 CLOSE_ALL_FDS.
45792 * manual/install.texi (Configuring and compiling): Mention
45793 --enable-pt_chown. Add @findex for grantpt.
45794 * INSTALL: Regenerate.
45795
45796 2013-07-20 David S. Miller <davem@davemloft.net>
45797
45798 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45799 difference between 32-bit and 64-bit.
45800
45801 2013-07-15 Carlos O'Donell <carlos@redhat.com>
45802
45803 [BZ #15711]
45804 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45805 Avoid system header dependency with -ffreestanding.
45806 ($(objpfx)bits/syscall%d): Likewise.
45807
45808 2013-07-13 David S. Miller <davem@davemloft.net>
45809
45810 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45811 underflows from atanl/atan2l due to bug 15319.
45812 (casinh_test_data): Likewise.
45813
45814 2013-07-07 David S. Miller <davem@davemloft.net>
45815
45816 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45817
45818 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
45819
45820 * sysdeps/i386/fpu/libm-test-ulps: Update.
45821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45822
45823 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45824
45825 * configure.in (--enable-lock-elision): Fix message text.
45826 * INSTALL: Regenerate.
45827 * configure: Regenerate.
45828
45829 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45830
45831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45832
45833 2013-07-03 Andreas Jaeger <aj@suse.de>
45834
45835 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45836 define.
45837 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45838 (ptrace_peeksiginfo_args): Add.
45839 (__ptrace_peeksiginfo_flags): Add.
45840 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45841 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45842 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45843
45844 2013-07-03 Allan McRae <allan@archlinux.org>
45845
45846 * sysdeps/i386/fpu/libm-test-ulps: Update.
45847
45848 2013-07-02 David S. Miller <davem@davemloft.net>
45849
45850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45851
45852 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
45853
45854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45855
45856 2013-07-02 Joseph Myers <joseph@codesourcery.com>
45857
45858 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45860
45861 2013-07-02 Andi Kleen <ak@linux.intel.com>
45862
45863 * config.h.in (ENABLE_LOCK_ELISION): Add.
45864 * configure.in (--enable-lock-elision): Add option.
45865 * manual/install.texi: Document --enable lock elision.
45866 * configure: Regenerate
45867 * INSTALL: Regenerate.
45868
45869 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
45870
45871 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45872 SSE4.2 strcasecmp for libc.a.
45873 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45874
45875 2013-07-02 Joseph Myers <joseph@codesourcery.com>
45876
45877 [BZ #13304]
45878 * soft-fp/op-common.h (_FP_FMA): New macro.
45879 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45880 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
45881 (_FP_MUL_MEAT_1_imm): ... here.
45882 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
45883 (_FP_MUL_MEAT_1_wide): ... here.
45884 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
45885 (_FP_MUL_MEAT_1_hard): ... here.
45886 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45887 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
45888 (_FP_MUL_MEAT_2_wide): ... here.
45889 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
45890 (_FP_MUL_MEAT_2_wide_3mul): ... here.
45891 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
45892 (_FP_MUL_MEAT_2_gmp): ... here.
45893 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45894 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
45895 (_FP_MUL_MEAT_4_wide): ... here.
45896 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
45897 (_FP_MUL_MEAT_4_gmp): ... here.
45898 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45899 (_FP_WFRACBITS_DW_S): Likewise.
45900 (_FP_WFRACXBITS_DW_S): Likewise.
45901 (_FP_HIGHBIT_DW_S): Likewise.
45902 (FP_FMA_S): Likewise.
45903 (_FP_FRAC_HIGH_DW_S): Likewise.
45904 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45905 (_FP_WFRACBITS_DW_D): Likewise.
45906 (_FP_WFRACXBITS_DW_D): Likewise.
45907 (_FP_HIGHBIT_DW_D): Likewise.
45908 (FP_FMA_D): Likewise.
45909 (_FP_FRAC_HIGH_DW_D): Likewise.
45910 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45911 (_FP_WFRACBITS_DW_E): Likewise.
45912 (_FP_WFRACXBITS_DW_E): Likewise.
45913 (_FP_HIGHBIT_DW_E): Likewise.
45914 (FP_FMA_E): Likewise.
45915 (_FP_FRAC_HIGH_DW_E): Likewise.
45916 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45917 (_FP_WFRACBITS_DW_Q): Likewise.
45918 (_FP_WFRACXBITS_DW_Q): Likewise.
45919 (_FP_HIGHBIT_DW_Q): Likewise.
45920 (FP_FMA_Q): Likewise.
45921 (_FP_FRAC_HIGH_DW_Q): Likewise.
45922 * soft-fp/fmasf4.c: New file.
45923 * soft-fp/fmadf4.c: Likewise.
45924 * soft-fp/fmatf4.c: Likewise.
45925
45926 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45927
45928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45929 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45930 Silvermont.
45931 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45932 macro.
45933 (index_Slow_SSE4_2): Likewise.
45934 (index_Prefer_PMINUB_for_stringop): Likewise.
45935 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45936 bit_Slow_SSE4_2 is set.
45937 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45938 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45939
45940 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45941
45942 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45943 rtld_global._dl_hwcap2.
45944 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45945 POWER8.
45946 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45947 POWER8 feature descriptions defined in _dl_hwcap2.
45948 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45949 string handling for POWER8 feature bits.
45950 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45951 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45952 _dl_powerpc_cap_flags.
45953 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45954 * sysdeps/powerpc/rtld-global-offsets.sym
45955 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45956 _dl_hwcap2 in the rtld_global_ro structure.
45957
45958 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45959
45960 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45961 hardware capabilities in support of AT_HWCAP2.
45962 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45963 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45964 GLRO(dl_hwcap2).
45965 (_dl_show_auxv): Add support for calling _dl_procinfo to display
45966 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
45967 explicitly the unknown a_type display mechanism is used.
45968 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45969 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45970 struct member.
45971 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45972 to macro prototype for AT_HWCAP2 support.
45973 * sysdeps/i386/dl-procinfo.h: Likewise.
45974 * sysdeps/s390/dl-procinfo.h: Likewise.
45975 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45976 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
45977 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
45978 return -1 for unknown a_type display fallback.
45979 * sysdeps/sparc/dl-procinfo.h: Likewise.
45980 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45981 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45982
45983 2013-06-28 Joseph Myers <joseph@codesourcery.com>
45984
45985 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45986 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45987
45988 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
45989
45990 [BZ #12492]
45991 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45992 mprotect making __stack_prot writable.
45993
45994 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
45995 Joseph Myers <joseph@codesourcery.com>
45996
45997 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45998 as being properly aligned.
45999
46000 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
46001
46002 * dlfcn/modstatic5.c: New file.
46003 * dlfcn/tststatic5.c: New file.
46004 * dlfcn/Makefile (tests): Add tststatic5.
46005 (tests-static): Likewise.
46006 (modules-names): Add modstatic5.
46007 (tststatic5-ENV): New variable.
46008 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
46009
46010 [BZ #15022]
46011 * elf/dl-support.c (_dl_main_map): New variable.
46012 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
46013 (_dl_nns, _dl_load_adds): Set to 1.
46014 (_dl_initial_searchlist): Refer to _dl_main_map.
46015 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
46016 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
46017 call to _dl_get_origin.
46018 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
46019 around call_map.
46020 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
46021 * dlfcn/modstatic3.c: New file.
46022 * dlfcn/tststatic3.c: New file.
46023 * dlfcn/tststatic4.c: New file.
46024 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
46025 (tests-static): Likewise.
46026 (modules-names): Add modstatic3.
46027 (tststatic3-ENV, tststatic4-ENV): New variables.
46028 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
46029 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
46030
46031 2013-06-26 Joseph Myers <joseph@codesourcery.com>
46032
46033 * configure.in (CC): Require GCC version 4.4 or later.
46034 * configure: Regenerated.
46035 * manual/install.texi (Tools for Compilation): Update GCC version
46036 requirement.
46037 * INSTALL: Regenerated.
46038
46039 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46040
46041 [BZ #15674]
46042 * string/test-memcmp.c (check2): New.
46043 (main): Call check2.
46044
46045 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
46046
46047 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
46048
46049 [BZ #15022]
46050 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
46051 over to...
46052 (dl_open_worker) [!SHARED]: ... here.
46053
46054 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46055
46056 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
46057
46058 2013-06-25 Richard Henderson <rth@redhat.com>
46059
46060 * locale/programs/locarchive.c: Include <libc-internal.h>
46061
46062 2013-06-25 Joseph Myers <joseph@codesourcery.com>
46063
46064 * manual/texinfo.tex: Update to version 2013-06-21.17, with
46065 trailing whitespace removed.
46066
46067 2013-06-24 Mike Frysinger <vapier@gentoo.org>
46068
46069 [BZ #10283]
46070 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
46071 * locale/programs/locarchive.c: Include libc-mmap.h.
46072 (prepare_address_space): Take two new outputs (the mmap base and len).
46073 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
46074 values.
46075 (create_archive): Declare new mmap base and len values for
46076 prepare_address_space, and store the result in ah.
46077 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
46078 (enlarge_archive): If ah->mmap_base is not NULL, use that and
46079 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46080 Declare new mmap base and len values for
46081 prepare_address_space, and store the result in new_ah.
46082 (open_archive): Declare new mmap base and len values for
46083 prepare_address_space, and store the result in ah.
46084 (close_archive): If ah->mmap_base is not NULL, use that and
46085 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46086 * sysdeps/generic/libc-mmap.h: New file.
46087
46088 2013-06-24 Mike Frysinger <vapier@gentoo.org>
46089
46090 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46091 (ALIGN_UP): Likewise.
46092 (PTR_ALIGN_DOWN): Likewise.
46093 (PTR_ALIGN_UP): Likewise.
46094
46095 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46096
46097 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
46098 entry mapped to PPC_PLATFORM_POWER8.
46099 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
46100 POWER8.
46101 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
46102 (_dl_string_platform): Add case for exporting platform position for
46103 POWER8.
46104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
46105 search path to sysdeps/powerpc/powerpc32/power8 directory.
46106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
46107 search path to sysdeps/powerpc/powerpc64/power8 directory.
46108 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
46109 power7 directories.
46110 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
46111 power7 directories.
46112
46113 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
46114
46115 * INSTALL: Regenerate.
46116
46117 * nscd/connections.c (nscd_init): Fix comment.
46118
46119 2013-06-22 Joseph Myers <joseph@codesourcery.com>
46120
46121 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
46122
46123 [BZ #15667]
46124 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
46125 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
46126
46127 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
46128
46129 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
46130 DL_DST_REQ_STATIC.
46131 (DL_DST_REQ_STATIC): Remove macro.
46132
46133 2013-06-21 Joseph Myers <joseph@codesourcery.com>
46134
46135 [BZ #7006]
46136 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
46137 with a shift of 0 bits.
46138
46139 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
46140
46141 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
46142 $(tststatic-ENV).
46143
46144 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46145
46146 [BZ #15655]
46147 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
46148
46149 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46150
46151 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
46152 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
46153 accepts -fno-tree-loop-distribute-patterns.
46154 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
46155 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
46156 recursive call.
46157 * string/memset.c (memset): Likewise.
46158 * string/test-memmove.c (simple_memmove): Disable loop transformation
46159 to library calls.
46160 * string/test-memset.c (simple_memset): Likewise.
46161 * benchtests/bench-memmove.c (simple_memmove): Likewise.
46162 * benchtests/bench-memset.c (simple_memset): Likewise.
46163 * configure: Regenerated.
46164
46165 2013-06-20 Joseph Myers <joseph@codesourcery.com>
46166
46167 * math/test-misc.c (main): Ignore fesetround failure when failures
46168 of subsequent rounding tests would be ignored.
46169
46170 [BZ #15654]
46171 * math/fedisblxcpt.c (fedisableexcept): Return 0.
46172 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
46173 * math/fegetenv.c (__fegetenv): Return 0.
46174 * math/fegetexcept.c (fegetexcept): Return 0.
46175 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
46176 FE_TONEAREST.
46177 * math/feholdexcpt.c (feholdexcept): Return 0.
46178 * math/fesetenv.c (__fesetenv): Return 0.
46179 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
46180 argument FE_TONEAREST.
46181 * math/feupdateenv.c (__feupdateenv): Return 0.
46182 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
46183
46184 2013-06-18 Roland McGrath <roland@hack.frob.com>
46185
46186 * elf/rtld-Rules (rtld-compile-command.S): New variable.
46187 (rtld-compile-command.s, rtld-compile-command.c): New variables.
46188 ($(objpfx)rtld-%.os rules): Use them.
46189
46190 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46191
46192 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
46193 fields.
46194
46195 2013-06-17 Roland McGrath <roland@hack.frob.com>
46196
46197 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
46198 length of target pattern, then descending length of dependency pattern.
46199 * configure.in (AWK): Require gawk 3.1.2 or newer.
46200 * manual/install.texi (Tools for Compilation): Say that we do.
46201 * configure: Regenerated.
46202
46203 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
46204 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
46205 * scripts/sysd-rules.awk: ... this new script.
46206 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46207 than a glob-style pattern.
46208
46209 2013-06-17 Joseph Myers <joseph@codesourcery.com>
46210
46211 * math/test-misc.c (main): Do not treat incorrectly rounded
46212 conversions as failure unless ROUNDING_TESTS passes.
46213
46214 2013-06-15 Joseph Myers <joseph@codesourcery.com>
46215
46216 [BZ #15631]
46217 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46218 restore exception state around main square root computation, then
46219 check for inexactness explicitly.
46220
46221 * math/libm-test.inc (fma_test_data): Add another test.
46222
46223 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46224
46225 * manual/threads.texi (Non-POSIX Extensions): New document
46226 node. Document pthread_getattr_default_np and
46227 pthread_setattr_default_np.
46228
46229 * Versions.def (libpthread): Add GLIBC_2.18.
46230 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46232 Likewise.
46233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46234 Likewise.
46235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46236 Likewise.
46237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46238 Likewise.
46239 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46240 Likewise.
46241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46242 Likewise.
46243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46244 Likewise.
46245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46246 Likewise.
46247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46248 Likewise.
46249
46250 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46251
46252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46253 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46254
46255 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
46256 H.J. Lu <hjl.tools@gmail.com>
46257
46258 [BZ #15627]
46259 * sysdeps/x86_64/rtld-memset.c: Remove file.
46260 * sysdeps/x86_64/rtld-memset.S: New file.
46261
46262 2013-06-14 Joseph Myers <joseph@codesourcery.com>
46263
46264 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46265 (test_in_one_mode): Take arguments for whether the rounding mode
46266 is supported for each floating-point type.
46267 (do_test): Pass new arguments to test_in_one_mode using
46268 ROUNDING_TESTS.
46269
46270 2013-06-13 Roland McGrath <roland@hack.frob.com>
46271
46272 * posix/tst-waitid.c (do_test): Distinguish different instances of
46273 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
46274 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46275 before entering the kernel for waitpid.
46276
46277 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46278
46279 * NEWS: Fix note on clock function precision. Text by Roland
46280 McGrath.
46281
46282 2013-06-13 Roland McGrath <roland@hack.frob.com>
46283
46284 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46285 it into place only when and if the sanity check passes.
46286
46287 2013-06-13 Joseph Myers <joseph@codesourcery.com>
46288
46289 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46290 output for whether conversion result is exact. Take argument
46291 indicating whether type is IBM long double.
46292 (round_for_all): Change need_exact field to ibm_ld.
46293 * stdlib/tst-strtod-round.c (struct exactness): New type.
46294 (struct test): Change bool ld_ok field to struct exactness exact.
46295 (TEST): Update all definitions for change to field.
46296 (tests): Regenerate array contents.
46297 (test_in_one_mode): Take pointer to new field instead of old ld_ok
46298 field value. Check for IBM long double here.
46299 (do_test): Update calls to test_in_one_mode.
46300
46301 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46302
46303 [BZ #12515]
46304 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46305 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46306
46307 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46308
46309 [BZ #15605]
46310 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46311 generated by the compiler on loop optimizations.
46312 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46313 general definitions.
46314
46315 2013-06-12 Joseph Myers <joseph@codesourcery.com>
46316
46317 * math/bug-nextafter.c: Include <math-tests.h>.
46318 (main): Only test for exceptions if EXCEPTION_TESTS is true for
46319 the relevant type.
46320 * math/bug-nexttoward.c: Include <math-tests.h>.
46321 (main): Only test for exceptions if EXCEPTION_TESTS is true for
46322 the relevant type.
46323 * math/test-misc.c: Include <math-tests.h>.
46324 (main): Only test for exceptions if EXCEPTION_TESTS is true for
46325 the relevant type.
46326
46327 2013-06-12 Andreas Jaeger <aj@suse.de>
46328
46329 * po/ia.po: Update Interlingua translation from translation
46330 project.
46331
46332 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46333
46334 * include/fenv.h: Include stdbool.h.
46335 (struct rm_ctx): New structure.
46336 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46337 Define macro.
46338 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46339 (SET_RESTORE_ROUNDF): Likewise.
46340 (SET_RESTORE_ROUNDL): Likewise.
46341 (SET_RESTORE_ROUND_NOEX): Likewise.
46342 (SET_RESTORE_ROUND_NOEXF): Likewise.
46343 (SET_RESTORE_ROUND_NOEXL): Likewise.
46344 (SET_RESTORE_ROUND_53BIT): Likewise.
46345 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46346 (libc_feresetround_noexf_ctx): Likewise.
46347 (libc_feresetround_noexl_ctx): Likewise.
46348 (libc_feholdsetround_53bit_ctx): Likewise.
46349 (libc_feresetround_53bit_ctx): Likewise.
46350 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46351 (libc_feholdexcept_setround_sse_ctx): New function.
46352 (libc_fesetenv_sse_ctx): Likewise.
46353 (libc_feupdateenv_sse_ctx): Likewise.
46354 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46355 (libc_feholdexcept_setround_387_ctx): Likewise.
46356 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
46357 (libc_feholdsetround_387_prec_ctx): Likewise.
46358 (libc_feholdsetround_387_ctx): Likewise.
46359 (libc_feholdsetround_387_53bit_ctx): Likewise.
46360 (libc_feholdsetround_sse_ctx): Likewise.
46361 (libc_feresetround_sse_ctx): Likewise.
46362 (libc_feresetround_387_ctx): Likewise.
46363 (libc_feupdateenv_387_ctx): Likewise.
46364 (libc_feholdexcept_setroundf_ctx): Define macro.
46365 (libc_fesetenvf_ctx): Likewise.
46366 (libc_feupdateenvf_ctx): Likewise.
46367 (libc_feholdsetroundf_ctx): Likewise.
46368 (libc_feresetroundf_ctx): Likewise.
46369 (libc_feholdexcept_setround_ctx): Likewise.
46370 (libc_fesetenv_ctx): Likewise.
46371 (libc_feupdateenv_ctx): Likewise.
46372 (libc_feholdsetround_ctx): Likewise.
46373 (libc_feresetround_ctx): Likewise.
46374 (libc_feholdexcept_setroundl_ctx): Likewise.
46375 (libc_feupdateenvl_ctx): Likewise.
46376 (libc_feholdsetroundl_ctx): Likewise.
46377 (libc_feresetroundl_ctx): Likewise.
46378 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
46379 (libc_feresetround_53bit_ctx): Likewise.
46380
46381 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46382
46383 * locale/iso-639.def: Convert to UTF-8.
46384
46385 2013-06-11 Joseph Myers <joseph@codesourcery.com>
46386
46387 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
46388 (EXCEPTION_TESTS_double): Likewise.
46389 (EXCEPTION_TESTS_long_double): Likewise.
46390 (EXCEPTION_TESTS): Likewise.
46391 * math/libm-test.inc (test_exceptions): Only test exceptions if
46392 EXCEPTION_TESTS (FLOAT).
46393
46394 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46395
46396 * benchtests/Makefile (string-bench): Add strcpy_chk and
46397 stpcpy_chk.
46398 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
46399 * benchtests/bench-stpcpy_chk.c: New file.
46400 * benchtests/bench-strcpy_chk-ifunc.c: New file.
46401 * benchtests/bench-strcpy_chk.c: New file.
46402 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
46403 code.
46404 (do_test): Likewise.
46405
46406 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46407
46408 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
46409 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
46410 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
46411 with tabs where appropriate.
46412 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
46413 dl-procinfo.h.
46414 [PPC_PLATFORM_PPC440]: Likewise.
46415 [PPC_PLATFORM_PPC464]: Likewise.
46416 [PPC_PLATFORM_PPC476]: Likewise.
46417 (_dl_string_platform): Add support for detecting ppc405, ppc440,
46418 ppc464, and ppc476 platform strings merging from ports/
46419 dl-procinfo.h.
46420
46421 2013-06-11 Andreas Schwab <schwab@suse.de>
46422
46423 [BZ #14991]
46424 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
46425 (from_ucs4_idx): Regenerate.
46426 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
46427 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
46428 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
46429 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
46430 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
46431 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
46432 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
46433 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
46434 from FROM_LOOP and TO_LOOP specific macros.
46435 (BODY): Handle combining characters.
46436 * iconvdata/BIG5HKSCS.irreversible: Update.
46437 * iconvdata/BIG5HKSCS.precomposed: New file.
46438 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
46439 characters.
46440 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
46441
46442 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46443
46444 * include/sys/time.h: Fix indentation and add copyright header.
46445
46446 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
46447 (do_test): Likewise.
46448 * string/test-memchr.c (do_one_test): Likewise.
46449 (do_test): Likewise.
46450 * string/test-memcmp.c (do_one_test): Likewise.
46451 (do_test): Likewise.
46452 * string/test-memcpy.c (do_one_test): Likewise.
46453 (do_test): Likewise.
46454 * string/test-memmem.c (do_one_test): Likewise.
46455 (do_test): Likewise.
46456 (do_random_tests): Likewise.
46457 * string/test-memmove.c (do_one_test): Likewise.
46458 (do_test): Likewise.
46459 * string/test-memset.c (do_one_test): Likewise.
46460 (do_test): Likewise.
46461 * string/test-rawmemchr.c (do_one_test): Likewise.
46462 (do_test): Likewise.
46463 * string/test-strcasecmp.c (do_one_test): Likewise.
46464 (do_test): Likewise.
46465 * string/test-strcasestr.c (do_one_test): Likewise.
46466 (do_test): Likewise.
46467 * string/test-strcat.c (do_one_test): Likewise.
46468 (do_test): Likewise.
46469 * string/test-strchr.c (do_one_test): Likewise.
46470 (do_test): Likewise.
46471 * string/test-strcmp.c (do_one_test): Likewise.
46472 (do_test): Likewise.
46473 * string/test-strcpy.c (do_one_test): Likewise.
46474 (do_test): Likewise.
46475 * string/test-string.h: Likewise.
46476 (test_init): Likewise.
46477 * string/test-strlen.c (do_one_test): Likewise.
46478 (do_test): Likewise.
46479 * string/test-strncasecmp.c (do_one_test): Likewise.
46480 (do_test): Likewise.
46481 * string/test-strncat.c (do_one_test): Likewise.
46482 (do_test): Likewise.
46483 * string/test-strncmp.c (do_one_test): Likewise.
46484 (do_test_limit): Likewise.
46485 (do_test): Likewise.
46486 * string/test-strncpy.c (do_one_test): Likewise.
46487 (do_test): Likewise.
46488 * string/test-strnlen.c (do_one_test): Likewise.
46489 (do_test): Likewise.
46490 * string/test-strpbrk.c (do_one_test): Likewise.
46491 (do_test): Likewise.
46492 * string/test-strrchr.c (do_one_test): Likewise.
46493 (do_test): Likewise.
46494 * string/test-strspn.c (do_one_test): Likewise.
46495 (do_test): Likewise.
46496 * string/test-strstr.c (do_one_test): Likewise.
46497 (do_test): Likewise.
46498
46499 * benchtests/Makefile (string-bench): Add string benchmarks.
46500 * benchtests/bench-bcopy-ifunc.c: New file.
46501 * benchtests/bench-bcopy.c: New file.
46502 * benchtests/bench-bzero-ifunc.c: New file.
46503 * benchtests/bench-bzero.c: New file.
46504 * benchtests/bench-memccpy-ifunc.c: New file.
46505 * benchtests/bench-memccpy.c: New file.
46506 * benchtests/bench-memchr-ifunc.c: New file.
46507 * benchtests/bench-memchr.c: New file.
46508 * benchtests/bench-memcmp-ifunc.c: New file.
46509 * benchtests/bench-memcmp.c: New file.
46510 * benchtests/bench-memmem-ifunc.c: New file.
46511 * benchtests/bench-memmem.c: New file.
46512 * benchtests/bench-memmove-ifunc.c: New file.
46513 * benchtests/bench-memmove.c: New file.
46514 * benchtests/bench-mempcpy-ifunc.c: New file.
46515 * benchtests/bench-mempcpy.c: New file.
46516 * benchtests/bench-memset-ifunc.c: New file.
46517 * benchtests/bench-memset.c: New file.
46518 * benchtests/bench-rawmemchr-ifunc.c: New file.
46519 * benchtests/bench-rawmemchr.c: New file.
46520 * benchtests/bench-stpcpy-ifunc.c: New file.
46521 * benchtests/bench-stpcpy.c: New file.
46522 * benchtests/bench-stpncpy-ifunc.c: New file.
46523 * benchtests/bench-stpncpy.c: New file.
46524 * benchtests/bench-strcasecmp-ifunc.c: New file.
46525 * benchtests/bench-strcasecmp.c: New file.
46526 * benchtests/bench-strcasestr-ifunc.c: New file.
46527 * benchtests/bench-strcasestr.c: New file.
46528 * benchtests/bench-strcat-ifunc.c: New file.
46529 * benchtests/bench-strcat.c: New file.
46530 * benchtests/bench-strchr-ifunc.c: New file.
46531 * benchtests/bench-strchr.c: New file.
46532 * benchtests/bench-strchrnul-ifunc.c: New file.
46533 * benchtests/bench-strchrnul.c: New file.
46534 * benchtests/bench-strcmp-ifunc.c: New file.
46535 * benchtests/bench-strcmp.c: New file.
46536 * benchtests/bench-strcpy-ifunc.c: New file.
46537 * benchtests/bench-strcpy.c: New file.
46538 * benchtests/bench-strcspn-ifunc.c: New file.
46539 * benchtests/bench-strcspn.c: New file.
46540 * benchtests/bench-strlen-ifunc.c: New file.
46541 * benchtests/bench-strlen.c: New file.
46542 * benchtests/bench-strncasecmp-ifunc.c: New file.
46543 * benchtests/bench-strncasecmp.c: New file.
46544 * benchtests/bench-strncat-ifunc.c: New file.
46545 * benchtests/bench-strncat.c: New file.
46546 * benchtests/bench-strncmp-ifunc.c: New file.
46547 * benchtests/bench-strncmp.c: New file.
46548 * benchtests/bench-strncpy-ifunc.c: New file.
46549 * benchtests/bench-strncpy.c: New file.
46550 * benchtests/bench-strnlen-ifunc.c: New file.
46551 * benchtests/bench-strnlen.c: New file.
46552 * benchtests/bench-strpbrk-ifunc.c: New file.
46553 * benchtests/bench-strpbrk.c: New file.
46554 * benchtests/bench-strrchr-ifunc.c: New file.
46555 * benchtests/bench-strrchr.c: New file.
46556 * benchtests/bench-strspn-ifunc.c: New file.
46557 * benchtests/bench-strspn.c: New file.
46558 * benchtests/bench-strstr-ifunc.c: New file.
46559 * benchtests/bench-strstr.c: New file.
46560
46561 * benchtests/Makefile: Disable parallel execution of targets.
46562 (string-bench): Add memcpy.
46563 (benchset): New variable to store a list of benchmark sets.
46564 (bench-func): Renamed from bench.
46565 (bench-set): New target.
46566 (bench): Depend on bench-func and bench-set.
46567 * benchtests/README: Add section on benchmark sets.
46568 * benchtests/bench-memcpy-ifunc.c: New file.
46569 * benchtests/bench-memcpy.c: New file.
46570 * benchtests/bench-string.h: New file.
46571
46572 2013-06-11 Andreas Schwab <schwab@suse.de>
46573
46574 [BZ #15577]
46575 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46576 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46577 values in the triple.
46578 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46579 terminator in the group key.
46580
46581 2013-06-11 Andreas Jaeger <aj@suse.de>
46582
46583 * po/zh_TW.po: Update Chinese (traditional) translation from
46584 translation project.
46585
46586 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46587
46588 * include/time.h (__clock_gettime): Add libc_hidden_proto.
46589 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46590 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
46591 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46592 (clock_getcpuclockid): Likewise.
46593 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46594 Add weak_alias and libc_hidden_def.
46595 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46596 * rt/clock_gettime.c (clock_gettime): Rename to
46597 __clock_gettime. Add weak_alias and libc_hidden_def.
46598 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46599 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46600 __clock_nanosleep. Add weak_alias and libc_hidden_def.
46601 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46602 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46603 Likewise.
46604 * rt/clock_settime.c (clock_settime): Rename to
46605 __clock_settime. Add weak_alias and libc_hidden_def.
46606 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46607
46608 2013-06-10 Joseph Myers <joseph@codesourcery.com>
46609
46610 * mach/err_boot.sub: Remove trailing whitespace.
46611 * mach/err_ipc.sub: Likewise.
46612 * mach/err_mach.sub: Likewise.
46613
46614 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46615 (ROUNDING_TESTS_double): Likewise.
46616 (ROUNDING_TESTS_long_double): Likewise.
46617 (ROUNDING_TESTS): Likewise.
46618 * math/libm-test.inc: Include <math-tests.h>.
46619 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46620 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46621 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46622 (IF_ROUND_INIT_FE_UPWARD): Likewise.
46623
46624 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46625
46626 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46627 of assigning.
46628
46629 2013-06-08 Joseph Myers <joseph@codesourcery.com>
46630
46631 * sysdeps/gnu/errlist.awk: Do not generate space at end of
46632 otherwise empty TRANS lines.
46633 * sysdeps/gnu/errlist.c: Regenerated.
46634
46635 * catgets/gencat.c (error_print): Use (void) in function
46636 definition.
46637 * crypt/crypt_util.c (__init_des): Likewise.
46638 * crypt/speeds.c (Stop): Likewise.
46639 (main): Likewise.
46640 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46641 * inet/ruserpass.c (token): Likewise.
46642 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46643 * intl/localealias.c (extend_alias_table): Likewise.
46644 * intl/plural-exp.c (init_germanic_plural): Likewise.
46645 * libio/fcloseall.c (__fcloseall): Likewise.
46646 * libio/genops.c (_IO_flush_all): Likewise.
46647 (_IO_flush_all_linebuffered): Likewise.
46648 (_IO_cleanup): Likewise.
46649 (_IO_iter_begin): Likewise.
46650 (_IO_iter_end): Likewise.
46651 (_IO_list_lock): Likewise.
46652 (_IO_list_unlock): Likewise.
46653 (_IO_list_resetlock): Likewise.
46654 * libio/getchar.c (getchar): Likewise.
46655 * libio/getchar_u.c (getchar_unlocked): Likewise.
46656 * libio/getwchar.c (getwchar): Likewise.
46657 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46658 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46659 * login/getpt.c (__getpt): Likewise.
46660 * login/tst-utmp.c (main): Likewise.
46661 * malloc/hooks.c (__malloc_check_init): Likewise.
46662 * malloc/malloc.c (__malloc_stats): Likewise.
46663 * malloc/mtrace.c (tr_break): Likewise.
46664 (mtrace): Likewise.
46665 (muntrace): Likewise.
46666 * misc/fstab.c (endfsent): Likewise.
46667 * misc/getclktck.c (__getclktck): Likewise.
46668 * misc/getdtsz.c (__getdtablesize): Likewise.
46669 * misc/gethostid.c (gethostid): Likewise.
46670 * misc/getpagesize.c (__getpagesize): Likewise.
46671 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46672 (__get_nprocs): Likewise.
46673 (__get_phys_pages): Likewise.
46674 (__get_avphys_pages): Likewise.
46675 * misc/getttyent.c (getttyent): Likewise.
46676 (setttyent): Likewise.
46677 (endttyent): Likewise.
46678 * misc/getusershell.c (getusershell): Likewise.
46679 (endusershell): Likewise.
46680 (setusershell): Likewise.
46681 (initshells): Likewise.
46682 * misc/hsearch.c (__hdestroy): Likewise.
46683 * misc/sync.c (sync): Likewise.
46684 * misc/syslog.c (closelog_internal): Likewise.
46685 (closelog): Likewise.
46686 * misc/ttyslot.c (ttyslot): Likewise.
46687 * misc/vhangup.c (vhangup): Likewise.
46688 * posix/fork.c (__fork): Likewise.
46689 * posix/getegid.c (__getegid): Likewise.
46690 * posix/geteuid.c (__geteuid): Likewise.
46691 * posix/getgid.c (__getgid): Likewise.
46692 * posix/getpid.c (__getpid): Likewise.
46693 * posix/getppid.c (__getppid): Likewise.
46694 * posix/getuid.c (__getuid): Likewise.
46695 * posix/pause.c (pause): Likewise.
46696 * posix/setpgrp.c (setpgrp): Likewise.
46697 * posix/setsid.c (__setsid): Likewise.
46698 * posix/test-vfork.c (noop): Likewise.
46699 * resolv/gethnamaddr.c (_endhtent): Likewise.
46700 (_gethtent): Likewise.
46701 (ht_endhostent): Likewise.
46702 (gethostent): Likewise.
46703 (dns_service): Likewise.
46704 * stdlib/drand48.c (drand48): Likewise.
46705 * stdlib/lrand48.c (lrand48): Likewise.
46706 * stdlib/mrand48.c (mrand48): Likewise.
46707 * stdlib/rand.c (rand): Likewise.
46708 * stdlib/random.c (__random): Likewise.
46709 * stdlib/setenv.c (clearenv): Likewise.
46710 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46711 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46712 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46713 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46714 (__get_nprocs): Likewise.
46715 (__get_phys_pages): Likewise.
46716 (__get_avphys_pages): Likewise.
46717 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46718 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46719 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46720 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46721 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46722 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46723 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46724 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46725 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46726 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46727 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46728 * sysdeps/mach/hurd/sync.c (sync): Likewise.
46729 * sysdeps/posix/clock.c (clock): Likewise.
46730 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46731 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46732 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46733 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46734 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46735 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46736 (__get_nprocs_conf): Likewise.
46737 (__get_phys_pages): Likewise.
46738 (__get_avphys_pages): Likewise.
46739 * time/clock.c (clock): Likewise.
46740 * time/tzset.c (__tzname_max): Likewise.
46741
46742 2013-06-07 Joseph Myers <joseph@codesourcery.com>
46743
46744 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46745 (__bswap_32): Do not use "register".
46746 * crypt/crypt.c (_ufc_doit_r): Likewise.
46747 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46748 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46749 * gmon/gmon.c (__monstartup): Likewise.
46750 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46751 * hurd/hurdmalloc.c (more_memory): Likewise.
46752 (malloc): Likewise.
46753 (free): Likewise.
46754 (realloc): Likewise.
46755 (malloc_fork_prepare): Likewise.
46756 (malloc_fork_parent): Likewise.
46757 (malloc_fork_child): Likewise.
46758 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46759 (_svcauth_des): Likewise.
46760 * inet/inet_lnaof.c (inet_lnaof): Likewise.
46761 * inet/inet_net.c (inet_network): Likewise.
46762 * inet/inet_netof.c (inet_netof): Likewise.
46763 * inet/rcmd.c (__validuser2_sa): Likewise.
46764 * io/fts.c (fts_open): Likewise.
46765 (fts_load): Likewise.
46766 (fts_close): Likewise.
46767 (fts_read): Likewise.
46768 (fts_children): Likewise.
46769 (fts_build): Likewise.
46770 (fts_stat): Likewise.
46771 (fts_sort): Likewise.
46772 (fts_alloc): Likewise.
46773 (fts_lfree): Likewise.
46774 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46775 (_IO_file_xsgetn): Likewise.
46776 (_IO_file_xsgetn_mmap): Likewise.
46777 * libio/iofopncook.c (_IO_cookie_read): Likewise.
46778 (_IO_cookie_write): Likewise.
46779 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46780 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46781 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46782 * malloc/obstack.c (_obstack_begin): Likewise.
46783 (_obstack_begin_1): Likewise.
46784 (_obstack_newchunk): Likewise.
46785 (_obstack_allocated_p): Likewise.
46786 (obstack_free): Likewise.
46787 (_obstack_memory_used): Likewise.
46788 * misc/getttyent.c (getttynam): Likewise.
46789 (getttyent): Likewise.
46790 (skip): Likewise.
46791 (value): Likewise.
46792 * misc/getusershell.c (initshells): Likewise.
46793 * misc/syslog.c (__vsyslog_chk): Likewise.
46794 * misc/ttyslot.c (ttyslot): Likewise.
46795 * nis/nis_hash.c (__nis_hash): Likewise.
46796 * posix/fnmatch_loop.c (FCT): Likewise.
46797 * posix/getconf.c (print_all): Likewise.
46798 (main): Likewise.
46799 * posix/getopt.c (exchange): Likewise.
46800 * posix/glob.c (globfree): Likewise.
46801 (prefix_array): Likewise.
46802 (__glob_pattern_type): Likewise.
46803 * resolv/arpa/nameser.h (NS_GET16): Likewise.
46804 (NS_GET32): Likewise.
46805 (NS_PUT16): Likewise.
46806 (NS_PUT32): Likewise.
46807 * resolv/gethnamaddr.c (getanswer): Likewise.
46808 (gethostbyname2): Likewise.
46809 (gethostbyaddr): Likewise.
46810 (_gethtent): Likewise.
46811 (_gethtbyname2): Likewise.
46812 (_gethtbyaddr): Likewise.
46813 * resolv/ns_print.c (dst_s_get_int16): Likewise.
46814 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46815 * resolv/res_init.c (__res_vinit): Likewise.
46816 (net_mask): Likewise.
46817 * resolv/res_mkquery.c (outchar): Likewise.
46818 (PRINT): Likewise.
46819 * stdio-common/printf_fp.c (outchar): Likewise.
46820 (PRINT): Likewise.
46821 * stdio-common/printf_fphex.c (outchar): Likewise.
46822 (PRINT): Likewise.
46823 * stdio-common/printf_size.c (outchar): Likewise.
46824 (PRINT): Likewise.
46825 * stdio-common/test_rdwr.c (main): Likewise.
46826 * stdio-common/tfformat.c (matches): Likewise.
46827 * stdio-common/vfprintf.c (outchar): Likewise.
46828 (printf_unknown): Likewise.
46829 (buffered_vfprintf): Likewise.
46830 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46831 * stdio-common/xbug.c (AppendToBuffer): Likewise.
46832 (ReadFile): Likewise.
46833 * stdlib/qsort.c (SWAP): Likewise.
46834 (_quicksort): Likewise.
46835 * stdlib/setenv.c (__add_to_environ): Likewise.
46836 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46837 * stdlib/strtol_l.c (__strtol_l): Likewise.
46838 * stdlib/tst-strtod.c (main): Likewise.
46839 * stdlib/tst-strtol.c (main): Likewise.
46840 * stdlib/tst-strtoll.c (main): Likewise.
46841 * string/bits/string2.h (__strcmp_cc): Likewise.
46842 (__strcmp_cg): Likewise.
46843 (__strcspn_c1): Likewise.
46844 (__strcspn_c2): Likewise.
46845 (__strcspn_c3): Likewise.
46846 (__strspn_c1): Likewise.
46847 (__strspn_c2): Likewise.
46848 (__strspn_c3): Likewise.
46849 (__strsep_1c): Likewise.
46850 (__strsep_2c): Likewise.
46851 (__strsep_3c): Likewise.
46852 * string/memccpy.c (__memccpy): Likewise.
46853 * string/stpcpy.c (__stpcpy): Likewise.
46854 * string/strcmp.c (strcmp): Likewise.
46855 * string/strrchr.c (strrchr): Likewise.
46856 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46857 Likewise.
46858 * sysdeps/mach/hurd/getcwd.c
46859 (_hurd_canonicalize_directory_name_internal): Likewise.
46860 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46861 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46862 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46863 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46864 Likewise, in both definitions.
46865 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46866 definitions.
46867 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46868 64] (__bswap_64): Likewise.
46869 * time/test_time.c (main): Likewise.
46870 * time/tzfile.c (__tzfile_read): Likewise.
46871 (__tzfile_compute): Likewise.
46872 * time/tzset.c (__tzset_parse_tz): Likewise.
46873 (tzset_internal): Likewise.
46874 (compute_change): Likewise.
46875 * wcsmbs/wcscat.c (__wcscat): Likewise.
46876 * wcsmbs/wcschr.c (wcschr): Likewise.
46877 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46878 * wcsmbs/wcscspn.c (wcscspn): Likewise.
46879 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46880 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46881 * wcsmbs/wcsspn.c (wcsspn): Likewise.
46882 * wcsmbs/wcsstr.c (wcsstr): Likewise.
46883 * wcsmbs/wmemchr.c (wmemchr): Likewise.
46884 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46885 * wcsmbs/wmemset.c (wmemset): Likewise.
46886
46887 2013-06-06 Joseph Myers <joseph@codesourcery.com>
46888
46889 * scripts/config.guess: Update to version 2013-05-16.
46890 * scripts/config.sub: Update to version 2013-04-24.
46891 * scripts/install-sh: Update to version 2011-11-20.07.
46892 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46893 * scripts/move-if-change: Update to version 2012-01-06 07:23.
46894
46895 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
46896
46897 * debug/fgetws_u_chk.c: Fix leading whitespaces.
46898 * elf/sln.c: Likewise.
46899 * hurd/hurd/ioctl.h: Likewise.
46900 * hurd/hurdmalloc.c: Likewise.
46901 * hurd/xattr.c: Likewise.
46902 * include/shlib-compat.h: Likewise.
46903 * inet/ruserpass.c: Likewise.
46904 * libio/iofgets_u.c: Likewise.
46905 * libio/iofgetws_u.c: Likewise.
46906 * locale/programs/ld-identification.c: Likewise.
46907 * locale/programs/ld-time.c: Likewise.
46908 * mach/msg-destroy.c: Likewise.
46909 * nss/nss_files/files-netgrp.c: Likewise.
46910 * resolv/res_data.c: Likewise.
46911 * soft-fp/op-1.h: Likewise.
46912 * soft-fp/op-2.h: Likewise.
46913 * soft-fp/op-4.h: Likewise.
46914 * soft-fp/op-common.h: Likewise.
46915 * stdio-common/printf_fphex.c: Likewise.
46916 * stdlib/strtod_l.c: Likewise.
46917 * sunrpc/rpc/clnt.h: Likewise.
46918 * sysdeps/generic/framestate.c: Likewise.
46919 * sysdeps/i386/bsd-_setjmp.S: Likewise.
46920 * sysdeps/i386/bsd-setjmp.S: Likewise.
46921 * sysdeps/i386/__longjmp.S: Likewise.
46922 * sysdeps/i386/setjmp.S: Likewise.
46923 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46924 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46925 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46926 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46927 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46928 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46929 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46930 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46931 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46932 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46933 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46934 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46935 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46936 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46937 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46938 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46939 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46940 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46941 * sysdeps/ieee754/support.c: Likewise.
46942 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46943 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46944 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46945 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46946 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46947 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46948 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46949 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46950 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46951 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46952 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46953 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46954 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46955 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46956 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46957 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46958 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46960
46961 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
46962
46963 * posix/transbug.c: Remove executable mode.
46964
46965 2013-06-05 Joseph Myers <joseph@codesourcery.com>
46966
46967 * crypt/speeds.c: Remove trailing whitespace.
46968 * dlfcn/default.c: Likewise.
46969 * elf/ifuncdep2.c: Likewise.
46970 * elf/ifuncmain1.c: Likewise.
46971 * elf/ifuncmain1vis.c: Likewise.
46972 * elf/testobj.h: Likewise.
46973 * elf/tst-stackguard1.c: Likewise.
46974 * gmon/sys/gmon.h: Likewise.
46975 * hurd/hurdmsg.c: Likewise.
46976 * hurd/new-fd.c: Likewise.
46977 * hurd/ports-get.c: Likewise.
46978 * iconvdata/ibm1008_420.c: Likewise.
46979 * inet/tst-getni1.c: Likewise.
46980 * inet/tst-getni2.c: Likewise.
46981 * libio/ioungetc.c: Likewise.
46982 * libio/wfiledoalloc.c: Likewise.
46983 * manual/libm-err-tab.pl: Likewise.
46984 * math/w_dremf.c: Likewise.
46985 * misc/ftruncate.c: Likewise.
46986 * posix/bug-glob2.c: Likewise.
46987 * posix/tst-pcre.c: Likewise.
46988 * posix/wait4.c: Likewise.
46989 * resolv/README: Likewise.
46990 * resolv/res_debug.h: Likewise.
46991 * resolv/tst-inet_ntop.c: Likewise.
46992 * setjmp/bug269-setjmp.c: Likewise.
46993 * soft-fp/extended.h: Likewise.
46994 * soft-fp/op-1.h: Likewise.
46995 * soft-fp/op-2.h: Likewise.
46996 * soft-fp/op-4.h: Likewise.
46997 * soft-fp/op-8.h: Likewise.
46998 * soft-fp/testit.c: Likewise.
46999 * stdio-common/bug16.c: Likewise.
47000 * stdlib/random.c: Likewise.
47001 * sunrpc/rpcsvc/rquota.x: Likewise.
47002 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
47003 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47004 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47005 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47006 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47007 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47008 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47009 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47010 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47011 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47012 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47013 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47014 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47015 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47016 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47017 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47018 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47019 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47020 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47021 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47022 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47023 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47024 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
47025 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47026 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47027 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47028 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47029 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47030 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47031 * sysdeps/ieee754/s_lib_version.c: Likewise.
47032 * sysdeps/mach/hurd/check_fds.c: Likewise.
47033 * sysdeps/mach/hurd/getsockname.c: Likewise.
47034 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
47035 * sysdeps/mach/hurd/recvfrom.c: Likewise.
47036 * sysdeps/powerpc/bits/link.h: Likewise.
47037 * sysdeps/powerpc/dl-procinfo.c: Likewise.
47038 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
47039 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
47040 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
47041 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47042 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47043 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
47044 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47045 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
47046 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47047 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
47048 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47049 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
47050 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47051 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47052 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47053 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47054 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47055 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47056 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47057 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47058 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
47059 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47060 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47061 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
47062 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47063 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47064 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47065 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47066 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47067 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47068 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47069 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47070 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47071 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
47072 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47073 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
47074 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47075 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
47076 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
47077 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
47078 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
47079 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47080 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47081 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47082 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47083 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47084 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47085 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47086 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47087 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47089 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47090 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47091 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47092 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
47093 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
47094 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47095 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
47096 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47097 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
47098 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
47099 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
47100 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47101 * sysdeps/powerpc/sysdep.h: Likewise.
47102 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47103 * sysdeps/s390/s390-64/sub_n.S: Likewise.
47104 * sysdeps/sh/dl-trampoline.S: Likewise.
47105 * sysdeps/sh/memset.S: Likewise.
47106 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
47107 * sysdeps/sh/strlen.S: Likewise.
47108 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
47109 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
47110 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
47111 * sysdeps/sparc/sparc32/rem.S: Likewise.
47112 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
47113 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
47114 * sysdeps/sparc/sparc32/strchr.S: Likewise.
47115 * sysdeps/sparc/sparc32/udiv.S: Likewise.
47116 * sysdeps/sparc/sparc32/urem.S: Likewise.
47117 * sysdeps/sparc/sparc64/add_n.S: Likewise.
47118 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47119 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
47120 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
47121 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
47122 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
47123 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
47124 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
47125 * sysdeps/unix/bsd/times.c: Likewise.
47126 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
47127 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
47128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47131 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
47132 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47133 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
47134 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
47135 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
47136 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
47137 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47138 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
47139 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47140 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47141 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
47142 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47143 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
47144 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
47145 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
47146 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
47147 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
47148 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47149 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
47150 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
47151 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
47152 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
47153 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47154 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
47155 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
47156 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
47157 * sysdeps/x86_64/strcspn.S: Likewise.
47158
47159 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47160
47161 * locale/C-translit.h: Revert #include <stdint.h> because this is a
47162 generated file. Regenerate properly from gen-translit.pl.
47163 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
47164 locale/C-translit.h.
47165
47166 2013-06-05 Andreas Schwab <schwab@suse.de>
47167
47168 [BZ #15100]
47169 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
47170 week as 6 instead of -1.
47171 * time/tst-strptime.c (day_tests): Add test case.
47172
47173 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47174
47175 * sysdeps/generic/math_private.h
47176 (libc_feholdexcept_setround_53bit): Replace with
47177 libc_feholdsetround_53bit.
47178 (libc_feupdateenv_53bit): Replace with
47179 libc_feresetround_53bit.
47180 (SET_RESTORE_ROUND_53BIT): Adjust.
47181
47182 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
47183
47184 * string/test-strchrnul.c: Add copyright header.
47185
47186 * posix/tst-getaddrinfo4.c: Increase test timeout.
47187
47188 2013-06-03 Carlos O'Donell <carlos@redhat.com>
47189
47190 [BZ #15536]
47191 * math/libm-test.inc (MAX_EXP): Remove
47192 (MIN_EXP): Define.
47193 (ulp): Use MIN_EXP - MANT_DIG.
47194 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
47195
47196 2013-05-31 Carlos O'Donell <carlos@redhat.com>
47197
47198 * po/be.po: Revert last change.
47199 * po/zh_CN.po: Likewise.
47200 * po/header.pot: Likewise.
47201
47202 2013-05-31 Joseph Myers <joseph@codesourcery.com>
47203
47204 * Makefile ($(common-objpfx)linkobj/libc.so): Define
47205 link-libc-deps to empty as target-specific variable.
47206 * Makerules (link-libc-args): New variable.
47207 (libc-for-link): Likewise.
47208 (link-libc-deps): Likewise.
47209 (lib%.so): Depend on $(link-libc-deps). Link with
47210 $(link-libc-args).
47211 (build-module): Link with $(link-libc-args).
47212 (build-module-asneeded): Likewise.
47213 (build-module-helper-objlist): Filter out $(link-libc-deps) from
47214 list of objects.
47215 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47216 target-specific variable.
47217 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47218 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47219 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47220 libc.
47221 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47222 libc and ld.so.
47223 ($(objpfx)libpcprofile.so): Likewise.
47224 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47225 libc_nonshared.a.
47226 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47227 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47228 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47229 $(link-libc-deps).
47230 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47231 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47232 * login/Makefile ($(objpfx)libutil.so): Likewise.
47233 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47234 * math/Makefile ($(objpfx)libm.so): Likewise.
47235 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47236 $(objpfx)libnsl.so): Define libc-for-link as target-specific
47237 variable instead of depending directly on libc.
47238 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47239 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47240 $(link-libc-deps).
47241 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47242 libc.
47243 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47244 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47245 ($(objpfx)libanl.so): Likewise.
47246 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47247 ld.so.
47248 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47249 $(link-libc-deps).
47250 * sysdeps/i386/fpu/Makefile: Remove file.
47251 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47252 ($(objpfx)libm.so): Remove dependency on ld.so.
47253
47254 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
47255
47256 [BZ # 15553]
47257 * nis/yp_xdr.c (XDRMAXNAME): Define.
47258 (XDRMAXRECORD): Define.
47259 (xdr_domainname): Use XDRMAXNAME.
47260 (xdr_mapname): Likewise.
47261 (xdr_peername): Likewise.
47262 (xdr_keydat): Use XDRMAXRECORD.
47263 (xdr_valdat): Likewise.
47264
47265 2013-05-30 Jeff Law <law@redhat.com>
47266
47267 [BZ #14256]
47268 * manual/errno.texi (ESTALE): Update to account for more than
47269 just NFS file systems.
47270 * sysdeps/gnu/errlist.c: Regenerated.
47271
47272 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
47273
47274 [BZ #15465]
47275 * elf/Makefile (tests): Add tst-null-argv.
47276 (modules-names): Add tst-null-argv-lib.
47277 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47278 (tst-null-argv-ENV): Set environment for tst-null-argv.
47279 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47280 (RTLD_PROGNAME): New macro.
47281 * elf/tst-null-argv.c: New test case.
47282 * elf/tst-null-argv-lib.c: Library for test case.
47283 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47284 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47285 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47286 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47287 * elf/dl-init.c (call_init): Likewise.
47288 (_dl_init): Likewise.
47289 * elf/dl-load.c (print_search_path): Likewise.
47290 (_dl_map_object): Likewise.
47291 * elf/dl-lookup.c (do_lookup_x): Likewise.
47292 (add_dependency): Likewise.
47293 (_dl_lookup_symbol_x): Likewise.
47294 (_dl_debug_bindings): Likewise.
47295 * elf/dl-open.c (_dl_show_scope): Likewise.
47296 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47297 * elf/dl-version.c (match_symbol): Likewise.
47298 (_dl_check_map_versions): Likewise.
47299 * elf/rtld.c (dl_main): Likewise.
47300 (print_unresolved): Use RTLD_PROGNAME.
47301 (print_missing_version): Likewise.
47302 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47303 (elf_machine_rela): Likewise.
47304 * sysdeps/powerpc/powerpc32/dl-machine.c
47305 (__process_machine_rela): Likewise.
47306 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47307 Likewise.
47308 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47309 Likewise.
47310 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47311 Likewise.
47312 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47313 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47314 Likewise.
47315 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47316 Likewise.
47317 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47318
47319 2013-05-28 Carlos O'Donell <carlos@redhat.com>
47320
47321 * po/be.po: Add descriptive title.
47322 * po/zh_CN.po: Likewise.
47323 * po/header.pot: Likewise.
47324
47325 2013-05-28 Mike Frysinger <vapier@gentoo.org>
47326
47327 * locale/programs/locarchive.c (create_archive): Inlucde fname in
47328 error message.
47329 (enlarge_archive): Likewise.
47330
47331 2013-05-28 Ben North <ben@redfrontdoor.org>
47332
47333 * manual/arith.texi (frexp): It is the magnitude of the return
47334 value which lies in [0.5, 1), not the return value itself.
47335
47336 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47337
47338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47339
47340 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
47341
47342 * stdio-common/bug26.c (main): Correct fscanf template.
47343
47344 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47345 declare _dl_skip_args.
47346
47347 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47348 Don't declare.
47349
47350 * manual/platform.texi: Add missing @end deftypefun.
47351
47352 2013-05-24 Joseph Myers <joseph@codesourcery.com>
47353
47354 [BZ #15529]
47355 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47356 bit of mantissa of 2^16382.
47357 * math/libm-test.inc (hypot_test_data): Add more tests.
47358
47359 * math/libm-test.inc: Add drem and pow10 to list of tested
47360 functions.
47361 (pow10_test): New function.
47362 (drem_test): Likewise.
47363 (drem_test_tonearest): Likewise.
47364 (drem_test_towardzero): Likewise.
47365 (drem_test_downward): Likewise.
47366 (drem_test_upward): Likewise.
47367 (main): Call the new functions.
47368
47369 * math/libm-test.inc (finite_test_data): Remove.
47370 (finite_test): Run tests from isfinite_test_data.
47371 (gamma_test_data): Remove.
47372 (gamma_test): Run tests from lgamma_test_data.
47373 * sysdeps/i386/fpu/libm-test-ulps: Update.
47374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47375
47376 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47377
47378 * manual/platform.texi: Add PowerPC PPR function set documentation.
47379 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
47380 implementation.
47381
47382 2013-05-24 Carlos O'Donell <carlos@redhat.com>
47383
47384 * math/libm-test.inc (MAX_EXP): Define.
47385 (ULPDIFF): Define.
47386 (ulp): New function.
47387 (check_float_internal): Use ULPDIFF.
47388 (cpow_test): Disable failing test.
47389 (check_ulp): Test ulp() implemetnation.
47390 (main): Call check_ulp before starting tests.
47391
47392 2013-05-24 Joseph Myers <joseph@codesourcery.com>
47393
47394 * math/gen-libm-test.pl (generate_testfile): Do not handle
47395 START_DATA and END_DATA.
47396 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
47397 END_DATA.
47398 (acos_tonearest_test_data): Likewise.
47399 (acos_towardzero_test_data): Likewise.
47400 (acos_downward_test_data): Likewise.
47401 (acos_upward_test_data): Likewise.
47402 (acosh_test_data): Likewise.
47403 (asin_test_data): Likewise.
47404 (asin_tonearest_test_data): Likewise.
47405 (asin_towardzero_test_data): Likewise.
47406 (asin_downward_test_data): Likewise.
47407 (asin_upward_test_data): Likewise.
47408 (asinh_test_data): Likewise.
47409 (atan_test_data): Likewise.
47410 (atanh_test_data): Likewise.
47411 (atan2_test_data): Likewise.
47412 (cabs_test_data): Likewise.
47413 (cacos_test_data): Likewise.
47414 (cacosh_test_data): Likewise.
47415 (carg_test_data): Likewise.
47416 (casin_test_data): Likewise.
47417 (casinh_test_data): Likewise.
47418 (catan_test_data): Likewise.
47419 (catanh_test_data): Likewise.
47420 (cbrt_test_data): Likewise.
47421 (ccos_test_data): Likewise.
47422 (ccosh_test_data): Likewise.
47423 (ceil_test_data): Likewise.
47424 (cexp_test_data): Likewise.
47425 (cimag_test_data): Likewise.
47426 (clog_test_data): Likewise.
47427 (clog10_test_data): Likewise.
47428 (conj_test_data): Likewise.
47429 (copysign_test_data): Likewise.
47430 (cos_test_data): Likewise.
47431 (cos_tonearest_test_data): Likewise.
47432 (cos_towardzero_test_data): Likewise.
47433 (cos_downward_test_data): Likewise.
47434 (cos_upward_test_data): Likewise.
47435 (cosh_test_data): Likewise.
47436 (cosh_tonearest_test_data): Likewise.
47437 (cosh_towardzero_test_data): Likewise.
47438 (cosh_downward_test_data): Likewise.
47439 (cosh_upward_test_data): Likewise.
47440 (cpow_test_data): Likewise.
47441 (cproj_test_data): Likewise.
47442 (creal_test_data): Likewise.
47443 (csin_test_data): Likewise.
47444 (csinh_test_data): Likewise.
47445 (csqrt_test_data): Likewise.
47446 (ctan_test_data): Likewise.
47447 (ctan_tonearest_test_data): Likewise.
47448 (ctan_towardzero_test_data): Likewise.
47449 (ctan_downward_test_data): Likewise.
47450 (ctan_upward_test_data): Likewise.
47451 (ctanh_test_data): Likewise.
47452 (ctanh_tonearest_test_data): Likewise.
47453 (ctanh_towardzero_test_data): Likewise.
47454 (ctanh_downward_test_data): Likewise.
47455 (ctanh_upward_test_data): Likewise.
47456 (erf_test_data): Likewise.
47457 (erfc_test_data): Likewise.
47458 (exp_test_data): Likewise.
47459 (exp_tonearest_test_data): Likewise.
47460 (exp_towardzero_test_data): Likewise.
47461 (exp_downward_test_data): Likewise.
47462 (exp_upward_test_data): Likewise.
47463 (exp10_test_data): Likewise.
47464 (exp2_test_data): Likewise.
47465 (expm1_test_data): Likewise.
47466 (fabs_test_data): Likewise.
47467 (fdim_test_data): Likewise.
47468 (finite_test_data): Likewise.
47469 (floor_test_data): Likewise.
47470 (fma_test_data): Likewise.
47471 (fma_towardzero_test_data): Likewise.
47472 (fma_downward_test_data): Likewise.
47473 (fma_upward_test_data): Likewise.
47474 (fmax_test_data): Likewise.
47475 (fmin_test_data): Likewise.
47476 (fmod_test_data): Likewise.
47477 (fpclassify_test_data): Likewise.
47478 (frexp_test_data): Likewise.
47479 (gamma_test_data): Likewise.
47480 (hypot_test_data): Likewise.
47481 (ilogb_test_data): Likewise.
47482 (isfinite_test_data): Likewise.
47483 (isgreater_test_data): Likewise.
47484 (isgreaterequal_test_data): Likewise.
47485 (isinf_test_data): Likewise.
47486 (isless_test_data): Likewise.
47487 (islessequal_test_data): Likewise.
47488 (islessgreater_test_data): Likewise.
47489 (isnan_test_data): Likewise.
47490 (isnormal_test_data): Likewise.
47491 (issignaling_test_data): Likewise.
47492 (isunordered_test_data): Likewise.
47493 (j0_test_data): Likewise.
47494 (j1_test_data): Likewise.
47495 (jn_test_data): Likewise.
47496 (ldexp_test_data): Likewise.
47497 (lgamma_test_data): Likewise.
47498 (lrint_test_data): Likewise.
47499 (lrint_tonearest_test_data): Likewise.
47500 (lrint_towardzero_test_data): Likewise.
47501 (lrint_downward_test_data): Likewise.
47502 (lrint_upward_test_data): Likewise.
47503 (llrint_test_data): Likewise.
47504 (llrint_tonearest_test_data): Likewise.
47505 (llrint_towardzero_test_data): Likewise.
47506 (llrint_downward_test_data): Likewise.
47507 (llrint_upward_test_data): Likewise.
47508 (log_test_data): Likewise.
47509 (log10_test_data): Likewise.
47510 (log1p_test_data): Likewise.
47511 (log2_test_data): Likewise.
47512 (logb_test_data): Likewise.
47513 (logb_downward_test_data): Likewise.
47514 (lround_test_data): Likewise.
47515 (llround_test_data): Likewise.
47516 (modf_test_data): Likewise.
47517 (nearbyint_test_data): Likewise.
47518 (nextafter_test_data): Likewise.
47519 (nexttoward_test_data): Likewise.
47520 (pow_test_data): Likewise.
47521 (pow_tonearest_test_data): Likewise.
47522 (pow_towardzero_test_data): Likewise.
47523 (pow_downward_test_data): Likewise.
47524 (pow_upward_test_data): Likewise.
47525 (remainder_test_data): Likewise.
47526 (remainder_tonearest_test_data): Likewise.
47527 (remainder_towardzero_test_data): Likewise.
47528 (remainder_downward_test_data): Likewise.
47529 (remainder_upward_test_data): Likewise.
47530 (remquo_test_data): Likewise.
47531 (rint_test_data): Likewise.
47532 (rint_tonearest_test_data): Likewise.
47533 (rint_towardzero_test_data): Likewise.
47534 (rint_downward_test_data): Likewise.
47535 (rint_upward_test_data): Likewise.
47536 (round_test_data): Likewise.
47537 (scalb_test_data): Likewise.
47538 (scalbn_test_data): Likewise.
47539 (scalbln_test_data): Likewise.
47540 (signbit_test_data): Likewise.
47541 (sin_test_data): Likewise.
47542 (sin_tonearest_test_data): Likewise.
47543 (sin_towardzero_test_data): Likewise.
47544 (sin_downward_test_data): Likewise.
47545 (sin_upward_test_data): Likewise.
47546 (sincos_test_data): Likewise.
47547 (sinh_test_data): Likewise.
47548 (sinh_tonearest_test_data): Likewise.
47549 (sinh_towardzero_test_data): Likewise.
47550 (sinh_downward_test_data): Likewise.
47551 (sinh_upward_test_data): Likewise.
47552 (sqrt_test_data): Likewise.
47553 (tan_test_data): Likewise.
47554 (tan_tonearest_test_data): Likewise.
47555 (tan_towardzero_test_data): Likewise.
47556 (tan_downward_test_data): Likewise.
47557 (tan_upward_test_data): Likewise.
47558 (tanh_test_data): Likewise.
47559 (tgamma_test_data): Likewise.
47560 (trunc_test_data): Likewise.
47561 (y0_test_data): Likewise.
47562 (y1_test_data): Likewise.
47563 (yn_test_data): Likewise.
47564 (significand_test_data): Likewise.
47565
47566 * math/gen-libm-test.pl (@functions): Remove variable.
47567 (generate_testfile): Don't handle START and END lines.
47568 * math/libm-test.inc (START): New macro.
47569 (END): Likewise.
47570 (END_COMPLEX): Likewise.
47571 (acos_test): Use END macro without arguments.
47572 (acos_test_tonearest): Likewise.
47573 (acos_test_towardzero): Likewise.
47574 (acos_test_downward): Likewise.
47575 (acos_test_upward): Likewise.
47576 (acosh_test): Likewise.
47577 (asin_test): Likewise.
47578 (asin_test_tonearest): Likewise.
47579 (asin_test_towardzero): Likewise.
47580 (asin_test_downward): Likewise.
47581 (asin_test_upward): Likewise.
47582 (asinh_test): Likewise.
47583 (atan_test): Likewise.
47584 (atanh_test): Likewise.
47585 (atan2_test): Likewise.
47586 (cabs_test): Likewise.
47587 (cacos_test): Use END_COMPLEX macro without arguments.
47588 (cacosh_test): Likewise.
47589 (carg_test): Use END macro without arguments.
47590 (casin_test): Use END_COMPLEX macro without arguments.
47591 (casinh_test): Likewise.
47592 (catan_test): Likewise.
47593 (catanh_test): Likewise.
47594 (cbrt_test): Use END macro without arguments.
47595 (ccos_test): Use END_COMPLEX macro without arguments.
47596 (ccosh_test): Likewise.
47597 (ceil_test): Use END macro without arguments.
47598 (cexp_test): Use END_COMPLEX macro without arguments.
47599 (cimag_test): Use END macro without arguments.
47600 (clog_test): Use END_COMPLEX macro without arguments.
47601 (clog10_test): Likewise.
47602 (conj_test): Likewise.
47603 (copysign_test): Use END macro without arguments.
47604 (cos_test): Likewise.
47605 (cos_test_tonearest): Likewise.
47606 (cos_test_towardzero): Likewise.
47607 (cos_test_downward): Likewise.
47608 (cos_test_upward): Likewise.
47609 (cosh_test): Likewise.
47610 (cosh_test_tonearest): Likewise.
47611 (cosh_test_towardzero): Likewise.
47612 (cosh_test_downward): Likewise.
47613 (cosh_test_upward): Likewise.
47614 (cpow_test): Use END_COMPLEX macro without arguments.
47615 (cproj_test): Likewise.
47616 (creal_test): Use END macro without arguments.
47617 (csin_test): Use END_COMPLEX macro without arguments.
47618 (csinh_test): Likewise.
47619 (csqrt_test): Likewise.
47620 (ctan_test): Likewise.
47621 (ctan_test_tonearest): Likewise.
47622 (ctan_test_towardzero): Likewise.
47623 (ctan_test_downward): Likewise.
47624 (ctan_test_upward): Likewise.
47625 (ctanh_test): Likewise.
47626 (ctanh_test_tonearest): Likewise.
47627 (ctanh_test_towardzero): Likewise.
47628 (ctanh_test_downward): Likewise.
47629 (ctanh_test_upward): Likewise.
47630 (erf_test): Use END macro without arguments.
47631 (erfc_test): Likewise.
47632 (exp_test): Likewise.
47633 (exp_test_tonearest): Likewise.
47634 (exp_test_towardzero): Likewise.
47635 (exp_test_downward): Likewise.
47636 (exp_test_upward): Likewise.
47637 (exp10_test): Likewise.
47638 (exp2_test): Likewise.
47639 (expm1_test): Likewise.
47640 (fabs_test): Likewise.
47641 (fdim_test): Likewise.
47642 (finite_test): Likewise.
47643 (floor_test): Likewise.
47644 (fma_test): Likewise.
47645 (fma_test_towardzero): Likewise.
47646 (fma_test_downward): Likewise.
47647 (fma_test_upward): Likewise.
47648 (fmax_test): Likewise.
47649 (fmin_test): Likewise.
47650 (fmod_test): Likewise.
47651 (fpclassify_test): Likewise.
47652 (frexp_test): Likewise.
47653 (gamma_test): Likewise.
47654 (hypot_test): Likewise.
47655 (ilogb_test): Likewise.
47656 (isfinite_test): Likewise.
47657 (isgreater_test): Likewise.
47658 (isgreaterequal_test): Likewise.
47659 (isinf_test): Likewise.
47660 (isless_test): Likewise.
47661 (islessequal_test): Likewise.
47662 (islessgreater_test): Likewise.
47663 (isnan_test): Likewise.
47664 (isnormal_test): Likewise.
47665 (issignaling_test): Likewise.
47666 (isunordered_test): Likewise.
47667 (j0_test): Likewise.
47668 (j1_test): Likewise.
47669 (jn_test): Likewise.
47670 (ldexp_test): Likewise.
47671 (lgamma_test): Likewise.
47672 (lrint_test): Likewise.
47673 (lrint_test_tonearest): Likewise.
47674 (lrint_test_towardzero): Likewise.
47675 (lrint_test_downward): Likewise.
47676 (lrint_test_upward): Likewise.
47677 (llrint_test): Likewise.
47678 (llrint_test_tonearest): Likewise.
47679 (llrint_test_towardzero): Likewise.
47680 (llrint_test_downward): Likewise.
47681 (llrint_test_upward): Likewise.
47682 (log_test): Likewise.
47683 (log10_test): Likewise.
47684 (log1p_test): Likewise.
47685 (log2_test): Likewise.
47686 (logb_test): Likewise.
47687 (logb_test_downward): Likewise.
47688 (lround_test): Likewise.
47689 (llround_test): Likewise.
47690 (modf_test): Likewise.
47691 (nearbyint_test): Likewise.
47692 (nextafter_test): Likewise.
47693 (nexttoward_test): Likewise.
47694 (pow_test): Likewise.
47695 (pow_test_tonearest): Likewise.
47696 (pow_test_towardzero): Likewise.
47697 (pow_test_downward): Likewise.
47698 (pow_test_upward): Likewise.
47699 (remainder_test): Likewise.
47700 (remainder_test_tonearest): Likewise.
47701 (remainder_test_towardzero): Likewise.
47702 (remainder_test_downward): Likewise.
47703 (remainder_test_upward): Likewise.
47704 (remquo_test): Likewise.
47705 (rint_test): Likewise.
47706 (rint_test_tonearest): Likewise.
47707 (rint_test_towardzero): Likewise.
47708 (rint_test_downward): Likewise.
47709 (rint_test_upward): Likewise.
47710 (round_test): Likewise.
47711 (scalb_test): Likewise.
47712 (scalbn_test): Likewise.
47713 (scalbln_test): Likewise.
47714 (signbit_test): Likewise.
47715 (sin_test): Likewise.
47716 (sin_test_tonearest): Likewise.
47717 (sin_test_towardzero): Likewise.
47718 (sin_test_downward): Likewise.
47719 (sin_test_upward): Likewise.
47720 (sincos_test): Likewise.
47721 (sinh_test): Likewise.
47722 (sinh_test_tonearest): Likewise.
47723 (sinh_test_towardzero): Likewise.
47724 (sinh_test_downward): Likewise.
47725 (sinh_test_upward): Likewise.
47726 (sqrt_test): Likewise.
47727 (tan_test): Likewise.
47728 (tan_test_tonearest): Likewise.
47729 (tan_test_towardzero): Likewise.
47730 (tan_test_downward): Likewise.
47731 (tan_test_upward): Likewise.
47732 (tanh_test): Likewise.
47733 (tgamma_test): Likewise.
47734 (trunc_test): Likewise.
47735 (y0_test): Likewise.
47736 (y1_test): Likewise.
47737 (yn_test): Likewise.
47738 (significand_test): Likewise.
47739
47740 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
47741
47742 [BZ #15381]
47743 * libio/genops.c (_IO_no_init): Initialize wide struct info.
47744
47745 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
47746
47747 [BZ #14894]
47748 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47749 __ppc_mdoio and __ppc_mdoom.
47750 * manual/platform.texi: Document new functions __ppc_yield,
47751 __ppc_mdoio and __ppc_mdoom.
47752
47753 2013-05-22 Carlos O'Donell <carlos@redhat.com>
47754
47755 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47756 (main): Mention "tls" pseudo-hwcap is legacy.
47757 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47758
47759 2013-05-22 Joseph Myers <joseph@codesourcery.com>
47760
47761 * math/gen-libm-test.pl (parse_args): Output only string of
47762 arguments as text for test name, not full call or descriptions of
47763 tests for extra outputs.
47764 (generate_testfile): Do not pass function name to parse_args.
47765 Generate this_func variable from START.
47766 * math/libm-test.inc (struct test_f_f_data): Rename test_name
47767 field to arg_str.
47768 (struct test_ff_f_data): Likewise.
47769 (test_ff_f_data_nexttoward): Likewise.
47770 (struct test_fi_f_data): Likewise.
47771 (struct test_fl_f_data): Likewise.
47772 (struct test_if_f_data): Likewise.
47773 (struct test_fff_f_data): Likewise.
47774 (struct test_c_f_data): Likewise.
47775 (struct test_f_f1_data): Likewise. Remove field extra_name.
47776 (struct test_fF_f1_data): Likewise.
47777 (struct test_ffI_f1_data): Likewise.
47778 (struct test_c_c_data): Rename test_name field to arg_str.
47779 (struct test_cc_c_data): Likewise.
47780 (struct test_f_i_data): Likewise.
47781 (struct test_ff_i_data): Likewise.
47782 (struct test_f_l_data): Likewise.
47783 (struct test_f_L_data): Likewise.
47784 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
47785 and extra2_name.
47786 (COMMON_TEST_SETUP): New macro.
47787 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47788 (COMMON_TEST_CLEANUP): Likewise.
47789 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47790 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
47791 macros.
47792 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47793 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
47794 macros.
47795 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47796 (RUN_TEST_fff_f): Take argument string. Call new setup and
47797 cleanup macros.
47798 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47799 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
47800 macros.
47801 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47802 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
47803 macros.
47804 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47805 (RUN_TEST_fF_f1): Take argument string. Call new setup and
47806 cleanup macros.
47807 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47808 (RUN_TEST_fI_f1): Take argument string. Call new setup and
47809 cleanup macros.
47810 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47811 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
47812 cleanup macros.
47813 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47814 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
47815 macros.
47816 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47817 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
47818 macros.
47819 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47820 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
47821 macros.
47822 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47823 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
47824 cleanup macros.
47825 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47826 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
47827 cleanup macros.
47828 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47829 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
47830 macros.
47831 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47832 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
47833 cleanup macros.
47834 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47835 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
47836 macros.
47837 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47838 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
47839 macros.
47840 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47841 (RUN_TEST_fFF_11): Take argument string. Call new setup and
47842 cleanup macros.
47843 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47844
47845 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
47846
47847 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47848 to _sifields.sigfault.
47849 (si_addr_lsb): Define new macro.
47850 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47851 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47852 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47853
47854 2013-05-03 Carlos O'Donell <carlos at redhat.com>
47855
47856 [BZ #15441]
47857 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47858 returns -1.
47859 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47860 null return -1.
47861 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47862 loading the domain.
47863
47864 2013-05-22 Joseph Myers <joseph@codesourcery.com>
47865
47866 * math/gen-libm-test.pl (parse_args): Do not include expected
47867 result in test name.
47868 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47869 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47870 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47871 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47872 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47874
47875 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47876
47877 * benchtests/Makefile: Sort function entries.
47878
47879 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47880 tanh, asinh, acosh, atanh.
47881 * benchtests/acos-inputs: New file.
47882 * benchtests/acosh-inputs: New file.
47883 * benchtests/asin-inputs: New file.
47884 * benchtests/asinh-inputs: New file.
47885 * benchtests/atanh-inputs: New file.
47886 * benchtests/cosh-inputs: New file.
47887 * benchtests/log-inputs: New file.
47888 * benchtests/sinh-inputs: New file.
47889 * benchtests/tanh-inputs: New file.
47890
47891 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
47892
47893 [BZ #15339]
47894 * posix/tst-getaddrinfo4.c: New test.
47895 * posix/Makefile (tests): Add it.
47896
47897 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47898
47899 [BZ #15339]
47900 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47901 when no services were used.
47902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47903 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47904
47905 2013-05-21 Andreas Schwab <schwab@suse.de>
47906
47907 [BZ #15014]
47908 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47909 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47910 successful.
47911 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47912 redundant variable declarations and reallocation of buffer when
47913 parsing as IPv6 address. Always set NSS status when called from
47914 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
47915 buffer too small. Correct computation of needed size.
47916 * nss/Makefile (tests): Add test-digits-dots.
47917 * nss/test-digits-dots.c: New test.
47918
47919 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47920
47921 * benchtests/Makefile: Remove instructions for adding
47922 benchmark tests.
47923 * benchtests/README: New file to explain how to execute and
47924 enhance the benchmark tests.
47925
47926 2013-05-21 Andreas Schwab <schwab@suse.de>
47927
47928 [BZ #15493]
47929 * setjmp/Makefile (tests): Add tst-sigsetjmp.
47930 * setjmp/tst-sigsetjmp.c: New test.
47931
47932 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
47933
47934 * sysdeps/x86_64/memset.S (memset): New implementation.
47935 (__bzero): Likewise.
47936 (__memset_tail): New function.
47937
47938 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
47939
47940 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47941 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47942 __memcpy_sse2_unaligned ifunc selection.
47943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47944 Add memcpy-sse2-unaligned.S.
47945 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47946 Add: __memcpy_sse2_unaligned.
47947
47948 2013-05-19 Joseph Myers <joseph@codesourcery.com>
47949
47950 [BZ #15490]
47951 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47952 math_force_eval before restoring floating-point envrionment.
47953 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47954 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47955 Likewise.
47956 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47957 <math_private.h>.
47958 (__nearbyintl): Use math_force_eval before restoring
47959 floating-point environment.
47960 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47961
47962 * math/gen-libm-test.pl (special_functions): Remove.
47963 (parse_args): Don't handle TEST_extra. Handle functions with no
47964 return value.
47965 * math/libm-test.inc (struct test_sincos_data): Replace with
47966 struct test_fFF_11_data.
47967 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47968 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47969 (sincos_test_data): Change element type to struct
47970 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
47971 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47972 RUN_TEST_LOOP_sincos.
47973 * math/README.libm-test: Don't mention special handling of
47974 individual functions.
47975 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47976 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47977 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47978 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47979 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47981
47982 * math/gen-libm-test.pl (get_variable): Remove function.
47983 (parse_args): Don't show pointer parameters to call in test
47984 names. Use "extra output N" in test names for extra outputs
47985 rather than naming variables.
47986
47987 2013-05-18 Joseph Myers <joseph@codesourcery.com>
47988
47989 [BZ #15488]
47990 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47991 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47992 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47993 double tests.
47994 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47995 disable.
47996 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47997 check_long_double.
47998
47999 * math/gen-libm-test.pl (@tests): Remove variable.
48000 ($count): Likewise.
48001 (new_test): Remove function.
48002 (show_exceptions): New function.
48003 (special_functions): Use show_exceptions instead of new_test.
48004 (parse_args): Likewise.
48005 (generate_testfile): Pass only function name in generated call to
48006 print_max_error or print_complex_max_error.
48007 (get_ulps): Do not handle complex tests specially.
48008 (output_test): Rename to ...
48009 (get_all_ulps_for_test): ... this. Return a string rather than
48010 printing to a file. Require ulps to be present.
48011 (output_ulps): Generate arrays rather than #defines.
48012 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
48013 (struct ulp_data): New type.
48014 (BUILD_COMPLEX_ULP): Remove macro.
48015 (compare_ulp_data): New function.
48016 (find_ulps): Likewise.
48017 (find_test_ulps): Likewise.
48018 (find_function_ulps): Likewise.
48019 (find_complex_function_ulps): Likewise.
48020 (print_max_error): Determine allowed ulps using
48021 find_function_ulps.
48022 (print_complex_max_error): Determine allowed ulps using
48023 find_complex_function_ulps.
48024 (check_float_internal): Determine max ulps using find_test_ulps.
48025 (check_float): Do not take max_ulp parameter. Update call to
48026 check_float_internal.
48027 (check_complex): Likewise.
48028 (check_int): Do not take max_ulp parameter.
48029 (check_long): Likewise.
48030 (check_bool): Likewise.
48031 (check_longlong): Likewise.
48032 (struct test_f_f_data): Remove max_ulp field.
48033 (struct test_ff_f_data): Likewise.
48034 (struct test_ff_f_data_nexttoward): Likewise.
48035 (struct test_fi_f_data): Likewise.
48036 (struct test_fl_f_data): Likewise.
48037 (struct test_if_f_data): Likewise.
48038 (struct test_fff_f_data): Likewise.
48039 (struct test_c_f_data): Likewise.
48040 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
48041 (struct test_fF_f1_data): Likewise.
48042 (struct test_ffI_f1_data): Likewise.
48043 (struct test_c_c_data): Remove max_ulp field.
48044 (struct test_cc_c_data): Likewise.
48045 (struct test_f_i_data): Likewise.
48046 (struct test_ff_i_data): Likewise.
48047 (struct test_f_l_data): Likewise.
48048 (struct test_f_L_data): Likewise.
48049 (struct test_sincos_data): Likewise.
48050 (RUN_TEST_f_f): Do not handle ulps.
48051 (RUN_TEST_LOOP_f_f): Likewise.
48052 (RUN_TEST_2_f): Likewise.
48053 (RUN_TEST_LOOP_2_f): Likewise.
48054 (RUN_TEST_fff_f): Likewise.
48055 (RUN_TEST_LOOP_fff_f): Likewise.
48056 (RUN_TEST_c_f): Likewise.
48057 (RUN_TEST_LOOP_c_f): Likewise.
48058 (RUN_TEST_f_f1): Likewise.
48059 (RUN_TEST_LOOP_f_f1): Likewise.
48060 (RUN_TEST_fF_f1): Likewise.
48061 (RUN_TEST_LOOP_fF_f1): Likewise.
48062 (RUN_TEST_fI_f1): Likewise.
48063 (RUN_TEST_LOOP_fI_f1): Likewise.
48064 (RUN_TEST_ffI_f1): Likewise.
48065 (RUN_TEST_LOOP_ffI_f1): Likewise.
48066 (RUN_TEST_c_c): Likewise.
48067 (RUN_TEST_LOOP_c_c): Likewise.
48068 (RUN_TEST_cc_c): Likewise.
48069 (RUN_TEST_LOOP_cc_c): Likewise.
48070 (RUN_TEST_f_i): Likewise.
48071 (RUN_TEST_LOOP_f_i): Likewise.
48072 (RUN_TEST_f_i_tg): Likewise.
48073 (RUN_TEST_LOOP_f_i_tg): Likewise.
48074 (RUN_TEST_ff_i_tg): Likewise.
48075 (RUN_TEST_LOOP_ff_i_tg): Likewise.
48076 (RUN_TEST_f_b): Likewise.
48077 (RUN_TEST_LOOP_f_b): Likewise.
48078 (RUN_TEST_f_b_tg): Likewise.
48079 (RUN_TEST_LOOP_f_b_tg): Likewise.
48080 (RUN_TEST_f_l): Likewise.
48081 (RUN_TEST_LOOP_f_l): Likewise.
48082 (RUN_TEST_f_L): Likewise.
48083 (RUN_TEST_LOOP_f_L): Likewise.
48084 (RUN_TEST_sincos): Likewise.
48085 (RUN_TEST_LOOP_sincos): Likewise.
48086
48087 2013-05-17 Joseph Myers <joseph@codesourcery.com>
48088
48089 [BZ #15480]
48090 [BZ #15485]
48091 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48092 main case of finite arguments, set rounding mode to FE_TONEAREST
48093 and discard exceptions.
48094 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
48095 exceptions.
48096 (remainder_tonearest_test_data): New variable.
48097 (remainder_test_tonearest): New function.
48098 (remainder_towardzero_test_data): New variable.
48099 (remainder_test_towardzero): New function.
48100 (remainder_downward_test_data): New variable.
48101 (remainder_test_downward): New function.
48102 (remainder_upward_test_data): New variable.
48103 (remainder_test_upward): New function.
48104 (main): Call the new test functions.
48105
48106 * math/libm-test.inc (struct test_f_f1_data): Remove field
48107 extra_init.
48108 (struct test_fF_f1_data): Likewise.
48109 (struct test_ffI_f1_data): Likewise.
48110 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
48111 based on value of EXTRA_EXPECTED.
48112 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48113 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
48114 EXTRA_VAR based on value of EXTRA_EXPECTED.
48115 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48116 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
48117 EXTRA_VAR based on value of EXTRA_EXPECTED.
48118 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48119 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
48120 EXTRA_VAR based on value of EXTRA_EXPECTED.
48121 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48122 * math/gen-libm-test.pl (parse_args): Don't output initializers
48123 for extra output values.
48124
48125 * math/libm-test.inc (check_int): Expect result to be exactly
48126 equal to expected value and do not handle ulps.
48127 (check_long): Likewise.
48128 (check_longlong): Likewise.
48129
48130 * math/libm-test.inc (ceil_test_data): Test for "inexact"
48131 exceptions.
48132 (cimag_test_data): Likewise.
48133 (conj_test_data): Likewise.
48134 (copysign_test_data): Likewise.
48135 (cproj_test_data): Likewise.
48136 (creal_test_data): Likewise.
48137 (fabs_test_data): Likewise.
48138 (fdim_test_data): Likewise.
48139 (finite_test_data): Likewise.
48140 (floor_test_data): Likewise.
48141 (fmax_test_data): Likewise.
48142 (fmin_test_data): Likewise.
48143 (fmod_test_data): Likewise.
48144 (fpclassify_test_data): Likewise.
48145 (frexp_test_data): Likewise.
48146 (ilogb_test_data): Likewise.
48147 (isfinite_test_data): Likewise.
48148 (isgreater_test_data): Likewise.
48149 (isgreaterequal_test_data): Likewise.
48150 (isinf_test_data): Likewise.
48151 (isless_test_data): Likewise.
48152 (islessequal_test_data): Likewise.
48153 (islessgreater_test_data): Likewise.
48154 (isnan_test_data): Likewise.
48155 (isnormal_test_data): Likewise.
48156 (issignaling_test_data): Likewise.
48157 (isunordered_test_data): Likewise.
48158 (ldexp_test_data): Likewise.
48159 (lrint_test_data): Likewise.
48160 (lrint_test_data) [TEST_FLOAT]: Disable one test.
48161 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
48162 (lrint_tonearest_test_data): Test for "inexact" exceptions.
48163 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48164 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
48165 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48166 test input.
48167 (lrint_towardzero_test_data): Test for "inexact" exceptions.
48168 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48169 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
48170 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
48171 that test input.
48172 (lrint_downward_test_data): Test for "inexact" exceptions.
48173 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48174 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
48175 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48176 test input.
48177 (lrint_upward_test_data): Test for "inexact" exceptions.
48178 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
48179 test input.
48180 (llrint_test_data): Test for "inexact" exceptions.
48181 (llrint_test_data) [TEST_FLOAT]: Disable one test.
48182 (llrint_tonearest_test_data): Test for "inexact" exceptions.
48183 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48184 (llrint_towardzero_test_data): Test for "inexact" exceptions.
48185 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48186 (llrint_downward_test_data): Test for "inexact" exceptions.
48187 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48188 (llrint_upward_test_data): Test for "inexact" exceptions.
48189 (logb_test_data): Likewise.
48190 (logb_downward_test_data): Likewise.
48191 (nextafter_test_data): Likewise.
48192 (nexttoward_test_data): Likewise.
48193 (remainder_test_data): Likewise.
48194 (remquo_test_data): Likewise.
48195 (scalbn_test_data): Likewise.
48196 (scalbln_test_data): Likewise.
48197 (signbit_test_data): Likewise.
48198 (sqrt_test_data): Likewise.
48199 (significand_test_data): Likewise.
48200
48201 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
48202
48203 [BZ #15424]
48204 * benchtests/bench-modf.c (struct args): Mark arg0 as
48205 volatile.
48206 * scripts/bench.pl: Mark members of struct args as volatile.
48207
48208 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48209
48210 [BZ # 15497]
48211 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48212 negative infinity on POWER6 or lower.
48213 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48214
48215 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
48216
48217 [BZ #15442]
48218 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48219 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48220 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48221 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48222 (_FP_SETQNAN): New macro.
48223 (_FP_SETQNAN_SEMIRAW): Likewise.
48224 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48225 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48226 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48227 (FP_EXTEND): Use _FP_FRAC_SNANP.
48228 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48229 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48230 into account.
48231 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48232 New macro.
48233 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48234 Likewise.
48235
48236 2013-05-16 Joseph Myers <joseph@codesourcery.com>
48237
48238 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48239 with DIVIDE_BY_ZERO_EXCEPTION.
48240 (gamma_test_data): Likewise.
48241 (lgamma_test_data): Likewise.
48242 (log_test_data): Likewise.
48243 (log10_test_data): Likewise.
48244 (log2_test_data): Likewise.
48245 (tgamma_test_data): Likewise.
48246
48247 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48248 (acos_test_tonearest): Likewise.
48249 (acos_test_towardzero): Likewise.
48250 (acos_test_downward): Likewise.
48251 (acos_test_upward): Likewise.
48252 (acosh_test): Likewise.
48253 (asin_test): Likewise.
48254 (asin_test_tonearest): Likewise.
48255 (asin_test_towardzero): Likewise.
48256 (asin_test_downward): Likewise.
48257 (asin_test_upward): Likewise.
48258 (asinh_test): Likewise.
48259 (atan_test): Likewise.
48260 (atanh_test): Likewise.
48261 (atan2_test): Likewise.
48262 (cabs_test): Likewise.
48263 (cacos_test): Likewise.
48264 (cacosh_test): Likewise.
48265 (casin_test): Likewise.
48266 (casinh_test): Likewise.
48267 (catan_test): Likewise.
48268 (catanh_test): Likewise.
48269 (cbrt_test): Likewise.
48270 (ccos_test): Likewise.
48271 (ccosh_test): Likewise.
48272 (cexp_test): Likewise.
48273 (clog_test): Likewise.
48274 (clog10_test): Likewise.
48275 (cos_test): Likewise.
48276 (cos_test_tonearest): Likewise.
48277 (cos_test_towardzero): Likewise.
48278 (cos_test_downward): Likewise.
48279 (cos_test_upward): Likewise.
48280 (cosh_test): Likewise.
48281 (cosh_test_tonearest): Likewise.
48282 (cosh_test_towardzero): Likewise.
48283 (cosh_test_downward): Likewise.
48284 (cosh_test_upward): Likewise.
48285 (cpow_test): Likewise.
48286 (csin_test): Likewise.
48287 (csinh_test): Likewise.
48288 (csqrt_test): Likewise.
48289 (ctan_test): Likewise.
48290 (ctan_test_tonearest): Likewise.
48291 (ctan_test_towardzero): Likewise.
48292 (ctan_test_downward): Likewise.
48293 (ctan_test_upward): Likewise.
48294 (ctanh_test): Likewise.
48295 (ctanh_test_tonearest): Likewise.
48296 (ctanh_test_towardzero): Likewise.
48297 (ctanh_test_downward): Likewise.
48298 (ctanh_test_upward): Likewise.
48299 (erf_test): Likewise.
48300 (erfc_test): Likewise.
48301 (exp_test): Likewise.
48302 (exp_test_tonearest): Likewise.
48303 (exp_test_towardzero): Likewise.
48304 (exp_test_downward): Likewise.
48305 (exp_test_upward): Likewise.
48306 (exp10_test): Likewise.
48307 (exp2_test): Likewise.
48308 (expm1_test): Likewise.
48309 (fmod_test): Likewise.
48310 (gamma_test): Likewise.
48311 (hypot_test): Likewise.
48312 (j0_test): Likewise.
48313 (j1_test): Likewise.
48314 (jn_test): Likewise.
48315 (lgamma_test): Likewise.
48316 (log_test): Likewise.
48317 (log10_test): Likewise.
48318 (log1p_test): Likewise.
48319 (log2_test): Likewise.
48320 (logb_test_downward): Likewise.
48321 (pow_test): Likewise.
48322 (pow_test_tonearest): Likewise.
48323 (pow_test_towardzero): Likewise.
48324 (pow_test_downward): Likewise.
48325 (pow_test_upward): Likewise.
48326 (remainder_test): Likewise.
48327 (remquo_test): Likewise.
48328 (sin_test): Likewise.
48329 (sin_test_tonearest): Likewise.
48330 (sin_test_towardzero): Likewise.
48331 (sin_test_downward): Likewise.
48332 (sin_test_upward): Likewise.
48333 (sincos_test): Likewise.
48334 (sinh_test): Likewise.
48335 (sinh_test_tonearest): Likewise.
48336 (sinh_test_towardzero): Likewise.
48337 (sinh_test_downward): Likewise.
48338 (sinh_test_upward): Likewise.
48339 (sqrt_test): Likewise.
48340 (tan_test): Likewise.
48341 (tan_test_tonearest): Likewise.
48342 (tan_test_towardzero): Likewise.
48343 (tan_test_downward): Likewise.
48344 (tan_test_upward): Likewise.
48345 (tanh_test): Likewise.
48346 (tgamma_test): Likewise.
48347 (y0_test): Likewise.
48348 (y1_test): Likewise.
48349 (yn_test): Likewise.
48350
48351 * math/gen-libm-test.pl (adjust_arg): Remove function.
48352 (special_function): Remove argument $in_func. Only handle
48353 generating output for tables of tests, not inside functions.
48354 (parse_args): Likewise.
48355 (generate_testfile): Remove variable $in_func. Update call to
48356 parse_args.
48357 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
48358 (MINUS_ZERO_INIT): Rename macro to minus_zero.
48359 (PLUS_INFTY_INIT): Rename macro to plus_infty.
48360 (MINUS_INFTY_INIT): Rename macro to minus_infty.
48361 (QNAN_VALUE_INIT): Rename macro to qnan_value.
48362 (MAX_VALUE_INIT): Rename macro to max_value.
48363 (MIN_VALUE_INIT): Rename macro to min_value.
48364 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
48365 (plus_zero): Remove variable.
48366 (minus_zero): Likewise.
48367 (plus_infty): Likewise.
48368 (minus_infty): Likewise.
48369 (qnan_value): Likewise.
48370 (max_value): Likewise.
48371 (min_value): Likewise.
48372 (min_subnorm_value): Likewise.
48373
48374 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48375
48376 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
48377 uint64_t or uint32_t usage.
48378 * crypt/sha256-block.c: Likewise.
48379 * crypt/sha256-crypt.c: Likewise.
48380 * crypt/sha256.c: Likewise.
48381 * crypt/sha512-block.c: Likewise.
48382 * crypt/sha512-crypt.c: Likewise.
48383 * crypt/sha512.c: Likewise.
48384 * debug/backtrace-tst.c: Likewise.
48385 * debug/pcprofiledump.c: Likewise.
48386 * elf/cache.c: Likewise.
48387 * elf/dl-cache.c: Likewise.
48388 * elf/dl-misc.c: Likewise.
48389 * elf/dl-profile.c: Likewise.
48390 * elf/dl-support.c: Likewise.
48391 * elf/ldconfig.c: Likewise.
48392 * elf/sprof.c: Likewise.
48393 * iconv/dummy-repertoire.c: Likewise.
48394 * iconv/iconv_charmap.c: Likewise.
48395 * iconv/skeleton.c: Likewise.
48396 * iconvdata/8bit-generic.c: Likewise.
48397 * iconvdata/cp737.h: Likewise.
48398 * iconvdata/cp775.h: Likewise.
48399 * iconvdata/ibm1008.h: Likewise.
48400 * iconvdata/ibm1025.h: Likewise.
48401 * iconvdata/ibm1046.h: Likewise.
48402 * iconvdata/ibm1097.h: Likewise.
48403 * iconvdata/ibm1112.h: Likewise.
48404 * iconvdata/ibm1122.h: Likewise.
48405 * iconvdata/ibm1123.h: Likewise.
48406 * iconvdata/ibm1124.h: Likewise.
48407 * iconvdata/ibm1129.h: Likewise.
48408 * iconvdata/ibm1130.h: Likewise.
48409 * iconvdata/ibm1132.h: Likewise.
48410 * iconvdata/ibm1133.h: Likewise.
48411 * iconvdata/ibm1137.h: Likewise.
48412 * iconvdata/ibm1140.h: Likewise.
48413 * iconvdata/ibm1141.h: Likewise.
48414 * iconvdata/ibm1142.h: Likewise.
48415 * iconvdata/ibm1143.h: Likewise.
48416 * iconvdata/ibm1144.h: Likewise.
48417 * iconvdata/ibm1145.h: Likewise.
48418 * iconvdata/ibm1146.h: Likewise.
48419 * iconvdata/ibm1147.h: Likewise.
48420 * iconvdata/ibm1148.h: Likewise.
48421 * iconvdata/ibm1149.h: Likewise.
48422 * iconvdata/ibm1153.h: Likewise.
48423 * iconvdata/ibm1154.h: Likewise.
48424 * iconvdata/ibm1155.h: Likewise.
48425 * iconvdata/ibm1156.h: Likewise.
48426 * iconvdata/ibm1157.h: Likewise.
48427 * iconvdata/ibm1158.h: Likewise.
48428 * iconvdata/ibm1160.h: Likewise.
48429 * iconvdata/ibm1161.h: Likewise.
48430 * iconvdata/ibm1162.h: Likewise.
48431 * iconvdata/ibm1163.h: Likewise.
48432 * iconvdata/ibm1164.h: Likewise.
48433 * iconvdata/ibm1166.h: Likewise.
48434 * iconvdata/ibm1167.h: Likewise.
48435 * iconvdata/ibm12712.h: Likewise.
48436 * iconvdata/ibm1390.h: Likewise.
48437 * iconvdata/ibm1399.h: Likewise.
48438 * iconvdata/ibm16804.h: Likewise.
48439 * iconvdata/ibm4517.h: Likewise.
48440 * iconvdata/ibm4899.h: Likewise.
48441 * iconvdata/ibm4909.h: Likewise.
48442 * iconvdata/ibm4971.h: Likewise.
48443 * iconvdata/ibm5347.h: Likewise.
48444 * iconvdata/ibm803.h: Likewise.
48445 * iconvdata/ibm856.h: Likewise.
48446 * iconvdata/ibm901.h: Likewise.
48447 * iconvdata/ibm902.h: Likewise.
48448 * iconvdata/ibm9030.h: Likewise.
48449 * iconvdata/ibm9066.h: Likewise.
48450 * iconvdata/ibm921.h: Likewise.
48451 * iconvdata/ibm922.h: Likewise.
48452 * iconvdata/ibm9448.h: Likewise.
48453 * iconvdata/isiri-3342.h: Likewise.
48454 * iconvdata/jis0201.h: Likewise.
48455 * include/link.h: Likewise.
48456 * include/netdb.h: Likewise.
48457 * inet/check_native.c: Likewise.
48458 * inet/check_pf.c: Likewise.
48459 * inet/getipv4sourcefilter.c: Likewise.
48460 * inet/getnameinfo.c: Likewise.
48461 * inet/getsourcefilter.c: Likewise.
48462 * inet/htonl.c: Likewise.
48463 * inet/setipv4sourcefilter.c: Likewise.
48464 * inet/setsourcefilter.c: Likewise.
48465 * inet/test-inet6_opt.c: Likewise.
48466 * inet/tst-network.c: Likewise.
48467 * locale/C-collate.c: Likewise.
48468 * locale/C-ctype.c: Likewise.
48469 * locale/C-time.c: Likewise.
48470 * locale/C-translit.h: Likewise.
48471 * locale/loadarchive.c: Likewise.
48472 * locale/programs/3level.h: Likewise.
48473 * locale/programs/charmap.c: Likewise.
48474 * locale/programs/charmap.h: Likewise.
48475 * locale/programs/ld-address.c: Likewise.
48476 * locale/programs/ld-collate.c: Likewise.
48477 * locale/programs/ld-ctype.c: Likewise.
48478 * locale/programs/ld-identification.c: Likewise.
48479 * locale/programs/ld-measurement.c: Likewise.
48480 * locale/programs/ld-messages.c: Likewise.
48481 * locale/programs/ld-monetary.c: Likewise.
48482 * locale/programs/ld-name.c: Likewise.
48483 * locale/programs/ld-numeric.c: Likewise.
48484 * locale/programs/ld-paper.c: Likewise.
48485 * locale/programs/ld-telephone.c: Likewise.
48486 * locale/programs/ld-time.c: Likewise.
48487 * locale/programs/linereader.c: Likewise.
48488 * locale/programs/locale.c: Likewise.
48489 * locale/programs/locarchive.c: Likewise.
48490 * locale/programs/locfile.h: Likewise.
48491 * locale/programs/repertoire.c: Likewise.
48492 * locale/programs/simple-hash.c: Likewise.
48493 * locale/programs/simple-hash.h: Likewise.
48494 * malloc/memusage.c: Likewise.
48495 * malloc/memusagestat.c: Likewise.
48496 * nis/nis_defaults.c: Likewise.
48497 * nis/nis_hash.c: Likewise.
48498 * nis/nis_print.c: Likewise.
48499 * nis/nis_xdr.c: Likewise.
48500 * nscd/connections.c: Likewise.
48501 * nscd/hstcache.c: Likewise.
48502 * nscd/nscd_gethst_r.c: Likewise.
48503 * nscd/nscd_getserv_r.c: Likewise.
48504 * nscd/nscd_helper.c: Likewise.
48505 * nscd/servicescache.c: Likewise.
48506 * nss/makedb.c: Likewise.
48507 * nss/nss_db/db-XXX.c: Likewise.
48508 * nss/nss_db/db-initgroups.c: Likewise.
48509 * nss/nss_db/db-netgrp.c: Likewise.
48510 * nss/nss_files/files-network.c: Likewise.
48511 * nss/nss_files/files-parse.c: Likewise.
48512 * posix/bug-regex5.c: Likewise.
48513 * posix/fnmatch_loop.c: Likewise.
48514 * posix/regcomp.c: Likewise.
48515 * posix/regexec.c: Likewise.
48516 * posix/tst-rfc3484-2.c: Likewise.
48517 * posix/tst-rfc3484-3.c: Likewise.
48518 * posix/tst-rfc3484.c: Likewise.
48519 * resolv/nss_dns/dns-canon.c: Likewise.
48520 * resolv/nss_dns/dns-network.c: Likewise.
48521 * resolv/res_init.c: Likewise.
48522 * resolv/res_mkquery.c: Likewise.
48523 * resolv/tst-aton.c: Likewise.
48524 * stdlib/cxa_atexit.c: Likewise.
48525 * stdlib/cxa_finalize.c: Likewise.
48526 * stdlib/gen-fpioconst.c: Likewise.
48527 * stdlib/strtol_l.c: Likewise.
48528 * string/tst-endian.c: Likewise.
48529 * sunrpc/auth_des.c: Likewise.
48530 * sunrpc/clnt_udp.c: Likewise.
48531 * sunrpc/rtime.c: Likewise.
48532 * sunrpc/svcauth_des.c: Likewise.
48533 * sunrpc/xdr.c: Likewise.
48534 * sunrpc/xdr_intXX_t.c: Likewise.
48535 * sunrpc/xdr_rec.c: Likewise.
48536 * sysdeps/generic/ldconfig.h: Likewise.
48537 * sysdeps/generic/ldsodefs.h: Likewise.
48538 * sysdeps/generic/memusage.h: Likewise.
48539 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48540 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48541 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48542 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48543 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48544 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48545 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48546 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48547 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48548 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48549 * sysdeps/posix/getaddrinfo.c: Likewise.
48550 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48551 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48552 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48553 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48554 * sysdeps/powerpc/test-gettimebase.c: Likewise.
48555 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48556 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48557 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48558 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48559 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48560 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48561 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48562 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48563 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48564 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48565 * sysdeps/x86_64/dl-tls.h: Likewise.
48566 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48567 * time/alt_digit.c: Likewise.
48568 * time/era.c: Likewise.
48569 * wcsmbs/tst-c16c32-1.c: Likewise.
48570
48571 2013-05-16 Joseph Myers <joseph@codesourcery.com>
48572
48573 * math/libm-test.inc (struct test_sincos_data): New type.
48574 (RUN_TEST_LOOP_sincos): New macro.
48575 (sincos_test_data): New variable.
48576 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48577
48578 2013-05-16 Richard Henderson <rth@redhat.com>
48579
48580 * math/atest-exp2.c (LIMB64): New macro.
48581 (CONSTSZ): New macro.
48582 (mp_exp1, mp_exp_m1, mp_log2): New variables.
48583 (hexdig): Move ...
48584 (print_mpn_fp): ... to function scope.
48585 (read_mpn_hex): Remove.
48586 (get_log2): Remove.
48587 (exp2_mpn): Use mp_log2.
48588 (main): Use mp_exp1.
48589
48590 2013-05-16 Joseph Myers <joseph@codesourcery.com>
48591
48592 * math/libm-test.inc: Remove comment about not testing "inexact"
48593 exceptions.
48594 (INEXACT_EXCEPTION): New macro.
48595 (NO_INEXACT_EXCEPTION): Likewise.
48596 (INVALID_EXCEPTION_OK): Update value.
48597 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48598 (OVERFLOW_EXCEPTION_OK): Likewise.
48599 (UNDERFLOW_EXCEPTION_OK): Likewise.
48600 (IGNORE_ZERO_INF_SIGN): Likewise.
48601 (ERRNO_UNCHANGED): Likewise.
48602 (ERRNO_EDOM): Likewise.
48603 (ERRNO_ERANGE): Likewise.
48604 (test_exceptions): Handle testing "inexact" exceptions.
48605 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48606 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48607 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48608 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48609 INEXACT_EXCEPTION.
48610 (rint_towardzero_test_data): Likewise.
48611 (rint_downward_test_data): Likewise.
48612 (rint_upward_test_data): Likewise.
48613
48614 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48615 with OVERFLOW_EXCEPTION.
48616 (exp10_test_data): Likewise.
48617 (exp2_test_data): Likewise.
48618 (expm1_test_data): Likewise.
48619 (lgamma_test_data): Likewise.
48620 (pow_test_data): Likewise.
48621 (tgamma_test_data): Likewise.
48622 (yn_test_data): Remove duplicate test of overflow.
48623
48624 * math/libm-test.inc (struct test_cc_c_data): New type.
48625 (RUN_TEST_LOOP_cc_c): New macro.
48626 (cpow_test_data): New variable.
48627 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48628
48629 * math/libm-test.inc (struct test_f_L_data): New type.
48630 (RUN_TEST_LOOP_f_L): New macro.
48631 (llrint_test_data): New variable.
48632 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48633 (llrint_tonearest_test_data): New variable.
48634 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48635 (llrint_towardzero_test_data): New variable.
48636 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48637 (llrint_downward_test_data): New variable.
48638 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48639 (llrint_upward_test_data): New variable.
48640 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48641 (llround_test_data): New variable.
48642 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48643
48644 2013-05-13 Peter Collingbourne <pcc@google.com>
48645
48646 * math/atest-exp2.c (get_log2): Remove const attribute.
48647
48648 2013-05-15 Joseph Myers <joseph@codesourcery.com>
48649
48650 * math/libm-test.inc (struct test_f_l_data): New type.
48651 (RUN_TEST_LOOP_f_l): New macro.
48652 (lrint_test_data): New variable.
48653 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48654 (lrint_tonearest_test_data): New variable.
48655 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48656 (lrint_towardzero_test_data): New variable.
48657 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48658 (lrint_downward_test_data): New variable.
48659 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48660 (lrint_upward_test_data): New variable.
48661 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48662 (lround_test_data): New variable.
48663 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48664
48665 2013-05-15 Peter Collingbourne <pcc@google.com>
48666
48667 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48668 (EXTRACT_WORDS64) Use where appropriate.
48669 (INSERT_WORDS64) Likewise.
48670
48671 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48672 constraints with x constraints.
48673 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48674
48675 * malloc/obstack.c (_obstack_compat): Add initializer.
48676
48677 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
48678
48679 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48680 si_trapno and add si_addr_lsb to _sifields.sigfault.
48681 (si_trapno): Remove macro.
48682 (si_addr_lsb): Define new macro.
48683 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48684
48685 2013-05-15 Joseph Myers <joseph@codesourcery.com>
48686
48687 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48688 instead of TEST_f_l.
48689 (llrint_test_tonearest): Likewise.
48690 (llrint_test_towardzero): Likewise.
48691 (llrint_test_downward): Likewise.
48692 (llrint_test_upward): Likewise.
48693 (llround_test): Likewise.
48694
48695 * math/libm-test.inc (struct test_f_i_data): Add comment.
48696 (RUN_TEST_LOOP_f_b): New macro.
48697 (RUN_TEST_LOOP_f_b_tg): Likewise.
48698 (finite_test_data): New variable.
48699 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48700 (isfinite_test_data): New variable.
48701 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48702 (isinf_test_data): New variable.
48703 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48704 (isnan_test_data): New variable.
48705 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48706 (isnormal_test_data): New variable.
48707 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48708 (issignaling_test_data): New variable.
48709 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48710 (signbit_test_data): New variable.
48711 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48712
48713 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48714 with INVALID_EXCEPTION.
48715 (acosh_test_data): Likewise.
48716 (asin_test_data): Likewise.
48717 (atanh_test_data): Likewise.
48718 (fmod_test_data): Likewise.
48719 (log_test_data): Likewise.
48720 (log10_test_data): Likewise.
48721 (log2_test_data): Likewise.
48722 (pow_test_data): Likewise.
48723 (sqrt_test_data): Likewise.
48724 (y0_test_data): Likewise.
48725 (y1_test_data): Likewise.
48726 (yn_test_data): Likewise.
48727
48728 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48729 function contents.
48730
48731 * math/libm-test.inc (struct test_ff_i_data): New type.
48732 (RUN_TEST_LOOP_ff_i_tg): New macro.
48733 (isgreater_test_data): New variable.
48734 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48735 (isgreaterequal_test_data): New variable.
48736 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48737 (isless_test_data): New variable.
48738 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48739 (islessequal_test_data): New variable.
48740 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48741 (islessgreater_test_data): New variable.
48742 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48743 (isunordered_test_data): New variable.
48744 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48745
48746 2013-05-14 David S. Miller <davem@davemloft.net>
48747
48748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48749
48750 2013-05-14 Joseph Myers <joseph@codesourcery.com>
48751
48752 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48753
48754 * math/libm-test.inc (struct test_fF_f1_data): Change type of
48755 extra_test to int.
48756 (struct test_f_i_data): Change type of max_ulp to int.
48757
48758 * math/libm-test.inc (test_ffI_f1_data): New type.
48759 (RUN_TEST_LOOP_ffI_f1): New macro.
48760 (remquo_test_data): New variable.
48761 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48762
48763 * setjmp/tst-setjmp-fp.c: New file.
48764 * setjmp/Makefile (tests): Add tst-setjmp-fp.
48765 (link-libm): New variable.
48766 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48767
48768 * math/libm-test.inc (struct test_f_i_data): New type.
48769 (RUN_TEST_LOOP_f_i): New macro.
48770 (RUN_TEST_LOOP_f_i_tg): Likewise.
48771 (fpclassify_test_data): New variable.
48772 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48773 (ilogb_test_data): New variable.
48774 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48775
48776 * math/libm-test.inc (scalbln_test): Correct function name in END
48777 call.
48778
48779 * math/libm-test.inc (struct test_f_f1_data): Add comment.
48780 (RUN_TEST_LOOP_fI_f1): New macro.
48781 (frexp_test_data): New variable.
48782 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48783
48784 * math/libm-test.inc (struct test_fF_f1_data): New type.
48785 (RUN_TEST_LOOP_fF_f1): New macro.
48786 (modf_test_data): New variable.
48787 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48788
48789 * math/libm-test.inc (struct test_f_f1_data): New type.
48790 (RUN_TEST_LOOP_f_f1): New macro.
48791 (gamma_test_data): New variable.
48792 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48793 (lgamma_test_data): New variable.
48794 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48795
48796 2013-05-13 Carlos O'Donell <carlos@redhat.com>
48797
48798 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48799 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48800 (main): Comment "tls" pseudo-hwcap.
48801
48802 2013-05-13 Joseph Myers <joseph@codesourcery.com>
48803
48804 * math/libm-test.inc (struct test_fl_f_data): New type.
48805 (RUN_TEST_LOOP_fl_f): New variable.
48806 (scalbln_test_data): New variable.
48807 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48808
48809 * math/libm-test.inc (struct test_fi_f_data): New type.
48810 (RUN_TEST_LOOP_fi_f): New macro.
48811 (ldexp_test_data): New variable.
48812 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48813 (scalbn_test_data): New variable.
48814 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48815
48816 * math/libm-test.inc (struct test_c_f_data): New type.
48817 (RUN_TEST_LOOP_c_f): New macro.
48818 (cabs_test_data): New variable.
48819 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48820 (carg_test_data): New variable.
48821 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48822 (cimag_test_data): New variable.
48823 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48824 (creal_test_data): New variable.
48825 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48826
48827 * math/libm-test.inc (struct test_if_f_data): New type.
48828 (RUN_TEST_LOOP_if_f): New macro.
48829 (jn_test_data): New variable.
48830 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48831 (yn_test_data): New variable.
48832 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48833
48834 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48835
48836 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48837
48838 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48839 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48840
48841 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
48842
48843 * benchtests/Makefile (CPPFLAGS-nonlib): Add
48844 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48845 (bench-deps): Add bench-timing.h.
48846 * benchtests-bench-skeleton.c: Include bench-timing.h.
48847 (main): Use TIMING_* macros instead of clock_gettime.
48848 * benchtests/bench-timing.h: New file.
48849
48850 [BZ #14582]
48851 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48852 Renamed from _LIB_VERSION.
48853 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48854
48855 2013-05-12 Joseph Myers <joseph@codesourcery.com>
48856
48857 * math/libm-test.inc (struct test_fff_f_data): New type.
48858 (RUN_TEST_LOOP_fff_f): New macro.
48859 (fma_test_data): New variable.
48860 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48861 (fma_towardzero_test_data): New variable.
48862 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48863 (fma_downward_test_data): New variable.
48864 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48865 (fma_upward_test_data): New variable.
48866 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48867
48868 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48869 (struct test_c_c_data): New type.
48870 (RUN_TEST_LOOP_c_c): New macro.
48871 (cacos_test_data): New variable.
48872 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48873 (cacosh_test_data): New variable.
48874 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48875 (casin_test_data): New variable.
48876 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48877 (casinh_test_data): New variable.
48878 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48879 (catan_test_data): New variable.
48880 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48881 (catanh_test_data): New variable.
48882 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48883 (ccos_test_data): New variable.
48884 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48885 (ccosh_test_data): New variable.
48886 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48887 (cexp_test_data): New variable.
48888 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48889 (clog_test_data): New variable.
48890 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48891 (clog10_test_data): New variable.
48892 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48893 (conj_test_data): New variable.
48894 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48895 (cproj_test_data): New variable.
48896 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48897 (csin_test_data): New variable.
48898 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48899 (csinh_test_data): New variable.
48900 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48901 (csqrt_test_data): New variable.
48902 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48903 (ctan_test_data): New variable.
48904 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48905 (ctan_tonearest_test_data): New variable.
48906 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48907 (ctan_towardzero_test_data): New variable.
48908 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48909 (ctan_downward_test_data): New variable.
48910 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48911 (ctan_upward_test_data): New variable.
48912 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48913 (ctanh_test_data): New variable.
48914 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48915 (ctanh_tonearest_test_data): New variable.
48916 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48917 (ctanh_towardzero_test_data): New variable.
48918 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48919 (ctanh_downward_test_data): New variable.
48920 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48921 (ctanh_upward_test_data): New variable.
48922 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48923 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48924 of BUILD_COMPLEX.
48925
48926 * math/libm-test.inc (struct test_ff_f_data): New type.
48927 (struct test_ff_f_data_nexttoward): Likewise.
48928 (RUN_TEST_LOOP_2_f): New macro.
48929 (RUN_TEST_LOOP_ff_f): Likewise.
48930 (atan2_test_data): New variable.
48931 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48932 (copysign_test_data): New variable.
48933 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48934 (fdim_test_data): New variable.
48935 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48936 (fmax_test_data): New variable.
48937 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48938 (fmin_test_data): New variable.
48939 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48940 (fmod_test_data): New variable.
48941 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48942 (hypot_test_data): New variable.
48943 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48944 (nextafter_test_data): New variable.
48945 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48946 (nexttoward_test_data): New variable.
48947 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48948 (pow_test_data): New variable.
48949 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48950 (pow_tonearest_test_data): New variable.
48951 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48952 (pow_towardzero_test_data): New variable.
48953 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48954 (pow_downward_test_data): New variable.
48955 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48956 (pow_upward_test_data): New variable.
48957 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48958 (remainder_test_data): New variable.
48959 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48960 (scalb_test_data): New variable.
48961 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48962 * sysdeps/i386/fpu/libm-test-ulps: Update.
48963
48964 2013-05-11 Joseph Myers <joseph@codesourcery.com>
48965
48966 * math/libm-test.inc (fma_test): Use max_value instead of local
48967 variable fltmax.
48968 (nextafter_test): Likewise.
48969
48970 * math/libm-test.inc (acos_towardzero_test_data): New variable.
48971 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48972 (acos_downward_test_data): New variable.
48973 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48974 (acos_upward_test_data): New variable.
48975 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48976 (acosh_test_data): New variable.
48977 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48978 (asin_test_data): New variable.
48979 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48980 (asin_tonearest_test_data): New variable.
48981 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48982 (asin_towardzero_test_data): New variable.
48983 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48984 (asin_downward_test_data): New variable.
48985 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48986 (asin_upward_test_data): New variable.
48987 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48988 (asinh_test_data): New variable.
48989 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48990 (atan_test_data): New variable.
48991 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48992 (atanh_test_data): New variable.
48993 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48994 (cbrt_test_data): New variable.
48995 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48996 (ceil_test_data): New variable.
48997 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48998 (cos_test_data): New variable.
48999 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
49000 (cos_tonearest_test_data): New variable.
49001 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49002 (cos_towardzero_test_data): New variable.
49003 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49004 (cos_downward_test_data): New variable.
49005 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49006 (cos_upward_test_data): New variable.
49007 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49008 (cosh_test_data): New variable.
49009 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
49010 (cosh_tonearest_test_data): New variable.
49011 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49012 (cosh_towardzero_test_data): New variable.
49013 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49014 (cosh_downward_test_data): New variable.
49015 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49016 (cosh_upward_test_data): New variable.
49017 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49018 (erf_test_data): New variable.
49019 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
49020 (erfc_test_data): New variable.
49021 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
49022 (exp_test_data): New variable.
49023 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
49024 (exp_tonearest_test_data): New variable.
49025 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49026 (exp_towardzero_test_data): New variable.
49027 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49028 (exp_downward_test_data): New variable.
49029 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49030 (exp_upward_test_data): New variable.
49031 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49032 (exp10_test_data): New variable.
49033 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
49034 (exp2_test_data): New variable.
49035 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
49036 (expm1_test_data): New variable.
49037 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
49038 (fabs_test_data): New variable.
49039 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
49040 (floor_test_data): New variable.
49041 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
49042 (j0_test_data): New variable.
49043 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
49044 (j1_test_data): New variable.
49045 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
49046 (log_test_data): New variable.
49047 (log_test): Run tests with RUN_TEST_LOOP_f_f.
49048 (log10_test_data): New variable.
49049 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
49050 (log1p_test_data): New variable.
49051 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
49052 (log2_test_data): New variable.
49053 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
49054 (logb_test_data): New variable.
49055 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
49056 (logb_downward_test_data): New variable.
49057 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49058 (nearbyint_test_data): New variable.
49059 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
49060 (rint_test_data): New variable.
49061 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
49062 (rint_tonearest_test_data): New variable.
49063 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49064 (rint_towardzero_test_data): New variable.
49065 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49066 (rint_downward_test_data): New variable.
49067 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49068 (rint_upward_test_data): New variable.
49069 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49070 (round_test_data): New variable.
49071 (round_test): Run tests with RUN_TEST_LOOP_f_f.
49072 (sin_test_data): New variable.
49073 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
49074 (sin_tonearest_test_data): New variable.
49075 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49076 (sin_towardzero_test_data): New variable.
49077 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49078 (sin_downward_test_data): New variable.
49079 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49080 (sin_upward_test_data): New variable.
49081 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49082 (sinh_test_data): New variable.
49083 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49084 (sinh_tonearest_test_data): New variable.
49085 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49086 (sinh_towardzero_test_data): New variable.
49087 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49088 (sinh_downward_test_data): New variable.
49089 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49090 (sinh_upward_test_data): New variable.
49091 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49092 (sqrt_test_data): New variable.
49093 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
49094 (tan_test_data): New variable.
49095 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
49096 (tan_tonearest_test_data): New variable.
49097 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49098 (tan_towardzero_test_data): New variable.
49099 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49100 (tan_downward_test_data): New variable.
49101 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49102 (tan_upward_test_data): New variable.
49103 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49104 (tanh_test_data): New variable.
49105 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
49106 (tgamma_test_data): New variable.
49107 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
49108 (trunc_test_data): New variable.
49109 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
49110 (y0_test_data): New variable.
49111 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
49112 (y1_test_data): New variable.
49113 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
49114 (significand_test_data): New variable.
49115 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
49116
49117 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
49118
49119 [BZ #12387]
49120 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
49121
49122 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
49123
49124 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
49125
49126 2013-05-10 Andreas Jaeger <aj@suse.de>
49127
49128 [BZ #15448]
49129 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
49130 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
49131
49132 2013-05-10 Joseph Myers <joseph@codesourcery.com>
49133
49134 * math/gen-libm-test.pl (adjust_arg): New function.
49135 (special_functions): Handle generating output in both functions
49136 and arrays.
49137 (parse_args): Likewise.
49138 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
49139 $in_func argument to parse_args.
49140 * math/libm-test.inc (struct test_f_f_data): New type.
49141 (IF_ROUND_INIT_): New macro.
49142 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
49143 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49144 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49145 (IF_ROUND_INIT_FE_UPWARD): Likewise.
49146 (ROUND_RESTORE_): Likewise.
49147 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
49148 (ROUND_RESTORE_FE_TONEAREST): Likewise.
49149 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
49150 (ROUND_RESTORE_FE_UPWARD): Likewise.
49151 (RUN_TEST_LOOP_f_f): New macro.
49152 (acos_test_data): New variable.
49153 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
49154 (acos_tonearest_test_data): New variable.
49155 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49156
49157 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49158
49159 * benchtests/bench-skeleton.c (startup): Fix coding style.
49160
49161 2013-05-10 Joseph Myers <joseph@codesourcery.com>
49162
49163 [BZ #6809]
49164 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
49165 negative infinity argument.
49166 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
49167 negative infinity argument.
49168 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
49169 negative infinity argument.
49170 * math/libm-test.inc (tgamma_test): Expect errno to be set for
49171 domain errors.
49172
49173 2013-05-10 Florian Weimer <fweimer@redhat.com>
49174
49175 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
49176 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
49177 * iconv/iconv_prog.c (main): Likewise.
49178 * locale/programs/charmap-dir.c (charmap_readdir)
49179 (fopen_uncompressed): Likewise.
49180 * locale/programs/locfile.c (siblings_uncached)
49181 (write_locale_data): Use lstat64 instead of lstat.
49182 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
49183 stat.
49184
49185 2013-05-10 Andreas Jaeger <aj@suse.de>
49186
49187 [BZ #15395]
49188 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
49189 localization.
49190 Include <locale.h>.
49191
49192 2013-05-09 Carlos O'Donell <carlos@redhat.com>
49193
49194 * elf/dl-close.c (_dl_close_worker): Add comments.
49195
49196 2013-05-09 Joseph Myers <joseph@codesourcery.com>
49197
49198 [BZ #15359]
49199 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
49200 high part of pi/2.
49201 (__ieee754_rem_pio2l): Update comments.
49202
49203 [BZ #15429]
49204 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49205 high part of pi/2.
49206 (__ieee754_rem_pio2l): Update comments.
49207
49208 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49209 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49210
49211 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49212 M_PI_4l.
49213
49214 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49215 (M_PI_34_LOG10El): Likewise.
49216 (M_PI2_LOG10El): Likewise.
49217 (M_PI4_LOG10El): Likewise.
49218 (M_PI_LOG10El): Likewise.
49219
49220 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49221
49222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49223
49224 2013-05-08 Joseph Myers <joseph@codesourcery.com>
49225
49226 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49227 (MINUS_ZERO_INIT): Likewise.
49228 (PLUS_INFTY_INIT): Likewise.
49229 (MINUS_INFTY_INIT): Likewise.
49230 (QNAN_VALUE_INIT): Likewise.
49231 (MAX_VALUE_INIT): Likewise.
49232 (MIN_VALUE_INIT): Likewise.
49233 (MIN_SUBNORM_VALUE_INIT): Likewise.
49234 (plus_zero): Initialize with PLUS_ZERO_INIT.
49235 (minus_zero): Initialize with MINUS_ZERO_INIT.
49236 (plus_infty): Initialize with PLUS_INFTY_INIT.
49237 (minus_infty): Initialize with MINUS_INFTY_INIT.
49238 (qnan_value): Initialize with QNAN_VALUE_INIT.
49239 (max_value): Initialize with MAX_VALUE_INIT.
49240 (min_value): Initialize with MIN_VALUE_INIT.
49241 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49242
49243 * math/libm-test.inc (RUN_TEST_if_f): New macro.
49244 (jn_test): Use TEST_if_f instead of TEST_ff_f.
49245 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49246 (yn_test): Use TEST_if_f instead of TEST_ff_f.
49247
49248 * math/libm-test.inc (RUN_TEST_f_f): New macro.
49249 (RUN_TEST_2_f): Likewise.
49250 (RUN_TEST_ff_f): Likewise.
49251 (RUN_TEST_fi_f): Likewise.
49252 (RUN_TEST_fl_f): Likewise.
49253 (RUN_TEST_fff_f): Likewise.
49254 (RUN_TEST_c_f): Likewise.
49255 (RUN_TEST_f_f1): Likewise.
49256 (RUN_TEST_fF_f1): Likewise.
49257 (RUN_TEST_fI_f1): Likewise.
49258 (RUN_TEST_ffI_f1): Likewise.
49259 (RUN_TEST_c_c): Likewise.
49260 (RUN_TEST_cc_c): Likewise.
49261 (RUN_TEST_f_i): Likewise.
49262 (RUN_TEST_f_i_tg): Likewise.
49263 (RUN_TEST_ff_i_tg): Likewise.
49264 (RUN_TEST_f_b): Likewise.
49265 (RUN_TEST_f_b_tg): Likewise.
49266 (RUN_TEST_f_l): Likewise.
49267 (RUN_TEST_f_L): Likewise.
49268 (RUN_TEST_sincos): Likewise.
49269 * math/gen-libm-test.pl (new_test): Take new argument to indicate
49270 whether to show exceptions. Do not include ");\n" in return
49271 value.
49272 (special_functions): Output call to RUN_TEST_sincos instead of
49273 check_float calls. Update calls to new_test.
49274 (parse_args): Output call to single RUN_TEST_* macro instead of
49275 check_* calls and other assignments. Update calls to new_test.
49276
49277 [BZ #2546]
49278 [BZ #2560]
49279 [BZ #5159]
49280 [BZ #15426]
49281 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49282 input to result for tgamma overflow.
49283 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49284 (gamma_coeff): New variable.
49285 (NCOEFF): New macro.
49286 (gamma_positive): New function.
49287 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49288 underflow here. Use gamma_positive instead of exp (lgamma) for
49289 other arguments.
49290 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49291 (gamma_coeff): New variable.
49292 (NCOEFF): New macro.
49293 (gammaf_positive): New function.
49294 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49295 underflow here. Use gamma_positive instead of exp (lgamma) for
49296 other arguments.
49297 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49298 (gamma_coeff): New variable.
49299 (NCOEFF): New macro.
49300 (gammal_positive): New function.
49301 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49302 underflow here. Use gamma_positive instead of exp (lgamma) for
49303 other arguments.
49304 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49305 (gamma_coeff): New variable.
49306 (NCOEFF): New macro.
49307 (gammal_positive): New function.
49308 (__ieee754_gammal_r): Handle positive infinity, overflow and
49309 underflow here. Handle NaN the same as positive infinity. Remove
49310 check x < 0xffffffff for negative integers. Use gamma_positive
49311 instead of exp (lgamma) for other arguments.
49312 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49313 (gamma_coeff): New variable.
49314 (NCOEFF): New macro.
49315 (gammal_positive): New function.
49316 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49317 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49318 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49319 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49320 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49321 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49322 * sysdeps/generic/math_private.h (__gamma_productf): New
49323 prototype.
49324 (__gamma_product): Likewise.
49325 (__gamma_productl): Likewise.
49326 * math/Makefile (libm-calls): Add gamma_product.
49327 * math/libm-test.inc (tgamma_test): Add more tests.
49328 * sysdeps/i386/fpu/libm-test-ulps: Update.
49329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49330
49331 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
49332
49333 * benchtests/bench-skeleton.c (main): Preheat CPU.
49334
49335 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
49336
49337 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49338
49339 2013-05-07 Roland McGrath <roland@hack.frob.com>
49340
49341 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49342 and _dl_skip_args_internal.
49343
49344 2013-05-07 Carlos O'Donell <carlos@redhat.com>
49345
49346 * manual/message.texi (Message Translation): Talk about users.
49347 Message to key mapping impacts design.
49348
49349 2013-05-06 Roland McGrath <roland@hack.frob.com>
49350
49351 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49352
49353 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49354
49355 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49356 * sysdeps/wordsize-64/glob64.c: ... here.
49357
49358 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
49359 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
49360 New macros.
49361
49362 * debug/getlogin_r_chk.c: Moved to ...
49363 * login/getlogin_r_chk.c: ... here.
49364 * debug/Makefile (routines): Move getlogin_r_chk to ...
49365 * login/Makefile (routines): ... here.
49366 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
49367 * login/Versions (libc: GLIBC_2.4): ... here.
49368
49369 * io/poll.c (__poll): Renamed from poll.
49370 Add libc_hidden_def.
49371 (poll): Define as weak alias.
49372
49373 * debug/ptsname_r_chk.c: Moved to ...
49374 * login/ptsname_r_chk.c: ... here.
49375 * debug/Makefile (routines): Move ptsname_r_chk to ...
49376 * login/Makefile (routines): ... here.
49377 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
49378 * login/Versions (libc: GLIBC_2.4): ... here.
49379
49380 * posix/getlogin.c: Moved to ...
49381 * login/getlogin.c: ... here.
49382 * posix/getlogin_r.c: Moved to ...
49383 * login/getlogin_r.c: ... here.
49384 * posix/getlogin_r.c: Moved to ...
49385 * login/getlogin_r.c: ... here.
49386 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
49387 * login/Makefile (routines): ... here.
49388 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
49389 * login/Versions (libc: GLIBC_2.0): ... here.
49390
49391 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
49392 (setrlimit): Define as weak alias.
49393
49394 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
49395 Call __ names for open, ftruncate, and close.
49396 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
49397 (truncate): Define as weak alias.
49398
49399 2013-05-06 Joseph Myers <joseph@codesourcery.com>
49400
49401 * math/gen-libm-test.pl (parse_args): Initialize x before each
49402 test of frexp, modf and remquo.
49403
49404 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
49405 test signgam value.
49406
49407 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49408
49409 [BZ #15418]
49410 [BZ #15419]
49411 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
49412 internal tests.
49413 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49414
49415 2013-05-06 Roland McGrath <roland@hack.frob.com>
49416
49417 * elf/dl-writev.h: New file.
49418 * elf/dl-misc.c: Include it.
49419 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
49420 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
49421
49422 2013-05-04 Joseph Myers <joseph@codesourcery.com>
49423
49424 * math/libm-test.inc (noXFails): Remove variable.
49425 (noXPasses): Likewise.
49426 (BUILD_COMPLEX_INT): Remove macro.
49427 (print_screen): Remove xfail argument.
49428 (print_screen_max_error): Likewise.
49429 (update_stats): Likewise.
49430 (print_max_error): Likewise. Update calls to other affected
49431 functions.
49432 (print_complex_max_error): Likewise.
49433 (test_single_exception): Update calls to print_screen.
49434 (test_single_errno): Likewise.
49435 (check_float_internal): Remove xfail argument. Update calls to
49436 other affected functions.
49437 (check_float): Likewise.
49438 (check_complex): Likewise.
49439 (check_int): Likewise.
49440 (check_long): Likewise.
49441 (check_bool): Likewise.
49442 (check_longlong): Likewise.
49443 (main): Don't print noXFails and noXPasses.
49444 * math/gen-libm-test.pl (top level): Don't mention expected
49445 failure handling in comment.
49446 (new_test): Don't handle expected failures.
49447 (parse_args): Don't mention expected failure handling in comment.
49448 (generate_testfile): Don't handle expected failures.
49449 (parse_ulps): Likewise.
49450 (print_ulps_file): Likewise.
49451 (get_failure): Remove function.
49452 (output_test): Don't handle expected failures.
49453 * make/README.libm-test: Don't mention expected failure handling.
49454
49455 * math/libm-test.inc (plus_zero): Make const. Add initializer.
49456 (minus_zero): Likewise.
49457 (plus_infty): Likewise.
49458 (minus_infty): Likewise.
49459 (qnan_value): Likewise.
49460 (max_value): Likewise.
49461 (min_value): Likewise.
49462 (min_subnorm_value): Likewise.
49463 (initialize): Do not initialize those variables dynamically.
49464
49465 2013-05-03 Roland McGrath <roland@hack.frob.com>
49466
49467 * io/open.c (__open_2): Moved to ...
49468 * io/open_2.c: ... this new file.
49469 * io/open64.c (__open64_2): Moved to ...
49470 * io/open64_2.c: ... this new file.
49471 * io/openat.c (__openat_2): Moved to ...
49472 * io/openat_2.c: ... this new file.
49473 * io/openat64.c (__openat64_2): Moved to ...
49474 * io/openat64_2.c: ... this new file.
49475 * io/Makefile (routines): Add them.
49476 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49477 * sysdeps/unix/sysv/linux/open_2.c: File removed.
49478 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49479 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49480 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49481 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49482 (__openat64): Add hidden_ver.
49483 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49484 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49485
49486 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49487 Separately conditionalize setting of GLRO(dl_sysinfo) so
49488 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49489 as well, but the actual setting is only under [NEED_DL_SYSINFO].
49490
49491 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49492
49493 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49494 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49495 definition.
49496 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49497 * sysdeps/unix/sysv/linux/powerpc/init-first.c
49498 (_libc_vdso_platform_setup): Add __vdso_time initialization.
49499 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49500 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49501
49502 2013-05-03 Joseph Myers <joseph@codesourcery.com>
49503
49504 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49505 test signgam value.
49506
49507 * math/libm-test.inc (hypot_test): Do not use
49508 IGNORE_ZERO_INF_SIGN.
49509
49510 2013-05-03 Andreas Jaeger <aj@suse.de>
49511
49512 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49513 Linux 3.9.
49514 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49515 (PF_MAX): Adjust for VSOCK change.
49516
49517 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49518
49519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49520
49521 2013-05-02 Carlos O'Donell <carlos@redhat.com>
49522
49523 [BZ #15264]
49524 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49525 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49526 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49527
49528 2013-05-02 David S. Miller <davem@davemloft.net>
49529
49530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49531
49532 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
49533
49534 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49535
49536 2013-05-01 Roland McGrath <roland@hack.frob.com>
49537
49538 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49539
49540 2013-05-01 Richard Smith <richard@metafoo.co.uk>
49541
49542 [BZ #14952]
49543 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49544 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49545 Use __attribute__ ((__gnu_inline__)).
49546 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49547 Don't use __attribute__ ((__gnu_inline__)).
49548
49549 2013-05-01 Joseph Myers <joseph@codesourcery.com>
49550
49551 [BZ #15423]
49552 * math/s_catan.c (__catan): Handle small real or imaginary part of
49553 input specially to avoid spurious underflow.
49554 * math/s_catanf.c (__catanf): Likewise.
49555 * math/s_catanh.c (__catanh): Likewise.
49556 * math/s_catanhf.c (__catanhf): Likewise.
49557 * math/s_catanhl.c (__catanhl): Likewise.
49558 * math/s_catanl.c (__catanl): Likewise.
49559 * math/libm-test.inc (catan_test): Add more tests.
49560 (catanh_test): Likewise.
49561 * sysdeps/i386/fpu/libm-test-ulps: Update.
49562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49563
49564 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49565
49566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49567
49568 2013-04-30 Joseph Myers <joseph@codesourcery.com>
49569
49570 [BZ #15416]
49571 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49572 accurately for denominator in atan2.
49573 * math/s_catanf.c (__catanf): Likewise.
49574 * math/s_catanh.c (__catanh): Likewise.
49575 * math/s_catanhf.c (__catanhf): Likewise.
49576 * math/s_catanhl.c (__catanhl): Likewise.
49577 * math/s_catanl.c (__catanl): Likewise.
49578 * math/libm-test.inc (catan_test): Add more tests.
49579 (catanh_test): Likewise.
49580 * sysdeps/i386/fpu/libm-test-ulps: Update.
49581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49582
49583 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49584
49585 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49586
49587 * benchtests/Makefile (bench): Remove slow benchmarks.
49588 * benchtests/atan-inputs: Add slow benchmark inputs.
49589 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49590 (BENCH_FUNC): Accept variant offset.
49591 (VARIANT): Define.
49592 * benchtests/bench-skeleton.c (main): Run benchmark for each
49593 variant.
49594 * benchtests/cos-inputs: Add slow benchmark inputs.
49595 * benchtests/exp-inputs: Likewise.
49596 * benchtests/pow-inputs: Likewise.
49597 * benchtests/sin-inputs: Likewise.
49598 * benchtests/slowatan-inputs: Remove.
49599 * benchtests/slowatan.c: Remove.
49600 * benchtests/slowcos-inputs: Remove.
49601 * benchtests/slowcos.c: Remove.
49602 * benchtests/slowexp-inputs: Remove.
49603 * benchtests/slowexp.c: Remove.
49604 * benchtests/slowpow-inputs: Remove.
49605 * benchtests/slowpow.c: Remove.
49606 * benchtests/slowsin-inputs: Remove.
49607 * benchtests/slowsin.c: Remove.
49608 * benchtests/slowtan-inputs: Remove.
49609 * benchtests/slowtan.c: Remove.
49610 * benchtests/tan-inputs: Add slow benchmark inputs.
49611 * scripts/bench.pl: Parse comments and directives.
49612
49613 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
49614 in CPPFLAGS.
49615 ($(objpfx)bench-%.c): Remove *-ITER.
49616 * benchtests/bench-modf.c: Remove definition of ITER.
49617 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49618 (main): Loop for DURATION seconds instead of fixed number of
49619 iterations.
49620 * scripts/bench.pl: Don't expect iterations in parameters.
49621
49622 2013-04-29 Roland McGrath <roland@hack.frob.com>
49623
49624 * io/fchdir.c (__fchdir): Renamed from fchdir.
49625 (fchdir): Define as weak alias.
49626
49627 2013-04-29 Joseph Myers <joseph@codesourcery.com>
49628
49629 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49630 (ERRNO_EDOM): Likewise.
49631 (ERRNO_ERANGE): Likewise.
49632 (noErrnoTests): New variable.
49633 (init_max_error): Set errno to 0.
49634 (test_single_errno): New function.
49635 (test_errno): Likewise.
49636 (check_float_internal): Call test_errno. Set errno to 0.
49637 (check_complex): Refer to errno tests in comment.
49638 (check_int): Call test_errno. Set errno to 0.
49639 (check_long): Likewise.
49640 (check_bool): Likewise.
49641 (check_longlong): Likewise.
49642 (cos_test): Use ERRNO_* flags for errno tests instead of
49643 check_int.
49644 (expm1_test): Likewise.
49645 (fmod_test): Likewise.
49646 (ilogb_test): Likewise.
49647 (lgamma_test): Likewise.
49648 (pow_test): Likewise.
49649 (remainder_test): Likewise.
49650 (sin_test): Likewise.
49651 (tan_test): Likewise.
49652 (yn_test): Likewise.
49653 (initialize): Set errno to 0.
49654 (main): Print number of errno tests.
49655 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49656
49657 2013-04-29 Andreas Jaeger <aj@suse.de>
49658
49659 [BZ #15084]
49660 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49661 and RES_USEVC.
49662
49663 [BZ #15085]
49664 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49665 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49666 unimplemented.
49667
49668 [BZ #15380]
49669 * stdlib/random.c (__initstate): Return NULL if
49670 __initstate fails.
49671
49672 [BZ #15086]
49673 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49674 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49675 RES_SNGLKUPREOP.
49676
49677 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49678
49679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49680
49681 2013-04-29 Joseph Myers <joseph@codesourcery.com>
49682
49683 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49684 of individual tests.
49685 (casin_test): Likewise.
49686 (casinh_test): Likewise.
49687
49688 2013-04-27 Joseph Myers <joseph@codesourcery.com>
49689
49690 [BZ #15409]
49691 * math/s_catan.c (__catan): Handle arguments with large real or
49692 imaginary part separately without squaring.
49693 * math/s_catanf.c (__catanf): Likewise.
49694 * math/s_catanh.c (__catanh): Likewise.
49695 * math/s_catanhf.c (__catanhf): Likewise.
49696 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49697 and redefine.
49698 (__catanhl): Handle arguments with large real or imaginary part
49699 separately without squaring.
49700 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49701 and redefine.
49702 (__catanl): Handle arguments with large real or imaginary part
49703 separately without squaring.
49704 * math/libm-test.inc (catan_test): Add more tests.
49705 (catanh_test): Likewise.
49706 * sysdeps/i386/fpu/libm-test-ulps: Update.
49707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49708
49709 2013-04-27 Andreas Jaeger <aj@suse.de>
49710
49711 [BZ #15007]
49712 * stdlib/stdlib.h: Update guards for qecvt.
49713 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49714 <stdlib.h>.
49715
49716 2013-04-27 Allan McRae <allan@archlinux.org>
49717
49718 * sysdeps/i386/fpu/libm-test-ulps: Update.
49719
49720 2013-04-26 Joseph Myers <joseph@codesourcery.com>
49721
49722 [BZ #15406]
49723 * math/s_catan.c: Include <float.h>.
49724 (__catan): Ensure underflow exception occurs for underflowed
49725 result.
49726 * math/s_catanf.c: Include <float.h>.
49727 (__catanf): Ensure underflow exception occurs for underflowed
49728 result.
49729 * math/s_catanh.c: Include <float.h>.
49730 (__catanh): Ensure underflow exception occurs for underflowed
49731 result.
49732 * math/s_catanhf.c: Include <float.h>.
49733 (__catanhf): Ensure underflow exception occurs for underflowed
49734 result.
49735 * math/s_catanhl.c: Include <float.h>.
49736 (__catanhl): Ensure underflow exception occurs for underflowed
49737 result.
49738 * math/s_catanl.c: Include <float.h>.
49739 (__catanl): Ensure underflow exception occurs for underflowed
49740 result.
49741 * math/libm-test.inc (catan_test): Add more tests.
49742 (catanh_test): Likewise.
49743
49744 [BZ #15405]
49745 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49746 underflowed result.
49747 * math/s_ccoshf.c (__ccoshf): Likewise.
49748 * math/s_ccoshl.c (__ccoshl): Likewise.
49749 * math/s_csin.c (__csin): Likewise.
49750 * math/s_csinf.c (__csinf): Likewise.
49751 * math/s_csinh.c (__csinh): Likewise.
49752 * math/s_csinhf.c (__csinhf): Likewise.
49753 * math/s_csinhl.c (__csinhl): Likewise.
49754 * math/s_csinl.c (__csinl): Likewise.
49755 * math/libm-test.inc (ccos_test): Add more tests.
49756 (ccosh_test): Likewise.
49757 (csin_test): Likewise.
49758 (csinh_test): Likewise.
49759
49760 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49761
49762 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49763 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49764 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49765 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49766 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49767 powerpc/power5+/fpu folders.
49768 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49769
49770
49771 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
49772
49773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49774
49775 2013-04-25 Joseph Myers <joseph@codesourcery.com>
49776
49777 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49778 additions to variable.
49779 [$(config-machine) = x86_64] (modules-names): Likewise.
49780 ($(objpfx)tst-audit3): Remove dependency.
49781 ($(objpfx)tst-audit3.out): Likewise.
49782 ($(objpfx)tst-audit4): Likewise.
49783 ($(objpfx)tst-audit4.out): Likewise.
49784 ($(objpfx)tst-audit5): Likewise.
49785 ($(objpfx)tst-audit5.out): Likewise.
49786 ($(objpfx)tst-audit6): Likewise.
49787 ($(objpfx)tst-audit6.out): Likewise.
49788 ($(objpfx)tst-audit7): Likewise.
49789 ($(objpfx)tst-audit7.out): Likewise.
49790 (tst-audit3-ENV): Remove variable.
49791 (tst-audit4-ENV): Likewise.
49792 (tst-audit5-ENV): Likewise.
49793 (tst-audit6-ENV): Likewise.
49794 (tst-audit7-ENV): Likewise.
49795 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49796 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49797 addition to variable.
49798 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49799 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49800 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49801 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49802 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49803 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49804 tst-audit3, tst-audit4 and tst-audit5.
49805 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49806 tst-audit6 and tst-audit7.
49807 [$(subdir) = elf] (modules-names): Add audit modules for those
49808 tests.
49809 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49810 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49811 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49812 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49813 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49814 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49815 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49816 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49817 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49818 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49819 [$(subdir) = elf] (tst-audit3-ENV): New variable.
49820 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49821 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49822 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49823 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49824 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49825 Likewise.
49826 [$(subdir) = elf && $(config-cflags-avx) = yes]
49827 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49828 [$(subdir) = elf && $(config-cflags-avx) = yes]
49829 (CFLAGS-tst-auditmod4a.c): Likewise.
49830 [$(subdir) = elf && $(config-cflags-avx) = yes]
49831 (CFLAGS-tst-auditmod4b.c): Likewise.
49832 [$(subdir) = elf && $(config-cflags-avx) = yes]
49833 (CFLAGS-tst-auditmod6b.c): Likewise.
49834 [$(subdir) = elf && $(config-cflags-avx) = yes]
49835 (CFLAGS-tst-auditmod6c.c): Likewise.
49836 [$(subdir) = elf && $(config-cflags-avx) = yes]
49837 (CFLAGS-tst-auditmod7b.c): Likewise.
49838 * elf/tst-audit3.c: Move to ...
49839 * sysdeps/x86_64/tst-audit3.c: ... here.
49840 * elf/tst-audit4.c: Move to ...
49841 * sysdeps/x86_64/tst-audit4.c: ... here.
49842 * elf/tst-audit5.c: Move to ...
49843 * sysdeps/x86_64/tst-audit5.c: ... here.
49844 * elf/tst-audit6.c: Move to ...
49845 * sysdeps/x86_64/tst-audit6.c: ... here.
49846 * elf/tst-audit7.c: Move to ...
49847 * sysdeps/x86_64/tst-audit7.c: ... here.
49848 * elf/tst-auditmod3a.c: Move to ...
49849 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49850 * elf/tst-auditmod3b.c: Move to ...
49851 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49852 * elf/tst-auditmod4a.c: Move to ...
49853 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49854 * elf/tst-auditmod4b.c: Move to ...
49855 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49856 * elf/tst-auditmod5a.c: Move to ...
49857 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49858 * elf/tst-auditmod5b.c: Move to ...
49859 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49860 * elf/tst-auditmod6a.c: Move to ...
49861 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49862 * elf/tst-auditmod6b.c: Move to ...
49863 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49864 * elf/tst-auditmod6c.c: Move to ...
49865 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49866 * elf/tst-auditmod7a.c: Move to ...
49867 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49868 * elf/tst-auditmod7b.c: Move to ...
49869 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49870
49871 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
49872
49873 [BZ #15366]
49874 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49875 define unconditionally.
49876 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49877 define unconditionally.
49878 (INT8_C, INT16_C, etc.): Likewise.
49879
49880 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
49881
49882 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49883 __ehdr_start with hidden visibility.
49884
49885 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49886
49887 2013-04-24 Carlos O'Donell <carlos@redhat.com>
49888
49889 * math/libm-test.inc (cos_test): Use accurate hex constants.
49890 (sincost_test): Likewise.
49891
49892 2013-04-24 Joseph Myers <joseph@codesourcery.com>
49893
49894 * math/libm-test.inc (catan_test): Add more tests.
49895 (catanh_test): Likewise.
49896
49897 * math/s_catanf.c (__catanf): Use suffixed floating-point
49898 constants.
49899 * math/s_catanhf.c (__catanhf): Likewise.
49900 * math/s_catanhl.c (__catanhl): Likewise.
49901 * math/s_catanl.c (__catanl): Likewise.
49902
49903 [BZ #15394]
49904 * math/s_catan.c (__catan): Calculate imaginary part of result
49905 with log1p not log unless computing log of number close to 0.
49906 * math/s_catanf.c (__catanf): Likewise.
49907 * math/s_catanl.c (__catanl): Likewise.
49908 * math/s_catanh.c (__catanh): Calculate real part of result with
49909 log1p not log unless computing log of number close to 0.
49910 * math/s_catanhf.c (__catanhf): Likewise.
49911 * math/s_catanhl.c (__catanhl): Likewise.
49912 * math/libm-test.inc (catan_test): Add more tests.
49913 (catanh_test): Likewise.
49914 * sysdeps/i386/fpu/libm-test-ulps: Update.
49915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49916
49917 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49918
49919 * benchtests/Makefile: Mention files in which fast and slow
49920 paths of math functions are implemented.
49921
49922 2013-04-23 Roland McGrath <roland@hack.frob.com>
49923
49924 * sysdeps/posix/timespec_get.c: New file.
49925
49926 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49927
49928 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49929 POWER.
49930 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49931 for POWER.
49932 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49933 powerpc/power5/fpu folders.
49934 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49935 * benchtests/Makefile: Add modf testcase.
49936 * benchtests/bench-modf.c: New file: Benchmark test for mo
49937
49938 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
49939
49940 [BZ #14888]
49941 * time/Makefile (tests): Add tst-strptime-whitespace.
49942 * time/strptime_l.c (get_number): Use ISSPACE.
49943 (__strptime_internal): Likewise.
49944 * time/tst-strptime-whitespace.c: New test case.
49945
49946 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
49947
49948 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49949 member.
49950 (_nss_files_init): Set it here.
49951
49952 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
49953
49954 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49955 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49956 unsigned.
49957
49958 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
49959
49960 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49961
49962 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49963
49964 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49965 size just once.
49966
49967 2013-04-21 David S. Miller <davem@davemloft.net>
49968
49969 * po/ru.po: Update Russion translation from translation project.
49970
49971 2013-04-17 Adam Conrad <adconrad@0c3.net>
49972
49973 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49974 and setfsgid.
49975
49976 2013-04-17 Carlos O'Donell <carlos@redhat.com>
49977
49978 * configure.in: Remove i386 configure warning. Remove i386 case.
49979 * configure: Regenerate.
49980 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49981 Add example to error message.
49982 * sysdeps/i386/configure: Regenerate.
49983
49984 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
49985
49986 * benchtests/Makefile (bench): Add cos, tan, slowcos and
49987 slowtan.
49988 * benchtests/cos-inputs: New file.
49989 * benchtests/slowcos-inputs: New file.
49990 * benchtests/slowcos.c: New file.
49991 * benchtests/slowtan-inputs: New file.
49992 * benchtests/slowtan.c: New file.
49993 * benchtests/tan-inputs: New file.
49994
49995 2013-04-16 Roland McGrath <roland@hack.frob.com>
49996
49997 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49998 considered kosher.
49999
50000 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
50001
50002 * benchtests/Makefile: Include cppflags-iterator.mk to add
50003 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
50004
50005 * Makefile.in (bench-clean): New target.
50006 * benchtests/Makefile (bench-clean): Likewise.
50007
50008 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
50009
50010 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
50011
50012 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
50013
50014 * stdio-common/tstdiomisc.c: Fix coding-style violation.
50015
50016 2013-04-15 Andreas Schwab <schwab@suse.de>
50017
50018 * nscd/grpcache.c (cache_addgr): Properly check for short write.
50019 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50020 * nscd/pwdcache.c (cache_addpw): Likewise.
50021 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
50022 more than recsize.
50023
50024 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50025
50026 * benchtests/Makefile (bench): Write all output to
50027 bench-out.tmp together.
50028
50029 2013-04-15 Andreas Schwab <schwab@suse.de>
50030
50031 * nscd/nscd.c (main): Don't fork again after closing files.
50032
50033 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50034
50035 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
50036
50037 * benchtests/Rules (bench-deps): Collect dependencies into a
50038 single variable. Add Makefile to dependencies.
50039 ($(objpfx)bench-%.c): Depend on bench-deps.
50040
50041 2013-04-12 Roland McGrath <roland@hack.frob.com>
50042 Xavier Roche <roche+kml2@exalead.com>
50043
50044 [BZ #15361]
50045 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
50046 just that it's a file descriptor.
50047 * manual/llio.texi (Synchronizing AIO Operations): Update description
50048 for EBADF error from aio_fsync.
50049
50050 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
50051
50052 * Rules (bench): Move target definition...
50053 * benchtests/Makefile: ... here.
50054
50055 2013-04-11 Carlos O'Donell <carlos@redhat.com>
50056
50057 * math/libm-test.inc (cos_test): Fix PI/2 test.
50058 (sincos_test): Likewise.
50059 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50060 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
50061
50062 2013-04-11 Andreas Schwab <schwab@suse.de>
50063
50064 [BZ #13988]
50065 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
50066 accept exponent character only when digits were seen.
50067 * stdio-common/Makefile (tests): Add bug26.
50068 * stdio-common/bug26.c: New file.
50069
50070 [BZ #14293]
50071 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
50072 non-freeable.
50073
50074 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50075
50076 * Makeconfig (rtld-prefix): Define built linker prefix.
50077 * Rules (run-bench): Use it.
50078 * math/Makefile (run-regen-ulps): Likewise.
50079
50080 * Rules (bench): Remove eval.
50081
50082 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50083 Roland McGrath <roland@hack.frob.com>
50084 Ondrej Bilka <neleai@seznam.cz>
50085
50086 [BZ #15346]
50087 * time/getdate.c: Include ctype.h and alloca.h.
50088 (__getdate_r): Trim leading and trailing spaces of input.
50089 * time/tst-getdate.c (tests): Add tests with leading and
50090 trailing spaces.
50091
50092 2013-04-08 Roland McGrath <roland@hack.frob.com>
50093
50094 [BZ #14280]
50095 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
50096 when computing value.
50097
50098 2013-04-06 Carlos O'Donell <carlos@redhat.com>
50099
50100 * math/README.libm-test (How can I generate "libm-test-ulps"?):
50101 Use testrun.sh to run libm tests.
50102
50103 [BZ #15309]
50104 * elf/dl-open.c (dl_open_worker): memset all of seen array.
50105
50106 2013-04-06 Marko Myllynen <myllynen@redhat.com>
50107
50108 [BZ #15264]
50109 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
50110
50111 2013-04-06 Carlos O'Donell <carlos@redhat.com>
50112
50113 * Makefile.in (regen-ulps): New target.
50114 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
50115 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
50116 [ifneq (no,$(PERL)] (regen-ulps): New target.
50117 [ifeq (no,$(PERL)] (regen-ulps): New target.
50118 * math/libm-test.inc (ulps_file_name): Define.
50119 (output_dir): New variable.
50120 (options): Add "output-dir" option.
50121 (parse_opt): Handle 'o' case.
50122 (main): If output_dir is non-NULL use it as a prefix
50123 otherwise use "".
50124 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
50125
50126 2013-04-06 Carlos O'Donell <carlos@redhat.com>
50127
50128 [BZ #10060, #10062]
50129 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
50130 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50131 fail configure if __sync_val_compare_and_swap is not inlined.
50132 * sysdeps/i386/configure: Regenerate.
50133 * configure.in: Build for i686 when configured for i386.
50134 * configure: Regenerate.
50135 * README: Remove i386 reference.
50136
50137 2013-04-06 Carlos O'Donell <carlos@redhat.com>
50138
50139 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
50140 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50141
50142 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
50143
50144 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
50145 (lmsnanval): New variables.
50146 (F): Add conversion tests.
50147 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
50148 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
50149
50150 * stdio-common/tstdiomisc.c (F): Properly collect individual
50151 tests' results.
50152
50153 [BZ #14686, #15336]
50154 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
50155 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
50156 Instead, use input NaN values or generate a qNaN by arithmetic
50157 operation. Also fix bugs to comply with the standard.
50158 * math/libm-test.inc (remainder_test): Add more tests.
50159
50160 [BZ #15335, #15342]
50161 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
50162 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
50163 input NaN values or generate a qNaN by arithmetic operation.
50164
50165 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
50166 unreachable code.
50167
50168 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
50169 definitions.
50170
50171 2013-04-03 Joseph Myers <joseph@codesourcery.com>
50172
50173 [BZ #14478]
50174 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
50175 underflowed result.
50176 * math/s_cexpf.c (__cexpf): Likewise.
50177 * math/s_cexpl.c (__cexpl): Likewise.
50178 * math/libm-test.inc (cexp_test): Add more tests.
50179
50180 2013-04-03 Andreas Schwab <schwab@suse.de>
50181
50182 [BZ #15330]
50183 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
50184 order arrays from heap if bigger than alloca cutoff.
50185
50186 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
50187
50188 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
50189 (SNAN_TESTS_double): Refer to GCC PR56831.
50190 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
50191 GCC PR56828.
50192
50193 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
50194
50195 * Rules (bench): Move bench.out after the run is complete.
50196
50197 * Rules (bench): Echo currently running benchmark.
50198
50199 * benchtests/Makefile (bench): Add atan and slowatan.
50200 * benchtests/atan-inputs: New file.
50201 * benchtests/slowatan-inputs: New file.
50202 * benchtests/slowatan.c: New file.
50203
50204 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
50205 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50206 its value.
50207
50208 [BZ #15305]
50209 * sysdeps/unix/sysv/linux/kernel-features.h
50210 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50211 __ASSUME_XFS_RESTRICTED_CHOWN.
50212 * sysdeps/unix/sysv/linux/pathconf.c
50213 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50214 Save and restore errno.
50215
50216 2013-04-02 Joseph Myers <joseph@codesourcery.com>
50217
50218 [BZ #15327]
50219 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50220 arguments using __kernel_casinh.
50221 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50222 arguments using __kernel_casinhf.
50223 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50224 arguments using __kernel_casinhl.
50225 * math/libm-test.inc (cacosh_test): Add more tests.
50226 * sysdeps/i386/fpu/libm-test-ulps: Update.
50227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50228
50229 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
50230
50231 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50232 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50233
50234 * bench/Makefile (bench): Add sin and slowsin.
50235 * benchtests/sin-inputs: New file.
50236 * benchtests/slowsin-inputs: New file.
50237 * benchtests/slowsin.c: New file.
50238
50239 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50240 (bench): Add slowexp and slowpow.
50241 (exp-ITER): Increase iterations.
50242 (pow-ITER): Likewise.
50243 * benchtests/exp-inputs: Change input.
50244 * benchtests/pow-inputs: Likewise.
50245 * benchtests/slowexp-inputs: New file.
50246 * benchtests/slowexp.c: New file.
50247 * benchtests/slowpow-inputs: New file.
50248 * benchtests/slowpow.c: New file.
50249
50250 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50251
50252 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50253 instructions.
50254 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50255 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50256 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50257 * benchtests/Makefile: Add rint benchtest.
50258 * benchtests/rint-inputs: Input for rint benchtest.
50259
50260 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
50261
50262 * Versions.def (libm): Add GLIBC_2.18.
50263 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50264 hidden libm prototypes.
50265 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50266 * math/Makefile (libm-calls): Add s_issignaling.
50267 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50268 __issignalingf, __issignalingl. Adjust all libm.abilist files.
50269 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50270 declaration.
50271 * math/math.h [__USE_GNU] (issignaling): New macro.
50272 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50273 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50274 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50275 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50276 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50277 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50278 * manual/arith.texi (issignaling): New section.
50279 * manual/libm-err-tab.pl (@all_functions): Update comment.
50280 * math/gen-libm-test.pl (parse_args): Apply special handling for
50281 issignaling.
50282 * math/libm-test.inc (print_float, issignaling_test): New
50283 functions.
50284 (check_float_internal): Add issignaling checks.
50285 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50286 default definition.
50287 * sysdeps/powerpc/math-tests.h: New file.
50288 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50289 tests.
50290 * math/test-snan.c (TEST_FUNC): Likewise.
50291
50292 2013-03-30 David S. Miller <davem@davemloft.net>
50293
50294 * po/de.po: Update from translation team.
50295
50296 2013-03-30 Joseph Myers <joseph@codesourcery.com>
50297
50298 [BZ #10357]
50299 * math/k_casinh.c (__kernel_casinh): Handle arguments with
50300 imaginary part less than 1.0 and real part less than 0.5
50301 specially.
50302 * math/k_casinhf.c (__kernel_casinhf): Likewise.
50303 * math/k_casinhl.c (__kernel_casinhl): Likewise.
50304 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50305 (cacos_test): Add more tests.
50306 (casin_test): Likewise.
50307 (casinh_test): Likewise.
50308 * sysdeps/i386/fpu/libm-test-ulps: Update.
50309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50310
50311 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50312
50313 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50314 ONE with its value.
50315
50316 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50317 (__pow_mp): Replace ONE and MONE with their values.
50318 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50319 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50320 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50321 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50322 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50323 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50324
50325 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50326
50327 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50328 (__pow_mp): Replace ZERO and MZERO with their values.
50329 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50330 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50331 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50332 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50333 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50334 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50335 (__sqr): Likewise.
50336
50337 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50338
50339 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50340
50341 2013-03-28 Roland McGrath <roland@hack.frob.com>
50342
50343 * include/stdlib.h [!SHARED] (__call_tls_dtors):
50344 Declare with __attribute__ ((weak)).
50345 * stdlib/exit.c (__libc_atexit) [!SHARED]:
50346 Call __call_tls_dtors only if it's not NULL.
50347
50348 2013-03-28 Roland McGrath <roland@hack.frob.com>
50349
50350 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50351 didn't do it already, then set _dl_phdr and _dl_phnum based on the
50352 magic __ehdr_start linker symbol if it's defined.
50353 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50354 them up here if it was already done.
50355
50356 * elf/dl-support.c (_dl_phdr): Make pointer to const.
50357 (_dl_aux_init): Use const in cast when setting it.
50358 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
50359 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50360 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
50361
50362 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
50363 Declare them here.
50364 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
50365 * csu/libc-tls.c: Nor here.
50366 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
50367
50368 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
50369 (__libc_message): Never call vsyslog.
50370
50371 2013-03-28 Alan Modra <amodra@gmail.com>
50372
50373 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
50374 Define as empty.
50375 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
50376 Likewise.
50377
50378 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50379
50380 [BZ #15214]
50381 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
50382 underflow.
50383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50384
50385 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50386
50387 [BZ #15304]
50388 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50389 Don't add gid passed as argument.
50390
50391 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
50392
50393 2013-03-27 Joseph Myers <joseph@codesourcery.com>
50394
50395 [BZ #15307]
50396 * math/k_casinh.c (__kernel_casinh): Handle arguments with
50397 imaginary part between 1.0 and 1.5 and real part less than 0.5
50398 specially.
50399 * math/k_casinhf.c (__kernel_casinhf): Likewise.
50400 * math/k_casinhl.c (__kernel_casinhl): Likewise.
50401 * math/libm-test.inc (cacos_test): Add more tests.
50402 (casin_test): Likewise.
50403 (casinh_test): Likewise.
50404 * sysdeps/i386/fpu/libm-test-ulps: Update.
50405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50406
50407 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50408
50409 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
50410 constants.
50411 (norm): Likewise.
50412 (denorm): Likewise.
50413 (__dbl_mp): Likewise.
50414 (add_magnitudes): Likewise.
50415 (sub_magnitudes): Likewise.
50416 (__add): Likewise.
50417 (__sub): Likewise.
50418 (__mul): Likewise.
50419 (__sqr): Likewise.
50420 (__inv): Likewise.
50421 (__dvd): Likewise.
50422
50423 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
50424 commented code.
50425 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
50426 (__dubcos): Likewise.
50427 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
50428 (__ieee754_acos): Likewise.
50429 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50430 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
50431 (__exp1): Likewise.
50432 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50433 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50434 (log1): Likewise.
50435 (my_log2): Likewise.
50436 (checkint): Likewise.
50437 * sysdeps/ieee754/dbl-64/e_remainder.c
50438 (__ieee754_remainder): Likewise.
50439 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50440 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
50441 (bsloww): Likewise.
50442 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50443
50444 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50445 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
50446 MANTISSA_STORE_T to store computations on mantissa. Use
50447 macros for rounding and division.
50448 (denorm): Likewise.
50449 (__dbl_mp): Likewise.
50450 (add_magnitudes): Likewise.
50451 (sub_magnitudes): Likewise.
50452 (__mul): Likewise.
50453 (__sqr): Likewise.
50454 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
50455 powers of two in terms of TWOPOW macro.
50456 (mp_no): Make type of mantissa as MANTISSA_T.
50457 [!RADIXI]: Define RADIXI.
50458 [!TWO52]: Define TWO52.
50459 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50460
50461 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50462
50463 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50464 llroundl symbol when building for PPC32.
50465
50466 2013-03-24 Mark H Weaver <mhw@netris.org>
50467
50468 * manual/arith.texi (Normalization Functions): Fix prototypes for
50469 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50470
50471 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50472
50473 [BZ #13889]
50474 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50475 high value to check if expl overflow.
50476 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50477 to check for underflow and overflow.
50478 * math/libm-test.inc: Add exp test.
50479
50480 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
50481
50482 [BZ #11120]
50483 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50484 with NOT_IN_libc.
50485
50486 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50487
50488 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50489 symbol.
50490
50491 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
50492
50493 * math/gen-libm-test.pl (parse_args, special_functions): Properly
50494 wrap blocks consisting of several statements.
50495
50496 * sysdeps/generic/math-tests.h: New file.
50497 * sysdeps/i386/fpu/math-tests.h: Likewise.
50498 * math/test-snan.c: Include it.
50499 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50500
50501 2013-03-21 Joseph Myers <joseph@codesourcery.com>
50502
50503 [BZ #15285]
50504 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50505 (__ieee754_j0l): Do not improve calculations using cos of twice
50506 input for inputs above LDBL_MAX / 2.0L.
50507 (__ieee754_y0l): Likewise.
50508 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50509 (__ieee754_j1l): Do not improve calculations using cos of twice
50510 input for inputs above LDBL_MAX / 2.0L.
50511 (__ieee754_y1l): Likewise.
50512 * math/libm-test.inc (j0_test): Add another test.
50513 (j1_test): Likewise.
50514 (y0_test): Likewise.
50515 (y1_test): Likewise.
50516 * sysdeps/i386/fpu/libm-test-ulps: Update.
50517
50518 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
50519
50520 * Rules ($(objpfx)bench-%.c): Include code from a C source
50521 file.
50522
50523 2013-03-21 Joseph Myers <joseph@codesourcery.com>
50524
50525 [BZ #15287]
50526 * math/k_casinh.c (__kernel_casinh): Handle arguments with
50527 imaginary part 1.0 and real part less than 0.5 specially.
50528 * math/k_casinhf.c (__kernel_casinhf): Likewise.
50529 * math/k_casinhl.c (__kernel_casinhl): Likewise.
50530 * math/libm-test.inc (cacos_test): Add more tests.
50531 (casin_test): Likewise.
50532 (casinh_test): Likewise.
50533 * sysdeps/i386/fpu/libm-test-ulps: Update.
50534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50535
50536 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
50537
50538 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50539 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50540
50541 2013-03-20 Joseph Myers <joseph@codesourcery.com>
50542
50543 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50544 * config.make.in (config-cflags-sse4): Remove variable.
50545 (config-cflags-avx): Likewise.
50546 (config-cflags-sse2avx): Likewise.
50547 (config-cflags-novzeroupper): Likewise.
50548 (config-asflags-i686): Likewise.
50549 (have-mfma4): Likewise.
50550 (have-as-vis3): Likewise.
50551 (MIG): Likewise.
50552 * configure.in (MIG): Do not AC_SUBST.
50553 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50554 (libc_cv_cc_sse4): Do not AC_SUBST.
50555 (libc_cv_cc_avx): Likewise.
50556 (libc_cv_cc_sse2avx): Likewise.
50557 (libc_cv_cc_novzeroupper): Likewise.
50558 (libc_cv_cc_fma4): Likewise.
50559 (libc_cv_as_i686): Likewise.
50560 (libc_cv_sparc_as_vis3): Likewise.
50561 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50562 LIBC_CONFIG_VAR.
50563 (config-asflags-i686): Likewise.
50564 (config-cflags-avx): Likewise.
50565 (config-cflags-sse2avx): Likewise.
50566 (have-mfma4): Likewise.
50567 (config-cflags-novzeroupper): Likewise.
50568 * sysdeps/mach/configure.in (MIG): Likewise.
50569 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50570 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50571 LIBC_CONFIG_VAR.
50572 (config-cflags-avx): Likewise.
50573 (config-cflags-sse2avx): Likewise.
50574 (have-mfma4): Likewise.
50575 (config-cflags-novzeroupper): Likewise.
50576 * configure: Regenerated.
50577 * sysdeps/i386/configure: Likewise.
50578 * sysdeps/mach/configure: Likewise.
50579 * sysdeps/sparc/configure: Likewise.
50580 * sysdeps/x86_64/configure: Likewise.
50581
50582 2013-03-20 Roland McGrath <roland@hack.frob.com>
50583
50584 [BZ #14812]
50585 * locale/programs/localedef.c (options): Put N_ translation marker
50586 on argument names, not just descriptions.
50587
50588 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50589
50590 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50591
50592 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
50593
50594 [BZ #14176]
50595 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50596
50597 2013-03-19 Roland McGrath <roland@hack.frob.com>
50598
50599 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50600 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50601 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50602 [!BEFORE_ABORT] (before_abort): New function.
50603 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50604 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50605 (writev_for_fatal): New function.
50606 (WRITEV_FOR_FATAL): New macro; call that.
50607 (backtrace_and_maps): New function.
50608 (BEFORE_ABORT): New macro; call that.
50609 (struct str_list): Type removed.
50610 (__libc_message, __libc_fatal): Functions removed.
50611 Include <sysdeps/posix/libc_fatal.c> instead.
50612
50613 2013-03-19 Joseph Myers <joseph@codesourcery.com>
50614
50615 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50616 constants.
50617 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50618 double constants.
50619
50620 2013-03-19 Andreas Schwab <schwab@suse.de>
50621
50622 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50623 * sysdeps/gnu/configure: Regenerate.
50624
50625 * configure.in: Substitute libc_cv_rtlddir.
50626 * configure: Regenerate.
50627 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50628 * Makeconfig (rtlddir, inst_rtlddir): New variables.
50629 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50630 * elf/Makefile (install-others, CFLAGS-interp.c)
50631 (ldso_install, common-ldd-rewrite): Likewise.
50632 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50633 $(inst_slibdir)/$(rtld-installed-name).
50634 * scripts/rellns-sh: Add -p option.
50635 * Makerules (make-shlib-link): Use rellns-sh to get relative name
50636 for source.
50637
50638 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50639
50640 * manual/nptl.texi: Renamed to ...
50641 * manual/threads.texi: ... this.
50642 * manual/Makefile (chapters): Update.
50643
50644 2013-03-18 Roland McGrath <roland@hack.frob.com>
50645
50646 [BZ #14812]
50647 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50648 on argument names, not just descriptions.
50649 * malloc/memusagestat.c (options): Likewise.
50650 * nss/getent.c (options): Likewise.
50651
50652 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
50653
50654 [BZ #14812]
50655 * iconv/iconv_prog.c (options): Put N_ translation marker
50656 on argument names, not just descriptions.
50657 * iconv/iconvconfig.c (options): Likewise.
50658
50659 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
50660
50661 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50662 implementation which is faster on all x86_64 architectures.
50663 Tested on AMD, Intel Nehalem, SNB, IVB.
50664 * sysdeps/x86_64/strnlen.S: Likewise.
50665
50666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50667 Remove all multiarch strlen and strnlen versions.
50668 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50669 Remove strlen and strnlen related parts.
50670
50671 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50672 Inline strlen part.
50673 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50674
50675 * sysdeps/x86_64/multiarch/strlen.S: Remove.
50676 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50677 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50678 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50679 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50680 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50681
50682 2013-03-17 Carlos O'Donell <carlos@redhat.com>
50683
50684 * manual/memory.texi (Malloc Tunable Parameters):
50685 Sort parameters alphabetically. Add comments for missing entries.
50686
50687 2013-03-17 David S. Miller <davem@davemloft.net>
50688
50689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50690
50691 2013-03-16 Joseph Myers <joseph@codesourcery.com>
50692
50693 [BZ #15283]
50694 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50695 for arguments at most half maximum finite value.
50696 * math/libm-test.inc (j0_test): Add more tests.
50697 (j1_test): Likewise.
50698 (y0_test): Likewise.
50699 (y1_test): Likewise.
50700 * sysdeps/i386/fpu/libm-test-ulps: Update.
50701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50702
50703 [BZ #14155]
50704 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50705 1 / x and functions P and Q for arguments above 0x1p256L.
50706 (__ieee754_y0l): Likewise.
50707 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50708 (__ieee754_y1l): Likewise.
50709 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50710 (j1_test): Likewise.
50711 (y0_test): Likewise.
50712 (y1_test): Likewise.
50713
50714 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
50715
50716 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50717 variable.
50718
50719 2013-03-15 Roland McGrath <roland@hack.frob.com>
50720
50721 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50722 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50723 zero since it's initialized to EXEC_PAGESIZE.
50724
50725 * sysdeps/unix/sysv/linux/ldsodefs.h
50726 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50727 * sysdeps/generic/ldsodefs.h: ... here.
50728
50729 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
50730
50731 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50732
50733 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50734 math/test-snan.c.
50735 * math/test-snan.c: Renamed from
50736 sysdeps/powerpc/fpu/test-powerpc-snan.c.
50737 * math/Makefile (tests): Add test-snan.
50738 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50739 test-powerpc-snan.
50740
50741 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50742 SUFFIX. Initialize qNaN_var with __builtin_nan family of
50743 functions.
50744 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
50745 __builtin_nan family of functions.
50746 * math/libm-test.inc (initialize): Initialize qnan_value with
50747 __builtin_nan family of functions.
50748 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50749 Remove variables.
50750 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50751 Remove functions.
50752 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
50753 storage class. Initialize qNaN_var and sNaN_var with
50754 __builtin_nan and __builtin_nans families of functions,
50755 respectively.
50756
50757 * math/libm-test.inc (acosh_test): Also test with qNaN input.
50758 (sqrt_test): Remove duplicate test with qNaN input.
50759 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50760 (round_test, signbit_test, significand_test): Note missing +/-Inf
50761 as well as qNaN tests.
50762
50763 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50764 qNaN_var. Fix a few strings, too.
50765 * math/libm-test.inc (nan_value): Rename to qnan_value.
50766 * math/gen-libm-test.pl (%beautify): Adjust to that.
50767 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50768 * math/test-misc.c (main): Likewise.
50769 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50770 to __qnan_bytes, and __qnan_union, respectively.
50771 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50772 Likewise.
50773 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50774 and lqnanval, respectively.
50775 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50776 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50777 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50778 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50779
50780 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50781 * math/test-misc.c (main) [__x86_64__]: Enable test for long
50782 doubles.
50783
50784 * math/test-misc.c (main): Fix copy'n'pastos.
50785 * misc/tst-efgcvt.c (special): Likewise.
50786
50787 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50788 Remove declarations.
50789
50790 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50791
50792 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50793 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50794 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50795 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50796
50797 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50798
50799 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50800 macro to return vdso values correctly in IFUNC implementations.
50801 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50802 Optimization by using IFUNC.
50803
50804 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50805 Richard Henderson <rth@redhat.com>
50806 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50807
50808 * Makefile.in (bench): New target.
50809 * NEWS: Mention the benchmark framework.
50810 * Rules (bench): Likewise.
50811 (binaries-bench): Generate binaries for functions to
50812 benchmark.
50813 * benchtests/Makefile: New makefile for benchmark tests.
50814 * benchtests/bench-skeleton.c: New skeleton file for benchmark
50815 programs.
50816 * benchtests/exp-inputs: New input file for EXP function.
50817 * benchtests/pow-inputs: New input file for POW function.
50818 * scripts/bench.pl: New script to generate source files for
50819 benchmark programs.
50820
50821 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50822
50823 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50824 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50825 computations on mantissa. Use macros for rounding and
50826 division.
50827 (denorm): Likewise.
50828 (__dbl_mp): Likewise.
50829 (add_magnitudes): Likewise.
50830 (sub_magnitudes): Likewise.
50831 (__mul): Likewise.
50832 (__sqr): Likewise.
50833 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
50834 powers of two in terms of TWOPOW macro.
50835 (mp_no): Make type of mantissa as MANTISSA_T.
50836 [!RADIXI]: Define RADIXI.
50837 [!TWO52]: Define TWO52.
50838 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50839
50840 * manual/nptl.texi (cindex): Modify threads to pthreads.
50841
50842 2013-03-15 Joseph Myers <joseph@codesourcery.com>
50843
50844 * sysdeps/x86_64/preconfigure: Regenerated.
50845
50846 2013-03-14 Joseph Myers <joseph@codesourcery.com>
50847
50848 [BZ #14155]
50849 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50850 0x1p28 and above.
50851 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50852 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50853 0x1p28 and above.
50854 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50855 * math/libm-test.inc (j0_test): Do not allow one spurious
50856 underflow exception.
50857 (y1_test): Likewise.
50858
50859 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
50860
50861 * manual/Makefile (chapters): Add nptl.
50862 * manual/debug.texi (Debugging Support): Add link to Threads
50863 chapter.
50864 * manual/nptl.texi: New file.
50865
50866 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50867
50868 2013-03-14 Petr Baudis <pasky@ucw.cz>
50869
50870 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50871 for non-NULL pointer before the memory validity test. Pointed
50872 out by Holger Brunck <holger.brunck@keymile.com>.
50873
50874 2013-03-13 Andreas Schwab <schwab@suse.de>
50875
50876 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50877 instead of .os.
50878
50879 2013-03-13 Joseph Myers <joseph@codesourcery.com>
50880
50881 * timezone/zic.c: Update from tzcode 2013b.
50882
50883 2013-03-12 Carlos O'Donell <carlos@redhat.com>
50884
50885 * manual/install.texi (Configuring and compiling):
50886 Mention i686 and i586.
50887 * INSTALL: Regenerate.
50888
50889 2013-03-12 Roland McGrath <roland@hack.frob.com>
50890
50891 * sysdeps/init_array/elf-init.c: New file.
50892 * csu/elf-init.c
50893 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50894 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50895
50896 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50897 __gmon_start__ as global, but as static with a .preinit_array pointer.
50898 * sysdeps/init_array/gmon-start.c: New file. Use that.
50899 * sysdeps/init_array/crti.S: New file, empty except for comments.
50900 * sysdeps/init_array/crtn.S: Likewise.
50901
50902 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
50903
50904 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50905 definining bcopy.
50906 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50907 Remove Prefer_SSE_for_memop.
50908 * sysdeps/x86_64/multiarch/init-arch.h: Remove
50909 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50910 HAS_PREFER_SSE_FOR_MEMOP.
50911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50912 memset-x86-64.
50913 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50914 Remove bzero, memset ifunc support.
50915 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50916 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50917 * sysdeps/x86_64/multiarch/memset.S: Likewise.
50918 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50919
50920 2013-03-11 Andreas Schwab <schwab@suse.de>
50921
50922 [BZ #15234]
50923 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50924 by SHLIB_COMPAT.
50925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50926 (GLIBC_2.16): Remove pthread_atfork.
50927
50928 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
50929
50930 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50931 (ptestcases.h): Likewise.
50932
50933 2013-03-08 Roland McGrath <roland@hack.frob.com>
50934
50935 * Makeconfig ($(common-objpfx)config.status): Depend on
50936 sysdeps/*/preconfigure{,.in} too.
50937
50938 2013-03-08 Joseph Myers <joseph@codesourcery.com>
50939
50940 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50941 (__free_hook): Use void * instead of __malloc_ptr_t.
50942 (__malloc_hook): Likewise.
50943 (__realloc_hook): Likewise.
50944 (__memalign_hook): Likewise.
50945 (__after_morecore_hook): Likewise.
50946 * malloc/arena.c (save_malloc_hook): Likewise.
50947 (save_free_hook): Likewise.
50948 * malloc/hooks.c (malloc_hook_ini): Likewise.
50949 (realloc_hook_ini): Likewise.
50950 (memalign_hook_ini): Likewise.
50951 * malloc/malloc.c (malloc_hook_ini): Likewise.
50952 (realloc_hook_ini): Likewise.
50953 (memalign_hook_ini): Likewise.
50954 (__free_hook): Likewise.
50955 (__malloc_hook): Likewise.
50956 (__realloc_hook): Likewise.
50957 (__memalign_hook): Likewise.
50958 (__libc_malloc): Likewise.
50959 (__libc_free): Likewise.
50960 (__libc_realloc): Likewise.
50961 (__libc_memalign): Likewise.
50962 (__libc_valloc): Likewise.
50963 (__libc_pvalloc): Likewise.
50964 (__libc_calloc): Likewise.
50965 (__posix_memalign): Likewise.
50966 * malloc/morecore.c (__sbrk): Likewise.
50967 (__default_morecore): Likewise.
50968
50969 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50970
50971 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50972 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50973 __malloc_ptrdiff_t.
50974
50975 * malloc/malloc.h (__malloc_size_t): Remove macro.
50976 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50977 __malloc_size_t.
50978 (old_memalign_hook): Likewise.
50979 (old_realloc_hook): Likewise.
50980 (struct hdr): Likewise.
50981 (flood): Likewise.
50982 (mallochook): Likewise.
50983 (memalignhook): Likewise.
50984 (reallochook): Likewise.
50985 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50986 (tr_old_realloc_hook): Likewise.
50987 (tr_old_memalign_hook): Likewise.
50988 (tr_mallochook): Likewise.
50989 (tr_reallochook): Likewise.
50990 (tr_memalignhook): Likewise.
50991
50992 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50993
50994 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50995 default_ldbl_pack and using as default implementation.
50996 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50997 implementation.
50998 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50999 redundant definition.
51000 (ldbl_insert_mantissa): Likewise.
51001 (ldbl_canonicalize): Likewise.
51002 (ldbl_nearbyint): Likewise.
51003 (ldbl_pack): Rename to ldbl_pack_ppc.
51004 (ldbl_unpack): Rename to ldbl_unpack_ppc.
51005 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
51006 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
51007
51008 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
51009
51010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
51011 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
51012 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
51013 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
51014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
51015 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
51016 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
51017 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
51018
51019 2013-03-07 Andreas Jaeger <aj@suse.de>
51020
51021 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51022 bits/mman-linux.h.
51023
51024 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
51025
51026 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
51027 Include mpa.h and declare __MPEXP.
51028 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
51029 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51030 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51031 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
51032 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51033 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51034 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
51035
51036 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
51037 (__slowpow): Use long double EXPL and LOGL functions to
51038 compute POW.
51039 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51040 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51041 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
51042 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51043 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51044 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
51045
51046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
51047 intermediate variable to calculate exponent.
51048 (__sqr): Likewise.
51049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51050 Likewise.
51051 (__sqr): Likewise.
51052
51053 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
51054 [!NO__SQR]: Define __sqr.
51055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
51056 and NO__SQR. Remove all code except __mul and __sqr. Include
51057 sysdeps/ieee754/dbl-64/mpa.c.
51058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51059
51060 [BZ #12723]
51061 * posix/Makefile (tests): Add tst-pathconf.
51062 * posix/tst-pathconf.c: New test case.
51063 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
51064 _PC_PIPE_BUF.
51065 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
51066
51067 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
51068
51069 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
51070
51071 2013-03-06 Andreas Jaeger <aj@suse.de>
51072
51073 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
51074 definition via __MAP_ANONYMOUS.
51075
51076 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
51077 it's not part of Linux headers.
51078
51079 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51080 (MAP_HUGE_MASK): Define.
51081
51082 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51083 Define.
51084 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51085 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51086 Define.
51087 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51088 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51089 Define.
51090 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51091 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51092 Define.
51093 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51094
51095 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
51096 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
51097 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
51098 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
51099 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
51100 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
51101
51102 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51103 Handle f2fs.
51104
51105 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51106 Handle f2fs and efivarfs.
51107
51108 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
51109 f2fs.
51110
51111 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
51112 (EFIVARFS_MAGIC): Add.
51113 (F2FS_LINK_MAX): Add.
51114
51115 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51116
51117 * stdio-common/vfprintf.c: Replace __builtin_expect with
51118 __glibc_unlikely.
51119
51120 2013-03-06 Joseph Myers <joseph@codesourcery.com>
51121
51122 [BZ #13550]
51123 * sysdeps/generic/bp-sym.h: Remove file.
51124 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
51125 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
51126 <bp-sym.h> and <bp-asm.h>.
51127 (__longjmp): Don't use BP_SYM.
51128 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
51129 and <bp-asm.h>.
51130 (memcpy): Don't use BP_SYM.
51131 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
51132 <bp-sym.h> and <bp-asm.h>.
51133 (memcpy): Don't use BP_SYM.
51134 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
51135 <bp-asm.h>.
51136 (memcpy): Don't use BP_SYM.
51137 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
51138 <bp-asm.h>.
51139 (memset): Don't use BP_SYM.
51140 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51141 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51142 (__bzero): Don't use BP_SYM.
51143 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51144 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51145 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
51146 <bp-sym.h> and <bp-asm.h>.
51147 (memcmp): Don't use BP_SYM. Remove comment about bounded
51148 pointers.
51149 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
51150 <bp-sym.h> and <bp-asm.h>.
51151 (memcpy): Don't use BP_SYM.
51152 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
51153 <bp-sym.h> and <bp-asm.h>.
51154 (memset): Don't use BP_SYM.
51155 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51156 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51157 (__bzero): Don't use BP_SYM.
51158 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51159 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51160 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
51161 <bp-sym.h> and <bp-asm.h>.
51162 (strncmp): Don't use BP_SYM. Remove comment about bounded
51163 pointers.
51164 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51165 <bp-sym.h> and <bp-asm.h>.
51166 (memcpy): Don't use BP_SYM.
51167 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
51168 <bp-sym.h> and <bp-asm.h>.
51169 (memset): Don't use BP_SYM.
51170 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51171 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51172 (__bzero): Don't use BP_SYM.
51173 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51174 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51175 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
51176 <bp-sym.h> and <bp-asm.h>.
51177 (__memchr): Don't use BP_SYM.
51178 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
51179 <bp-sym.h> and <bp-asm.h>.
51180 (memcmp): Don't use BP_SYM. Remove comment about bounded
51181 pointers.
51182 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
51183 <bp-sym.h> and <bp-asm.h>.
51184 (memcpy): Don't use BP_SYM.
51185 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
51186 <bp-sym.h> and <bp-asm.h>.
51187 (__mempcpy): Don't use BP_SYM.
51188 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
51189 <bp-sym.h> and <bp-asm.h>.
51190 (__memrchr): Don't use BP_SYM.
51191 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
51192 <bp-sym.h> and <bp-asm.h>.
51193 (memset): Don't use BP_SYM.
51194 (__bzero): Likewise.
51195 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
51196 <bp-sym.h> and <bp-asm.h>.
51197 (__rawmemchr): Don't use BP_SYM.
51198 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
51199 <bp-sym.h> and <bp-asm.h>.
51200 (__STRCMP): Don't use BP_SYM.
51201 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
51202 <bp-sym.h> and <bp-asm.h>.
51203 (strchr): Don't use BP_SYM.
51204 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
51205 <bp-sym.h> and <bp-asm.h>.
51206 (__strchrnul): Don't use BP_SYM.
51207 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51208 <bp-sym.h> and <bp-asm.h>.
51209 (strlen): Don't use BP_SYM.
51210 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51211 <bp-sym.h> and <bp-asm.h>.
51212 (strncmp): Don't use BP_SYM. Remove comment about bounded
51213 pointers.
51214 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51215 <bp-sym.h> and <bp-asm.h>.
51216 (__strnlen): Don't use BP_SYM.
51217 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51218 <bp-sym.h> and <bp-asm.h>.
51219 (__GI__setjmp): Don't use BP_SYM.
51220 (_setjmp): Likewise.
51221 (__sigsetjmp): Likewise.
51222 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51223 (L(start_addresses)): Don't use BP_SYM.
51224 (_start): Likewise.
51225 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51226 <bp-asm.h>.
51227 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51228 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51229 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51230 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51231 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51232 <bp-asm.h>.
51233 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51234 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
51235 about bounded pointers.
51236 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51237 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51238 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51239 <bp-asm.h>.
51240 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
51241 about bounded pointers. Remove GKM FIXME comments.
51242 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51243 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51244 <bp-asm.h>.
51245 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51246 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
51247 Remove GKM FIXME comments.
51248 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51249 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51250 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51251 <bp-asm.h>.
51252 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
51253 about bounded pointers. Remove GKM FIXME comment.
51254 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51255 and <bp-asm.h>.
51256 (strncmp): Don't use BP_SYM. Remove comment about bounded
51257 pointers.
51258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51259 <bp-sym.h> and <bp-asm.h>.
51260 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51262 <bp-sym.h> and <bp-asm.h>.
51263 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
51264 comment.
51265
51266 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51267
51268 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51269 call free(NULL).
51270
51271 2013-03-05 David S. Miller <davem@davemloft.net>
51272
51273 * po/es.po: Update from translation team.
51274
51275 2013-03-05 Andreas Jaeger <aj@suse.de>
51276
51277 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51278 <bits/mman-linux.h>.
51279 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51280 is fine.
51281 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
51282 <bits/mman-linux.h> to end of file.
51283 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51284 is fine.
51285 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
51286 <bits/mman-linux.h> to end of file.
51287 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51288 is fine.
51289 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51290 <bits/mman-linux.h> to end of file.
51291
51292 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51293 (MCL_CURRENT, MCL_FUTURE): Define here.
51294
51295 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51296
51297 [BZ #15232]
51298 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51299 attribute_hidden.
51300 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51301
51302 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51303
51304 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51305 fourth parameter needed for rt_sigprocmask syscall.
51306 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51307 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51308 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51309 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51310 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51311 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51312
51313 2013-03-04 Joseph Myers <joseph@codesourcery.com>
51314
51315 [BZ #13550]
51316 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51317 comment about bounded pointers.
51318 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51319 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51320
51321 2013-03-04 Andreas Jaeger <aj@suse.de>
51322
51323 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51324 common definitions.
51325
51326 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51327 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51328 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51329 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51330 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51331 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51332
51333 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51334
51335 [BZ #15055]
51336 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51337 __ieee754_sqrl instead of __sqrl.
51338
51339 2013-03-01 Joseph Myers <joseph@codesourcery.com>
51340
51341 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51342 * sysdeps/powerpc/fpu_control.h: ... here.
51343 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51344 * sysdeps/powerpc/bits/fenvinline.h: ... here.
51345 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51346 * sysdeps/powerpc/bits/mathinline.h: ... here.
51347
51348 2013-03-01 Roland McGrath <roland@hack.frob.com>
51349
51350 * elf/dl-hwcaps.c (_dl_important_hwcaps):
51351 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51352 to just [NEED_DL_SYSINFO_DSO].
51353 * elf/dl-support.c: Likewise.
51354 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51355 * elf/rtld.c (dl_main): Likewise.
51356 * elf/setup-vdso.h (setup_vdso): Likewise.
51357 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
51358 * sysdeps/unix/sysv/linux/dl-sysdep.c
51359 (_dl_discover_osversion): Likewise.
51360
51361 2013-03-01 Carlos O'Donell <carlos@redhat.com>
51362
51363 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
51364 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51365
51366 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
51367
51368 * NEWS: Mention libm performance improvements and non-x86 PI
51369 futex support.
51370
51371 * csu/libc-start.c (__pthread_initialize_minimal): Change
51372 function arguments.
51373 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51374
51375 2013-02-28 Joseph Myers <joseph@codesourcery.com>
51376
51377 [BZ #13550]
51378 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
51379 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
51380 <bp-sym.h> and <bp-asm.h>.
51381 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51382 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
51383 and <bp-asm.h>.
51384 (memcpy): Don't use BP_SYM.
51385 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
51386 <bp-asm.h>.
51387 (__mpn_add_n): Don't use BP_SYM.
51388 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
51389 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
51390 and <bp-asm.h>.
51391 (__mpn_addmul_1): Don't use BP_SYM.
51392 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51393 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
51394 <bp-sym.h>.
51395 (_setjmp): Don't use BP_SYM.
51396 (__novmx_setjmp): Likewise.
51397 (__GI__setjmp): Likewise.
51398 (__vmx_setjmp): Likewise.
51399 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
51400 <bp-sym.h>.
51401 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
51402 (__bzero): Don't use BP_SYM.
51403 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51404 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51405 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
51406 <bp-sym.h> and <bp-asm.h>.
51407 (memcpy): Don't use BP_SYM.
51408 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
51409 <bp-sym.h> and <bp-asm.h>.
51410 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51411 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
51412 <bp-sym.h> and <bp-asm.h>.
51413 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51414 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
51415 <bp-asm.h>.
51416 (__mpn_lshift): Don't use BP_SYM.
51417 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51418 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
51419 <bp-asm.h>.
51420 (memset): Don't use BP_SYM.
51421 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51422 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51423 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
51424 <bp-asm.h>.
51425 (__mpn_mul_1): Don't use BP_SYM.
51426 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51427 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
51428 <bp-sym.h> and <bp-asm.h>.
51429 (memcmp): Don't use BP_SYM.
51430 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
51431 <bp-sym.h> and <bp-asm.h>.
51432 (memcpy): Don't use BP_SYM.
51433 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
51434 <bp-sym.h> and <bp-asm.h>.
51435 (memset): Don't use BP_SYM.
51436 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
51437 <bp-sym.h> and <bp-asm.h>.
51438 (strncmp): Don't use BP_SYM.
51439 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
51440 <bp-sym.h> and <bp-asm.h>.
51441 (memcpy): Don't use BP_SYM.
51442 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
51443 <bp-sym.h> and <bp-asm.h>.
51444 (memset): Don't use BP_SYM.
51445 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
51446 <bp-sym.h> and <bp-asm.h>.
51447 (__memchr): Don't use BP_SYM.
51448 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
51449 <bp-sym.h> and <bp-asm.h>.
51450 (memcmp): Don't use BP_SYM.
51451 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
51452 <bp-sym.h> and <bp-asm.h>.
51453 (memcpy): Don't use BP_SYM.
51454 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51455 <bp-sym.h> and <bp-asm.h>.
51456 (__mempcpy): Don't use BP_SYM.
51457 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51458 <bp-sym.h> and <bp-asm.h>.
51459 (__memrchr): Don't use BP_SYM.
51460 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51461 <bp-sym.h> and <bp-asm.h>.
51462 (memset): Don't use BP_SYM.
51463 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51464 <bp-sym.h> and <bp-asm.h>.
51465 (__rawmemchr): Don't use BP_SYM.
51466 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51467 <bp-sym.h> and <bp-asm.h>.
51468 (__STRCMP): Don't use BP_SYM.
51469 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51470 <bp-sym.h> and <bp-asm.h>.
51471 (strchr): Don't use BP_SYM.
51472 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51473 <bp-sym.h> and <bp-asm.h>.
51474 (__strchrnul): Don't use BP_SYM.
51475 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51476 <bp-sym.h> and <bp-asm.h>.
51477 (strlen): Don't use BP_SYM.
51478 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51479 <bp-sym.h> and <bp-asm.h>.
51480 (strncmp): Don't use BP_SYM.
51481 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51482 <bp-sym.h> and <bp-asm.h>.
51483 (__strnlen): Don't use BP_SYM.
51484 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51485 <bp-asm.h>.
51486 (__mpn_rshift): Don't use BP_SYM.
51487 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51488 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51489 <bp-sym.h> and <bp-asm.h>.
51490 (__sigsetjmp): Don't use BP_SYM.
51491 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51492 (L(start_addresses)): Don't use BP_SYM.
51493 (_start): Likewise.
51494 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51495 <bp-asm.h>.
51496 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51497 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51498 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51499 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51500 <bp-asm.h>.
51501 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51502 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51503 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51504 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51505 <bp-asm.h>.
51506 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
51507 comments.
51508 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51509 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51510 <bp-asm.h>.
51511 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
51512 FIXME comments.
51513 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51514 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51515 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51516 <bp-asm.h>.
51517 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
51518 comment.
51519 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51520 and <bp-asm.h>.
51521 (strncmp): Don't use BP_SYM,
51522 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51523 <bp-asm.h>.
51524 (__mpn_sub_n): Don't use BP_SYM.
51525 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51526 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51527 and <bp-asm.h>.
51528 (__mpn_submul_1): Don't use BP_SYM.
51529 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51531 <bp-sym.h> and <bp-asm.h>.
51532 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51534 <bp-sym.h> and <bp-asm.h>.
51535 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
51536 comment.
51537
51538 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51539
51540 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51541 Use ZK to minimize writes to Z.
51542 (sub_magnitudes): Simplify code a bit.
51543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51544 Use ZK to minimize writes to Z.
51545 (sub_magnitudes): Simplify code a bit.
51546
51547 2013-02-27 Roland McGrath <roland@hack.frob.com>
51548
51549 * csu/gmon-start.c: Add special exception to license text.
51550
51551 2013-02-27 Richard Henderson <rth@redhat.com>
51552
51553 * scripts/config.guess: Update from config.git.
51554 * scripts/config.sub: Likewise.
51555
51556 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51557
51558 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51559
51560 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51561
51562 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51563
51564 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51565
51566 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51567
51568 2013-02-26 Roland McGrath <roland@hack.frob.com>
51569
51570 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51571 [$(build-shared = yes].
51572
51573 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51574
51575 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51576 (__mul): Reduce iterations for calculating mantissa.
51577
51578 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51579 MPTWO.
51580 (__mpranred): Likewise.
51581
51582 [BZ #15160]
51583 * malloc/memusagestat.c (main): Draw graphs for heap and stack
51584 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51585
51586 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
51587
51588 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51589 Define __attribute__.
51590
51591 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51592
51593 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51594 unused.
51595 * posix/regex_internal.h (__attribute): Remove.
51596 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51597 (re_string_context_at): Likewise.
51598 (bitset_not): Use __attribute__ and mark function as possibly
51599 unused.
51600 (bitset_merge): Likewise.
51601 (bitset_mask): Likewise.
51602 (re_string_char_size_at): Likewise.
51603 (re_string_wchar_at): Likewise.
51604 (re_string_elem_size_at): Likewise.
51605
51606 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51607
51608 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51609 code.
51610 (cc32): Likewise.
51611
51612 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51613 (__acr): Likewise.
51614 (__cpy): Likewise.
51615 (norm): Likewise.
51616 (denorm): Likewise.
51617 (__dbl_mp): Likewise.
51618 (add_magnitudes): Likewise.
51619 (sub_magnitudes): Likewise.
51620 (__mul): Likewise.
51621 (__inv): Likewise.
51622
51623 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51624 style.
51625
51626 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51627 style.
51628
51629 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51630 code.
51631
51632 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51633 up changes with default code.
51634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51635 Likewise.
51636
51637 2013-02-24 Allan McRae <allan@archlinux.org>
51638
51639 * manual/socket.texi (The Internet Namespace): Order menu items
51640 to match that in the file.
51641
51642 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51643 node listing of the info page menu.
51644
51645 2013-02-21 Joseph Myers <joseph@codesourcery.com>
51646
51647 [BZ #13550]
51648 * sysdeps/i386/bp-asm.h: Remove file.
51649 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51650 (PARMS): Do not use macros from bp-asm.h.
51651 (S1): Likewise.
51652 (S2): Likewise.
51653 (SIZE): Likewise.
51654 (__mpn_add_n): Do not use BP_SYM
51655 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51656 "bp-asm.h".
51657 (PARMS): Do not use macros from bp-asm.h.
51658 (S1): Likewise.
51659 (SIZE): Likewise.
51660 (__mpn_addmul_1): Do not use BP_SYM
51661 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51662 "bp-asm.h".
51663 (PARMS): Do not use macros from bp-asm.h.
51664 (SIGMSK): Likewise.
51665 (_setjmp): Likewise. Do not use BP_SYM.
51666 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51667 "bp-asm.h".
51668 (PARMS): Do not use macros from bp-asm.h.
51669 (SIGMSK): Likewise.
51670 (setjmp): Likewise. Do not use BP_SYM.
51671 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51672 "bp-asm.h".
51673 (PARMS): Do not use macros from bp-asm.h.
51674 (__frexp): Do not use BP_SYM.
51675 (frexp): Likewise.
51676 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51677 "bp-asm.h".
51678 (PARMS): Do not use macros from bp-asm.h.
51679 (__frexpf): Do not use BP_SYM.
51680 (frexpf): Likewise.
51681 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51682 "bp-asm.h".
51683 (PARMS): Do not use macros from bp-asm.h.
51684 (__frexpl): Do not use BP_SYM.
51685 (frexpl): Likewise.
51686 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51687 "bp-asm.h".
51688 (PARMS): Do not use macros from bp-asm.h.
51689 (__remquo): Do not use BP_SYM.
51690 (remquo): Likewise.
51691 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51692 "bp-asm.h".
51693 (PARMS): Do not use macros from bp-asm.h.
51694 (__remquof): Do not use BP_SYM.
51695 (remquof): Likewise.
51696 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51697 "bp-asm.h".
51698 (PARMS): Do not use macros from bp-asm.h.
51699 (__remquol): Do not use BP_SYM.
51700 (remquol): Likewise.
51701 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51702 "bp-asm.h".
51703 (PARMS): Do not use macros from bp-asm.h.
51704 (DEST): Likewise.
51705 (SRC): Likewise.
51706 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
51707 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51708 "bp-asm.h".
51709 (PARMS): Do not use macros from bp-asm.h.
51710 (strlen): Do not use BP_SYM.
51711 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51712 "bp-asm.h".
51713 (PARMS): Do not use macros from bp-asm.h.
51714 (S1): Likewise.
51715 (S2): Likewise.
51716 (SIZE): Likewise.
51717 (__mpn_add_n): Do not use BP_SYM.
51718 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51719 "bp-asm.h".
51720 (PARMS): Do not use macros from bp-asm.h.
51721 (S1): Likewise.
51722 (SIZE): Likewise.
51723 (__mpn_addmul_1): Do not use BP_SYM.
51724 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51725 weak_alias.
51726 (bzero): Likewise.
51727 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51728 "bp-asm.h".
51729 (PARMS): Do not use macros from bp-asm.h.
51730 (S): Likewise.
51731 (SIZE): Likewise.
51732 (__mpn_lshift): Do not use BP_SYM.
51733 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51734 "bp-asm.h".
51735 (PARMS): Do not use macros from bp-asm.h.
51736 (DEST): Likewise.
51737 (SRC): Likewise.
51738 (LEN): Likewise.
51739 (memcpy): Likewise. Do not use BP_SYM.
51740 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51741 libc_hidden_def and weak_alias.
51742 (mempcpy): Do not use BP_SYM in weak_alias.
51743 * sysdeps/i386/i586/memset.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 (LEN): Likewise.
51748 [!BZERO_P] (CHR): Likewise.
51749 (memset): Likewise. Do not use BP_SYM.
51750 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51751 "bp-asm.h".
51752 (PARMS): Do not use macros from bp-asm.h.
51753 (S1): Likewise.
51754 (SIZE): Likewise.
51755 (__mpn_mul_1): Do not use BP_SYM.
51756 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51757 "bp-asm.h".
51758 (PARMS): Do not use macros from bp-asm.h.
51759 (S): Likewise.
51760 (SIZE): Likewise.
51761 (__mpn_rshift): Do not use BP_SYM.
51762 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51763 "bp-asm.h".
51764 (PARMS): Do not use macros from bp-asm.h.
51765 (STR): Likewise.
51766 (CHR): Likewise.
51767 (strchr): Likewise. Do not use BP_SYM.
51768 (index): Do not use BP_SYM in weak_alias.
51769 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51770 "bp-asm.h".
51771 (PARMS): Do not use macros from bp-asm.h.
51772 (DEST): Likewise.
51773 (SRC): Likewise.
51774 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
51775 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51776 "bp-asm.h".
51777 (PARMS): Do not use macros from bp-asm.h.
51778 (strlen): Do not use BP_SYM.
51779 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51780 "bp-asm.h".
51781 (PARMS): Do not use macros from bp-asm.h.
51782 (S1): Likewise.
51783 (S2): Likewise.
51784 (SIZE): Likewise.
51785 (__mpn_sub_n): Do not use BP_SYM.
51786 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51787 "bp-asm.h".
51788 (PARMS): Do not use macros from bp-asm.h.
51789 (S1): Likewise.
51790 (SIZE): Likewise.
51791 (__mpn_submul_1): Do not use BP_SYM.
51792 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51793 "bp-asm.h".
51794 (PARMS): Do not use macros from bp-asm.h.
51795 (S1): Likewise.
51796 (S2): Likewise.
51797 (SIZE): Likewise.
51798 (__mpn_add_n): Do not use BP_SYM.
51799 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51800 weak_alias.
51801 (bzero): Likewise.
51802 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51803 "bp-asm.h".
51804 (PARMS): Do not use macros from bp-asm.h.
51805 (BLK2): Likewise.
51806 (LEN): Likewise.
51807 (memcmp): Do not use BP_SYM.
51808 (bcmp): Do not use BP_SYM in weak_alias.
51809 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51810 "bp-asm.h".
51811 (PARMS): Do not use macros from bp-asm.h.
51812 (DEST): Likewise.
51813 (SRC): Likewise.
51814 (LEN): Likewise.
51815 (memcpy): Likewise. Do not use BP_SYM.
51816 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51817 "bp-asm.h".
51818 (PARMS): Do not use macros from bp-asm.h.
51819 (DEST): Likewise.
51820 (SRC): Likewise.
51821 (LEN): Likewise.
51822 (memmove): Likewise. Do not use BP_SYM.
51823 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51824 "bp-asm.h".
51825 (PARMS): Do not use macros from bp-asm.h.
51826 (DEST): Likewise.
51827 (SRC): Likewise.
51828 (LEN): Likewise.
51829 (__mempcpy): Likewise. Do not use BP_SYM.
51830 (mempcpy): Do not use BP_SYM in weak_alias.
51831 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51832 "bp-asm.h".
51833 (PARMS): Do not use macros from bp-asm.h.
51834 (DEST): Likewise.
51835 (LEN): Likewise.
51836 [!BZERO_P] (CHR): Likewise.
51837 (memset): Likewise. Do not use BP_SYM.
51838 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51839 "bp-asm.h".
51840 (PARMS): Do not use macros from bp-asm.h.
51841 (STR2): Likewise.
51842 (strcmp): Do not use BP_SYM.
51843 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51844 "bp-asm.h".
51845 (PARMS): Do not use macros from bp-asm.h.
51846 (STR): Likewise.
51847 (DELIM): Likewise.
51848 [USE_AS_STRTOK_R] (SAVE): Likewise.
51849 (FUNCTION): Likewise. Do not use BP_SYM.
51850 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51851 aliases.
51852 (strtok_r): Likewise.
51853 (__GI___strtok_r): Likewise.
51854 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51855 (PARMS): Do not use macros from bp-asm.h.
51856 (S): Likewise.
51857 (SIZE): Likewise.
51858 (__mpn_lshift): Do not use BP_SYM.
51859 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51860 (PARMS): Do not use macros from bp-asm.h.
51861 (STR): Likewise.
51862 (CHR): Likewise.
51863 (__memchr): Do not use BP_SYM.
51864 (memchr): Do not use BP_SYM in weak_alias.
51865 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51866 (PARMS): Do not use macros from bp-asm.h.
51867 (BLK2): Likewise.
51868 (LEN): Likewise.
51869 (memcmp): Do not use BP_SYM.
51870 (bcmp): Do not use BP_SYM in weak_alias.
51871 * sysdeps/i386/mul_1.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 (SIZE): Likewise.
51875 (__mpn_mul_1): Do not use BP_SYM.
51876 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51877 "bp-asm.h".
51878 (PARMS): Do not use macros from bp-asm.h.
51879 (STR): Likewise.
51880 (CHR): Likewise.
51881 (__rawmemchr): Do not use BP_SYM.
51882 (rawmemchr): Do not use BP_SYM in weak_alias.
51883 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51884 (PARMS): Do not use macros from bp-asm.h.
51885 (S): Likewise.
51886 (SIZE): Likewise.
51887 (__mpn_rshift): Do not use BP_SYM.
51888 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51889 (PARMS): Do not use macros from bp-asm.h.
51890 (SIGMSK): Likewise.
51891 (__sigsetjmp): Likewise. Do not use BP_SYM.
51892 * sysdeps/i386/start.S: Do not include "bp-sym.h".
51893 (_start): Do not use BP_SYM.
51894 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51895 (PARMS): Do not use macros from bp-asm.h.
51896 (DEST): Likewise.
51897 (SRC): Likewise.
51898 (__stpcpy): Likewise. Do not use BP_SYM.
51899 (stpcpy): Do not use BP_SYM in weak_alias.
51900 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51901 "bp-asm.h".
51902 (PARMS): Do not use macros from bp-asm.h.
51903 (DEST): Likewise.
51904 (SRC): Likewise.
51905 (LEN): Likewise.
51906 (__stpncpy): Likewise. Do not use BP_SYM.
51907 (stpncpy): Do not use BP_SYM in weak_alias.
51908 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51909 (PARMS): Do not use macros from bp-asm.h.
51910 (STR): Likewise.
51911 (CHR): Likewise.
51912 (strchr): Likewise. Do not use BP_SYM.
51913 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51914 "bp-asm.h".
51915 (PARMS): Do not use macros from bp-asm.h.
51916 (STR): Likewise.
51917 (CHR): Likewise.
51918 (__strchrnul): Likewise. Do not use BP_SYM.
51919 (strchrnul): Do not use BP_SYM in weak_alias.
51920 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51921 "bp-asm.h".
51922 (PARMS): Do not use macros from bp-asm.h.
51923 (STOP): Likewise.
51924 (strcspn): Do not use BP_SYM.
51925 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51926 "bp-asm.h".
51927 (PARMS): Do not use macros from bp-asm.h.
51928 (STR): Likewise.
51929 (STOP): Likewise.
51930 (strpbrk): Likewise. Do not use BP_SYM.
51931 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51932 "bp-asm.h".
51933 (PARMS): Do not use macros from bp-asm.h.
51934 (STR): Likewise.
51935 (CHR): Likewise.
51936 (strrchr): Likewise. Do not use BP_SYM.
51937 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51938 (PARMS): Do not use macros from bp-asm.h.
51939 (SKIP): Likewise.
51940 (strspn): Do not use BP_SYM.
51941 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51942 (PARMS): Do not use macros from bp-asm.h.
51943 (STR): Likewise.
51944 (DELIM): Likewise.
51945 (SAVE): Likewise.
51946 (FUNCTION): Likewise. Do not use BP_SYM.
51947 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51948 aliases.
51949 (strtok_r): Likewise.
51950 (__GI___strtok_r): Likewise.
51951 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51952 (PARMS): Do not use macros from bp-asm.h.
51953 (S1): Likewise.
51954 (S2): Likewise.
51955 (SIZE): Likewise.
51956 (__mpn_sub_n): Do not use BP_SYM.
51957 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51958 "bp-asm.h".
51959 (PARMS): Do not use macros from bp-asm.h.
51960 (S1): Likewise.
51961 (SIZE): Likewise.
51962 (__mpn_submul_1): Do not use BP_SYM.
51963 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51964 <bp-sym.h>.
51965 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51966 and <bp-asm.h>.
51967 (PARMS): Do not use macros from bp-asm.h.
51968 (FLAGS): Likewise.
51969 (PTID): Likewise.
51970 (TLS): Likewise.
51971 (CTID): Likewise.
51972 (__clone): Do not use BP_SYM.
51973 (clone): Do not use BP_SYM in weak_alias.
51974 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51975 and <bp-asm.h>.
51976 (PARMS): Do not use macros from bp-asm.h.
51977 (LEN): Likewise.
51978 (__mmap64): Do not use BP_SYM.
51979 (mmap64): Do not use BP_SYM in weak_alias.
51980 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51981 <bp-sym.h> and <bp-asm.h>.
51982 (PARMS): Do not use macros from bp-asm.h.
51983 (__posix_fadvise64_l64): Do not use BP_SYM.
51984 * sysdeps/unix/sysv/linux/i386/semtimedop.S
51985 (PARMS): Do not use macros from bp-asm.h.
51986 (NSOPS): Likewise.
51987 (semtimedop): Do not use BP_SYM.
51988 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51989 and <bp-asm.h>.
51990
51991 2013-02-21 Allan McRae <allan@archlinux.org>
51992
51993 * manual/message.texi (Charset conversion in gettext):
51994 Move @end statement to beginning of line.
51995
51996 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
51997
51998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51999 static.
52000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52001 Likewise.
52002
52003 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
52004 (denorm): Likewise.
52005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
52006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
52007
52008 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52009
52010 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
52011 tail-call to the resolved function if pltexit isn't needed.
52012
52013 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
52014
52015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
52016 or Y being zero as being unlikely.
52017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52018 Likewise.
52019
52020 2013-02-20 Carlos O'Donell <carlos@redhat.com>
52021
52022 * manual/nss.texi (System Databases and Name Service Switch):
52023 Remove frobnicate @pxref.
52024
52025 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
52026
52027 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52028 __attribute__ ((unused)) to __attribute__ ((__unused__)).
52029
52030 2013-02-20 Petr Machata <pmachata@redhat.com>
52031
52032 * elf/elf.h (R_ARM_TARGET1): New macro.
52033 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
52034 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
52035 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
52036 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
52037 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
52038 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
52039 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
52040 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
52041 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52042 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
52043 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
52044 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
52045 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
52046 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
52047 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
52048 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
52049 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
52050 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
52051 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52052 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
52053 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
52054 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
52055 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
52056 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
52057 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
52058 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
52059 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
52060 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
52061 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
52062 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
52063 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
52064 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
52065 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
52066 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
52067 (R_ARM_THM_GOT_BREL12): Likewise.
52068 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
52069 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
52070 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52071 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
52072 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
52073 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
52074 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
52075 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
52076 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
52077
52078 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
52079
52080 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52081 __attribute_used__ to __attribute__ ((unused)).
52082
52083 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
52084
52085 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52086 powerpc mpa.c.
52087 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52088 comment formatting.
52089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52090
52091 2013-02-19 Joseph Myers <joseph@codesourcery.com>
52092
52093 [BZ #13550]
52094 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
52095 Remove macro.
52096 (ENTER): Remove both macro definitions.
52097 (LEAVE): Likewise.
52098 (CHECK_BOUNDS_LOW): Likewise.
52099 (CHECK_BOUNDS_HIGH): Likewise.
52100 (CHECK_BOUNDS_BOTH): Likewise.
52101 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
52102 (RETURN_BOUNDED_POINTER): Likewise.
52103 (RETURN_NULL_BOUNDED_POINTER): Likewise.
52104 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
52105 (POP_ERRNO_LOCATION_RETURN): Likewise.
52106 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
52107 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52108 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
52109 macros.
52110 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52111 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
52112 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
52113 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
52114 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
52115 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
52116 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
52117 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
52118 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
52119 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
52120 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
52121 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
52122 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52123 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
52124 removed macros.
52125 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52126 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
52127 macros.
52128 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52129 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
52130 * sysdeps/i386/i586/memset.S (memset): Likewise.
52131 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
52132 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52133 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
52134 macros.
52135 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52136 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
52137 Change uses of L(2) to L(out).
52138 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
52139 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
52140 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
52141 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52142 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
52143 removed macros.
52144 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52145 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
52146 macros.
52147 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52148 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
52149 (RETURN): Do not use macro LEAVE.
52150 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
52151 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
52152 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
52153 * sysdeps/i386/i686/memset.S (memset): Likewise.
52154 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
52155 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
52156 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52157 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
52158 Likewise.
52159 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52160 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
52161 L(1_2) and L(1_3) into L(1).
52162 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52163 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
52164 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52165 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
52166 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52167 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
52168 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
52169 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52170 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
52171 macros.
52172 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
52173 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52174 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
52175 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
52176 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
52177 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52178 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
52179 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
52180 * sysdeps/i386/strcspn.S (strcspn): Likewise.
52181 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
52182 * sysdeps/i386/strrchr.S (strrchr): Likewise.
52183 * sysdeps/i386/strspn.S (strspn): Likewise.
52184 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
52185 conditional code.
52186 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52187 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
52188 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52189 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
52190 L(1_3) into L(1_1).
52191 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
52192 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52193 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
52194 macros.
52195 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52196
52197 2013-02-19 Jakub Jelinek <jakub@redhat.com>
52198
52199 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
52200 macro.
52201
52202 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52203
52204 * math/atest-exp.c (exp_mpn): Remove ROUND.
52205 * math/atest-exp2.c (exp_mpn): Likewise.
52206 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52207
52208 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52209 * stdlib/tst-tls-atexit-lib.c: Likewise.
52210 * stdlib/tst-tls-atexit.c: Likewise.
52211
52212 2013-02-18 Mike Frysinger <vapier@gentoo.org>
52213
52214 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52215 and __attribute_alloc_size__.
52216
52217 2013-02-18 Mike Frysinger <vapier@gentoo.org>
52218
52219 * include/programs/xmalloc.h: Change __attribute_alloc_size to
52220 __attribute_alloc_size__.
52221 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52222 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52223
52224 2013-02-18 Mike Frysinger <vapier@gentoo.org>
52225
52226 * include/programs/xmalloc.h: New file.
52227 * catgets/gencat.c: Include it.
52228 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52229 * elf/pldd.c: Likewise.
52230 * iconv/iconv_charmap.c: Likewise.
52231 * iconv/iconvconfig.c: Likewise.
52232 * iconv/strtab.c: Likewise.
52233 * locale/programs/locale.c: Likewise.
52234 * locale/programs/localedef.h: Likewise.
52235 * locale/programs/simple-hash.c: Likewise.
52236 * nscd/nscd.h: Likewise.
52237 * nss/makedb.c: Likewise.
52238 * sysdeps/generic/ldconfig.h: Likewise.
52239
52240 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52241
52242 * Versions.def: Add GLIBC_2.18.
52243 * include/link.h (struct link_map): New member l_tls_dtor_count.
52244 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52245 (__call_tls_dtors): Likewise.
52246 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52247 __cxa_thread_atexit_impl.
52248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52249 Likewise.
52250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52251 Likewise.
52252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52253 Likewise.
52254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52255 Likewise.
52256 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52258 Likewise.
52259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52260 Likewise.
52261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52263 Likewise.
52264 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52265 (tests): Add test case tst-tls-atexit.
52266 (modules-names): Add shared library for tst-tls-atexit.
52267 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52268 (GLIBC_PRIVATE): Add __call_tls_dtors.
52269 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52270 for libstdc++.
52271 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52272 * stdlib/tst-tls-atexit.c: New test case.
52273 * stdlib/tst-tls-atexit-lib.c: New test case.
52274
52275 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52276
52277 * elf/Versions (ld): Add _dl_find_dso_for_object.
52278 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52279 * elf/dl-open.c (_dl_find_dso_for_object): New function.
52280 (dl_open_worker): Use _dl_find_dso_for_object.
52281 * elf/dl-sym.c (do_sym): Likewise.
52282 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52283
52284 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52285
52286 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52287 Syntactic changes only.
52288 (_dl_runtime_profile): Do a tail-call to the resolved function.
52289
52290 2013-02-17 Joseph Myers <joseph@codesourcery.com>
52291
52292 [BZ #13550]
52293 * sysdeps/x86_64/bp-asm.h: Remove file.
52294 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52295 <bp-sym.h> and <bp-asm.h>.
52296 (__clone): Do not use BP_SYM.
52297 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52298 <bp-sym.h> and <bp-asm.h>.
52299 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52300 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52301 "bp-asm.h".
52302 (_setjmp): Do not use BP_SYM.
52303 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52304 "bp-asm.h".
52305 (setjmp): Do not use BP_SYM.
52306 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52307 libc_hidden_def.
52308 (mempcpy): Do not use BP_SYM in weak_alias.
52309 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52310 "bp-asm.h".
52311 (strchr): Do not use BP_SYM.
52312 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52313 "bp-asm.h".
52314 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52315 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52316 (_start): Do not use BP_SYM.
52317 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52318 "bp-asm.h".
52319 (strcat): Do not use BP_SYM.
52320 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52321 "bp-asm.h".
52322 (STRCMP): Do not use BP_SYM.
52323 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52324 "bp-asm.h".
52325 (STRCPY): Do not use BP_SYM.
52326 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52327 "bp-asm.h".
52328 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52329 "bp-asm.h".
52330 (FUNCTION): Do not use BP_SYM.
52331 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52332 weak_alias.
52333 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52334
52335 2013-02-17 Andreas Jaeger <aj@suse.de>
52336
52337 * time/Versions: Sort entries.
52338 * string/Versions: Likewise.
52339 * resolv/Versions: Likewise.
52340 * posix/Versions: Likewise.
52341 * iconv/Versions: Likewise.
52342 * elf/Versions: Likewise.
52343 * wcsmbs/Versions: Likewise.
52344
52345 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52346
52347 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52348 loop termination condition.
52349
52350 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52351 variable to calculate EZ.
52352 (__sqr): Likewise.
52353
52354 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52355 the lower precision input.
52356
52357 2013-02-15 Joseph Myers <joseph@codesourcery.com>
52358
52359 [BZ #13550]
52360 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
52361 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
52362 (run-via-rtld-prefix): Do not handle %-bp tests.
52363 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
52364 (all-object-suffixes): Remove .ob.
52365 (bppfx): Remove variable.
52366 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
52367 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
52368 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
52369 [$(build-bounded) = yes] (libtype.ob): Likewise.
52370 * Makerules (elide-routines.ob): Remove variable.
52371 (do-tests-clean): Do not handle *-bp.out.
52372 (common-mostlyclean): Do not handle *-bp and *-bp.out.
52373 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
52374 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
52375 (tests): Do not include $(tests-bp.out).
52376 (xtests): Do not include $(xtests-bp.out).
52377 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
52378 [$(build-bounded) = yes] ($(addprefix
52379 $(objpfx),$(binaries-bounded))): Remove rule.
52380 ($(objpfx)%-bp.out): Remove rule.
52381 * config.make.in (build-bounded): Remove variable.
52382 * crypt/Makefile [$(build-bounded) = yes]
52383 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
52384 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
52385 append to variable.
52386 [$(build-bounded) = yes] (install-lib): Likewise.
52387 [$(build-bounded) = yes] (generated): Likewise.
52388 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
52389 Remove rule.
52390 * intl/Makefile [$(build-bounded) = yes]
52391 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
52392 * math/Makefile [$(build-bounded) = yes]
52393 ($(tests:%=$(objpfx)%-bp): Likewise.
52394 * misc/Makefile [$(build-bounded) = yes]
52395 ($(objpfx)tst-tsearch-bp): Likewise.
52396 * nptl/Makeconfig (bounded-thread-library): Remove variable.
52397 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
52398 Remove dependency.
52399 * string/Makefile (o-objects.ob): Remove variable.
52400 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
52401 (CFLAGS-.ob): Remove variable.
52402 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52403 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
52404 both definitions of variable.
52405 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
52406 (ASFLAGS-.ob): Remove variable.
52407
52408 2013-02-14 Joseph Myers <joseph@codesourcery.com>
52409
52410 [BZ #13550]
52411 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
52412 Remove __BOUNDED_POINTERS__ from condition.
52413 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
52414 * string/bits/string2.h [!__NO_STRING_INLINES &&
52415 !__BOUNDED_POINTERS__]: Likewise.
52416 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
52417 Likewise.
52418 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
52419 Remove conditional code.
52420 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
52421 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
52422 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
52423 condition.
52424
52425 [BZ #13550]
52426 * csu/libc-start.c: Do not include <bp-sym.h>.
52427 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
52428 * elf/dl-open.c: Do not include <bp-sym.h>.
52429 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
52430 * math/fegetenv.c: Do not include <bp-sym.h>.
52431 (fegetenv): Do not use BP_SYM in versioned symbols.
52432 * nptl/sysdeps/pthread/bits/libc-lockP.h
52433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
52434 <bp-sym.h>.
52435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52436 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
52437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52438 (__pthread_mutex_destroy): Likewise.
52439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52440 (__pthread_mutex_lock): Likewise.
52441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52442 (__pthread_mutex_trylock): Likewise.
52443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52444 (__pthread_mutex_unlock): Likewise.
52445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52446 (__pthread_mutexattr_init): Likewise.
52447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52448 (__pthread_mutexattr_destroy): Likewise.
52449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52450 (__pthread_mutexattr_settype): Likewise.
52451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52452 (__pthread_rwlock_init): Likewise.
52453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52454 (__pthread_rwlock_destroy): Likewise.
52455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52456 (__pthread_rwlock_rdlock): Likewise.
52457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52458 (__pthread_rwlock_tryrdlock): Likewise.
52459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52460 (__pthread_rwlock_wrlock): Likewise.
52461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52462 (__pthread_rwlock_trywrlock): Likewise.
52463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52464 (__pthread_rwlock_unlock): Likewise.
52465 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52466 (__pthread_key_create): Likewise.
52467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52468 (__pthread_setspecific): Likewise.
52469 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52470 (__pthread_getspecific): Likewise.
52471 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52472 Likewise.
52473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52474 (_pthread_cleanup_push_defer): Likewise.
52475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52476 (_pthread_cleanup_pop_restore): Likewise.
52477 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52478 (pthread_setcancelstate): Likewise.
52479 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52480 <bp-sym.h>.
52481 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52482 (memchr): Do not use BP_SYM in weak_alias.
52483 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52484 (fegetenv): Do not use BP_SYM in versioned symbols.
52485 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52486 (fesetenv): Do not use BP_SYM in versioned symbols.
52487 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52488 (feupdateenv): Do not use BP_SYM in versioned symbols.
52489 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52490 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52491 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52492 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52493 (open64): Do not use BP_SYM in weak_alias.
52494 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52495 (fegetenv): Do not use BP_SYM in versioned symbols.
52496 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52497 (fesetenv): Do not use BP_SYM in versioned symbols.
52498 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52499 (feupdateenv): Do not use BP_SYM in versioned symbols.
52500 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52501 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52502 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52503 (feraiseexcept): Do not use BP_SYM in versioned symbols.
52504 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52505 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52506 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52507 <bp-sym.h>.
52508 (__libc_start_main): Do not use BP_SYM.
52509
52510 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
52511
52512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52513 redundant return line.
52514 (norm): Likewise.
52515 (denorm): Likewise.
52516 (dbl_mp): Likewise.
52517 (sub_magnitudes): Likewise.
52518 (__add): Likewise.
52519 (__sub): Likewise.
52520 (__mul): Likewise.
52521 (__inv): Likewise.
52522 (__dvd): Likewise.
52523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52524 (norm): Likewise.
52525 (denorm): Likewise.
52526 (dbl_mp): Likewise.
52527 (sub_magnitudes): Likewise.
52528 (__add): Likewise.
52529 (__sub): Likewise.
52530 (__mul): Likewise.
52531 (__inv): Likewise.
52532 (__dvd): Likewise.
52533
52534 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52535 instead of __mul.
52536 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52537 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52538 (cc32): Likewise.
52539
52540 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52541 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52542 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52543 of __mul for squares.
52544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52545 function
52546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52547 Likewise.
52548 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52549 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52550
52551 2013-02-13 Joseph Myers <joseph@codesourcery.com>
52552
52553 [BZ #13550]
52554 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52555 code.
52556 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52557 prototype or function definition. Rename ubp_* variables and
52558 parameters. Remove argv definitions conditional on
52559 [__BOUNDED_POINTERS__].
52560 * debug/backtrace.c (__backtrace): Do not use __unbounded.
52561 * elf/dl-runtime.c (_dl_fixup): Likewise.
52562 * include/set-hooks.h (RUN_HOOK): Likewise.
52563 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52564 definition.
52565 * string/strcpy.c (strcpy): Do not use __unbounded.
52566 * sysdeps/generic/frame.h (struct layout): Likewise.
52567 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52568 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52569 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52570 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52571 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52572 (__backtrace): Likewise.
52573 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52574 use __ptrvalue.
52575 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52576 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52577 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52578 Likewise.
52579 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52580 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52581 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52582 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52583 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52584 Do not use __unbounded.
52585 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52586 Rename __unboundedrlimits parameter to rlimits in prototype.
52587 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52588 Do not use __unbounded.
52589 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52590 not use __ptrvalue.
52591 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52592 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52593 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52594 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52595 __ptrvalue or __unbounded.
52596 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52597 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52598 use __unbounded.
52599 (__new_msgctl): Do not use __ptrvalue.
52600 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52601 __unbounded.
52602 (__libc_msgrcv): Do not use __ptrvalue.
52603 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52604 startup_info): Do not use __unbounded.
52605 (__libc_start_main): Likewise. Rename ubp_* variables and
52606 parameters. Remove argv definitions conditional on
52607 [__BOUNDED_POINTERS__].
52608 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52609 __ptrvalue.
52610 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52611 use __unbounded.
52612 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52613 or __ptrvalue.
52614 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52615 use __unbounded.
52616 (__new_shmctl): Do not use __ptrvalue.
52617 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52618 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52619 Likewise.
52620 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52621 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52622 (__libc_sigaction): Likewise.
52623 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52624 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52625 Likewise.
52626 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52627
52628 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
52629
52630 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52631
52632 * string/mempcpy.c: Implement by calling memcpy.
52633
52634 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
52635
52636 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52637
52638 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52639 evaluation.
52640
52641 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52642 values in the mantissa.
52643
52644 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52645 minimize writes to Z.
52646 (sub_magnitudes): Simplify code a bit.
52647
52648 2013-02-12 Roland McGrath <roland@hack.frob.com>
52649
52650 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52651 from the message. The linker prefixes all warnings with that already.
52652
52653 2013-02-12 Andreas Schwab <schwab@suse.de>
52654
52655 [BZ #15078]
52656 * posix/regexec.c (extend_buffers): Add parameter min_len.
52657 (check_matching): Pass minimum needed length.
52658 (clean_state_log_if_needed): Likewise.
52659 (get_subexp): Likewise.
52660 * posix/Makefile (tests): Add bug-regex34.
52661 (bug-regex34-ENV): Define.
52662 * posix/bug-regex34.c: New file.
52663
52664 [BZ #11561]
52665 * posix/regcomp.c (parse_bracket_exp): When looking up collating
52666 elements compare against the byte sequence of it, not its name.
52667 * posix/Makefile (tests): Add bug-regex35.
52668 (bug-regex35-ENV): Define.
52669 * posix/bug-regex35.c: New file.
52670
52671 2013-02-11 Tom de Vries <tom@codesourcery.com>
52672
52673 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
52674 comment.
52675 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52676 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52677 (CHECK_EOL): Add undef.
52678
52679 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
52680
52681 * bits/stdlib-bsearch.h: New file.
52682 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52683 * stdlib/stdlib.h: Likewise.
52684
52685 2013-02-11 Roland McGrath <roland@hack.frob.com>
52686
52687 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52688 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52689 declaration.
52690 * manual/search.texi (Array Search Function): Add missing const in
52691 lfind prototype.
52692 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52693 declaration to use rlim_t.
52694 (Basic Scheduling Functions): Remove erroneous const from
52695 sched_getparam prototype. Remove erroneous * from
52696 sched_get_priority_max and sched_get_priority_min prototypes.
52697 (Resource Usage): Fix summary @comment on vtimes to refer to
52698 sys/vtimes.h rather than vtimes.h.
52699 Add missing *s in vtimes prototype.
52700 (Limits on Resources): Fix ulimit prototype to return long int.
52701 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52702 prototypes to use long int rather than double.
52703 (BSD Random): Fix initstate and setstate to use char *, not void *.
52704 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52705 prototype to make second argument 'struct aiocb64 *const[]'.
52706 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52707 (Status of AIO Operations): Remove erroneous const in aio_return and
52708 aio_return64 prototypes.
52709 (Synchronizing I/O): Fix sync prototype to return void.
52710 * manual/startup.texi (Suboptions): Remove an erroneous const in
52711 getsubopt prototype.
52712 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52713 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52714 use size_t rather than int.
52715 (Scanning All Users): Likewise for getpwent_r.
52716 (Setting Groups): Add missing const to setgroups prototype.
52717 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52718 * manual/socket.texi (Host Names): Fix gethostbyaddr and
52719 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52720 'const void *' rather than 'const char *'.
52721 (Host Address Functions): Likewise for inet_ntop.
52722 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52723 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52724 ssize_t for return value.
52725 (Sending Data): Likewise for send, sendto, sendmsg.
52726 (Socket Option Functions): Add a missing const in setsockopt prototype.
52727 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52728 use wchar_t for the argument.
52729 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52730 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52731 take no arguments.
52732 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52733 double/float/long double for second argument.
52734 Fix return types of significand, significandf, significandl.
52735 * manual/filesys.texi (Setting Permissions): Use mode_t for second
52736 argument in fchmod prototype.
52737 (File Owner): Use uid_t and gid_t in fchown prototype.
52738 (File Times): Add const to utimes, futimes, and lutimes prototypes.
52739 (Making Special Files): Use mode_t and dev_t in mknod prototype.
52740 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52741 use 'const struct dirent **' as argument types to CMP function pointer
52742 argument.
52743 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52744 (File Times): Fix summary magic @comment for struct utimbuf and utime
52745 to refer to utime.h, not time.h.
52746 * manual/string.texi (Argz Functions): Add missing const in
52747 argz_extract and argz_next prototypes.
52748 (Finding Tokens in a String): Likewise for basename.
52749 (String/Array Comparison): Fix typo in wcscasecmp prototype.
52750 (Copying and Concatenation): Fix typo in wmemmove prototype.
52751 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52752 (Signal Stack): Remove erroneous const in sigstack prototype.
52753 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52754 prototype.
52755 (Simple Calendar Time): Likewise for stime.
52756 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52757 prototype.
52758 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52759 say sys/sysctl.h instead.
52760 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52761 and vsyslog prototypes.
52762
52763 2013-02-11 Tom de Vries <tom@codesourcery.com>
52764
52765 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52766 Remove.
52767
52768 2013-02-11 Roland McGrath <roland@hack.frob.com>
52769
52770 * misc/sys/mman.h: Fix typo in mremap comment.
52771
52772 2013-02-08 Roland McGrath <roland@hack.frob.com>
52773
52774 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52775 the '\0' terminator.
52776
52777 2013-02-08 Joseph Myers <joseph@codesourcery.com>
52778
52779 [BZ #13550]
52780 * debug/segfault.c: Don't include <bp-checks.h>.
52781 * sysdeps/generic/bp-checks.h: Remove file.
52782 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52783 (__GETDENTS): Don't use CHECK_N.
52784 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52785 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52786 (__getgroups): Don't use CHECK_N.
52787 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52788 (setgroups): Don't use CHECK_N.
52789 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52790 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52791 (__libc_msgrcv): Don't use CHECK_N.
52792 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52793 (__libc_msgsnd): Don't use CHECK_N.
52794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52795 <bp-checks.h>.
52796 (__libc_pread): Don't use CHECK_N.
52797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52798 include <bp-checks.h>.
52799 (__libc_pread64): Don't use CHECK_N.
52800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52801 include <bp-checks.h>.
52802 (__libc_pwrite): Don't use CHECK_N.
52803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52804 include <bp-checks.h>.
52805 (__libc_pwrite64): Don't use CHECK_N.
52806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52807 <bp-checks.h>.
52808 (__libc_pread): Don't use CHECK_N.
52809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52810 include <bp-checks.h>.
52811 (__libc_pread64): Don't use CHECK_N.
52812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52813 include <bp-checks.h>.
52814 (__libc_pwrite): Don't use CHECK_N.
52815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52816 include <bp-checks.h>.
52817 (__libc_pwrite64): Don't use CHECK_N.
52818 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52819 (do_pread): Don't use CHECK_N.
52820 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52821 (do_pread64): Don't use CHECK_N.
52822 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52823 (do_pwrite): Don't use CHECK_N.
52824 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52825 (do_pwrite64): Don't use CHECK_N.
52826 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52827 (__libc_readv): Don't use CHECK_N.
52828 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52829 (semop): Don't use CHECK_N.
52830 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52831 <bp-checks.h>.
52832 (semtimedop): Don't use CHECK_N.
52833 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52834 (__libc_pread): Don't use CHECK_N.
52835 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52836 <bp-checks.h>.
52837 (__libc_pread64): Don't use CHECK_N.
52838 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52839 <bp-checks.h>.
52840 (__libc_pwrite): Don't use CHECK_N.
52841 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52842 <bp-checks.h>.
52843 (__libc_pwrite64): Don't use CHECK_N.
52844 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52845 <bp-checks.h>.
52846 (__libc_msgrcv): Don't use CHECK_N.
52847 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52848 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
52849 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52850 (__libc_writev): Don't use CHECK_N.
52851
52852 2013-02-08 Roland McGrath <roland@hack.frob.com>
52853
52854 * string/strcpy.c: Removed unused variable.
52855
52856 * Makeconfig (+sysdep-includes): Define with := rather than =.
52857 Use an existing include/ subdir of each sysdeps dir before it.
52858
52859 2013-02-08 Carlos O'Donell <carlos@redhat.com>
52860
52861 * nscd/connection.c (register_traced_file): Comment function.
52862 [HAVE_INOTIFY] (union __inev): Define.
52863 [HAVE_INOTIFY] (inotify_check_files): New function.
52864 [HAVE_INOTIFY] (clear_db_cache): Likewise.
52865 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52866 clear_db_cache.
52867 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52868
52869 2013-02-08 Carlos O'Donell <carlos@redhat.com>
52870
52871 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52872 loaded if not already and that a failure is permanent.
52873
52874 2013-02-08 Carlos O'Donell <carlos@redhat.com>
52875
52876 [BZ #15006]
52877 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52878 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52879
52880 2013-02-08 Joseph Myers <joseph@codesourcery.com>
52881
52882 [BZ #13550]
52883 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52884 (CHECK_1_NULL_OK): Likewise.
52885 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52886 (__fxstat): Do not use CHECK_1.
52887 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52888 <bp-checks.h>.
52889 (___fxstat64): Do not use CHECK_1.
52890 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52891 <bp-checks.h>.
52892 (__fxstatat): Do not use CHECK_1.
52893 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52894 <bp-checks.h>.
52895 (__fxstatat64): Do not use CHECK_1.
52896 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52897 <bp-checks.h>.
52898 (__fxstat): Do not use CHECK_1.
52899 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52900 <bp-checks.h>.
52901 (__fxstatat): Do not use CHECK_1.
52902 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52903 <bp-checks.h>.
52904 (__getresgid): Do not use CHECK_1.
52905 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52906 <bp-checks.h>.
52907 (__getresuid): Do not use CHECK_1.
52908 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52909 <bp-checks.h>.
52910 (__lxstat): Do not use CHECK_1.
52911 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52912 <bp-checks.h>.
52913 (__old_msgctl): Do not use CHECK_1.
52914 (__new_msgctl): Likewise.
52915 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52916 <bp-checks.h>.
52917 (__new_setrlimit): Do not use CHECK_1.
52918 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52919 <bp-checks.h>.
52920 (__old_shmctl): Do not use CHECK_1.
52921 (__new_shmctl): Likewise.
52922 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52923 <bp-checks.h>.
52924 (__xstat): Do not use CHECK_1.
52925 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52926 (__lxstat): Do not use CHECK_1.
52927 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52928 <bp-checks.h>.
52929 (___lxstat64): Do not use CHECK_1.
52930 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52931 (__old_msgctl): Do not use CHECK_1.
52932 (__new_msgctl): Likewise.
52933 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52934 <bp-checks.h>.
52935 (__gettimeofday): Do not use CHECK_1.
52936 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52937 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52938 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52939 <bp-checks.h>.
52940 (__gettimeofday): Do not use CHECK_1.
52941 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52942 (__old_shmctl): Do not use CHECK_1_NULL_OK.
52943 (__new_shmctl): Do not use CHECK_1.
52944 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52945 <bp-checks.h>.
52946 (do_sigtimedwait): Do not use CHECK_1.
52947 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52948 <bp-checks.h>.
52949 (do_sigwaitinfo): Do not use CHECK_1.
52950 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52951 <bp-checks.h>.
52952 (msgctl): Do not use CHECK_1.
52953 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52954 <bp-checks.h>.
52955 (shmctl): Do not use CHECK_1.
52956 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52957 (ustat): Do not use CHECK_1.
52958 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52959 <bp-checks.h>.
52960 (__fxstat): Do not use CHECK_1.
52961 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52962 <bp-checks.h>.
52963 (__fxstatat): Do not use CHECK_1.
52964 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52965 <bp-checks.h>.
52966 (__lxstat): Do not use CHECK_1.
52967 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52968 <bp-checks.h>.
52969 (__xstat): Do not use CHECK_1.
52970 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52971 (__xstat): Do not use CHECK_1.
52972 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52973 (___xstat64): Do not use CHECK_1.
52974
52975 [BZ #13550]
52976 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52977 definitions.
52978 (CHECK_BOUNDS_HIGH): Likewise.
52979 * string/strcpy.c: Do not include <bp-checks.h>.
52980 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52981
52982 2013-02-07 Roland McGrath <roland@hack.frob.com>
52983
52984 * nscd/nscd-client.h (__nscd_drop_map_ref):
52985 Add __attribute__ ((unused)).
52986 * nis/nss-nisplus.h (niserr2nss): Likewise.
52987
52988 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52989 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52990
52991 * csu/libc-tls.c (init_static_tls, init_slotinfo):
52992 Remove inline keyword.
52993 * include/rounding-mode.h (round_away): Likewise.
52994 * libio/wfileops.c (adjust_wide_data): Likewise.
52995 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52996 (__m128i_strloadu_tolower): Likewise.
52997 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52998 (__m128i_strloadu_tolower): Likewise.
52999 * time/mktime.c (ydhms_diff): Likewise.
53000 * locale/elem-hash.h (elem_hash): Likewise.
53001 * locale/setlocale.c (setdata): Likewise.
53002 * posix/regex_internal.h (re_string_char_size_at): Likewise.
53003 (re_string_wchar_at): Likewise.
53004 (bitset_not, bitset_merge, bitset_mask): Likewise.
53005 [!(__GNUC__ > 3)] (inline): Remove macro.
53006 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
53007 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
53008 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
53009 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
53010 * string/memcmp.c (memcmp_bytes): Likewise.
53011 * locale/programs/locarchive.c (compute_hashval): Likewise.
53012 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
53013 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
53014 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
53015 * nss/getent.c (print_rpc, print_protocols): Likewise.
53016 (print_passwd, print_group, print_aliases): Likewise.
53017 * nis/nss-nisplus.h (niserr2nss): Likewise.
53018 * nscd/connections.c (restart_p): Likewise.
53019 Change return type to bool.
53020
53021 2013-02-05 Roland McGrath <roland@hack.frob.com>
53022
53023 * Makeconfig (all-Depend-files): Add existing
53024 $(sorted-subdirs:=/Depend) files.
53025 (all-subdirs): Remove nss.
53026 * sysdeps/unix/inet/Subdirs: Add it here instead.
53027 * hesiod/Depend: New file.
53028
53029 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
53030 instead of calling alloca.
53031
53032 * io/lseek.c (__lseek): Rename to __libc_lseek.
53033 Define __lseek as an alias.
53034
53035 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
53036
53037 2013-02-04 Carlos O'Donell <carlos@redhat.com>
53038
53039 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
53040 else clause and remove check for non-standard endianness.
53041
53042 2013-02-04 David S. Miller <davem@davemloft.net>
53043
53044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53045
53046 2013-02-04 Joseph Myers <joseph@codesourcery.com>
53047
53048 [BZ #13550]
53049 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
53050 (__ubp_memchr): Remove prototype.
53051 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
53052 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53053 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
53054 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53055 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
53056 Remove alias.
53057 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
53058 (__ubp_memchr): Likewise.
53059 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
53060 (__ubp_memchr): Likewise.
53061 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
53062 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
53063 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
53064 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
53065 CHECK_STRING.
53066 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53067 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
53068 (__getcwd): Do not use CHECK_STRING.
53069 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53070 <bp-checks.h>.
53071 (__real_chown): Do not use CHECK_STRING.
53072 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
53073 <bp-checks.h>.
53074 (fchownat): Do not use CHECK_STRING.
53075 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
53076 CHECK_STRING.
53077 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53078 <bp-checks.h>.
53079 (__lchown): Do not use CHECK_STRING.
53080 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53081 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53082 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53083 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53085 include <bp-checks.h>.
53086 (truncate64): Do not use CHECK_STRING.
53087 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53088 <bp-checks.h>.
53089 (__real_chown): Do not use CHECK_STRING.
53090 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53091 <bp-checks.h>.
53092 (__lchown): Do not use CHECK_STRING.
53093 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53094 <bp-checks.h>.
53095 (__chown): Do not use CHECK_STRING.
53096 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
53097 <bp-checks.h>.
53098 (truncate64): Do not use CHECK_STRING.
53099 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
53100 Likewise.
53101 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
53102 (__xmknod): Do not use CHECK_STRING.
53103 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
53104 <bp-checks.h>.
53105 (__xmknodat): Do not use CHECK_STRING.
53106 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53107 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
53108
53109 2013-02-04 Andreas Schwab <schwab@suse.de>
53110
53111 [BZ #14142]
53112 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
53113 * include/netdb.h: Likewise for h_errno.
53114 * elf/tst-stackguard1.c: Include <tls.h>.
53115
53116 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
53117
53118 * elf/link.h (struct link_map): Extend the l_addr comment.
53119 * include/link.h (struct link_map): Likewise.
53120
53121 2013-02-01 Joseph Myers <joseph@codesourcery.com>
53122
53123 [BZ #13550]
53124 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
53125 (BOUNDED_1): Remove macro.
53126 * debug/backtrace.c: Don't include <bp-checks.h>.
53127 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
53128 (__backtrace): Likewise.
53129 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
53130 <bp-checks.h>.
53131 (__backtrace): Don't use BOUNDED_1.
53132 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
53133 <bp-checks.h>.
53134 (__backtrace): Don't use BOUNDED_1.
53135 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
53136 (__backtrace): Don't use BOUNDED_1.
53137 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
53138 (shmat): Don't use BOUNDED_N.
53139
53140 2013-01-31 Joseph Myers <joseph@codesourcery.com>
53141
53142 [BZ #13550]
53143 * sysdeps/generic/bp-start.h: Remove file.
53144 * csu/libc-start.c: Don't include <bp-start.h>.
53145 (LIBC_START_MAIN): Set up __environ directly instead of using
53146 INIT_ARGV_and_ENVIRON.
53147 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
53148 <bp-start.h>.
53149
53150 [BZ #13550]
53151 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
53152 definitions.
53153 (CHECK_FCNTL): Likewise.
53154 (CHECK_N_PAGES): Likewise.
53155
53156 [BZ #13550]
53157 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
53158 definitions.
53159 (CHECK_SIGSET_NULL_OK): Likewise.
53160 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
53161 <bp-checks.h>.
53162 (sigpending): Don't use CHECK_SIGSET.
53163 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
53164 <bp-checks.h>.
53165 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53166 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
53167 <bp-checks.h>.
53168 (do_sigsuspend): Don't use CHECK_SIGSET.
53169 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
53170 use CHECK_SIGSET.
53171 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
53172 (do_sigwait): Don't use CHECK_SIGSET.
53173 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
53174 use CHECK_SIGSET.
53175 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
53176 include <bp-checks.h>.
53177 (sigpending): Don't use CHECK_SIGSET.
53178 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
53179 include <bp-checks.h>.
53180 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53181 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
53182 <bp-checks.h>.
53183 (sigpending): Don't use CHECK_SIGSET.
53184 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
53185 <bp-checks.h>.
53186 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53187
53188 [BZ #13550]
53189 * sysdeps/generic/bp-semctl.h: Remove file.
53190 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
53191 <bp-checks.h> and <bp-semctl.h>.
53192 (__old_semctl): Don't use CHECK_SEMCTL.
53193 (__new_semctl): Likewise.
53194 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
53195 and <bp-semctl.h>.
53196 (__old_semctl): Don't use CHECK_SEMCTL.
53197 (__new_semctl): Likewise.
53198 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
53199 <bp-checks.h> and <bp-semctl.h>.
53200 (__old_semctl): Don't use CHECK_SEMCTL.
53201 (__new_semctl): Likewise.
53202 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
53203 <bp-checks.h> and <bp-semctl.h>.
53204 (semctl): Don't use CHECK_SEMCTL.
53205
53206 [BZ #13550]
53207 * Makerules (elide-bp-thunks): Remove variable.
53208 (elide-routines.oS): Don't use $(elide-bp-thunks).
53209 (elide-routines.os): Likewise.
53210 (elide-routines.o): Likewise.
53211 (elide-routines.op): Likewise.
53212 (elide-routines.og): Likewise.
53213 (objects): Don't use $(bp-thunks).
53214 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53215 include.
53216 (common-generated): Do not add s-proto-bp.d.
53217 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53218 (int): Likewise.
53219 (typ): Likewise.
53220 Do not generate makefile rules for bounded-pointer thunks.
53221 * sysdeps/generic/bp-thunks.h: Remove file.
53222 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53223 * sysdeps/unix/s-proto-bp.S: Likewise.
53224
53225 [BZ #15062]
53226 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53227 parts of result separately when argument is not close to line from
53228 -i to i and one part of argument is small.
53229 * math/k_casinhf.c (__kernel_casinhf): Likewise.
53230 * math/k_casinhl.c (__kernel_casinhl): Likewise.
53231 * math/libm-test.inc (cacos_test): Add more tests.
53232 (casin_test): Likewise.
53233 (casinh_test): Likewise.
53234 * sysdeps/i386/fpu/libm-test-ulps: Update.
53235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53236
53237 2013-01-31 David S. Miller <davem@davemloft.net>
53238
53239 * po/de.po: Update from translation team.
53240
53241 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
53242
53243 * time/tzfile.c: Include stdint.h for SIZE_MAX.
53244
53245 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
53246
53247 * configure.in (_AC_PROG_CC_C89): New definition.
53248 * configure: Regenerate.
53249
53250 * configure.in (AC_PROG_CPP): New definition.
53251 * configure: Regenerate.
53252
53253 2013-01-23 Joseph Myers <joseph@codesourcery.com>
53254
53255 * debug/tst-backtrace.h: New file.
53256 * debug/tst-backtrace2.c: Include tst-backtrace.h.
53257 (ret): Remove variable.
53258 (x): Likewise.
53259 (FAIL): Remove macro.
53260 (NO_INLINE): Likewise.
53261 (fn1): Use match function instead of strstr.
53262 * debug/tst-backtrace3.c: Include tst-backtrace.h.
53263 (ret): Remove variable.
53264 (x): Likewise.
53265 (FAIL): Remove macro.
53266 (NO_INLINE): Likewise.
53267 (fn): Use match function instead of strstr.
53268 * debug/tst-backtrace4.c: Include tst-backtrace.h.
53269 (ret): Remove variable.
53270 (x): Likewise.
53271 (FAIL): Remove macro.
53272 (NO_INLINE): Likewise.
53273 (handle_signal): Use match function instead of strstr.
53274 * debug/tst-backtrace5.c: Include tst-backtrace.h.
53275 (ret): Remove variable.
53276 (x): Likewise.
53277 (FAIL): Remove macro.
53278 (NO_INLINE): Likewise.
53279 (handle_signal): Use match function instead of strstr.
53280
53281 2013-01-23 Roland McGrath <roland@hack.frob.com>
53282
53283 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53284
53285 2013-01-23 David S. Miller <davem@davemloft.net>
53286
53287 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53288 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53289 argument of CAS if possible.
53290 * sysdeps/sparc/sparc64/bits/atomic.h
53291 (__arch_compare_and_exchange_val_32_acq): Likewise.
53292 (__arch_compare_and_exchange_val_64_acq): Likewise.
53293
53294 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
53295
53296 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53297 * sysdeps/posix/ulimit.c: ... this.
53298 Include <limits.h>.
53299 * sysdeps/unix/bsd/ulimit.c: Remove file.
53300
53301 2013-01-23 Adam Conrad <adconrad@0c3.net>
53302
53303 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53304 (LDFLAGS-tst-array5): Likewise.
53305
53306 2013-01-23 Joseph Myers <joseph@codesourcery.com>
53307
53308 [BZ #15036]
53309 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53310 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53311 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53312 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53313
53314 2013-01-21 David S. Miller <davem@davemloft.net>
53315
53316 * sysdeps/sparc/backtrace.c: New file.
53317 * sysdeps/sparc/sparc32/backtrace.h: New file.
53318 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53319 * sysdeps/sparc/sparc64/backtrace.h: New file.
53320 * sysdeps/sparc/sparc64/backtrace.c: Delete.
53321 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53322 -funwind-tables.
53323
53324 2013-01-21 Andreas Schwab <schwab@suse.de>
53325
53326 [BZ #15020]
53327 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53328 closed its stdout.
53329
53330 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
53331
53332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53333 "mpa2.h".
53334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53335
53336 2013-01-18 Joseph Myers <joseph@codesourcery.com>
53337 Mark Mitchell <mark@codesourcery.com>
53338 Tom de Vries <tom@codesourcery.com>
53339 Paul Pluzhnikov <ppluzhnikov@google.com>
53340
53341 * debug/tst-backtrace2.c: New file.
53342 * debug/tst-backtrace3.c: Likewise.
53343 * debug/tst-backtrace4.c: Likewise.
53344 * debug/tst-backtrace5.c: Likewise.
53345 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53346 (CFLAGS-tst-backtrace3.c): Likewise.
53347 (CFLAGS-tst-backtrace4.c): Likewise.
53348 (CFLAGS-tst-backtrace5.c): Likewise.
53349 (LDFLAGS-tst-backtrace2): Likewise.
53350 (LDFLAGS-tst-backtrace3): Likewise.
53351 (LDFLAGS-tst-backtrace4): Likewise.
53352 (LDFLAGS-tst-backtrace5): Likewise.
53353 (tests): Add new tests tst-backtrace2, tst-backtrace3,
53354 tst-backtrace4 and tst-backtrace5.
53355
53356 2013-01-18 Anton Blanchard <anton@samba.org>
53357 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53358
53359 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
53360 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
53361 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
53362 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53364 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
53365 "+r" and remove output regs list as redundant. Add explicit inline
53366 asm to specify register of return val to work around compiler codegen
53367 bug. Remove (int) cast on return value. Add return type parameter to
53368 use in macro so that this macro does not truncate return value for
53369 64-bit values.
53370 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
53371 pass to INTERNAL_VSYSCALL_NCS.
53372 (INLINE_VSYSCALL): Add 'long int' as return type to
53373 INTERNAL_VSYSCALL_NCS macro invocation.
53374 (INTERNAL_VSYSCALL): Add 'long int' as return type to
53375 INTERNAL_VSYSCALL_NCS macro invocation.
53376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53377
53378 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
53379
53380 [BZ #14496]
53381 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53382 Fix application of SIMD FP exception mask.
53383
53384 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
53385 mp_no from a power of two.
53386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
53387 __mpexp_twomm1. Use __pow_mp.
53388
53389 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
53390 multiplication.
53391
53392 2013-01-17 David S. Miller <davem@davemloft.net>
53393
53394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53395
53396 2013-01-17 Joseph Myers <joseph@codesourcery.com>
53397
53398 [BZ #15023]
53399 * include/complex.h: Condition contents on [!_COMPLEX_H].
53400 (__kernel_casinhf): New prototype.
53401 (__kernel_casinh): Likewise.
53402 (__kernel_casinhl): Likewise.
53403 * math/Makefile (libm_calls): Add k_casinh.
53404 * math/k_casinh.c: New file.
53405 * math/k_casinhf.c: Likewise.
53406 * math/k_casinhl.c: Likewise.
53407 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53408 finite nonzero arguments.
53409 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
53410 finite nonzero arguments.
53411 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
53412 finite nonzero arguments.
53413 * math/s_casinh.c: Do not include <float.h>.
53414 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
53415 * math/s_casinhf.c: Do not include <float.h>.
53416 (__casinhf): Move code for finite nonzero arguments to
53417 k_casinhf.c.
53418 * math/s_casinhl.c: Do not include <float.h>.
53419 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
53420 redefine.
53421 (__casinhl): Move code for finite nonzero arguments to
53422 k_casinhl.c.
53423 * math/libm-test.inc (cacos_test): Add more tests.
53424 * sysdeps/i386/fpu/libm-test-ulps: Update.
53425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53426
53427 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
53428
53429 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
53430 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
53431 [!HAVE_MREMAP]: Remove [defined linux] case.
53432 * malloc/arena.c: Do not include <malloc-sysdep.h>.
53433
53434 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
53435
53436 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
53437
53438 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
53439
53440 * elf/elf.h (R_386_SIZE32): New relocation.
53441 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
53442 R_386_SIZE32.
53443 (elf_machine_rela): Likewise.
53444 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53445 R_X86_64_SIZE64 and R_X86_64_SIZE32.
53446
53447 2013-01-17 Joseph Myers <joseph@codesourcery.com>
53448
53449 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
53450 (FP_FAST_FMA): Do not define.
53451 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
53452 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53453 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53454 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53455 !_SOFT_FLOAT]: Likewise.
53456 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53457 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53458 value.
53459 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53460 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53461 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53462 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53463 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53464 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53465 file.
53466
53467 2013-01-16 Andreas Schwab <schwab@suse.de>
53468
53469 [BZ #14327]
53470 * include/stdlib.h (__mktemp): Add declaration.
53471 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53472 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53473
53474 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
53475
53476 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53477 definitions.
53478 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53479 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53480 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53481 definitions here.
53482 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53483 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53484 definitions.
53485 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53486 and ONE.
53487 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53488 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53489 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53490 definitions.
53491 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53492 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53493 definitions.
53494 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53495
53496 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53497
53498 2013-01-15 David S. Miller <davem@davemloft.net>
53499
53500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53501 trunc{,f} to libm-sysdep_routes.
53502 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53504 file.
53505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53507 file.
53508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53509 file.
53510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53512 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53513 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53514 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53515 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53516 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53517 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53518
53519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53520 nearbyint{,f} to libm-sysdep_routes.
53521 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53523 New file.
53524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53525 file.
53526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53527 New file.
53528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53529 file.
53530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53532 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53533 file.
53534 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53535 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53536 file.
53537 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53538 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53539 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53540
53541 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53542 libc_feholdexcept and libc_fesetenv.
53543
53544 2013-01-15 Mike Frysinger <vapier@gentoo.org>
53545
53546 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53547
53548 2013-01-14 David S. Miller <davem@davemloft.net>
53549
53550 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53551 (SPARC_ASM_VIS2_IFUNC): Likewise.
53552 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53554 use of 'siam' instruction.
53555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53556 Likewise.
53557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53558 Likewise.
53559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53560 Likewise.
53561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53566 file.
53567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53568 file.
53569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53570 file.
53571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53572 file.
53573 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53578 new VIS2 routines.
53579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53582 Likewise.
53583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53588 routines to libm-sysdep_routines.
53589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53590
53591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53592 fdim/fdimf to libm-sysdep_routines.
53593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53594 file.
53595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53597 file.
53598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53601 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53602 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53603 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53604 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53605
53606 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
53607
53608 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53609 to optimize copies.
53610
53611 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53614
53615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53616 local variable MPTWO.
53617 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53618 Likewise.
53619
53620 2013-01-13 Mike Frysinger <vapier@gentoo.org>
53621
53622 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53623 GLOB_NOESCAPE.
53624
53625 2013-01-13 Mike Frysinger <vapier@gentoo.org>
53626
53627 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53628
53629 2013-01-13 Mike Frysinger <vapier@gentoo.org>
53630
53631 * manual/pattern.texi (glob_t): Document gl_flags.
53632 (glob64_t): Likewise.
53633
53634 2013-01-11 David S. Miller <davem@davemloft.net>
53635
53636 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53637 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53638 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
53639 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53640 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53641 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53642 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53643 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53644 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53645 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53646 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53647 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53648 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53649
53650 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53651 sparc V9 rather than using V8 code.
53652 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53653 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53654
53655 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53656 Move to...
53657 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53658 Here.
53659
53660 2013-01-11 Roland McGrath <roland@hack.frob.com>
53661
53662 [BZ #14941]
53663 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53664 not in the main loop.
53665 * configure: Regenerated.
53666
53667 2013-01-11 Joseph Myers <joseph@codesourcery.com>
53668
53669 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53670 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53671 to just #else.
53672 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
53673 [!__GLIBC_HAVE_LONG_LONG] case.
53674 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53675 condition to just #else.
53676 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53677 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53678 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53679 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53680 unconditional.
53681 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53682 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53683 #elif condition to just #else.
53684 * sysdeps/unix/sysv/linux/sys/sysmacros.h
53685 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53686 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53687 #elif condition to just #else.
53688
53689 2013-01-11 Steve Ellcey <sellcey@mips.com>
53690
53691 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53692 (EF_MIPS_ARCH_64): Fix value.
53693 (EF_MIPS_ARCH_32R2): New.
53694 (EF_MIPS_ARCH_64R2): New.
53695
53696 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
53697
53698 * Makeconfig (+link-pie-before-libc): New.
53699 (+link-pie-after-libc): Likewise.
53700 (+link-pie-tests): Likewise.
53701 (+link-pie): Rewritten.
53702 (link-before-libc): Remove $(config-LDFLAGS).
53703 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53704 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53705 (config-LDFLAGS): Renamed to ...
53706 (rtld-LDFLAGS): This.
53707 (rtld-tests-LDFLAGS): New macro.
53708 (link-libc-rpath-link): Likewise.
53709 (link-libc-tests-rpath-link): Likewise.
53710 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53711 (link-libc): Prepand $(link-libc-rpath-link).
53712 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53713 (test-program-prefix): New macro.
53714 (test-via-rtld-prefix): Likewise.
53715 (test-program-cmd): Likewise.
53716 (host-test-program-cmd): Likewise.
53717 * Makefile ($(common-objpfx)testrun.sh): Replace
53718 $(run-program-prefix) with $(test-program-prefix).
53719 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53720 $(rtld-LDFLAGS).
53721 ($(common-objpfx)shlib.lds): Likewise.
53722 (build-module-helper): Likewise.
53723 ($(common-objpfx)format.lds): Likewise.
53724 * Rules (binaries-pie-tests): New.
53725 (binaries-pie-notests): Likewise.
53726 (binaries-pie): Rewritten.
53727 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53728 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53729 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53730 (make-test-out): Replace $(host-built-program-cmd) with
53731 $(host-test-program-cmd).
53732 * config.make.in (build-hardcoded-path-in-tests): New variable.
53733 * configure.in (--enable-hardcoded-path-in-tests): New configure
53734 option.
53735 (hardcoded_path_in_tests): New AC_SUBST.
53736 * configure: Regenerated.
53737 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53738 $(built-program-cmd) with $(test-program-cmd).
53739 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53740 (test_program_cmd): This.
53741 * elf/Makefile ($(objpfx)order.out): Run test with
53742 $(test-program-prefix).
53743 ($(objpfx)order2.out): Likewise.
53744 ($(objpfx)tst-initorder.out): Likewise.
53745 ($(objpfx)tst-initorder2.out): Likewise.
53746 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53747 $(test-program-cmd).
53748 ($(objpfx)tst-array1-static.out): Likewise.
53749 ($(objpfx)tst-array2.out): Likewise.
53750 ($(objpfx)tst-array3.out): Likewise.
53751 ($(objpfx)tst-array4.out): Likewise.
53752 ($(objpfx)tst-array5.out): Likewise.
53753 ($(objpfx)tst-array5-static.out): Likewise.
53754 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53755 $(test-program-cmd).
53756 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53757 $(run-program-prefix) with $(test-program-prefix).
53758 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53759 (test_program_prefix): This.
53760 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53761 $(run-program-prefix) with $(test-program-prefix).
53762 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53763 (test_program_prefix): This.
53764 * iconvdata/tst-tables.sh: Likewise.
53765 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53766 $(run-program-prefix) with $(test-program-prefix).
53767 ($(objpfx)tst-translit.out): Likewise.
53768 ($(objpfx)tst-gettext2.out): Likewise.
53769 ($(objpfx)tst-gettext4.out): Likewise.
53770 ($(objpfx)tst-gettext6.out): Likewise.
53771 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53772 (test_program_prefix): This.
53773 * intl/tst-gettext2.sh: Likewise.
53774 * intl/tst-gettext4.sh Likewise.
53775 * intl/tst-gettext6.sh: Likewise.
53776 * intl/tst-translit.sh: Likewise.
53777 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53778 with $(test-program-cmd).
53779 * libio/Makefile ($(objpfx)test-freopen.out): Replace
53780 $(run-program-prefix) with $(test-program-prefix).
53781 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53782 (test_program_prefix): This.
53783 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53784 $(run-program-prefix) with $(test-program-prefix).
53785 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53786 (test_program_prefix): This.
53787 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53788 * posix/Makefile ($(objpfx)globtest.out): Replace
53789 $(run-via-rtld-prefix) and $(test-wrapper) with
53790 $(test-program-prefix) and $(test-via-rtld-prefix).
53791 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53792 $(test-program-prefix).
53793 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53794 $(host-test-program-cmd).
53795 (tst-spawn-ARGS): Likewise.
53796 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53797 $(test-program-prefix).
53798 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53799 (test_via_rtld_prefix): This.
53800 (test_wrapper): Renamed to ...
53801 (test_program_prefix): This.
53802 (run_program_prefix): Replaced by test_program_prefix.
53803 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53804 (test_program_prefix): This.
53805 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53806 with $(host-test-program-cmd).
53807 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53808 $(run-program-prefix) with $(test-program-prefix).
53809 ($(objpfx)tst-printf.out): Likewise.
53810 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53811 $(test-program-cmd).
53812 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53813 (test_program_prefix): This.
53814 * stdio-common/tst-unbputc.sh: Likewise.
53815 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53816 $(run-program-prefix) with $(test-program-prefix).
53817 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53818 (test_program_prefix): This.
53819 * string/Makefile ($(objpfx)tst-svc.out): Replace
53820 $(built-program-cmd) with $(test-program-cmd).
53821
53822 2013-01-11 Andreas Jaeger <aj@suse.de>
53823
53824 [BZ #15003]
53825 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53826 value. Sync with Linux 3.7.
53827
53828 2013-01-10 David S. Miller <davem@davemloft.net>
53829
53830 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53831 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53832 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53833
53834 2013-01-10 Roland McGrath <roland@hack.frob.com>
53835
53836 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53837 never set.
53838 * configure: Regenerated.
53839
53840 2013-01-10 David S. Miller <davem@davemloft.net>
53841
53842 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53843 sparc V9 rather than using V8 code.
53844 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53845 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53846
53847 2013-01-10 Roland McGrath <roland@hack.frob.com>
53848
53849 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53850 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53851 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53852 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53853 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53854 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53855 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53856 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53857 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53858 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53859 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53860 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53861 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53862 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53863 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53864 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53865 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53866 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53867 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53868 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53869 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53870 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53871 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53872 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53873 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53874 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53875 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53876
53877 2013-01-10 David S. Miller <davem@davemloft.net>
53878
53879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53880
53881 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
53882
53883 * posix/Makefile (tests-static): New variable.
53884 (tests): Add $(tests-static).
53885 (tst-exec-static-ARGS): New variable.
53886 (tst-spawn-static-ARGS): Likewise.
53887 * posix/tst-exec-static.c: New file.
53888 * posix/tst-spawn-static.c: Likewise.
53889 * posix/tst-exec.c: Support run directly.
53890 * posix/tst-spawn.c: Likewise.
53891
53892 2013-01-10 Joseph Myers <joseph@codesourcery.com>
53893
53894 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53895 long.
53896 * math/bits/mathcalls.h (llrint): Likewise.
53897 (llround): Likewise.
53898 * stdlib/stdlib.h (struct drand48_data): Likewise.
53899 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53900 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53901 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53902 Likewise.
53903 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53904 Likewise.
53905 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53906 (elf_greg_t): Likewise.
53907 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53908 (__jmp_buf): Likewise.
53909 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53910 definitions.
53911 (llrint): Likewise, for all definitions.
53912 (llrintl): Likewise.
53913
53914 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53915 Remove [__GNUC__] condition.
53916 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53917 condition to just [__USE_ISOC99].
53918 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53919
53920 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
53921
53922 [BZ #14200]
53923 * sysdeps/unix/sysv/linux/x86/bits/environments.h
53924 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53925 defined.
53926 (_POSIX_V6_ILP32_OFF32): Likewise.
53927 (_XBS5_ILP32_OFF32): Likewise.
53928 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53929 (__ILP32_OFFBIG_LDFLAGS): Likewise.
53930
53931 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53932
53933 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53934
53935 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53936 doubles __mpexp_twomm1. Adjust usage.
53937 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53938 Remove.
53939
53940 2013-01-10 Andreas Schwab <schwab@suse.de>
53941
53942 [BZ #14964]
53943 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53944 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53945
53946 2013-01-09 David S. Miller <davem@davemloft.net>
53947
53948 [BZ #15003]
53949 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53950 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53951 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53952 (TCP_FASTOPEN): Define.
53953 (tcp_repair_opt): New structure.
53954 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53955 enum values.
53956 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53957 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53958 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53959 (tcp_cookie_transactions): New structure.
53960
53961 2013-01-09 Anton Blanchard <anton@samba.org>
53962
53963 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53964 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53965 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53966 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53967
53968 2013-01-09 Joseph Myers <joseph@codesourcery.com>
53969
53970 * include/features.h (__USE_ANSI): Remove.
53971
53972 2013-01-09 Roland McGrath <roland@hack.frob.com>
53973
53974 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53975
53976 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53977
53978 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
53979
53980 * sysdeps/s390/fpu/libm-test-ulps: Update.
53981
53982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53983
53984 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53985 (__acr): Likewise.
53986 (__cpy): Likewise.
53987 (norm): Likewise.
53988 (denorm): Likewise.
53989 (__mp_dbl): Likewise.
53990 (__dbl_mp): Likewise.
53991 (add_magnitudes): Likewise.
53992 (sub_magnitudes): Likewise.
53993 (__add): Likewise.
53994 (__sub): Likewise.
53995 (__mul): Likewise.
53996 (__inv): Likewise.
53997 (__dvd): Likewise.
53998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53999 (__acr): Likewise.
54000 (__cpy): Likewise.
54001 (norm): Likewise.
54002 (denorm): Likewise.
54003 (__mp_dbl): Likewise.
54004 (__dbl_mp): Likewise.
54005 (add_magnitudes): Likewise.
54006 (sub_magnitudes): Likewise.
54007 (__add): Likewise.
54008 (__sub): Likewise.
54009 (__mul): Likewise.
54010 (__inv): Likewise.
54011 (__dvd): Likewise.
54012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
54013 (__acr): Likewise.
54014 (__cpy): Likewise.
54015 (norm): Likewise.
54016 (denorm): Likewise.
54017 (__mp_dbl): Likewise.
54018 (__dbl_mp): Likewise.
54019 (add_magnitudes): Likewise.
54020 (sub_magnitudes): Likewise.
54021 (__add): Likewise.
54022 (__sub): Likewise.
54023 (__mul): Likewise.
54024 (__inv): Likewise.
54025 (__dvd): Likewise.
54026
54027 2013-01-08 Joseph Myers <joseph@codesourcery.com>
54028
54029 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
54030 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
54031 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
54032 2 && __USE_EXTERN_INLINES]: Likewise.
54033
54034 2013-01-08 Andreas Jaeger <aj@suse.de>
54035
54036 [BZ# 14985]
54037 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
54038 Remove.
54039 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54040 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54041
54042 2013-01-07 Anton Blanchard <anton@samba.org>
54043
54044 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
54045 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54046 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
54047 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54048 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54049 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54050 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
54051 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54053 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54054 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54055 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54056 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54057 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54058 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54059 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54060 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54061 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54062 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54063 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54064 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54065 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
54066 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54067 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54068 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
54069 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54070 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54071 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54072 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
54073 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54074 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54076 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54077 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54078 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54079 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54080 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54081 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54082 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54083 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54084 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54085 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54086 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54087
54088 2013-01-07 Joseph Myers <joseph@codesourcery.com>
54089
54090 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54091 (__MALLOC_PMT): Likewise.
54092 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
54093 [__GNUC__], only on [_LIBC].
54094 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54095 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
54096 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54097 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
54098 forward declaration.
54099 (realloc_hook_ini): Likewise.
54100 (memalign_hook_ini): Likewise.
54101 (__libc_memalign): Do not use __MALLOC_PMT in variable
54102 declaration.
54103 (__libc_valloc): Likewise.
54104 (__libc_pvalloc): Likewise.
54105 (__libc_calloc): Likewise.
54106 (__posix_memalign): Likewise.
54107
54108 [BZ #14996]
54109 * math/s_casinh.c: Include <float.h>.
54110 (__casinh): Do not do computation with squaring and square root
54111 for large arguments.
54112 * math/s_casinhf.c: Include <float.h>.
54113 (__casinhf): Do not do computation with squaring and square root
54114 for large arguments.
54115 * math/s_casinhl.c: Include <float.h>.
54116 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
54117 (__casinhl): Do not do computation with squaring and square root
54118 for large arguments.
54119 * math/libm-test.inc (casin_test): Add more tests.
54120 (casinh_test): Likewise.
54121 * sysdeps/i386/fpu/libm-test-ulps: Update.
54122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54123
54124 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
54125
54126 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
54127 (__x86_64_raw_data_cache_size): Likewise.
54128 (__x86_64_data_cache_size_half): Likewise.
54129 (__x86_64_raw_data_cache_size_half): Likewise.
54130 (__x86_64_shared_cache_size): Likewise.
54131 (__x86_64_raw_shared_cache_size): Likewise.
54132 (__x86_64_shared_cache_size_half): Likewise.
54133 (__x86_64_raw_shared_cache_size_half): Likewise.
54134 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
54135 to ...
54136 (__x86_data_cache_size): This.
54137 (__x86_64_raw_data_cache_size): Renamed to ...
54138 (__x86_raw_data_cache_size): This.
54139 (__x86_64_data_cache_size_half): Renamed to ...
54140 (__x86_data_cache_size_half): This.
54141 (__x86_64_raw_data_cache_size_half): Renamed to ...
54142 (__x86_raw_data_cache_size_half): This.
54143 (__x86_64_shared_cache_size): Renamed to ...
54144 (__x86_shared_cache_size): This.
54145 (__x86_64_raw_shared_cache_size): Renamed to ...
54146 (__x86_raw_shared_cache_size): This.
54147 (__x86_64_shared_cache_size_half): Renamed to ...
54148 (__x86_shared_cache_size_half): This.
54149 (__x86_64_raw_shared_cache_size_half): Renamed to ...
54150 (__x86_raw_shared_cache_size_half): This.
54151 * sysdeps/x86_64/memcpy.S: Updated.
54152 * sysdeps/x86_64/memset.S: Likewise.
54153 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54154 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54155 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54156
54157 2013-01-04 David S. Miller <davem@davemloft.net>
54158
54159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54160
54161 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
54162
54163 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
54164 1 to avoid redefinition warning.
54165 (__USE_GNU): Don't define.
54166 (init_signaling_nan): Protoize.
54167
54168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54169
54170 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
54171
54172 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
54173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
54174 (__cpymn): Likewise.
54175 (norm): Remove commented code.
54176 (denorm): Likewise.
54177 (__mp_dbl): Likewise.
54178 (__inv): Likewise.
54179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
54180 (__cpymn): Likewise.
54181 (norm): Remove commented code.
54182 (denorm): Likewise.
54183 (__mp_dbl): Likewise.
54184 (__inv): Likewise.
54185
54186 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
54187 mp_no value for 1.0 and 2.0.
54188 (norm): Use RADIXI instead of radixi.d.
54189 (denorm): Likewise.
54190 (__mul): Use 0.0 instead of zero.d.
54191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
54192 mp_no value for 1.0 and 2.0.
54193 (norm): Use RADIXI instead of radixi.d.
54194 (denorm): Likewise.
54195 (__mul): Use 0.0 instead of zero.d.
54196
54197 2013-01-04 Joseph Myers <joseph@codesourcery.com>
54198
54199 [BZ #14994]
54200 * math/s_casinh.c (__casinh): Reduce finite argument to first
54201 quadrant then set signs of results at the end.
54202 * math/s_casinhf.c (__casinhf): Likewise.
54203 * math/s_casinhl.c (__casinhl): Likewise.
54204 * math/libm-test.inc (casin_test): Add more tests.
54205 (casinh_test): Likewise.
54206 * sysdeps/i386/fpu/libm-test-ulps: Update.
54207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54208
54209 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
54210
54211 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54212
54213 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54214
54215 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54216 declarations.
54217 (denorm): Likewise.
54218 (__mp_dbl): Likewise.
54219 (__inv): Likewise.
54220
54221 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54222 and adjust the header comment.
54223
54224 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54225 variable name from declaration.
54226
54227 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
54228
54229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54230 Initialize COMMON_CPUID_INDEX_7 element.
54231 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54232 (CPUID_RTM): Likewise.
54233 (HAS_RTM): Likewise.
54234 (COMMON_CPUID_INDEX_7): New enum.
54235
54236 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
54237
54238 [BZ #14981]
54239 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54240 size is zero, record memory as freed.
54241
54242 2013-01-03 Andreas Jaeger <aj@suse.de>
54243
54244 * po/ia.po: Add new Interlingua translation.
54245
54246 2012-01-03 Allan McRae <allan@archlinux.org>
54247
54248 * locale/programs/localedef.c: Fix description of '--posix' flag.
54249
54250 2013-01-02 Joseph Myers <joseph@codesourcery.com>
54251
54252 * NEWS: Update dates in second copyright notice.
54253 * README: Update copyright dates in example.
54254 * manual/libc.texinfo: Update copyright dates.
54255 * scripts/test-installation.pl: Update copyright date in --version
54256 output.
54257
54258 * hurd/ctty-input.c: Fix copyright notice formatting.
54259 * hurd/ctty-output.c: Likewise.
54260 * hurd/dtable.c: Likewise.
54261 * hurd/hurd-raise.c: Likewise.
54262 * hurd/hurdprio.c: Likewise.
54263 * hurd/msgportdemux.c: Likewise.
54264 * misc/sys/file.h: Likewise.
54265 * misc/sys/ioctl.h: Likewise.
54266 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54267 * sysdeps/mach/hurd/chdir.c: Likewise.
54268 * sysdeps/mach/hurd/fchdir.c: Likewise.
54269 * sysdeps/mach/hurd/rename.c: Likewise.
54270 * sysdeps/mach/hurd/rmdir.c: Likewise.
54271 * sysdeps/mach/hurd/seekdir.c: Likewise.
54272 * sysdeps/mach/hurd/setsid.c: Likewise.
54273 * sysdeps/posix/wait3.c: Likewise.
54274
54275 * All files with FSF copyright notices: Update copyright dates
54276 using scripts/update-copyrights.
54277 * intl/plural.c: Regenerated.
54278 * locale/programs/charmap-kw.h: Likewise.
54279 * locale/programs/locfile-kw.h: Likewise.
54280
54281 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
54282
54283 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54284 four values.
54285
54286 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54287 calculation loop and add branch prediction.
54288
54289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54290 check access beyond bounds of m1np.
54291
54292 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54293 MPTWO.
54294 (__inv): Remove local variable MPTWO to use the global
54295 constant.
54296 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54297 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54298 variable MPTWO.
54299 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54300 MP3HALFS static const.
54301
54302 2013-01-01 David S. Miller <davem@davemloft.net>
54303
54304 * po/ca.po: Update from translation team.
54305
54306 2013-01-01 Joseph Myers <joseph@codesourcery.com>
54307
54308 * scripts/update-copyrights: New file.
54309 * Makeconfig: Reformat copyright notice.
54310 * ctype/ctype.h: Likewise.
54311 * debug/swprintf_chk.c: Likewise.
54312 * elf/dl-cache.c: Likewise.
54313 * elf/dl-debug.c: Likewise.
54314 * elf/dl-object.c: Likewise.
54315 * grp/initgroups.c: Likewise.
54316 * hurd/Makefile: Likewise.
54317 * hurd/hurd/signal.h: Likewise.
54318 * hurd/hurdfault.c: Likewise.
54319 * hurd/hurdioctl.c: Likewise.
54320 * hurd/hurdlookup.c: Likewise.
54321 * hurd/intr-msg.c: Likewise.
54322 * iconv/gconv_open.c: Likewise.
54323 * libio/swprintf.c: Likewise.
54324 * locale/lc-ctype.c: Likewise.
54325 * locale/nl_langinfo.c: Likewise.
54326 * mach/Machrules: Likewise.
54327 * mach/Makefile: Likewise.
54328 * malloc/obstack.h: Likewise.
54329 * manual/Makefile: Likewise.
54330 * manual/tsort.awk: Likewise.
54331 * misc/bits/stab.def: Likewise.
54332 * nis/nis_print_group_entry.c: Likewise.
54333 * nis/nis_table.c: Likewise.
54334 * nis/nss_compat/compat-pwd.c: Likewise.
54335 * nis/nss_compat/compat-spwd.c: Likewise.
54336 * po/Makefile: Likewise.
54337 * posix/fnmatch.c: Likewise.
54338 * posix/regex.h: Likewise.
54339 * resolv/Makefile: Likewise.
54340 * resolv/nss_dns/dns-network.c: Likewise.
54341 * resolv/res_hconf.c: Likewise.
54342 * scripts/gen-sorted.awk: Likewise.
54343 * soft-fp/soft-fp.h: Likewise.
54344 * stdio-common/printf.h: Likewise.
54345 * stdlib/monetary.h: Likewise.
54346 * stdlib/random.c: Likewise.
54347 * stdlib/random_r.c: Likewise.
54348 * sysdeps/generic/Makefile: Likewise.
54349 * sysdeps/gnu/Makefile: Likewise.
54350 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54351 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54352 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54353 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54354 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54355 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54356 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54357 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54358 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54360 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54361 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54362 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54363 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54364 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
54365 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54366 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54367 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54368 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54370 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54371 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54372 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54373 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54374 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
54375 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54376 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54377 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
54378 * sysdeps/mach/hurd/errnos.awk: Likewise.
54379 * sysdeps/mach/hurd/fork.c: Likewise.
54380 * sysdeps/mach/hurd/getcwd.c: Likewise.
54381 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
54382 * sysdeps/mach/hurd/mmap.c: Likewise.
54383 * sysdeps/mach/hurd/utimes.c: Likewise.
54384 * sysdeps/mach/hurd/xmknod.c: Likewise.
54385 * sysdeps/posix/profil.c: Likewise.
54386 * sysdeps/posix/readdir_r.c: Likewise.
54387 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54388 * sysdeps/powerpc/bits/setjmp.h: Likewise.
54389 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
54390 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54392 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54393 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54394 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54396 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54397 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54398 * sysdeps/pthread/lio_listio.c: Likewise.
54399 * sysdeps/sparc/dl-procinfo.h: Likewise.
54400 * sysdeps/unix/i386/sysdep.S: Likewise.
54401 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
54402 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
54403 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
54404 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
54405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54406 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
54407 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
54408 * sysdeps/unix/sysv/linux/speed.c: Likewise.
54409 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
54410 * sysdeps/wordsize-32/divdi3.c: Likewise.
54411 * time/sys/time.h: Likewise.
54412 * wcsmbs/Makefile: Likewise.
54413
54414 2013-01-01 David S. Miller <davem@davemloft.net>
54415
54416 * po/fr.po: Update from translation team.
54417
54418 * catgets/gencat.c: Update copyright year.
54419 * csu/version.c: Likewise.
54420 * debug/catchsegv.sh: Likewise.
54421 * debug/pcprofiledump.c: Likewise.
54422 * debug/xtrace.sh: Likewise.
54423 * elf/ldconfig.c: Likewise.
54424 * elf/ldd.bash.in: Likewise.
54425 * elf/pldd.c: Likewise.
54426 * elf/sotruss.ksh: Likewise.
54427 * elf/sprof.c: Likewise.
54428 * iconv/iconv_prog.c: Likewise.
54429 * iconv/iconvconfig.c: Likewise.
54430 * locale/programs/locale.c: Likewise.
54431 * locale/programs/localedef.c: Likewise.
54432 * login/programs/pt_chown.c: Likewise.
54433 * malloc/memusage.sh: Likewise.
54434 * malloc/memusagestat.c: Likewise.
54435 * malloc/mtrace.pl: Likewise.
54436 * nscd/nscd.c: Likewise.
54437 * nss/getent.c: Likewise.
54438 * nss/makedb.c: Likewise.
54439 * posix/getconf.c: Likewise.
54440
54441 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54442
54443 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
54444 numbers.
54445
54446 2012-12-30 Mike Frysinger <vapier@gentoo.org>
54447
54448 * math/bits/mathcalls.h (modf): Use __nonnull.
54449
54450 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
54451
54452 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54453 (split): Use macro CN instead of the bare value.
54454 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54455 could be used.
54456 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54457 instead of the bare value.
54458 (power1): Likewise.
54459
54460 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54461
54462 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54463 __ATAN_TWOM.
54464 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54465
54466 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54467 their values.
54468 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54469 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54470 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54471 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54472
54473 2012-12-28 Andreas Jaeger <aj@suse.de>
54474
54475 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
54476 values are from Linux 3.7.
54477
54478 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54479 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
54480
54481 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54482
54483 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54484 TRUE case.
54485
54486 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54487 (norm): Likewise.
54488 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54489 variables with preprocessor constants.
54490 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54491 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54492 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54493
54494 2012-12-27 Bruno Haible <bruno@clisp.org>
54495
54496 [BZ #14317]
54497 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54498 only if needed.
54499
54500 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54501
54502 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54503 and use variable directly.
54504 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54505
54506 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54507 MPONE.
54508 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54509 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54510 variable MPONE.
54511 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54512 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54513 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54514 include directive. Remove local variable MPONE.
54515 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54516 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54517 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54518
54519 2012-12-25 David S. Miller <davem@davemloft.net>
54520
54521 * version.h (RELEASE): Set to "development".
54522 (VERSION): Set to "2.17.90".
54523 * NEWS: Add 2.18 section.
54524
54525 2012-12-21 David S. Miller <davem@davemloft.net>
54526
54527 * po/hr.po: Update from translation team.
54528
54529 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54530
54531 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54532
54533 2012-12-19 Steve Ellcey <sellcey@mips.com>
54534
54535 * NEWS: Mention new memcpy for MIPS.
54536
54537 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
54538
54539 * manual/contrib.texi (Contributors): Spelling correction.
54540
54541 2012-12-15 David S. Miller <davem@davemloft.net>
54542
54543 * po/ru.po: Update from translation team.
54544
54545 2012-12-13 David S. Miller <davem@davemloft.net>
54546
54547 * NEWS: Mention IFUNC testsuite enhancements.
54548
54549 * po/pl.po: Update from translation team.
54550 * po/bg.po: Likewise.
54551
54552 * manual/contrib.texi (Contributors): Update entries for Hongjiu
54553 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
54554
54555 2012-12-11 David S. Miller <davem@davemloft.net>
54556
54557 * po/sv.po: Update from translation team.
54558
54559 * po/vi.po: Update from translation team.
54560
54561 * po/cs.po: Update from translation team.
54562
54563 * po/de.po: Update from translation team.
54564 * po/eo.po: Likewise.
54565 * po/nl.po: Likewise.
54566
54567 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54568
54569 [BZ #14246]
54570 * manual/argp.texi (Argp Helper Functions): Move node to follow
54571 Argp Parsing State.
54572
54573 [BZ #14872]
54574 * manual/conf.texi (Limits on File System Capacity): Mention if
54575 terminating null is included in the max size.
54576
54577 2012-12-10 Andreas Jaeger <aj@suse.de>
54578
54579 * po/cs.po: Update from translation team.
54580
54581 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
54582
54583 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54584 void pointer and cast to uintptr_t.
54585 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54586 path.
54587 * sysdeps/s390/s390-64/memcpy.S: Likewise.
54588 * sysdeps/s390/s390-64/memset.S: Likewise.
54589
54590 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
54591
54592 [BZ #14833]
54593 * menual/message.texi (Message Translation): Fix typos.
54594 (Helper programs for gettext): Likewise.
54595
54596 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
54597
54598 [BZ #14898]
54599 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54600 Change to -1.
54601
54602 2012-12-07 David S. Miller <davem@davemloft.net>
54603
54604 * po/libc.pot: Update.
54605
54606 2012-12-07 Richard Henderson <rth@redhat.com>
54607
54608 [BZ #10114]
54609 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54610 normal/normal case to before the switch.
54611 (_FP_DIV): Likewise.
54612
54613 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
54614 Mike Frysinger <vapier@gentoo.org>
54615
54616 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54617 check for __NR_fadvise64_64.
54618
54619 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
54620
54621 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54622 0, not just to plain "0" as a statement.
54623 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54624 with cw.
54625
54626 2012-12-06 Joseph Myers <joseph@codesourcery.com>
54627
54628 * NEWS: Use sourceware.org in Bugzilla URL.
54629
54630 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
54631
54632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54633 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54634
54635 * stdio-common/tst-put-error.c (do_test): Add newline to the
54636 padded test to ensure flush.
54637
54638 2012-12-05 Jeff Law <law@redhat.com>
54639
54640 * sunrpc/etc.rpc (fedfs_admin): Add entry.
54641
54642 2012-12-05 Joseph Myers <joseph@codesourcery.com>
54643
54644 * README: Don't refer to ports add-on as distributed separately.
54645 Mention AArch64 in list of systems supported in the ports add-on.
54646
54647 * LICENSES: Add more non-FSF copyright and license notices.
54648
54649 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54650 ((unused)).
54651
54652 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54653
54654 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54655 10000 as width of padded output.
54656
54657 2012-12-04 Joseph Myers <joseph@codesourcery.com>
54658
54659 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54660
54661 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54662 variable LX with __attribute__ ((unused)).
54663 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54664 Likewise.
54665 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54667 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54668 with __attribute__ ((unused)).
54669
54670 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
54671
54672 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54673
54674 2012-12-04 Joseph Myers <joseph@codesourcery.com>
54675
54676 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54677 (CFLAGS-nldbl-acos.c): New variable.
54678 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54679 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54680 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54681 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54682 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54683 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54684 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54685 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54686 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54687 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54688 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54689 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54690 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54691 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54692 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54693 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54694 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54695 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54696 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54697 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54698 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54699 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54700 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54701 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54702 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54703 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54704 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54705 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54706 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54707 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54708 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54709 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54710 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54711 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54712 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54713 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54714 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54715 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54716 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54717 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54718 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54719 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54720 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54721 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54722 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54723 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54724 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54725 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54726 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54727 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54728 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54729 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54730 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54731 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54732 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54733 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54734 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54735 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54736 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54737 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54738 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54739 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54740 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54741 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54742 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54743 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54744 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54745 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54746 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54747 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54748 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54749 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54750 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54751 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54752 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54753 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54754 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54755 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54756 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54757 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54758 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54759 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54760 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54761 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54762 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54763 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54764 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54765 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54766 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54767 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54768 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54769 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54770 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54771 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54772 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54773 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54774 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54775
54776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54777 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54778
54779 [BZ #14914]
54780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54781 whole low double instead of just low 47 bits when splitting values
54782 into two parts.
54783
54784 2012-12-03 Allan McRae <allan@archlinux.org>
54785
54786 * manual/stdio.texi (Predefined Printf Handlers): Remove
54787 @hsep and @vsep usage.
54788
54789 2012-12-03 Mike Frysinger <vapier@gentoo.org>
54790
54791 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54792 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54793
54794 2012-12-03 Jeff Law <law@redhat.com>
54795
54796 * time/sys/time.h (settimeofday): Do not mark TV argument
54797 as __nonnull.
54798
54799 2012-12-01 Mike Frysinger <vapier@gentoo.org>
54800
54801 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54802 when currently writing and seek to current position when not.
54803 * libio/Makefile (tests): Remove bug-fclose1.
54804 * libio/bug-fclose1.c: Delete.
54805
54806 2012-12-01 Joseph Myers <joseph@codesourcery.com>
54807
54808 * manual/arith.texi (feenableexcept): Fix typo.
54809 (fedisableexcept): Likewise.
54810
54811 2012-11-30 Roland McGrath <roland@hack.frob.com>
54812
54813 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54814 second, differently-typed declaration, rather than a cast.
54815
54816 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54817
54818 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54819 * include/rpc/svc.h: ... here.
54820
54821 2012-11-30 Aurelien Jarno <aurel32@debian.org>
54822
54823 [BZ #13013]
54824 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54825 depending n and resplen2 to catch cases where answer
54826 equals answerp2.
54827
54828 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
54829
54830 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54831 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54832
54833 2012-11-29 Mike Frysinger <vapier@gentoo.org>
54834
54835 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54836
54837 2012-11-29 Roland McGrath <roland@hack.frob.com>
54838
54839 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54840
54841 2012-11-28 Jeff Law <law@redhat.com>
54842
54843 [BZ #13761]
54844 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54845 dataset_temporary. Track alloca usage into alloca_used.
54846 If dataset is large allocate and release it via malloc/free.
54847
54848 2012-06-04 Florian Weimer <fweimer@redhat.com>
54849
54850 [BZ #14197]
54851 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54852
54853 2012-11-28 David S. Miller <davem@davemloft.net>
54854
54855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54856
54857 2012-11-28 Joseph Myers <joseph@codesourcery.com>
54858
54859 [BZ #14803]
54860 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54861 of pi/2 rounded to nearest to 64 bits.
54862 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54863 nearest to 64 bits.
54864 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54865 bits.
54866
54867 2012-11-28 Jeff Law <law@redhat.com>
54868 Martin Osvald <mosvald@redhat.com>
54869
54870 [BZ #14889]
54871 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54872 * sunrpc/svc.c: Include time.h.
54873 (__svc_accept_failed): New function.
54874 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54875 any reason other than EINTR, call __svc_accept_failed.
54876 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54877 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54878
54879 2012-11-28 Andreas Schwab <schwab@suse.de>
54880
54881 * scripts/abilist.awk: Also handle indirect functions in .opd
54882 section.
54883
54884 2012-11-28 Joseph Myers <joseph@codesourcery.com>
54885
54886 [BZ #13881]
54887 * sysdeps/x86/fpu/powl_helper.c: New file.
54888 * sysdeps/x86/fpu/Makefile: Likewise.
54889 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54890 (p3): New object.
54891 (__ieee754_powl): Use __powl_helper for finite arguments except
54892 integer exponents below 8.
54893 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54894 (p3): New object.
54895 (__ieee754_powl): Use __powl_helper for finite arguments except
54896 integer exponents below 8.
54897 * math/libm-test.inc (pow_test): Add more tests and enable some
54898 previously disabled tests.
54899 * sysdeps/i386/fpu/libm-test-ulps: Update.
54900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54901
54902 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54903 Carlos O'Donell <carlos_odonell@mentor.com>
54904
54905 * nss/makedb.c (is_prime): Assert that input is odd and greater
54906 than 4. Note that fact in a comment too.
54907 (next_prime): Add 4 to input.
54908
54909 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54910
54911 [BZ #11741]
54912 * libio/Makefile (tests): Add test case tst-fwrite-error.
54913 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54914 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54915 * libio/tst-fwrite-error.c: New test case.
54916
54917 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
54918
54919 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54920 before casting to void *.
54921 * include/libc-internal.h (__pointer_type): New macro.
54922 (__integer_if_pointer_type_sub): Likewise.
54923 (__integer_if_pointer_type): Likewise.
54924 (cast_to_integer): Likewise.
54925 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54926 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54927 before casting to atomic64_t.
54928 (atomic_exchange_acq): Likewise.
54929 (__arch_exchange_and_add_body): Likewise.
54930 (__arch_add_body): Likewise.
54931 (atomic_add_negative): Likewise.
54932 (atomic_add_zero): Likewise.
54933
54934 2012-11-26 Joseph Myers <joseph@codesourcery.com>
54935
54936 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54937 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54938 (add_fdes): Likewise.
54939 (linear_search_fdes): Likewise.
54940 (binary_search_unencoded_fdes): Likewise.
54941
54942 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
54943
54944 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54945
54946 2012-11-24 Adam Conrad <adconrad@0c3.net>
54947
54948 * configure.in: Autodetect C++ header directories.
54949 * configure: Regenerated.
54950
54951 2012-11-23 Mike Frysinger <vapier@gentoo.org>
54952
54953 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54954
54955 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
54956
54957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54958
54959 2012-11-22 Joseph Myers <joseph@codesourcery.com>
54960
54961 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54962 LDBL_MANT_DIG == 106]: Disable some tests.
54963 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54964 Likewise.
54965 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54966 Likewise.
54967
54968 [BZ #14871]
54969 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54970 input for small inputs. Return +/- pi/2 for large inputs.
54971 * math/libm-test.inc (atan_test): Add more tests.
54972
54973 * sysdeps/generic/unwind-dw2-fde-glibc.c
54974 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54975 __attribute__ ((unused)).
54976
54977 [BZ #14645]
54978 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54979 x * y if x and y are nonzero and z is zero.
54980
54981 [BZ #14811]
54982 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54983 nonzero exponents with absolute value below 0x1p-117 to +/-
54984 0x1p-117.
54985
54986 [BZ #14869]
54987 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54988 up arguments below 2**-450, not just those below 2**-500.
54989 * math/libm-test.inc (hypot_test): Add another test.
54990
54991 [BZ #14868]
54992 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54993 Return a+b for ratio over 2**120, not 2**60.
54994 * math/libm-test.inc (hypot_test): Add another test.
54995
54996 * math/libm-test.inc (clog_test): Use
54997 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54998 (clog10_test): Likewise.
54999
55000 [BZ #6778]
55001 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
55002
55003 2012-11-22 Andreas Schwab <schwab@suse.de>
55004
55005 * sysdeps/i386/fpu/libm-test-ulps: Update.
55006
55007 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
55008
55009 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
55010 printf output with newline.
55011
55012 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
55013
55014 [BZ #14865]
55015 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
55016 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
55017 -z nodlopen, -z initfirst and -z execstack support.
55018 * configure: Regenerated.
55019
55020 * elf/elf.h (DF_1_NODIRECT): New macro.
55021 (DF_1_IGNMULDEF): Likewise.
55022 (DF_1_NOKSYMS): Likewise.
55023 (DF_1_NOHDR): Likewise.
55024 (DF_1_EDITED): Likewise.
55025 (DF_1_NORELOC): Likewise.
55026 (DF_1_SYMINTPOSE): Likewise.
55027 (DF_1_GLOBAUDIT): Likewise.
55028 (DF_1_SINGLETON): Likewise.
55029 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
55030 DT_1_SUPPORTED_MASK bits.
55031 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
55032
55033 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
55034
55035 * sysdeps/unix/make-syscalls.sh: Document prefixes.
55036
55037 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
55038
55039 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
55040 macro.
55041
55042 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55043 (sendmmsg): Move declarations...
55044 * socket/sys/socket.h: ... here.
55045 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
55046 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
55047 include it from...
55048 * socket/recvmmsg.c: ... this new file.
55049 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
55050 (sendmmsg): Rename to __sendmmsg, create weak alias and make
55051 definition of __sendmmsg hidden.
55052 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
55053 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
55054 Move ENOSYS stub into and include it from...
55055 * socket/sendmmsg.c: ... this new file.
55056 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
55057 (sysdep_routines): Move recvmmsg and sendmmsg...
55058 * socket/Makefile (routines): ... here.
55059 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
55060 (GLIBC_PRIVATE): Add __sendmmsg.
55061 * include/sys/socket.h (__sendmmsg): Add declarations.
55062 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
55063 sendmmsg.
55064
55065 2012-11-20 Joseph Myers <joseph@codesourcery.com>
55066
55067 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
55068 variable I1 with __attribute__ ((unused)).
55069 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55070
55071 2012-11-19 Joseph Myers <joseph@codesourcery.com>
55072
55073 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
55074 DUMMY variables with __attribute__ ((unused)).
55075
55076 * bits/byteswap.h: Include <bits/types.h>.
55077 (__bswap_64): Use __uint64_t instead of unsigned long long int.
55078
55079 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
55080
55081 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55082 string_t. Do not manually set errno.
55083 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55084 length with __strnlen. Make sure to both set errno and return it on
55085 failure.
55086
55087 2012-11-19 David S. Miller <davem@davemloft.net>
55088
55089 With help from Joseph Myers.
55090 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55091 very large arguments properly.
55092 * math/libm-test.inc (atan_test): New tests.
55093 (atan2_test): New tests.
55094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55096
55097 2012-11-19 Joseph Myers <joseph@codesourcery.com>
55098
55099 [BZ #14856]
55100 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
55101 Define to 3.
55102
55103 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
55104 [POSIX] (EADDRNOTAVAIL): Likewise.
55105 [POSIX] (EAFNOSUPPORT): Likewise.
55106 [POSIX] (EALREADY): Likewise.
55107 [POSIX] (ECONNABORTED): Likewise.
55108 [POSIX] (ECONNREFUSED): Likewise.
55109 [POSIX] (ECONNRESET): Likewise.
55110 [POSIX] (EDESTADDRREQ): Likewise.
55111 [POSIX] (EDQUOT): Likewise.
55112 [POSIX] (EHOSTUNREACH): Likewise.
55113 [POSIX] (EIDRM): Likewise.
55114 [POSIX] (EISCONN): Likewise.
55115 [POSIX] (ELOOP): Likewise.
55116 [POSIX] (EMULTIHOP): Likewise.
55117 [POSIX] (ENETDOWN): Likewise.
55118 [POSIX] (ENETUNREACH): Likewise.
55119 [POSIX] (ENOBUFS): Likewise.
55120 [POSIX] (ENODATA): Likewise.
55121 [POSIX] (ENOLINK): Likewise.
55122 [POSIX] (ENOMSG): Likewise.
55123 [POSIX] (ENOPROTOOPT): Likewise.
55124 [POSIX] (ENOSR): Likewise.
55125 [POSIX] (ENOSTR): Likewise.
55126 [POSIX] (ENOTCONN): Likewise.
55127 [POSIX] (ENOTSOCK): Likewise.
55128 [POSIX] (EOPNOTSUPP): Likewise.
55129 [POSIX] (EOVERFLOW): Likewise.
55130 [POSIX] (EPROTO): Likewise.
55131 [POSIX] (EPROTONOSUPPORT): Likewise.
55132 [POSIX] (EPROTOTYPE): Likewise.
55133 [POSIX] (ESTALE): Likewise.
55134 [POSIX] (ETIME): Likewise.
55135 [POSIX] (ETXTBSY): Likewise.
55136 [POSIX] (EWOULDBLOCK): Likewise.
55137 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
55138 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
55139 [POSIX] (SEEK_CUR): Likewise.
55140 [POSIX] (SEEK_END): Likewise.
55141 [POSIX || UNIX98] (mode_t): Do not require.
55142 [POSIX] (off_t): Likewise.
55143 [POSIX] (pid_t): Likewise.
55144 [POSIX] (sys/stat.h): Do not allow header.
55145 [POSIX] (unistd.h): Likewise.
55146 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
55147 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
55148 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
55149 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
55150 require.
55151 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
55152 sigevent): Specify elements.
55153 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
55154 entry.
55155 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
55156 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
55157
55158 * conform/data/cpio.h-data [POSIX]: Disable whole file.
55159 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
55160 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
55161 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
55162 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
55163 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
55164 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
55165 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
55166 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
55167 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
55168 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
55169 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
55170 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
55171 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
55172 Likewise.
55173 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
55174 Likewise.
55175 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
55176 Likewise.
55177 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
55178 Likewise.
55179 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
55180 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
55181 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
55182 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
55183 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
55184 Specify lower bound on value.
55185 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
55186 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
55187 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
55188 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
55189 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
55190 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
55191 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
55192 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
55193 value.
55194 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
55195 as optional.
55196 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
55197 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
55198 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
55199 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
55200 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
55201 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
55202 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
55203 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
55204 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
55205 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55206 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55207 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55208 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55209 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55210 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55211 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55212 entry.
55213 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55214 optional.
55215 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55216 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55217 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55218 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55219 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55220 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55221 Likewise.
55222 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55223 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55224 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55225 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55226 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
55227 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55228 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55229 as optional.
55230 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55231 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55232 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55233 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55234 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55235 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55236 specify as optional.
55237 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55238 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55239 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55240 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55241 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55242 [XPG3] (NL_LANGMAX): Likewise.
55243 [POSIX || XPG3] (NL_MSGMAX): Likewise.
55244 [POSIX || XPG3] (NL_NMAX): Likewise.
55245 [POSIX || XPG3] (NL_SETMAX): Likewise.
55246 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55247 [XPG3] (NZERO): Likewise.
55248 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55249 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55250 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55251 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55252 (REG_ERANGE): Expect.
55253 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55254 optional-constant.
55255 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55256 Use (void) in prototype.
55257 [POSIX] (*_t): Allow.
55258 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55259 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55260 (WRDE_BADVAL): Expect.
55261
55262 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55263 expect.
55264 [XPG3 || XPG4] (O_RSYNC): Likewise.
55265 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55266 Likewise.
55267 [XPG3 || XPG4] (pthread_sigmask): Likewise.
55268 [XPG3 || XPG4] (sigqueue): Likewise.
55269 [XPG3 || XPG4] (sigtimedwait): Likewise.
55270 [XPG3 || XPG4] (sigwaitinfo): Likewise.
55271 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55272 [XPG3 || XPG4] (vsnprintf): Likewise.
55273 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55274 Likewise.
55275 [XPG3 || XPG4] (blksize_t): Likewise.
55276 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55277 Likewise.
55278 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55279 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55280 [XPG3 || XPG4] (struct itimerspec): Likewise.
55281 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55282 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55283 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55284 [XPG3 || XPG4] (clockid_t): Likewise.
55285 [XPG3 || XPG4] (timer_t): Likewise.
55286 [XPG3 || XPG4] (clock_getres): Likewise.
55287 [XPG3 || XPG4] (clock_gettime): Likewise.
55288 [XPG3 || XPG4] (clock_settime): Likewise.
55289 [XPG3 || XPG4] (nanosleep): Likewise.
55290 [XPG3 || XPG4] (timer_create): Likewise.
55291 [XPG3 || XPG4] (timer_delete): Likewise.
55292 [XPG3 || XPG4] (timer_gettime): Likewise.
55293 [XPG3 || XPG4] (timer_getoverrun): Likewise.
55294 [XPG3 || XPG4] (timer_settime): Likewise.
55295 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55296 [XPG3 || XPG4] (getlogin_r): Likewise.
55297 [XPG3 || XPG4] (pread): Likewise.
55298 [XPG3 || XPG4] (pthread_atfork): Likewise.
55299 [XPG3 || XPG4] (pwrite): Likewise.
55300
55301 [BZ #14835]
55302 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55303 <bits/siginfo.h>.
55304
55305 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
55306
55307 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55308 finalizing MALLSTREAM.
55309
55310 * sysdeps/mach/hurd/syncfs.c: New file.
55311
55312 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
55313
55314 [BZ #14719]
55315 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55316 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55317 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55318 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55319 (_nss_dns_gethostbyname4_r): Likewise.
55320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55321 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55322
55323 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
55324
55325 [BZ #13763]
55326 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55327
55328 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
55329
55330 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55331 * elf/cache.c (print_entry): Print ",AArch64" for
55332 FLAG_AARCH64_LIB64
55333
55334 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55335 * elf/cache.c (print_entry): Print ",hard-float" for
55336 FLAG_ARM_LIBHF.
55337
55338 2012-11-18 David S. Miller <davem@davemloft.net>
55339
55340 With help from Joseph Myers.
55341 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55342 cutoff to 2**-13.
55343 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55344 cutoff to 2**-25.
55345 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55346 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55347 small.
55348 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55349 * math/libm-test.inc (y0_test): New tests.
55350 (y1_test): New tests.
55351 * sysdeps/i386/fpu/libm-test-ulps: Update.
55352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55354
55355 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
55356
55357 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
55358 64-bit targets.
55359 * configure: Regenerated.
55360
55361 2012-11-17 David S. Miller <davem@davemloft.net>
55362
55363 [BZ #14811]
55364 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
55365 nonzero exponents with absolute value below 0x1p-128 to +/-
55366 0x1p-128.
55367
55368 2012-11-17 Joseph Myers <joseph@codesourcery.com>
55369
55370 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
55371
55372 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
55373
55374 * posix/getconf-speclist.c: New file.
55375 * posix/posix-envs.def: Likewise.
55376 * posix/confstr.c (START_ENV_GROUP): New macro.
55377 (END_ENV_GROUP): Likewise.
55378 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55379 (KNOWN_PRESENT_ENV_STRING): Likewise.
55380 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55381 (UNKNOWN_ENVIRONMENT): Likewise.
55382 (confstr): Include posix-envs.def instead of handling
55383 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
55384 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
55385 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
55386 (END_ENV_GROUP): Likewise.
55387 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55388 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55389 (UNKNOWN_ENVIRONMENT): Likewise.
55390 (__sysconf): Include posix-envs.def instead of handling associated
55391 cases directly here.
55392 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
55393 preprocessing getconf-speclist.c rather than running getconf or
55394 generating empty file.
55395
55396 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
55397
55398 * scripts/check-local-headers.sh: Ignore 'mach' headers.
55399
55400 2012-11-16 Andrej Lajovic <natrij@gmail.com>
55401
55402 [BZ #14672]
55403 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
55404
55405 2012-11-16 David S. Miller <davem@davemloft.net>
55406
55407 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
55408 smaller than LDBL_EPSILON/2.0L, just return xm1.
55409
55410 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
55411
55412 * elf/tst-array1.c (init): Set constructor priority to 1000.
55413 (fini): Set destructor priority to 1000.
55414 * elf/tst-array2dep.c: Likewise.
55415
55416 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
55417
55418 [BZ #11741]
55419 * libio/fileops.c (_IO_new_file_write): Correctly return error.
55420 (_IO_new_file_xsputn): Also return EOF if none of the input
55421 data was written when overflow failed.
55422 * libio/iopadn.c (_IO_padn): Likewise.
55423 * libio/iowpadn.c (_IO_wpadn): Likewise.
55424 * stdio-common/tst-put-error.c: Add copyright notice.
55425 (do_test): Add case for printing padded string.
55426 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
55427 _IO_padn returned error.
55428 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
55429 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
55430 return EOF.
55431
55432 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
55433
55434 * libio/libioP.h: Add comment note that the references to C++
55435 bits are now obsolete.
55436
55437 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55438
55439 * math/libm-test.inc (check_complex): Use asprintf.
55440
55441 2012-11-14 Joseph Myers <joseph@codesourcery.com>
55442
55443 * debug/pcprofiledump.c (print_version): Update copyright year.
55444 * malloc/memusagestat.c (print_version): Likewise.
55445
55446 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
55447
55448 [BZ #14831]
55449 * elf/Makefile (tests): Add tst-audit8.
55450 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
55451 ($(objpfx)tst-audit8.out): New target.
55452 (tst-audit8-ENV): New variable.
55453 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55454 audit if l_reloc_result is NULL.
55455 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55456 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55457 * elf/tst-audit8.c: New file.
55458
55459 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55460
55461 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55462 * misc/Makefile (CFLAGS-select.c): Define.
55463 * posix/Makefile (CFLAGS-pause.c): Define.
55464
55465 2012-11-13 David S. Miller <davem@davemloft.net>
55466
55467 * crypt/Makefile: Move test targets after toplevel Rules
55468 inclusion. Grab any necessary sysdep routines when linking.
55469 * crypt/md5.c (md5_process_block): Remove define, we will always
55470 name it __md5_process_block.
55471 (md5_finish_ctx): Update md5_process_block call.
55472 (md5_stream): Likewise.
55473 (md5_process_bytes): Likewise.
55474 (md5_process_block): Rename to __md5_process_block and move to ...
55475 * crypt/md5-block.c: ... here.
55476 * crypt/sha256.c (sha256_process_block): Move to ...
55477 * crypt/sha256-block.c: ... here.
55478 * crypt/sha512.c (sha512_process_block): Move to ...
55479 * crypt/sha512-block.c: ... here.
55480 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55481 path.
55482 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55483 * sysdeps/sparc/sparc64/multiarch/Makefile
55484 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55485 crypt subdir.
55486 (localedef-aux): Add md5 crypto assembler when in locale subdir.
55487 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55488 multiarch changes.
55489 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55490 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55491 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55492 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55493 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55494 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55495 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55496 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55497 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55498 file.
55499 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55500 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55501 file.
55502 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55503
55504 2012-11-13 Joseph Myers <joseph@codesourcery.com>
55505
55506 * timezone/tzselect.ksh: Update from tzcode git revision
55507 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55508 * timezone/zdump.c: Likewise.
55509 * timezone/zic.c: Likewise.
55510 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55511 in TZVERSION setting, not $(PKGVERSION).
55512 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
55513 REPORT_BUGS_TO settings.
55514
55515 [BZ #14838]
55516 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55517 macro.
55518
55519 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55520
55521 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55522 detection to immediately after _FP_ROUND().
55523 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55524 bits are 0.
55525
55526 2012-11-11 David S. Miller <davem@davemloft.net>
55527
55528 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55529 inttypes.h
55530 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55531 __close rather than their public counterparts.
55532
55533 2012-11-10 Joseph Myers <joseph@codesourcery.com>
55534
55535 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55536 file.
55537 [UNIX98] (sem_timedwait): Do not expect.
55538 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55539 [XPG4 || UNIX98] (sockatmark): Do not expect.
55540 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55541 (clock_getcpuclockid): Do not expect.
55542 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55543 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55544 Do not expect.
55545 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55546 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55547 [UNIX98] (vwscanf): Likewise.
55548 [UNIX98] (vswscanf): Likewise.
55549
55550 2012-11-09 Joseph Myers <joseph@codesourcery.com>
55551
55552 * timezone/version.h: Remove file.
55553 * timezone/README: Do not refer to version.h.
55554 * timezone/Makefile ($(objpfx)zic.o): New dependency on
55555 $(objpfx)version.h.
55556 ($(objpfx)zdump.o): Likewise.
55557 ($(objpfx)version.h): New target.
55558
55559 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55560 2012i.
55561 * timezone/README: Don't mention modification to tzselect.ksh.
55562 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55563 work on unmodified tzselect.ksh. Substitute version numbers in
55564 tzselect.ksh.
55565
55566 * Makefile (format-me): Remove.
55567 (INSTALL): Adjust indentation. Use commands directly instead of
55568 using $(format-me).
55569
55570 * aclocal.m4 (ACX_PKGVERSION): New macro.
55571 (ACX_BUGURL): Likewise.
55572 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55573 (PKGVERSION): New AC_DEFINE_UNQUOTED.
55574 (REPORT_BUGS_TO): Likewise.
55575 * configure: Regenerated.
55576 * config.h.in (PKGVERSION): New macro.
55577 (REPORT_BUGS_TO): Likewise.
55578 * config.make.in (PKGVERSION): New variable.
55579 (PKGVERSION_TEXI): Likewise.
55580 (REPORT_BUGS_TO): Likewise.
55581 (REPORT_BUGS_TEXI): Likewise.
55582 * Makefile (format-me): Use -I$(common-objpfx)manual.
55583 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55584 ($(common-objpfx)manual/%): New target.
55585 (manual/%): Remove target.
55586 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55587 (print_version): Use PKGVERSION.
55588 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55589 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55590 and REPORT_BUGS_TO.
55591 ($(objpfx)xtrace): Likewise.
55592 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55593 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55594 (print_version): Use PKGVERSION.
55595 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55596 (do_version): Use PKGVERSION.
55597 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55598 REPORT_BUGS_TO.
55599 (common-ldd-rewrite): Likewise.
55600 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55601 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55602 (print_version): Use PKGVERSION.
55603 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55604 * elf/pldd.c (argp_program_bug_address): Remove variable.
55605 (more_help): New function.
55606 (argp): Use more_help.
55607 (print_version): Use PKGVERSION.
55608 * elf/sln.c (main): Use PKGVERSION.
55609 (usage): Use REPORT_BUGS_TO.
55610 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55611 (top level): Use PKGVERSION.
55612 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55613 (print_version): Use PKGVERSION.
55614 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55615 (print_version): Use PKGVERSION.
55616 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55617 (print_version): Use PKGVERSION.
55618 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55619 (print_version): Use PKGVERSION.
55620 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55621 (print_version): Use PKGVERSION.
55622 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55623 (print_version): Use PKGVERSION.
55624 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55625 and BUGURL.
55626 ($(objpfx)memusage): Likewise.
55627 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55628 (do_version): Use PKGVERSION.
55629 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55630 (print_version): Use PKGVERSION.
55631 * malloc/mtrace.pl ($PACKAGE): Remove variable.
55632 ($PKGVERSION): New variable.
55633 ($REPORT_BUGS_TO): Likewise.
55634 (usage): Use $REPORT_BUGS_TO.
55635 (top level): Use $PKGVERSION.
55636 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55637 ($(objpfx)pkgvers.texi): New rule.
55638 ($(objpfx)stamp-pkgvers): Likewise.
55639 * manual/install.texi: Include pkgvers.texi.
55640 (--with-pkgversion): Document new configure option.
55641 (--with-bugurl): Likewise.
55642 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55643 than necessarily for this particular distribution. Use
55644 REPORT_BUGS_TO for where to report bugs.
55645 * INSTALL: Regenerated.
55646 * manual/libc.texinfo: Include pkgvers.texi.
55647 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55648 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55649 (print_version): Use PKGVERSION.
55650 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55651 (print_version): Use PKGVERSION.
55652 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55653 (print_version): Use PKGVERSION.
55654 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55655 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55656 macro.
55657 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55658 (print_version): Use PKGVERSION.
55659 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55660 (print_version): Use PKGVERSION.
55661 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55662 and PKGVERSION.
55663
55664 * timezone/checktab.awk: Update from tzcode 2012i.
55665 * timezone/ialloc.c: Likewise.
55666 * timezone/private.h: Likewise.
55667 * timezone/scheck.c: Likewise.
55668 * timezone/tzfile.h: Likewise.
55669 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55670 (TZVERSION): Hardcode tzcode version number.
55671 * timezone/zdump.c: Update from tzcode 2012i.
55672 * timezone/zic.c: Likewise.
55673 * timezone/version.h: New file.
55674 * timezone/README: Describe version.h. Update upstream location.
55675
55676 [BZ #14824]
55677 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55678 (mktemp): Enable declaration.
55679 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55680 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55681 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55682 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55683 Likewise.
55684 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55685 Likewise.
55686 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55687 Likewise.
55688 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55689 Likewise.
55690 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55691 Likewise.
55692 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55693 Likewise.
55694
55695 [BZ #14821]
55696 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55697 offset in buffer as u_int32_t not u_long. Consistently use memcpy
55698 for copies of such integer values.
55699 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55700 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55701
55702 2012-11-09 Andreas Jaeger <aj@suse.de>
55703
55704 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55705 definitions and declarations that are provided by
55706 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55707
55708 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55709
55710 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55711 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55712 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55713 definition.
55714
55715 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55716
55717 * elf/elf.h: Update comment before AArch64 relocations.
55718
55719 2012-11-07 David S. Miller <davem@davemloft.net>
55720
55721 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55722 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55723 (__start_context): Declare.
55724 (__makecontext_ret): Delete.
55725 (__makecontext): Hook up __start_context instead of
55726 __makecontext_ret.
55727 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55728 (sysdep_routines): Add __start_context when in stdlib.
55729
55730 2012-11-07 Joseph Myers <joseph@codesourcery.com>
55731
55732 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55733 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55734 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
55735 hardcoded "nm".
55736 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
55737 (READELF): New variable. Use it instead of hardcoded "readelf".
55738
55739 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
55740
55741 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55742 * sysdeps/x86/Makefile: Here.
55743 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55744 * sysdeps/x86/tst-xmmymm.sh: This.
55745
55746 2012-11-07 Joseph Myers <joseph@codesourcery.com>
55747
55748 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55749 expectations.
55750 [UNIX98] (pthread_barrier_t): Do not expect.
55751 [UNIX98] (pthread_barrierattr_t): Likewise.
55752 [UNIX98] (pthread_spinlock_t): Likewise.
55753 [UNIX98] (pthread_barrier_destroy): Likewise.
55754 [UNIX98] (pthread_barrier_init): Likewise.
55755 [UNIX98] (pthread_barrier_wait): Likewise.
55756 [UNIX98] (pthread_barrierattr_destroy): Likewise.
55757 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55758 [UNIX98] (pthread_barrierattr_init): Likewise.
55759 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55760 [UNIX98] (pthread_getcpuclockid): Likewise.
55761 [UNIX98] (pthread_mutex_timedlock): Likewise.
55762 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55763 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55764 [UNIX98] (pthread_sigmask): Likewise.
55765 [UNIX98] (pthread_spin_destroy): Likewise.
55766 [UNIX98] (pthread_spin_init): Likewise.
55767 [UNIX98] (pthread_spin_lock): Likewise.
55768 [UNIX98] (pthread_spin_trylock): Likewise.
55769 [UNIX98] (pthread_spin_unlock): Likewise.
55770 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55771 Do not expect.
55772 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55773 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55774 [XPG3 || XPG4] (pthread_cond_t): Likewise.
55775 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55776 [XPG3 || XPG4] (pthread_key_t): Likewise.
55777 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55778 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55779 [XPG3 || XPG4] (pthread_once_t): Likewise.
55780 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55781 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55782 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55783 [XPG3 || XPG4] (pthread_t): Likewise.
55784
55785 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55786 not expect.
55787 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55788
55789 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55790 Change function return type to int.
55791
55792 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55793 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55794 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55795 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55796 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55797 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55798 [!POSIX] (posix_madvise): Likewise.
55799 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55800 && !UNIX98].
55801 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55802 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55803 (mode_t): Likewise.
55804 (posix_mem_offset): Likewise.
55805 (posix_typed_mem_get_info): Likewise.
55806 (posix_typed_mem_open): Likewise.
55807
55808 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55809 Change condition to [XOPEN2K8].
55810
55811 * conform/conformtest.pl: Preprocess allow-header data with -x c
55812 instead of from stdin.
55813 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55814 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55815 [C99-based standards] (cerfc): Likewise.
55816 [C99-based standards] (cexp2): Likewise.
55817 [C99-based standards] (cexpm1): Likewise.
55818 [C99-based standards] (clog10): Likewise.
55819 [C99-based standards] (clog1p): Likewise.
55820 [C99-based standards] (clog2): Likewise.
55821 [C99-based standards] (clgamma): Likewise.
55822 [C99-based standards] (ctgamma): Likewise.
55823 [C99-based standards] (cerff): Likewise.
55824 [C99-based standards] (cerfcf): Likewise.
55825 [C99-based standards] (cexp2f): Likewise.
55826 [C99-based standards] (cexpm1f): Likewise.
55827 [C99-based standards] (clog10f): Likewise.
55828 [C99-based standards] (clog1pf): Likewise.
55829 [C99-based standards] (clog2f): Likewise.
55830 [C99-based standards] (clgammaf): Likewise.
55831 [C99-based standards] (ctgammaf): Likewise.
55832 [C99-based standards] (cerfl): Likewise.
55833 [C99-based standards] (cerfcl): Likewise.
55834 [C99-based standards] (cexp2l): Likewise.
55835 [C99-based standards] (cexpm1l): Likewise.
55836 [C99-based standards] (clog10l): Likewise.
55837 [C99-based standards] (clog1pl): Likewise.
55838 [C99-based standards] (clog2l): Likewise.
55839 [C99-based standards] (clgammal): Likewise.
55840 [C99-based standards] (ctgammal): Likewise.
55841 * conform/data/inttypes.h-data [C99-based standards]: Include
55842 stdint.h-data. Remove all expectations for stdint.h contents.
55843 [C99-based standards] (PRI*): Do not allow.
55844 [C99-based standards] (SCN*): Likewise.
55845 [C99-based standards] (*_t): Likewise.
55846 [C99-based-standards] (PRId8): Expect macro.
55847 [C99-based-standards] (PRIi8): Likewise.
55848 [C99-based-standards] (PRIo8): Likewise.
55849 [C99-based-standards] (PRIu8): Likewise.
55850 [C99-based-standards] (PRIx8): Likewise.
55851 [C99-based-standards] (PRIX8): Likewise.
55852 [C99-based-standards] (SCNd8): Likewise.
55853 [C99-based-standards] (SCNi8): Likewise.
55854 [C99-based-standards] (SCNo8): Likewise.
55855 [C99-based-standards] (SCNu8): Likewise.
55856 [C99-based-standards] (SCNx8): Likewise.
55857 [C99-based-standards] (PRIdLEAST8): Likewise.
55858 [C99-based-standards] (PRIiLEAST8): Likewise.
55859 [C99-based-standards] (PRIoLEAST8): Likewise.
55860 [C99-based-standards] (PRIuLEAST8): Likewise.
55861 [C99-based-standards] (PRIxLEAST8): Likewise.
55862 [C99-based-standards] (PRIXLEAST8): Likewise.
55863 [C99-based-standards] (SCNdLEAST8): Likewise.
55864 [C99-based-standards] (SCNiLEAST8): Likewise.
55865 [C99-based-standards] (SCNoLEAST8): Likewise.
55866 [C99-based-standards] (SCNuLEAST8): Likewise.
55867 [C99-based-standards] (SCNxLEAST8): Likewise.
55868 [C99-based-standards] (PRIdFAST8): Likewise.
55869 [C99-based-standards] (PRIiFAST8): Likewise.
55870 [C99-based-standards] (PRIoFAST8): Likewise.
55871 [C99-based-standards] (PRIuFAST8): Likewise.
55872 [C99-based-standards] (PRIxFAST8): Likewise.
55873 [C99-based-standards] (PRIXFAST8): Likewise.
55874 [C99-based-standards] (SCNdFAST8): Likewise.
55875 [C99-based-standards] (SCNiFAST8): Likewise.
55876 [C99-based-standards] (SCNoFAST8): Likewise.
55877 [C99-based-standards] (SCNuFAST8): Likewise.
55878 [C99-based-standards] (SCNxFAST8): Likewise.
55879 [C99-based-standards] (PRId16): Likewise.
55880 [C99-based-standards] (PRIi16): Likewise.
55881 [C99-based-standards] (PRIo16): Likewise.
55882 [C99-based-standards] (PRIu16): Likewise.
55883 [C99-based-standards] (PRIx16): Likewise.
55884 [C99-based-standards] (PRIX16): Likewise.
55885 [C99-based-standards] (SCNd16): Likewise.
55886 [C99-based-standards] (SCNi16): Likewise.
55887 [C99-based-standards] (SCNo16): Likewise.
55888 [C99-based-standards] (SCNu16): Likewise.
55889 [C99-based-standards] (SCNx16): Likewise.
55890 [C99-based-standards] (PRIdLEAST16): Likewise.
55891 [C99-based-standards] (PRIiLEAST16): Likewise.
55892 [C99-based-standards] (PRIoLEAST16): Likewise.
55893 [C99-based-standards] (PRIuLEAST16): Likewise.
55894 [C99-based-standards] (PRIxLEAST16): Likewise.
55895 [C99-based-standards] (PRIXLEAST16): Likewise.
55896 [C99-based-standards] (SCNdLEAST16): Likewise.
55897 [C99-based-standards] (SCNiLEAST16): Likewise.
55898 [C99-based-standards] (SCNoLEAST16): Likewise.
55899 [C99-based-standards] (SCNuLEAST16): Likewise.
55900 [C99-based-standards] (SCNxLEAST16): Likewise.
55901 [C99-based-standards] (PRIdFAST16): Likewise.
55902 [C99-based-standards] (PRIiFAST16): Likewise.
55903 [C99-based-standards] (PRIoFAST16): Likewise.
55904 [C99-based-standards] (PRIuFAST16): Likewise.
55905 [C99-based-standards] (PRIxFAST16): Likewise.
55906 [C99-based-standards] (PRIXFAST16): Likewise.
55907 [C99-based-standards] (SCNdFAST16): Likewise.
55908 [C99-based-standards] (SCNiFAST16): Likewise.
55909 [C99-based-standards] (SCNoFAST16): Likewise.
55910 [C99-based-standards] (SCNuFAST16): Likewise.
55911 [C99-based-standards] (SCNxFAST16): Likewise.
55912 [C99-based-standards] (PRId32): Likewise.
55913 [C99-based-standards] (PRIi32): Likewise.
55914 [C99-based-standards] (PRIo32): Likewise.
55915 [C99-based-standards] (PRIu32): Likewise.
55916 [C99-based-standards] (PRIx32): Likewise.
55917 [C99-based-standards] (PRIX32): Likewise.
55918 [C99-based-standards] (SCNd32): Likewise.
55919 [C99-based-standards] (SCNi32): Likewise.
55920 [C99-based-standards] (SCNo32): Likewise.
55921 [C99-based-standards] (SCNu32): Likewise.
55922 [C99-based-standards] (SCNx32): Likewise.
55923 [C99-based-standards] (PRIdLEAST32): Likewise.
55924 [C99-based-standards] (PRIiLEAST32): Likewise.
55925 [C99-based-standards] (PRIoLEAST32): Likewise.
55926 [C99-based-standards] (PRIuLEAST32): Likewise.
55927 [C99-based-standards] (PRIxLEAST32): Likewise.
55928 [C99-based-standards] (PRIXLEAST32): Likewise.
55929 [C99-based-standards] (SCNdLEAST32): Likewise.
55930 [C99-based-standards] (SCNiLEAST32): Likewise.
55931 [C99-based-standards] (SCNoLEAST32): Likewise.
55932 [C99-based-standards] (SCNuLEAST32): Likewise.
55933 [C99-based-standards] (SCNxLEAST32): Likewise.
55934 [C99-based-standards] (PRIdFAST32): Likewise.
55935 [C99-based-standards] (PRIiFAST32): Likewise.
55936 [C99-based-standards] (PRIoFAST32): Likewise.
55937 [C99-based-standards] (PRIuFAST32): Likewise.
55938 [C99-based-standards] (PRIxFAST32): Likewise.
55939 [C99-based-standards] (PRIXFAST32): Likewise.
55940 [C99-based-standards] (SCNdFAST32): Likewise.
55941 [C99-based-standards] (SCNiFAST32): Likewise.
55942 [C99-based-standards] (SCNoFAST32): Likewise.
55943 [C99-based-standards] (SCNuFAST32): Likewise.
55944 [C99-based-standards] (SCNxFAST32): Likewise.
55945 [C99-based-standards] (PRId64): Likewise.
55946 [C99-based-standards] (PRIi64): Likewise.
55947 [C99-based-standards] (PRIo64): Likewise.
55948 [C99-based-standards] (PRIu64): Likewise.
55949 [C99-based-standards] (PRIx64): Likewise.
55950 [C99-based-standards] (PRIX64): Likewise.
55951 [C99-based-standards] (SCNd64): Likewise.
55952 [C99-based-standards] (SCNi64): Likewise.
55953 [C99-based-standards] (SCNo64): Likewise.
55954 [C99-based-standards] (SCNu64): Likewise.
55955 [C99-based-standards] (SCNx64): Likewise.
55956 [C99-based-standards] (PRIdLEAST64): Likewise.
55957 [C99-based-standards] (PRIiLEAST64): Likewise.
55958 [C99-based-standards] (PRIoLEAST64): Likewise.
55959 [C99-based-standards] (PRIuLEAST64): Likewise.
55960 [C99-based-standards] (PRIxLEAST64): Likewise.
55961 [C99-based-standards] (PRIXLEAST64): Likewise.
55962 [C99-based-standards] (SCNdLEAST64): Likewise.
55963 [C99-based-standards] (SCNiLEAST64): Likewise.
55964 [C99-based-standards] (SCNoLEAST64): Likewise.
55965 [C99-based-standards] (SCNuLEAST64): Likewise.
55966 [C99-based-standards] (SCNxLEAST64): Likewise.
55967 [C99-based-standards] (PRIdFAST64): Likewise.
55968 [C99-based-standards] (PRIiFAST64): Likewise.
55969 [C99-based-standards] (PRIoFAST64): Likewise.
55970 [C99-based-standards] (PRIuFAST64): Likewise.
55971 [C99-based-standards] (PRIxFAST64): Likewise.
55972 [C99-based-standards] (PRIXFAST64): Likewise.
55973 [C99-based-standards] (SCNdFAST64): Likewise.
55974 [C99-based-standards] (SCNiFAST64): Likewise.
55975 [C99-based-standards] (SCNoFAST64): Likewise.
55976 [C99-based-standards] (SCNuFAST64): Likewise.
55977 [C99-based-standards] (SCNxFAST64): Likewise.
55978 [C99-based-standards] (PRIdMAX): Likewise.
55979 [C99-based-standards] (PRIiMAX): Likewise.
55980 [C99-based-standards] (PRIoMAX): Likewise.
55981 [C99-based-standards] (PRIuMAX): Likewise.
55982 [C99-based-standards] (PRIxMAX): Likewise.
55983 [C99-based-standards] (PRIXMAX): Likewise.
55984 [C99-based-standards] (SCNdMAX): Likewise.
55985 [C99-based-standards] (SCNiMAX): Likewise.
55986 [C99-based-standards] (SCNoMAX): Likewise.
55987 [C99-based-standards] (SCNuMAX): Likewise.
55988 [C99-based-standards] (SCNxMAX): Likewise.
55989 [C99-based-standards] (PRIdPTR): Likewise.
55990 [C99-based-standards] (PRIiPTR): Likewise.
55991 [C99-based-standards] (PRIoPTR): Likewise.
55992 [C99-based-standards] (PRIuPTR): Likewise.
55993 [C99-based-standards] (PRIxPTR): Likewise.
55994 [C99-based-standards] (PRIXPTR): Likewise.
55995 [C99-based-standards] (SCNdPTR): Likewise.
55996 [C99-based-standards] (SCNiPTR): Likewise.
55997 [C99-based-standards] (SCNoPTR): Likewise.
55998 [C99-based-standards] (SCNuPTR): Likewise.
55999 [C99-based-standards] (SCNxPTR): Likewise.
56000 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
56001 allow.
56002 * conform/data/stdint.h-data: Update comments to clarify
56003 requirements.
56004 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
56005 type.
56006 [C99-based standards] (INT8_MAX): Likewise.
56007 [C99-based standards] (INT16_MIN): Likewise.
56008 [C99-based standards] (INT16_MAX): Likewise.
56009 [C99-based standards] (INT32_MIN): Likewise.
56010 [C99-based standards] (INT32_MAX): Likewise.
56011 [C99-based standards] (INT64_MIN): Likewise.
56012 [C99-based standards] (INT64_MAX): Likewise.
56013 [C99-based standards] (UINT8_MAX): Likewise.
56014 [C99-based standards] (UINT16_MAX): Likewise.
56015 [C99-based standards] (UINT32_MAX): Likewise.
56016 [C99-based standards] (UINT64_MAX): Likewise.
56017 [C99-based standards] (INT_LEAST8_MIN): Likewise.
56018 [C99-based standards] (INT_LEAST8_MAX): Likewise.
56019 [C99-based standards] (INT_LEAST16_MIN): Likewise.
56020 [C99-based standards] (INT_LEAST16_MAX): Likewise.
56021 [C99-based standards] (INT_LEAST32_MIN): Likewise.
56022 [C99-based standards] (INT_LEAST32_MAX): Likewise.
56023 [C99-based standards] (INT_LEAST64_MIN): Likewise.
56024 [C99-based standards] (INT_LEAST64_MAX): Likewise.
56025 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
56026 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
56027 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
56028 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
56029 [C99-based standards] (INT_FAST8_MIN): Likewise.
56030 [C99-based standards] (INT_FAST8_MAX): Likewise.
56031 [C99-based standards] (INT_FAST16_MIN): Likewise.
56032 [C99-based standards] (INT_FAST16_MAX): Likewise.
56033 [C99-based standards] (INT_FAST32_MIN): Likewise.
56034 [C99-based standards] (INT_FAST32_MAX): Likewise.
56035 [C99-based standards] (INT_FAST64_MIN): Likewise.
56036 [C99-based standards] (INT_FAST64_MAX): Likewise.
56037 [C99-based standards] (UINT_FAST8_MAX): Likewise.
56038 [C99-based standards] (UINT_FAST16_MAX): Likewise.
56039 [C99-based standards] (UINT_FAST32_MAX): Likewise.
56040 [C99-based standards] (UINT_FAST64_MAX): Likewise.
56041 [C99-based standards] (INTPTR_MIN): Likewise.
56042 [C99-based standards] (INTPTR_MAX): Likewise.
56043 [C99-based standards] (UINTPTR_MAX): Likewise.
56044 [C99-based standards] (INTMAX_MIN): Likewise.
56045 [C99-based standards] (INTMAX_MAX): Likewise.
56046 [C99-based standards] (UINTMAX_MAX): Likewise.
56047 [C99-based standards] (PTRDIFF_MIN): Likewise.
56048 [C99-based standards] (PTRDIFF_MAX): Likewise.
56049 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
56050 [C99-based standards] (SIZE_MAX): Likewise.
56051 [C99-based standards] (WCHAR_MAX): Likewise.
56052 [C99-based standards] (WINT_MAX): Likewise.
56053 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
56054 constraint on value.
56055 [C99-based standards] (WCHAR_MIN): Likewise.
56056 [C99-based standards] (WINT_MIN): Likewise.
56057 [C99-based standards] (*_t): Allow.
56058 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
56059 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
56060 Include math.h-data and complex.h-data. Remove all expectations
56061 of math.h and complex.h contents.
56062 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
56063 at end of line.
56064 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
56065 (struct tm): Expect tag.
56066 [C99-based-standards] (wcstof): Expect function.
56067 [C99-based-standards] (wcstold): Likewise.
56068 [C99-based-standards] (wcstoll): Likewise.
56069 [C99-based-standards] (wcstoull): Likewise.
56070 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
56071 macro-int-constant. Specify type.
56072 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
56073 constraint on value.
56074 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56075 Specify type.
56076 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
56077 Specify value.
56078 [ISO C standards]: Do not allow headers.
56079 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56080 wcs[abcdefghijklmnopqrstuvwxyz]*.
56081 [ISO C standards] (*_t): Do not allow.
56082 * conform/data/wctype.h-data [C99-based standards] (iswblank):
56083 Expect function.
56084 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56085 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56086 Specify type.
56087 [ISO C standards]: Do not allow headers.
56088 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56089 is[abcdefghijklmnopqrstuvwxyz]*.
56090 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56091 to[abcdefghijklmnopqrstuvwxyz]*.
56092 [ISO C standards] (*_t): Do not allow.
56093 * conform/data/stdalign.h-data: New file.
56094 * conform/data/stdbool.h-data: Likewise.
56095 * conform/data/stdnoreturn.h-data: Likewise.
56096
56097 2012-11-07 Roland McGrath <roland@hack.frob.com>
56098
56099 [BZ #14815]
56100 * manual/filesys.texi (Directory Entries): Typo fix.
56101 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
56102
56103 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
56104
56105 * elf/elf.h (EM_AARCH64): New macro.
56106 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
56107 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
56108 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
56109 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
56110 (R_AARCH64_TLSDESC): Likewise.
56111 (NT_ARM_TLS): Likewise.
56112 (NT_ARM_HW_BREAK): Likewise.
56113 (NT_ARM_HW_WATCH): Likewise.
56114
56115 2012-11-07 Joseph Myers <joseph@codesourcery.com>
56116
56117 [BZ #14811]
56118 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
56119 (__ieee754_powl): Saturate nonzero exponents with absolute value
56120 below 0x1p-79 to +/- 0x1p-79.
56121 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
56122 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
56123 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
56124 nonzero exponents with absolute value below 0x1p-32 to +/-
56125 0x1p-32.
56126 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
56127 (__ieee754_powl): Saturate nonzero exponents with absolute value
56128 below 0x1p-79 to +/- 0x1p-79.
56129 * math/libm-test.inc (pow_test): Add more tests.
56130
56131 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56132
56133 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
56134 _dl_s390_cap_flags with kernel. Increase string length.
56135 (_dl_s390_platforms): Add z196 and zEC12.
56136
56137 2012-11-07 Joseph Myers <joseph@codesourcery.com>
56138
56139 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
56140 Change XOPEN21K to XOPEN2K.
56141
56142 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
56143
56144 * string/memmove.c: Use memcpy when possible.
56145
56146 2012-11-06 Andreas Jaeger <aj@suse.de>
56147
56148 * po/eo.po: Update from translation team.
56149
56150 2012-11-06 Joseph Myers <joseph@codesourcery.com>
56151
56152 [BZ #14793]
56153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
56154 exponent and small x and y exponents, scale x or y up. Increase
56155 by 2 the exponent used in scaling up.
56156 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56157 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56158 * math/libm-test.inc (fma_test): Add more tests.
56159 (fma_test_towardzero): Likewise.
56160 (fma_test_downward): Likewise.
56161 (fma_test_upward): Likewise.
56162
56163 2012-11-05 Joseph Myers <joseph@codesourcery.com>
56164
56165 [BZ #14805]
56166 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
56167 fenv_t *.
56168
56169 [BZ #14801]
56170 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
56171 namespace for names of struct fields.
56172 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
56173 fenv_t fields.
56174 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
56175 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
56176
56177 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
56178
56179 [BZ #3665]
56180 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
56181
56182 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
56183
56184 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
56185 PTR_DEMANGLE.
56186
56187 [BZ #5246]
56188 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
56189 PTR_DEMANGLE.
56190
56191 2012-11-04 Joseph Myers <joseph@codesourcery.com>
56192
56193 [BZ #14797]
56194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
56195 definitely overflow as x * y not x * y + z.
56196 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56197 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56198 * math/libm-test.inc (fma_test): Add more tests.
56199 (fma_test_towardzero): Likewise.
56200 (fma_test_downward): Likewise.
56201 (fma_test_upward): Likewise.
56202
56203 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
56204
56205 [BZ #157]
56206
56207 * include/stub-tag.h: Remove file.
56208 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56209 '#include' of it.
56210 * manual/maint.texi (Porting): Don't reference it.
56211 * Makerules ($(objpfx)stubs): Likewise.
56212 * dirent/closedir.c: Don't include <stub-tag.h>.
56213 * dirent/dirfd.c: Likewise.
56214 * dirent/fdopendir.c: Likewise.
56215 * dirent/getdents.c: Likewise.
56216 * dirent/getdents64.c: Likewise.
56217 * dirent/opendir.c: Likewise.
56218 * dirent/readdir.c: Likewise.
56219 * dirent/readdir64.c: Likewise.
56220 * dirent/readdir64_r.c: Likewise.
56221 * dirent/readdir_r.c: Likewise.
56222 * dirent/rewinddir.c: Likewise.
56223 * dirent/seekdir.c: Likewise.
56224 * dirent/telldir.c: Likewise.
56225 * gmon/profil.c: Likewise.
56226 * grp/setgroups.c: Likewise.
56227 * inet/if_index.c: Likewise.
56228 * io/access.c: Likewise.
56229 * io/chdir.c: Likewise.
56230 * io/chmod.c: Likewise.
56231 * io/chown.c: Likewise.
56232 * io/close.c: Likewise.
56233 * io/dup.c: Likewise.
56234 * io/dup2.c: Likewise.
56235 * io/dup3.c: Likewise.
56236 * io/euidaccess.c: Likewise.
56237 * io/faccessat.c: Likewise.
56238 * io/fchdir.c: Likewise.
56239 * io/fchmod.c: Likewise.
56240 * io/fchmodat.c: Likewise.
56241 * io/fchown.c: Likewise.
56242 * io/fchownat.c: Likewise.
56243 * io/fcntl.c: Likewise.
56244 * io/flock.c: Likewise.
56245 * io/fstatfs.c: Likewise.
56246 * io/fstatfs64.c: Likewise.
56247 * io/fstatvfs.c: Likewise.
56248 * io/fstatvfs64.c: Likewise.
56249 * io/futimens.c: Likewise.
56250 * io/fxstat.c: Likewise.
56251 * io/fxstat64.c: Likewise.
56252 * io/fxstatat.c: Likewise.
56253 * io/fxstatat64.c: Likewise.
56254 * io/getcwd.c: Likewise.
56255 * io/isatty.c: Likewise.
56256 * io/lchmod.c: Likewise.
56257 * io/lchown.c: Likewise.
56258 * io/link.c: Likewise.
56259 * io/linkat.c: Likewise.
56260 * io/lseek.c: Likewise.
56261 * io/lseek64.c: Likewise.
56262 * io/lxstat64.c: Likewise.
56263 * io/mkdir.c: Likewise.
56264 * io/mkdirat.c: Likewise.
56265 * io/mkfifo.c: Likewise.
56266 * io/mkfifoat.c: Likewise.
56267 * io/open.c: Likewise.
56268 * io/open64.c: Likewise.
56269 * io/openat.c: Likewise.
56270 * io/openat64.c: Likewise.
56271 * io/pipe.c: Likewise.
56272 * io/pipe2.c: Likewise.
56273 * io/poll.c: Likewise.
56274 * io/posix_fadvise.c: Likewise.
56275 * io/posix_fadvise64.c: Likewise.
56276 * io/posix_fallocate.c: Likewise.
56277 * io/posix_fallocate64.c: Likewise.
56278 * io/read.c: Likewise.
56279 * io/readlink.c: Likewise.
56280 * io/readlinkat.c: Likewise.
56281 * io/rmdir.c: Likewise.
56282 * io/sendfile.c: Likewise.
56283 * io/sendfile64.c: Likewise.
56284 * io/statfs.c: Likewise.
56285 * io/statfs64.c: Likewise.
56286 * io/statvfs.c: Likewise.
56287 * io/statvfs64.c: Likewise.
56288 * io/symlink.c: Likewise.
56289 * io/symlinkat.c: Likewise.
56290 * io/ttyname.c: Likewise.
56291 * io/ttyname_r.c: Likewise.
56292 * io/umask.c: Likewise.
56293 * io/unlink.c: Likewise.
56294 * io/unlinkat.c: Likewise.
56295 * io/utime.c: Likewise.
56296 * io/utimensat.c: Likewise.
56297 * io/write.c: Likewise.
56298 * io/xmknod.c: Likewise.
56299 * io/xmknodat.c: Likewise.
56300 * io/xstat.c: Likewise.
56301 * io/xstat64.c: Likewise.
56302 * login/getpt.c: Likewise.
56303 * login/grantpt.c: Likewise.
56304 * login/unlockpt.c: Likewise.
56305 * math/e_acoshl.c: Likewise.
56306 * math/e_acosl.c: Likewise.
56307 * math/e_asinl.c: Likewise.
56308 * math/e_atan2l.c: Likewise.
56309 * math/e_atanhl.c: Likewise.
56310 * math/e_coshl.c: Likewise.
56311 * math/e_expl.c: Likewise.
56312 * math/e_fmodl.c: Likewise.
56313 * math/e_gammal_r.c: Likewise.
56314 * math/e_hypotl.c: Likewise.
56315 * math/e_j0l.c: Likewise.
56316 * math/e_j1l.c: Likewise.
56317 * math/e_jnl.c: Likewise.
56318 * math/e_lgammal_r.c: Likewise.
56319 * math/e_log10l.c: Likewise.
56320 * math/e_log2l.c: Likewise.
56321 * math/e_logl.c: Likewise.
56322 * math/e_powl.c: Likewise.
56323 * math/e_rem_pio2l.c: Likewise.
56324 * math/e_sinhl.c: Likewise.
56325 * math/e_sqrtl.c: Likewise.
56326 * math/fclrexcpt.c: Likewise.
56327 * math/fedisblxcpt.c: Likewise.
56328 * math/feenablxcpt.c: Likewise.
56329 * math/fegetenv.c: Likewise.
56330 * math/fegetexcept.c: Likewise.
56331 * math/fegetround.c: Likewise.
56332 * math/feholdexcpt.c: Likewise.
56333 * math/fesetenv.c: Likewise.
56334 * math/fesetround.c: Likewise.
56335 * math/feupdateenv.c: Likewise.
56336 * math/fgetexcptflg.c: Likewise.
56337 * math/fraiseexcpt.c: Likewise.
56338 * math/fsetexcptflg.c: Likewise.
56339 * math/ftestexcept.c: Likewise.
56340 * math/k_cosl.c: Likewise.
56341 * math/k_rem_pio2l.c: Likewise.
56342 * math/k_sinl.c: Likewise.
56343 * math/k_tanl.c: Likewise.
56344 * math/s_asinhl.c: Likewise.
56345 * math/s_atanl.c: Likewise.
56346 * math/s_cbrtl.c: Likewise.
56347 * math/s_erfl.c: Likewise.
56348 * math/s_expm1l.c: Likewise.
56349 * math/s_log1pl.c: Likewise.
56350 * math/s_tanhl.c: Likewise.
56351 * misc/acct.c: Likewise.
56352 * misc/brk.c: Likewise.
56353 * misc/chflags.c: Likewise.
56354 * misc/chroot.c: Likewise.
56355 * misc/fchflags.c: Likewise.
56356 * misc/fgetxattr.c: Likewise.
56357 * misc/flistxattr.c: Likewise.
56358 * misc/fremovexattr.c: Likewise.
56359 * misc/fsetxattr.c: Likewise.
56360 * misc/fsync.c: Likewise.
56361 * misc/ftruncate.c: Likewise.
56362 * misc/futimes.c: Likewise.
56363 * misc/futimesat.c: Likewise.
56364 * misc/getdomain.c: Likewise.
56365 * misc/getdtsz.c: Likewise.
56366 * misc/gethostid.c: Likewise.
56367 * misc/gethostname.c: Likewise.
56368 * misc/getloadavg.c: Likewise.
56369 * misc/getpagesize.c: Likewise.
56370 * misc/getsysstats.c: Likewise.
56371 * misc/getxattr.c: Likewise.
56372 * misc/gtty.c: Likewise.
56373 * misc/ioctl.c: Likewise.
56374 * misc/lgetxattr.c: Likewise.
56375 * misc/listxattr.c: Likewise.
56376 * misc/llistxattr.c: Likewise.
56377 * misc/lremovexattr.c: Likewise.
56378 * misc/lsetxattr.c: Likewise.
56379 * misc/lutimes.c: Likewise.
56380 * misc/madvise.c: Likewise.
56381 * misc/mincore.c: Likewise.
56382 * misc/mlock.c: Likewise.
56383 * misc/mlockall.c: Likewise.
56384 * misc/mmap.c: Likewise.
56385 * misc/mprotect.c: Likewise.
56386 * misc/msync.c: Likewise.
56387 * misc/munlock.c: Likewise.
56388 * misc/munlockall.c: Likewise.
56389 * misc/munmap.c: Likewise.
56390 * misc/preadv.c: Likewise.
56391 * misc/preadv64.c: Likewise.
56392 * misc/ptrace.c: Likewise.
56393 * misc/pwritev.c: Likewise.
56394 * misc/pwritev64.c: Likewise.
56395 * misc/readv.c: Likewise.
56396 * misc/reboot.c: Likewise.
56397 * misc/remap_file_pages.c: Likewise.
56398 * misc/removexattr.c: Likewise.
56399 * misc/revoke.c: Likewise.
56400 * misc/select.c: Likewise.
56401 * misc/setdomain.c: Likewise.
56402 * misc/setegid.c: Likewise.
56403 * misc/seteuid.c: Likewise.
56404 * misc/sethostid.c: Likewise.
56405 * misc/sethostname.c: Likewise.
56406 * misc/setregid.c: Likewise.
56407 * misc/setreuid.c: Likewise.
56408 * misc/setxattr.c: Likewise.
56409 * misc/sstk.c: Likewise.
56410 * misc/stty.c: Likewise.
56411 * misc/swapoff.c: Likewise.
56412 * misc/swapon.c: Likewise.
56413 * misc/sync.c: Likewise.
56414 * misc/syncfs.c: Likewise.
56415 * misc/syscall.c: Likewise.
56416 * misc/truncate.c: Likewise.
56417 * misc/ualarm.c: Likewise.
56418 * misc/usleep.c: Likewise.
56419 * misc/ustat.c: Likewise.
56420 * misc/utimes.c: Likewise.
56421 * misc/vhangup.c: Likewise.
56422 * misc/writev.c: Likewise.
56423 * posix/_exit.c: Likewise.
56424 * posix/alarm.c: Likewise.
56425 * posix/execve.c: Likewise.
56426 * posix/fexecve.c: Likewise.
56427 * posix/fork.c: Likewise.
56428 * posix/fpathconf.c: Likewise.
56429 * posix/getaddrinfo.c: Likewise.
56430 * posix/getegid.c: Likewise.
56431 * posix/geteuid.c: Likewise.
56432 * posix/getgid.c: Likewise.
56433 * posix/getgroups.c: Likewise.
56434 * posix/getlogin.c: Likewise.
56435 * posix/getlogin_r.c: Likewise.
56436 * posix/getpgid.c: Likewise.
56437 * posix/getpid.c: Likewise.
56438 * posix/getppid.c: Likewise.
56439 * posix/getresgid.c: Likewise.
56440 * posix/getresuid.c: Likewise.
56441 * posix/getsid.c: Likewise.
56442 * posix/getuid.c: Likewise.
56443 * posix/glob64.c: Likewise.
56444 * posix/nanosleep.c: Likewise.
56445 * posix/pathconf.c: Likewise.
56446 * posix/pause.c: Likewise.
56447 * posix/posix_madvise.c: Likewise.
56448 * posix/pread.c: Likewise.
56449 * posix/pread64.c: Likewise.
56450 * posix/pwrite.c: Likewise.
56451 * posix/pwrite64.c: Likewise.
56452 * posix/sched_getaffinity.c: Likewise.
56453 * posix/sched_getp.c: Likewise.
56454 * posix/sched_gets.c: Likewise.
56455 * posix/sched_primax.c: Likewise.
56456 * posix/sched_primin.c: Likewise.
56457 * posix/sched_rr_gi.c: Likewise.
56458 * posix/sched_setaffinity.c: Likewise.
56459 * posix/sched_setp.c: Likewise.
56460 * posix/sched_sets.c: Likewise.
56461 * posix/sched_yield.c: Likewise.
56462 * posix/setgid.c: Likewise.
56463 * posix/setlogin.c: Likewise.
56464 * posix/setpgid.c: Likewise.
56465 * posix/setresgid.c: Likewise.
56466 * posix/setresuid.c: Likewise.
56467 * posix/setsid.c: Likewise.
56468 * posix/setuid.c: Likewise.
56469 * posix/sleep.c: Likewise.
56470 * posix/spawni.c: Likewise.
56471 * posix/sysconf.c: Likewise.
56472 * posix/times.c: Likewise.
56473 * posix/wait.c: Likewise.
56474 * posix/wait3.c: Likewise.
56475 * posix/wait4.c: Likewise.
56476 * posix/waitpid.c: Likewise.
56477 * resolv/gai_sigqueue.c: Likewise.
56478 * resource/getpriority.c: Likewise.
56479 * resource/getrlimit.c: Likewise.
56480 * resource/getrusage.c: Likewise.
56481 * resource/nice.c: Likewise.
56482 * resource/setpriority.c: Likewise.
56483 * resource/setrlimit.c: Likewise.
56484 * resource/ulimit.c: Likewise.
56485 * rt/aio_cancel.c: Likewise.
56486 * rt/aio_fsync.c: Likewise.
56487 * rt/aio_read.c: Likewise.
56488 * rt/aio_sigqueue.c: Likewise.
56489 * rt/aio_suspend.c: Likewise.
56490 * rt/aio_write.c: Likewise.
56491 * rt/clock_getres.c: Likewise.
56492 * rt/clock_gettime.c: Likewise.
56493 * rt/clock_nanosleep.c: Likewise.
56494 * rt/clock_settime.c: Likewise.
56495 * rt/lio_listio.c: Likewise.
56496 * rt/mq_close.c: Likewise.
56497 * rt/mq_getattr.c: Likewise.
56498 * rt/mq_notify.c: Likewise.
56499 * rt/mq_open.c: Likewise.
56500 * rt/mq_receive.c: Likewise.
56501 * rt/mq_send.c: Likewise.
56502 * rt/mq_setattr.c: Likewise.
56503 * rt/mq_timedreceive.c: Likewise.
56504 * rt/mq_timedsend.c: Likewise.
56505 * rt/mq_unlink.c: Likewise.
56506 * rt/shm_open.c: Likewise.
56507 * rt/shm_unlink.c: Likewise.
56508 * rt/timer_create.c: Likewise.
56509 * rt/timer_delete.c: Likewise.
56510 * rt/timer_getoverr.c: Likewise.
56511 * rt/timer_gettime.c: Likewise.
56512 * rt/timer_settime.c: Likewise.
56513 * setjmp/__longjmp.c: Likewise.
56514 * setjmp/setjmp.c: Likewise.
56515 * signal/kill.c: Likewise.
56516 * signal/killpg.c: Likewise.
56517 * signal/raise.c: Likewise.
56518 * signal/sigaction.c: Likewise.
56519 * signal/sigaltstack.c: Likewise.
56520 * signal/sigblock.c: Likewise.
56521 * signal/sigignore.c: Likewise.
56522 * signal/sigintr.c: Likewise.
56523 * signal/signal.c: Likewise.
56524 * signal/sigpause.c: Likewise.
56525 * signal/sigpending.c: Likewise.
56526 * signal/sigqueue.c: Likewise.
56527 * signal/sigreturn.c: Likewise.
56528 * signal/sigset.c: Likewise.
56529 * signal/sigsetmask.c: Likewise.
56530 * signal/sigstack.c: Likewise.
56531 * signal/sigsuspend.c: Likewise.
56532 * signal/sigtimedwait.c: Likewise.
56533 * signal/sigvec.c: Likewise.
56534 * signal/sigwait.c: Likewise.
56535 * signal/sigwaitinfo.c: Likewise.
56536 * signal/sysv_signal.c: Likewise.
56537 * socket/accept.c: Likewise.
56538 * socket/accept4.c: Likewise.
56539 * socket/bind.c: Likewise.
56540 * socket/connect.c: Likewise.
56541 * socket/getpeername.c: Likewise.
56542 * socket/getsockname.c: Likewise.
56543 * socket/getsockopt.c: Likewise.
56544 * socket/isfdtype.c: Likewise.
56545 * socket/listen.c: Likewise.
56546 * socket/recv.c: Likewise.
56547 * socket/recvfrom.c: Likewise.
56548 * socket/recvmsg.c: Likewise.
56549 * socket/send.c: Likewise.
56550 * socket/sendmsg.c: Likewise.
56551 * socket/sendto.c: Likewise.
56552 * socket/setsockopt.c: Likewise.
56553 * socket/shutdown.c: Likewise.
56554 * socket/sockatmark.c: Likewise.
56555 * socket/socket.c: Likewise.
56556 * socket/socketpair.c: Likewise.
56557 * stdio-common/ctermid.c: Likewise.
56558 * stdio-common/cuserid.c: Likewise.
56559 * stdio-common/remove.c: Likewise.
56560 * stdio-common/rename.c: Likewise.
56561 * stdio-common/renameat.c: Likewise.
56562 * stdio-common/tempname.c: Likewise.
56563 * stdlib/getcontext.c: Likewise.
56564 * stdlib/makecontext.c: Likewise.
56565 * stdlib/setcontext.c: Likewise.
56566 * stdlib/swapcontext.c: Likewise.
56567 * stdlib/system.c: Likewise.
56568 * streams/fattach.c: Likewise.
56569 * streams/fdetach.c: Likewise.
56570 * streams/getmsg.c: Likewise.
56571 * streams/getpmsg.c: Likewise.
56572 * streams/putmsg.c: Likewise.
56573 * streams/putpmsg.c: Likewise.
56574 * sysdeps/unix/bsd/getpt.c: Likewise.
56575 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56576 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56577 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56579 Likewise.
56580 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56581 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56582 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56583 * sysvipc/msgctl.c: Likewise.
56584 * sysvipc/msgget.c: Likewise.
56585 * sysvipc/msgrcv.c: Likewise.
56586 * sysvipc/msgsnd.c: Likewise.
56587 * sysvipc/semctl.c: Likewise.
56588 * sysvipc/semget.c: Likewise.
56589 * sysvipc/semop.c: Likewise.
56590 * sysvipc/semtimedop.c: Likewise.
56591 * sysvipc/shmat.c: Likewise.
56592 * sysvipc/shmctl.c: Likewise.
56593 * sysvipc/shmdt.c: Likewise.
56594 * sysvipc/shmget.c: Likewise.
56595 * termios/tcdrain.c: Likewise.
56596 * termios/tcflow.c: Likewise.
56597 * termios/tcflush.c: Likewise.
56598 * termios/tcgetattr.c: Likewise.
56599 * termios/tcgetpgrp.c: Likewise.
56600 * termios/tcsendbrk.c: Likewise.
56601 * termios/tcsetattr.c: Likewise.
56602 * termios/tcsetpgrp.c: Likewise.
56603 * time/adjtime.c: Likewise.
56604 * time/clock.c: Likewise.
56605 * time/getitimer.c: Likewise.
56606 * time/gettimeofday.c: Likewise.
56607 * time/setitimer.c: Likewise.
56608 * time/settimeofday.c: Likewise.
56609 * time/stime.c: Likewise.
56610 * time/time.c: Likewise.
56611
56612 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
56613
56614 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56615 /usr/old/bin.
56616
56617 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56618 instead of spaces.
56619 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56620
56621 2012-11-03 Joseph Myers <joseph@codesourcery.com>
56622
56623 [BZ #14796]
56624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56625 FE_TONEAREST before applying Dekker multiplication and Knuth
56626 addition. Clear inexact exceptions and check for exact zero
56627 results afterwards.
56628 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56629 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56630 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56631 * math/libm-test.inc (fma_test): Add more tests.
56632 (fma_test_towardzero): Likewise.
56633 (fma_test_downward): Likewise.
56634 (fma_test_upward): Likewise.
56635 * sysdeps/generic/math_private.h (default_libc_fesetround): New
56636 function.
56637 (libc_fesetround): New macro.
56638 (libc_fesetroundf): Likewise.
56639 (libc_fesetroundl): Likewise.
56640 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56641 function.
56642 (libc_fesetround_387): Likewise.
56643 (libc_fesetroundf): New macro.
56644 (libc_fesetround): Likewise.
56645 (libc_fesetroundl): Likewise.
56646 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56647 function.
56648 (libc_fesetroundf): New macro.
56649 (libc_fesetround): Likewise.
56650 (libc_fesetroundl): Likewise.
56651 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56652 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56653 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56654 libm_hidden_ver.
56655 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56656 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56657 libm_hidden_def.
56658 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56659 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56660 libm_hidden_ver.
56661 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56662 libm_hidden_def.
56663
56664 [BZ #3439]
56665 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56666 integer constant usable in #if and use that to give value to enum
56667 constant.
56668 (FE_DIVBYZERO): Likewise.
56669 (FE_UNDERFLOW): Likewise.
56670 (FE_OVERFLOW): Likewise.
56671 (FE_INVALID): Likewise.
56672 (FE_INVALID_SNAN): Likewise.
56673 (FE_INVALID_ISI): Likewise.
56674 (FE_INVALID_IDI): Likewise.
56675 (FE_INVALID_ZDZ): Likewise.
56676 (FE_INVALID_IMZ): Likewise.
56677 (FE_INVALID_COMPARE): Likewise.
56678 (FE_INVALID_SOFTWARE): Likewise.
56679 (FE_INVALID_SQRT): Likewise.
56680 (FE_INVALID_INTEGER_CONVERSION): Likewise.
56681 (FE_TONEAREST): Likewise.
56682 (FE_TOWARDZERO): Likewise.
56683 (FE_UPWARD): Likewise.
56684 (FE_DOWNWARD): Likewise.
56685 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56686 (FE_DIVBYZERO): Likewise.
56687 (FE_OVERFLOW): Likewise.
56688 (FE_UNDERFLOW): Likewise.
56689 (FE_INEXACT): Likewise.
56690 (FE_TONEAREST): Likewise.
56691 (FE_DOWNWARD): Likewise.
56692 (FE_UPWARD): Likewise.
56693 (FE_TOWARDZERO): Likewise.
56694 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56695 (FE_UNDERFLOW): Likewise.
56696 (FE_OVERFLOW): Likewise.
56697 (FE_DIVBYZERO): Likewise.
56698 (FE_INVALID): Likewise.
56699 (FE_TONEAREST): Likewise.
56700 (FE_TOWARDZERO): Likewise.
56701 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56702 (FE_OVERFLOW): Likewise.
56703 (FE_UNDERFLOW): Likewise.
56704 (FE_DIVBYZERO): Likewise.
56705 (FE_INEXACT): Likewise.
56706 (FE_TONEAREST): Likewise.
56707 (FE_TOWARDZERO): Likewise.
56708 (FE_UPWARD): Likewise.
56709 (FE_DOWNWARD): Likewise.
56710 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56711 (FE_DIVBYZERO): Likewise.
56712 (FE_OVERFLOW): Likewise.
56713 (FE_UNDERFLOW): Likewise.
56714 (FE_INEXACT): Likewise.
56715 (FE_TONEAREST): Likewise.
56716 (FE_DOWNWARD): Likewise.
56717 (FE_UPWARD): Likewise.
56718 (FE_TOWARDZERO): Likewise.
56719
56720 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
56721
56722 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56723
56724 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
56725
56726 * scripts/cross-test-ssh.sh (command): Use newlines to separate
56727 commands. Quote $PWD.
56728 (blacklist_exports): Don't use remove_newlines. Replace "declare
56729 -x" by "export".
56730 (remove_newlines): Remove.
56731
56732 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
56733
56734 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56735 * stdlib/stdlib.h (atof): Moved to ...
56736 * include/bits/stdlib-float.h: Here. New file.
56737 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56738 * stdlib/bits/stdlib-float.h: New file.
56739 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56740 -mno-sse -mno-mmx.
56741 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56742 <xmmintrin.h>.
56743
56744 2012-11-02 Joseph Myers <joseph@codesourcery.com>
56745
56746 * conform/conformtest.pl (@headers): Add fenv.h.
56747 * conform/data/fenv.h-data: New file.
56748 * include/fenv.h [_ISOMAC]: Disable all contents of file except
56749 include of <math/fenv.h>.
56750
56751 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56752 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56753 && !UNIX98]. Enables tests for XOPEN2K8.
56754 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56755 POSIX2008]: Likewise.
56756
56757 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56758 (struct rusage): Do not expect type or its members.
56759
56760 [BZ #3439]
56761 * math/math.h (FP_NAN): Define macro to integer constant usable in
56762 #if and use that to give value to enum constant.
56763 (FP_INFINITE): Likewise.
56764 (FP_ZERO): Likewise.
56765 (FP_SUBNORMAL): Likewise.
56766 (FP_NORMAL): Likewise.
56767
56768 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
56769
56770 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56771 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56772 arguments.
56773
56774 2012-11-02 Roland McGrath <roland@hack.frob.com>
56775
56776 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56777 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56778 autoconf-time if not.
56779 * configure.in: Remove AC_PREREQ.
56780
56781 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56782
56783 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56784 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56785 of the internal implementation.
56786
56787 2012-11-02 Joseph Myers <joseph@codesourcery.com>
56788
56789 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56790 except include of <misc/sys/syslog.h>.
56791
56792 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
56793
56794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56795 function returns with a NULL context exit with zero.
56796
56797 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56798
56799 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56800
56801 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
56802
56803 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56804 (run_program_cmd): This.
56805 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56806 (tst_langinfo): New variable. Use it.
56807
56808 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
56809
56810 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56811 floating point opcodes.
56812
56813 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
56814
56815 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56816 variable.
56817
56818 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56819
56820 * sysdeps/mach/hurd/powerpc: Remove directory.
56821 * sysdeps/mach/powerpc: Likewise.
56822
56823 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
56824
56825 * scripts/check-local-headers.sh: Ignore c++ headers.
56826
56827 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
56828
56829 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56830 __libc_cleanup_region_start argument.
56831
56832 2012-11-01 Joseph Myers <joseph@codesourcery.com>
56833
56834 [BZ #14784]
56835 [BZ #14785]
56836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56837 x * y using scaling, not as x * y + z.
56838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56839 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56840 * math/libm-test.inc (fma_test): Add more tests.
56841 (fma_test_towardzero): Likewise.
56842 (fma_test_downward): Likewise.
56843 (fma_test_upward): Likewise.
56844
56845 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
56846
56847 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56848
56849 2012-10-31 Joseph Myers <joseph@codesourcery.com>
56850
56851 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56852 New variable.
56853
56854 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
56855
56856 * rt/tst-shm.c (worker): Correct checking for mmap failure.
56857
56858 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
56859
56860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56861 Fix sort order.
56862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56863 Likewise.
56864
56865 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56866
56867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56868 Fix the order of the list for glibc 2.17.
56869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56870 Likewise.
56871
56872 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
56873
56874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56875
56876 2012-10-31 Joseph Myers <joseph@codesourcery.com>
56877
56878 [BZ #14610]
56879 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56880 for low part of x being zero before using __atanl (y).
56881 * math/libm-test.inc (atan2_test): Add another test.
56882
56883 * manual/install.texi (Configuring and compiling): Document
56884 general use of test-wrapper and test-wrapper-env.
56885 * INSTALL: Regenerated.
56886
56887 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56888 (__fma): Do not extract and scale down low bits on after-rounding
56889 systems when result rounded to normal precision would have normal
56890 exponent.
56891 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56892 (__fmal): Do not extract and scale down low bits on after-rounding
56893 systems when result rounded to normal precision would have normal
56894 exponent.
56895 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56896 (__fmal): Do not extract and scale down low bits on after-rounding
56897 systems when result rounded to normal precision would have normal
56898 exponent.
56899 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56900 macro.
56901 (fma_test): Add more tests.
56902 (fma_test_towardzero): Likewise.
56903 (fma_test_downward): Likewise.
56904 (fma_test_upward): Likewise.
56905
56906 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
56907
56908 * sysdeps/i386/tininess.h: Renamed to ...
56909 * sysdeps/x86/tininess.h: This.
56910 * sysdeps/x86_64/tininess.h: Removed.
56911
56912 2012-10-30 Joseph Myers <joseph@codesourcery.com>
56913
56914 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56915 input. Use $(build-program-cmd).
56916 ($(objpfx)tst-array1-static.out): Likewise.
56917 ($(objpfx)tst-array2.out): Likewise.
56918 ($(objpfx)tst-array3.out): Likewise.
56919 ($(objpfx)tst-array4.out): Likewise.
56920 ($(objpfx)tst-array5.out): Likewise.
56921 ($(objpfx)tst-array5-static.out): Likewise.
56922
56923 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
56924
56925 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56926 if defined.
56927
56928 * nss/nsswitch.h (nss_interface_function): Provide new
56929 macro for use with NSS functions.
56930 * grp/initgroups.c: Use new macro.
56931 * nss/getXXbyYY.c: Likewise.
56932 * nss/getXXbyYY_r.c: Likewise.
56933 * nss/getXXent.c: Likewise.
56934 * nss/getXXent_r.c: Likewise.
56935 * sysdeps/posix/getaddrinfo.c: Likewise.
56936
56937 2012-10-30 Andreas Jaeger <aj@suse.de>
56938
56939 * po/ru.po: Update Russion translation from translation project.
56940
56941 2012-10-30 Joseph Myers <joseph@codesourcery.com>
56942
56943 [BZ #14152]
56944 [BZ #14783]
56945 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56946 result and shift together with sticky bit instead of replicating
56947 round-to-nearest rounding.
56948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56949 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56950 * math/libm-test.inc (fma_test): Add more tests. Do not permit
56951 missing underflow exceptions.
56952 (fma_test_towardzero): Add more tests.
56953 (fma_test_downward): Likewise.
56954 (fma_test_upward): Likewise.
56955
56956 [BZ #14047]
56957 * sysdeps/generic/tininess.h: New file.
56958 * sysdeps/i386/tininess.h: Likewise.
56959 * sysdeps/sh/tininess.h: Likewise.
56960 * sysdeps/x86_64/tininess.h: Likewise.
56961 * stdlib/tst-strtod-underflow.c: Likewise.
56962 * stdlib/tst-tininess.c: Likewise.
56963 * stdlib/strtod_l.c: Include <tininess.h>.
56964 (round_and_return): Do not set errno for exact underflow cases.
56965 Force an underflow exception when setting errno for underflow.
56966 Determine underflow based on rounding to normal precision if
56967 TININESS_AFTER_ROUNDING.
56968 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56969 ERANGE for exact underflow cases.
56970 * stdlib/Makefile (tests): Add tst-tininess and
56971 tst-strtod-underflow.
56972 ($(objpfx)tst-tininess): Use $(link-libm).
56973 ($(objpfx)tst-strtod-underflow): Likewise.
56974
56975 2012-10-30 Andreas Jaeger <aj@suse.de>
56976
56977 [BZ#14767]
56978 * elf/Makefile (tests): Remove conditional for have-initfini-array
56979 since this is now always required and the variable does not exist
56980 anymore.
56981 (tests-static): Likewise.
56982 (modules-names): Likewise.
56983
56984 * po/eo.po: Add Esperanto translation from translation project.
56985
56986 * elf/tst-array1.c (fini_array): Make writeable so that it can be
56987 merged with constructor/destructor.
56988 (init_array): Likewise.
56989 * elf/tst-array2dep.c (fini_array): Likewise.
56990 (init_array): Likewise.
56991
56992 2012-10-29 Mike Frysinger <vapier@gentoo.org>
56993
56994 * manual/message.texi: Delete @cartouche tags.
56995
56996 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
56997
56998 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56999 EOPNOTSUPP.
57000 * sysdeps/mach/hurd/fsync.c: Likewise.
57001
57002 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
57003 [_POSIX_REALTIME_SIGNALS]: Change condition to
57004 [_POSIX_REALTIME_SIGNALS > 0].
57005
57006 2012-10-27 Andreas Jaeger <aj@suse.de>
57007
57008 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
57009 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
57010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
57011 [__WORDSIZE != 64]: Likewise.
57012
57013 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
57014
57015 * iconvdata/tst-table.sh: Remove ${SHELL}.
57016 * iconvdata/tst-tables.sh: Likewise.
57017
57018 2012-10-25 David S. Miller <davem@davemloft.net>
57019
57020 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57021 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
57022 of strtoull.
57023
57024 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
57025 ifunc-impl-list.c
57026 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57027 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
57028 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
57029 file.
57030
57031 2012-10-25 Roland McGrath <roland@hack.frob.com>
57032
57033 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57034 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
57035 __getdirentries.
57036
57037 2012-10-25 Joseph Myers <joseph@codesourcery.com>
57038 Jim Blandy <jimb@codesourcery.com>
57039
57040 * scripts/cross-test-ssh.sh: New file.
57041 * manual/install.texi (Configuring and compiling): Document use of
57042 cross-test-ssh.sh.
57043 * INSTALL: Regenerated.
57044
57045 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
57046
57047 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
57048 EOPNOTSUPP.
57049
57050 2012-10-25 Joseph Myers <joseph@codesourcery.com>
57051
57052 * Makeconfig (run-program-prefix): Fix comment.
57053
57054 2012-10-24 Joseph Myers <joseph@codesourcery.com>
57055 Jim Blandy <jimb@codesourcery.com>
57056
57057 * Makeconfig (test-wrapper): New variable,
57058 (test-wrapper-env): Likewise.
57059 [$(cross-compiling) = yes && $(test-wrapper) != ""]
57060 (run-built-tests): Define to yes.
57061 (run-program-prefix): Use $(test-wrapper).
57062 (built-program-cmd): Likewise.
57063 * Rules (make-test-out): Use $(test-wrapper-env) and
57064 $(host-built-program-cmd).
57065 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
57066 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
57067 tst-pathopt.sh.
57068 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57069 $(test-wrapper-env) to tst-rtld-load-self.sh.
57070 ($(objpfx)order2.out): Use $(test-wrapper).
57071 ($(objpfx)tst-initorder.out): Likewise.
57072 ($(objpfx)tst-initorder2.out): Likewise.
57073 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57074 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
57075 (test_wrapper_env): New variable. Use it to run ld.so.
57076 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
57077 Use it to run ld.so.
57078 (test_wrapper_env): Likewise.
57079 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57080 $(test-wrapper) to run-iconv-test.sh.
57081 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57082 (ICONV): Use $test_wrapper.
57083 * posix/Makefile ($(objpfx)globtest.out): Pass
57084 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57085 globtest.sh, not $(run-program-prefix).
57086 * posix/globtest.sh (run_via_rtld_prefix): New variable.
57087 (test_wrapper): Likewise.
57088 (test_wrapper_env): Likewise. Use it to run globtest with HOME
57089 set together with run_via_rtld_prefix.
57090 (run_program_prefix): Define in terms of test_wrapper and
57091 run_via_rtld_prefix.
57092
57093 2012-10-24 Roland McGrath <roland@hack.frob.com>
57094
57095 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
57096 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
57097 Targets removed.
57098
57099 [BZ #14743]
57100 * include/time.h: Remove librt_hidden_proto (clock_gettime).
57101 Declare __clock_getres, __clock_gettime, __clock_settime,
57102 __clock_nanosleep, and __clock_getcpuclockid.
57103 * rt/clock_gettime.c: Define __clock_gettime as an alias.
57104 Remove librt_hidden_def (clock_gettime).
57105 * sysdeps/unix/clock_gettime.c: Likewise.
57106 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
57107 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
57108 * rt/clock_getres.c: Define __clock_getres as an alias.
57109 * sysdeps/posix/clock_getres.c: Likewise.
57110 * rt/clock_settime.c: Define __clock_settime as an alias.
57111 * sysdeps/unix/clock_settime.c: Likewise.
57112 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
57113 * sysdeps/unix/clock_nanosleep.c: Likewise.
57114 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
57115 * rt/clock-compat.c: New file.
57116 * rt/Makefile (librt-routines): Add clock-compat and move
57117 $(clock-routines) to ...
57118 (routines): ... here, new variable.
57119 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
57120 Don't add get_clockfreq here.
57121 * rt/Versions (libc: GLIBC_2.17): New version set.
57122 Add clock_* symbols here.
57123 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
57124 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
57125 (GLIBC_2.17): Add clock_* symbols.
57126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57128 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57130 Likewise.
57131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57132 Likewise.
57133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57137 * NEWS: Mention the move.
57138
57139 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57140 Use __open, __read, __close rather than their public counterparts.
57141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57142 (__get_clockfreq_via_cpuinfo): Likewise.
57143 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
57144 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
57145
57146 * config.h.in (HAVE_IFUNC): New #undef.
57147 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
57148 was successful.
57149 * configure: Regenerated.
57150
57151 2012-10-24 Mike Frysinger <vapier@gentoo.org>
57152
57153 * configure.in: Move READELF check to start of file.
57154 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
57155 libc_cv_asm_gnu_indirect_function in the process.
57156 * configure: Regenerated.
57157
57158 2012-10-24 Mike Frysinger <vapier@gentoo.org>
57159
57160 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
57161 send the output to /dev/null.
57162 (libc_cv_cc_with_libunwind): Likewise.
57163 (libc_cv_as_noexecstack): Likewise.
57164 * configure: Regenerate.
57165
57166 2012-10-24 Joseph Myers <joseph@codesourcery.com>
57167
57168 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
57169
57170 * posix/globtest.sh (TMPDIR): Do not set.
57171 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
57172 (testout): Likewise.
57173
57174 2012-10-24 Andreas Jaeger <aj@suse.de>
57175
57176 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
57177 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
57178 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
57179 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
57180 posix_fadvise64, posix_fallocate64.
57181
57182 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
57183 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
57184 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
57185 Likewise.
57186 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
57187 Likewise.
57188 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
57189
57190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
57191 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
57192 <bits/fcntl-linux.h>.
57193 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
57194
57195 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
57196 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
57197 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
57198 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
57199 [__WORDSIZE != 64]: Likewise.
57200
57201 2012-10-23 Joseph Myers <joseph@codesourcery.com>
57202
57203 * Makeconfig (run-built-tests): New variable.
57204 * Rules [$(cross-compiling) = yes]: Change condition to
57205 [$(run-built-tests) = no].
57206 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57207 to [$(run-built-tests) = yes].
57208 * elf/Makefile [$(cross-compiling) = no]: Likewise.
57209 * grp/Makefile [$(cross-compiling) = no]: Likewise.
57210 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57211 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57212 * intl/Makefile [$(cross-compiling) = no]: Likewise.
57213 * io/Makefile [$(cross-compiling) = no]: Likewise.
57214 * libio/Makefile [$(cross-compiling) = no]: Likewise.
57215 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57216 * misc/Makefile [$(cross-compiling) = no]: Likewise.
57217 * posix/Makefile [$(cross-compiling) = no]: Likewise.
57218 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57219 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57220 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57221 * string/Makefile [$(cross-compiling) = no]: Likewise.
57222
57223 * posix/Makefile ($(objpfx)globtest.out): Pass
57224 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57225 $(rtld-installed-name).
57226 * posix/globtest.sh (elf_objpfx): Remove variable.
57227 (rtld_installed_name): Likewise.
57228 (library_path): Likewise.
57229 (run_program_prefix): New variable. Use for running globtest
57230 binary.
57231
57232 2012-10-23 Jim Blandy <jimb@codesourcery.com>
57233 Joseph Myers <joseph@codesourcery.com>
57234
57235 * Makeconfig (host-built-program-cmd): New variable.
57236 * elf/Makefile (tst-stackguard1-ARGS): Use
57237 $(host-built-program-cmd).
57238 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57239 (tst-spawn-ARGS): Likewise.
57240 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57241
57242 2012-10-23 Joseph Myers <joseph@codesourcery.com>
57243 Jim Blandy <jimb@codesourcery.com>
57244
57245 * Makeconfig (run-via-rtld-prefix): New variable.
57246 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57247 (built-program-cmd): Likewise.
57248
57249 2012-10-22 Andreas Jaeger <aj@suse.de>
57250
57251 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57252 __O_RSYNC if it exists, otherwise to O_SYNC.
57253
57254 2012-10-22 Jim Blandy <jimb@codesourcery.com>
57255 Joseph Myers <joseph@codesourcery.com>
57256
57257 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57258 /dev/null.
57259 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57260 from /dev/null
57261 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57262 /dev/null.
57263
57264 2012-10-22 Andreas Jaeger <aj@suse.de>
57265
57266 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57267 Define always.
57268 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57269
57270 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57271 bits/fcntl-linux.h.
57272
57273 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57274 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57275
57276 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57277 to __O_LARGEFILE.
57278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57279 to __O_LARGEFILE.
57280
57281 2012-10-21 Jim Blandy <jimb@codesourcery.com>
57282 Joseph Myers <joseph@codesourcery.com>
57283
57284 * config.make.in (NM): New variable.
57285
57286 2012-10-21 Andreas Jaeger <aj@suse.de>
57287
57288 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57289 definitions and declarations that are provided by
57290 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57291
57292 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
57293
57294 [BZ #14683]
57295 * elf/Makefile (tests-static): Add tst-leaks1-static.
57296 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57297 ($(objpfx)tst-leaks1-static): New rule.
57298 ($(objpfx)tst-leaks1-static-mem): Likewise.
57299 (tst-leaks1-static-ENV): New macro.
57300 * elf/dl-open.c (dl_open_worker): Check the main application
57301 only if SHARED is defined.
57302 * elf/tst-leaks1-static.c: New file.
57303
57304 2012-10-20 Andreas Jaeger <aj@suse.de>
57305
57306 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57307 generic values for Linux.
57308 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57309 and declarations that are provided by <bits/fcntl-linux.h> and
57310 include <bits/fcntl-linux.h>.
57311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57312 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57313
57314 2012-10-20 Roland McGrath <roland@hack.frob.com>
57315
57316 * io/fcntl.h: Move include of <bits/types.h> to the top and
57317 include it unconditionally.
57318
57319 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
57320
57321 * wcsmbs/Makefile (tests-ifunc): New variable.
57322 (tests): Add $(tests-ifunc).
57323 * wcsmbs/test-wcschr-ifunc.c: New file.
57324 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57325 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57326 * wcsmbs/test-wcslen-ifunc.c: Likewise.
57327 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57328 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57329
57330 * string/Makefile (tests-ifunc): New variable.
57331 (tests): Add $(tests-ifunc).
57332 * string/test-memccpy.c (TEST_NAME): New macro.
57333 * string/test-memchr.c (TEST_NAME): Likewise.
57334 * string/test-memcmp.c (TEST_NAME): Likewise.
57335 * string/test-memcpy.c (TEST_NAME): Likewise.
57336 * string/test-memmem.c (TEST_NAME): Likewise.
57337 * string/test-memmove.c (TEST_NAME): Likewise.
57338 * string/test-memset.c (TEST_NAME): Likewise.
57339 * string/test-rawmemchr.c (TEST_NAME): Likewise.
57340 * string/test-stpcpy.c (TEST_NAME): Likewise.
57341 * string/test-stpncpy.c (TEST_NAME): Likewise.
57342 * string/test-strcasecmp.c (TEST_NAME): Likewise.
57343 * string/test-strcasestr.c (TEST_NAME): Likewise.
57344 * string/test-strcat.c (TEST_NAME): Likewise.
57345 * string/test-strchr.c (TEST_NAME): Likewise.
57346 * string/test-strcmp.c(TEST_NAME): Likewise.
57347 * string/test-strcpy.c (TEST_NAME): Likewise.
57348 * string/test-strcspn.c (TEST_NAME): Likewise.
57349 * string/test-strlen.c (TEST_NAME): Likewise.
57350 * string/test-strncasecmp.c (TEST_NAME): Likewise.
57351 * string/test-strncmp.c (TEST_NAME): Likewise.
57352 * string/test-strncpy.c (TEST_NAME): Likewise.
57353 * string/test-strnlen.c (TEST_NAME): Likewise.
57354 * string/test-strpbrk.c (TEST_NAME): Likewise.
57355 * string/test-strrchr.c (TEST_NAME): Likewise.
57356 * string/test-strspn.c (TEST_NAME): Likewise.
57357 * string/test-strstr.c (TEST_NAME): Likewise.
57358 * string/test-bcopy-ifunc.c: New file.
57359 * string/test-bzero-ifunc.c: Likewise.
57360 * string/test-memccpy-ifunc.c: Likewise.
57361 * string/test-memchr-ifunc.c: Likewise.
57362 * string/test-memcmp-ifunc.c: Likewise.
57363 * string/test-memcpy-ifunc.c: Likewise.
57364 * string/test-memmem-ifunc.c: Likewise.
57365 * string/test-memmove-ifunc.c: Likewise.
57366 * string/test-mempcpy-ifunc.c: Likewise.
57367 * string/test-memset-ifunc.c: Likewise.
57368 * string/test-rawmemchr-ifunc.c: Likewise.
57369 * string/test-stpcpy-ifunc.c: Likewise.
57370 * string/test-stpncpy-ifunc.c: Likewise.
57371 * string/test-strcasecmp-ifunc.c: Likewise.
57372 * string/test-strcasestr-ifunc.c: Likewise.
57373 * string/test-strcat-ifunc.c: Likewise.
57374 * string/test-strchr-ifunc.c: Likewise.
57375 * string/test-strchrnul-ifunc.c: Likewise.
57376 * string/test-strcmp-ifunc.c: Likewise.
57377 * string/test-strcpy-ifunc.c: Likewise.
57378 * string/test-strcspn-ifunc.c: Likewise.
57379 * string/test-strlen-ifunc.c: Likewise.
57380 * string/test-strncasecmp-ifunc.c: Likewise.
57381 * string/test-strncat-ifunc.c: Likewise.
57382 * string/test-strncmp-ifunc.c: Likewise.
57383 * string/test-strncpy-ifunc.c: Likewise.
57384 * string/test-strnlen-ifunc.c: Likewise.
57385 * string/test-strpbrk-ifunc.c: Likewise.
57386 * string/test-strrchr-ifunc.c: Likewise.
57387 * string/test-strspn-ifunc.c: Likewise.
57388 * string/test-strstr-ifunc.c: Likewise.
57389
57390 * debug/Makefile (tests-ifunc): New variable.
57391 (tests): Add $(tests-ifunc).
57392 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
57393 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
57394 * debug/test-stpcpy_chk-ifunc.c: New file.
57395 * debug/test-strcpy_chk-ifunc.c: Likewise.
57396
57397 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
57398
57399 [BZ #13601]
57400 * elf/dl-load.c (open_verify): Retry read if the entire ELF
57401 header is not read in.
57402
57403 2012-10-19 Joseph Myers <joseph@codesourcery.com>
57404
57405 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
57406 script to $(SHELL) as $<. Pass $(common-objpfx) to script
57407 directly. Pass built executable to script as
57408 $(built-program-cmd).
57409 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
57410 $testprogram without using LD_LIBRARY_PATH and $ldso.
57411
57412 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
57413 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
57414 $(rtld-installed-name).
57415 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
57416 (rtld_installed_name): Likewise.
57417 (library_path): Likewise.
57418 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
57419 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
57420 $(run-program-prefix) to tst-tables.sh.
57421 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
57422 it to run tst-table-from and tst-table-to.
57423 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
57424 Pass it to tst-table.sh.
57425 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
57426 $(run-program-prefix) to tst-gettext.sh.
57427 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
57428 tst-translit.sh.
57429 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
57430 tst-gettext2.sh.
57431 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
57432 to run tst-gettext.
57433 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
57434 to run tst-gettext2.
57435 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
57436 to run tst-translit.
57437 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
57438 $(run-program-prefix) to tst-mtrace.sh.
57439 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
57440 to run tst-mtrace.
57441 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
57442 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
57443 $(rtld-installed-name).
57444 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
57445 (rtld_installed_name): Likewise.
57446 (run_program_prefix): New variable. Use it to run wordexp-test.
57447
57448 * Makeconfig (ARCH): Remove all definitions.
57449 (machine): Likewise.
57450 [ARCH]: Remove conditional code.
57451 [!objdir]: Give error.
57452 [!objdir] (objpfx): Remove.
57453 [!objdir] (common-objpfx): Likewise.
57454 [!objdir] (common-objdir): Likewise.
57455 * configure.in (config_makefile): Remove. Hardcode Makefile in
57456 AC_CONFIG_FILES call.
57457 * configure: Regenerated.
57458
57459 [BZ #13888]
57460 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57461 or TMPDIR.
57462 (testout): Likewise.
57463
57464 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57465 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57466 $(rtld-installed-name).
57467 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57468 (rtld_installed_name): Likwise.
57469 (runit): Remove function.
57470 (run_getconf): New variable, Use it for running getconf binary.
57471
57472 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
57473
57474 [BZ #14716]
57475 * string/test-memmem.c (check_result): New function.
57476 (do_one_test): Use it.
57477 (check1): New function.
57478 (test_main): Use it.
57479
57480 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
57481
57482 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57483
57484 2012-10-18 Joseph Myers <joseph@codesourcery.com>
57485
57486 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57487 (_G_LSEEK64): Likewise.
57488 (_G_MMAP64): Likewise.
57489 (_G_FSTAT64): Likewise.
57490 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57491 (_G_LSEEK64): Likewise.
57492 (_G_MMAP64): Likewise.
57493 (_G_FSTAT64): Likewise.
57494 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57495 unconditional. Call __mmap64 directly.
57496 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57497 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
57498 __lseek64 directly.
57499 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57500 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
57501 __mmap64 directly.
57502 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57503 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
57504 __lseek64 directly.
57505 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57506 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
57507 __lseek64 directly.
57508 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57509 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
57510 __lseek64 directly.
57511 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57512 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
57513 __fxstat64 directly.
57514 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57515 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57516 unconditional.
57517 (freopen64) [!_G_OPEN64]: Remove conditional code.
57518 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57519 unconditional.
57520 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57521 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57522 unconditional.
57523 (ftello64) [!_G_LSEEK64]: Remove conditional code.
57524 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57525 unconditional.
57526 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57527 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57528 unconditional.
57529 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57530 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57531 unconditional.
57532 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57533 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57534 unconditional.
57535 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57536 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57537 unconditional.
57538 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57539
57540 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
57541
57542 [BZ #12140]
57543 * manual/memory.texi (Malloc Tunable Parameters): Add note
57544 about free list pointers overwriting some perturb bytes.
57545 Wording suggested by Roland McGrath.
57546
57547 2012-10-17 Joseph Myers <joseph@codesourcery.com>
57548
57549 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57550 (lgamma_test): Likewise.
57551 (tgamma_test): Likewise.
57552
57553 2012-10-16 Florian Weimer <fweimer@redhat.com>
57554
57555 [BZ #14700]
57556 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57557 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57558
57559 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
57560
57561 * NEWS: Mention BZ #14716.
57562 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57563 when removing AVAILABLE1_USES_J macro.
57564
57565 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
57566
57567 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57568 (__bswap_64): __uint64_t for unsigned 64-bit int.
57569
57570 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
57571
57572 * include/string.h (memmem): Declare libc hidden alias.
57573 * string/memmem.c (memmem): Define libc hidden alias.
57574 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57575 __read, __close instead of open, read, close.
57576
57577 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
57578
57579 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57580 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57581 global and hidden.
57582 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57583 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57584 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57585 Likewise.
57586 (__rawmemchr_sse2): Likewise.
57587 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57588 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57589 (__strchr_sse2): Likewise.
57590 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57591 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57592 (__strcasecmp_sse2): Likewise.
57593 (__strncasecmp_sse2): Likewise.
57594 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57595 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57596 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57597 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57598 (__strrchr_sse2): Likewise.
57599 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57600 ifunc-impl-list.c.
57601 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57602 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57603 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57604 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57605 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57606 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57607 * sysdeps/x86_64/multiarch/memset.S: Likewise.
57608 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57609 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57610 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57611 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57612 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57613 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57614 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57615 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57616 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57617 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57618 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57619 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57620 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57621 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57622 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57623 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57624 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57625 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57626 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57627 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57628 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57629 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57630 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57631
57632 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57633 global and hidden.
57634 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57635 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57636 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57637 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57638 Likewise.
57639 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57640 Likewise.
57641 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57642 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57643 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57644 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57645 ifunc-impl-list.c.
57646 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57647 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57648 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57649 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57650 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57651 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57652 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57653 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57654 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57655 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57656 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57657 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57658 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57659 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57660 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57661 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57662 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57663 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57664 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57665 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57666 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57667 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57668 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57669 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57670 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57671 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57672 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57673 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57674 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57675 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57676 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57677 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57678 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57679 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57680 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57681 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57682 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57683 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57684 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57685 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57686 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57687
57688 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57689 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57690 * include/ifunc-impl-list.h: New file.
57691 * misc/ifunc-impl-list.c: Likewise.
57692 * misc/Makefile (routines): Add ifunc-impl-list.
57693 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57694 * string/test-string.h: Include <ifunc-impl-list.h>.
57695 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57696 TEST_NAME]: New variables.
57697 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57698 are defined.
57699 (test_init): Call __libc_ifunc_impl_list to initialize
57700 func_list if TEST_IFUNC and TEST_NAME are defined.
57701
57702 * string/Makefile (strop-tests): Add bcopy and bzero.
57703 * string/test-bcopy.c: New file.
57704 * string/test-bzero.c: Likewise.
57705 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57706 defined.
57707 * string/test-memset.c: Support bzero test if TEST_BZERO is
57708 defined.
57709 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57710 __libc_memmove.
57711 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57712 __libc_memset.
57713 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57714 of memset.
57715
57716 2012-10-10 Joseph Myers <joseph@codesourcery.com>
57717
57718 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57719 * configure: Regenerated.
57720
57721 * Makeconfig (+link-static-before-libc): Don't include
57722 $(link-static-libc).
57723
57724 * libio/libio.h (_IO_pos_t): Remove.
57725
57726 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
57727
57728 * NEWS: Add note about FIPS mode. Wording suggested by Roland
57729 McGrath.
57730
57731 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
57732
57733 * crypt/crypt-entry.c: Include fips-private.h.
57734 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57735 * crypt/md5c-test.c (main): Tolerate disabled MD5.
57736 * sysdeps/unix/sysv/linux/fips-private.h: New file.
57737 * sysdeps/generic/fips-private.h: New file, dummy fallback.
57738
57739 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
57740
57741 * crypt/crypt-private.h: Include stdbool.h.
57742 (_ufc_setup_salt_r): Return bool.
57743 * crypt/crypt-entry.c: Include errno.h.
57744 (__crypt_r): Return NULL with EINVAL for bad salt.
57745 * crypt/crypt_util.c (bad_for_salt): New.
57746 (_ufc_setup_salt_r): Check that salt is long enough and within
57747 the specified alphabet.
57748 * crypt/badsalttest.c: New file.
57749 * crypt/Makefile (tests): Add it.
57750 ($(objpfx)badsalttest): New.
57751
57752 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
57753
57754 * NEWS: Add entry for BZ #14602.
57755
57756 2012-10-09 Joseph Myers <joseph@codesourcery.com>
57757
57758 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57759 type-generic.
57760 * math/libm-test.inc: Update comment listing what functions and
57761 macros are tested.
57762 (isgreater_test): New function.
57763 (isgreaterequal_test): Likewise.
57764 (isless_test): Likewise.
57765 (islessequal_test): Likewise.
57766 (islessgreater_test): Likewise.
57767 (isunordered_test): Likewise.
57768 (main): Call the new functions.
57769
57770 2012-10-09 Roland McGrath <roland@hack.frob.com>
57771
57772 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57773 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57774 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57775 * sysdeps/i386/configure: Regenerated.
57776 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57777 * sysdeps/mach/configure: Regenerated.
57778 * sysdeps/mach/hurd/configure: Regenerated.
57779 * sysdeps/powerpc/configure: Regenerated.
57780 * sysdeps/powerpc/powerpc32/configure: Regenerated.
57781 * sysdeps/powerpc/powerpc64/configure: Regenerated.
57782 * sysdeps/s390/s390-32/configure: Regenerated.
57783 * sysdeps/s390/s390-64/configure: Regenerated.
57784 * sysdeps/sh/configure: Regenerated.
57785 * sysdeps/sparc/configure: Regenerated.
57786 * sysdeps/unix/sysv/linux/configure: Regenerated.
57787 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57788 * sysdeps/x86_64/configure: Regenerated.
57789
57790 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57791 defined. Don't check if MAP is NULL.
57792
57793 2012-10-09 Joseph Myers <joseph@codesourcery.com>
57794
57795 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57796 (_G_stat64): Likewise.
57797 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57798 (_G_stat64): Likewise.
57799 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57800 instead of struct _G_stat64.
57801 * libio/fileops.c (mmap_remap_check): Likewise.
57802 (decide_maybe_mmap): Likewise.
57803 (_IO_new_file_seekoff): Likewise.
57804 (_IO_file_stat): Likewise.
57805 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57806 _G_off64_t.
57807 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57808 instead of struct _G_stat64.
57809 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57810
57811 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
57812
57813 [BZ #14602]
57814 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57815 Replace with ...
57816 (CHECK_EOL): New macro.
57817 (two_way_short_needle): Check beginning of haystack for EOL. Use
57818 CHECK_EOL.
57819 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57820 Replace with CHECK_EOL.
57821 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57822 Replace with CHECK_EOL.
57823
57824 2012-10-08 Joseph Myers <joseph@codesourcery.com>
57825
57826 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57827 type-generic.
57828 * math/libm-test.inc: Update comment listing what functions and
57829 macros are tested.
57830 (finite_test): New function.
57831 (isinf_test): Likewise.
57832 (isnan_test): Likewise.
57833 (fpclassify_test): Test subnormal input.
57834 (isfinite_test): Likewise.
57835 (isnormal_test): Likewise.
57836 (main): Call the new functions.
57837
57838 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
57839
57840 [BZ #14660]
57841 * Makerules (%.dynsym): Force C locale when running
57842 $(OBJDUMP) --dynamic-syms.
57843
57844 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
57845
57846 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57847 <stdint.h>.
57848
57849 2012-10-06 David S. Miller <davem@davemloft.net>
57850
57851 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57852 upper 32-bits of the length value in %o2 since we use branch-on-register
57853 tests which consider the entire 64-bit register.
57854
57855 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
57856
57857 * string/test-strstr.c (check2): Add a test for page boundary.
57858
57859 2012-10-05 David S. Miller <davem@davemloft.net>
57860
57861 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57862 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57863 file.
57864 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57865 sysdep_routines.
57866 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57867 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57868 and bzero when HWCAP_SPARC_CRYPTO is present.
57869
57870 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
57871
57872 [BZ #14602]
57873 * string/test-strstr.c (check2): New function.
57874 (test_main): Call check2.
57875
57876 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57877 and bug-strchr1.
57878 * string/bug-strcasestr1.c (do_test): Moved to ...
57879 * string/test-strcasestr.c (check1): Here. New function.
57880 (do_one_test): Break out result checking code into ...
57881 (check_result): This. New function.
57882 (do_one_test): Call check_result.
57883 (test_main): Call check1.
57884 * string/bug-strchr1.c (do_test): Moved to ...
57885 * string/test-strchr.c (check1): Here. New function.
57886 (do_one_test): Break out result checking code into ...
57887 (check_result): This. New function.
57888 (do_one_test): Call check_result.
57889 (test_main): Call check1.
57890 * string/bug-strstr1.c (main): Moved to ...
57891 * string/test-strstr.c (check1): Here. New function.
57892 (do_one_test): Break out result checking code into ...
57893 (check_result): This. New function.
57894 (do_one_test): Call check_result.
57895 (test_main): Call check1.
57896 * string/bug-strcasestr1.c: Removed.
57897 * string/bug-strchr1.c: Likewise.
57898 * string/bug-strstr1.c: Likewise.
57899
57900 * elf/Makefile (dl-routines): Add hwcaps.
57901 * elf/dl-support.c (_dl_important_hwcaps): Removed.
57902 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57903 (_dl_important_hwcaps): Moved to ...
57904 * elf/dl-hwcaps.c: Here. New file.
57905 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57906
57907 [BZ #14557]
57908 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57909 if IS_IN_rtld isn't defined.
57910
57911 * elf/dl-support.c (_dl_sysinfo_map): New.
57912 Include "get-dynamic-info.h" and "setup-vdso.h".
57913 (_dl_non_dynamic_init): Call setup_vdso.
57914 * elf/dynamic-link.h: Don't include <assert.h>.
57915 (elf_get_dynamic_info): Moved to ...
57916 * elf/get-dynamic-info.h: Here. New file.
57917 * elf/dynamic-link.h: Include "get-dynamic-info.h".
57918 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57919 * elf/setup-vdso.h: Here. New file.
57920 * elf/rtld.c: Include "setup-vdso.h".
57921 (dl_main): Call setup_vdso.
57922
57923 2012-10-05 Joseph Myers <joseph@codesourcery.com>
57924
57925 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57926 creal in comment listing functions tested. List finite, isinf,
57927 isnan, isless, islessequal, isgreater, isgreaterequal,
57928 islessgreater, isunordered, lgamma_r and pow10 as functions and
57929 macros not tested. Mention which functions not tested are aliases
57930 for other functions. Fix typo. Note that signs of NaNs are not
57931 tested.
57932
57933 * scripts/config.guess: Update from config.git.
57934 * scripts/config.sub: Likewise.
57935
57936 2012-10-04 Roland McGrath <roland@hack.frob.com>
57937
57938 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57939 * misc/madvise.c (madvise): Renamed to __madvise.
57940 Make madvise a weak alias.
57941 * include/sys/mman.h: Declare __madvise.
57942 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57943 * sysdeps/unix/syscalls.list
57944 (madvise): Make __madvise the strong name, and madvise a weak alias.
57945 * sysdeps/unix/sysv/linux/syscalls.list
57946 (madvise, mmap): Remove redundant entries.
57947 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57948 * malloc/malloc.c (mtrim): Likewise.
57949 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57950
57951 2012-10-03 Roland McGrath <roland@hack.frob.com>
57952
57953 * sysdeps/mach/hurd/dl-cache.c: File removed.
57954 * config.h.in (USE_LDCONFIG): New #undef.
57955 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57956 * configure: Regenerated.
57957 * elf/Makefile (dl-routines): Add dl-cache only under
57958 [$(use-ldconfig) = yes].
57959 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57960 cache on [USE_LDCONFIG].
57961 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57962 [USE_LDCONFIG].
57963 * elf/rtld.c (dl_main): Likewise.
57964
57965 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
57966
57967 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57968 _SC_LEVEL4_CACHE_LINESIZE.
57969
57970 2012-10-03 Roland McGrath <roland@hack.frob.com>
57971
57972 * sysdeps/unix/bsd/confstr.h: File removed.
57973
57974 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
57975
57976 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57977 sys/sdt-config.h.
57978
57979 2012-10-02 Roland McGrath <roland@hack.frob.com>
57980
57981 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57982 Make 'mapoff' field ElfW(Off) rather than off_t.
57983
57984 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
57985
57986 * nscd/Makefile: Remove nscd-cflags and all its users.
57987 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57988 (CFLAGS-nonlib): Add compiler flags for nscd modules.
57989
57990 [BZ #10631]
57991 * malloc.c (malloc_printerr): Clarify error message.
57992
57993 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
57994
57995 [BZ #14648]
57996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57997 Set bit_FMA_Usable if FMA is supported.
57998 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57999 macro.
58000 (bit_FMA4_Usable): Updated.
58001 (index_FMA_Usable): New macro.
58002 (CPUID_FMA): Likewise.
58003 (HAS_FMA): Defined with bit_FMA_Usable.
58004
58005 2012-10-01 Roland McGrath <roland@hack.frob.com>
58006
58007 * bits/types.h (__swblk_t): Type removed.
58008 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
58009 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
58010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58011 (__SWBLK_T_TYPE): Likewise.
58012 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58013 (__SWBLK_T_TYPE): Likewise.
58014 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58015 (__SWBLK_T_TYPE): Likewise.
58016 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58017 (__SWBLK_T_TYPE): Likewise.
58018
58019 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
58020 Honza Horak <hhorak@redhat.com>
58021
58022 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
58023 (xdr_mapname): Use YPMAXMAP as maxsize.
58024 (xdr_peername): Use YPMAXPEER as maxsize.
58025 (xdr_keydat): Use YPAXRECORD as maxsize.
58026 (xdr_valdat): Use YPMAXRECORD as maxsize.
58027
58028 2012-10-01 Roland McGrath <roland@hack.frob.com>
58029
58030 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
58031
58032 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
58033 * csu/init-first.c: ... here.
58034 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
58035 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
58036 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
58037 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
58038 * sysdeps/i386/init-first.c: File removed.
58039 * sysdeps/sh/init-first.c: File removed.
58040
58041 2012-10-01 Joseph Myers <joseph@codesourcery.com>
58042
58043 [BZ #14645]
58044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
58045 if x * y might underflow to zero and z is zero.
58046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58048 * math/libm-test.inc (min_subnorm_value): New variable.
58049 (fma_test): Add more tests.
58050 (fma_test_towardzero): Likewise.
58051 (fma_test_downward): Likewise.
58052 (fma_test_upward): Likewise.
58053 (initialize): Set min_subnorm_value.
58054
58055 2012-09-29 Joseph Myers <joseph@codesourcery.com>
58056
58057 [BZ #14638]
58058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
58059 0 + 0.
58060 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
58061 mode for addition resulting in exact zero.
58062 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
58063 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
58064 exact 0 + 0.
58065 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58066 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58067 * math/libm-test.inc (fma_test): Add more tests.
58068 (fma_test_towardzero): New function.
58069 (fma_test_downward): Likewise.
58070 (fma_test_upward): Likewise.
58071 (main): Call the new functions.
58072
58073 2012-09-28 David S. Miller <davem@davemloft.net>
58074
58075 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
58076
58077 2012-09-28 Roland McGrath <roland@hack.frob.com>
58078
58079 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58080 instead of SIGALRM.
58081
58082 * sysdeps/gnu/_G_config.h: Moved to ...
58083 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58084 * sysdeps/mach/hurd/_G_config.h: Moved to ...
58085 * sysdeps/generic/_G_config.h: ... here.
58086
58087 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
58088
58089 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58090
58091 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58092 Conditionalize target on [libnss_test1.so-version].
58093
58094 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
58095
58096 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
58097 (elfobjdir): Move out of conditionals.
58098
58099 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
58100 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
58101 (__nss_lookup_function): Conditionalize label remove_from_tree on
58102 [!DO_STATIC_NSS || SHARED], matching its only use.
58103
58104 2012-09-28 David S. Miller <davem@davemloft.net>
58105
58106 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
58107 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
58108 file.
58109 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58110 sysdep_routines.
58111 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58112 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
58113 when HWCAP_SPARC_CRYPTO is present.
58114
58115 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
58116
58117 * io/tst-mknodat.c: Create a FIFO instead of a socket.
58118
58119 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
58120
58121 [BZ #6530]
58122 * stdio-common/vfprintf.c (process_string_arg): Revert
58123 2000-07-22 change.
58124
58125 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
58126
58127 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
58128 for testcase.
58129 * stdio-common/tst-sprintf.c: Include <locale.h>
58130 (main): Test sprintf's handling of incomplete multibyte
58131 characters.
58132
58133 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
58134
58135 * elf/dl-runtime.c (VERSYMIDX): Removed.
58136 * elf/dl-version.c (VERSYMIDX): Likewise.
58137 * elf/do-rel.h (VERSYMIDX): Likewise.
58138 (VALIDX): Likewise.
58139 * elf/dynamic-link.h (VERSYMIDX): Likewise.
58140 * elf/rtld.c (VALIDX): Likewise.
58141 (ADDRIDX): Likewise.
58142 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
58143 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
58144 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
58145 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
58146 (VALIDX): Likewise.
58147 (ADDRIDX): Likewise.
58148
58149 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
58150
58151 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
58152
58153 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
58154
58155 [BZ #11438]
58156 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
58157 to global scope.
58158 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
58159 addresses are in the same scope as 192.0.2/24.
58160 * posix/gai.conf: Document new scope table defaults.
58161
58162 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58163
58164 [BZ #5298]
58165 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
58166 for ftell. Compute offsets from write pointers instead.
58167 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58168
58169 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58170
58171 [BZ #14543]
58172 * libio/Makefile (tests): New test case tst-fseek.
58173 * libio/tst-fseek.c: New test case to verify that fseek/ftell
58174 combination works in wide mode.
58175 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58176 state when the external buffer state changes.
58177
58178 2012-09-27 David S. Miller <davem@davemloft.net>
58179
58180 [BZ #14376]
58181 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
58182 pass reloc->r_addend in as the 'high' argument to
58183 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
58184
58185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58186
58187 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
58188
58189 * rt/tst-aio2.c: Include <pthread.h>.
58190 * rt/tst-aio3.c: Likewise.
58191
58192 2012-09-27 Steve Ellcey <sellcey@mips.com>
58193
58194 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
58195
58196 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
58197
58198 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
58199 contents on [SHARED].
58200
58201 2012-09-26 Marek Polacek <polacek@redhat.com>
58202
58203 [BZ #14530]
58204 [BZ #13741]
58205 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58206 for C++ and GCC <4.3 as well as for non GCC compilers.
58207
58208 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
58209
58210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58211
58212 2012-09-25 Roland McGrath <roland@hack.frob.com>
58213
58214 * Makefile.in (all, install): Declare with .PHONY.
58215 Reported by Michael Hope <michael.hope@linaro.org>.
58216
58217 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58218
58219 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58220 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58221 system header.
58222 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58223 Likewise.
58224 (sydep_routines): Add the new and the internal functions.
58225 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58226 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58228 (GLIBC_2.17): Add the new function.
58229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58230 (GLIBC_2.17): Likewise.
58231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58232 (GLIBC_2.17): Likewise.
58233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58234 (GLIBC_2.17): Likewise.
58235 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58236
58237 2012-09-25 Alan Modra <amodra@gmail.com>
58238
58239 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58240 Add release barrier before setting once_control to say
58241 initialisation is done. Add hints on lwarx. Use macro in
58242 place of isync.
58243 (clear_once_control): Add release barrier.
58244
58245 2012-09-25 Joseph Myers <joseph@codesourcery.com>
58246
58247 [BZ #13629]
58248 * math/s_clog.c (__clog): Handle more values close to |z| = 1
58249 specially.
58250 * math/s_clog10.c (__clog10): Likewise.
58251 * math/s_clog10f.c (__clog10f): Likewise.
58252 * math/s_clog10l.c (__clog10l): Likewise.
58253 * math/s_clogf.c (__clogf): Likewise.
58254 * math/s_clogl.c (__clogl): Likewise.
58255 * math/Makefile (libm-calls): Add x2y2m1.
58256 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58257 (__x2y2m1): Likewise.
58258 (__x2y2m1l): Likewise.
58259 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58260 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58261 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58262 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58263 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58264 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58265 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58266 * sysdeps/i386/fpu/libm-test-ulps: Update.
58267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58268
58269 [BZ #14621]
58270 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58271 int as type of variable DEPTH.
58272 (glob): Use size_t instead of int as type of variables NEWCOUNT
58273 and OLD_PATHC.
58274
58275 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58276
58277 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58278 Add s_sincosf-sse2.
58279 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58280 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58281 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58282 macros for using routine as __sincosf_ia32.
58283 Use macro for function declaration and weak_alias.
58284 * sysdeps/i386/fpu/libm-test-ulps: Update.
58285
58286 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58288
58289 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58290 subnormal argument.
58291 * math/s_cexpf.c (__cexpf): Likewise.
58292 * math/s_csinf.c (__csinf): Likewise.
58293 * math/s_csinhf.c (__csinhf): Likewise.
58294 * math/s_ctanf.c (__ctanf): Likewise.
58295 * math/s_ctanhf.c (__ctanhf): Likewise.
58296 * math/s_ccosh.c (__ccoshf): Likewise.
58297 * math/s_cexp.c (__cexpl): Likewise.
58298 * math/s_csin.c (__csin): Likewise.
58299 * math/s_csinh.c (__csinh): Likewise.
58300 * math/s_ctan.c (__ctan): Likewise.
58301 * math/s_ctanh.c (ctanh): Likewise.
58302 * math/s_ccoshl.c (__ccoshl): Likewise.
58303 * math/s_cexpl.c (__cexpl): Likewise.
58304 * math/s_csinl.c (__csinl): Likewise.
58305 * math/s_csinhl.c (__csinhl): Likewise.
58306 * math/s_ctanl.c (__ctanl): Likewise.
58307 * math/s_ctanhl.c (__ctanhl): Likewise.
58308
58309 2012-09-25 Joseph Myers <joseph@codesourcery.com>
58310
58311 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58312 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58313 (_IO_off_t): Define to __off_t, not _G_off_t.
58314 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58315 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58316 (_IO_wint_t): Define to wint_t, not _G_wint_t.
58317 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58318 type of __dummy and __dummy2 fields.
58319 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58320 (_G_ssize_t): Likewise.
58321 (_G_off_t): Likewise.
58322 (_G_pid_t): Likewise.
58323 (_G_uid_t): Likewise.
58324 (_G_wchar_t): Likewise.
58325 (_G_wint_t): Likewise.
58326 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58327 (_G_ssize_t): Likewise.
58328 (_G_off_t): Likewise.
58329 (_G_pid_t): Likewise.
58330 (_G_uid_t): Likewise.
58331 (_G_wchar_t): Likewise.
58332 (_G_wint_t): Likewise.
58333 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58334 (_G_ssize_t): Likewise.
58335 (_G_off_t): Likewise.
58336 (_G_pid_t): Likewise.
58337 (_G_uid_t): Likewise.
58338 (_G_wchar_t): Likewise.
58339 (_G_wint_t): Likewise.
58340
58341 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
58342
58343 * malloc/arena.c: Include malloc-sysdep.h.
58344 (shrink_heap): Use check_may_shrink_heap to decide if madvise
58345 is sufficient to shrink the heap or an unmap is needed.
58346 * sysdeps/generic/malloc-sysdep.h: New file. Define
58347 new function check_may_shrink_heap.
58348 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
58349 new function check_may_shrink_heap.
58350
58351 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
58352
58353 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58354 comments.
58355
58356 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
58357
58358 * catgets/test-gencat.sh: Add "set -e".
58359 * elf/tst-pathopt.sh: Likewise.
58360 * grp/tst_fgetgrent.sh: Likewise.
58361 * iconvdata/run-iconv-test.sh: Likewise.
58362 * intl/tst-gettext.sh: Likewise.
58363 * intl/tst-gettext2.sh: Likewise.
58364 * intl/tst-gettext4.sh: Likewise.
58365 * intl/tst-gettext6.sh: Likewise.
58366 * intl/tst-translit.sh: Likewise.
58367 * io/ftwtest-sh: Likewise.
58368 * libio/test-freopen.sh: Likewise.
58369 * malloc/tst-mtrace.sh: Likewise.
58370 * posix/globtest.sh: Likewise.
58371 * posix/tst-getconf.sh: Likewise.
58372 * posix/wordexp-tst.sh: Likewise.
58373 * stdio-common/tst-printf.sh: Likewise.
58374 * stdio-common/tst-unbputc.sh: Likewise.
58375 * stdlib/tst-fmtmsg.sh: Likewise.
58376 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58377 * catgets/Makefile: Do not specify -e option when running
58378 testsuite shell scripts.
58379 * elf/Makefile: Likewise.
58380 * grp/Makefile: Likewise.
58381 * iconvdata/Makefile: Likewise.
58382 * intl/Makefile: Likewise.
58383 * io/Makefile: Likewise.
58384 * libio/Makefile: Likewise.
58385 * malloc/Makefile: Likewise.
58386 * posix/Makefile: Likewise.
58387 * stdio-common/Makefile: Likewise.
58388 * stdlib/Makefile: Likewise.
58389 * sysdeps/x86_64/Makefile: Likewise.
58390
58391 * io/ftwtest-sh: Add copyright header.
58392 * posix/globtest.sh: Likewise.
58393 * posix/tst-getconf.sh: Likewise.
58394 * posix/wordexp-tst.sh: Likewise.
58395 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58396
58397 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
58398
58399 [BZ #13679]
58400 * Makeconfig (+link): Defined as $(+link-static) if
58401 $(build-shared) isn't yes.
58402 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
58403 isn't yes.
58404 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
58405
58406 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
58407
58408 [BZ #14562]
58409 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
58410 new chunk size with MALLOC_ALIGN_MASK.
58411
58412 2012-09-24 Joseph Myers <joseph@codesourcery.com>
58413
58414 [BZ #5044]
58415 * stdio-common/printf_fphex.c: Include <stdbool.h> and
58416 <rounding-mode.h>.
58417 (__printf_fphex): Determine rounding using get_rounding_mode and
58418 round_away.
58419 * stdio-common/tst-printf-round.c (struct hex_test): New
58420 structure.
58421 (hex_tests): New variable.
58422 (test_hex_in_one_mode): New function.
58423 (do_test): Also run tests for hex float output.
58424
58425 2012-09-21 Joseph Myers <joseph@codesourcery.com>
58426
58427 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58428 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58429 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
58430 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58431 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58432 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
58433 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58434 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58435
58436 2012-09-20 Joseph Myers <joseph@codesourcery.com>
58437
58438 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
58439 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
58440 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
58441 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
58442
58443 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
58444
58445 [BZ #14579]
58446 * elf/rtld.c (dl_main): Limit the check for self loading to normal
58447 mode only.
58448 * elf/tst-rtld-load-self.sh: New test.
58449 * elf/Makefile: Run it.
58450
58451 2012-09-18 Joseph Myers <joseph@codesourcery.com>
58452
58453 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58454 (tst-writev-ENV): Remove.
58455 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58456
58457 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
58458
58459 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58460
58461 2012-09-17 Joseph Myers <joseph@codesourcery.com>
58462
58463 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58464 unconditional.
58465 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58466 Likewise.
58467 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58468 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58469 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58470 Likewise.
58471
58472 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
58473
58474 [BZ #14587]
58475 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58476 * config.make.in (have-cpp-asm-debuginfo): Removed.
58477 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58478 * configure: Regenerated.
58479
58480 2012-09-14 Joseph Myers <joseph@codesourcery.com>
58481
58482 [BZ #5044]
58483 * stdio-common/printf_fp.c: Include <stdbool.h> and
58484 <rounding-mode.h>.
58485 (___printf_fp): Determine rounding using get_rounding_mode and
58486 round_away.
58487 * stdio-common/tst-printf-round.c: New file.
58488 * stdio-common/Makefile (tests): Add tst-printf-round.
58489 (link-libm): New variable.
58490 ($(objpfx)tst-printf-round): Depend in $(link-libm).
58491
58492 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
58493
58494 [BZ #14576]
58495 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58496 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58497 Likewise.
58498 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58499 Likewise.
58500
58501 2012-09-13 Joseph Myers <joseph@codesourcery.com>
58502
58503 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58504 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58505 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58506 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58507
58508 2012-09-12 Joseph Myers <joseph@codesourcery.com>
58509
58510 [BZ #14518]
58511 * include/rounding-mode.h: New file.
58512 * sysdeps/generic/get-rounding-mode.h: Likewise.
58513 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58514 * stdlib/strtod_l.c: Include <rounding-mode.h>.
58515 (MAX_VALUE): New macro.
58516 (MIN_VALUE): Likewise.
58517 (overflow_value): New function.
58518 (underflow_value): Likewise.
58519 (round_and_return): Use overflow_value and underflow_value to
58520 determine return values in overflow and underflow cases. Use
58521 round_away to determine rounding depending on rounding mode.
58522 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58523 determine return values in overflow and underflow cases.
58524 * stdlib/tst-strtod-round.c: Include <fenv.h>.
58525 (struct test_results): New structure.
58526 (struct test): Use struct test_results to store expected results
58527 for all rounding modes.
58528 (TEST): Include expected results for all rounding modes.
58529 (test_in_one_mode): New function.
58530 (do_test): Use test_in_one_mode to compute and check results.
58531 Check results for all rounding modes.
58532 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58533 $(link-libm).
58534
58535 2012-12-09 Allan McRae <allan@archlinux.org>
58536
58537 * sysdeps/i386/fpu/libm-test-ulps: Update
58538
58539 2012-09-11 Joseph Myers <joseph@codesourcery.com>
58540
58541 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58542 (_G_int32_t): Likewise.
58543 (_G_uint16_t): Likewise.
58544 (_G_uint32_t): Likewise.
58545 (_G_HAVE_BOOL): Likewise.
58546 (_G_HAVE_ATEXIT): Likewise.
58547 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58548 (_G_HAVE_IO_FILE_OPEN): Likewise.
58549 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58550 (_G_int32_t): Likewise.
58551 (_G_uint16_t): Likewise.
58552 (_G_uint32_t): Likewise.
58553 (_G_HAVE_BOOL): Likewise.
58554 (_G_HAVE_ATEXIT): Likewise.
58555 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58556 (_G_HAVE_IO_FILE_OPEN): Likewise.
58557 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58558 (_G_int32_t): Likewise.
58559 (_G_uint16_t): Likewise.
58560 (_G_uint32_t): Likewise.
58561 (_G_HAVE_BOOL): Likewise.
58562 (_G_HAVE_ATEXIT): Likewise.
58563 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58564 (_G_HAVE_IO_FILE_OPEN): Likewise.
58565
58566 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
58567
58568 * csu/libc-tls.c: Update copyright years.
58569
58570 2012-09-10 Joseph Myers <joseph@codesourcery.com>
58571
58572 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58573 [!_G_USING_THUNKS]: Remove conditional code.
58574 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58575 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58576
58577 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58578 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58579 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58580 (_G_VTABLE_LABEL_PREFIX): Likewise.
58581 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58582 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58583 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58584 (_G_VTABLE_LABEL_PREFIX): Likewise.
58585 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58586 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58587 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58588 (_G_VTABLE_LABEL_PREFIX): Likewise.
58589 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58590
58591 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
58592
58593 * libio/Makefile: Include ../Makeconfig before tests.
58594 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58595 only if $(build-shared) is yes.
58596
58597 * iconv/gconv_db.c: Update copyright years.
58598
58599 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58600
58601 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58602 unwind info if defined PIC. Fix special cases description.
58603 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58604
58605 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58606 DP_HI_MASK entry.
58607 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58608
58609 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
58610
58611 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58612
58613 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58614 is NULL.
58615
58616 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58617 (LDLIBS-tst-chk4): This.
58618 (LDFLAGS-tst-chk5): Renamed to ...
58619 (LDLIBS-tst-chk5): This.
58620 (LDFLAGS-tst-chk6): Renamed to ...
58621 (LDLIBS-tst-chk6): This.
58622 (LDFLAGS-tst-lfschk4): Renamed to ...
58623 (LDLIBS-tst-lfschk4): This.
58624 (LDFLAGS-tst-lfschk5): Renamed to ...
58625 (LDLIBS-tst-lfschk5): This.
58626 (LDFLAGS-tst-lfschk6): Renamed to ...
58627 (LDLIBS-tst-lfschk6): This.
58628
58629 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58630 on $(common-objpfx)soversions.mk.
58631
58632 2012-09-07 Joseph Myers <joseph@codesourcery.com>
58633
58634 [BZ #10014]
58635 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58636 example host name.
58637
58638 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
58639
58640 * malloc/arena.c (arena_get_retry): New function that gets
58641 another arena for the caller to try its request on.
58642 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58643 current arena cannot fulfill the request.
58644 (__libc_memalign): Likewise.
58645 (__libc_memalign): Likewise.
58646 (__libc_pvalloc): Likewise.
58647 (__libc_calloc): Likewise.
58648
58649 2012-09-05 John Tobey <john.tobey@gmail.com>
58650
58651 [BZ #13542]
58652 * manual/arith.texi (Operations on Complex): Fix description
58653 of carg branch cut.
58654
58655 2012-09-06 Joseph Myers <joseph@codesourcery.com>
58656
58657 [BZ #10014]
58658 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58659 host name.
58660
58661 [BZ #10038]
58662 * manual/memory.texi (Memory): Make order of menu items match
58663 order of sections.
58664
58665 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
58666
58667 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58668 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
58669 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58670
58671 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
58672
58673 * csu/libc-tls.c (static_dtv): Renamed to ...
58674 (_dl_static_dtv): This. Make it global.
58675 (_dl_initial_dtv): Removed.
58676 (__libc_setup_tls): Updated.
58677 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58678 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58679 DL_INITIAL_DTV.
58680
58681 2012-09-06 Petr Machata <pmachata@redhat.com>
58682
58683 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58684 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58685 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58686 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58687
58688 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
58689
58690 [BZ #14545]
58691 * csu/libc-tls.c (_dl_initial_dtv): New variable.
58692 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58693 freeing dtv[-1].
58694
58695 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
58696
58697 [BZ #14544]
58698 * Makeconfig (link-static-before-libc): Replace $(+prector)
58699 with $(+prectorT).
58700 (link-static-after-libc): Replace $(+postctor) with
58701 $(+postctorT).
58702 (link-bounded): Replace $(+prector)/$(+postctor) with
58703 $(+prectorT)/$(+postctorT).
58704 (+prectorT): New macro.
58705 (+postctorT): Likewise.
58706
58707 2012-09-06 Joseph Myers <joseph@codesourcery.com>
58708
58709 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58710 (round_str): Handle values above the maximum for IBM long double
58711 as inexact.
58712 * stdlib/tst-strtod-round.c (tests): Regenerated.
58713
58714 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58715
58716 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58717 assembler flag.
58718 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58719 zarch_nohighgprs around the zarch optimized routines.
58720 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58721 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58722 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58723 for zarch.
58724
58725 2012-09-05 David S. Miller <davem@davemloft.net>
58726
58727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58728
58729 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58730 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58731 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58732 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58733 entries.
58734
58735 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58736
58737 * malloc/arena.c: Fold copyright years.
58738 * malloc/mcheck.c, malloc/memusage.c: Likewise.
58739
58740 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58741
58742 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58743
58744 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58745
58746 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
58747
58748 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58749
58750 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58751 change internal state upon failure.
58752
58753 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58754
58755 * malloc/mcheck.c (mcheck_check_all): Fix typo.
58756 * malloc/memusage.c (mmap): Likewise.
58757 (mmap64, mremap): Likewise. Adjust name in comment.
58758
58759 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
58760
58761 * libio/fileops.c: Fix typos in comments.
58762 * libio/oldfileops.c: Likewise.
58763 * libio/wfileops.c: Likewise.
58764
58765 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
58766
58767 [BZ #1349]
58768 * malloc/Makefile (tests): Add tst-malloc-usable test case.
58769 (tst-malloc-usable-ENV): Set environment for test case.
58770 * malloc/hooks.c (malloc_check_get_size): New function to get
58771 requested size.
58772 * malloc/malloc.c (musable): Use malloc_check_get_size.
58773 * malloc/tst-malloc-usable.c: New test case.
58774
58775 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
58776
58777 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58778
58779 2012-09-05 Allan McRae <allan@archlinux.org>
58780
58781 [BZ #13966]
58782 * configure.in (CXX_SYSINCLUDES): Use compiler output to
58783 determine header location.
58784 * configure: Regenerated.
58785
58786 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
58787
58788 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58789 float format.
58790 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58791 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58792 format.
58793 (test): Regenerate.
58794
58795 2012-09-04 David S. Miller <davem@davemloft.net>
58796
58797 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58798 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58799 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58800
58801 2012-09-04 Florian Weimer <fweimer@redhat.com>
58802
58803 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58804 failures.
58805
58806 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58807
58808 2012-09-04 Joseph Myers <joseph@codesourcery.com>
58809
58810 [BZ #9914]
58811 * libio/iogetdelim.c: Include <limits.h>.
58812 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58813 + len + 1 would overflow.
58814
58815 2012-09-03 Andreas Jaeger <aj@suse.de>
58816
58817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58818 * sysdeps/i386/fpu/libm-test-ulps: Update.
58819
58820 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58821
58822 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58823 Add s_sinf-sse2, s_conf-sse2.
58824
58825 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58826 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58827 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58828 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58829
58830 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58831 for using routine as __sinf_ia32.
58832 Use macro for function declaration and weak_alias.
58833 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58834 for using routine as __cosf_ia32.
58835 Use macro for function declaration and weak_alias.
58836
58837 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58838 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58839
58840 * sysdeps/x86_64/fpu/s_sinf.S: New file.
58841 * sysdeps/x86_64/fpu/s_cosf.S: New file.
58842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58843
58844 * math/libm-test.inc (cos_test): Add more test cases.
58845 (sin_test): Likewise.
58846 (sincos_test): Likewise.
58847
58848 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58849
58850 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58851 (IFUNC_RESOLVE): Make pointers to the specialized implementations
58852 hidden.
58853 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58854
58855 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
58856
58857 [BZ #14538]
58858 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58859 first element of the GOT.
58860 (elf_machine_load_address): Return the difference between
58861 the runtime address of _DYNAMIC and elf_machine_dynamic ().
58862
58863 2012-09-01 Allan McRae <allan@archlinux.org>
58864
58865 [BZ #13412]
58866 * configure.in (AWK): Require gawk version 3.0 or later.
58867 * configure: Regenerated.
58868
58869 2012-09-01 Joseph Myers <joseph@codesourcery.com>
58870
58871 * sysdeps/unix/sysv/linux/kernel-features.h
58872 (__ASSUME_POSIX_CPU_TIMERS): Remove.
58873 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58874 [__NR_clock_getres]: Make code unconditional.
58875 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58876 (clock_getcpuclockid): Remove code left unreachable by removal of
58877 conditionals.
58878 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58879 code unconditional.
58880 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58881 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58882 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58883 Make code unconditional.
58884 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58885 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58886 * sysdeps/unix/sysv/linux/clock_settime.c
58887 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58888 conditional code.
58889 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58890 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58891
58892 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
58893
58894 [BZ #14476]
58895 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58896 scripts/test-installation.pl.
58897
58898 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58899 and $ld_so_version if it is set.
58900
58901 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
58902
58903 [BZ #14516]
58904 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58905 failure if reading from procfs failed.
58906 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58907
58908 2012-08-27 Joseph Myers <joseph@codesourcery.com>
58909
58910 * sysdeps/unix/sysv/linux/kernel-features.h
58911 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58912 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58913 Remove conditional code.
58914 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58915 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58916 Remove conditional code.
58917 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58918 * sysdeps/unix/sysv/linux/i386/fxstat.c
58919 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58920 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58921 * sysdeps/unix/sysv/linux/i386/fxstatat.c
58922 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58923 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58924 * sysdeps/unix/sysv/linux/i386/lxstat.c
58925 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58926 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58927 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58928 Remove conditional code.
58929 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58930 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58931 Remove conditional code.
58932 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58933 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58934 <kernel-features.h>.
58935 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58936 Remove.
58937 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58938 Remove conditional code.
58939 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58940 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58941 Remove conditional.
58942
58943 2012-08-27 Mike Frysinger <vapier@gentoo.org>
58944
58945 [BZ #5400]
58946 * NEWS: Add fixed bug number.
58947
58948 2012-08-27 Joseph Myers <joseph@codesourcery.com>
58949
58950 [BZ #14519]
58951 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58952 underflowing exponent in case of negative sign.
58953 * stdlib/tst-strtod-round-data: Add more tests.
58954 * stdlib/tst-strtod-round.c (tests): Regenerated.
58955
58956 [BZ #3479]
58957 * stdlib/strtod_l.c (NDIG): Remove.
58958 (HEXNDIG): Likewise.
58959 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58960 smallest representable value.
58961 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58962 lie within an exact representation of 1/2 ulp of the result.
58963 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58964 unconditionally.
58965 (TENS_P9_IDX): Define unconditionally.
58966 (TENS_P9_SIZE): Likewise.
58967 (TENS_P10_IDX): Likewise.
58968 (TENS_P10_SIZE): Likewise.
58969 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58970 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58971 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58972 entries for 10^2^13 and 10^2^14.
58973 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58974 (TENS_P13_IDX): Define.
58975 (TENS_P13_SIZE): Likewise.
58976 (TENS_P14_IDX): Likewise.
58977 (TENS_P14_SIZE): Likewise.
58978 (_fpioconst_pow10): Change array size to
58979 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
58980 unconditional.
58981 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58982 1024]: Add entries for 10^2^13 and 10^2^14.
58983 [LAST_POW10 > _LAST_POW10]: Remove #error.
58984 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58985 (_fpioconst_pow10): Change array size to
58986 FPIOCONST_POW10_ARRAY_SIZE.
58987 * stdlib/gen-fpioconst.c: New file.
58988 * stdlib/gen-tst-strtod-round.c: Likewise.
58989 * stdlib/tst-strtod-round-data: Likewise.
58990 * stdlib/tst-strtod-round.c: Likewise.
58991 * stdlib/Makefile (tests): Add tst-strtod-round.
58992
58993 [BZ #14459]
58994 * stdlib/strtod_l.c: Include <stdint.h>.
58995 (NDEBUG): Do not define.
58996 (round_and_return): Change EXPONENT parameter to type intmax_t.
58997 Rearrange calculations to avoid internal overflow possibilities.
58998 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58999 Rearrange calculations to avoid internal overflow possibilities.
59000 Assert that number fits inside MPNSIZE limbs.
59001 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
59002 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
59003 calculations and add assertions to avoid internal overflow
59004 possibilities. Add casts to avoid signed/unsigned operations.
59005 * stdlib/tst-strtod-overflow.c: New file.
59006 * stdlib/Makefile (tests): Add tst-strtod-overflow.
59007
59008 2012-08-25 Marek Polacek <polacek@redhat.com>
59009
59010 * time/time.h: Fix some typos in comments.
59011
59012 2012-08-23 Roland McGrath <roland@hack.frob.com>
59013
59014 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
59015 * posix/tst-rfc3484-2.c: Likewise.
59016 * posix/tst-rfc3484-3.c: Likewise.
59017
59018 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
59019
59020 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
59021 (EF_ARM_ABI_FLOAT_HARD): Likewise.
59022
59023 2012-08-23 Joseph Myers <joseph@codesourcery.com>
59024
59025 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
59026 #include of fxstatat64.c.
59027
59028 2012-08-22 Roland McGrath <roland@hack.frob.com>
59029
59030 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
59031 * shadow/getspent_r.c: Likewise.
59032 * shadow/getspnam.c: Likewise.
59033 * shadow/getspnam_r.c: Likewise.
59034 * gshadow/getsgent.c: Likewise.
59035 * gshadow/getsgent_r.c: Likewise.
59036 * gshadow/getsgnam.c: Likewise.
59037 * gshadow/getsgnam_r.c: Likewise.
59038 * inet/getnetbyad.c: Likewise.
59039 * inet/getnetbyad_r.c: Likewise.
59040 * inet/getnetbynm.c: Likewise.
59041 * inet/getnetbynm_r.c: Likewise.
59042 * inet/getnetent.c: Likewise.
59043 * inet/getnetent_r.c: Likewise.
59044 * inet/getproto.c: Likewise.
59045 * inet/getproto_r.c: Likewise.
59046 * inet/getprtent.c: Likewise.
59047 * inet/getprtent_r.c: Likewise.
59048 * inet/getprtname.c: Likewise.
59049 * inet/getprtname_r.c: Likewise.
59050 * inet/getrpcbyname.c: Likewise.
59051 * inet/getrpcbyname_r.c: Likewise.
59052 * inet/getrpcbynumber.c: Likewise.
59053 * inet/getrpcbynumber_r.c: Likewise.
59054 * inet/getrpcent.c: Likewise.
59055 * inet/getrpcent_r.c: Likewise.
59056 * inet/getaliasent.c: Likewise.
59057 * inet/getaliasent_r.c: Likewise.
59058 * inet/getaliasname.c: Likewise.
59059 * inet/getaliasname_r.c: Likewise.
59060 * nscd/getgrgid_r.c: Likewise.
59061 * nscd/getgrnam_r.c: Likewise.
59062 * nscd/gethstbyad_r.c: Likewise.
59063 * nscd/gethstbynm3_r.c: Likewise.
59064 * nscd/getpwnam_r.c: Likewise.
59065 * nscd/getpwuid_r.c: Likewise.
59066 * nscd/getsrvbynm_r.c: Likewise.
59067 * nscd/getsrvbypt_r.c: Likewise.
59068 * nscd/gai.c: Likewise.
59069
59070 * configure.in (build_nscd): New substituted variable, set
59071 by --disable-build-nscd and defaults to $use_nscd.
59072 * configure: Regenerated.
59073 * config.make.in (build-nscd): New substituted variable.
59074 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
59075 Change conditional to require [$(build-nscd) = yes] as well.
59076 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
59077
59078 [BZ# 13696]
59079 * configure.in (use_nscd): New substituted variable, set by
59080 --disable-nscd. If enabled, define USE_NSCD.
59081 * configure: Regenerated.
59082 * config.h.in: Add USE_NSCD.
59083 * config.make.in (use-nscd): New substituted variable.
59084 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59085 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59086 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59087 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59088 (CFLAGS-getgrnam_r.c): Likewise.
59089 (CFLAGS-initgroups.c): Likewise.
59090 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59091 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59092 Variables removed.
59093 * inet/getnetgrent_r.c
59094 (nscd_setnetgrent): New function, broken out of ...
59095 (setnetgrent): ... here. Call it.
59096 (innetgr): Conditionalize nscd bits on [USE_NSCD].
59097 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
59098 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
59099 * nscd/Makefile (routines, aux): Move definitions after include of
59100 Makeconfig. Conditionalize on [$(use-nscd) != no].
59101 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
59102 Conditionalize on [USE_NSCD].
59103 (is_nscd, nscd_init_cb): Likewise.
59104 (nss_load_library): Conditionalize init callback on [USE_NSCD].
59105 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
59106 * nss/nss_db/db-init.c: Likewise.
59107 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
59108 [USE_NSCD].
59109 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
59110 (make_request): Use it.
59111 (cache_valid_p): New function.
59112 (__check_pf): Use it.
59113 * NEWS: Add item for --disable-nscd.
59114
59115 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
59116
59117 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
59118 to support sed >= 4.2.1-20-ga9bf076.
59119 * configure: Regenerated.
59120
59121 2012-08-22 Roland McGrath <roland@hack.frob.com>
59122
59123 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
59124 Conditionalize whole body on [IREL].
59125
59126 2012-08-22 Jeff Law <law@redhat.com>
59127
59128 [BZ #14505]
59129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
59130 if the family is PF_UNSPEC.
59131
59132 2012-08-22 Mike Frysinger <vapier@gentoo.org>
59133
59134 * Makerules (lib-version): Rename from V.
59135 (install-lib-nosubdir): Change V to lib-version.
59136
59137 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
59138
59139 [BZ #14252]
59140 * powerpc32/power6/wcschr.c: New file.
59141 * powerpc32/power6/wcscpy.c: New file.
59142 * powerpc32/power6/wcsrchr.c: New file.
59143 * powerpc64/power6/wcschr.c: New file.
59144 * powerpc64/power6/wcscpy.c: New file.
59145 * powerpc64/power6/wcsrchr.c: New file.
59146
59147 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
59148
59149 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
59150 (two_way_short_needle): Use it.
59151 * string/strstr.c (AVAILABLE1_USES_J): Define.
59152 * string/strcasestr.c: Likewise.
59153
59154 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
59155 array references.
59156 * string/strcasestr.c (TOLOWER): Make side-effect safe.
59157
59158 [BZ #11607]
59159 * NEWS: Add an entry.
59160 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
59161 define their defaults.
59162 (two_way_short_needle): Detect end-of-string on-the-fly.
59163 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
59164 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
59165 * string/bug-strcasestr1.c: New test.
59166 * string/Makefile: Run it.
59167
59168 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
59169
59170 [BZ #11607]
59171 * string/str-two-way.h (two_way_short_needle): Optimize matching of
59172 the first character.
59173
59174 2012-08-21 Roland McGrath <roland@hack.frob.com>
59175
59176 * csu/elf-init.c (__libc_csu_irel): Function removed.
59177 * csu/libc-start.c (apply_irel): New function.
59178 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
59179
59180 2012-08-21 Joseph Myers <joseph@codesourcery.com>
59181
59182 * sysdeps/unix/sysv/linux/kernel-features.h
59183 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
59184 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59185 <kernel-features.h>.
59186 [__NR_fadvise64_64]: Make code unconditional.
59187 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
59188 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59189 !__NR_fadvise64_64)]: Likewise.
59190 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59191 !__NR_fadvise64_64))]: Likewise.
59192 [__NR_fadvise64]: Make code unconditional.
59193 [!__NR_fadvise64]: Remove conditional code.
59194 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
59195 <kernel-features.h>.
59196 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59197 unconditional.
59198 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59199 conditional code.
59200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
59201 not include <kernel-features.h>.
59202 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59203 unconditional.
59204 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59205 conditional code.
59206 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59207 include <kernel-features.h>.
59208 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59209 unconditional.
59210 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59211 conditional code.
59212
59213 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59214
59215 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59216 slight instruction rearrangements per scrollpipe analysis.
59217 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59218
59219 2012-08-20 Roland McGrath <roland@hack.frob.com>
59220
59221 * manual/syslog.texi (syslog; vsyslog, closelog):
59222 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59223 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59224
59225 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59226 DSOCAPS to match condition on defining it.
59227
59228 2012-08-20 Joseph Myers <joseph@codesourcery.com>
59229
59230 * sysdeps/unix/sysv/linux/kernel-features.h
59231 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59233 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59234 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59236 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59237 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59239 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59240 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59241
59242 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59243 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59244
59245 * sysdeps/unix/sysv/linux/kernel-features.h
59246 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59247 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59248 unconditional.
59249 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59250 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59251 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59252 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59253 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59254 Make code unconditional.
59255 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59256 (__mmap64) [!__NR_mmap2]: Likewise.
59257 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59258 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59259 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59260 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59261 [__NR_mmap2]: Make code unconditional.
59262 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59263 (__mmap64) [!__NR_mmap2]: Likewise.
59264
59265 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59266
59267 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59268
59269 2012-08-18 Andreas Jaeger <aj@suse.de>
59270
59271 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59272
59273 2012-08-18 Mike Frysinger <vapier@gentoo.org>
59274
59275 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59276 * include/unistd.h (__have_sock_cloexec): Likewise.
59277 (__have_pipe2): Likewise.
59278 (__have_dup3): Likewise.
59279
59280 2012-08-18 Mike Frysinger <vapier@gentoo.org>
59281
59282 [BZ #9685]
59283 * include/unistd.h (__have_pipe2): Change define into an extern int.
59284 (__have_dup3): Likewise.
59285 * socket/have_sock_cloexec.c: Include fcntl.h.
59286 (__have_pipe2): New variable.
59287 (__have_dup3): Likewise.
59288
59289 2012-08-17 Mike Frysinger <vapier@gentoo.org>
59290
59291 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59292
59293 2012-08-17 Marek Polacek <polacek@redhat.com>
59294
59295 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59296 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59297
59298 2012-08-17 Roland McGrath <roland@hack.frob.com>
59299
59300 * configure.in: Add AC_SUBST for sysheaders.
59301 * configure: Regenerated.
59302 * config.make.in (sysheaders): New substituted variable.
59303
59304 * sysdeps/unix/mkfifo.c: Moved ...
59305 * sysdeps/posix/mkfifo.c: ... here.
59306 * sysdeps/unix/mkfifoat.c: Moved ...
59307 * sysdeps/posix/mkfifoat.c: ... here.
59308
59309 * sysdeps/unix/utime.c: Moved ...
59310 * sysdeps/posix/utime.c: ... here.
59311
59312 * sysdeps/unix/time.c: Moved ...
59313 * sysdeps/posix/time.c: ... here.
59314 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59315 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59316
59317 * sysdeps/unix/nice.c: Moved ...
59318 * sysdeps/posix/nice.c: ... here.
59319
59320 * sysdeps/unix/alarm.c: Moved ...
59321 * sysdeps/posix/alarm.c: ... here.
59322
59323 * intl/Makefile ($(codeset_mo)): Depend on the input file.
59324
59325 2012-08-17 Jeff Law <law@redhat.com>
59326
59327 * intl/Makefile (codeset_mo): New variable.
59328 ($(codeset_mo)): New target.
59329 (tst-codeset.out): Depend on that. Remove explicit rule.
59330 (tst-gettext3.out, tst-gettext5.out): Likewise.
59331 (LOCPATH-ENV, tst-codeset-ENV): New variables.
59332 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59333 * intl/tst-codeset.sh: Remove.
59334 * intl/tst-gettext3.sh: Likewise.
59335 * intl/tst-gettext5.sh: Likewise.
59336
59337 2012-08-17 Roland McGrath <roland@hack.frob.com>
59338
59339 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
59340 * sysdeps/unix/syscalls.list: ... here.
59341
59342 * sysdeps/posix/getaddrinfo.c
59343 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59344 (gaiconf_init, gaiconf_reload): Use them.
59345 [!_STATBUF_ST_NSEC]
59346 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59347 Define using time_t rather than struct timespec.
59348
59349 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59350 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59351 Macros removed.
59352 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59353 [!NO_THREADS].
59354 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59355 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59356 Likewise.
59357
59358 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
59359 __libc_cleanup_push argument.
59360
59361 * bits/param.h: New file.
59362 * misc/sys/param.h: New file.
59363 * include/sys/param.h: New file.
59364 * misc/Makefile (headers): Add bits/param.h.
59365 * sysdeps/generic/sys/param.h: File removed.
59366 * sysdeps/unix/sysv/linux/bits/param.h: New file.
59367 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
59368 * sysdeps/mach/hurd/bits/param.h: New file.
59369 * sysdeps/mach/hurd/sys/param.h: File removed.
59370
59371 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
59372 last change.
59373
59374 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
59375 [_IO_MTSAFE_IO].
59376 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
59377 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
59378 New macros.
59379
59380 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
59381 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
59382 rather than -D_IO_MTSAFE_IO conditionally.
59383 * stdio-common/Makefile (CPPFLAGS): Likewise.
59384 * wcsmbs/Makefile (CPPFLAGS): Likewise.
59385 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
59386 Use $(libio-mtsafe).
59387 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
59388 of -D_IO_MTSAFE_IO.
59389 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
59390 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
59391 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
59392 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
59393 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
59394 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
59395 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
59396 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
59397 (CFLAGS-fread_u_chk.c): Likewise.
59398 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
59399 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
59400 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
59401 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
59402 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
59403 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
59404 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59405 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
59406 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
59407
59408 * libio/Makefile: Test [$(libc-reentrant) = yes]
59409 instead of [$(filter %REENTRANT, $(defines)) nonempty].
59410
59411 * Makeconfig
59412 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
59413 * sysdeps/pthread/configure: File removed.
59414 * sysdeps/pthread/Makeconfig: New file.
59415 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
59416 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
59417
59418 2012-08-16 Gary Benson <gbenson@redhat.com>
59419
59420 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
59421 unmapping the first object in a namespace.
59422
59423 2012-08-16 Roland McGrath <roland@hack.frob.com>
59424
59425 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
59426 (__internal_setnetgrent): ... this. Add internal_function to
59427 definition. Add libc_hidden_def.
59428 (setnetgrent): Update caller.
59429 (internal_endnetgrent): Renamed to ...
59430 (__internal_endnetgrent): ... this. Add internal_function to
59431 definition. Add libc_hidden_def.
59432 (endnetgrent): Update caller.
59433 (internal_getnetgrent_r): Renamed to ...
59434 (__internal_getnetgrent_r): ... this. Add internal_function to
59435 definition. Add libc_hidden_def.
59436 (__getnetgrent_r): Update caller.
59437 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
59438
59439 2012-08-16 Joseph Myers <joseph@codesourcery.com>
59440
59441 * stdlib/longlong.h: Update from GCC.
59442
59443 2012-08-16 Roland McGrath <roland@hack.frob.com>
59444
59445 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
59446 on _QL, which is set by umul_ppmm but never used.
59447 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
59448 variables, which are set by GMP macros but never used.
59449 * stdio-common/_itowa.c (_itowa): Likewise.
59450 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
59451 * stdlib/mod_1.c (mpn_mod_1): Likewise.
59452
59453 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
59454
59455 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59456 struct La_sh_regs is not constant.
59457 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59458 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59459 and struct La_sparc64_regs are not constant.
59460
59461 2012-08-16 Joseph Myers <joseph@codesourcery.com>
59462
59463 * sysdeps/unix/sysv/linux/kernel-features.h
59464 (__ASSUME_POSIX_TIMERS): Remove.
59465 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59466 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59467 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59468 Make code unconditional.
59469 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59470 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59471 Make code unconditional.
59472 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59473 * sysdeps/unix/sysv/linux/clock_nanosleep.c
59474 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59475 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59476 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59477 Make code unconditional.
59478 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59479 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59480 (__libc_missing_posix_timers): Remove.
59481
59482 2012-08-15 Roland McGrath <roland@hack.frob.com>
59483
59484 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59485 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59486
59487 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59488
59489 * elf/dl-sym.c: Include <stdlib.h>.
59490
59491 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59492 constants, which avoids warnings in 32-bit builds.
59493
59494 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59495 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59496
59497 * misc/lseek.c: File moved to ...
59498 * io/lseek.c: ... here.
59499
59500 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59501
59502 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59503 shifting LEN more than 31 bits at once.
59504
59505 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59506
59507 [BZ #14195]
59508 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59509 segmentation fault for a case of two empty input strings.
59510 * string/test-strncasecmp.c (check1): Renamed to...
59511 (bz12205): ...this.
59512 (bz14195): Add new testcase for two empty input strings and N > 0.
59513 (test_main): Call new testcase, adapt for renamed function.
59514
59515 2012-08-15 Andreas Jaeger <aj@suse.de>
59516
59517 [BZ #14090]
59518 * crypt/md5test2.c: New test, based on test supplied by Serge
59519 Belyshev <belyshev@depni.sinp.msu.ru>.
59520 * crypt/Makefile (xtests): Add md5test-giant..
59521 * crypt/Makefile ($(objpfx)md5test-giant): Add.
59522
59523 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
59524
59525 [BZ #14090]
59526 * crypt/md5.c (md5_process_block): Don't assume the buffer
59527 length is less than 2**32.
59528 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59529 length is less than 2**64.
59530
59531 2012-08-15 Roland McGrath <roland@hack.frob.com>
59532
59533 * string/str-two-way.h: Include <sys/param.h>.
59534 (MAX): Macro removed.
59535
59536 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59537 Move #define and #undef of memmove to just before and after
59538 including <string.h>.
59539
59540 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59541 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59542 and after including <string.h>. Move declarations of
59543 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59544 to before #include "string/memmove.c".
59545
59546 * include/dirent.h: Declare __getdirentries.
59547
59548 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59549 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59550
59551 2012-08-14 Mike Frysinger <vapier@gentoo.org>
59552
59553 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59554 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59555 * sysdeps/i386/configure: Regenerated.
59556 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59557 STABS_CURRENT_FILE, and STABS_FUN.
59558 (END): Remove call to STABS_FUN_END.
59559 (STABS_CURRENT_FILE1): Delete.
59560 (STABS_CURRENT_FILE): Likewise.
59561 (STABS_FUN): Likewise.
59562 (STABS_FUN_END): Likewise.
59563 (STABS_FUN2): Likewise.
59564 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59565 * sysdeps/x86_64/configure: Regenerated.
59566
59567 2012-08-14 Roland McGrath <roland@hack.frob.com>
59568
59569 * elf/dl-open.c: Include <atomic.h>.
59570 * elf/dl-lookup.c: Likewise.
59571
59572 2012-08-14 Joseph Myers <joseph@codesourcery.com>
59573
59574 * sysdeps/unix/sysv/linux/kernel-features.h
59575 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59576 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59577 unconditionally.
59578 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59579 unconditionally.
59580 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59581 condition on __ASSUME_CLONE_THREAD_FLAGS.
59582
59583 2012-08-14 Andreas Jaeger <aj@suse.de>
59584
59585 * sysdeps/i386/fpu/libm-test-ulps: Update.
59586
59587 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
59588
59589 * include/atomic.h (atomic_exchange_and_add): Split into ...
59590 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59591 New atomic macros.
59592
59593 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
59594
59595 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59596
59597 2012-08-13 Jeff Law <law@redhat.com>
59598
59599 * manual/stdio.texi (snprintf): Clarify handling of the trailing
59600 null byte in the output string.
59601
59602 2012-08-10 Joseph Myers <joseph@codesourcery.com>
59603
59604 * sysdeps/unix/sysv/linux/kernel-features.h
59605 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59606 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59607 (__ASSUME_ARG_MAX_STACK_BASED): Define.
59608 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59609 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59610 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
59611 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59612
59613 2012-08-09 Jeff Law <law@redhat.com>
59614
59615 [BZ #13939]
59616 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59617 When avoid_arena is set, don't retry in the that arena. Pick the
59618 next one, whatever it might be.
59619 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59620 (arena_lock): Pass in new parameter to arena_get2.
59621 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59622 arena_get2.
59623 (__libc_malloc): Unify retrying after main arena failure with
59624 __libc_memalign version.
59625 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59626
59627 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
59628
59629 [BZ #14166]
59630 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59631 to __redirect_strstr.
59632 (__strstr_sse42): Use typeof __redirect_strstr.
59633 (__strstr_ia32): Likewise.
59634 (__libc_strstr): New prototype.
59635 (strstr): Renamed to ...
59636 (__libc_strstr): This.
59637 (strstr): New strong alias of __libc_strstr.
59638 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59639 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59640 __redirect_time.
59641 Include <time.h>.
59642 (__libc_time): New prototype.
59643 (time_ifunc): Replace time with __libc_time.
59644 (time): New strong alias and hidden definition of __libc_time.
59645 (__GI_time): Remove strong alias.
59646 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59647 Include <stddef.h>.
59648 (memmove): Redefined to __redirect_memmove.
59649 (__memmove_sse2): Use typeof __redirect_memmove.
59650 (__memmove_ssse3): Likewise.
59651 (__memmove_ssse3_back): Likewise.
59652 (__libc_memmove): New prototype.
59653 (memmove): Renamed to ...
59654 (__libc_memmove): This.
59655 (memmove): New strong alias of __libc_memmove.
59656
59657 2012-08-08 Mark Salter <msalter@redhat.com>
59658
59659 * elf/elf.h
59660 (R_MN10300_TLS_GD): Define.
59661 (R_MN10300_TLS_LD): Likewise.
59662 (R_MN10300_TLS_LDO): Likewise.
59663 (R_MN10300_TLS_GOTIE): Likewise.
59664 (R_MN10300_TLS_IE): Likewise.
59665 (R_MN10300_TLS_LE): Likewise.
59666 (R_MN10300_TLS_DTPMOD): Likewise.
59667 (R_MN10300_TLS_DTPOFF): Likewise.
59668 (R_MN10300_TLS_TPOFF): Likewise.
59669 (R_MN10300_SYM_DIFF): Likewise.
59670 (R_MN10300_ALIGN): Likewise.
59671 (R_MN10300_NUM): Update.
59672
59673 2012-08-08 Joseph Myers <joseph@codesourcery.com>
59674
59675 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59676 Remove.
59677
59678 2012-08-08 Roland McGrath <roland@hack.frob.com>
59679
59680 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59681
59682 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59683 sysdeps/unix -> sysdeps/posix move.
59684 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59685
59686 2012-08-07 Allan McRae <allan@archlinux.org>
59687
59688 [BZ #14303]
59689 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59690 (SUNOS_CPP): Likewise.
59691 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59692 not found.
59693 (open_input): Call CPP using execvp.
59694
59695 2012-08-07 Joseph Myers <joseph@codesourcery.com>
59696
59697 * sysdeps/unix/sysv/linux/kernel-features.h
59698 (__ASSUME_PROT_GROWSUPDOWN): Remove.
59699 (__ASSUME_NO_CLONE_DETACHED): Likewise.
59700 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59701 (__ASSUME_WAITID_SYSCALL): Likewise.
59702 * sysdeps/unix/sysv/linux/dl-execstack.c
59703 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59704 code unconditional.
59705 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59706 conditional code.
59707 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59708 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59709 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59710 code.
59711 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59712 unconditional.
59713 [__ASSUME_WAITID_SYSCALL]: Likewise.
59714 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59715
59716 2012-08-07 Roland McGrath <roland@hack.frob.com>
59717
59718 * sysdeps/unix/closedir.c: Renamed to ...
59719 * sysdeps/posix/closedir.c: ... here.
59720 * sysdeps/unix/dirfd.c: Renamed to ...
59721 * sysdeps/posix/dirfd.c: ... here.
59722 * sysdeps/unix/dirstream.h: Renamed to ...
59723 * sysdeps/posix/dirstream.h: ... here.
59724 * sysdeps/unix/fdopendir.c: Renamed to ...
59725 * sysdeps/posix/fdopendir.c: ... here.
59726 * sysdeps/unix/opendir.c: Renamed to ...
59727 * sysdeps/posix/opendir.c: ... here.
59728 * sysdeps/unix/readdir.c: Renamed to ...
59729 * sysdeps/posix/readdir.c: ... here.
59730 * sysdeps/unix/readdir_r.c: Renamed to ...
59731 * sysdeps/posix/readdir_r.c: ... here.
59732 * sysdeps/unix/rewinddir.c: Renamed to ...
59733 * sysdeps/posix/rewinddir.c: ... here.
59734 * sysdeps/unix/seekdir.c: Renamed to ...
59735 * sysdeps/posix/seekdir.c: ... here.
59736 * sysdeps/unix/telldir.c: Renamed to ...
59737 * sysdeps/posix/telldir.c: ... here.
59738 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59739 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59740 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59741 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59742
59743 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59744 * bits/fcntl.h: ... here.
59745
59746 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59747 not 0.
59748 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59749 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59750 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59751 (struct flock): Move l_start, l_len to the beginning.
59752 Use __pid_t for l_pid.
59753 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59754 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59755 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59756 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59757 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59758 [__USE_LARGEFILE64] (struct flock64): New type.
59759 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59760
59761 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59762 * bits/dirent.h: ... here.
59763
59764 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59765 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59766
59767 2012-08-07 Joseph Myers <joseph@codesourcery.com>
59768
59769 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59770 Change from 2.6.0 to 2.6.16.
59771 * sysdeps/unix/sysv/linux/configure: Regenerated.
59772 * sysdeps/unix/sysv/linux/kernel-features.h
59773 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59774 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59775 version.
59776 (__ASSUME_UTIMES): Likewise.
59777 (__ASSUME_CLONE_STOPPED): Remove.
59778 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59779 architectures, not kernel version.
59780 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59781 (__ASSUME_NO_CLONE_DETACHED): Likewise.
59782 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59783 (__ASSUME_WAITID_SYSCALL): Likewise.
59784 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59785 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59786 * README: State 2.6.16 as minimum Linux kernel version. Do not
59787 refer to older versions.
59788
59789 2012-08-06 Roland McGrath <roland@hack.frob.com>
59790
59791 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59792 Define alphasort64 as an alias.
59793 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59794 Define versionsort64 as an alias.
59795 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59796 Define scandir64 as an alias.
59797 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59798 Define scandirat64 as an alias.
59799 * dirent/alphasort64.c (alphasort64):
59800 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59801 * dirent/versionsort64.c: Likewise.
59802 * dirent/scandir64.c: Likewise.
59803 * dirent/scandirat64.c: Likewise.
59804 * sysdeps/wordsize-64/alphasort.c: File removed.
59805 * sysdeps/wordsize-64/alphasort64.c: File removed.
59806 * sysdeps/wordsize-64/scandir.c: File removed.
59807 * sysdeps/wordsize-64/scandir64.c: File removed.
59808 * sysdeps/wordsize-64/scandirat.c: File removed.
59809 * sysdeps/wordsize-64/scandirat64.c: File removed.
59810 * sysdeps/wordsize-64/versionsort.c: File removed.
59811 * sysdeps/wordsize-64/versionsort64.c: File removed.
59812 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59813 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59814 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59815 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59816 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59817 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59818 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59819 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59820
59821 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59823 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59825 [defined __arch64__ || defined __sparcv9]
59826 (__INO_T_MATCHES_INO64_T): New macro.
59827 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59828 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59829 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59830 * sysdeps/unix/sysv/linux/bits/dirent.h
59831 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59832 (_DIRENT_MATCHES_DIRENT64): New macro.
59833
59834 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59835 Define lockf64 as an alias.
59836 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59837 Define fseeko64 as an alias.
59838 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59839 Define ftello64 as an alias.
59840 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59841 Define _IO_fgetpos64 and fgetpos64 as aliases.
59842 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59843 Define _IO_fsetpos64 and fsetpos64 as aliases.
59844 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59845 Conditionalize body on this.
59846 * libio/fseeko64.c: Likewise.
59847 * libio/ftello64.c: Likewise.
59848 * libio/iofgetpos64.c: Likewise.
59849 * libio/iofsetpos64.c: Likewise.
59850 * sysdeps/wordsize-64/lockf.c: File removed.
59851 * sysdeps/wordsize-64/lockf64.c: File removed.
59852 * sysdeps/wordsize-64/fseeko.c: File removed.
59853 * sysdeps/wordsize-64/fseeko64.c: File removed.
59854 * sysdeps/wordsize-64/ftello.c: File removed.
59855 * sysdeps/wordsize-64/ftello64.c: File removed.
59856 * sysdeps/wordsize-64/iofgetpos.c: File removed.
59857 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59858 * sysdeps/wordsize-64/iofsetpos.c: File removed.
59859 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59860 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59861 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59862 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59863 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59864 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59865 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59866 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59867 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59868 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59869 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59870
59871 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59873 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59874 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59875 [defined __arch64__ || defined __sparcv9]
59876 (__OFF_T_MATCHES_OFF64_T): New macro.
59877 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59878 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59879 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59880 (__OFF_T_MATCHES_OFF64_T): New macro.
59881
59882 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
59883
59884 * stdlib/secure-getenv.c (__secure_getenv): Replace
59885 GLIBC_2_16 with GLIBC_2_17.
59886
59887 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
59888
59889 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59890 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59891
59892 2012-08-03 David S. Miller <davem@davemloft.net>
59893
59894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59895
59896 2012-08-03 Joseph Myers <joseph@codesourcery.com>
59897
59898 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59899 Remove.
59900 (__ASSUME_CORRECT_SI_PID): Likewise.
59901 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59902 (__ASSUME_TMPFS_NAME): Likewise.
59903 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59904 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59905 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59906 (HAVE_AUX_SECURE): Make definition unconditional.
59907 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59908 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59909
59910 2012-08-03 Roland McGrath <roland@hack.frob.com>
59911
59912 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59913 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59914 * sysdeps/mach/hurd/eloop-threshold.h: New file.
59915 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59916 __eloop_threshold instead of SYMLOOP_MAX.
59917
59918 * sysdeps/generic/eloop-threshold.h: New file.
59919 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59920 of MAXSYMLINKS.
59921 * elf/chroot_canon.c (chroot_canon): Likewise.
59922
59923 2012-08-03 Joseph Myers <joseph@codesourcery.com>
59924
59925 [BZ #13717]
59926 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59927 Change to 2.6.0 everywhere.
59928 * sysdeps/unix/sysv/linux/configure: Regenerated.
59929 * sysdeps/unix/sysv/linux/kernel-features.h
59930 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59931 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59932 kernel versions.
59933 (__ASSUME_POSIX_TIMERS): Define unconditionally.
59934 (__ASSUME_FUTEX_REQUEUE): Remove.
59935 (__ASSUME_STATFS64): Define unconditionally.
59936 (__ASSUME_AT_SECURE): Likewise.
59937 (__ASSUME_CORRECT_SI_PID): Likewise.
59938 (__ASSUME_TGKILL): Define without depending on kernel version for
59939 i386.
59940 (__ASSUME_UTIMES): Likewise.
59941 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59942 kernel version.
59943 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59944 (__ASSUME_TMPFS_NAME): Likewise.
59945 * README: Update reference to Linux kernel versions.
59946
59947 2012-08-02 Marek Polacek <polacek@redhat.com>
59948
59949 [BZ# 14150]
59950 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
59951 libc_cv_asm_type_prefix with %.
59952 * configure: Regenerated.
59953 * include/libc-symbols.h: Remove comment about
59954 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59955 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59956 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59957 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59958 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59959 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59960 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59961 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59962 * elf/tst-unique2mod1.c: Likewise.
59963 * elf/tst-unique1mod2.c: Likewise.
59964 * elf/tst-unique1mod1.c: Likewise.
59965 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59966 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59967 Replace ASM_TYPE_DIRECTIVE with .type.
59968 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59969 * sysdeps/i386/sysdep.h: Likewise.
59970 * sysdeps/x86_64/sysdep.h: Likewise.
59971 * sysdeps/sh/sysdep.h: Likewise.
59972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59973 Do not define ASM_TYPE_DIRECTIVE.
59974 * sysdeps/powerpc/sysdep.h: Likewise.
59975 * sysdeps/powerpc/powerpc32/sysdep.h:
59976 Replace ASM_TYPE_DIRECTIVE with .type.
59977 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59978 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59979 * sysdeps/i386/fpu/e_powf.S: Likewise.
59980 * sysdeps/i386/fpu/e_expl.S: Likewise.
59981 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59982 * sysdeps/i386/fpu/e_acosh.S: Likewise.
59983 * sysdeps/i386/fpu/e_pow.S: Likewise.
59984 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59985 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59986 * sysdeps/i386/fpu/s_expm1.S: Likewise.
59987 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59988 * sysdeps/i386/fpu/e_log2.S: Likewise.
59989 * sysdeps/i386/fpu/e_log2l.S: Likewise.
59990 * sysdeps/i386/fpu/e_scalb.S: Likewise.
59991 * sysdeps/i386/fpu/e_powl.S: Likewise.
59992 * sysdeps/i386/fpu/e_log10f.S: Likewise.
59993 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59994 * sysdeps/i386/fpu/e_logl.S: Likewise.
59995 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59996 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59997 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59998 * sysdeps/i386/fpu/e_log2f.S: Likewise.
59999 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60000 * sysdeps/i386/fpu/e_log.S: Likewise.
60001 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60002 * sysdeps/i386/fpu/e_logf.S: Likewise.
60003 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60004 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60005 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60006 * sysdeps/i386/fpu/e_log10.S: Likewise.
60007 * sysdeps/i386/fpu/s_frexp.S: Likewise.
60008 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60009 * sysdeps/i386/fpu/s_asinh.S: Likewise.
60010 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60011 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60012 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
60013 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60014 * sysdeps/i386/i686/strtok.S: Likewise.
60015 * sysdeps/i386/i386-mcount.S: Likewise.
60016 * sysdeps/i386/strtok.S: Likewise.
60017 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
60018 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60019 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60020 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60021 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60022 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60023 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60024 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60025 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60026 * sysdeps/x86_64/_mcount.S: Likewise.
60027 * sysdeps/x86_64/strtok.S: Likewise.
60028 * sysdeps/sh/_mcount.S: Likewise.
60029
60030 2012-08-01 Roland McGrath <roland@hack.frob.com>
60031
60032 * libio/iofopen.c: Include <fcntl.h>.
60033 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
60034 (_IO_fopen64, fopen64): Define as aliases.
60035 * libio/iofopen64.c: Include <fcntl.h>.
60036 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
60037 Conditionalize body on this.
60038 * sysdeps/wordsize-64/iofopen.c: File removed.
60039 * sysdeps/wordsize-64/iofopen64.c: File removed.
60040
60041 2012-08-01 Marek Polacek <polacek@redhat.com>
60042
60043 * libc/Makeconfig: Use elf in place of binfmt-subdir.
60044 Use dlfcn directly instead of a variable.
60045 (binfmt-subdir): Do not define.
60046 (dlfcn): Likewise.
60047
60048 2012-08-01 Joseph Myers <joseph@codesourcery.com>
60049
60050 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
60051 Remove all definitions.
60052 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
60053 <kernel-features.h>.
60054 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60055 (miss_F_GETOWN_EX): Remove all definitions.
60056 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
60057 macro definition.
60058 [!__ASSUME_FCNTL64]: Remove conditional code.
60059 [__ASSUME_FCNTL64]: Make code unconditional.
60060 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
60061 <kernel-features.h>.
60062 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60063 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
60064 (lockf64) [__NR_fcntl64]: Make code unconditional.
60065 (lockf64) [__ASSUME_FCNTL64]: Likewise.
60066
60067 * sysdeps/unix/sysv/linux/kernel-features.h
60068 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
60069 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
60070 Make code unconditional.
60071 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60072 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
60074 [__NR_vfork]: Make code unconditional.
60075 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60076 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
60078 [__NR_vfork]: Make code unconditional.
60079 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60080 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60081
60082 2012-08-01 Roland McGrath <roland@hack.frob.com>
60083
60084 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60085 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60086
60087 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60088 Define mkstemp64 as an alias.
60089 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60090 Define mkstemps64 as an alias.
60091 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60092 Define mkostemp64 as an alias.
60093 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60094 Define mkostemps64 as an alias.
60095 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
60096 Conditionalize body on this.
60097 * misc/mkostemp64.c: Likewise.
60098 * misc/mkostemps64.c: Likewise.
60099 * misc/mkstemps64.c: Likewise.
60100 * sysdeps/wordsize-64/mkstemp64.c: File removed.
60101 * sysdeps/wordsize-64/mkostemp64.c: File removed.
60102 * sysdeps/wordsize-64/mkostemp.c: File removed.
60103 * sysdeps/wordsize-64/mkstemp.c: File removed.
60104 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
60105 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
60106 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60107 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
60108
60109 [BZ #14138]
60110 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
60111 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
60112 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
60113 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
60114
60115 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
60116 compat_symbol macros from <shlib-compat.h> rather than the underlying
60117 default_symbol_version and symbol_version macros, so that DEFAULT
60118 lines in shlib-versions are respected.
60119 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
60120
60121 2012-08-01 Florian Weimer <fweimer@redhat.com>
60122
60123 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
60124 Declare with warn_unused_result.
60125 (setgid, setregid, setegid, setresgid): Likewise.
60126 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
60127 Likewise.
60128 * WUR-REPORT: Remove set*id functions.
60129
60130 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
60131
60132 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
60133
60134 2012-07-31 Roland McGrath <roland@hack.frob.com>
60135
60136 [BZ #10191]
60137 * include/sys/socket.h (__libc_accept, __libc_accept4):
60138 Add attribute_hidden.
60139 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
60140
60141 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
60142 use of PTR_MANGLE.
60143 * inet/getnetgrent_r.c (setup): Likewise.
60144
60145 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
60146
60147 2012-07-31 David S. Miller <davem@davemloft.net>
60148
60149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60150
60151 2012-07-31 Joseph Myers <joseph@codesourcery.com>
60152
60153 [BZ #13629]
60154 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
60155 value between 1.0 and 2.0 and smaller part has absolute value less
60156 than 1.0.
60157 * math/s_clog10.c (__clog10): Likewise.
60158 * math/s_clog10f.c (__clog10f): Likewise.
60159 * math/s_clog10l.c (__clog10l): Likewise.
60160 * math/s_clogf.c (__clogf): Likewise.
60161 * math/s_clogl.c (__clogl): Likewise.
60162 * math/libm-test.inc (clog_test): Add more tests.
60163 (clog10_test): Likewise.
60164 * sysdeps/i386/fpu/libm-test-ulps: Update.
60165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60166
60167 2012-07-31 Florian Weimer <fweimer@redhat.com>
60168
60169 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
60170 Exit with zero in case no suitable GID is found, and write a
60171 message to standard error.
60172
60173 2012-07-30 Roland McGrath <roland@hack.frob.com>
60174
60175 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
60176 rather than to 1.
60177 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
60178 (MAXPATHLEN): Removed.
60179 (NOGROUP, NODEV): New macros.
60180 (setbit, clrbit, isset, isclr): New macros.
60181 (howmany, roundup, powerof2): New macros.
60182 (DEV_BSIZE): New macro.
60183
60184 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
60185 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
60186
60187 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
60188 definition on [!__NO_LONG_DOUBLE_MATH].
60189
60190 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
60191 PTR_MANGLE and PTR_DEMANGLE.
60192
60193 * socket/accept4.c (accept4): Rename to __libc_accept4.
60194 Define accept4 as a weak alias.
60195
60196 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
60197 on [_DIRENT_HAVE_D_TYPE].
60198 * io/ftw.c (ftw_dir): Likewise.
60199
60200 * io/xmknod.c (__xmknod): Don't check PATH for being null.
60201
60202 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
60203
60204 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
60205 Use the BSD numbers rather than the arbitrary ones we had.
60206 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60207 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60208 (SIGXCPU, SIGXFSZ): New macros.
60209 (_NSIG): Now 32.
60210
60211 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60212 initializer on [_LIBC_REENTRANT].
60213
60214 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60215 definitions inside [_POSIX_MAPPED_FILES].
60216
60217 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60218
60219 * dirent/opendir.c: Include <fcntl.h>.
60220
60221 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60222 (__libc_getspecific): Likewise.
60223 (__libc_key_create): Likewise.
60224
60225 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60226 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60227 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60228 (tmpfile64): Define as alias.
60229 * sysdeps/wordsize-64/tmpfile.c: File removed.
60230 * sysdeps/wordsize-64/tmpfile64.c: File removed.
60231 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60232 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60233
60234 * stdio-common/vfscanf.c: Include <stdbool.h>.
60235 * nss/makedb.c: Likewise.
60236 * stdio-common/_i18n_number.h: Likewise.
60237 * argp/argp-help.c: Likewise.
60238 * posix/wordexp.c: Likewise.
60239 * sysdeps/posix/spawni.c: Likewise.
60240 * nss/nss_files/files-initgroups.c: Likewise.
60241 * stdio-common/reg-modifier.c: Include <stdlib.h>.
60242 * nss/nss_files/files-initgroups.c: Likewise.
60243 * nss/nss_db/db-netgrp.c: Likewise.
60244 * nss/nss_db/db-initgroups.c: Likewise.
60245 * io/fchmodat.c: Include <sys/stat.h>.
60246
60247 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60248 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60249
60250 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60251 [HAVE_MMAP].
60252
60253 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60254 Add multiple inclusion protection.
60255
60256 2012-07-27 David S. Miller <davem@davemloft.net>
60257
60258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60259
60260 2012-07-27 Gary Benson <gbenson@redhat.com>
60261
60262 [BZ #14298]
60263 * elf/rtld.c: Include <stap-probe.h>.
60264 (dl_main): Added static probes "init_start" and "init_complete".
60265 * elf/dl-load.c: Include <stap-probe.h>.
60266 (lose): Take new parameter "nsid".
60267 Added static probe "map_failed".
60268 (_dl_map_object_from_fd): Pass namespace id to lose.
60269 Added static probe "map_start".
60270 (open_verify): Pass namespace id to lose.
60271 * elf/dl-open.c: Include <stap-probe.h>.
60272 (dl_open_worker) Added static probes "map_complete", "reloc_start"
60273 and "reloc_complete".
60274 * elf/dl-close.c: Include <stap-probe.h>.
60275 (_dl_close_worker): Added static probes "unmap_start" and
60276 "unmap_complete".
60277 * elf/rtld-debugger-interface.txt: New file documenting the above.
60278
60279 2012-07-26 Roland McGrath <roland@hack.frob.com>
60280
60281 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60282 rather than a string variable.
60283 * sunrpc/rpc_main.c (h_output): Likewise.
60284 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60285
60286 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
60287
60288 * inet/check_native.c: New file.
60289
60290 2012-07-26 Joseph Myers <joseph@codesourcery.com>
60291
60292 [BZ #13629]
60293 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60294 if larger part has absolute value 1.0.
60295 * math/s_clog10.c (__clog10): Likewise.
60296 * math/s_clog10f.c (__clog10f): Likewise.
60297 * math/s_clog10l.c (__clog10l): Likewise.
60298 * math/s_clogf.c (__clogf): Likewise.
60299 * math/s_clogl.c (__clogl): Likewise.
60300 * math/libm-test.inc (clog_test): Add more tests.
60301 (clog10_test): Likewise.
60302 * sysdeps/i386/fpu/libm-test-ulps: Update.
60303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60304
60305 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60306 (pltexit): Likewise.
60307 (La_regs): Likewise.
60308 (La_retval): Likewise.
60309 (int_retval): Likewise.
60310 Update #error for removed macros to refer only to definitions in
60311 tst-audit.h.
60312 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
60313 macro.
60314 (pltexit): Likewise.
60315 (La_regs): Likewise.
60316 (La_retval): Likewise.
60317 (int_retval): Likewise.
60318 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
60319 macro.
60320 (pltexit): Likewise.
60321 (La_regs): Likewise.
60322 (La_retval): Likewise.
60323 (int_retval): Likewise.
60324 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
60325 macro.
60326 (pltexit): Likewise.
60327 (La_regs): Likewise.
60328 (La_retval): Likewise.
60329 (int_retval): Likewise.
60330 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
60331 macro.
60332 (pltexit): Likewise.
60333 (La_regs): Likewise.
60334 (La_retval): Likewise.
60335 (int_retval): Likewise.
60336 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60337 macro.
60338 (pltexit): Likewise.
60339 (La_regs): Likewise.
60340 (La_retval): Likewise.
60341 (int_retval): Likewise.
60342 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60343 macro.
60344 (pltexit): Likewise.
60345 (La_regs): Likewise.
60346 (La_retval): Likewise.
60347 (int_retval): Likewise.
60348 * sysdeps/generic/tst-audit.h: Update comment to refer only to
60349 macro definitions in tst-audit.h.
60350 * sysdeps/i386/tst-audit.h: New file.
60351 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60352 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60353 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60354 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60355 * sysdeps/sh/tst-audit.h: Likewise.
60356 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
60357 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
60358 * sysdeps/x86_64/tst-audit.h: Likewise.
60359
60360 2012-07-26 Andreas Jaeger <aj@suse.de>
60361
60362 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
60363 ptrace.
60364
60365 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
60366 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
60367 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
60368 PTRACE_O_MASK.
60369 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
60370 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
60371 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
60372
60373 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
60374 value.
60375
60376 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
60377 _sigsys.
60378 (si_call_addr, si_syscall, si_arch): Define new macro.
60379 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
60380 _sigsys.
60381 (si_call_addr, si_syscall, si_arch): Define new marcro.
60382 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
60383 _sigsys.
60384 (si_call_addr, si_syscall, si_arch): Define new macro.
60385 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
60386 _sigsys.
60387 (si_call_addr, si_syscall, si_arch): Define new macro.
60388
60389 2012-07-25 Joseph Myers <joseph@codesourcery.com>
60390
60391 [BZ #13717]
60392 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60393 Change to 2.4.21 where previously 2.4.1.
60394 * sysdeps/unix/sysv/linux/configure: Regenerated.
60395 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
60396 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
60397 Linux kernel version.
60398 (__ASSUME_STD_AUXV): Remove.
60399 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
60400 kernel version.
60401 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
60402 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
60403 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
60404 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
60405 (__ASSUME_NETLINK_SUPPORT): Likewise.
60406 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
60407 (__no_netlink_support): Remove conditional definition.
60408 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
60409 Remove.
60410 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60411 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
60412 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
60413 (if_nameindex_ioctl): Remove.
60414 (if_nameindex_netlink): Do not handle __no_netlink_support.
60415 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60416 code.
60417 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
60418 Remove conditional code.
60419 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60420 code.
60421 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
60422 unconditional.
60423 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60424 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
60425 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
60426 Remove.
60427 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
60428 [!__ASSUME_STD_AUXV]: Remove conditional code.
60429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
60430 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
60431 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
60432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
60433 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
60434 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60435 code.
60436 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60438 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
60439 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60440 conditional code.
60441 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60443 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60444 code.
60445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60446 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60447 conditional code.
60448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
60449 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60450 code unconditional.
60451 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60452 conditional code.
60453 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60454 unconditional.
60455 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60456 conditional code.
60457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60458 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60459 unconditional.
60460 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60461 conditional code.
60462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60463 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60464 code unconditional.
60465 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60466 conditional code.
60467 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60468 unconditional.
60469 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60470 conditional code.
60471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60472 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60473 code unconditional.
60474 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60475 conditional code.
60476 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60477 unconditional.
60478 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60479 conditional code.
60480
60481 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
60482
60483 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60484 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60485 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60486 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60487 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60488 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60489 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60490 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60491 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60492 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60493 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60494 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60495 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60496 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60497 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60498 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60499 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60500 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60501 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60503 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60504 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60505 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60506
60507 2012-07-25 Florian Weimer <fweimer@redhat.com>
60508
60509 * Versions.def: Add GLIBC_2.17.
60510 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60511 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60512 Introduce __libc_secure_getenv.
60513 * stdlib/Versions (2.17): Add secure_getenv
60514 (GLIBC_PRIVATE): Add __libc_secure_getenv.
60515 * stdlib/secure-getenv.c: Rename __secure_getenv to
60516 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
60517 symbol __secure_getenv for GLIBC_2.0.
60518 * stdlib/tst-secure-getenv.c: New.
60519 * stdlib/Makefile (tests): Add testcase.
60520 * manual/startup.texi (Environment Access): Document
60521 secure_getenv.
60522 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60523 __libc_secure_getenv.
60524 * inet/ruserpass.c (ruserpass): Likewise.
60525 * malloc/mtrace.c (mtrace): Likewise.
60526 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60527 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60528 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60529 * sysdeps/posix/tempname.c: Likewise. Evaluate
60530 HAVE_SECURE_GETENV.
60531 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60532 __secure_getenv to __libc_secure_getenv.
60533 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60535 Likewise.
60536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60537 Likewise.
60538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60540 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60545
60546 2012-07-25 Joseph Myers <joseph@codesourcery.com>
60547
60548 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60549 (struct La_i86_retval): Likewise.
60550 (struct La_x86_64_regs): Likewise.
60551 (struct La_x86_64_retval): Likewise.
60552 (struct La_x32_regs): Likewise.
60553 (struct La_x32_retval): Likewise.
60554 (struct La_ppc32_regs): Likewise.
60555 (struct La_ppc32_retval): Likewise.
60556 (struct La_ppc64_regs): Likewise.
60557 (struct La_ppc64_retval): Likewise.
60558 (struct La_sh_regs): Likewise.
60559 (struct La_sh_retval): Likewise.
60560 (struct La_s390_32_regs): Likewise.
60561 (struct La_s390_32_retval): Likewise.
60562 (struct La_s390_64_regs): Likewise.
60563 (struct La_s390_64_retval): Likewise.
60564 (struct La_sparc32_regs): Likewise.
60565 (struct La_sparc32_retval): Likewise.
60566 (struct La_sparc64_regs): Likewise.
60567 (struct La_sparc64_retval): Likewise.
60568 (struct audit_ifaces): Remove architecture-specific pltenter and
60569 pltexit members.
60570 * sysdeps/i386/ldsodefs.h: New file.
60571 * sysdeps/powerpc/ldsodefs.h: Likewise.
60572 * sysdeps/s390/ldsodefs.h: Likewise.
60573 * sysdeps/sh/ldsodefs.h: Likewise.
60574 * sysdeps/sparc/ldsodefs.h: Likewise.
60575 * sysdeps/x86_64/ldsodefs.h: Likewise.
60576
60577 2012-07-25 Marek Polacek <polacek@redhat.com>
60578
60579 [BZ #6808]
60580 * math/libm-test.inc (yn_test): Add another test.
60581 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60582 to ERANGE when the result is +-Inf.
60583 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60584 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60585 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60586 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60587
60588 2012-07-24 Joseph Myers <joseph@codesourcery.com>
60589
60590 * conform/data/time.h-data (NULL): Use macro-constant. Require
60591 equal to 0.
60592 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
60593 clock_t.
60594 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
60595
60596 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
60597
60598 * configure.in <sysdeps resolving>: Correct printing
60599 Implies_before.
60600 * configure: Regenerate.
60601
60602 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
60603
60604 * math/w_ilogb.c: Include <limits.h>.
60605 * math/w_ilogbl.c: Likewise.
60606
60607 2012-07-20 Joseph Myers <joseph@codesourcery.com>
60608
60609 * manual/lang.texi (__va_copy): Document primarily as ISO C99
60610 va_copy. Document allowing for unavailable va_copy only as
60611 pre-C99 compatibility.
60612 * manual/string.texi (Copying and Concatenation): Use va_copy
60613 instead of __va_copy in concat example.
60614
60615 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
60616
60617 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60618 (__sendto): Use create_address_port. Initialize APORT and deallocate
60619 it if not null.
60620
60621 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60622 with O_NOLINK passed to __file_name_lookup.
60623
60624 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60625 with O_NOLINK passed to __file_name_lookup.
60626
60627 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60628 negative N or less than NGIDS.
60629
60630 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60631 type to string_t. Set ERANGE as errno and return it if NAME is not big
60632 enough. Use memcpy instead of strncpy.
60633
60634 2012-07-20 Joseph Myers <joseph@codesourcery.com>
60635
60636 * elf/Makefile (check-data): Remove.
60637 (localplt.data): New vpath directive.
60638 ($(objpfx)check-localplt.out): Use localplt.data from vpath
60639 instead of $(check-data).
60640 * scripts/data/localplt-generic.data: Move to ...
60641 * sysdeps/generic/localplt.data: ... here.
60642 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60643 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60644 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60646 ... here.
60647 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60649 ... here.
60650 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60652 ... here.
60653 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60655 ... here.
60656 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60658 ... here.
60659 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60661 ... here.
60662
60663 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60664
60665 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60666 PPC32 and PPC64 files.
60667 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60668 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60669
60670 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60671
60672 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60673 __makecontext_ret to ...
60674 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60675 ... here and call exit if uc_link is NULL. New file.
60676 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60677 __makecontext_ret.S.
60678 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60679 __makecontext_ret to ...
60680 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60681 ... here and call exit if uc_link is NULL. New file.
60682 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60683 __makecontext_ret.S.
60684
60685 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60686
60687 * elf/elf.h (R_390_IRELATIVE): New definition.
60688 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60689 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
60690 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60691 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60692 (elf_machine_lazy_rel): Likewise.
60693 * sysdeps/s390/dl-irel.h: New file.
60694 * sysdeps/s390/s390-64/memcpy.S: New asm code.
60695 * sysdeps/s390/s390-64/memset.S: New asm code.
60696 * sysdeps/s390/s390-64/memcmp.S: New asm code.
60697 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60698 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60699 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60700 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60701 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60702 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60703 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60704 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60705 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60706 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60707 * sysdeps/s390/s390-32/memcpy.S: New asm code.
60708 * sysdeps/s390/s390-32/memset.S: New asm code.
60709 * sysdeps/s390/s390-32/memcmp.S: New asm code.
60710
60711 2012-07-17 Marek Polacek <polacek@redhat.com>
60712
60713 [BZ #14349]
60714 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60715 * sysdeps/s390/s390-64/configure.in: Likewise.
60716 * sysdeps/sparc/configure.in: Likewise.
60717 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60718 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60719 * sysdeps/i386/configure.in: Likewise.
60720 * sysdeps/x86_64/configure.in: Likewise.
60721 * sysdeps/sh/configure.in: Likewise.
60722 * sysdeps/s390/s390-32/configure: Regenerated.
60723 * sysdeps/s390/s390-64/configure: Likewise.
60724 * sysdeps/x86_64/configure: Likewise.
60725 * sysdeps/sh/configure: Likewise.
60726 * sysdeps/powerpc/powerpc64/configure: Likewise.
60727 * sysdeps/powerpc/powerpc32/configure: Likewise.
60728 * sysdeps/sparc/configure: Likwise.
60729 * sysdeps/i386/configure: Likewise.
60730
60731 * elf/dl-open.c: Comment fixes.
60732
60733 2012-07-17 Joseph Myers <joseph@codesourcery.com>
60734
60735 * Makefile [CXX] (check-data): Remove.
60736 [CXX] (c++-types.data): New vpath directive.
60737 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60738 vpath. Do not allow for C++ type data being missing.
60739 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60740 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60741 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60742 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60743 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60744 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60745 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60747 ... here.
60748 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60750 ... here.
60751 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60753 ... here.
60754 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60756 ... here.
60757 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60759 ... here.
60760 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60762 ... here.
60763 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60765 ... here.
60766 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60768
60769 * elf/tls-macros.h (TLS_LE): Move architecture-specific
60770 definitions to architecture-specific files.
60771 (TLS_IE): Likewise.
60772 (TLS_LD): Likewise.
60773 (TLS_GD): Likewise.
60774 * sysdeps/i386/tls-macros.h: New file.
60775 * sysdeps/powerpc/tls-macros.h: Likewise.
60776 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60777 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60778 * sysdeps/sh/tls-macros.h: Likewise.
60779 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60780 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60781 * sysdeps/x86_64/tls-macros.h: Likewise.
60782
60783 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
60784
60785 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60786 zero value for regular exit case.
60787
60788 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60789 (__start_context): Preserve zero value for regular exit case.
60790
60791 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
60792 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60793
60794 * manual/setjmp.texi (setcontext): Clarify normal process
60795 termination when uc_link is the null pointer.
60796 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60797 exit call.
60798
60799 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
60800
60801 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60802 preprocessor. Test for each exception mask separately.
60803
60804 2012-07-16 Andreas Jaeger <aj@suse.de>
60805
60806 * po/ru.po: Update from translation team.
60807
60808 2012-07-15 Joseph Myers <joseph@codesourcery.com>
60809
60810 * conform/data/string.h-data (NULL): Use macro-constant. Require
60811 equal to 0.
60812 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60813 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60814 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60815 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60816 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60817
60818 2012-07-13 Andreas Jaeger <aj@suse.de>
60819
60820 * po/fr.po: Update from translation team.
60821
60822 2012-07-12 Marek Polacek <polacek@redhat.com>
60823
60824 [BZ #14173]
60825 * math/libm-test.inc (yn_test): Add test for BZ #14173.
60826 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60827 loop condition.
60828
60829 2012-07-12 Joseph Myers <joseph@codesourcery.com>
60830
60831 [BZ #13717]
60832 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60833 Change to 2.4.1 where previously 2.4.0.
60834 * sysdeps/unix/sysv/linux/configure: Regenerated.
60835 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60836 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60837 version.
60838 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60839 (__ASSUME_AT_CLKTCK): Remove.
60840 (__ASSUME_AT_PAGESIZE): Likewise.
60841 (__ASSUME_AT_XID): Likewise.
60842 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60843 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60844 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60845 unconditionally.
60846 (HAVE_AUX_PAGESIZE): Likewise.
60847 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60848 [__ASSUME_AT_CLKTCK]: Make code unconditional.
60849 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60850
60851 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
60852
60853 [BZ #14307]
60854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60855 the temporary buffer used to invoke __gethostbyname2_r,
60856 __gethostbyaddr_r and gethostbyname4_r to make room for struct
60857 host_data / struct gaih_addrtuple.
60858 * resolv/nss_dns/dns-host.c (global scope): Move definition of
60859 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60860 header file nss/nsswitch.h.
60861 * nss/nsswitch.h (global scope): Add definition of implementation
60862 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60863 resolv/nss_dns/dns-host.c).
60864
60865 2012-07-11 Andreas Jaeger <aj@suse.de>
60866
60867 * po/fr.po: Update from translation team.
60868
60869 * po/sv.po: Update from translation team
60870 * po/fr.po: Another update from translation team.
60871
60872 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60873
60874 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60875 for subnormals or multiply small sinh result by itself.
60876 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60878
60879 2012-07-11 David S. Miller <davem@davemloft.net>
60880
60881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60882
60883 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
60884
60885 [BZ #14347]
60886 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60887 (INTERNAL_MARK): Shift it here.
60888
60889 2012-07-10 Marek Polacek <polacek@redhat.com>
60890
60891 [BZ #14151]
60892 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
60893 libc_cv_asm_global_directive with .globl.
60894 * configure: Regenerated.
60895 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60896 with .globl.
60897 * sysdeps/i386/configure: Regenerated.
60898 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60899 with .globl.
60900 * sysdeps/x86_64/configure: Regenerated.
60901 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60902 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60903 * elf/tst-unique2mod2.c: Likewise.
60904 * elf/tst-unique2mod1.c: Likewise.
60905 * elf/tst-unique1mod2.c: Likewise.
60906 * elf/tst-unique1mod1.c: Likewise.
60907 * sysdeps/s390/s390-32/sysdep.h: Likewise.
60908 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60909 * sysdeps/s390/s390-64/sysdep.h: Likewise.
60910 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60911 * sysdeps/mach/sysdep.h: Likewise.
60912 * sysdeps/i386/sysdep.h: Likewise.
60913 * sysdeps/i386/i386-mcount.S: Likewise.
60914 * sysdeps/x86_64/_mcount.S: Likewise.
60915 * sysdeps/x86_64/sysdep.h: Likewise.
60916 * sysdeps/sh/_mcount.S: Likewise.
60917 * sysdeps/sh/sysdep.h: Likewise.
60918 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60919 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60920 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60921 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60922 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60923 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60924 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60925 * locale/localeinfo.h: Likewise.
60926 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60927 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60928
60929 2012-07-09 Roland McGrath <roland@hack.frob.com>
60930
60931 [BZ #14336]
60932 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60933 system".
60934 * manual/message.texi (The Uniforum approach): Likewise.
60935 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60936 (glibc iconv Implementation): Likewise.
60937
60938 2012-07-09 Joseph Myers <joseph@codesourcery.com>
60939
60940 [BZ #14337]
60941 * math/s_clog.c (__clog): Avoid scaling a value down where that
60942 could result in underflow.
60943 * math/s_clog10.c (__clog10): Likewise.
60944 * math/s_clog10f.c (__clog10f): Likewise.
60945 * math/s_clog10l.c (__clog10l): Likewise.
60946 * math/s_clogf.c (__clogf): Likewise.
60947 * math/s_clogl.c (__clogl): Likewise.
60948 * math/libm-test.inc (clog_test): Add more tests.
60949 (clog10_test): Likewise.
60950 * sysdeps/i386/fpu/libm-test-ulps: Update.
60951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60952
60953 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
60954
60955 [BZ #14283]
60956 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60957 by 7 not 8 to examine high bit of fractional part.
60958
60959 [BZ #14042]
60960 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60961 for call to __mcount_internal.
60962 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60963 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60964 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60965
60966 2012-07-06 Joseph Myers <joseph@codesourcery.com>
60967
60968 [BZ #14154]
60969 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60970 approximation for values within 0x1p-13f of an odd multiple of
60971 pi/4.
60972 * math/libm-test.inc (tan_test): Do not allow spurious underflow
60973 exception. Add more tests.
60974 * sysdeps/i386/fpu/libm-test-ulps: Update.
60975
60976 [BZ #6778]
60977 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60978 inputs and return -1 for them. Do not check for +Inf in case not
60979 reachable for +Inf.
60980 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60981 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60982 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60983 and return -1 for them. Do not check for +Inf in case not
60984 reachable for +Inf.
60985 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60986 define.
60987 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60988 and return -1 for them. Do not check for +Inf in case not
60989 reachable for +Inf.
60990 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
60991 spurious underflow.
60992 * sysdeps/i386/fpu/libm-test-ulps: Update.
60993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60994
60995 2012-07-06 Mike Frysinger <vapier@gentoo.org>
60996
60997 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60998
60999 2012-07-05 Joseph Myers <joseph@codesourcery.com>
61000
61001 [BZ #14157]
61002 [BZ #14331]
61003 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
61004 could result in spurious underflow. Scale down values above
61005 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
61006 * math/s_csqrtf.c (__csqrtf): Likewise.
61007 * math/s_csqrtl.c (__csqrtl): Likewise.
61008 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
61009 spurious underflow.
61010 * sysdeps/i386/fpu/libm-test-ulps: Update.
61011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61012
61013 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
61014
61015 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
61016 xopen-msg.sed.
61017 * catgets/xopen-msg.awk: New file.
61018 * catgets/xopen-msg.sed: Removed.
61019
61020 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
61021 po2text.sed.
61022 * intl/po2test.awk: New file.
61023 * intl/po2test.sed: Removed.
61024
61025 2012-07-04 Joseph Myers <joseph@codesourcery.com>
61026
61027 [BZ #14328]
61028 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
61029 or multiply small sinh result by itself.
61030 * math/s_ctanf.c (__ctanf): Likewise.
61031 * math/s_ctanh.c (__ctanh): Likewise.
61032 * math/s_ctanhf.c (__ctanhf): Likewise.
61033 * math/s_ctanhl.c (__ctanhl): Likewise.
61034 * math/s_ctanl.c (__ctanl): Likewise.
61035 * math/libm-test.inc (ctan_test_tonearest): New function.
61036 (ctan_test_towardzero): Likewise.
61037 (ctan_test_downward): Likewise.
61038 (ctan_test_upward): Likewise.
61039 (ctanh_test_tonearest): Likewise.
61040 (ctanh_test_towardzero): Likewise.
61041 (ctanh_test_downward): Likewise.
61042 (ctanh_test_upward): Likewise.
61043 (main): Call these new functions.
61044 * sysdeps/i386/fpu/libm-test-ulps: Update.
61045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61046
61047 2012-07-03 Mike Frysinger <vapier@gentoo.org>
61048
61049 * .gitignore: Delete /ports entry.
61050
61051 2012-07-03 Andreas Jaeger <aj@suse.de>
61052
61053 * po/bg.po: Update from translation team.
61054 * po/cs.po: Likewise.
61055 * po/de.po: Likewise.
61056 * po/hr.po: Likewise.
61057 * po/nl.pl: Likewise.
61058 * po/pl.po: Likewise.
61059 * po/vi.po: Likewise.
61060
61061 2012-07-03 Joseph Myers <joseph@codesourcery.com>
61062
61063 * Makeconfig [!+link] (+link-before-libc): New variable.
61064 [!+link] (+link-after-libc): Likewise.
61065 [!+link] (+link-tests): Likewise.
61066 [!+link] (+link): Define in terms of $(+link-before-libc) and
61067 $(+link-after-libc).
61068 [!+link-static] (+link-static-before-libc): New variable.
61069 [!+link-static] (+link-static-after-libc): Likewise.
61070 [!+link-static] (+link-static-tests): Likewise.
61071 [!+link-static] (+link-static): Define in terms of
61072 $(+link-static-before-libc) and $(+link-static-after-libc).
61073 [build-shared] (link-libc-before-gnulib): New variable.
61074 [build-shared] (link-libc-tests): Likewise.
61075 [build-shared] (link-libc): Define in terms of
61076 $(link-libc-before-gnulib).
61077 [!build-shared] (link-libc-tests): New variable.
61078 (link-libc-static-tests): New variable.
61079 [!gnulib] (gnulib-arch): New variable.
61080 [!gnulib] (gnulib-tests): Likewise.
61081 [!gnulib] (static-gnulib-arch): Likewise.
61082 [!gnulib] (static-gnulib-tests): Likewise.
61083 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
61084 Define with "=" instead of ":=".
61085 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
61086 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
61087 * Rules (binaries-all-notests): New variable.
61088 (binaries-all-tests): Likewise.
61089 (binaries-static-notests): Likewise.
61090 (binaries-static-tests): Likewise.
61091 (binaries-all): Define using $(binaries-all-notests) and
61092 $(binaries-all-tests).
61093 (binaries-static): Define using $(binaries-static-notests) and
61094 $(binaries-static-tests).
61095 (binaries-shared-tests): New variable.
61096 (binaries-shared-notests): Likewise.
61097 (binaries-shared): Remove variable.
61098 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
61099 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
61100 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
61101 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
61102 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
61103 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
61104 * elf/Makefile (sln-modules): New variable.
61105 (extra-objs): Add $(sln-modules:=.o).
61106 (ldconfig-modules): Add static-stubs.
61107 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
61108 * elf/static-stubs.c: New file.
61109
61110 [BZ #14283]
61111 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
61112 by 7 not 8 to examine high bit of fractional part. Use volatile
61113 variables when splitting into final array of floats if
61114 __FLT_EVAL_METHOD__ != 0.
61115 * math/libm-test.inc (cos_test): Add another test.
61116 (sin_test): Likewise.
61117 * sysdeps/i386/fpu/libm-test-ulps: Update.
61118
61119 [BZ #14273]
61120 * math/libm-test.inc (cosh_test): Add more tests.
61121
61122 * version.h (RELEASE): Set to "development".
61123 (VERSION): Set to "2.16.90".
61124
61125 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
61126
61127 * NEWS: Update copyright. Remove last-updated date.
61128 Mention math library bug fixes and timezone data changes.
61129 * README: Mention GNU/Hurd, x32, and HPPA support status.
61130
61131 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
61132
61133 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
61134
61135 2012-06-27 Andreas Jaeger <aj@suse.de>
61136
61137 * manual/contrib.texi (Contributors): Add Samuel Thibault.
61138
61139 2012-06-25 Andreas Jaeger <aj@suse.de>
61140
61141 * sysdeps/s390/fpu/libm-test-ulps: Update.
61142
61143 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
61144 Thomas Schwinge <thomas@codesourcery.com>
61145
61146 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
61147 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
61148 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
61149 fanotify_mark.
61150
61151 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
61152
61153 * sysdeps/mach/start.c: Remove file.
61154 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
61155 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
61156 * sysdeps/sh/init-first.c: Likewise.
61157
61158 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
61159 registers for frame unwinding purposes, add CFI directives.
61160 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61161 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
61162 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
61163 Likewise.
61164
61165 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
61166 __fortify_fail returning.
61167 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61168
61169 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
61170 sysdeps/sh/____longjmp_chk.S.
61171 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
61172 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
61173 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
61174 (gen-as-const-headers): Append sigaltstack-offsets.sym.
61175
61176 * sysdeps/sh/abort-instr.h: New file.
61177 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
61178 process in case exit returns.
61179
61180 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
61181 initialize the GOT register before use.
61182
61183 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
61184 calculation of ARGC > 4.
61185
61186 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
61187 meaningful names to some local labels.
61188
61189 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61190 Kaz Kojima <kkojima@rr.iij4u.or.jp>
61191
61192 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
61193 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
61194 (__arch_compare_and_exchange_val_16_acq): Likewise.
61195 (__arch_compare_and_exchange_val_32_acq): Likewise.
61196 (atomic_exchange_and_add): Fix gUSA sequence.
61197 (atomic_add): Likewise.
61198 (atomic_add_negative): Likewise.
61199 (atomic_add_zero): Likewise.
61200 (atomic_bit_test_set): Likewise.
61201
61202 2012-06-22 Andreas Schwab <schwab@redhat.com>
61203
61204 [BZ #13579]
61205 * include/link.h (struct link_map): Add l_free_initfini.
61206 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61207 l_initfini.
61208 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61209 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61210 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61211 set.
61212
61213 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
61214
61215 * configure.in: Use AC_LANG_SOURCE.
61216 * configure: Regenerate.
61217
61218 2012-06-22 Roland McGrath <roland@hack.frob.com>
61219
61220 * configure.in (libc_cv_localstatedir): New substituted variable.
61221 * configure: Regenerated.
61222 * config.make.in (localstatedir): New variable, substituted from
61223 libc_cv_localstatedir.
61224 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61225 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61226 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61227 * sysdeps/gnu/configure: Regenerated.
61228
61229 2012-06-21 Jeff Law <law@redhat.com>
61230
61231 [BZ #14277]
61232 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61233 free. Simplify list management for _LIBC case.
61234
61235 2012-06-21 Joseph Myers <joseph@codesourcery.com>
61236
61237 [BZ #14273]
61238 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61239 Clear sign bit of 64-bit integer value before comparing against
61240 overflow value.
61241
61242 * sysdeps/mach/configure: Regenerated.
61243
61244 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
61245
61246 [BZ #14278]
61247 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61248
61249 2012-06-21 Jeff Law <law@redhat.com>
61250
61251 [BZ #13882]
61252 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
61253 uint16_t for elements in the "seen" array to avoid char overflows.
61254 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61255 * elf/dl-open.c (dl_open_worker): Likewise.
61256
61257 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
61258
61259 * scripts/list-sources.sh: Scan PORTS for translations.
61260 * po/libc.pot: Regenerated.
61261
61262 2012-06-21 Andreas Jaeger <aj@suse.de>
61263
61264 [BZ #12194]
61265 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61266 warning.
61267 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61268 * bits/byteswap-16.h (__bswap_16): Likewise.
61269 * bits/byteswap.h (__bswap_constant_16): Likewise.
61270
61271 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
61272
61273 [BZ #14117]
61274 * sysdeps/i386/fpu_control.h: Removed.
61275 * sysdeps/x86_64/fpu_control.h: Moved to ...
61276 * sysdeps/x86/fpu_control.h: Here.
61277
61278 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61279 (_FPU_SETCW): Likewise.
61280
61281 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
61282
61283 [BZ #14117]
61284 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61285 * sysdeps/x86/fpu/bits/mathinline.h: This.
61286 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61287
61288 [BZ #14050]
61289 [BZ #14117]
61290 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61291 functions if __x86_64__ is defined.
61292
61293 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
61294
61295 * string/endian.h: Add !__ASSEMBLER__ condition for including
61296 conversion interfaces.
61297
61298 2012-06-15 Joseph Myers <joseph@codesourcery.com>
61299
61300 [BZ #14241]
61301 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61302 of ABS(x) in calculating zero to negative powers other than odd
61303 integers.
61304 * math/libm-test.inc (pow_test): Add more tests.
61305
61306 2012-06-15 Andreas Jaeger <aj@suse.de>
61307
61308 * manual/contrib.texi (Contributors): Update entry of Liubov
61309 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61310 Machado Filho.
61311
61312 2012-06-15 Cyril Hrubis <metan@ucw.cz>
61313
61314 * string/string.h: Add __wur to GNU version of strerror_r.
61315
61316 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
61317
61318 [BZ #14229]
61319 * string/Makefile (tests): Add tst-strtok_r.
61320 * string/tst-strtok_r.c: New file.
61321 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61322 RAX_LP/RDX_LP on SAVE_PTR.
61323
61324 2012-06-14 Roland McGrath <roland@hack.frob.com>
61325
61326 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61327
61328 2012-06-14 Joseph Myers <joseph@codesourcery.com>
61329
61330 * libm_test.inc (csqrt_test): Allow more spurious underflow
61331 exceptions.
61332 (j0_test): Likewise.
61333 (j1_test): Likewise.
61334 (y0_test): Likewise.
61335 (y1_test): Likewise.
61336
61337 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
61338
61339 * po/Makefile (libc.pot): Use UTF-8 charset.
61340
61341 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
61342
61343 [BZ #14210]
61344 Suppress sign-conversion warning from FD_SET.
61345 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61346 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61347 not unsigned long int.
61348 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61349
61350 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
61351
61352 [BZ #14050]
61353 [BZ #14117]
61354 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61355 __extern_always_inline instead of __extern_inline.
61356 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
61357 (__signbit): Likewise.
61358 (__signbitl): Support C++ namespace.
61359 (lrintf): New inline function.
61360 (lrint): Likewise.
61361 (llrintf): Likewise.
61362 (llrint): Likewise.
61363 (fmaxf): Likewise.
61364 (fmax): Likewise.
61365 (fminf): Likewise.
61366 (fmin): Likewise.
61367 (rint): Likewise.
61368 (rintf): Likewise.
61369 (ceil): Likewise.
61370 (ceilf): Likewise.
61371 (floor): Likewise.
61372 (floorf): Likewise.
61373 (nearbyint): Likewise.
61374 (nearbyintf): Likewise.
61375
61376 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
61377
61378 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
61379 non-default versions.
61380
61381 2012-06-11 Roland McGrath <roland@hack.frob.com>
61382
61383 [BZ #14218]
61384 * manual/argp.texi (Argp): Reword argp_parse description slightly.
61385
61386 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
61387
61388 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
61389 (FE_UPWARD, FE_DOWNWARD): Don't define.
61390 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
61391 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61392
61393 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
61394 reading it.
61395 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61396 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61397
61398 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
61399
61400 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61401 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
61402 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
61403 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
61404
61405 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
61406
61407 [BZ #14117]
61408 * sysdeps/i386/fpu/bits/fenv.h: Removed.
61409 * sysdeps/i386/fpu/Implies: New file.
61410 * sysdeps/x86_64/fpu/Implies: Likewise.
61411 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
61412 * sysdeps/x86/fpu/bits/fenv.h: This.
61413
61414 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
61415 __SSE_MATH__.
61416
61417 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
61418
61419 [BZ #14134]
61420 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
61421 character 0xffff that matches the last element of the
61422 conversion table.
61423
61424 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61425
61426 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
61427 fmodl commit.
61428
61429 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61430
61431 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
61432 values higher than 25.6283.
61433
61434 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61435
61436 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
61437 subnormal exponent extraction and add some __builtin_expect.
61438 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
61439 Fix for subnormal mantissa calculation.
61440
61441 2012-06-04 Mike Frysinger <vapier@gentoo.org>
61442
61443 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
61444 cpu2 is -1 and errno is not ENOSYS.
61445
61446 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
61447
61448 [BZ #14117]
61449 * sysdeps/i386/i486/bits/string.h: Renamed to ...
61450 * sysdeps/x86/bits/string.h: This.
61451 * sysdeps/x86_64/bits/string.h: Removed.
61452
61453 * sysdeps/i386/i486/bits/string.h: Define inline functions only
61454 if not compiling for x86-64, but compiling for >= i486.
61455
61456 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61457 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61458
61459 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61460 New macro from Linux kernel 3.4.0.
61461 (FP_XSTATE_MAGIC2): Likewise.
61462 (FP_XSTATE_MAGIC2_SIZE): Likewise.
61463 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61464 (struct _fpx_sw_bytes): New struct.
61465 (struct _xsave_hdr): Likewise.
61466 (struct _ymmh_state): Likewise.
61467 (struct _xstate): Likewise.
61468
61469 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61470 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61471 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61472 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61473 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61474 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61475
61476 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61477 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61478 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61479 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61480 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61481 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61482
61483 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61484
61485 [BZ #13743]
61486 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61487 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61488 (sysdep_headers): Include sys/platform/ppc.h.
61489 * sysdeps/powerpc/test-gettimebase.c: Test for
61490 __ppc_get_timebase() to catch future ISA opcode/insn changes.
61491 * manual/Makefile (appendices): Include platform.texi.
61492 * manual/contrib.texi (Contributors): Update @node pointers.
61493 * manual/maint.texi (Maintenance): Likewise.
61494 (Platform): New node.
61495 * manual/platform.texi: New file. Document the new features.
61496
61497 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61498 Jakub Jelinek <jakub@redhat.com>
61499
61500 [BZ #14188]
61501 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61502 where __builtin_expect is unavailable.
61503
61504 2012-06-03 David S. Miller <davem@davemloft.net>
61505
61506 * stdlib/longlong.h: Updated from GCC.
61507
61508 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
61509
61510 [BZ #14042]
61511 * sysdeps/powerpc/powerpc32/mcount.c: New file.
61512 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61513 __mcount_internal.
61514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61515 (GLIBC_2.16): Likewise.
61516
61517 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
61518
61519 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61520
61521 2012-06-01 Joseph Myers <joseph@codesourcery.com>
61522
61523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61524 (default-abi): New variable.
61525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61526 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61527 variable.
61528 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61529 Likewise.
61530 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61531 Likewise.
61532 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61533 Likewise.
61534
61535 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61536 definition. Document in comment.
61537
61538 2012-06-01 David S. Miller <davem@davemloft.net>
61539
61540 * stdlib/longlong.h: Updated from GCC.
61541
61542 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
61543
61544 [BZ #14117]
61545 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61546 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61547 sys/debugreg.h sys/io.h here.
61548 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61549 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61550 sys/io.h.
61551 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61552 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61553 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61554 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61555 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61556 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61557
61558 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61559 Define only if __x86_64__ is defined.
61560
61561 2012-06-01 Joseph Myers <joseph@codesourcery.com>
61562
61563 [BZ #14048]
61564 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61565 Use int64_t for variable i.
61566 * math/libm-test.inc (fmod_test): Add more tests.
61567
61568 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61569 z computation is not scheduled after fetestexcept.
61570 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61571 Use math_force_eval instead of asm to ensure calculation scheduled
61572 before exception test.
61573 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61574 Ensure a1 + u.d computation is not scheduled after fetestexcept.
61575
61576 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
61577
61578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61579 computation is not scheduled after fetestexcept.
61580
61581 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
61582
61583 [BZ #14117]
61584 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61585 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61586
61587 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61588
61589 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61590 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61591
61592 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
61593
61594 [BZ #14117]
61595 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61596 <bits/wordsize.h>.
61597 (__WCHAR_MIN): Support __WORDSIZE == 64.
61598 (__WCHAR_MAX): Likewise.
61599
61600 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61601 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61602
61603 [BZ #14183]
61604 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61605 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61606
61607 [BZ #14117]
61608 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61609 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61610
61611 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61612 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61613
61614 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61615 Defined to 1 if __x86_64__ isn't defined.
61616 (_STAT_VER_LINUX_OLD): New.
61617 (st_atime): Remove duplicate.
61618 (st_mtime): Likewise.
61619 (st_ctime): Likewise.
61620
61621 2012-05-31 David S. Miller <davem@davemloft.net>
61622
61623 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61624 entries.
61625
61626 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
61627
61628 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61629 gen-libm-test.pl.
61630
61631 [BZ #14132]
61632 * elf/dl-reloc.c: Include <_itoa.h>.
61633 (_dl_reloc_bad_type): Remove use of INTUSE.
61634 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61635 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61636 * stdio-common/psiginfo.c (psiginfo): Likewise.
61637 * stdio-common/psignal.c (psignal): Likewise.
61638 * string/strsignal.c (strsignal): Likewise.
61639 * include/signal.h (_sys_siglist): Declare hidden proto.
61640 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
61641 INTVARDEF with libc_hidden_data_def.
61642 * stdio-common/itoa-udigits.c: Likewise.
61643 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61644 (_itoa_lower_digits_internal): Remove declaration.
61645 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61646 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61647 (_sys_sigabbrev_internal): Remove aliases.
61648 (_sys_siglist): Define hidden alias.
61649
61650 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
61651
61652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61653 bits/sysctl.h.
61654
61655 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
61656
61657 [BZ #14117]
61658 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61659 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61660
61661 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61662 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61663 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61664 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61665 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61666 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61667
61668 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61669 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61670 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61671
61672 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61673 with __addr.
61674 (insw): Likewise.
61675 (insl): Likewise.
61676 (outsb): Likewise.
61677 (outsw): Likewise.
61678 (outsl): Likewise.
61679
61680 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61681 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61682 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61683
61684 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61685 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61686 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61687 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61688 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61689 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61690
61691 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61692 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61693
61694 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61695 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61696
61697 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61698 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61699 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61700
61701 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61702 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61703 to ...
61704 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61705
61706 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61707 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61708 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61709
61710 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61711 for x86-64.
61712 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61713
61714 2012-05-31 Joseph Myers <joseph@codesourcery.com>
61715
61716 * math/math.h (M_El): Use two more decimal places.
61717 (M_LOG2El): Likewise.
61718 (M_LOG10El): Likewise.
61719 (M_LN2l): Likewise.
61720 (M_LN10l): Likewise.
61721 (M_PIl): Likewise.
61722 (M_PI_2l): Likewise.
61723 (M_PI_4l): Likewise.
61724 (M_1_PIl): Likewise.
61725 (M_2_PIl): Likewise.
61726 (M_2_SQRTPIl): Likewise.
61727 (M_SQRT2l): Likewise.
61728 (M_SQRT1_2l): Likewise.
61729
61730 2012-05-31 David S. Miller <davem@davemloft.net>
61731
61732 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61733 values between float registers.
61734 * sysdeps/sparc/sparc64/memset.S: Likewise.
61735 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61736
61737 2012-05-31 Mike Frysinger <vapier@gentoo.org>
61738
61739 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61740 -D_FORTIFY_SOURCE=1.
61741 (CPPFLAGS-tst-longjmp_chk.c): Define.
61742 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61743 (CPPFLAGS-tst-longjmp_chk2.c): Define.
61744 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61745 CFLAGS-tst-wchar-h.c.
61746
61747 2012-05-31 Marek Polacek <polacek@redhat.com>
61748
61749 [BZ #14132]
61750 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61751 __endmntent_internal): Remove declaration.
61752 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61753 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61754 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61755
61756 2012-05-30 David S. Miller <davem@davemloft.net>
61757
61758 * sysdeps/sparc/sparc32/soft-fp/q_util.c
61759 (___Q_simulate_exceptions): Use real FP ops rather than writing
61760 into the %fsr.
61761 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61762 Likewise.
61763
61764 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61765
61766 [BZ #14117]
61767 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61768 * sysdeps/x86/bits/xtitypes.h: This.
61769
61770 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61771 * sysdeps/x86/bits/wordsize.h: This.
61772
61773 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61774 * sysdeps/x86/bits/huge_vall.h: This.
61775
61776 * sysdeps/i386/bits/select.h: Removed.
61777 * sysdeps/x86_64/bits/select.h: Renamed to ...
61778 * sysdeps/x86/bits/select.h: This.
61779
61780 * sysdeps/i386/bits/setjmp.h: Removed.
61781 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61782 * sysdeps/x86/bits/setjmp.h: This.
61783
61784 * sysdeps/i386/bits/mathdef.h: Removed.
61785 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61786 * sysdeps/x86/bits/mathdef.h: This.
61787
61788 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
61789
61790 [BZ #14132]
61791 * include/sys/socket.h (__connect_internal)
61792 (__libc_sa_len_internal): Remove declaration.
61793 (__connect, __libc_sa_len): Declare hidden_proto.
61794 (SA_LEN): Remove use of INTUSE.
61795 * socket/connect.c: Add libc_hidden_def.
61796 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61797 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61798 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61799 alias.
61800 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61801 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61802 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61803 of adding _internal alias.
61804
61805 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61806
61807 [BZ #14117]
61808 * sysdeps/i386/bits/link.h: Removed.
61809 * sysdeps/i386/bits/linkmap.h: Likewise.
61810 * sysdeps/x86_64/bits/link.h: Renamed to ...
61811 * sysdeps/x86/bits/link.h: This.
61812 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61813 * sysdeps/x86/bits/linkmap.h: This.
61814
61815 * sysdeps/i386/bits/endian.h: Removed.
61816 * sysdeps/x86_64/bits/endian.h: Renamed to ...
61817 * sysdeps/x86/bits/endian.h: This.
61818
61819 * sysdeps/i386/bits/byteswap.h: Removed.
61820 * sysdeps/i386/bits/byteswap-16.h: Likewise.
61821 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61822 * sysdeps/x86/bits/byteswap.h: This.
61823 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61824 * sysdeps/x86/bits/byteswap-16.h: This.
61825 * sysdeps/i386/Implies: Add x86.
61826 * sysdeps/x86_64/Implies: Likewise.
61827
61828 2012-05-30 David S. Miller <davem@davemloft.net>
61829
61830 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61831 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61832 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61833 (FP_TRAPPING_EXCEPTIONS): Define.
61834 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61835 (FP_TRAPPING_EXCEPTIONS): Define.
61836 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61837 subnormals only when inexact has been signalled or underflow
61838 exceptions are enabled.
61839 (_FP_PACK_CANONICAL): Likewise.
61840
61841 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61842
61843 [BZ #14183]
61844 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61845 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61846
61847 2012-05-30 Richard Henderson <rth@twiddle.net>
61848
61849 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61850 with #ifndef NOT_IN_libc.
61851
61852 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
61853 marked to avoid plt entry.
61854
61855 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61856
61857 [BZ #14112]
61858 * Makeconfig (default-abi): New macro.
61859 (abi-includes): Likewise.
61860 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
61861 $(abi-$(default-abi)-lib-soname) for soname if defined.
61862 ($(common-objpfx)gnu/lib-names.stmp): Generate from
61863 abi-variants.
61864 * Makefile (installed-stubs): Likewise.
61865 * include/stubs-biarch.h: Removed.
61866 * scripts/lib-names.awk: Only handle one library at a time.
61867 * scripts/soversions.awk: Remove WORDSIZE support.
61868 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61869 entries.
61870 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61871 Removed.
61872 (syscall-list-default-condition): Likewise.
61873 (syscall-list-default-condition): Likewise.
61874 (syscall-list-includes): Likewise.
61875 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61876 syscall-list-* with abi-*. Handle undefined abi-variants.
61877 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61878 * sysdeps/unix/sysv/linux/i386/Implies: New file.
61879 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61880 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61881 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61882 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61883 Removed.
61884 (syscall-list-32-options): Likewise.
61885 (syscall-list-32-condition): Likewise.
61886 (syscall-list-64-options): Likewise.
61887 (syscall-list-64-condition): Likewise.
61888 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61889 macro.
61890 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61891 Renamed to ...
61892 (abi-*): This.
61893 (abi-64-ld-soname): New macro.
61894 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61895 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61896 Renamed to ...
61897 (abi-*): This.
61898 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61899 * sysdeps/x86_64/x32/shlib-versions: Likewise.
61900
61901 2012-05-30 Joseph Myers <joseph@codesourcery.com>
61902
61903 * sysdeps/unix/sysv/linux/kernel-features.h
61904 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61905 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61906 include <kernel-features.h>.
61907 [!__NR_ftruncate64]: Remove conditional code.
61908 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61909 [__NR_ftruncate64]: Make code unconditional.
61910 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61911 * sysdeps/unix/sysv/linux/truncate64.c: Do not
61912 include <kernel-features.h>.
61913 [!__NR_ftruncate64]: Remove conditional code.
61914 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61915 [__NR_ftruncate64]: Make code unconditional.
61916 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61918 include <kernel-features.h>.
61919 [!__NR_ftruncate64]: Remove conditional code.
61920 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61921 [__NR_ftruncate64]: Make code unconditional.
61922 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61924 include <kernel-features.h>.
61925 [!__NR_ftruncate64]: Remove conditional code.
61926 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61927 [__NR_ftruncate64]: Make code unconditional.
61928 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61929
61930 * configure.in (libc_cv_fpie): Weaken to a compile test using
61931 LIBC_TRY_CC_OPTION.
61932 * configure: Regenerated.
61933
61934 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61935
61936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61940 Refreshed.
61941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61947 Refreshed.
61948
61949 2012-05-27 David S. Miller <davem@davemloft.net>
61950
61951 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61952 (___Q_zero): New.
61953 (__Q_simulate_exceptions): Return void. Change to simulate
61954 exceptions by writing into the %fsr.
61955 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61956 (__Qp_handle_exceptions): Likewise.
61957 (numbers): Delete.
61958 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61959 __Qp_handle_exceptions.
61960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61961 __Qp_handle_exceptions.
61962 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61963 as unused and give dummy FP_RND_NEAREST initializer.
61964 (FP_INHIBIT_RESULTS): Define.
61965 (___Q_simulate_exceptions): Update declaration.
61966 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61967 formatting.
61968 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61969 as unused and give dummy FP_RND_NEAREST initializer.
61970 (__Qp_handle_exceptions): Update declaration.
61971 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61972 formatting.
61973
61974 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
61975
61976 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61977 the temporary FPU control word.
61978 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61979 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61980 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61981 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61982 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61983 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61984 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61985 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61986 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61987 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61988 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61989
61990 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
61991
61992 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61993 fields.
61994
61995 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
61996
61997 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61998 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61999 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
62000 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
62001 Likewise.
62002 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
62003 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
62004 Likewise.
62005
62006 2012-05-27 Ulrich Drepper <drepper@gmail.com>
62007
62008 * po/h.po: Update from translation team.
62009
62010 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
62011
62012 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
62013
62014 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
62015 handling of denormals.
62016 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62017 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
62018 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62019 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62020 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62021 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
62022 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
62023 Likewise.
62024
62025 2012-05-26 Marek Polacek <polacek@redhat.com>
62026
62027 [BZ #14152]
62028 * math/libm-test.inc (fma_test): Don't always expect underflow
62029 exception.
62030
62031 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
62032
62033 [BZ #12416]
62034 * elf/tst-execstack.c: Include stackinfo.h.
62035 (do_test): Adjust test case to ensure that pthread_getattr_np
62036 behaviour remains the same after marking stack executable.
62037
62038 2012-05-25 Joseph Myers <joseph@codesourcery.com>
62039
62040 * sysdeps/unix/sysv/linux/kernel-features.h
62041 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
62042 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
62043 kernel-features.h.
62044 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62045 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62046 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
62047 kernel-features.h.
62048 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62049 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62050
62051 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
62052
62053 * configure.in: Define the default includes to being none.
62054 * configure: Regenerated.
62055
62056 2012-05-25 Roland McGrath <roland@hack.frob.com>
62057
62058 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
62059 * sysdeps/x86_64/setjmp.S: Likewise.
62060 * sysdeps/i386/bsd-setjmp.S: Likewise.
62061 * sysdeps/i386/bsd-_setjmp.S: Likewise.
62062 * sysdeps/i386/setjmp.S: Likewise.
62063 * sysdeps/i386/__longjmp.S: Likewise.
62064 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62065 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
62066
62067 * include/stap-probe.h: New file.
62068 * configure.in: Handle --enable-systemtap.
62069 * configure: Regenerated.
62070 * config.h.in (USE_STAP_PROBE): New #undef.
62071 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
62072 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62073 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
62074
62075 2012-05-25 Joseph Myers <joseph@codesourcery.com>
62076
62077 [BZ #13717]
62078 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62079 to 2.4.0 where earlier.
62080 * sysdeps/unix/sysv/linux/configure: Regenerated.
62081 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62082 <kernel-features.h>.
62083 [__ASSUME_32BITUIDS]: Make code unconditional.
62084 [!__ASSUME_32BITUIDS]: Remove conditional code.
62085 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
62086 <kernel-features.h>.
62087 [__ASSUME_32BITUIDS]: Make code unconditional.
62088 [!__ASSUME_32BITUIDS]: Remove conditional code.
62089 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62090 [__ASSUME_32BITUIDS]: Make code unconditional.
62091 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62092 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
62093 <kernel-features.h>.
62094 [__ASSUME_32BITUIDS]: Make code unconditional.
62095 [!__ASSUME_32BITUIDS]: Remove conditional code.
62096 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
62097 <kernel-features.h>.
62098 [__ASSUME_32BITUIDS]: Make code unconditional.
62099 [!__ASSUME_32BITUIDS]: Remove conditional code.
62100 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
62101 <kernel-features.h>.
62102 [__ASSUME_32BITUIDS]: Make code unconditional.
62103 [!__ASSUME_32BITUIDS]: Remove conditional code.
62104 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
62105 <kernel-features.h>.
62106 [__ASSUME_32BITUIDS]: Make code unconditional.
62107 [!__ASSUME_32BITUIDS]: Remove conditional code.
62108 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62109 <kernel-features.h>.
62110 [__ASSUME_32BITUIDS]: Make code unconditional.
62111 [!__ASSUME_32BITUIDS]: Remove conditional code.
62112 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62113 <kernel-features.h>.
62114 [__ASSUME_32BITUIDS]: Make code unconditional.
62115 [!__ASSUME_32BITUIDS]: Remove conditional code.
62116 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
62117 <kernel-features.h>.
62118 [__ASSUME_32BITUIDS]: Make code unconditional.
62119 [!__ASSUME_32BITUIDS]: Remove conditional code.
62120 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62121 <kernel-features.h>.
62122 [__ASSUME_32BITUIDS]: Make code unconditional.
62123 [!__ASSUME_32BITUIDS]: Remove conditional code.
62124 * sysdeps/unix/sysv/linux/i386/msgctl.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/i386/semctl.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/i386/setegid.c: Do not include
62133 <kernel-features.h>.
62134 [__NR_setresgid] (__setresgid): Do not declare.
62135 [__ASSUME_32BITUIDS]: Make code unconditional.
62136 [!__ASSUME_32BITUIDS]: Remove conditional code.
62137 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
62138 <kernel-features.h>.
62139 [__NR_setresuid] (__setresuid): Do not declare.
62140 [__ASSUME_32BITUIDS]: Make code unconditional.
62141 [!__ASSUME_32BITUIDS]: Remove conditional code.
62142 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
62143 <kernel-features.h>.
62144 [__ASSUME_32BITUIDS]: Make code unconditional.
62145 [!__ASSUME_32BITUIDS]: Remove conditional code.
62146 * sysdeps/unix/sysv/linux/i386/setfsuid.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/i386/setgid.c: Do not include
62151 <kernel-features.h>.
62152 [__ASSUME_32BITUIDS]: Make code unconditional.
62153 [!__ASSUME_32BITUIDS]: Remove conditional code.
62154 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
62155 <kernel-features.h>.
62156 [__ASSUME_32BITUIDS]: Make code unconditional.
62157 [!__ASSUME_32BITUIDS]: Remove conditional code.
62158 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
62159 <kernel-features.h>.
62160 [__ASSUME_32BITUIDS]: Make code unconditional.
62161 [!__ASSUME_32BITUIDS]: Remove conditional code.
62162 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
62163 <kernel-features.h>.
62164 [__ASSUME_32BITUIDS]: Make code unconditional.
62165 [!__ASSUME_32BITUIDS]: Remove conditional code.
62166 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
62167 <kernel-features.h>.
62168 [__ASSUME_32BITUIDS]: Make code unconditional.
62169 [!__ASSUME_32BITUIDS]: Remove conditional code.
62170 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
62171 <kernel-features.h>.
62172 [__ASSUME_32BITUIDS]: Make code unconditional.
62173 [!__ASSUME_32BITUIDS]: Remove conditional code.
62174 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
62175 <kernel-features.h>.
62176 [__ASSUME_32BITUIDS]: Make code unconditional.
62177 [!__ASSUME_32BITUIDS]: Remove conditional code.
62178 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62179 <kernel-features.h>.
62180 [__ASSUME_32BITUIDS]: Make code unconditional.
62181 [!__ASSUME_32BITUIDS]: Remove conditional code.
62182 * sysdeps/unix/sysv/linux/kernel-features.h
62183 (__ASSUME_SETRESUID_SYSCALL): Remove.
62184 (__ASSUME_SETRESGID_SYSCALL): Likewise.
62185 (__ASSUME_32BITUIDS): Likewise.
62186 (__ASSUME_LDT_WORKS): Likewise.
62187 (__ASSUME_O_DIRECTORY): Likewise.
62188 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
62189 architecture but not kernel version.
62190 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
62191 (__ASSUME_MMAP2_SYSCALL): Likewise.
62192 (__ASSUME_STAT64_SYSCALL): Likewise.
62193 (__ASSUME_IPC64): Likewise.
62194 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
62195 <kernel-features.h>.
62196 [__ASSUME_32BITUIDS]: Make code unconditional.
62197 [!__ASSUME_32BITUIDS]: Remove conditional code.
62198 * sysdeps/unix/sysv/linux/opendir.c: Do not include
62199 <kernel-features.h>.
62200 [__ASSUME_O_DIRECTORY]: Make code unconditional.
62201 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
62202 132096]: Remove conditional code.
62203 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
62204 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62205 <kernel-features.h>.
62206 [__ASSUME_32BITUIDS]: Make code unconditional.
62207 [!__ASSUME_32BITUIDS]: Remove conditional code.
62208 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62209 <kernel-features.h>.
62210 [__ASSUME_32BITUIDS]: Make code unconditional.
62211 [!__ASSUME_32BITUIDS]: Remove conditional code.
62212 * sysdeps/unix/sysv/linux/setegid.c: Do not include
62213 <kernel-features.h>.
62214 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62215 unconditional.
62216 (__setresgid): Do not declare.
62217 [__ASSUME_32BITUIDS]: Make code unconditional.
62218 [!__ASSUME_32BITUIDS]: Remove conditional code.
62219 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62220 <kernel-features.h>.
62221 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62222 unconditional.
62223 (__setresuid): Do not declare.
62224 [__ASSUME_32BITUIDS]: Make code unconditional.
62225 [!__ASSUME_32BITUIDS]: Remove conditional code.
62226 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62227 <kernel-features.h>.
62228 [__ASSUME_32BITUIDS]: Make code unconditional.
62229 [!__ASSUME_32BITUIDS]: Remove conditional code.
62230 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62231 <kernel-features.h>.
62232 [__ASSUME_32BITUIDS]: Make code unconditional.
62233 [!__ASSUME_32BITUIDS]: Remove conditional code.
62234
62235 2012-05-25 Richard Henderson <rth@twiddle.net>
62236
62237 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62238 dl_hwcap to ifunc resolver.
62239 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62240 elf_ifunc_invoke.
62241 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62242 dl_hwcap to ifunc resolver.
62243 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62244
62245 2012-05-24 Joseph Myers <joseph@codesourcery.com>
62246
62247 [BZ #14153]
62248 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62249 for |x| <= 2**-26, not 2**-57.
62250 * math/libm-test.inc (acos_test): Do not allow spurious underflow
62251 exception.
62252
62253 2012-05-24 Jeff Law <law@redhat.com>
62254
62255 * stdio-common/Makefile (tests): Add bug25.
62256 * stdio-common/bug25.c: New test.
62257
62258 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
62259
62260 [BZ #13576]
62261 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62262 multiple of MALLOC_ALIGNMENT in size.
62263 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62264
62265 2012-05-24 Joseph Myers <joseph@codesourcery.com>
62266
62267 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62268 Require >= 256.
62269 (FILENAME_MAX): Use macro-int-constant.
62270 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
62271 (_IOFBF): Use macro-int-constant.
62272 (_IOLBF): Likewise.
62273 (_IONBF): Likewise.
62274 (SEEK_CUR): Likewise.
62275 (SEEK_END): Likewise.
62276 (SEEK_SET): Likewise.
62277 (TMP_MAX): Likewise.
62278 (EOF): Use macro-int-constant. Require < 0.
62279 (NULL): Use macro-constant. Require == 0.
62280 (stdin): Require type to be FILE *.
62281 (stdout): Likewise.
62282 (stderr): Likewise.
62283 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62284 macro-int-constant.
62285 (EXIT_SUCCESS): Likewise.
62286 (NULL): Use macro-constant. Require == 0.
62287 (RAND_MAX): Use macro-int-constant.
62288 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62289 [C99-based standards] (strtof): Require function.
62290 [C99-based standards] (strtold): Likewise.
62291 [C99-based standards] (strtoll): Likewise.
62292 [C99-based standards] (strtoull): Likewise.
62293 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62294 [ISO || ISO99 || ISO11] (limits.h): Likewise.
62295 [ISO || ISO99 || ISO11] (math.h): Likewise.
62296 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62297 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62298 [ISO || ISO99 || ISO11] (*_t): Do not allow.
62299
62300 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
62301
62302 [BZ #14132]
62303 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62304 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62305 * intl/dgettext.c (DCGETTEXT): Likewise.
62306 * intl/gettext.c (DCGETTEXT): Likewise.
62307 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62308 * posix/regex_internal.h (gettext): Likewise.
62309 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62310 Remove declaration.
62311 * include/argz.h (__argz_count_internal)
62312 (__argz_stringify_internal): Remove declaration.
62313 (__argz_count, __argz_stringify): Declare hidden proto.
62314 * intl/dcgettext.c: Remove use of INTDEF.
62315 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62316 * string/argz-stringify.c: Likewise.
62317 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62318 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62319 Declare hidden proto.
62320 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62321 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62322 Declare hidden proto.
62323 * include/stdio.h (__asprintf_internal): Don't declare.
62324 (__asprintf): Don't define as macro. Declare hidden proto.
62325 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62326 (__fsetlocking): Declare hidden proto.
62327 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62328 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62329 hidden proto.
62330 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62331 (_IO_setlinebuf): Remove use of INTUSE.
62332 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62333 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62334 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62335 Remove declaration.
62336 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62337 (_IO_do_flush): Remove use of INTUSE.
62338 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62339 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62340 (_IO_adjust_column, _IO_least_wmarker)
62341 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62342 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62343 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62344 (_IO_default_doallocate, _IO_wdefault_doallocate)
62345 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62346 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62347 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62348 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62349 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62350 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62351 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62352 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62353 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62354 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62355 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62356 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
62357 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
62358 proto.
62359 (_IO_flush_all_internal, _IO_adjust_column_internal)
62360 (_IO_default_uflow_internal, _IO_default_finish_internal)
62361 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
62362 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
62363 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
62364 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
62365 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
62366 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
62367 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
62368 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
62369 (_IO_file_close_internal, _IO_file_close_it_internal)
62370 (_IO_file_underflow_internal, _IO_file_overflow_internal)
62371 (_IO_file_init_internal, _IO_file_attach_internal)
62372 (_IO_file_fopen_internal, _IO_file_read_internal)
62373 (_IO_file_sync_internal, _IO_file_seek_internal)
62374 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
62375 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
62376 (_IO_str_underflow_internal, _IO_str_overflow_internal)
62377 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
62378 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
62379 (_IO_list_all_internal, _IO_link_in_internal)
62380 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
62381 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
62382 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
62383 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
62384 (_IO_do_write_internal, _IO_padn_internal)
62385 (_IO_getline_info_internal, _IO_getline_internal)
62386 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
62387 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
62388 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
62389 (_IO_vfscanf_internal, _IO_vfprintf_internal)
62390 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
62391 (_IO_init_internal, _IO_un_link_internal): Don't declare.
62392 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
62393 with libc_hidden_ver, remove use of INTUSE.
62394 * libio/genops.c: Likewise.
62395 * libio/freopen.c: Likewise.
62396 * libio/freopen64.c: Likewise.
62397 * libio/iofclose.c: Likewise.
62398 * libio/iofdopen.c: Likewise.
62399 * libio/iofflush.c: Likewise.
62400 * libio/iofflush_u.c: Likewise.
62401 * libio/iofgets.c: Likewise.
62402 * libio/iofgets_u.c: Likewise.
62403 * libio/iofopen.c: Likewise.
62404 * libio/iofopncook.c: Likewise.
62405 * libio/iofread.c: Likewise.
62406 * libio/iofread_u.c: Likewise.
62407 * libio/ioftell.c: Likewise.
62408 * libio/iofwrite.c: Likewise.
62409 * libio/iogetline.c: Likewise.
62410 * libio/iogets.c: Likewise.
62411 * libio/iogetwline.c: Likewise.
62412 * libio/iopadn.c: Likewise.
62413 * libio/iopopen.c: Likewise.
62414 * libio/ioseekoff.c: Likewise.
62415 * libio/ioseekpos.c: Likewise.
62416 * libio/iosetbuffer.c: Likewise.
62417 * libio/iosetvbuf.c: Likewise.
62418 * libio/ioungetc.c: Likewise.
62419 * libio/ioungetwc.c: Likewise.
62420 * libio/iovdprintf.c: Likewise.
62421 * libio/iovsprintf.c: Likewise.
62422 * libio/iovsscanf.c: Likewise.
62423 * libio/memstream.c: Likewise.
62424 * libio/obprintf.c: Likewise.
62425 * libio/oldfileops.c: Likewise.
62426 * libio/oldiofclose.c: Likewise.
62427 * libio/oldiofdopen.c: Likewise.
62428 * libio/oldiofopen.c: Likewise.
62429 * libio/oldiopopen.c: Likewise.
62430 * libio/oldstdfiles.c: Likewise.
62431 * libio/putc.c: Likewise.
62432 * libio/setbuf.c: Likewise.
62433 * libio/setlinebuf.c: Likewise.
62434 * libio/stdfiles.c: Likewise.
62435 * libio/strops.c: Likewise.
62436 * libio/vasprintf.c: Likewise.
62437 * libio/vscanf.c: Likewise.
62438 * libio/vsnprintf.c: Likewise.
62439 * libio/vswprintf.c: Likewise.
62440 * libio/wfiledoalloc.c: Likewise.
62441 * libio/wfileops.c: Likewise.
62442 * libio/wgenops.c: Likewise.
62443 * libio/wmemstream.c: Likewise.
62444 * libio/wstrops.c: Likewise.
62445 * libio/__fpurge.c: Likewise.
62446 * libio/__fsetlocking.c: Likewise.
62447 * assert/assert.c: Likewise.
62448 * debug/fgets_chk.c: Likewise.
62449 * debug/fgets_u_chk.c: Likewise.
62450 * debug/fread_chk.c: Likewise.
62451 * debug/fread_u_chk.c: Likewise.
62452 * debug/gets_chk.c: Likewise.
62453 * debug/obprintf_chk.c: Likewise.
62454 * debug/vasprintf_chk.c: Likewise.
62455 * debug/vdprintf_chk.c: Likewise.
62456 * debug/vsnprintf_chk.c: Likewise.
62457 * debug/vsprintf_chk.c: Likewise.
62458 * malloc/mtrace.c: Likewise.
62459 * misc/error.c: Likewise.
62460 * misc/syslog.c: Likewise.
62461 * stdio-common/asprintf.c: Likewise.
62462 * stdio-common/fxprintf.c: Likewise.
62463 * stdio-common/getw.c: Likewise.
62464 * stdio-common/isoc99_fscanf.c: Likewise.
62465 * stdio-common/isoc99_scanf.c: Likewise.
62466 * stdio-common/isoc99_vfscanf.c: Likewise.
62467 * stdio-common/isoc99_vscanf.c: Likewise.
62468 * stdio-common/isoc99_vsscanf.c: Likewise.
62469 * stdio-common/printf-prs.c: Likewise.
62470 * stdio-common/printf_fp.c: Likewise.
62471 * stdio-common/printf_fphex.c: Likewise.
62472 * stdio-common/printf_size.c: Likewise.
62473 * stdio-common/putw.c: Likewise.
62474 * stdio-common/scanf.c: Likewise.
62475 * stdio-common/sprintf.c: Likewise.
62476 * stdio-common/tmpfile.c: Likewise.
62477 * stdio-common/vfprintf.c: Likewise.
62478 * stdio-common/vfscanf.c: Likewise.
62479 * stdlib/strfmon_l.c: Likewise.
62480 * sunrpc/openchild.c: Likewise.
62481 * sunrpc/xdr_stdio.c: Likewise.
62482 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62483 * sysdeps/mach/hurd/tmpfile.c: Likewise.
62484
62485 2012-05-24 Roland McGrath <roland@hack.frob.com>
62486
62487 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62488
62489 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62490 in the third column, to generate for the shared library an IFUNC
62491 that uses _dl_vdso_vsym.
62492 * Makerules (COMPILE.c, compile-stdin.c): New variables.
62493 * Makeconfig (object-suffixes-noshared): New variable.
62494
62495 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62496 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62497 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62498 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62499
62500 [BZ #14132]
62501 * include/sys/time.h (__gettimeofday): Remove macro.
62502 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62503 * time/gettimeofday.c (__gettimeofday): Remove #undef.
62504 Remove INTDEF.
62505 (__gettimeofday): Add libc_hidden_def.
62506 (gettimeofday): Add libc_hidden_weak.
62507 * sysdeps/mach/gettimeofday.c: Likewise.
62508 * sysdeps/posix/gettimeofday.c: Likewise.
62509 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62510 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62511 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62512 (__gettimeofday_internal): Remove strong_alias.
62513 (__gettimeofday): Add libc_hidden_def.
62514 (gettimeofday): Add libc_hidden_weak.
62515 * sysdeps/unix/syscalls.list (gettimeofday):
62516 Remove __gettimeofday_internal alias.
62517
62518 2012-05-24 Daniel Jacobowitz <drow@false.org>
62519 H.J. Lu <hongjiu.lu@intel.com>
62520
62521 [BZ #12495]
62522 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62523 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62524 (largebin_index_32_big): New.
62525 (largebin_index): Use it for 16-byte alignment.
62526 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
62527 correction with front_misalign.
62528
62529 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
62530
62531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62533 Likewise.
62534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62535 Likewise.
62536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62537 Likewise.
62538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62539 Likewise.
62540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62541 Likewise.
62542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62543 Likewise.
62544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62545 Likewise.
62546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62547 Likewise.
62548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62549 Likewise.
62550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62551 Likewise.
62552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62553 Likewise.
62554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62555 Likewise.
62556
62557 * scripts/data/c++-types-x32-linux-gnu.data: New file.
62558 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62559
62560 2012-05-24 Joseph Myers <joseph@codesourcery.com>
62561
62562 [BZ #10846]
62563 [BZ #14036]
62564 * math/libm-test.inc (exp_test): Add test from bug 14036.
62565 (pow_test): Add test from bug 10846.
62566
62567 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62568 and other flags.
62569 (special_function): Do not include flags in test name.
62570 (parse_args): Likewise.
62571 * sysdeps/i386/fpu/libm-test-ulps: Update.
62572 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62573 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62574 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62576
62577 * math/gen-libm-test.pl (%beautify): Add entries for underflow
62578 exceptions.
62579 * math/libm-test.inc ("Philosophy"): Update comment about
62580 exception testing.
62581 (UNDERFLOW_EXCEPTION): New macro.
62582 (UNDERFLOW_EXCEPTION_OK): Likewise.
62583 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62584 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62585 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62586 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62587 (INVALID_EXCEPTION_OK): Update value.
62588 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62589 (OVERFLOW_EXCEPTION_OK): Likewise.
62590 (IGNORE_ZERO_INF_SIGN): Likewise.
62591 (test_exceptions): Handle underflow exceptions.
62592 (acos_test): Update for underflow exception expectations.
62593 (cexp_test): Likewise.
62594 (clog_test): Likewise.
62595 (clog10_test): Likewise.
62596 (csqrt_test): Likewise.
62597 (ctan_test): Likewise.
62598 (ctanh_test): Likewise.
62599 (exp_test): Likewise.
62600 (exp10_test): Likewise.
62601 (exp2_test): Likewise.
62602 (expm1_test): Likewise.
62603 (fma_test): Likewise.
62604 (j0_test): Likewise.
62605 (jn_test): Likewise.
62606 (nexttoward_test): Likewise.
62607 (pow_test): Likewise.
62608 (scalbn_test): Likewise.
62609 (scalbln_test): Likewise.
62610 (tan_test): Likewise.
62611 (y1_test): Likewise.
62612 * sysdeps/i386/fpu/libm-test-ulps: Update.
62613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62614
62615 2012-05-23 David S. Miller <davem@davemloft.net>
62616
62617 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62618 (__libc_sigaction): Remove unused local variables.
62619
62620 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
62621
62622 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62623
62624 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
62625
62626 mktime: avoid signed integer overflow
62627 * time/mktime.c (__mktime_internal): Do not mishandle the case
62628 where diff == INT_MIN.
62629
62630 mktime: simplify computation of average
62631 * time/mktime.c (ranged_convert): Use new time_t_avg function
62632 instead of rolling our own (probably-slower) code.
62633
62634 mktime: do not assume signed right shift propagates sign bit
62635 * time/mktime.c (isdst_differ): New static function.
62636 (__mktime_internal): No need to normalize tm_isdst now.
62637 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62638 tm_isdst values.
62639
62640 mktime: merge another wrapv change from gnulib
62641 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62642 from some compilers.
62643
62644 mktime: remove incorrect attempt at unusual arithmetics
62645 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62646 The code didn't really work on such machines anyway.
62647 (TYPE_MINIMUM): Assume two's complement.
62648 (twos_complement_arithmetic): Verify that long_int and time_t
62649 are two's complement (or unsigned, in the latter case).
62650
62651 mktime: check signed shifts on long_int and time_t, too
62652 * time/mktime.c (SHR): Check that shifts work as desired
62653 on the types long_int and time_t too, as SHR is used on
62654 such types.
62655
62656 mktime: do not assume 'long' is wide enough
62657 * time/mktime.c (verify): Move decl up.
62658 (long_int): New type.
62659 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62660 to remove assumption in the code that 'long' is wide enough to
62661 store year values. This assumption is not true on x32 and on
62662 some non-glibc platforms.
62663
62664 mktime: merge wrapv change from gnulib
62665 * time/mktime.c (WRAPV): New macro.
62666 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62667 (guess_time_tm, __mktime_internal): Do not assume that signed
62668 integer overflow wraps around; modern compilers generate code
62669 where this assumption is no longer valid.
62670
62671 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
62672
62673 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62674 Replace "jmp L(pseudo_end)" with "ret".
62675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62676 Likewise.
62677
62678 2012-05-23 Andreas Jaeger <aj@suse.de>
62679
62680 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62681 * sysdeps/unix/sysv/linux/poll.c: Remove file.
62682
62683 2012-05-23 Andreas Jaeger <aj@suse.de>
62684 Maximilian Attems <max@stro.at>
62685
62686 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62687 New macros.
62688
62689 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
62690
62691 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62692 code so that pseudo_end is just ret and the stack pointer is
62693 correct also for static library in error case.
62694
62695 2012-05-23 Joseph Myers <joseph@codesourcery.com>
62696
62697 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62698 move to syscalls.list.
62699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62703
62704 * manual/install.texi (Running make install): Do not mention Linux
62705 kernel version for which pt_chown is not needed.
62706 (Linux): Do not mention problems with nscd with 2.0 kernels.
62707 * INSTALL: Regenerated.
62708
62709 2012-05-23 Andreas Jaeger <aj@suse.de>
62710
62711 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62712 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62713 macro.
62714 * sysdeps/unix/sysv/linux/s390/bits/mman.h
62715 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62716 * sysdeps/unix/sysv/linux/sh/bits/mman.h
62717 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62718 * sysdeps/unix/sysv/linux/i386/bits/mman.h
62719 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62720 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62721 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62722 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62723 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62724 * sysdeps/unix/sysv/linux/bits/in.h
62725 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62726
62727 2012-05-22 Roland McGrath <roland@hack.frob.com>
62728
62729 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62730 (PREPARE_VERSION): Just use assert instead, it will be elided
62731 under [NDEBUG] anyway.
62732
62733 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62734
62735 * sysdeps/unix/sysv/linux/Makefile: Include
62736 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62737 (sysdep_routines): Remove sysctl.
62738 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62739 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62740 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62741 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62742 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62743
62744 2012-05-22 Andreas Jaeger <aj@suse.de>
62745
62746 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62747 that pseudo_end is just ret and the stack pointer is correct also
62748 for static library in error case.
62749
62750 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
62751
62752 [BZ #14122]
62753 * nss/nsswitch.c (defconfig_entries): New variable.
62754 (__nss_database_lookup): Don't leak defconfig entries.
62755 (nss_parse_service_list): Don't leak on error paths.
62756 (free_database_entries): New function.
62757 (free_defconfig): New function.
62758 (free_mem): Move common code to free_database_entries.
62759
62760 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62761
62762 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62763 Add arch_prctl.
62764 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62765
62766 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62767 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62769 New macro.
62770 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62771 (INTERNAL_SYSCALL_TYPES): Likewise.
62772 (LOAD_ARGS_TYPES_[1-6]): Likewise.
62773 (LOAD_REGS_TYPES_[1-6]): Likewise.
62774 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62775 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62776
62777 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62778
62779 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62780 copysignl for GLIBC_2_0.
62781 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62782 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62783 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62784 logbl for GLIBC_2_0.
62785 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62786 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62787
62788 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62789
62790 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62791 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
62792
62793 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62794 Use "neg %eax".
62795
62796 * time/mktime.c: Update copyright years.
62797
62798 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
62799
62800 mktime: merge comment-quoting-style change from gnulib
62801 * time/mktime.c: Quote 'like this' in comments.
62802 The GNU coding standards suggest that we no longer quote `like this',
62803 as "`" and "'" are typically rendered asymmetrically nowadays.
62804 The typical gnulib style is to quote 'like this' when quoting
62805 code, and "like this" when quoting English.
62806
62807 * time/mktime.c (compile-command): Add "-I.".
62808
62809 mktime: merge mktime-internal.h change from gnulib
62810 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62811
62812 mktime: merge time_r change from gnulib
62813 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62814
62815 mktime: merge DEBUG change from gnulib
62816 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62817 case system <time.h> has a #define.
62818
62819 mktime: merge <sys/types.h> change from gnulib
62820 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62821 since <time.t> is now guaranteed to define time_t.
62822
62823 mktime: merge HAVE_CONFIG_H change from gnulib
62824 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62825
62826 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62827
62828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62829 Use "neg %eax".
62830
62831 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62832 __rlim_t cast.
62833 (struct rusage): Use anonymous union to pad each field to
62834 __syscall_slong_t.
62835
62836 2012-05-21 David S. Miller <davem@davemloft.net>
62837
62838 * Makefules (o-iterator): Remove .s cases.
62839 (compile-command.s): Delete.
62840 (COMPILE.s): Delete.
62841 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62842
62843 2012-05-21 Joseph Myers <joseph@codesourcery.com>
62844
62845 * configure.in (libc_cv_predef_stack_protector): Only consider
62846 "foobar" and "__stack_chk_fail" lines in libc_undefs.
62847 * configure: Regenerated.
62848
62849 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
62850
62851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62852 New macro. Use R*LP on int and pointer.
62853 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62854 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62855 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62856 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62857
62858 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62859 [__WORDSIZE_TIME64_COMPAT32] instead of
62860 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62861 (struct utmp): Likewise.
62862 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62863 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62864 Renamed to ...
62865 (__WORDSIZE_TIME64_COMPAT32): This.
62866 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62867 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62868 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62869 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62870 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62871 (__WORDSIZE_TIME64_COMPAT32): New macro.
62872
62873 2012-05-21 Andreas Jaeger <aj@suse.de>
62874
62875 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62876 only if [SHARED]. Add prototype for __wcschr_ia32.
62877
62878 2012-05-21 Roland McGrath <roland@hack.frob.com>
62879
62880 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62881 of %rbp unmolested in the jmp_buf while mangling the low bits.
62882 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62883 unmolested high bits of %rbp while demangling the low bits.
62884 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62885
62886 2012-05-21 Andreas Jaeger <aj@suse.de>
62887
62888 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62889 * sunrpc/svc_simple.c: Use it for registerrpc.
62890 * sunrpc/xcrypt.c: Use it for passwd2des.
62891
62892 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62893
62894 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
62895
62896 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62897 Don't define if [__SYSCALL_WORDSIZE != 32].
62898 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62899 New macro.
62900
62901 2012-05-21 Bruno Haible <bruno@clisp.org>
62902 Andreas Jaeger <aj@suse.de>
62903
62904 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62905 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62906 inptr and inend for must_buffer_ch.
62907 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62908 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62909 * stdio-common/Makefile (tests): Remove bug15.
62910 (bug15-ENV): Remove macro.
62911 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62912 anymore.
62913
62914 2012-05-19 Andreas Jaeger <aj@suse.de>
62915 Roland McGrath <roland@hack.frob.com>
62916
62917 * manual/contrib.texi: Completely rewritten. It contains now an
62918 alphabetical list of contributors and their contributions.
62919
62920 2012-05-21 Richard Henderson <rth@twiddle.net>
62921
62922 * misc/getauxval.c (__getauxval): Use unsigned long int.
62923 * misc/sys/auxv.h: Include <sys/cdefs.h>.
62924 (getauxval): Use unsigned long int.
62925
62926 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
62927
62928 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62929
62930 2012-05-21 Roland McGrath <roland@hack.frob.com>
62931
62932 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62933 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62934 __alignof__ (long double).
62935
62936 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62937
62938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62939
62940 2012-05-20 Richard Henderson <rth@twiddle.net>
62941
62942 * misc/getauxval.c: New file.
62943 * misc/sys/auxv.h: New file.
62944 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62945 (routines): Add getauxval.
62946 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62947 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62948 * elf/dl-sysdep.c (_dl_auxv): Remove.
62949 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62950 * elf/dl-support.c (_dl_auxv): New variable.
62951 (_dl_aux_init): Initialize it.
62952 * manual/startup.texi (Auxiliary Vector): New node.
62953 * sysdeps/generic/bits/hwcap.h: New file.
62954 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62955 * sysdeps/powerpc/sysdep.h: ... here. Include it.
62956 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62957 * sysdeps/sparc/sysdep.h: ... here. Include it.
62958 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62959 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62961 Update.
62962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62965 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62970
62971 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62972
62973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62974
62975 2012-05-19 David S. Miller <davem@davemloft.net>
62976
62977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62978
62979 2012-05-19 Joseph Myers <joseph@codesourcery.com>
62980
62981 [BZ #14123]
62982 * math/s_ccosh.c: Include <float.h>
62983 (__ccosh): Avoid internal overflow calculating sinh and cosh
62984 values before multiplying by sin and cos values.
62985 * math/s_ccoshf.c: Likewise.
62986 * math/s_ccoshl.c: Likewise.
62987 * math/s_csin.c: Likewise.
62988 * math/s_csinf.c: Likewise.
62989 * math/s_csinl.c: Likewise.
62990 * math/s_csinh.c: Likewise.
62991 * math/s_csinhf.c: Likewise.
62992 * math/s_csinhl.c: Likewise.
62993 * math/libm-test.inc (ccos_test): Add more tests.
62994 (ccosh_test): Likewise.
62995 (csin_test): Likewise.
62996 (csinh_test): Likewise.
62997 * sysdeps/i386/fpu/libm-test-ulps: Update.
62998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62999
63000 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
63001
63002 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
63003 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
63004
63005 * sysdeps/x86_64/x32/_itoa.h: Add comment.
63006
63007 2012-05-19 Joseph Myers <joseph@codesourcery.com>
63008
63009 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
63010 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
63011 * sysdeps/powerpc/soft-fp/Versions: Likewise.
63012 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
63013 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
63014 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
63015 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
63016 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
63017 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
63018 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
63019 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
63020 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
63021 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
63022 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
63023 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
63024 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
63025 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
63026 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
63027 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
63028 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
63029 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
63030 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
63031 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
63032 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
63033 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
63034 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
63035 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
63036 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
63037 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
63038 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
63039 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
63040
63041 2012-05-18 Andreas Jaeger <aj@suse.de>
63042
63043 * csu/.gitignore: Delete.
63044
63045 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
63046
63047 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
63048 (timex): Use __syscall_slong_t.
63049
63050 2012-05-18 Andreas Jaeger <aj@suse.de>
63051 Carlos O'Donell <carlos_odonell@mentor.com>
63052
63053 * manual/install.texi (Configuring and compiling): Update
63054 description about files modified in the source directory.
63055 * INSTALL: Regenerated.
63056
63057 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
63058
63059 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
63060 value. Use "or" to set return value to -1.
63061 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
63062 negate return value.
63063
63064 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63065
63066 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
63067 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
63068 failure if the compiler has Graphite support disabled.
63069 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
63070 Likewise.
63071 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
63072 (CFLAGS-memmove.c): Likewise.
63073 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63074 Likewise.
63075
63076 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
63077
63078 * sysdeps/x86_64/x32/_itoa.h: New file.
63079
63080 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63081 getdents system call only if kernel and user dirents have the
63082 same d_ino and d_off.
63083
63084 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63085 LLONG_MAX != LONG_MAX.
63086 (_itoa_word): Use _ITOA_WORD_TYPE on value.
63087 (_fitoa_word): Likewise.
63088
63089 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63090 years.
63091 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63092 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
63093 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
63094
63095 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
63096 include <bits/wordsize.h>. Check __x86_64__ instead of
63097 __WORDSIZE.
63098 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
63099 if __x86_64__ is defined. Use anonymous union on fpstate.
63100
63101 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
63102 anonymous union.
63103
63104 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
63105
63106 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
63107 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
63108 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
63109 Refer to _rtld_local_ro instead of _rtld_global_ro.
63110 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63111 Likewise.
63112 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
63113 Likewise.
63114 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
63115 Likewise.
63116 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
63117 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
63118 of _rtld_global, and rtld_progname instead of _dl_argv[0].
63119
63120 [BZ #10882]
63121 * sysdeps/powerpc/powerpc32/dl-machine.c
63122 (__elf_machine_runtime_setup) [PROF]: Don't reference
63123 _dl_prof_resolve.
63124
63125 2012-05-18 Andreas Jaeger <aj@suse.de>
63126
63127 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
63128 function only available for GCCs before 3.4 since GCC 3.4
63129 introduced a builtin.
63130 (lrint): Likewise.
63131 (llrintf): Likewise.
63132 (llrint): Likewise.
63133 (fmaxf): Likewise.
63134 (fmax): Likewise.
63135 (fminf): Likewise.
63136 (fmin): Likewise.
63137 (rint): Likewise.
63138 (rintf): Likewise.
63139 (nearbyint): Likewise.
63140 (nearbyintf): Likewise.
63141 (ceil): Likewise.
63142 (ceilf): Likewise.
63143 (floor): Likewise.
63144 (floorf): Likewise.
63145
63146 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
63147
63148 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
63149 on both fields and cast pointer to __syscall_ulong_t.
63150
63151 * bits/types.h (__fsword_t): New type.
63152 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
63153 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
63154 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63155 (__FSWORD_T_TYPE): Likewise.
63156 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63157 (__FSWORD_T_TYPE): Likewise.
63158 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63159 (__FSWORD_T_TYPE): Likewise.
63160 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
63161 (__FSWORD_T_TYPE): Likewise.
63162 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
63163 __SWORD_TYPE with __fsword_t.
63164 (statfs64): Likewise.
63165
63166 2012-05-17 David S. Miller <davem@davemloft.net>
63167
63168 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
63169
63170 2012-05-17 Andreas Jaeger <aj@suse.de>
63171
63172 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
63173 warning.
63174
63175 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
63176
63177 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
63178
63179 2012-05-17 Andreas Jaeger <aj@suse.de>
63180
63181 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
63182 when it is used.
63183
63184 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
63185
63186 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
63187
63188 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
63189
63190 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
63191 * sysdeps/x86_64/tst-mallocalign1.c: New file.
63192
63193 2012-05-17 Andreas Jaeger <aj@suse.de>
63194 Carlos O'Donell <carlos_odonell@mentor.com>
63195
63196 [BZ #14059]
63197 * sysdeps/x86_64/multiarch/init-arch.h
63198 (bit_YMM_Usable): Rename to...
63199 (bit_AVX_Usable): ... this.
63200 (bit_FMA4_Usable): New macro.
63201 (bit_XMM_state): New macro.
63202 (bit_YMM_state): New macro.
63203 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
63204 [__ASSEMBLER__] (index_AVX_Usable): ... this.
63205 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63206 (CPUID_OSXSAVE): New macro.
63207 (CPUID_AVX): New macro.
63208 (CPUID_FMA4): New macro.
63209 (index_YMM_Usable): Rename to...
63210 (index_AVX_Usable): ... this.
63211 (HAS_AVX): Use HAS_ARCH_FEATURE.
63212 (HAS_FMA4): Likewise.
63213 (HAS_YMM_USABLE): Remove.
63214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63215 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63216 are present.
63217 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63218 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63219 * sysdeps/x86_64/multiarch/Makefile: Likewise.
63220 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63221 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63222
63223 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
63224
63225 * math/libm-test.c: Support platforms without multiple rounding modes.
63226 * math/bug-nextafter.c: Support platforms without FP exceptions.
63227 * math/bug-nexttoward.c: Likewise.
63228 * math/test-fenv.c: Likewise.
63229 * math/test-misc.c: Likewise.
63230 * stdlib/bug-getcontext.c: Likewise.
63231
63232 2012-05-17 Andreas Jaeger <aj@suse.de>
63233
63234 * manual/examples/search.c (critter_cmp): Change signature to
63235 avoid warnings.
63236 * manual/string.texi (Collation Functions): Likewise.
63237
63238 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63239
63240 * bits/types.h: Fold copyright years.
63241 * bits/typesizes.h: Likewise.
63242 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63243 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63244 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63246 * time/time.h: Likewise.
63247
63248 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
63249
63250 [BZ #208]
63251 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63252 in instead of returning them. Return void.
63253 (__libc_mallinfo): Accumulate over all arenas.
63254 (__malloc_stats): Adjust for change in int_mallinfo interface.
63255
63256 2012-05-16 Roland McGrath <roland@hack.frob.com>
63257
63258 [BZ #10375]
63259 * configure.in (NM): Add AC_CHECK_TOOL for it.
63260 (libc_extra_cflags): New substituted variable.
63261 Check for -fstack-protector being used implicitly.
63262 * configure: Regenerated.
63263 * config.make.in (config-extra-cflags): New variable,
63264 gets @libc_extra_cflags@.
63265 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63266
63267 [BZ #10375]
63268 * configure.in: Check for _FORTIFY_SOURCE being predefined.
63269 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63270 * configure: Regenerated.
63271 * config.make.in (CPPUNDEFS): New substituted variable.
63272 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63273 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63274 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63275
63276 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63277
63278 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63279 (mq_attr): Use __syscall_slong_t.
63280
63281 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63282
63283 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63284 Check __x86_64__ instead of __WORDSIZE.
63285 (_STAT_VER_LINUX): Likewise.
63286 (stat): Check __x86_64__ instead of __WORDSIZE. Use
63287 __syscall_ulong_t and __syscall_slong_t.
63288 (stat64): Likewise.
63289
63290 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63291
63292 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63293
63294 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63295
63296 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63297
63298 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63299
63300 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63301 __syscall_ulong_t.
63302
63303 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63304 include <bits/wordsize.h>. Check __x86_64__ instead of
63305 __WORDSIZE.
63306 (greg_t): Use "__extension__ long long int" if __x86_64__ is
63307 defined.
63308 (mcontext_t): Replace "unsigned long" with "unsigned long long".
63309
63310 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63311 include <bits/wordsize.h>. Check __x86_64__ instead of
63312 __WORDSIZE.
63313 (user_regs_struct): Use "__extension__ unsigned long long"
63314 instead of "unsigned long" if __x86_64__ is defined.
63315 (user): Likewise. Pad after pointer field if __ILP32__ is
63316 defined.
63317
63318 2012-05-16 Joseph Myers <joseph@codesourcery.com>
63319
63320 * configure.in (makeinfo): Require version 4.5 or later. Allow
63321 versions 5 to 9.
63322 * configure: Regenerated.
63323 * manual/install.texi (texinfo): Increase version requirement to
63324 4.5 or later.
63325 * INSTALL: Regenerated.
63326
63327 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63328
63329 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63330
63331 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63332
63333 * sysdeps/x86_64/x32/ffs.c: New file.
63334
63335 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63336 __syscall_ulong_t.
63337 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63338 defined. Use __syscall_ulong_t.
63339 (shminfo): Use __syscall_ulong_t.
63340 (shm_info): Likewise.
63341
63342 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63343 __syscall_ulong_t.
63344
63345 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63346 <bits/wordsize.h>.
63347 (msgqnum_t): Use __syscall_ulong_t.
63348 (msglen_t): Likewise.
63349 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
63350 __syscall_ulong_t.
63351
63352 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63353 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
63354
63355 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
63356
63357 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
63358 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
63359
63360 * sysvipc/sys/msg.h (msgbuf): Replace long int with
63361 __syscall_slong_t.
63362
63363 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
63364 include <bits/wordsize.h>. Check __x86_64__ instead of
63365 __WORDSIZE.
63366
63367 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
63368 "unsigned long long int" if __x86_64__ is defined.
63369 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
63370
63371 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
63372 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
63373 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
63374
63375 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
63376 <stdint.h>.
63377 (GET_PC): Cast to uintptr_t first.
63378 (GET_FRAME): Likewise.
63379 (GET_STACK): Likewise.
63380
63381 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
63382 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
63383 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
63384 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
63385 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
63386 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
63387 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
63388 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
63389 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
63390 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
63391 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
63392 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
63393 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63394 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
63395 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
63396 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
63397 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
63398 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
63399 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
63400 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
63401 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
63402 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
63403 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
63404 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
63405 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
63406 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
63407 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
63408 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
63409 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
63410
63411 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
63412
63413 * Makerules (+depfiles): Also collect depfiles from .oS in
63414 $(extra-objs).
63415 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
63416 .oS, $(libnldbl-routines)).
63417
63418 * Makerules (native-compile-mkdep-flags): Define.
63419 * sunrpc/Makefile (extra-objs): Add $(addprefix
63420 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
63421 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
63422 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
63423 calling $(make-target-directory).
63424
63425 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63426
63427 * bits/types.h (__snseconds_t): Removed.
63428 * time/time.h (struct timespec): Replace __snseconds_t with
63429 __syscall_slong_t.
63430 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
63431 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
63432 Likewise.
63433 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63434 (__SNSECONDS_T_TYPE): Likewise.
63435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63436 (__SNSECONDS_T_TYPE): Likewise.
63437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63438 (__SNSECONDS_T_TYPE): Likewise.
63439
63440 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63441
63442 * sysdeps/mach/hurd/bits/typesizes.h
63443 (__SYSCALL_SLONG_TYPE): New macro.
63444 (__SYSCALL_ULONG_TYPE): Likewise.
63445
63446 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63447
63448 * bits/types.h (__syscall_slong_t): New type.
63449 (__syscall_ulong_t): Likewise.
63450
63451 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
63452 (__SYSCALL_ULONG_TYPE): Likewise.
63453 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63454 (__SYSCALL_SLONG_TYPE): Likewise.
63455 (__SYSCALL_ULONG_TYPE): Likewise.
63456 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63457 (__SYSCALL_SLONG_TYPE): Likewise.
63458 (__SYSCALL_ULONG_TYPE): Likewise.
63459 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63460 (__SYSCALL_SLONG_TYPE): Likewise.
63461 (__SYSCALL_ULONG_TYPE): Likewise.
63462
63463 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63464
63465 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63466 Add sigaltstack-offsets.sym.
63467 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63468 <sigaltstack-offsets.h>.
63469 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
63470 longjmp_msg pointer.
63471 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
63472 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63473 signal stack.
63474 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63475
63476 2012-05-15 Joseph Myers <joseph@codesourcery.com>
63477
63478 * elf/stackguard-macros.h: Remove file.
63479 * sysdeps/generic/stackguard-macros.h: New file.
63480 * sysdeps/i386/stackguard-macros.h: Likewise.
63481 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63482 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63483 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63484 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63485 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63486 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63487 * sysdeps/x86_64/stackguard-macros.h: Likewise.
63488 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63489 <elf/stackguard-macros.h>.
63490
63491 [BZ #14109]
63492 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63493 __aligned__ in attribute.
63494 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63495 (gregset_t): Likewise.
63496
63497 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63498
63499 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63500 * sysdeps/x86_64/64/Implies-after: Here. New file.
63501 * sysdeps/x86_64/x32/Implies-after: New file.
63502
63503 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63504
63505 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63506 and access return value for _dl_profile_fixup. Use R10_LP to
63507 load frame size.
63508
63509 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63510
63511 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63512
63513 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63514
63515 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63516 * sysdeps/x86_64/x32/sysdep.h: New file.
63517
63518 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63519
63520 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63521 * sysdeps/x86_64/setjmp.S: Likewise.
63522
63523 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63524
63525 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63526 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63527 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63528 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63529 remove unused global constant.
63530
63531 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
63532
63533 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63534 include of <not-cancel.h>.
63535
63536 2012-05-15 Roland McGrath <roland@hack.frob.com>
63537
63538 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63539
63540 2012-05-15 Jeff Law <law@redhat.com>
63541 Andreas Jaeger <aj@suse.de>
63542
63543 [BZ #13594]
63544 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63545 out from...
63546 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63547 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63548 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63549 code changing __hst_map_handle.map.
63550
63551 2012-05-15 Roland McGrath <roland@hack.frob.com>
63552
63553 * configure.in (sysnames): Look for Implies-before and Implies-after
63554 files.
63555 * configure: Regenerated.
63556
63557 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63558
63559 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63560 8-byte data alignment with LP_SIZE alignment.
63561
63562 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63563
63564 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63565 into R10_LP.
63566
63567 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63568
63569 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63570
63571 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63572
63573 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63574 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63575 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63576 Likewise.
63577 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63578
63579 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63580
63581 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63582 (stackinfo_sub_sp): Likewise.
63583
63584 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63585
63586 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63587 RAX_LP.
63588
63589 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63590
63591 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63592 into R*_LP.
63593
63594 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63595
63596 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63597 sizes into R*_LP.
63598
63599 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63600
63601 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63602
63603 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63604
63605 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63606 into R11_LP and load __x86_64_shared_cache_size_half into
63607 R8_LP.
63608
63609 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63610
63611 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63612 R8_LP.
63613
63614 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63615
63616 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63617 logb for POWER7.
63618 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63619 logbf for POWER7.
63620 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63621 logbl for POWER7.
63622 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63623 powerpc32/power7/fpu/s_logb.c via #include.
63624 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63625 powerpc32/power7/fpu/s_logbf.c via #include.
63626 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63627 powerpc32/power7/fpu/s_logbl.c via #include.
63628
63629 2012-05-15 Joseph Myers <joseph@codesourcery.com>
63630
63631 * README.libm: Remove file.
63632
63633 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63634
63635 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63636 count for x32. Use R*_LP and omit operand-size suffix.
63637
63638 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63639
63640 * shlib-versions: Move x86_64-.*-linux.* entries to ...
63641 * sysdeps/x86_64/64/shlib-versions: Here. New file.
63642 * sysdeps/x86_64/x32/shlib-versions: New file.
63643
63644 2012-05-14 Roland McGrath <roland@hack.frob.com>
63645
63646 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63647 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63648 Use _dl_fatal_printf instead.
63649
63650 2012-05-14 Joseph Myers <joseph@codesourcery.com>
63651
63652 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63653 set if not set by the user. Do not allow for being unset.
63654 * sysdeps/unix/sysv/linux/configure: Regenerated.
63655
63656 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63657
63658 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63659 the `q' suffix from lea and replace .quad with ASM_ADDR.
63660
63661 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63662
63663 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63664 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
63665 instead of $17.
63666 (PTR_DEMANGLE): Likewise.
63667
63668 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63669
63670 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63671 (LP_OP): Likewise.
63672 (ASM_ADDR): Likewise.
63673 (RAX_LP): Likewise.
63674 (RBP_LP): Likewise.
63675 (RBX_LP): Likewise.
63676 (RCX_LP): Likewise.
63677 (RDI_LP): Likewise.
63678 (RSI_LP): Likewise.
63679 (RSP_LP): Likewise.
63680 (R8_LP): Likewise.
63681 (R9_LP): Likewise.
63682 (R10_LP): Likewise.
63683 (R10_LP): Likewise.
63684 (R11_LP): Likewise.
63685 (R12_LP): Likewise.
63686 (R13_LP): Likewise.
63687 (R14_LP): Likewise.
63688 (R15_LP): Likewise.
63689
63690 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63691
63692 * sysdeps/x86_64/x32/dl-machine.h: New file.
63693
63694 2012-05-14 Andreas Jaeger <aj@suse.de>
63695
63696 * manual/Makefile (subdir): Remove export of subdir.
63697 (all): Remove target.
63698 (.PHONY): Remove all from list.
63699 (mkinstalldirs): Remove.
63700 (.PHONY): Remove installdirs from list.
63701 ($(inst_infodir)/libc.info): Use make-target-directory.
63702 (installdirs): Remove.
63703 (subdir_%): Remove.
63704 (glibc-targets): Remove.
63705 (lib): Remove.
63706 (stubs): Remove.
63707 ($(objpfx)stubs ../po/manual.pot): Remove.
63708 ($(objpfx)stamp%): Remove.
63709 (make-target-directory): Remove.
63710 (subdir_install): Remove.
63711 (routines): Remove.
63712 (aux): Remove.
63713 (sources): Remove.
63714 (objects): Remove.
63715 (headers): Remove.
63716
63717 [BZ #13750]
63718 * manual/.gitignore: Remove, it's not needed anymore.
63719 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63720 all files in it.
63721 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63722 directory.
63723 (texis): Renamed to $(objpfx)texis.
63724 (texis-path): New, contains path to generated files.
63725 (chapters.%): Use texis-path for complete path, add extra argument
63726 libc-texinfo.sh.
63727 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63728 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63729 (summary,texi, stamp-summary): Use complete path of
63730 files. Generate files in build dir.
63731 (dir-add.texi): Build in build dir.
63732 (libm-err.texi,stamp-libm-err): Likewise.
63733 (version.texi, stamp-version): Likewise.
63734 (.%c.texi): Likewise.
63735 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63736 (mostlyclean): Remove target.
63737 (realclean): Remove target.
63738 (generated): Add new variable with contents from mostlyclean and
63739 realclean, remove entries duplicated in common-mostlyclean, add
63740 stamp-libm-err and stamp-version.
63741 (generated-dirs): Add libc directory.
63742 ($(inst_infodir)/libc.info): Install files from build dir.
63743
63744 * manual/install.texi (Configuring and compiling): Adjust since
63745 the info files are not part of the tar ball anymore.
63746
63747 2012-05-14 Andreas Jaeger <aj@suse.de>
63748
63749 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63750 variable.
63751
63752 2012-05-14 Joseph Myers <joseph@codesourcery.com>
63753
63754 [BZ #13717]
63755 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63756 to 2.2.0 where earlier.
63757 * sysdeps/unix/sysv/linux/configure: Regenerated.
63758 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63759 Remove conditional code.
63760 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63761 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63762 Remove conditional code.
63763 [!__NR_lchown]: Likewise.
63764 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63765 [__NR_lchown]: Likewise.
63766 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63767 comment referencing __ASSUME_LCHOWN_SYSCALL.
63768 * sysdeps/unix/sysv/linux/i386/sigaction.c
63769 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63770 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63771 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63772 Remove conditional code.
63773 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63774 (__protocol_available): Remove #if 0 code.
63775 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63776 conditional code.
63777 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63778 * sysdeps/unix/sysv/linux/kernel-features.h
63779 (__ASSUME_GETCWD_SYSCALL): Don't define.
63780 (__ASSUME_REALTIME_SIGNALS): Likewise.
63781 (__ASSUME_PREAD_SYSCALL): Likewise.
63782 (__ASSUME_PWRITE_SYSCALL): Likewise.
63783 (__ASSUME_POLL_SYSCALL): Likewise.
63784 (__ASSUME_LCHOWN_SYSCALL): Likewise.
63785 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63786 non-SPARC.
63787 (__ASSUME_SIOCGIFNAME): Don't define.
63788 (__ASSUME_MSG_NOSIGNAL): Likewise.
63789 (__ASSUME_SENDFILE): Define unconditionally.
63790 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63791 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63792 conditional code.
63793 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63794 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63795 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63796 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63797 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63798 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63799 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63801 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63802 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63804 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63807 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63810 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63811 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63813 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63814 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63816 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63817 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63819 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63820 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63822 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63823 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63824 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63825 Remove conditional code.
63826 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63827 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63828 Remove conditional code.
63829 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63830 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63831 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63832 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63833 Remove conditional code.
63834 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63835 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63836 Remove conditional code.
63837 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63838 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63839 Remove conditional code.
63840 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63841 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63842 Remove conditional code.
63843 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63844 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63845 Remove conditional code.
63846 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63847 * sysdeps/unix/sysv/linux/sh/pwrite64.c
63848 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63849 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63850 * sysdeps/unix/sysv/linux/sigaction.c
63851 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63852 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63853 * sysdeps/unix/sysv/linux/sigpending.c
63854 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63855 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63856 * sysdeps/unix/sysv/linux/sigprocmask.c
63857 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63858 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63859 * sysdeps/unix/sysv/linux/sigsuspend.c
63860 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63861 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63862 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63863 (__libc_missing_rt_sigs): Remove.
63864 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63865 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63866 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63867 Remove conditional code.
63868 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63869 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63870 return 1.
63871 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63872 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63873 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63874 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63875
63876 2012-05-14 Andreas Jaeger <aj@suse.de>
63877
63878 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63879 it's not used in glibc.
63880 (__coshm1): Likewise.
63881 (__acosh1p): Likewise.
63882 (__sgn): Likewise.
63883
63884 * manual/string.texi (Copying and Concatenation): Add missing
63885 variable in concat example.
63886 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63887
63888 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63889
63890 [BZ #14103]
63891 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63892 __builtin_clzl with __builtin_clzll.
63893
63894 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63895
63896 [BZ #14104]
63897 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63898 libc_freeres_ptr.
63899
63900 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
63901
63902 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63903 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63904 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63905 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63906
63907 2012-05-14 Mike Frysinger <vapier@gentoo.org>
63908
63909 * NEWS: Update ia64 info.
63910
63911 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
63912
63913 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63914 used as bcopy.
63915
63916 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
63917
63918 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63919 * sysdeps/unix/syscalls.list (dup3): Likewise.
63920 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63921 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63922
63923 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
63924
63925 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63926 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63927
63928 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
63929
63930 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63931 thread pointer.
63932 (TLS_IE): Use mov/add instead of movq/addq to load thread
63933 pointer.
63934 (TLS_GD_PREFIX): New.
63935 (TLS_GD): Use it.
63936
63937 2012-05-11 David S. Miller <davem@davemloft.net>
63938
63939 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63940 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63941 (_FPU_SETCW): Likewise.
63942
63943 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
63944
63945 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63946 is 32-byte aligned.
63947
63948 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
63949
63950 [BZ #11837]
63951 * iconvdata/gb18030.c: Update tables.
63952 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
63953 characters specially.
63954 (BODY for TO_LOOP): Add encoding of missing ranges.
63955
63956 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
63957
63958 [BZ #13673]
63959 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63960 * sysdeps/mach/hurd/dup3.c: Likewise.
63961 * sysdeps/mach/hurd/readlinkat.c: Likewise.
63962 * sysdeps/powerpc/memmove.c:: Likewise.
63963
63964 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
63965
63966 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63967 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63968
63969 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
63970
63971 * elf/elf.h (R_X86_64_RELATIVE64): New.
63972 (R_X86_64_NUM): Updated.
63973 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63974 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
63975 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63976 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63977 tst-quad1pie tst-quad2pie
63978 (modules-names): Add tst-quadmod1 tst-quadmod2.
63979 ($(objpfx)tst-quad1): New dependency.
63980 ($(objpfx)tst-quad2): Likewise.
63981 ($(objpfx)tst-quad1pie): Likewise.
63982 ($(objpfx)tst-quad2pie): Likewise.
63983 * sysdeps/x86_64/tst-quad1.c: New file.
63984 * sysdeps/x86_64/tst-quad1pie.c: New file.
63985 * sysdeps/x86_64/tst-quad2.c: Likewise.
63986 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63987 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63988 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63989 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63990 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63991
63992 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63993
63994 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63995 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63996 * streams/stropts.h (t_scalar_t): Define type.
63997
63998 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63999 (_PATH_PRESERVE): Set to "/var/lib".
64000 (_PATH_RWHODIR): Set to "/var/spool/rwho".
64001
64002 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
64003 instead of int.
64004
64005 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
64006 if __dir_mkfile succeeded.
64007
64008 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
64009 checking for _hurd_dtablesize. Unlock it right after having
64010 finished _hurd_dtable allocation.
64011
64012 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64013
64014 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
64015 * sysdeps/mach/hurd/configure: Regenerated.
64016 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
64017 special-casing to...
64018 * sysdeps/gnu/configure.in: ... this new file.
64019 * sysdeps/unix/sysv/linux/configure: Regenerated.
64020 * sysdeps/gnu/configure: New generated file.
64021
64022 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
64023 for Linux: use nsec instead of usec, as well as:
64024 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
64025 members of type struct timespec.
64026 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
64027 New macros.
64028 (struct stat64): Likewise.
64029 (_STATBUF_ST_NSEC): New macro.
64030 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
64031
64032 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64033 __strtoul_internal rather than strtoul.
64034
64035 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
64036
64037 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
64038 and reject them.
64039
64040 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64041
64042 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
64043 which preserves existing values.
64044 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
64045
64046 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
64047
64048 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
64049 TIMEOUT values. Return EINVAL for NFDS values either negative or
64050 greater than FD_SETSIZE.
64051
64052 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64053
64054 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
64055 allocated, call __vm_protect to finish enabling the existing space, and
64056 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
64057 allocate the remainder.
64058
64059 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
64060
64061 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
64062 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
64063
64064 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64065
64066 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
64067 sysdeps/mach/hurd/readlink.c.
64068
64069 * posix/tst-sysconf.c (posix_options): Only use
64070 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
64071 _POSIX_SYNCHRONIZED_IO when they are defined
64072 * sysdeps/mach/hurd/bits/posix_opt.h:
64073 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
64074 (_XOPEN_REALTIME): Undefine macro.
64075 (_XOPEN_REALTIME_THREADS): Undefine macro.
64076 (_XOPEN_SHM): Undefine macro.
64077 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
64078 macro to -1.
64079 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64080 macro to -1.
64081 (_POSIX_ASYNC_IO): Undefine macro.
64082 (_POSIX_PRIORITIZED_IO): Undefine macro.
64083 (_POSIX_SPIN_LOCKS): Define macro to -1.
64084
64085 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64086 SA_NODEFER, SA_RESETHAND.
64087 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64088 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64089 F_DUPFD_CLOEXEC.
64090
64091 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64092
64093 * elf/Makefile (pldd-modules): Define unconditionally.
64094
64095 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64096
64097 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
64098
64099 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64100
64101 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
64102 Return ENOENT when name is empty.
64103 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
64104
64105 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64106
64107 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
64108
64109 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
64110
64111 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64112
64113 Fix mlock in all cases except non-readable pages.
64114 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
64115 instead of VM_PROT_ALL as parameter to __vm_wire function.
64116
64117 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
64118 (__mkdir): When path is `/', just fail with EEXIST.
64119 * sysdeps/mach/hurd/mkdirat.c: Likewise.
64120
64121 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64122
64123 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
64124 <sys/uio.h> (for writev).
64125 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
64126 and <sys/param.h> (for MIN).
64127
64128 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
64129
64130 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
64131 REQUESTED_TIME. Properly set the remaining time and return EINTR
64132 if interrupted.
64133
64134 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64135
64136 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
64137 Depend on against $(link-rpcuserlibs).
64138
64139 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64140
64141 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
64142 (__libc_stack_end): Do not use attribute_relro.
64143 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
64144 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
64145 to libthread-provided value.
64146 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
64147 attribute_relro.
64148
64149 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64150
64151 [BZ #3748]
64152 * bits/libc-lock.h (__libc_once_get): New macro.
64153 * sysdeps/mach/bits/libc-lock.h: Likewise.
64154 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
64155 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
64156 instead of using implementation details.
64157
64158 * libio/fileops.c: Unconditionally include <kernel-features.h>.
64159 * libio/freopen.c: Likewise.
64160 * libio/freopen64.c: Likewise.
64161 * misc/syslog.c: Likewise.
64162 * nscd/connections.c: Likewise.
64163 * nscd/netgroupcache.c: Likewise.
64164 * sysdeps/posix/getcwd.c: Likewise.
64165
64166 2012-05-10 Roland McGrath <roland@hack.frob.com>
64167
64168 * math/w_ilogbf.c: Add #include <limits.h>.
64169
64170 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64171
64172 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
64173 path instead of returning without unlocking.
64174
64175 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
64176 immediate-write ioctls.
64177 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
64178
64179 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64180
64181 * sysdeps/mach/hurd/i386/init-first.c (init): Use
64182 __builtin_frame_address instead of making assumptions about the
64183 location of the return address relative to DATA. Force early load of
64184 the return address.
64185 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
64186 __builtin_frame_address.
64187
64188 dup3 for GNU Hurd.
64189 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
64190 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
64191 implement dup3 and do some further code clean-ups.
64192 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
64193 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
64194
64195 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64196
64197 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
64198
64199 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
64200 HURD_CRITICAL_END around holding _hurd_dtable_lock.
64201 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
64202 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
64203 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
64204 d->port.lock.
64205
64206 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64207 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
64208 when handler == SIG_ERR, not when handler != SIG_ERR.
64209
64210 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64211
64212 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64213 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64214 definitions.
64215
64216 accept4 for GNU Hurd.
64217 * include/sys/socket.h (__libc_accept4): New prototype.
64218 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
64219 to implement __libc_accept4.
64220 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64221 __libc_accept4.
64222 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64223
64224 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64225 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64226 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64227 signal-defines.sym.
64228
64229 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64230
64231 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64232
64233 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64234
64235 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64236 assertion on O_CLOEXEC flag.
64237 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64238 * hurd/intern-fd.c: Likewise.
64239 * hurd/port2fd.c: Likewise.
64240
64241 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64242
64243 [BZ #3906]
64244 * bits/in.h (IPV6_PKTINFO): Define new macro.
64245 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64246
64247 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64248
64249 [BZ #13954]
64250 [BZ #13955]
64251 [BZ #13956]
64252 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64253 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64254 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64255 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64256 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64257 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64258 * math/libm-test.inc (logb_test) : Additional logb tests.
64259
64260 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
64261 Andreas Jaeger <aj@suse.de>
64262
64263 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64264 * configure: Regenerated.
64265 * config.h.in (LINK_OBSOLETE_RPC): New macro.
64266 * config.make.in (link-obsolete-rpc): New substituted variable.
64267 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64268 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64269 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64270 (shared-only-routines): Don't set it under [link-obsolete-rpc],
64271 so that libc.a contains the symbols.
64272 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64273 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64274 * sunrpc/auth_none.c: Likewise.
64275 * sunrpc/auth_unix.c: Likewise.
64276 * sunrpc/authdes_prot.c: Likewise.
64277 * sunrpc/authuxprot.c: Likewise.
64278 * sunrpc/clnt_gen.c: Likewise.
64279 * sunrpc/clnt_perr.c: Likewise.
64280 * sunrpc/clnt_raw.c: Likewise.
64281 * sunrpc/clnt_simp.c: Likewise.
64282 * sunrpc/clnt_tcp.c: Likewise.
64283 * sunrpc/clnt_udp.c: Likewise.
64284 * sunrpc/clnt_unix.c: Likewise.
64285 * sunrpc/des_crypt.c: Likewise.
64286 * sunrpc/des_soft.c: Likewise.
64287 * sunrpc/get_myaddr.c: Likewise.
64288 * sunrpc/key_call.c: Likewise.
64289 * sunrpc/key_prot.c: Likewise.
64290 * sunrpc/netname.c: Likewise.
64291 * sunrpc/pm_getmaps.c: Likewise.
64292 * sunrpc/pm_getport.c: Likewise.
64293 * sunrpc/pmap_clnt.c: Likewise.
64294 * sunrpc/pmap_prot.c: Likewise.
64295 * sunrpc/pmap_prot2.c: Likewise.
64296 * sunrpc/pmap_rmt.c: Likewise.
64297 * sunrpc/publickey.c: Likewise.
64298 * sunrpc/rpc_cmsg.c: Likewise.
64299 * sunrpc/rpc_common.c: Likewise.
64300 * sunrpc/rpc_dtable.c: Likewise.
64301 * sunrpc/rpc_prot.c: Likewise.
64302 * sunrpc/rpc_thread.c: Likewise.
64303 * sunrpc/rtime.c: Likewise.
64304 * sunrpc/svc.c: Likewise.
64305 * sunrpc/svc_auth.c: Likewise.
64306 * sunrpc/svc_raw.c: Likewise.
64307 * sunrpc/svc_run.c: Likewise.
64308 * sunrpc/svc_tcp.c: Likewise.
64309 * sunrpc/svc_udp.c: Likewise.
64310 * sunrpc/svc_unix.c: Likewise.
64311 * sunrpc/svcauth_des.c: Likewise.
64312 * sunrpc/xcrypt.c: Likewise.
64313 * sunrpc/xdr.c: Likewise.
64314 * sunrpc/xdr_array.c: Likewise.
64315 * sunrpc/xdr_float.c: Likewise.
64316 * sunrpc/xdr_intXX_t.c: Likewise.
64317 * sunrpc/xdr_mem.c: Likewise.
64318 * sunrpc/xdr_rec.c: Likewise.
64319 * sunrpc/xdr_ref.c: Likewise.
64320 * sunrpc/xdr_sizeof.c: Likewise.
64321 * sunrpc/xdr_stdio.c: Likewise.
64322
64323 2012-05-10 Roland McGrath <roland@hack.frob.com>
64324
64325 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64326 change. Update copyright years.
64327
64328 2012-05-10 Joseph Myers <joseph@codesourcery.com>
64329
64330 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64331
64332 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
64333 Joseph Myers <joseph@codesourcery.com>
64334 Paul Pluzhnikov <ppluzhnikov@google.com>
64335
64336 [BZ #14012]
64337 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64338 requiring rpcgen.
64339 [cross-compiling] (extra-libs): Likewise.
64340 [cross-compiling] (extra-libs-others): Likewise.
64341 [cross-compiling] (librpcsvc-routines): Likewise.
64342 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64343 [cross-compiling] (omit-deps): Likewise.
64344 (sunrpc-CPPFLAGS): New variable.
64345 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64346 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64347 (cross-rpcgen-objs): New variable.
64348 (extra-objs): Append $(cross-rpcgen-objs).
64349 ($(cross-rpcgen-objs)): New rule.
64350 ($(objpfx)cross-rpcgen): Likewise.
64351 (rpcgen-cmd): Define to use $(built-program-file). Expand
64352 comment.
64353 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64354 ($(objpfx)x%.stmp): Likewise.
64355 * sunrpc/proto.h [IS_IN_build] (_): Define.
64356 [IS_IN_build] (_libc_intl_domainname): Likewise.
64357
64358 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
64359
64360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
64361 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
64362 and R_X86_64_TPOFF64.
64363
64364 2012-05-10 Joseph Myers <joseph@codesourcery.com>
64365
64366 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
64367 sysdeps/unix/sysv/syscalls.list.
64368 (stime): Likewise.
64369 (utime): Likewise.
64370 * sysdeps/unix/sysv/syscalls.list: Remove file.
64371
64372 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
64373
64374 [BZ #3440]
64375 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
64376 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
64377 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
64378 (__LC_IDENTIFICATION): Make these macros useful in #if
64379 expressions, as required by C99.
64380
64381 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
64382
64383 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
64384 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
64385 after this.
64386
64387 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
64388
64389 * stdlib/longlong.h: Updated from GCC.
64390
64391 2012-05-09 Andreas Jaeger <aj@suse.de>
64392
64393 * nscd/nscd.c (run_modes): Make named enum, reorder so that
64394 default is first entry.
64395 (run_mode): Set type.
64396 (main): Remove informal message about syslog.
64397 (options): Fix typo.
64398
64399 [BZ #14053]
64400 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
64401 to asm.
64402 (lrint): Likewise.
64403 (llrintf): Likewise.
64404 (llrint): Likewise.
64405 (rint): Likewise.
64406 (rintf): Likewise.
64407 (nearbyint): Likewise.
64408 (nearbyintf): Likewise.
64409
64410 2012-05-09 Andreas Jaeger <aj@suse.de>
64411 Pedro Alves <palves@redhat.com>
64412
64413 * nscd/nscd.c (run_mode): Use enum.
64414 (main): Cleanup coding style issue.
64415
64416 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
64417 Andreas Jaeger <aj@suse.de>
64418
64419 * nscd/nscd.c (go_background): Replaced with...
64420 (run_mode): ... this.
64421 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
64422 (options): Add -F --foreground.
64423 (main): Implement it.
64424 (parse_opt): Parse it.
64425
64426 2012-05-09 Andreas Jaeger <aj@suse.de>
64427
64428 [BZ #14083]
64429 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
64430 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
64431 -Wconversion warning.
64432 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
64433 Likewise.
64434
64435 2012-05-09 Joseph Myers <joseph@codesourcery.com>
64436
64437 * conform/data/locale.h-data (NULL): Use macro-constant. Require
64438 == 0.
64439 (LC_ALL): Use macro-int-constant.
64440 (LC_COLLATE): Likewise.
64441 (LC_CTYPE): Likewise.
64442 (LC_MESSAGES): Likewise.
64443 (LC_MONETARY): Likewise.
64444 (LC_NUMERIC): Likewise.
64445 (LC_TIME): Likewise.
64446 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
64447 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64448 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64449 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
64450 Specify type.
64451 [C99-based standards] (float_t): Expect type.
64452 [C99-based standards] (double_t): Expect type.
64453 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
64454 type.
64455 [C99-based standards] (HUGE_VALL): Likewise.
64456 [C99-based standards] (INFINITY): Likewise.
64457 [C99-based standards] (NAN): Likewise.
64458 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64459 [C99-based standards] (FP_NAN): Likewise.
64460 [C99-based standards] (FP_NORMAL): Likewise.
64461 [C99-based standards] (FP_SUBNORMAL): Likewise.
64462 [C99-based standards] (FP_ZERO): Likewise.
64463 [C99-based standards] (FP_FAST_FMA): Use
64464 optional-macro-int-constant. Specify type. Require == 1.
64465 [C99-based standards] (FP_FAST_FMAF): Likewise.
64466 [C99-based standards] (FP_FAST_FMAL): Likewise.
64467 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64468 [C99-based standards] (FP_ILOGBNAN): Likewise.
64469 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64470 Specify type.
64471 [C99-based standards] (MATH_ERREXCEPT): Likewise.
64472 [C99-based standards] (math_errhandling): Specify type.
64473 [ISO99 || ISO11] (signgam): Do not allow.
64474 [non-C99-based standards] (copysignf): Do not allow.
64475 [non-C99-based standards] (exp2f): Likewise.
64476 [non-C99-based standards] (log2f): Likewise.
64477 [non-C99-based standards] (modff): Allow.
64478 [non-C99-based standards] (erff): Do not allow.
64479 [non-C99-based standards] (erfcf): Likewise.
64480 [non-C99-based standards] (gammaf): Likewise.
64481 [non-C99-based standards] (hypotf): Likewise.
64482 [non-C99-based standards] (j0f): Likewise.
64483 [non-C99-based standards] (j1f): Likewise.
64484 [non-C99-based standards] (jnf): Likewise.
64485 [non-C99-based standards] (lgammaf): Likewise.
64486 [non-C99-based standards] (tgammaf): Likewise.
64487 [non-C99-based standards] (y0f): Likewise.
64488 [non-C99-based standards] (y1f): Likewise.
64489 [non-C99-based standards] (ynf): Likewise.
64490 [non-C99-based standards] (isnanf): Likewise.
64491 [non-C99-based standards] (acoshf): Likewise.
64492 [non-C99-based standards] (asinhf): Likewise.
64493 [non-C99-based standards] (atanhf): Likewise.
64494 [non-C99-based standards] (cbrtf): Likewise.
64495 [non-C99-based standards] (expm1f): Likewise.
64496 [non-C99-based standards] (ilogbf): Likewise.
64497 [non-C99-based standards] (log1pf): Likewise.
64498 [non-C99-based standards] (logbf): Likewise.
64499 [non-C99-based standards] (nextafterf): Likewise.
64500 [non-C99-based standards] (remainderf): Likewise.
64501 [non-C99-based standards] (rintf): Likewise.
64502 [non-C99-based standards] (scalbf): Likewise.
64503 [non-C99-based standards] (copysignl): Likewise.
64504 [non-C99-based standards] (exp2l): Likewise.
64505 [non-C99-based standards] (log2l): Likewise.
64506 [non-C99-based standards] (modfl): Allow.
64507 [non-C99-based standards] (erfl): Do not allow.
64508 [non-C99-based standards] (erfcl): Likewise.
64509 [non-C99-based standards] (gammal): Likewise.
64510 [non-C99-based standards] (hypotl): Likewise.
64511 [non-C99-based standards] (j0l): Likewise.
64512 [non-C99-based standards] (j1l): Likewise.
64513 [non-C99-based standards] (jnl): Likewise.
64514 [non-C99-based standards] (lgammal): Likewise.
64515 [non-C99-based standards] (tgammal): Likewise.
64516 [non-C99-based standards] (y0l): Likewise.
64517 [non-C99-based standards] (y1l): Likewise.
64518 [non-C99-based standards] (ynl): Likewise.
64519 [non-C99-based standards] (isnanl): Likewise.
64520 [non-C99-based standards] (acoshl): Likewise.
64521 [non-C99-based standards] (asinhl): Likewise.
64522 [non-C99-based standards] (atanhl): Likewise.
64523 [non-C99-based standards] (cbrtl): Likewise.
64524 [non-C99-based standards] (expm1l): Likewise.
64525 [non-C99-based standards] (ilogbl): Likewise.
64526 [non-C99-based standards] (log1pl): Likewise.
64527 [non-C99-based standards] (logbl): Likewise.
64528 [non-C99-based standards] (nextafterl): Likewise.
64529 [non-C99-based standards] (remainderl): Likewise.
64530 [non-C99-based standards] (rintl): Likewise.
64531 [non-C99-based standards] (scalbl): Likewise.
64532 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64533 [non-C99-based standards] (FP_*): Do not allow.
64534 [C99-based standards] (FP_*): Change to
64535 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64536 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64537 allow.
64538 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64539 (SIG_ERR): Likewise.
64540 [X/Open-based standards] (SIG_HOLD): Likewise.
64541 (SIG_IGN): Likewise.
64542 (SIGABRT): Use macro-int-constant. Specify type. Require
64543 positive value.
64544 (SIGFPE): Likewise.
64545 (SIGILL): Likewise.
64546 (SIGINT): Likewise.
64547 (SIGSEGV): Likewise.
64548 (SIGTER): Likewise.
64549 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64550 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64551 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64552 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64553 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64554 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64555 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64556 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64557 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64558 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64559 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64560 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64561 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64562 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64563 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64564 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64565 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64566 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64567 [X/Open-based standards] (SIGTRAP): Likewise.
64568 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64569 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64570 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64571 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64572 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64573 allow.
64574
64575 2012-05-08 Ian Wienand <ianw@vmware.com>
64576
64577 [BZ #14080]
64578 * time/tzset.c (__tzset_parse_tz): Update default rules for
64579 daylight time changes in the Energy Policy Act of 2005.
64580
64581 2012-05-09 Andreas Jaeger <aj@suse.de>
64582
64583 [BZ #13983]
64584 * elf/ldconfig.c (parse_conf): Change string to make clear that
64585 ldconfig only issued a warning if ld.so.conf does not exist.
64586
64587 2012-05-08 David S. Miller <davem@davemloft.net>
64588
64589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64590 movxtod instead of popping the value on the stack.
64591
64592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64593
64594 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
64595
64596 * config.h.in: Add HAVE_ARM_PCS_VFP.
64597
64598 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
64599
64600 [BZ #13979]
64601 * include/features.h: Warn if user requests __FORTIFY_SOURCE
64602 checking but the checks are disabled for any reason.
64603
64604 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
64605
64606 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64607 and ELF64_R_TYPE with ELFW(R_TYPE).
64608
64609 2012-05-08 Joseph Myers <joseph@codesourcery.com>
64610
64611 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64612 (ulimit): Likewise.
64613
64614 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64615 (settimeofday): Likewise.
64616
64617 2012-05-08 Mike Frysinger <vapier@gentoo.org>
64618
64619 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
64620 a struct th_u2 inside the union, and move tu_block/tu_code into
64621 a new th_u3 union of tu_block/tu_code inside of that. Move
64622 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
64623 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
64624 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64625 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64626 (th_stuff): Change to th_u1.tu_stuff.
64627 (th_data): Define.
64628 (th_msg): Change to th_u1.th_u2.tu_data.
64629
64630 2012-05-07 David S. Miller <davem@davemloft.net>
64631
64632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64633
64634 [BZ #14074]
64635 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64636 (SETUP_PIC_REG): Use it.
64637 (SETUP_PIC_REG_LEAF): Use it.
64638
64639 2012-05-07 Joseph Myers <joseph@codesourcery.com>
64640
64641 [BZ #13885]
64642 [BZ #13923]
64643 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64644 USE_AS_EXPM1L.
64645 (EXPL_FINITE): Likewise.
64646 (FLDLOG): Likewise.
64647 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64648 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64649 e_expl.S.
64650 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64651 USE_AS_EXPM1L.
64652 (EXPL_FINITE): Likewise.
64653 (FLDLOG): Likewise.
64654 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64655 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64656 e_expl.S.
64657 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
64658 test of -max_value argument for long double.
64659 * sysdeps/i386/fpu/libm-test-ulps: Update.
64660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64661
64662 2012-05-06 David S. Miller <davem@davemloft.net>
64663
64664 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64665 quad soft-float symbols whose references which are compiler
64666 generated.
64667 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64668
64669 2012-05-06 Joseph Myers <joseph@codesourcery.com>
64670
64671 [BZ #13884]
64672 [BZ #13914]
64673 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64674 USE_AS_EXP10L.
64675 (EXPL_FINITE): Likewise.
64676 (FLDLOG): Likewise.
64677 (c0): Likewise.
64678 (c1): Likewise.
64679 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
64680 Adjust comments for base varying.
64681 (__expl_finite): Change alias to EXPL_FINITE.
64682 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64683 e_expl.S.
64684 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64685 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64686 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64687 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64688 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64689 USE_AS_EXP10L.
64690 (EXPL_FINITE): Likewise.
64691 (FLDLOG): Likewise.
64692 (c0): Likewise.
64693 (c1): Likewise.
64694 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
64695 Adjust comments for base varying.
64696 (__expl_finite): Change alias to EXPL_FINITE.
64697 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
64698 tests for bugs.
64699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64700
64701 [BZ #14064]
64702 * math/libm-test.inc (check_float_internal): Correct ulp
64703 calculation for subnormal expected results.
64704
64705 2012-05-06 Andreas Jaeger <aj@suse.de>
64706
64707 * Makeconfig (+math-flags): New, set to -frounding-math.
64708 (+cflags): Add +math-flags so that all of glibc gets compiled with
64709 it.
64710
64711 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64712
64713 2012-05-05 Joseph Myers <joseph@codesourcery.com>
64714
64715 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64716 Disable one test.
64717
64718 [BZ #13787]
64719 [BZ #13922]
64720 [BZ #14036]
64721 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64722 (__ieee754_expl): Allow for and saturate large arguments.
64723 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64724 (u_threshold): Likewise.
64725 (__exp): Call __ieee754_exp before checking for overflow and
64726 underflow.
64727 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64728 (u_threshold): Likewise.
64729 (__expf): Call __ieee754_expf before checking for overflow and
64730 underflow.
64731 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64732 (u_threshold): Likewise.
64733 (__expl): Call __ieee754_expl before checking for overflow and
64734 underflow.
64735 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64736 (__ieee754_expl): Allow for and saturate large arguments.
64737 * math/libm-test.inc (exp_test): Add another test. Do not allow
64738 missing overflow exception on overflow.
64739 (expm1_test): Do not allow missing overflow exception on overflow.
64740
64741 * sysdeps/i386/fpu/e_expl.c: Move to ...
64742 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
64743 rather than using inline asm.
64744 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64745 * sysdeps/x86_64/fpu/e_expl.S: Copy from
64746 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64747
64748 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64749 (nice): Likewise.
64750 (poll): Likewise.
64751 (signal): Likewise.
64752 (time): Likewise.
64753 (times): Likewise.
64754
64755 2012-05-04 Joseph Myers <joseph@codesourcery.com>
64756
64757 * sysdeps/unix/syscalls.list (adjtime): Add entry from
64758 sysdeps/unix/common/syscalls.list.
64759 (fchmod): Likewise.
64760 (fchown): Likewise.
64761 (ftruncate): Likewise.
64762 (getrusage): Likewise.
64763 (gettimeofday): Likewise.
64764 (setpgid): Likewise.
64765 (setregid): Likewise.
64766 (setreuid): Likewise.
64767 (sigaction): Likewise.
64768 (truncate): Likewise.
64769 (vhangup): Likewise.
64770 * sysdeps/unix/common/syscalls.list: Remove file.
64771 * sysdeps/unix/bsd/Implies: Don't include unix/common.
64772 * sysdeps/unix/sysv/linux/Implies: Likewise.
64773
64774 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
64775
64776 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64778 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64779 Moved to ...
64780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64781 Here.
64782 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64783 to ...
64784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64785 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64786 to ...
64787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64788 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64789 to ...
64790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64791 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64792 to ...
64793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64794 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64795 to ...
64796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64797 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64798 to ...
64799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64800 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64801 to ...
64802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64803 Here.
64804 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64805 to ...
64806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64807 Here.
64808 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64809 to ...
64810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64811 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64812 Moved to ...
64813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64814 Here.
64815 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64816 to ...
64817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64818
64819 2012-05-04 Joseph Myers <joseph@codesourcery.com>
64820
64821 * sysdeps/unix/common/bits/dirent.h: Remove file.
64822 * sysdeps/unix/common/bits/fcntl.h: Likewise.
64823
64824 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64825 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64826 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64827 * sysdeps/unix/bsd/isatty.c: Likewise.
64828 * sysdeps/unix/bsd/tcdrain.c: Likewise.
64829 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64830 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64831
64832 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64833
64834 [BZ #13563]
64835 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64836 long double comparison inaccuracies.
64837 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64839
64840 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
64841
64842 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64844
64845 2012-05-04 Joseph Myers <joseph@codesourcery.com>
64846
64847 [BZ #14049]
64848 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64849 nonzero digits before rounding a hex value.
64850 * stdlib/tst-strtod.c (tests): Add another test.
64851
64852 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64853
64854 * sysdeps/s390/fpu/libm-test-ulps: Update.
64855
64856 2012-05-03 Andreas Jaeger <aj@suse.de>
64857
64858 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64859 does not get optimized out.
64860 (malloc_opt_barrier): New.
64861
64862 2012-05-03 Andreas Jaeger <aj@suse.de>
64863 Roland McGrath <roland@hack.frob.com>
64864
64865 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64866 intermediate file deletion.
64867 (generated): Add .symlist files.
64868
64869 2012-05-03 Joseph Myers <joseph@codesourcery.com>
64870
64871 [BZ #13775]
64872 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64873 Redirect under this condition.
64874 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64875 [__USE_GNU] (__dprintf_chk): Not under this condition.
64876 [__USE_GNU] (__vdprintf_chk): Likewise.
64877 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64878 under this condition.
64879 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64880 [__USE_XOPEN2K8] (dprintf): Define under this condition.
64881 [__USE_XOPEN2K8] (vdprintf): Likewise.
64882 [__USE_GNU] (__dprintf_chk): Not under this condition.
64883 [__USE_GNU] (__vdprintf_chk): Likewise.
64884 [__USE_GNU] (dprintf): Likewise.
64885 [__USE_GNU] (vdprintf): Likewise.
64886
64887 2012-05-03 Roland McGrath <roland@hack.frob.com>
64888
64889 * elf/Makefile (common-generated): Set this instead of generated for
64890 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
64891 $(all-built-dso)-derived lists.
64892
64893 2012-05-03 Andreas Jaeger <aj@suse.de>
64894
64895 * sysdeps/i386/fpu/libm-test-ulps: Update.
64896
64897 * FAQ: Removed.
64898 * FAQ.in: Likewise.
64899 * scripts/gen-FAQ.pl: Likewise.
64900 * manual/install.texi (Installation): Point to online location of
64901 FAQ.
64902 * Makefile (files-for-dist): Remove FAQ.
64903 (FAQ): Remove.
64904
64905 2012-05-02 Allan McRae <allan@archlinux.org>
64906
64907 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64908 (LDFLAGS-reldepmod5.so): Likewise.
64909 (LDFLAGS-reldep6mod1.so): Likewise.
64910 (LDFLAGS-reldep6mod4.so): Likewise.
64911 (LDFLAGS-reldep8mod3.so): Likewise.
64912 (LDFLAGS-unload4mod1.so): Likewise.
64913 (LDFLAGS-unload4mod2.so): Likewise.
64914 (LDFLAGS-tst-initorder): Likewise.
64915 (LDFLAGS-tst-initordera2.so): Likewise.
64916 (LDFLAGS-tst-initordera3.so): Likewise.
64917 (LDFLAGS-tst-initordera4.so): Likewise.
64918 (LDFLAGS-tst-initorderb2.so): Likewise.
64919 (LDFLAGS-noload): Likewise.
64920 (LDFLAGS-next): Likewise.
64921 (LDFLAGS-order2mod1.so): Likewise.
64922 (LDFLAGS-order2mod2.so): Likewise.
64923 (LDFLAGS-tst-initorder2): Likewise.
64924 (LDFLAGS-tst-initorder2a.so): Likewise.
64925 (LDFLAGS-tst-initorder2b.so): Likewise.
64926 (LDFLAGS-tst-initorder2c.so): Likewise.
64927 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64928
64929 2012-05-02 David S. Miller <davem@davemloft.net>
64930
64931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64932
64933 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
64934
64935 [BZ #14055]
64936 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64937
64938 2012-05-02 Andreas Jaeger <aj@suse.de>
64939
64940 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64941 since we manipulate rounding mode.
64942 (CPPFLAGS-test-idouble.c): Likewise.
64943 (CPPFLAGS-test-ifloat.c): Likewise.
64944 (CFLAGS-test-ldouble.c): Likewise.
64945 (CFLAGS-test-double.c): Likewise.
64946 (CFLAGS-test-float.c): Likewise.
64947 (CFLAGS-test-misc.c): Likewise.
64948 (CFLAGS-test-test-fenv.c): Likewise.
64949
64950 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64951
64952 [BZ #2550]
64953 [BZ #2570]
64954 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64955 comparisons to determine direction to adjust input.
64956
64957 2012-05-01 Roland McGrath <roland@hack.frob.com>
64958
64959 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64960 output to the target.
64961
64962 * scripts/localplt.awk: New file.
64963 * elf/Makefile ($(objpfx)check-localplt): Target removed.
64964 (check-localplt-CFLAGS): Variable removed.
64965 ($(all-built-dso:=.jmprel)): New static pattern rule.
64966 (generated): Add those targets.
64967 (localplt-built-dso): New variable.
64968 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64969
64970 * elf/check-localplt.c: File removed.
64971
64972 * scripts/check-execstack.awk: New file.
64973 * elf/Makefile ($(objpfx)check-execstack): Target removed.
64974 (check-execstack-CFLAGS): Variable removed.
64975 ($(objpfx)check-execstack.h): Target removed.
64976 ($(objpfx)execstack-default): New target.
64977 (generated): Add that instead of check-execstack.h.
64978 ($(all-built-dso:=.phdr)): New static pattern rule.
64979 (generated): Add those targets.
64980 * elf/check-execstack.c: File removed.
64981
64982 * scripts/check-textrel.awk: New file.
64983 * elf/Makefile ($(objpfx)check-textrel): Target removed.
64984 (check-textrel-CFLAGS): Variable removed.
64985 (all-built-dso): Use := to define.o
64986 ($(all-built-dso:=.dyn)): New static pattern rule.
64987 (generated): Add those targets.
64988 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64989 * config.make.in (READELF): New substituted variable.
64990 * elf/check-textrel.c: File removed.
64991
64992 2012-05-01 Joseph Myers <joseph@codesourcery.com>
64993
64994 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64995 allow.
64996 * conform/data/ctype.h-data [C99-based standards] (isblank):
64997 Expect function.
64998 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64999 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
65000 [ISO || ISO99 || ISO11] (*_t): Do not allow.
65001 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
65002 Specify type. Require positive value.
65003 (EILSEQ): Likewise.
65004 (ERANGE): Likewise.
65005 [ISO || POSIX] (EILSEQ): Do not expect.
65006 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
65007 Specify type. Require positive value.
65008 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
65009 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
65010 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
65011 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
65012 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
65013 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
65014 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
65015 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
65016 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
65017 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
65018 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
65019 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
65020 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
65021 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
65022 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
65023 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
65024 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
65025 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
65026 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
65027 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
65028 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
65029 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
65030 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
65031 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
65032 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
65033 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
65034 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
65035 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
65036 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
65037 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
65038 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
65039 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
65040 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
65041 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
65042 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
65043 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
65044 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
65045 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
65046 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
65047 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
65048 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
65049 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
65050 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
65051 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
65052 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
65053 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
65054 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
65055 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65056 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
65057 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
65058 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
65059 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
65060 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
65061 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
65062 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
65063 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
65064 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
65065 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
65066 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
65067 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
65068 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
65069 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
65070 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
65071 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
65072 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
65073 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
65074 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
65075 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
65076 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
65077 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
65078 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
65079 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65080 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65081 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65082 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65083 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65084 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65085 Require >= 2.
65086 (FLT_ROUNDS): Expect as macro, not constant.
65087 (FLT_MANT_DIG): Use macro-int-constant.
65088 (DBL_MANT_DIG): Likewise.
65089 (LDBL_MANT_DIG): Likewise.
65090 (FLT_DIG): Likewise.
65091 (DBL_DIG): Likewise.
65092 (LDBL_DIG): Likewise.
65093 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
65094 (DBL_MIN_EXP): Likewise.
65095 (LDBL_MIN_EXP): Likewise.
65096 (FLT_MAX_EXP): Use macro-int-constant.
65097 (DBL_MAX_EXP): Likewise.
65098 (LDBL_MAX_EXP): Likewise.
65099 (FLT_MAX_10_EXP): Likewise.
65100 (DBL_MAX_10_EXP): Likewise.
65101 (LDBL_MAX_10_EXP): Likewise.
65102 (FLT_MAX): Use macro-constant.
65103 (DBL_MAX): Likewise.
65104 (LDBL_MAX): Likewise.
65105 (FLT_EPSILON): Use macro-constant. Give upper bound.
65106 (DBL_EPSILON): Likewise.
65107 (LDBL_EPSILON): Likewise.
65108 (FLT_MIN): Likewise.
65109 (DBL_MIN): Likewise.
65110 (LDBL_MIN): Likewise.
65111 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
65112 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
65113 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
65114 [ISO11] (FLT_HAS_SUBNORM): Likewise.
65115 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
65116 [ISO11] (DBL_DECIMAL_DIG): Likewise.
65117 [ISO11] (FLT_DECIMAL_DIG): Likewise.
65118 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
65119 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
65120 [ISO11] (FLT_TRUE_MIN): Likewise.
65121 [ISO11] (LDBL_TRUE_MIN): Likewise.
65122 [ISO || ISO99 || ISO11] (*_t): Do not allow.
65123 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
65124 (SCHAR_MIN): Use macro-int-constant. Specify type.
65125 (SCHAR_MAX): Likewise.
65126 (UCHAR_MAX): Likewise.
65127 (CHAR_MIN): Likewise.
65128 (CHAR_MAX): Likewise.
65129 (MB_LEN_MAX): Use macro-int-constant.
65130 (SHRT_MIN): Use macro-int-constant. Specify type.
65131 (SHRT_MAX): Likewise.
65132 (USHRT_MAX): Likewise.
65133 (INT_MAX): Likewise.
65134 (INT_MIN): Use macro-int-constant. Specify type. Make upper
65135 bound negative.
65136 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
65137 bound with "U".
65138 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
65139 bound with "L".
65140 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
65141 bound negative. Suffix upper bound with "L".
65142 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
65143 bound with "UL".
65144 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
65145 Specify type.
65146 [C99-based standards] (LLONG_MAX): Likewise.
65147 [C99-based standards] (ULLONG_MAX): Likewise.
65148 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
65149 == 0.
65150 [ISO11] (max_align_t): Require type.
65151 [ISO || ISO99 || ISO11] (*_t): Do not allow.
65152
65153 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
65154 from $CFLAGS, without defining away __attribute__ calls.
65155 (checknamespace): Use $CFLAGS_namespace.
65156
65157 * conform/conformtest.pl (@keywords): Only include C99 keywords
65158 for standards based on C99 or C11.
65159
65160 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
65161 Disable tests.
65162 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
65163 UNIX98]: Likewise.
65164
65165 * conform/conformtest.pl: Handle "macro-int-constant" and test for
65166 usability of symbols in #if.
65167
65168 * conform/conformtest.pl: If macro or constant types start
65169 "promoted:", expect the symbol to be of the following type
65170 promoted by the integer promotions.
65171
65172 * conform/conformtest.pl: Parse all "constant" and "macro" lines
65173 in one place. Also handle "macro-constant".
65174
65175 * conform/conformtest.pl: Only accept expected macro values with
65176 "==". Parse all "macro" lines in one place.
65177 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
65178
65179 * conform/conformtest.pl: Handle braced types on "constant" lines
65180 instead of handling "typed-constant".
65181 * conform/data/signal.h-data: Use "constant" instead of
65182 "typed-constant".
65183
65184 * conform/conformtest.pl: Handle "optional-" at start of lines in
65185 one place rather than duplicating several cases. Handle each
65186 format of "macro" line with initial "optional-".
65187
65188 * conform/conformtest.pl: Only accept expected constant or
65189 optional-constant values with "==". Parse all "constant" lines in
65190 one place. Parse all "optional-constant" lines in one place.
65191 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
65192 * conform/data/fmtmsg.h-data: Likewise.
65193 * conform/data/netinet/in.h-data: Likewise.
65194 * conform/data/tar.h-data: Likewise.
65195 * conform/data/limits.h-data: Use "==" form on "constant" and
65196 "optional-constant" lines.
65197
65198 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
65199 Use -std=c99 for XOPEN2K.
65200 (@knownproblems): Remove.
65201 (newtoken): Don't check %isknown.
65202
65203 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
65204 Do not expect macro.
65205 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65206 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65207 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65208 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65209 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65210 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65211 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65212 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65213 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65214 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65215 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65216 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65217 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65218 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65219 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65220 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65221 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65222 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65223 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65224 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65225 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65226 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65227 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65228 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65229 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65230 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65231 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65232 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65233 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65234 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65235 [XPG3] (acosh): Likewise.
65236 [XPG3] (asinh): Likewise.
65237 [XPG3] (atanh): Likewise.
65238 [XPG3] (cbrt): Likewise.
65239 [XPG3] (expm1): Likewise.
65240 [XPG3] (ilogb): Likewise.
65241 [XPG3] (log1p): Likewise.
65242 [XPG3] (logb): Likewise.
65243 [XPG3] (nextafter): Likewise.
65244 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65245 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65246 [XPG3] (remainder): Likewise.
65247 [XPG3] (rint): Likewise.
65248 [XPG3 || XPG4 || UNIX98] (round): Likewise.
65249 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65250 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65251 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65252 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65253 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65254 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65255 [UNIX98 || XOPEN2K] (scalb): Expect.
65256 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65257 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65258 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65259 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65260 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65261 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65262 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65263 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65264 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65265 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65266 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65267 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65268 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65269 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65270 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65271 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65272 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65273 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65274 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65275 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65276 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65277 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65278 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65279 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65280 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65281 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65282 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65283 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65284 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65285 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65286 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65287 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65288 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65289 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65290 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65291 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65292 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65293 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65294 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65295 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65296 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65297 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65298 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65299 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65300 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65301 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65302 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65303 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65304 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65305 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65306 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65307 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65308 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65309 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65310 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65311 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65312 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65313 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65314 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65315 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65316 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65317 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65318 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65319 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65320 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65321 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65322 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65323 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65324 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65325 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65326 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65327 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65328 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65329 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65330 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65331 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65332 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65333 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65334 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65335 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65336 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65337 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65338 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65339 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65340 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65341 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65342 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65343 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65344 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65345 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65346 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65347 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65348 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65349 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65350 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65351 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65352 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65353 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65354 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65355 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65356 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
65357 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
65358 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
65359 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
65360 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
65361 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
65362 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
65363 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
65364 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
65365 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
65366 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
65367 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
65368 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
65369 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
65370 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
65371 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
65372 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
65373 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
65374 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
65375 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
65376 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
65377 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
65378 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
65379 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
65380 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
65381 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
65382 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
65383 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
65384 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
65385 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
65386 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
65387 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
65388 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
65389 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
65390 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
65391 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
65392 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
65393
65394 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
65395 _XOPEN_SOURCE_EXTENDED for XPG4.
65396
65397 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
65398
65399 * Makeconfig (localtime): Remove variable.
65400 (inst_localtime-file): Likewise.
65401
65402 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
65403
65404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
65405 Update.
65406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65407 Update.
65408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
65409 Update.
65410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65411 Update.
65412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
65413 Update.
65414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
65415 Update.
65416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65417 Update.
65418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
65419 Update.
65420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65421 Update.
65422
65423 2012-05-01 Joseph Myers <joseph@codesourcery.com>
65424
65425 [BZ #2550]
65426 [BZ #2570]
65427 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
65428 comparisons to determine direction to adjust input.
65429 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
65430 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
65431 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
65432 Likewise.
65433 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
65434 Likewise.
65435 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
65436 Likewise.
65437 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
65438 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
65439 Likewise.
65440 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
65441 Likewise.
65442 * math/libm-test.inc (nexttoward_test): Add more tests.
65443
65444 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
65445
65446 [BZ #14040]
65447 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
65448 in version GLIBC_2.1, not GLIBC_2.0.
65449 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
65450 Likewise.
65451
65452 2012-04-30 Joseph Myers <joseph@codesourcery.com>
65453
65454 [BZ #13942]
65455 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65456 (1 - x) * (1 + x).
65457 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65458 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65459 * math/libm-test.inc (acos_test): Add more tests.
65460 (asin_test): Likewise.
65461 * sysdeps/i386/fpu/libm-test-ulps: Update.
65462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65463
65464 [BZ #14034]
65465 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65466 of square root.
65467 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65468 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65469 * math/libm-test.inc (acos_test_tonearest): New function.
65470 (acos_test_towardzero): Likewise.
65471 (acos_test_downward): Likewise.
65472 (acos_test_upward): Likewise.
65473 (asin_test_tonearest): Likewise.
65474 (asin_test_towardzero): Likewise.
65475 (asin_test_downward): Likewise.
65476 (asin_test_upward): Likewise.
65477 (main): Call the new functions.
65478 * sysdeps/i386/fpu/libm-test-ulps: Update.
65479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65480
65481 [BZ #13884]
65482 [BZ #13924]
65483 * math/e_exp10.c: Include <float.h>.
65484 (__ieee754_exp10): Handle underflow here rather than multiplying
65485 large negative argument by M_LN10.
65486 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65487 of __ieee754_expf.
65488 * math/e_exp10l.c: Include <float.h>.
65489 (__ieee754_exp10l): Handle underflow here rather than multiplying
65490 large negative argument by M_LN10l.
65491 * math/libm-test.inc (exp10_test): Add another test. Do not allow
65492 spurious overflow exception on underflow.
65493
65494 2012-04-29 Marek Polacek <polacek@redhat.com>
65495
65496 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65497 (__fortify_function): New macro.
65498 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65499 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65500 __extern_always_inline.
65501 * libio/bits/stdio2.h: Likewise.
65502 * libio/bits/stdio.h: Likewise.
65503 * string/string.h: Likewise.
65504 * string/bits/string3.h: Likewise.
65505 * include/stdio.h: Likewise.
65506 * stdlib/bits/stdlib.h: Likewise.
65507 * stdlib/stdlib.h: Likewise.
65508 * rt/bits/mqueue2.h: Likewise.
65509 * rt/mqueue.h: Likewise.
65510 * posix/bits/unistd.h: Likewise.
65511 * posix/unistd.h: Likewise.
65512 * io/bits/poll2.h: Likewise.
65513 * io/bits/fcntl2.h: Likewise.
65514 * io/fcntl.h: Likewise.
65515 * io/sys/poll.h: Likewise.
65516 * misc/bits/syslog.h: Likewise.
65517 * misc/bits/syslog-ldbl.h: Likewise.
65518 * misc/sys/syslog.h: Likewise.
65519 * socket/bits/socket2.h: Likewise.
65520 * socket/sys/socket.h: Likewise.
65521 * debug/tst-chk1.c: Likewise.
65522 * wcsmbs/bits/wchar2.h: Likewise.
65523 * wcsmbs/bits/wchar-ldbl.h: Likewise.
65524 * wcsmbs/wchar.h: Likewise.
65525
65526 2012-04-29 Andreas Jaeger <aj@suse.de>
65527
65528 * Makerules (tests): Remove enable-check-abi protection.
65529 (check-abi-warn): Remove.
65530 (check-abi-%): Remove check-abi-warn usage.
65531
65532 * configure.in: Remove check-abi configure option.
65533 * configure: Regenerated.
65534 * config.make.in (enable-check-abi): Remove.
65535
65536 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
65537
65538 [BZ #14033]
65539 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65540 double functions to double *_finite functions.
65541
65542 [BZ #13941]
65543 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65544 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65545 LDBL_MIN_EXP.
65546 * stdio-common/Makefile (tests): Add tst-sprintf3.
65547 * stdio-common/tst-sprintf3.c: New file.
65548
65549 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65550 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65551
65552 2012-04-28 Joseph Myers <joseph@codesourcery.com>
65553
65554 * conform/conformtest.pl: Remove duplicate typed-constant
65555 handling.
65556
65557 2012-04-28 David S. Miller <davem@davemloft.net>
65558
65559 * Makerules (%.abilist): Add vpath on sysdep_dirs.
65560 (check-abi-%): Remove AWK script prerequisite and explicit
65561 abilist directory.
65562 (check-abi): Rewrite to just diff the symlist with the abilist.
65563 (config-tls, config-abi-config): Delete, no longer used.
65564 (update-abi-%): Remove AWK script and explicit abilist directory.
65565 (update-abi): Rewrite to simply compare and conditionally copy the
65566 symlist and the sysdep abilist file. Remove update-abi-config
65567 checks.
65568 * abilist/ld.abilist: Remove.
65569 * abilist/libBrokenLocale.abilist: Remove.
65570 * abilist/libanl.abilist: Remove.
65571 * abilist/libcrypt.abilist: Remove.
65572 * abilist/libdl.abilist: Remove.
65573 * abilist/librt.abilist: Remove.
65574 * abilist/libthread_db.abilist: Remove.
65575 * abilist/libutil.abilist: Remove.
65576 * scripts/extract-abilist.awk: Remove.
65577 * scripts/merge-abilist.awk: Remove.
65578 * sysdeps/generic/libcidn.abilist: New file.
65579 * sysdeps/generic/libnss_compat.abilist: New file.
65580 * sysdeps/generic/libnss_db.abilist: New file.
65581 * sysdeps/generic/libnss_dns.abilist: New file.
65582 * sysdeps/generic/libnss_files.abilist: New file.
65583 * sysdeps/generic/libnss_hesiod.abilist: New file.
65584 * sysdeps/generic/libnss_nis.abilist: New file.
65585 * sysdeps/generic/libnss_nisplus.abilist: New file.
65586 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65587 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65588 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65589 file.
65590 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65591 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65592 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65593 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65594 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65595 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65596 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65597 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65598 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65599 file.
65600 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65601 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65602 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65603 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65604 file.
65605 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65606 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65607 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65608 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65609 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65610 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65611 file.
65612 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65613 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65614 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65615 file.
65616 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65618 New file.
65619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65620 New file.
65621 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65622 New file.
65623 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65624 New file.
65625 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65626 New file.
65627 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65628 New file.
65629 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65630 New file.
65631 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65632 New file.
65633 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65634 New file.
65635 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65636 New file.
65637 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65638 New file.
65639 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65640 New file.
65641 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65642 New file.
65643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65644 file.
65645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65646 New file.
65647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65648 New file.
65649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65650 file.
65651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65652 New file.
65653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65654 New file.
65655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65656 file.
65657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65658 New file.
65659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65660 New file.
65661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65662 New file.
65663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65664 New file.
65665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65666 New file.
65667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65668 New file.
65669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65671 file.
65672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65673 New file.
65674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65675 file.
65676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65677 file.
65678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65679 file.
65680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65681 file.
65682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65683 file.
65684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65685 New file.
65686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65687 file.
65688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65689 file.
65690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65691 New file.
65692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65693 file.
65694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65696 file.
65697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65698 New file.
65699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65700 file.
65701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65702 file.
65703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65704 file.
65705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65706 file.
65707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65708 file.
65709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65710 New file.
65711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65712 file.
65713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65714 file.
65715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65716 New file.
65717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65718 file.
65719 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65720 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65721 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65722 file.
65723 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65724 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65725 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65726 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65727 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65728 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65729 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65730 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65731 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65732 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65735 file.
65736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65737 New file.
65738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65739 file.
65740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65741 file.
65742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65743 file.
65744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65745 file.
65746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65747 file.
65748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65749 New file.
65750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65751 New file.
65752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65753 file.
65754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65755 New file.
65756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65757 file.
65758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65760 file.
65761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65762 New file.
65763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65764 file.
65765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65766 file.
65767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65768 file.
65769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65770 file.
65771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65772 file.
65773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65774 New file.
65775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65776 New file.
65777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65778 file.
65779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65780 New file.
65781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65782 file.
65783
65784 2012-04-28 Joseph Myers <joseph@codesourcery.com>
65785
65786 * conform/conformtest.pl: Fix typo in handling typed-constant from
65787 allow-header.
65788
65789 2012-04-27 Joseph Myers <joseph@codesourcery.com>
65790
65791 * README: Cut down references to pre-2.6 Linux kernels and
65792 Linuxthreads. Update lists of configurations in libc and ports
65793 and sort alphabetically. Say "or newer" with Linux kernel version
65794 requirements.
65795
65796 * config.h.in [IS_IN_build]: Allow compiling without optimization.
65797
65798 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65799
65800 [BZ #887]
65801 * math/libm-test.inc (logb_test_downward): New test to expose
65802 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65803 rounding mode.
65804
65805 2012-04-27 Joseph Myers <joseph@codesourcery.com>
65806
65807 [BZ #14027]
65808 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65809 to be done.
65810 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65811 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65812
65813 2012-04-26 Joseph Myers <joseph@codesourcery.com>
65814
65815 * sysdeps/unix/i386/brk.S: Remove file.
65816 * sysdeps/unix/i386/dl-brk.S: Likewise.
65817 * sysdeps/unix/i386/pipe.S: Likewise.
65818 * sysdeps/unix/i386/sigreturn.S: Likewise.
65819 * sysdeps/unix/i386/syscall.S: Likewise.
65820 * sysdeps/unix/i386/vfork.S: Likewise.
65821 * sysdeps/unix/i386/wait.S: Likewise.
65822
65823 * sysdeps/unix/common/tcsendbrk.c: Move to ...
65824 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65825
65826 * configure.in (arm*-none*): Do not allow without
65827 --enable-hacker-mode.
65828 (netbsd*): Remove case setting base_os.
65829 (386bsd*): Likewise.
65830 (freebsd*): Likewise.
65831 (bsdi*): Likewise.
65832 (osf*): Likewise.
65833 (sunos*): Likewise.
65834 (ultrix*): Likewise.
65835 (newsos*): Likewise.
65836 (dynix*): Likewise.
65837 (*bsd*): Likewise.
65838 (sysv*): Likewise.
65839 (isc*): Likewise.
65840 (esix*): Likewise.
65841 (sco*): Likewise.
65842 (minix*): Likewise.
65843 (irix4*): Likewise.
65844 (irix6*): Likewise.
65845 (solaris[2-9]*): Likewise.
65846 (none): Likewise.
65847 * configure: Regenerated.
65848
65849 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65850
65851 [BZ #11521]
65852 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65853 overflow or cancellation in calculating denominator.
65854 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65855 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65856 down expression to avoid unexpected rounding in newer GCCs.
65857 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65858
65859 2012-04-26 David S. Miller <davem@davemloft.net>
65860
65861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65862 long-double compat symbols.
65863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65876
65877 2012-04-25 David S. Miller <davem@davemloft.net>
65878
65879 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65880 HWCAP_* values only after the memory barriers have been defined.
65881 (atomic_full_barrier): Define.
65882 (atomic_read_barrier): Define.
65883 (atomic_write_barrier): Define.
65884
65885 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
65886
65887 * shlib-versions: Add libgcc_s version information.
65888 * sysdeps/generic/libgcc_s.h: Remove.
65889 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65890 libgcc_s.h.
65891 * sysdeps/gnu/unwind-resume.c: Likewise.
65892 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65893
65894 2012-04-25 David S. Miller <davem@davemloft.net>
65895
65896 * sysdeps/unix/sparc/brk.S: Delete.
65897 * sysdeps/unix/sparc/dl-brk.S: Delete.
65898 * sysdeps/unix/sparc/pipe.S: Delete.
65899 * sysdeps/unix/sparc/sysdep.S: Delete.
65900 * sysdeps/unix/sparc/sysdep.h: Delete.
65901 * sysdeps/unix/sparc/vfork.S: Delete.
65902 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65903 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65904 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65905 (ret_ERRVAL, r0, r1, MOVE): Define.
65906 (JUMPTARGET): Remove.
65907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65908 sysdeps/unix/sparc/sysdep.h
65909 (ENTRY, END): Remove.
65910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65911
65912 2012-04-25 Joseph Myers <joseph@codesourcery.com>
65913
65914 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65915 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65916 -DIS_IN_build.
65917
65918 * timezone/README: Update upstream location and email address for
65919 tzcode and tzdata.
65920 * timezone/zdump.c: Update from tzcode 2012b.
65921 * timezone/zic.c: Likewise.
65922
65923 * configure.in (libc_cv_as_needed): Remove test.
65924 * configure: Regenerated.
65925 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65926 conditional definition.
65927 [$(have-as-needed) != yes] (no-as-needed): Likewise.
65928 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65929 * config.make.in (have-as-needed): Remove variable.
65930
65931 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
65932 Paul Pluzhnikov <ppluzhnikov@google.com>
65933
65934 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65935 strings correctly.
65936
65937 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
65938
65939 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65940 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65941 * sysdeps/sh/strlen.S: Likewise.
65942
65943 2012-04-24 Joseph Myers <joseph@codesourcery.com>
65944
65945 * sysdeps/unix/fork.S: Remove file.
65946 * sysdeps/unix/i386/fork.S: Likewise.
65947 * sysdeps/unix/sparc/fork.S: Likewise.
65948
65949 * sysdeps/unix/system.c: Remove file.
65950 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65951
65952 * sysdeps/unix/getegid.S: Remove file.
65953 * sysdeps/unix/geteuid.S: Likewise.
65954
65955 2012-04-24 Roland McGrath <roland@hack.frob.com>
65956
65957 * scripts/check-localplt.awk: New file.
65958 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65959 of diff.
65960 * scripts/data/localplt-generic.data: Add a comment.
65961
65962 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65963 NODE when __dir_mkfile failed.
65964 * sysdeps/mach/hurd/symlinkat.c: Likewise.
65965 Reported by Ludovic Courtès <ludo@gnu.org>.
65966
65967 2012-04-24 Andreas Jaeger <aj@suse.de>
65968
65969 * Makerules (common-clean): Also remove gen-as-const-headers
65970 files.
65971
65972 2012-04-24 Joseph Myers <joseph@codesourcery.com>
65973
65974 * Makerules (native-compile): Do not change working directory for
65975 build. Use $(OUTPUT_OPTION) in command.
65976 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65977
65978 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65979
65980 [BZ #13886]
65981 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65982 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65983 * math/libm-test.inc (floor_test): Add more tests.
65984 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65985
65986 2012-04-24 Joseph Myers <joseph@codesourcery.com>
65987
65988 * sysdeps/unix/getdents.c: Remove file.
65989 * sysdeps/unix/sysv/getdents.c: Likewise.
65990 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65991
65992 * sysdeps/unix/syscalls.list (madvise): Add syscall from
65993 sysdeps/unix/mman/syscalls.list.
65994 (mmap): Likewise.
65995 (mprotect): Likewise.
65996 (msync): Likewise.
65997 (munmap): Likewise.
65998 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65999 * sysdeps/unix/mman/syscalls.list: Remove.
66000 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
66001
66002 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
66003 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
66004 * configure: Regenerated.
66005 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
66006 $(libgcc_s_suffix).
66007 * config.make.in (libgcc_s_suffix): Remove variable.
66008
66009 2012-04-23 Joseph Myers <joseph@codesourcery.com>
66010
66011 * sysdeps/unix/sysv/gethostname.c: Move to ...
66012 * sysdeps/posix/gethostname.c: ... here.
66013
66014 * sysdeps/unix/execve.S: Remove file.
66015
66016 * sysdeps/unix/_exit.S: Remove file.
66017
66018 2012-04-23 Andreas Jaeger <aj@suse.de>
66019
66020 [BZ #13739]
66021 * manual/Makefile: Remove make dist support, there's no
66022 need for a stand-alone documentation tar ball.
66023 (TEXI2DVI): Define always, it's not in Makeconfig.
66024 (dist): Removed.
66025 (tar-it): Removed.
66026 (edition): Removed.
66027 (glibc-doc-$(edition).tar): Removed
66028 (%.Z): Removed.
66029 (%.gz): Removed.
66030 (%.uu): Removed.
66031 (ETAGS): Remove, it's in Makeconfig.
66032 (move-if-change): Remove, it's in Makeconfig.
66033
66034 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
66035
66036 [BZ #13970]
66037 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
66038 (strtod, strtof, strtold, strtol, strtoul, strtoq)
66039 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
66040 (strtod_l, strtof_l, strtold_l): Remove __wur.
66041 It is not necessarily an error to ignore strtol's return value.
66042 One can reliably look at the stored endptr to decide whether
66043 the number had valid syntax.
66044
66045 2012-04-21 Andreas Jaeger <aj@suse.de>
66046
66047 [BZ #13739]
66048 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
66049
66050 2012-04-21 Joseph Myers <joseph@codesourcery.com>
66051
66052 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
66053 * sysdeps/unix/sysv/Versions: Remove file.
66054
66055 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
66056
66057 [BZ #13927]
66058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66059
66060 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
66061
66062 [BZ #7064]
66063 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
66064 version from __vm86.
66065
66066 2012-04-20 Joseph Myers <joseph@codesourcery.com>
66067
66068 * sysdeps/unix/common/lxstat.c: Remove file.
66069 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
66070
66071 * sysdeps/unix/sysv/Makefile: Remove file.
66072
66073 * sysdeps/unix/sysv/direct.h: Remove file.
66074
66075 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
66076 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
66077 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
66078 * sysdeps/unix/sysv/bits/signum.h: Likewise.
66079 * sysdeps/unix/sysv/bits/stat.h: Likewise.
66080 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66081 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66082
66083 * sysdeps/unix/sysv/setrlimit.c: Remove file.
66084
66085 * sysdeps/unix/xmknod.c: Remove file.
66086 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66087
66088 * sysdeps/unix/sysv/settimeofday.c: Remove file.
66089
66090 * sysdeps/unix/sysv/i386/time.S: Remove file.
66091
66092 * sysdeps/unix/fxstat.c: Remove file.
66093 * sysdeps/unix/xstat.c: Likewise.
66094 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
66095
66096 * sysdeps/unix/sysv/sigaction.c: Remove file.
66097
66098 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66099 (sysdep_headers): Remove variable.
66100 [termio.h not in sysdep_headers] (generated): Likewise.
66101 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
66102 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
66103 * sysdeps/unix/sysv/tcdrain.c: Likewise.
66104 * sysdeps/unix/sysv/tcflow.c: Likewise.
66105 * sysdeps/unix/sysv/tcflush.c: Likewise.
66106 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
66107 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
66108 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
66109 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
66110 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
66111
66112 * sysdeps/unix/siglist.c: Remove file.
66113
66114 * sysdeps/unix/getppid.S: Remove file.
66115
66116 * sysdeps/unix/mkdir.c: Remove file.
66117 * sysdeps/unix/rmdir.c: Likewise.
66118
66119 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
66120
66121 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
66122 ERR_MAX value.
66123 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
66124 errlist-compat value.
66125
66126 2012-04-18 David S. Miller <davem@davemloft.net>
66127
66128 * sysdeps/generic/memcopy.h (reg_char): Delete.
66129 * debug/strcat_chk.c: Use char, not reg_char.
66130 * debug/strcpy_chk.c: Likewise.
66131 * debug/strncat_chk.c: Likewise.
66132 * debug/strncpy_chk.c: Likewise.
66133 * string/memchr.c: Likewise.
66134 * string/memrchr.c: Likewise.
66135 * string/rawmemchr.c: Likewise.
66136 * string/strcat.c: Likewise.
66137 * string/strchr.c: Likewise.
66138 * string/strchrnul.c: Likewise.
66139 * string/strcmp.c: Likewise.
66140 * string/strcpy.c: Likewise.
66141 * string/strncat.c: Likewise.
66142 * string/strncmp.c: Likewise.
66143 * string/strncpy.c: Likewise.
66144
66145 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
66146
66147 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
66148 __builtin_memcopy is called when src and dest ranges are known to not
66149 overlap.
66150
66151 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
66152
66153 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
66154 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
66155 fwd_align_merge macro call.
66156 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
66157 bwd_align_merge macro call.
66158 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66159
66160 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
66161
66162 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
66163 bwd_align_merge macros.
66164 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
66165 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
66166 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66167
66168 2012-04-18 David S. Miller <davem@davemloft.net>
66169
66170 * sysdeps/sparc/sparc64/memcopy.h: Delete.
66171
66172 2012-04-18 Andreas Jaeger <aj@suse.de>
66173
66174 [BZ# 6794]
66175 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
66176 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
66177 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66178
66179 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
66180 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
66181 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66182
66183 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
66184 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
66185 Adjust for changed ldbl-128 files.
66186
66187 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
66188 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
66189 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66190
66191 2012-04-17 David S. Miller <davem@davemloft.net>
66192
66193 * sysdeps/sparc/sparc32/memcopy.h: Delete.
66194
66195 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
66196
66197 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
66198 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
66199 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
66200 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
66201 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
66202 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
66203
66204 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66205
66206 [BZ #6794]
66207 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66208 * math/libm-test.inc: Add ilogb errno and exception tests.
66209 * math/w_ilogb.c: New file: ilogb wrapper.
66210 * math/w_ilogbf.c: New file: ilogbf wrapper.
66211 * math/w_ilogbl.c: New file: ilogbl wrapper.
66212 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66213 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66214 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66215 exception being thrown with 0.0 as argument.
66216 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66217 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66218 exception being thrown with 0.0 as argument.
66219 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66220 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66221 exception being thrown with 0.0 as argument.
66222 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66223 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66224 exception being thrown with 0.0 as argument.
66225 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66226 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66227 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66228 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66229 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66230 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66231 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66232 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66233 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66234
66235 2012-04-17 Petr Baudis <pasky@ucw.cz>
66236
66237 * include/sys/uio.h: Change __vector to __iovec to avoid clash
66238 with altivec.
66239
66240 2012-04-16 Marek Polacek <polacek@redhat.com>
66241
66242 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66243
66244 2012-04-16 Marek Polacek <polacek@redhat.com>
66245
66246 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66247 operands of fdivp instruction.
66248
66249 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
66250
66251 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66252 * elf/tst-auditmod3b.c: Likewise.
66253 * elf/tst-auditmod4b.c: Likewise.
66254 * elf/tst-auditmod5b.c: Likewise.
66255 * elf/tst-auditmod6b.c: Likewise.
66256 * elf/tst-auditmod6c.c: Likewise.
66257 * elf/tst-auditmod7b.c: Likewise.
66258 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66259 * sysdeps/x86_64/preconfigure.in: Likewise.
66260 * sysdeps/x86_64/preconfigure: Regenerated.
66261
66262 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
66263
66264 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66265 __ILP32__.
66266
66267 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
66268
66269 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66270 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66271
66272 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
66273
66274 [BZ #13973]
66275 * locale/iso-639.def: Fix gl language name. Spotted by
66276 Yaron Shahrabani.
66277
66278 2012-04-12 Roland McGrath <roland@hack.frob.com>
66279
66280 [BZ #2074]
66281 * libio/libio.h (__io_write_fn): Update comment.
66282
66283 2012-04-12 Petr Baudis <pasky@ucw.cz>
66284
66285 [BZ #2074]
66286 * stdio.texi (Hook Functions): The user provided writer function
66287 is not allowed to return -1.
66288
66289 2012-04-11 David S. Miller <davem@davemloft.net>
66290
66291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66292
66293 2012-04-11 Mike Frysinger <vapier@gentoo.org>
66294
66295 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66296 Add a leading slash to rtkaio.
66297
66298 2012-04-11 Jim Meyering <meyering@redhat.com>
66299
66300 [BZ #11959]
66301 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66302 It is not necessarily an error to ignore fwrite's return
66303 value. One can reliably use ferror to test for errors after
66304 the fact.
66305
66306 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
66307
66308 * bits/types.h (__snseconds_t): New type.
66309 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66310
66311 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66312 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66313 (__SNSECONDS_T_TYPE): Likewise.
66314 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66315 (__SNSECONDS_T_TYPE): Likewise.
66316 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66317 (__SNSECONDS_T_TYPE): Likewise.
66318
66319 2012-04-10 Andreas Jaeger <aj@suse.de>
66320
66321 [BZ #2636]
66322 * manual/time.texi (Processor Time): Return type of times is
66323 elapsed real time since an arbitrary point in the past.
66324 (CPU Time): Move CLK_TCK from here...
66325 (Processor Time): ...to here. Correct description.
66326 * manual/conf.texi (Constants for Sysconf): Correct description of
66327 _SC_CLK_TCK.
66328
66329 2012-04-10 David S. Miller <davem@davemloft.net>
66330
66331 [BZ #13967]
66332 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66333 where the is a gap between DT_REL(A) and DT_JMPREL.
66334
66335 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
66336
66337 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66338 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66339 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66340
66341 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
66342
66343 * elf/dl-support.c (_dl_inhibit_cache): New variable.
66344 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66345 (dl_main): Handle --inhibit-cache.
66346 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66347 _dl_inhibit_cache.
66348 * elf/dl-load.c (_dl_map_object): Use it.
66349 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66350
66351 2012-04-09 Joseph Myers <joseph@codesourcery.com>
66352
66353 [BZ #13872]
66354 * sysdeps/i386/fpu/e_powl.S (p78): New object.
66355 (__ieee754_powl): Saturate large exponents rather than testing for
66356 overflow of y*log2(x).
66357 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66358 * math/libm-test.inc (pow_test): Do not permit spurious overflow
66359 exceptions.
66360
66361 [BZ #11521]
66362 * math/s_ctan.c: Include <float.h>.
66363 (__ctan): Avoid internal overflow or cancellation in calculating
66364 denominator.
66365 * math/s_ctanf.c: Likewise.
66366 * math/s_ctanl.c: Likewise.
66367 * math/s_ctanh.c: Likewise.
66368 * math/s_ctanhf.c: Likewise.
66369 * math/s_ctanhl.c: Likewise.
66370 * math/libm-test.inc (ctan_test): Add more tests.
66371 (ctanh_test): Likewise.
66372 * sysdeps/i386/fpu/libm-test-ulps: Update.
66373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66374
66375 2012-04-09 Andreas Jaeger <aj@suse.de>
66376
66377 [BZ #6894]
66378 * manual/filesys.texi (Directory Entries): Mention that d_namlen
66379 is an optional BSD extension.
66380
66381 [BZ #10254]
66382 * manual/stdio.texi (Opening Streams): Document additional fopen
66383 parameters.
66384
66385 2012-04-09 Roland McGrath <roland@hack.frob.com>
66386
66387 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
66388 %eax without telling the compiler.
66389
66390 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
66391
66392 [BZ # 13963]
66393 * manual/install.texi: Use sourceware.org.
66394
66395 2012-04-09 Joseph Myers <joseph@codesourcery.com>
66396
66397 [BZ #13873]
66398 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
66399 (__ieee754_pow): Generate overflow and underflow using huge*huge
66400 and tiny*tiny rather than just returning constant infinity or zero
66401 for large exponents.
66402 * math/libm-test.inc (pow_test): Require overflow exceptions for
66403 applicable cases of large exponents.
66404
66405 [BZ #706]
66406 * sysdeps/i386/fpu/e_pow.S (p10): New object.
66407 (__ieee754_pow): Use iterative multiplication algorithm only for
66408 integer exponents with absolute value below 1024. Check for odd
66409 integer exponents when using algorithm for real exponents.
66410 * math/libm-test.inc (pow_test): Add more tests.
66411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66412
66413 2012-04-08 Joseph Myers <joseph@codesourcery.com>
66414
66415 [BZ #13705]
66416 * math/libm-test.inc (exp_test): Do not allow overflow exception
66417 on underflow test.
66418
66419 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
66420
66421 [BZ #13705]
66422 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
66423 instead of __kernel_standard_f.
66424
66425 2012-04-08 Mike Frysinger <vapier@gentoo.org>
66426
66427 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
66428 * sysdeps/x86_64/memset_chk.S: Likewise.
66429
66430 2012-04-08 Andreas Jaeger <aj@suse.de>
66431
66432 [BZ #10153]
66433 * manual/startup.texi (Environment Access): Describe return value
66434 for putenv and setenv.
66435
66436 [BZ #6895]
66437 * manual/filesys.texi (Directory Entries): Add description for
66438 DT_LNK.
66439
66440 [BZ #6890]
66441 * manual/filesys.texi (Directory Entries): Clarify that it's file
66442 system not operating system in the description of DT_UNKNOWN.
66443
66444 [BZ #6578]
66445 * manual/syslog.texi (closelog): Fix reference, it's openlog.
66446
66447 2012-04-08 Stephen Compall <s11@member.fsf.org>
66448
66449 [BZ #6649]
66450 * manual/llio.texi (Opening and Closing Files): Add cross
66451 reference to explain mode argument.
66452
66453 2012-04-07 Mike Frysinger <vapier@gentoo.org>
66454
66455 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66456 * sysdeps/x86_64/memset_chk.S: Likewise.
66457
66458 2012-04-07 David S. Miller <davem@davemloft.net>
66459
66460 * elf/elf.h (R_SPARC_WDISP10): Define.
66461 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66462 R_SPARC_SIZE32.
66463 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66464 R_SPARC_SIZE64 and R_SPARC_H34.
66465
66466 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
66467
66468 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66469 conditions and remove no longer applicable assertion.
66470
66471 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
66472
66473 * bits/byteswap.h: Include <features.h>.
66474 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66475 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66476
66477 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
66478
66479 * bits/byteswap.h (__bswap_16): Removed.
66480 Include <bits/byteswap-16.h> to get __bswap_16.
66481 * sysdeps/i386/bits/byteswap.h: Likewise.
66482 * sysdeps/s390/bits/byteswap.h: Likewise.
66483 * sysdeps/x86_64/bits/byteswap.h: Likewise.
66484 * bits/byteswap-16.h: New file.
66485 * sysdeps/i386/bits/byteswap-16.h: Likewise.
66486 * sysdeps/s390/bits/byteswap-16.h: Likewise.
66487 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66488 * string/Makefile (headers): Add bits/byteswap-16.h.
66489
66490 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
66491
66492 [BZ #13895]
66493 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66494 extra indirection.
66495 * nss/Makefile (tests-static, tests): Add tst-nss-static.
66496 * nss/tst-nss-static.c: New.
66497
66498 2012-04-06 Robert Millan <rmh@gnu.org>
66499
66500 [BZ #6486]
66501 * manual/llio.texi (File Position Primitive): lseek
66502 refers to WHENCE when it really means OFFSET.
66503
66504 2012-04-06 Andreas Jaeger <aj@suse.de>
66505
66506 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66507 strncmp declarations.
66508
66509 * abilist/libc.abilist: Add __poll and __ppoll.
66510
66511 2012-04-05 David S. Miller <davem@davemloft.net>
66512
66513 * scripts/check-local-headers.sh: Accept a host triplet in the
66514 path matched by the exclude regexp.
66515
66516 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66517 definition.
66518 * sysdeps/powerpc/powerpc32/dl-machine.h
66519 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66520 * sysdeps/s390/s390-32/dl-machine.h
66521 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66522 * sysdeps/sparc/sparc32/dl-machine.h
66523 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66524 * sysdeps/sparc/sparc64/dl-machine.h
66525 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66526
66527 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66528 lazy binding.
66529 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66530 undefined symbol errors.
66531
66532 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66533 DT_NEEDED entries.
66534
66535 2012-04-05 Michael Matz <matz@suse.de>
66536
66537 [BZ #13592]
66538 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66539
66540 2012-04-05 Andreas Jaeger <aj@suse.de>
66541
66542 [BZ #13908]
66543 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66544 comment.
66545
66546 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66547
66548 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66549 which ROUND is no valid rounding mode.
66550
66551 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66552
66553 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66554 read again.
66555 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66556
66557 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66558
66559 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66560 an exception using FPU order intentionally.
66561
66562 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66563
66564 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66565 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66566 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66567 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66568
66569 2012-04-05 Simon Josefsson <simon@josefsson.org>
66570
66571 [BZ #12340]
66572 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66573 EINVAL when BUFLEN is too smal.
66574
66575 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
66576
66577 [BZ #13553]
66578 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66579 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66580
66581 2012-04-03 Andreas Jaeger <aj@suse.de>
66582
66583 [BZ #13938]
66584 * manual/setjmp.texi (System V contexts): Fix sentence.
66585
66586 [BZ #13926]
66587 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66588 New macro for this case.
66589 [!__GNUC__] (__bswap_64): New inline function for this case.
66590 * sysdeps/x86_64/bits/byteswap.h: Likewise.
66591 * bits/byteswap.h: Likewise.
66592 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66593 ull, guard with __GLIBC_HAVE_LONG_LONG.
66594
66595 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66596 __GLIBC_HAVE_LONG_LONG.
66597
66598 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66599 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66600
66601 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66602
66603 [BZ #13691]
66604 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66605 inptr and inend, rather than using last_ch.
66606
66607 2012-04-02 David S. Miller <davem@davemloft.net>
66608
66609 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66610 * stdio-common/printf-parse.h (read_int): Change return type to
66611 'int', return -1 on INT_MAX overflow.
66612 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66613 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
66614 overflows INT_MAX. Check for overflow of in-format-string precision
66615 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
66616 SIZE_MAX not INT_MAX for integer overflow test.
66617 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66618 skip the construct in the format string but do not record anything.
66619 * stdio-common/bug22.c: Adjust to test both width/prevision
66620 INT_MAX overflow as well as total length INT_MAX overflow. Check
66621 explicitly for proper errno values.
66622
66623 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
66624
66625 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66626 CHAR_MAX.
66627 * string/test-strcmp.c [! WIDE]: Likewise.
66628 * time/tst-mktime2.c: Likewise for INT_MAX.
66629 * string/test-string.h: #include <sys/param.h> for MIN.
66630
66631 * csu/init-first.c (__libc_init_first): Call __ctype_init.
66632 * sysdeps/i386/init-first.c (init): Likewise.
66633 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66634 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66635 * sysdeps/sh/init-first.c (init): Likewise.
66636
66637 2012-04-01 Ulrich Drepper <drepper@gmail.com>
66638
66639 * po/ru.po: Update from translation team.
66640 * po/vi.po: Likewise.
66641
66642 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
66643
66644 * resolv/nss_dns/dns-host.c: Merge copyright years.
66645
66646 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66647
66648 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66649 Optimize memcpy with prefetch if
66650 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
66651 src, dst pointers have unequal 16 byte alignments.
66652
66653 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
66654
66655 [BZ #13928]
66656 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66657 from a CNAME entry and return the minimum ttl for the query.
66658 (gaih_getanswer_slice): Likewise.
66659
66660 2012-03-30 Jeff Law <law@redhat.com>
66661
66662 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66663 due to long keys.
66664 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66665 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66666
66667 * resolv/nss_dns/dns-host.c: Update copyright year.
66668
66669 2012-03-30 Ulrich Drepper <drepper@gmail.com>
66670
66671 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66672 requests to save a system call. Fix check that all bytes are sent.
66673
66674 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66675 comments for sendmmsg.
66676
66677 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66678
66679 [BZ #13691]
66680 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66681 with only 1 character between 0x0041 and 0x01b0.
66682 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66683 * wcsmbs/tst-mbsnrtowcs.c: New file.
66684
66685 2012-03-29 David S. Miller <davem@davemloft.net>
66686
66687 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66688 small copies by hand.
66689
66690 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66691
66692 [BZ #13761]
66693 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66694 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66695 group memberships.
66696
66697 2012-03-28 David S. Miller <davem@davemloft.net>
66698
66699 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66700 that branches into memcpy.
66701 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66702 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66703 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66704 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66705 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66706 bits.
66707 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66708 implementation too.
66709 * sysdeps/sparc/mempcpy.S: New file.
66710
66711 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66712 the IFUNC routine in the libc case.
66713 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66714
66715 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66716 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66717 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66718 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66719 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66720 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66721 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66722 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66723
66724 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66725 loop to 256 bytes instead of 64 bytes and fix test signedness.
66726
66727 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66728 * sysdeps/sparc/sparc32/Makefile: rather than here...
66729 * sysdeps/sparc/sparc64/Makefile: and here.
66730
66731 2012-03-28 Ulrich Drepper <drepper@gmail.com>
66732
66733 * malloc/mallocbug.c: Avoid warnings about unused variables.
66734
66735 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66736
66737 [BZ #13760]
66738 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66739 in the right place. Discard and retry query if response is
66740 larger than input buffer size.
66741
66742 2012-03-28 Joseph Myers <joseph@codesourcery.com>
66743
66744 [BZ #369]
66745 [BZ #2678]
66746 [BZ #3866]
66747 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66748 x for large integer exponent.
66749 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66750 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
66751 sign of result as needed afterwards.
66752 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66753 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66754 result for underflowing pow the same as for overflow.
66755 (__kernel_standard_l): Handle powl overflow and underflow here
66756 rather than calling __kernel_standard.
66757 * math/libm-test.inc (pow_test): Add more tests.
66758
66759 [BZ #3868]
66760 [BZ #13879]
66761 [BZ #13910]
66762 [BZ #13911]
66763 [BZ #13912]
66764 [BZ #13913]
66765 [BZ #13915]
66766 [BZ #13916]
66767 [BZ #13917]
66768 [BZ #13918]
66769 [BZ #13919]
66770 [BZ #13920]
66771 [BZ #13921]
66772 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66773 * sysdeps/ieee754/k_standard.c: Include <float.h>.
66774 (__kernel_standard_l): New function.
66775 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66776 __kernel_standard.
66777 * math/w_acosl.c (__acosl): Likewise.
66778 * math/w_asinl.c (__asinl): Likewise.
66779 * math/w_atan2l.c (__atan2l): Likewise.
66780 * math/w_atanhl.c (__atanhl): Likewise.
66781 * math/w_coshl.c (__coshl): Likewise.
66782 * math/w_exp10l.c (__exp10l): Likewise.
66783 * math/w_exp2l.c (__exp2l): Likewise.
66784 * math/w_fmodl.c (__fmodl): Likewise.
66785 * math/w_hypotl.c (__hypotl): Likewise.
66786 * math/w_j0l.c (__j0l, __y0l): Likewise.
66787 * math/w_j1l.c (__j1l, __y1l): Likewise.
66788 * math/w_jnl.c (__jnl, __ynl): Likewise.
66789 * math/w_lgammal.c (__lgammal): Likewise.
66790 * math/w_log10l.c (__log10l): Likewise.
66791 * math/w_log2l.c (__log2l): Likewise.
66792 * math/w_logl.c (__logl): Likewise.
66793 * math/w_powl.c (__powl): Likewise.
66794 * math/w_remainderl.c (__remainderl): Likewise.
66795 * math/w_scalbl.c (sysv_scalbl): Likewise.
66796 * math/w_sinhl.c (__sinhl): Likewise.
66797 * math/w_sqrtl.c (__sqrtl): Likewise.
66798 * math/w_tgammal.c (__tgammal): Likewise.
66799 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66800 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66801 * math/libm-test.inc (acos_test): Add more tests.
66802 (acosh_test): Likewise.
66803 (asin_test): Likewise.
66804 (atanh_test): Likewise.
66805 (exp_test): Likewise.
66806 (exp10_test): Likewise.
66807 (exp2_test): Likewise.
66808 (expm1_test): Likewise.
66809 (lgamma_test): Likewise.
66810 (log_test): Likewise.
66811 (log10_test): Likewise.
66812 (log1p_test): Likewise.
66813 (log2_test): Likewise.
66814 (pow_test): Do not allow some spurious overflow exceptions.
66815 (sqrt_test): Add more tests.
66816 (tgamma_test): Likewise.
66817 (y0_test): Likewise.
66818 (y1_test): Likewise.
66819 (yn_test): Likewise.
66820
66821 2012-03-27 Anton Blanchard <anton@samba.org>
66822
66823 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66824 MAP_HUGETLB.
66825 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66826 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66827 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66828
66829 2012-03-27 David S. Miller <davem@davemloft.net>
66830
66831 * conform/Makefile: Run run-conformtest.sh using $(BASH).
66832
66833 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66834 have-as-vis3 check.
66835
66836 2012-03-27 Andreas Jaeger <aj@suse.de>
66837
66838 * sysdeps/x86_64/elf/configure.in: Moved to ...
66839 * sysdeps/x86_64/configure.in: ... here.
66840 * sysdeps/x86_64/elf/start.S: Moved to ...
66841 * sysdeps/x86_64/start.S: ... here.
66842 * sysdeps/x86_64/elf/configure: Delete.
66843
66844 * sysdeps/x86_64/configure.in: Merge contents from
66845 sysdeps/i386/configure.in (without i686 check).
66846
66847 * sysdeps/i386/elf/Versions: Merge into ...
66848 * sysdeps/i386/Versions: ... this.
66849 * sysdeps/i386/elf/Versions: Delete file.
66850 * sysdeps/i386/elf/start.S: Moved to ...
66851 * sysdeps/i386/start.S: ...here.
66852 * sysdeps/i386/elf/configure.in: Merge into...
66853 * sysdeps/i386/configure.in: ...here.
66854 * sysdeps/i386/elf/configure.in: Delete file.
66855 * sysdeps/i386/elf/configure: Delete file.
66856
66857 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66858 * debug/backtracesyms.c: ... here.
66859 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66860 * debug/backtracesymsfd.c: ... here.
66861 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66862 * sysdeps/generic/ifunc-sel.h: ... here.
66863
66864 * sysdeps/unix/i386/start.c: Delete file.
66865 * sysdeps/unix/sparc/start.c: Delete file.
66866 * sysdeps/unix/start.c: Delete file.
66867
66868 * sysdeps/sh/elf/configure.in: Moved to ...
66869 * sysdeps/sh/configure.in: ... here.
66870 * sysdeps/sh/elf/start.S: Moved to ...
66871 * sysdeps/sh/start.S: ... here.
66872 * sysdeps/sh/elf/configure: Delete file.
66873
66874 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66875 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66876 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66877 * sysdeps/powerpc/powerpc64/entry.h: ... here.
66878 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66879 * sysdeps/powerpc/powerpc64/start.S: here.
66880 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66881 * sysdeps/powerpc/powerpc64/Makefile: ... this.
66882 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66883 * sysdeps/powerpc/powerpc64/configure.in: ... this.
66884 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66885
66886 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66887 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66888 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66889 * sysdeps/powerpc/powerpc32/start.S: ... here.
66890 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66891 * sysdeps/powerpc/powerpc32/configure.in: ... this.
66892 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66893
66894 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66895 * sysdeps/powerpc/ifunc-sel.h: ... here.
66896 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66897 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66898
66899 * sysdeps/sparc/elf/configure.in: Moved to ...
66900 * sysdeps/sparc/configure.in: ... here.
66901 * sysdeps/sparc/elf/configure: Delete file.
66902 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66903 * sysdeps/sparc/sparc32/start.S: ... here.
66904 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66905 * sysdeps/sparc/sparc64/start.S: ... here.
66906 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66907 * sysdeps/sparc/sparc32/Makefile: ... this.
66908 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66909 * sysdeps/sparc/sparc64/Makefile: ... this.
66910
66911 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66912 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66913 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66914 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66915 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66916 * sysdeps/s390/s390-32/setjmp.S: ... here.
66917 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66918 * sysdeps/s390/s390-32/configure.in: ... here.
66919 * sysdeps/s390/s390-32/elf/configure: Delete file.
66920 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66921 * sysdeps/s390/s390-32/start.S: ... here.
66922
66923 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66924 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66925 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66926 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66927 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66928 * sysdeps/s390/s390-64/setjmp.S: ... here.
66929 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66930 * sysdeps/s390/s390-64/configure.in: ... here
66931 * sysdeps/s390/s390-64/elf/configure: Delete file.
66932 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66933 * sysdeps/s390/s390-64/start.S: ... here.
66934 * sysdeps/s390/s390-64/elf/configure: Delete.
66935
66936 * configure.in: Remove support for elf directories in sysdeps.
66937
66938 * configure: Regenerated.
66939 * sysdeps/i386/configure: Regenerated.
66940 * sysdeps/powerpc/powerpc32/configure: Regenerated.
66941 * sysdeps/powerpc/powerpc64/configure: Regenerated.
66942 * sysdeps/s390/s390-32/configure: Regenerated.
66943 * sysdeps/s390/s390-64/configure: Regenerated.
66944 * sysdeps/sh/configure: Regenerated.
66945 * sysdeps/sparc/configure: Regenerated.
66946 * sysdeps/x86_64/configure: Regenerated.
66947
66948 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
66949
66950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66951
66952 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66953 denormal result into account.
66954
66955 2012-03-25 Roland McGrath <roland@hack.frob.com>
66956
66957 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66958 Reported by Allan McRae <allan@archlinux.org>.
66959
66960 2012-03-23 Jeff Law <law@redhat.com>
66961
66962 * nss/getnssent.c (__nss_getent): Fix typo.
66963
66964 2012-03-23 David S. Miller <davem@davemloft.net>
66965
66966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66967
66968 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
66969
66970 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66971 to pad to uint64_t for each field.
66972 (dl_tls_index): Replace unsigned long with uint64_t.
66973
66974 2012-03-23 Daniel Jacobowitz <dmj@google.com>
66975 Paul Pluzhnikov <ppluzhnikov@google.com>
66976
66977 [BZ #6528]
66978 * grp/Makefile (otherlibs): Don't set it.
66979 * inet/Makefile (otherlibs): Likewise.
66980 * login/Makefile (otherlibs): Likewise.
66981 * nscd/Makefile (otherlibs): Likewise.
66982 * posix/Makefile (otherlibs): Likewise.
66983 * pwd/Makefile (otherlibs): Likewise.
66984 * rt/Makefile (otherlibs): Likewise.
66985 * sunrpc/Makefile (otherlibs): Likewise.
66986 * nss/Makefile (otherlibs): Likewise.
66987 Add libnss_files to routines and static-only-routines.
66988 ($(objpfx)getent): Remove rule.
66989 * resolv/Makefile: Add libnss_dns and libresolv to routines and
66990 static-only-routines.
66991
66992 2012-03-22 Joseph Myers <joseph@codesourcery.com>
66993
66994 [BZ #13892]
66995 * math/s_cexp.c: Include <float.h>.
66996 (__cexp): Handle exp result overflowing not necessarily
66997 overflowing both real and imaginary parts of result.
66998 * math/s_cexpf.c: Likewise.
66999 * math/s_cexpl.c: Likewise.
67000 * math/libm-test.inc (cexp_test): Add more tests.
67001 * sysdeps/i386/fpu/libm-test-ulps: Update.
67002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67003
67004 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
67005
67006 * include/link.h (ELFW): New macro.
67007 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
67008 Replace ELF64_R_TYPE with ELFW(R_TYPE).
67009
67010 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
67011
67012 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
67013 with uint64_t.
67014
67015 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
67016
67017 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
67018 declaration.
67019 (struct La_x32_retval): Likewise.
67020
67021 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
67022
67023 * sysdeps/x86_64/preconfigure.in: New file.
67024 * sysdeps/x86_64/preconfigure: New generated file.
67025
67026 2012-03-22 Joseph Myers <joseph@codesourcery.com>
67027
67028 [BZ #13824]
67029 * math/e_exp2l.c: Include <float.h>.
67030 (__ieee754_exp2l): Handle overflow and underflow cases
67031 separately. Only pass fractional part of argument to
67032 __ieee754_expl.
67033 * math/libm-test.inc (exp2_test): Add more tests.
67034
67035 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
67036 negating x to take absolute value.
67037 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
67038 Likewise.
67039 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67040 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
67041 Likewise.
67042 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
67043 computing low part if x was negated.
67044 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
67045
67046 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
67047
67048 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
67049 la_x32_gnu_pltexit.
67050 (pltexit): Cast int_retval to ptrdiff_t.
67051 * elf/tst-auditmod3b.c: Likewise.
67052 * elf/tst-auditmod4b.c: Likewise.
67053 * elf/tst-auditmod5b.c: Likewise.
67054 * elf/tst-auditmod6b.c: Likewise.
67055 * elf/tst-auditmod6c.c: Likewise.
67056 * elf/tst-auditmod7b.c: Likewise.
67057
67058 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
67059 and x32_gnu_pltexit.
67060
67061 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
67062 __ELF_NATIVE_CLASS.
67063 (La_x32_regs): New macro.
67064 (La_x32_retval): Likewise.
67065 (la_x32_gnu_pltenter): New function prototype.
67066 (la_x32_gnu_pltexit): Likewise.
67067
67068 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
67069
67070 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
67071 exponent.
67072
67073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67074
67075 * configure.in (libc_cv_cc_nofma): Check for option to disable
67076 generation of FMA instructions.
67077 * configure: Regenerate.
67078 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
67079 * sysdeps/ieee754/dbl-64/Makefile: New file.
67080 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67081 Remove brandred-fma4.
67082 (CFLAGS-brandred-fma4.c): Remove.
67083 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67084 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67085 define.
67086 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67087 define.
67088
67089 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
67090
67091 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67092 LLONG_MAX != LONG_MAX.
67093 (_itoa_word): Use _ITOA_WORD_TYPE on value.
67094 (_fitoa_word): Likewise.
67095 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
67096 LLONG_MAX != LONG_MAX.
67097 * stdio-common/_itowa.h: Include <_itoa.h>.
67098 (_itowa_word): Use _ITOA_WORD_TYPE on value.
67099 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
67100 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
67101 only if not defined.
67102 (_ITOA_WORD_TYPE): Likewise.
67103 (_itoa_word): Use _ITOA_WORD_TYPE on value.
67104 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
67105
67106 2012-03-21 David S. Miller <davem@davemloft.net>
67107
67108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67109
67110 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
67111
67112 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
67113 of x86_64 when setting libc_cv_slibdir, libdir and
67114 libc_cv_localedir.
67115 * sysdeps/unix/sysv/linux/configure: Regenerated.
67116
67117 2012-03-21 Joseph Myers <joseph@codesourcery.com>
67118
67119 * manual/lang.texi (Old Varargs): Remove section.
67120 (How Variadic): Update menu.
67121 (va_start): Do not mention varargs.h.
67122
67123 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
67124 Joseph Myers <joseph@codesourcery.com>
67125
67126 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
67127 link test.
67128 * configure: Regenerated.
67129
67130 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
67131
67132 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
67133 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
67134 conformtest.pl
67135
67136 2012-03-21 Joseph Myers <joseph@codesourcery.com>
67137
67138 * NOTES: Remove.
67139 * Makefile (files-for-dist): Remove NOTES.
67140 (NOTES): Remove rule.
67141 * README: Don't refer to NOTES.
67142 * manual/creature.texi: Don't include macros.texi.
67143 * manual/intro.texi (creature.texi): Remove comment referring to
67144 NOTES.
67145
67146 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
67147 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
67148 * configure: Regenerated.
67149 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
67150 LIBC_TRY_CC_OPTION.
67151 (libc_cv_as_i686): Likewise.
67152 (libc_cv_cc_avx): Likewise.
67153 (libc_cv_cc_sse2avx): Likewise.
67154 (libc_cv_cc_fma4): Likewise.
67155 (libc_cv_cc_novzeroupper): Likewise.
67156 * sysdeps/i386/configure: Regenerated.
67157
67158 [BZ #13883]
67159 * sysdeps/i386/fpu/s_cexp.S: Remove.
67160 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67161 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67162 * math/libm-test.inc (cexp_test): Add more tests.
67163 * sysdeps/i386/fpu/libm-test-ulps: Update.
67164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67165
67166 2012-03-21 Allan McRae <allan@archlinux.org>
67167
67168 * timezone/Makefile: Do not install iso3166.tab and zone.tab
67169
67170 2012-03-21 Joseph Myers <joseph@codesourcery.com>
67171
67172 [BZ #13871]
67173 * math/w_exp2.c: Do not include <float.h>.
67174 (o_threshold, u_threshold): Remove.
67175 (__exp2): Calculate result before checking finiteness and calling
67176 __kernel_standard.
67177 * math/w_exp2f.c: Likewise.
67178 * math/w_exp2l.c: Likewise.
67179 * math/libm-test.inc (exp2_test): Require overflow exception for
67180 1e6 input.
67181
67182 [BZ #3866]
67183 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
67184 range of signed 64-bit integers before using fistpll. Remove
67185 checks for whether integers fit in mantissa bits.
67186 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
67187 the range of signed 32-bit integers before using fistpl. Remove
67188 checks for whether integers fit in mantissa bits.
67189 * sysdeps/i386/fpu/e_powl.S (p64): New object.
67190 (__ieee754_powl): Test for y outside the range of signed 64-bit
67191 integers before using fistpll. Reduce 64-bit values to 63-bit
67192 ones as needed.
67193 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
67194 divide-by-zero is raised for zero to large negative powers.
67195 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
67196 (__ieee754_powl): Test for y outside the range of signed 64-bit
67197 integers before using fistpll. Reduce 64-bit values to 63-bit
67198 ones as needed.
67199 * math/libm-test.inc (pow_test): Add more tests.
67200
67201 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
67202
67203 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
67204 <stdio-common/_itoa.h>.
67205 * debug/segfault.c: Likewise.
67206 * elf/dl-cache.c: Likewise.
67207 * elf/dl-minimal.c: Likewise.
67208 * elf/dl-misc.c: Likewise.
67209 * elf/dl-sysdep.c: Likewise.
67210 * elf/dl-version.c: Likewise.
67211 * elf/rtld.c: Likewise.
67212 * hurd/hurdsock.c: Likewise.
67213 * hurd/lookup-retry.c: Likewise.
67214 * malloc/malloc.c: Likewise.
67215 * malloc/mtrace.c: Likewise.
67216 * nscd/nscd_getgr_r.c: Likewise.
67217 * nscd/nscd_getpw_r.c: Likewise.
67218 * nscd/nscd_getserv_r.c: Likewise.
67219 * posix/getopt_init.c: Likewise.
67220 * posix/wordexp.c: Likewise.
67221 * stdio-common/_itoa.c: Likewise.
67222 * stdio-common/printf_fphex.c: Likewise.
67223 * stdio-common/vfprintf.c: Likewise.
67224 * string/_strerror.c: Likewise.
67225 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67226 * sysdeps/i386/i686/hp-timing.h: Likewise.
67227 * sysdeps/mach/_strerror.c: Likewise.
67228 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67229 * sysdeps/mach/hurd/sethostid.c: Likewise.
67230 * sysdeps/mach/hurd/xmknodat.c: Likewise.
67231 * sysdeps/mach/xpg-strerror.c: Likewise.
67232 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67233 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67234 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67235 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67236 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67237 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67238 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67239 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67240 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67241 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67242 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67243 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67244 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67245 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67246 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67247 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67248 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67249 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67250 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67251 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67252 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67253
67254 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67255
67256 * stdio-common/_itoa.h: Moved to ...
67257 * sysdeps/generic/_itoa.h: Here.
67258
67259 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67260
67261 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67262 instead of "_itoa.h" and "_itowa.h".
67263 * stdio-common/vfprintf.: Likewise.
67264
67265 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
67266
67267 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67268 <bits/wordsize.h>.
67269 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67270 (__signbit): Likwise.
67271 (llrintf): Likwise.
67272 (llrint): Likwise.
67273
67274 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
67275
67276 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67277 __WORDSIZE != 64.
67278
67279 2012-03-20 Joseph Myers <joseph@codesourcery.com>
67280
67281 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67282 OVERFLOW_EXCEPTION_OK.
67283 * math/libm-test.inc ("Philosophy"): Update comment about
67284 exception testing.
67285 (OVERFLOW_EXCEPTION): Define.
67286 (OVERFLOW_EXCEPTION_OK): Likewise.
67287 (INVALID_EXCEPTION_OK): Renumber.
67288 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67289 (IGNORE_ZERO_INF_SIGN): Likewise.
67290 (test_exceptions): Handle FE_OVERFLOW.
67291 (exp10_test): Expect overflow exceptions.
67292 (exp2_test): Likewise.
67293 (expm1_test): Likewise.
67294 (nextafter_test): Likewise.
67295 (pow_test): Likewise.
67296 (scalbn_test): Likewise.
67297 (scalbln_test): Likewise.
67298
67299 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67300
67301 * sysdeps/x86_64/bits/atomic.h
67302 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67303 64bit integer.
67304 (atomic_exchange_acq): Likewise.
67305 (__arch_exchange_and_add_body): Likewise.
67306 (__arch_add_body): Likewise.
67307 (atomic_add_negative): Likewise.
67308 (atomic_add_zero): Likewise.
67309
67310 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67311
67312 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67313 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67314
67315 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67316
67317 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67318 Check __x86_64__ instead of __WORDSIZE.
67319
67320 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67321
67322 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67323
67324 2012-03-19 David S. Miller <davem@davemloft.net>
67325
67326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67327
67328 * sysdeps/sparc/fpu/fenv_private.h: New file.
67329 * sysdeps/sparc/fpu/math_private.h: Use it.
67330 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67331 Remove.
67332 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67333 (libc_feholdexcept_setroundl): Remove.
67334 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67335 Remove.
67336 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67337 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67338
67339 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67340
67341 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67342 int64_t instead of long int.
67343 (INSERT_WORDS64): Likwise.
67344
67345 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67346
67347 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67348 _Unwind_GetCFA return to _Unwind_Ptr first.
67349
67350 2012-03-19 Joseph Myers <joseph@codesourcery.com>
67351
67352 [BZ #13629]
67353 * math/s_clog.c: Include <float.h>.
67354 (__clog): Scale large or subnormal inputs.
67355 * math/s_clogf.c: Likewise.
67356 * math/s_clogl.c: Likewise.
67357 * math/s_clog10.c: Include <float.h>.
67358 (M_LOG10_2): Define.
67359 (__clog10): Scale large or subnormal inputs.
67360 * math/s_clog10f.c: Likewise.
67361 * math/s_clog10l.c: Likewise.
67362 * math/libm-test.inc (clog_test): Add more tests.
67363 (clog10_test): Likewise.
67364 * sysdeps/i386/fpu/libm-test-ulps: Update.
67365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67366
67367 [BZ #11451]
67368 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
67369 x and y.
67370 * math/libm-test.inc (atan2_test): Add another test.
67371
67372 * Makerules (common-objdir-compile): Remove.
67373 * sysdeps/unix/Makefile (config-generated): Do not add
67374 $(unix-generated) to variable.
67375 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67376 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
67377 Remove rule.
67378 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
67379 Likewise.
67380 [generic bits/local_lim.h] (before-compile): Do not append to
67381 variable.
67382 [generic bits/local_lim.h] (common-generated): Likewise.
67383 [generic sys/param.h] (before-compile): Do not append to variable.
67384 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
67385 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
67386 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
67387 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
67388 include.
67389 [generic sys/param.h] (sys/param.h-includes): Remove variable.
67390 [generic sys/param.h] (sys/param.h-includes): Remove rule.
67391 [generic sys/param.h] ($(addprefix
67392 $(common-objpfx),$(sys/param.h-includes))): Likewise.
67393 [generic sys/param.h] (common-generated): Do not append to
67394 variable.
67395 [generic sys/param.h] (sysdep_headers): Likewise.
67396 [generic bits/errno.h] (before-compile): Do not append to
67397 variable.
67398 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
67399 rule.
67400 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
67401 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
67402 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
67403 [generic bits/errno.h] (common-generated): Do not append to
67404 variable.
67405 [generic bits/ioctls.h] (before-compile): Do not append to
67406 variable.
67407 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
67408 rule.
67409 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
67410 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
67411 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
67412 rule.
67413 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
67414 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
67415 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
67416 [generic bits/ioctls.h] (common-generated): Do not append to
67417 variable.
67418 [generic sys/syscall.h] (syscall.h): Remove variable.
67419 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
67420 rule.
67421 [generic sys/syscall.h] (before-compile): Do not append to
67422 variable.
67423 [generic sys/syscall.h] (common-generated): Likewise.
67424 * sysdeps/unix/errnos-tmpl.c: Remove file.
67425 * sysdeps/unix/errnos.awk: Likewise.
67426 * sysdeps/unix/ioctls-tmpl.c: Likewise.
67427 * sysdeps/unix/ioctls.awk: Likewise.
67428 * sysdeps/unix/mk-local_lim.c: Likewise.
67429 * sysdeps/unix/snarf-ioctls: Likewise.
67430
67431 2012-03-19 Richard Henderson <rth@twiddle.net>
67432
67433 * sysdeps/i386/fpu/fenv_private.h: New file.
67434 * sysdeps/i386/fpu/math_private.h: Use it.
67435 (math_opt_barrier, math_force_eval): Remove.
67436 (libc_feholdexcept_setround_53bit): Remove.
67437 (libc_feupdateenv_53bit): Remove.
67438 * sysdeps/x86_64/fpu/math_private.h: Likewise.
67439 (math_opt_barrier, math_force_eval): Remove.
67440 (libc_feholdexcept): Remove.
67441 (libc_feholdexcept_setround): Remove.
67442 (libc_fetestexcept, libc_fesetenv): Remove.
67443 (libc_feupdateenv_test): Remove.
67444 (libc_feupdateenv, libc_feholdsetround): Remove.
67445 (libc_feresetround): Remove.
67446
67447 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
67448 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
67449
67450 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
67451 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
67452 (libc_feupdateenv_testl): New.
67453 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67454 (libc_feupdateenv_testf): New.
67455 (libc_feupdateenv): Use libc_feupdateenv_test.
67456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67457 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67458
67459 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67460 (libc_feholdsetroundf, libc_feholdsetroundl): New.
67461 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67462 (libc_feresetround_noex): New.
67463 (libc_feresetround_noexf): New.
67464 (libc_feresetround_noexl): New.
67465 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67466 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67467 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67468 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67469 SET_RESTORE_ROUND.
67470 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67471 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67472 (__cos): Likewise.
67473 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67474 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67475 SET_RESTORE_ROUND_NOEX.
67476 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67477 SET_RESTORE_ROUND_NOEXF.
67478 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67479 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67480 (libc_feholdsetroundf): New.
67481 (libc_feresetround, libc_feresetroundf): New.
67482
67483 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67484 (libc_feholdexcept_setround_53bit): Convert from macro to function.
67485 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
67486
67487 * sysdeps/generic/math_private.h: Include <fenv.h>.
67488 (default_libc_feholdexcept): New.
67489 (default_libc_feholdexcept_setround): New.
67490 (default_libc_fesetenv, default_libc_feupdateenv): New.
67491 (libc_feholdexcept): Only define if undefined.
67492 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67493 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67494 (libc_feholdexcept_setroundl): Likewise.
67495 (libc_feholdexcept_setround_53bit): Likewise.
67496 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67497 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67498 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67499 (libc_feupdateenv_53bit): Likewise.
67500 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67501 (libc_feholdexcept): Convert from macro to inline function.
67502 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67503 (libc_fesetenv, libc_feupdateenv): Likewise.
67504
67505 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67506 not previously defined.
67507 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67508 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67509 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67510 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67511 * sysdeps/ieee754/flt-32/math_private.h: New file.
67512 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67513 math_private.h below SET_FLOAT_WORD.
67514 (__isnan, __isinf_ns, __finite): Remove.
67515 (__isnanf, __isinf_nsf, __finitef): Remove.
67516
67517 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
67518
67519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67520
67521 2012-03-17 David S. Miller <davem@davemloft.net>
67522
67523 [BZ #6471]
67524 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67525 for 2.16.
67526
67527 2012-03-16 David S. Miller <davem@davemloft.net>
67528
67529 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67530 warnings.
67531
67532 [BZ #6471]
67533 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67534 properly.
67535 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67536 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67537 sysdep_routines when subdir is sysvipc.
67538 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67539 __getshmlba helper.
67540
67541 * sysdeps/sparc/fpu/libm-test/ulps: Update.
67542
67543 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67544
67545 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67546 [__LP64__].
67547
67548 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67549
67550 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67551 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67552 (__lround): Renamed to ...
67553 (__llround): This. Replace long int with long long int.
67554 Define lround functions as aliases of llround functions.
67555 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67556
67557 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67558
67559 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67560 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
67561 adresses to uintptr_t. Replace "long int" and "unsigned long
67562 int" with "greg_t" on va_arg.
67563
67564 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67565
67566 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67567 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67568
67569 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67570 Move e_machine check before EI_CLASS check. Handle x32
67571 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67572 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67573 SKIP_EM_IA_64 and include
67574 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67575
67576 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67577 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67578 (add_system_dir): New macro.
67579
67580 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67581 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67582
67583 2012-03-16 Joseph Myers <joseph@codesourcery.com>
67584
67585 [BZ #2551]
67586 [BZ #2552]
67587 [BZ #2553]
67588 [BZ #2554]
67589 [BZ #2562]
67590 [BZ #2563]
67591 [BZ #2565]
67592 [BZ #2566]
67593 [BZ #2576]
67594 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67595 (y0): Likewise.
67596 * math/w_j0f.c (j0f): Likewise.
67597 (y0f): Likewise.
67598 * math/w_j0l.c (__j0l): Likewise.
67599 (__y0l): Likewise.
67600 * math/w_j1.c (j1): Likewise.
67601 (y1): Likewise.
67602 * math/w_j1f.c (j1f): Likewise.
67603 (y1f): Likewise.
67604 * math/w_j1l.c (__j1l): Likewise.
67605 (__y1l): Likewise.
67606 * math/w_jn.c (jn): Likewise.
67607 (yn): Likewise.
67608 * math/w_jnf.c (jnf): Likewise.
67609 (ynf): Likewise.
67610 * math/w_jnl.c (__jnl): Likewise.
67611 (__ynl): Likewise.
67612 * math/libm-test.inc (j0_test): Add more tests.
67613 (j1_test): Likewise.
67614 (jn_test): Likewise. Add trailing semicolon to existing test.
67615 (y0_test): Likewise.
67616 (y1_test): Likewise.
67617 * sysdeps/i386/fpu/libm-test-ulps: Update.
67618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67619
67620 [BZ #13851]
67621 [BZ #13854]
67622 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67623 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67624 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67625 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67626 (__tanl): Set errno for infinite argument.
67627 * sysdeps/i386/fpu/mptan.c: Remove.
67628 * sysdeps/i386/fpu/s_tan.S: Likewise.
67629 * sysdeps/i386/fpu/s_tanl.S: Likewise.
67630 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67631 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67632 * math/libm-test.inc (tan_test): Add more tests and enable more
67633 tests for double and long double.
67634 * sysdeps/i386/fpu/libm-test-ulps: Update.
67635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67636
67637 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
67638
67639 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67640 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67641
67642 2012-03-16 Roland McGrath <roland@hack.frob.com>
67643
67644 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67645 * configure.in: Use it for both main tree and add-ons.
67646 * configure: Regenerated.
67647
67648 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67649
67650 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67651
67652 2012-03-16 Joseph Myers <joseph@codesourcery.com>
67653
67654 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67655 in comment.
67656
67657 [BZ #13851]
67658 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67659 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67660 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67661 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67662 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67663 infinite argument.
67664 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67665 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67666 != 0 for prec == 2.
67667 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67668 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67669 * sysdeps/i386/fpu/s_cosl.S: Likewise.
67670 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67671 * sysdeps/i386/fpu/s_sinl.S: Likewise.
67672 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67673 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67674 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67675 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67676 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67677 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67678 * math/libm-test.inc (cos_test): Add more tests and enable more
67679 tests for long double.
67680 (sin_test): Likewise.
67681 (sincos_test): Likewise.
67682 * sysdeps/i386/fpu/libm-test-ulps: Update.
67683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67684
67685 2012-03-16 David S. Miller <davem@davemloft.net>
67686
67687 * sysdeps/sparc/fpu/math_private.h: New file.
67688
67689 2012-03-15 David S. Miller <davem@davemloft.net>
67690
67691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67692 file.
67693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67695 file.
67696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67701 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67702 sysdep routines.
67703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67704
67705 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67706 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67707
67708 * sysdeps/sparc/sparc-ifunc.h: New file.
67709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67710 sparc-ifunc.h
67711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67713 Likewise.
67714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67715 Likewise.
67716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67720 Likewise.
67721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67726 Likewise.
67727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67728 Likewise.
67729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67733 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67734 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67735 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67736 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67747 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67748 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67749 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67750 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67751 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67752 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67753
67754 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
67755
67756 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67757 scaling.
67758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67759
67760 2012-03-15 Andreas Jaeger <aj@suse.de>
67761
67762 [BZ #13852]
67763 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67764 ieee754/flt-32 implementation for sin, cos and sincos.
67765 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67766 * sysdeps/i386/fpu/s_cosf.S: Likewise.
67767 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67768 * sysdeps/i386/fpu/s_sinf.S: Likewise.
67769 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67770 ieee754/flt-32 implementation for tan.
67771
67772 * math/libm-test.inc (cos_test): Enable some large input tests for
67773 float as well
67774 (sin_test): Likewise.
67775 (sincos_test): Likewise.
67776 (tan_test): Add tests for large input.
67777
67778 * sysdeps/i386/fpu/libm-test-ulps: Update.
67779
67780 2012-03-15 Andreas Jaeger <aj@suse.de>
67781
67782 [BZ #13658]
67783 * math/libm-test.inc (cos_test): Add more test cases.
67784 (sin_test): Likewise.
67785 (sincos_test): Likewise.
67786
67787 2012-03-15 Andreas Jaeger <aj@suse.de>
67788
67789 [BZ #13837]
67790 * math/libm-test.inc (cos_test): Add a test case for large input
67791 value.
67792 (sin_test): Likewise.
67793 (sincos_test): Likewise.
67794
67795 2012-03-15 Andreas Jaeger <aj@suse.de>
67796 Joseph Myers <joseph@codesourcery.com>
67797
67798 [BZ #13658]
67799 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67800 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67801 * sysdeps/i386/fpu/branred.c: Likewise.
67802 * sysdeps/i386/fpu/dosincos.c: Likewise.
67803 * sysdeps/i386/fpu/mpa.c: Likewise.
67804 * sysdeps/i386/fpu/s_cos.S: Likewise.
67805 * sysdeps/i386/fpu/s_sin.S: Likewise.
67806 * sysdeps/i386/fpu/s_sincos.S: Likewise.
67807 * sysdeps/i386/fpu/sincos32.c: Likewise.
67808
67809 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67810 Define.
67811 (libc_feupdateenv_53bit): Define.
67812 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67813 Define.
67814 (libc_feupdateenv_53bit): Define.
67815
67816 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67817 53 bit (without extend i386 double precision).
67818
67819 * math/libm-test.inc (sincos_test): Add tests for large input.
67820 (sin): Likewise.
67821 (cos): Likewise.
67822
67823 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67824
67825 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
67826
67827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67828
67829 2012-03-15 David S. Miller <davem@davemloft.net>
67830
67831 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67832 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67833 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67834 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67839 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67847 file.
67848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67850 file.
67851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67853 file.
67854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67856 file.
67857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67858 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67859 fmin/fmax sysdep routines.
67860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67861
67862 2012-03-14 David S. Miller <davem@davemloft.net>
67863
67864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67866 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67868 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67869 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67870 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67871 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67872 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67873 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67874 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67875 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67876 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67877 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67879 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67880 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67881 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67884 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67885 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67886 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67887 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67888 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67889 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67890 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67891 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67892 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67893 routines.
67894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67895 file.
67896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67898 file.
67899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67901 file.
67902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67904 file.
67905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67907 file.
67908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67910 file.
67911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67912 file.
67913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67914 file.
67915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67916 file.
67917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67918 New file.
67919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67920 file.
67921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67922 file.
67923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67925 file.
67926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67928 file.
67929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67931 file.
67932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67934 VIS3 routines.
67935
67936 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67937 New file.
67938
67939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67940
67941 * sysdeps/sparc/configure.in: New file.
67942 * sysdeps/sparc/configure: Generate.
67943 * configure.in (libc_cv_sparc_as_vis3): Substitute.
67944 * configure: Regenerate.
67945 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67946 * config.make.in (have-as-vis3): New.
67947 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67948 available use -Av9d instead of -Av9a.
67949 * sysdeps/sparc/sparc64/Makefile: Likewise.
67950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67952 New file.
67953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67954 file.
67955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67956 New file.
67957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67958 file.
67959 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67960 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67961 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67962 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67963 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67964
67965 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67966 fzeros/fnegs to load 0x80000000 into a float register instead of
67967 using the stack.
67968 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67969
67970 2012-03-14 Joseph Myers <joseph@codesourcery.com>
67971
67972 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67973 bits/syscall.h.
67974 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67975 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67976 ($(inst_includedir)/bits/syscall.h): Remove rule.
67977 ($(objpfx)bits/syscall.d): Include instead of
67978 $(objpfx)syscall-list.d.
67979 (generated): Change syscall-list.h and syscall-list.d to
67980 bits/syscall.h and bits/syscall.d.
67981
67982 2012-03-14 Roland McGrath <roland@hack.frob.com>
67983
67984 [BZ #13846]
67985 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67986
67987 2012-03-14 Joseph Myers <joseph@codesourcery.com>
67988
67989 [BZ #13841]
67990 * math/s_csqrt.c: Include <float.h>.
67991 (__csqrt): Scale large or subnormal inputs.
67992 * math/s_csqrtf.c: Likewise.
67993 * math/s_csqrtl.c: Likewise.
67994 * math/libm-test.inc (csqrt_test): Add more tests.
67995 * sysdeps/i386/fpu/libm-test-ulps: Update.
67996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67997
67998 [BZ #13840]
67999 * math/libm-test.inc (hypot_test): Add more tests.
68000
68001 2012-03-13 David S. Miller <davem@davemloft.net>
68002
68003 [BZ #13840]
68004 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
68005 double-precision for the calculation instead of scaling.
68006
68007 2012-03-13 Joseph Myers <joseph@codesourcery.com>
68008
68009 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
68010 manipulate bits before adding and subtracting TWO52[sx].
68011 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
68012 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
68013 Likewise.
68014 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
68015
68016 2012-03-13 David S. Miller <davem@davemloft.net>
68017
68018 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
68019 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
68020 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
68021 rtld-global-offsets.h
68022 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68023
68024 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
68025 large parameters.
68026
68027 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
68028
68029 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
68030 'err' in the ifdef scope in which it is actually used.
68031
68032 * nss/nss_db/db-init.c: Include string.h
68033
68034 2012-03-12 David S. Miller <davem@davemloft.net>
68035
68036 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68037 masking out of the most significant byte of random value used.
68038 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68039 Fix coding style in previous change.
68040
68041 * sysdeps/unix/sysv/linux/kernel-features.h
68042 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
68043 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
68044 expression.
68045 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
68046 later.
68047
68048 2012-03-11 David S. Miller <davem@davemloft.net>
68049
68050 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68051 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
68052 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
68053 for 'resultvar' otherwise things get truncated on 64-bit.
68054
68055 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68056 Fix masking out of the most significant byte of random value used.
68057
68058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68059
68060 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
68061
68062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68063
68064 2012-03-09 David S. Miller <davem@davemloft.net>
68065
68066 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
68067 variables with appropriate CPP guards.
68068 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
68069 from the frame pointer, not the stack pointer. Correct layout
68070 comments. Fix test on resulting framesize and the management of
68071 the outregs buffer for pltexit. Preserve floating point return
68072 values across _dl_call_pltexit call.
68073 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
68074 framesize and the management of the outregs buffer for pltexit.
68075 Preserve floating point return values across _dl_call_pltexit
68076 call.
68077 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
68078 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
68079 (la_sparc64_gnu_pltexit): New functions.
68080 (print_exit): Fix format string for return register value.
68081
68082 2012-03-10 Joseph Myers <joseph@codesourcery.com>
68083
68084 * sunrpc/Makefile (others): Add rpcgen.
68085 ($(objpfx)rpcgen): Remove special build rule and dependency on
68086 libc.
68087 * sunrpc/rpcgen.c: New file.
68088
68089 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
68090
68091 [BZ #13673]
68092 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
68093 * stdio-common/bug-vfprintf-nargs.c: Likewise.
68094 * sysdeps/i386/crti.S: Likewise.
68095 * sysdeps/i386/crtn.S: Likewise.
68096 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
68097 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
68098 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
68099 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
68100 * sysdeps/sh/crti.S: Likewise.
68101 * sysdeps/sh/crtn.S: Likewise.
68102 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68103
68104 [BZ #13673]
68105 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
68106 with URL.
68107 * locale/programs/locfile-kw.gperf: Likewise.
68108 * locale/programs/charmap-kw.h: Regenerated.
68109 * locale/programs/locfile-kw.h: Likewise.
68110
68111 [BZ #13673]
68112 * intl/plural.y: Replace FSF snail mail address with URL.
68113 * intl/plural.c: Regenerated.
68114
68115 2012-03-09 Richard Henderson <rth@twiddle.net>
68116
68117 * include/math_private.h: Remove file.
68118 * math/math_private.h: Move file ...
68119 * sysdeps/generic/math_private.h: ... here.
68120
68121 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
68122 * sysdeps/powerpc/fpu/math_private.h: Likewise.
68123 * sysdeps/x86_64/fpu/math_private.h: Likewise.
68124
68125 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
68126 and <math_private.h>.
68127 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68128 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68129 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68130 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68131 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68132 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
68133 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68134 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68135 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68136 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68137 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68138 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68139 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68140 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68141 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68142 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68143 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68144 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68145 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68146 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68148 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68149 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68150 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68151 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
68152 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68153 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68154 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68155 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68156 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68157 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68158 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68159 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
68160 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68161 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68162 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68163 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68164 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68165 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68166 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68167 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
68168 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68169 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68170 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
68171 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
68172 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68173 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
68174 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
68175 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68176 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68177 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68178 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
68179 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
68180 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68181 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
68182 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68183 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68184 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
68185 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
68186 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
68187 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68188 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
68189 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68190 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68191 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
68192 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68193 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68194 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68195 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
68196 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
68197 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
68198 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68199 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
68200 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68201 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
68202 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
68203 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
68204 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68205 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68206 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68207 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68208 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68209 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68210 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68211 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68212 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68213 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68214 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68215 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68216 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68217 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68218 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68219 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68220 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68221 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68222 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68223 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68224 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68225 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68226 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68227 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68228 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68229 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68230 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68231 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68232 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68233 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68234 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68235 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68236 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68237 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68238 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68239 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68240 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68241 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68242 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68243 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68244 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68245 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68246 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68247 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68248 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68249 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68250 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68251 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68252 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68253 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68254 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68255 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68256 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68257 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68258 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68259 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68260 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68261 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68262 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68263 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68264 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68265 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68266 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68267 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68268 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68269 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68270 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68271 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68272 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68273 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68274 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68275 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68276 * sysdeps/ieee754/k_standard.c: Likewise.
68277 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68278 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68279 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68280 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68281 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68282 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68283 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68284 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68285 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68286 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68287 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68288 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68289 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68290 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68291 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68292 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68293 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68294 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68295 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68296 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68297 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68298 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68299 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68300 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68301 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68302 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68303 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68304 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68305 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68306 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68307 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68308 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68309 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68310 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68311 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68312 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68313 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68314 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68315 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68316 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68317 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68318 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68319 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68320 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68321 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68322 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68323 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68324 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68325 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68326 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68327 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68328 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68329 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68330 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68331 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68332 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68333 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68334 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68335 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68336 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68337 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68338 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68339 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68340 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68341 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68342 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68343 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68344 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68345 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68346 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68347 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68348 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68349 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68350 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68351 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68352 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68353 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68354 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68355 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68356 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
68357 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
68358 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68359 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68360 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68361 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
68362 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68363 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68364 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
68365 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68366 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68367 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
68368 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68369 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
68370 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
68371 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68372 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68373 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
68374 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
68375 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
68376 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
68377 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68378 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68379 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68380 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68381 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
68382 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68383 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68384 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
68385 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
68386 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68387 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68388 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68389 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68390 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68391 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68392 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68393 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68394 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68395 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68396 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68397 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68398 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68399 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68400 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68401 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68402 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
68403 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68404 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68405 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68406 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68407 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68408 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68409 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68410 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
68411 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68412 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68413 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
68414 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
68415 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68416 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
68417 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
68418 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68419 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
68420 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
68421 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68422 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68423 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68424 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68425 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68426 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
68427 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68428 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68429 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68430 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68431 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
68432 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
68433 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68434 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68435 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68436 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
68437 * sysdeps/ieee754/s_lib_version.c: Likewise.
68438 * sysdeps/ieee754/s_matherr.c: Likewise.
68439 * sysdeps/ieee754/s_signgam.c: Likewise.
68440 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68441 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68442 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
68443 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
68444 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
68445 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68446 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
68447 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
68448 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
68449 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
68450 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
68451 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
68452 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68453 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68454 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68455 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68456 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68457 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68458 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68459 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68460 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68461
68462 2012-03-09 Joseph Myers <joseph@codesourcery.com>
68463
68464 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68465 * sunrpc/rpc_main.c: Likewise.
68466 * sunrpc/rpc_svcout.c: Likewise.
68467
68468 2012-03-09 David S. Miller <davem@davemloft.net>
68469
68470 * include/math_private.h: New file.
68471
68472 2012-03-09 Joseph Myers <joseph@codesourcery.com>
68473
68474 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68475 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68476 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68477 from <bits/socket_type.h>.
68478 (enum __socket_type): Don't define here.
68479 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68481 bits/socket_type.h.
68482
68483 [BZ #13566]
68484 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68485 checking __USE_GNU.
68486
68487 * Makerules ($(inst_includedir)/%.h): New rule.
68488 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68489 (install-others): Remove variable setting.
68490 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68491
68492 2012-03-08 Richard Henderson <rth@twiddle.net>
68493
68494 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68495 from macro to inline function; merge with the
68496 !__LIBC_INTERNAL_MATH_INLINES version.
68497 (__ieee754_sqrtf): Likewise.
68498
68499 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68500 to inline function.
68501 (__rintf, __floor, __floorf): Likewise.
68502
68503 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68504 macro to inline function.
68505 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68506
68507 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68508 not <math/math_private.h>.
68509
68510 2012-03-08 David S. Miller <davem@davemloft.net>
68511
68512 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68513 copyright year.
68514 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68515
68516 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
68517
68518 * resolv/gai_misc.c (handle_requests): Fix struct timespec
68519 normalization.
68520 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68521 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68522
68523 2012-03-08 Ulrich Drepper <drepper@gmail.com>
68524
68525 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
68526 be defined individually, they must be defined as a block. Define
68527 S for printing a string instead of hidint the different by using a
68528 macro for adding the 'l'.
68529 * stdio-common/tst-fphex-wide.c: Adjust.
68530
68531 2012-03-07 Marek Polacek <polacek@redhat.com>
68532
68533 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68534
68535 2012-03-08 Marek Polacek <polacek@redhat.com>
68536
68537 [BZ #13806]
68538 * stdio-common/Makefile (tests): Add tst-fphex-wide.
68539 * stdio-common/tst-fphex.c: Define a few macros to make the
68540 test reusable. Use them.
68541 * stdio-common/tst-fphex-wide.c: New file.
68542
68543 2012-03-08 Joseph Myers <joseph@codesourcery.com>
68544
68545 [BZ #6911]
68546 * manual/macros.texi (gnusystems): New macro.
68547 (nongnusystems): Likewise.
68548 (gnulinuxhurdsystems): Likewise.
68549 (gnuhurdsystems): Likewise..
68550 (gnulinuxsystems): Likewise.
68551 * manual/charset.texi: Use new macros or @theglibc{} to refer to
68552 variants of the GNU system, not "GNU system".
68553 * manual/conf.texi: Likewise.
68554 * manual/errno.texi: Likewise. Update example of errno macro
68555 expansion.
68556 * manual/filesys.texi: Likewise.
68557 (getumask): Document as specific to GNU/Hurd.
68558 * manual/install.texi: Likewise. Reword some references to
68559 GNU/Linux.
68560 * manual/intro.texi: Likewise.
68561 * manual/io.texi: Likewise.
68562 (File Name Portability): Detail which constraints are inapplicable
68563 to all GNU systems and which are only inapplicable to GNU/Hurd.
68564 * manual/job.texi: Likewise.
68565 * manual/llio.texi: Likewise.
68566 (O_NOCTTY): Document as present on GNU/Linux.
68567 * manual/maint.texi: Likewise.
68568 * manual/memory.texi: Likewise.
68569 * manual/pattern.texi: Likewise.
68570 * manual/pipe.texi: Likewise.
68571 * manual/process.texi: Likewise.
68572 * manual/resource.texi: Likewise.
68573 (RUSAGE_CHILDREN): Remove statement about specifying a particular
68574 child on GNU/Hurd.
68575 * manual/setjmp.texi: Likewise.
68576 * manual/signal.texi: Likewise.
68577 * manual/startup.texi: Likewise.
68578 * manual/stdio.texi: Likewise.
68579 * manual/terminal.texi: Likewise.
68580 (ONLCR): Document as POSIX.
68581 (OXTABS): Document availability on GNU/Linux as XTABS.
68582 (ONOEOT): Document availability separately from other bits.
68583 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68584 * manual/time.texi: Likewise.
68585 * manual/users.texi: Likewise.
68586 * INSTALL: Regenerated.
68587 * sysdeps/gnu/errlist.c: Regenerated.
68588
68589 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68590 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68591 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
68592 puts.
68593 * configure: Regenerated.
68594
68595 2012-03-07 Joseph Myers <joseph@codesourcery.com>
68596
68597 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68598 default includes instead of AC_HEADER_CHECK.
68599 * sysdeps/i386/configure: Regenerated.
68600
68601 [BZ #10716]
68602 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68603 * math/s_cacoshf.c (__cacoshf): Likewise.
68604 * math/s_cacoshl.c (__cacoshl): Likewise.
68605 * math/s_casinh.c (__casinh): Set signs of result from argument.
68606 * math/s_casinhf.c (__casinhf): Likewise.
68607 * math/s_casinhl.c (__casinhl): Likewise.
68608 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68609 (casinh_test): Add more tests.
68610 * sysdeps/i386/fpu/libm-test-ulps: Update.
68611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68612
68613 2012-03-07 Ulrich Drepper <drepper@gmail.com>
68614
68615 * po/zh_TW.po: Update from translation team.
68616
68617 * login/Makefile (distribute): Remove variable.
68618 * catgets/Makefile: Likewise.
68619 * mach/Makefile: Likewise.
68620 * malloc/Makefile: Likewise.
68621 * misc/Makefile: Likewise.
68622 * iconv/Makefile: Likewise.
68623 * nscd/Makefile: Likewise.
68624 * hurd/Makefile: Likewise.
68625 * manual/Makefile: Likewise.
68626 * locale/Makefile: Likewise.
68627 * intl/Makefile: Likewise.
68628 * conform/Makefile: Likewise.
68629 * nss/Makefile: Likewise.
68630 * time/Makefile: Likewise.
68631 * soft-fp/Makefile: Likewise.
68632 * dirent/Makefile: Likewise.
68633 * gmon/Makefile: Likewise.
68634 * po/Makefile: Likewise.
68635 * rt/Makefile: Likewise.
68636 * socket/Makefile: Likewise.
68637 * math/Makefile: Likewise.
68638 * signal/Makefile: Likewise.
68639 * debug/Makefile: Likewise.
68640 * elf/Makefile: Likewise.
68641 * timezone/Makefile: Likewise.
68642 * stdlib/Makefile: Likewise.
68643 * iconvdata/Makefile: Likewise.
68644 * sunrpc/Makefile: Likewise.
68645 * io/Makefile: Likewise.
68646 * argp/Makefile: Likewise.
68647 * inet/Makefile: Likewise.
68648 * hesiod/Makefile: Likewise.
68649 * grp/Makefile: Likewise.
68650 * csu/Makefile: Likewise.
68651 * wctype/Makefile: Likewise.
68652 * crypt/Makefile: Likewise.
68653 * libio/Makefile: Likewise.
68654 * string/Makefile: Likewise.
68655 * nis/Makefile: Likewise.
68656 * resolv/Makefile: Likewise.
68657 * stdio-common/Makefile: Likewise.
68658 * wcsmbs/Makefile: Likewise.
68659 * dlfcn/Makefile: Likewise.
68660 * posix/Makefile: Likewise.
68661
68662 [BZ #6959]
68663 * timezone/Makefile: Don't install timezone files, just the programs
68664 and scripts.
68665
68666 2012-03-06 Ulrich Drepper <drepper@gmail.com>
68667
68668 * nss/databases.def: Add missing gshadow entry.
68669
68670 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
68671
68672 2012-03-06 Marek Polacek <polacek@redhat.com>
68673
68674 [BZ #13726]
68675 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68676 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68677 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68678 * stdio-common/tst-long-dbl-fphex.c: New file.
68679
68680 2012-03-06 David S. Miller <davem@davemloft.net>
68681
68682 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68683 (set_obp_int): New function.
68684 (get_obp_int): New function.
68685 (__get_clockfreq_via_dev_openprom): Likewise.
68686 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68687 Avoid unused variable warnings on 'val' and use builtin_expect.
68688 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68689 __builtin_expect.
68690 (INLINE_CLONE_SYSCALL): Likewise.
68691
68692 2012-03-05 David S. Miller <davem@davemloft.net>
68693
68694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68695
68696 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
68697
68698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68699
68700 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68701 only for |x| >= 40.
68702 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68703
68704 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
68705
68706 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68707 Replace gettimeofday with __vdso_gettimeofday.
68708
68709 * sysdeps/unix/sysv/linux/x86_64/init-first.c
68710 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68711 __vdso_clock_gettime and __vdso_getcpu.
68712
68713 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68714 time with __vdso_time.
68715
68716 2012-03-05 Joseph Myers <joseph@codesourcery.com>
68717
68718 * manual/lang.texi (size_t): Note types to which size_t may be
68719 equivalent with the GNU C Library, but do not describe when
68720 differences between them are significant.
68721
68722 2012-03-05 Andreas Jaeger <aj@suse.de>
68723
68724 * sysdeps/i386/fpu/libm-test-ulps: Update.
68725
68726 2012-03-05 Joseph Myers <joseph@codesourcery.com>
68727
68728 [BZ #3976]
68729 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68730 (__ieee754_pow): Save and restore rounding mode and use
68731 round-to-nearest for main computations.
68732 * math/libm-test.inc (pow_test_tonearest): New function.
68733 (pow_test_towardzero): Likewise.
68734 (pow_test_downward): Likewise.
68735 (pow_test_upward): Likewise.
68736 (main): Call the new functions.
68737 * sysdeps/i386/fpu/libm-test-ulps: Update.
68738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68739
68740 [BZ #3976]
68741 * math/libm-test.inc (cosh_test_tonearest): New function.
68742 (cosh_test_towardzero): Likewise.
68743 (cosh_test_downward): Likewise.
68744 (cosh_test_upward): Likewise.
68745 (sinh_test_tonearest): Likewise.
68746 (sinh_test_towardzero): Likewise.
68747 (sinh_test_downward): Likewise.
68748 (sinh_test_upward): Likewise.
68749 (main): Call the new functions.
68750 * sysdeps/i386/fpu/libm-test-ulps: Update.
68751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68752
68753 2012-03-05 Tom de Vries <tom@codesourcery.com>
68754
68755 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68756 default stack guard is set in last bytes.
68757 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68758
68759 2012-03-05 Kees Cook <keescook@chromium.org>
68760
68761 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68762
68763 [BZ #13656]
68764 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68765 possibly allocate from heap instead of stack.
68766 * stdio-common/bug-vfprintf-nargs.c: New file.
68767 * stdio-common/Makefile (tests): Add nargs overflow test.
68768
68769 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
68770
68771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68772
68773 2012-03-03 Marek Polacek <polacek@redhat.com>
68774
68775 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68776 * math/math_private.h: Likewise.
68777 * stdlib/tst-strtod.c: Likewise.
68778 * sysdeps/i386/i486/bits/atomic.h: Likewise.
68779 * sysdeps/x86_64/bits/atomic.h: Likewise.
68780
68781 2012-03-02 David S. Miller <davem@davemloft.net>
68782
68783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68787 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68788 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68789 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68790 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68791
68792 2012-03-02 Roland McGrath <roland@hack.frob.com>
68793
68794 [BZ #13792]
68795 * manual/examples/README: New file, says the example source files
68796 can be used under GPL>=2.
68797 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68798 line containing just "*/".
68799 * manual/examples/add.c: Add copyright header (GPL>=2).
68800 * manual/examples/argp-ex1.c: Likewise.
68801 * manual/examples/argp-ex2.c: Likewise.
68802 * manual/examples/argp-ex3.c: Likewise.
68803 * manual/examples/argp-ex4.c: Likewise.
68804 * manual/examples/atexit.c: Likewise.
68805 * manual/examples/db.c: Likewise.
68806 * manual/examples/dir.c: Likewise.
68807 * manual/examples/dir2.c: Likewise.
68808 * manual/examples/execinfo.c: Likewise.
68809 * manual/examples/filecli.c: Likewise.
68810 * manual/examples/filesrv.c: Likewise.
68811 * manual/examples/fmtmsgexpl.c: Likewise.
68812 * manual/examples/genpass.c: Likewise.
68813 * manual/examples/inetcli.c: Likewise.
68814 * manual/examples/inetsrv.c: Likewise.
68815 * manual/examples/isockad.c: Likewise.
68816 * manual/examples/longopt.c: Likewise.
68817 * manual/examples/memopen.c: Likewise.
68818 * manual/examples/memstrm.c: Likewise.
68819 * manual/examples/mkfsock.c: Likewise.
68820 * manual/examples/mkisock.c: Likewise.
68821 * manual/examples/mygetpass.c: Likewise.
68822 * manual/examples/pipe.c: Likewise.
68823 * manual/examples/popen.c: Likewise.
68824 * manual/examples/rprintf.c: Likewise.
68825 * manual/examples/search.c: Likewise.
68826 * manual/examples/select.c: Likewise.
68827 * manual/examples/setjmp.c: Likewise.
68828 * manual/examples/sigh1.c: Likewise.
68829 * manual/examples/sigusr.c: Likewise.
68830 * manual/examples/stpcpy.c: Likewise.
68831 * manual/examples/strdupa.c: Likewise.
68832 * manual/examples/strftim.c: Likewise.
68833 * manual/examples/strncat.c: Likewise.
68834 * manual/examples/subopt.c: Likewise.
68835 * manual/examples/swapcontext.c: Likewise.
68836 * manual/examples/termios.c: Likewise.
68837 * manual/examples/testopt.c: Likewise.
68838 * manual/examples/testpass.c: Likewise.
68839 * manual/examples/timeval_subtract.c: Likewise.
68840
68841 [BZ #13792]
68842 * manual/time.texi (Elapsed Time): Move timeval_subtract example
68843 function to ...
68844 * manual/timeval_subtract.c.texi: ... here, new file.
68845
68846 2012-03-02 David S. Miller <davem@davemloft.net>
68847
68848 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68849
68850 2012-03-02 Joseph Myers <joseph@codesourcery.com>
68851
68852 [BZ #3976]
68853 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68854 (__sin): Save and restore rounding mode and use round-to-nearest
68855 for all computations.
68856 (__cos): Save and restore rounding mode and use round-to-nearest
68857 for all computations.
68858 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68859 <fenv.h>.
68860 (tan): Save and restore rounding mode and use round-to-nearest for
68861 all computations.
68862 * math/libm-test.inc (cos_test_tonearest): New function.
68863 (cos_test_towardzero): Likewise.
68864 (cos_test_downward): Likewise.
68865 (cos_test_upward): Likewise.
68866 (sin_test_tonearest): Likewise.
68867 (sin_test_towardzero): Likewise.
68868 (sin_test_downward): Likewise.
68869 (sin_test_upward): Likewise.
68870 (tan_test_tonearest): Likewise.
68871 (tan_test_towardzero): Likewise.
68872 (tan_test_downward): Likewise.
68873 (tan_test_upward): Likewise.
68874 (main): Call the new functions.
68875 * sysdeps/i386/fpu/libm-test-ulps: Update.
68876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68877
68878 [BZ #10135]
68879 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68880 small n, then large n, before computing and testing k+n.
68881 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68882 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68883 Likewise.
68884 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68885 Likewise.
68886 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68887 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68888 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68889 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68890 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68891 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68892 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68893 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68894 * math/libm-test.inc (scalbn_test): Add more tests.
68895 (scalbln_test): Likewise.
68896
68897 * manual/filesys.texi (mode_t): Describe constraints on size and
68898 signedness, not exact equivalence to a particular type.
68899 (ino_t): Likewise.
68900 (ino64_t): Likewise.
68901 (dev_t): Likewise.
68902 (nlink_t): Likewise.
68903 (blkcnt_t): Likewise.
68904 (blkcnt64_t): Likewise.
68905 * manual/llio.texi (off_t): Likewise.
68906
68907 [BZ #3976]
68908 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68909 (__ieee754_exp): Save and restore rounding mode and use
68910 round-to-nearest for all computations.
68911 * math/libm-test.inc (exp_test_tonearest): New function.
68912 (exp_test_towardzero): Likewise.
68913 (exp_test_downward): Likewise.
68914 (exp_test_upward): Likewise.
68915 (main): Call the new functions.
68916 * sysdeps/i386/fpu/libm-test-ulps: Update.
68917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68918
68919 2012-03-01 Chris Demetriou <cgd@google.com>
68920
68921 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68922 have predictable order.
68923
68924 2012-03-01 David S. Miller <davem@davemloft.net>
68925
68926 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68927
68928 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68929 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68930 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68931 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68932
68933 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68934 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68935 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68937 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68938 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68939 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68940 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68941 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68942
68943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68944
68945 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68946 * sysdeps/sparc/fpu/libm-test-ulps: to here.
68947 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68948
68949 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68950 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68951 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68952 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68953 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68954 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68955 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68956 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68957 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68958 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68959 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68960 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68961 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68962 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68963 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68964 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68965 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68966 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68967 * sysdeps/sparc/elf/configure: Regenerated.
68968
68969 2012-03-01 Joseph Myers <joseph@codesourcery.com>
68970
68971 * configure.in (AS, LD): Require binutils 2.20 or later.
68972 * configure: Regenerated.
68973 * manual/install.texi (Tools for Compilation): Give binutils 2.20
68974 as required minimum version.
68975 * INSTALL: Regenerated.
68976
68977 [BZ #2541]
68978 [BZ #4108]
68979 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68980 before squaring exponent.
68981 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68982 bottom long double and 27 bits of top long double before squaring
68983 exponent.
68984 * math/libm-test.inc (erfc_test): Add more tests.
68985 * sysdeps/i386/fpu/libm-test-ulps: Update.
68986 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68988
68989 2012-03-01 Kai Tietz <ktietz@redhat.com>
68990
68991 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68992 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68993 containing bit-fields.
68994 * soft-fp/extended.h (_FP_UNION_E): Likewise.
68995 * soft-fp/single.h (_FP_UNION_S): Likewise.
68996 * soft-fp/double.h (_FP_UNION_D): Likewise.
68997
68998 2012-02-29 Joseph Myers <joseph@codesourcery.com>
68999
69000 [BZ #13786]
69001 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
69002 not include ../strcmp.S.
69003 [USE_AS_STRNCASECMP_L]: Likewise.
69004 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
69005 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
69006 * sysdeps/i386/i686/multiarch/strncase_l-c.c
69007 (__strncasecmp_l_ia32): Define as alias to
69008 __strncasecmp_l_nonascii.
69009
69010 [BZ #5794]
69011 * math/libm-test.inc (expm1_test): Add test for bug 5794.
69012 * sysdeps/i386/fpu/libm-test-ulps: Update.
69013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69014
69015 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
69016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69017
69018 2012-02-29 Jeff Law <law@redhat.com>
69019
69020 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
69021 out of bounds read.
69022
69023 2012-02-29 Marek Polacek <polacek@redhat.com>
69024
69025 [BZ #13706]
69026 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
69027 * elf/Makefile: Add rules to run tst-unused-dep.out.
69028
69029 2012-02-28 David S. Miller <davem@davemloft.net>
69030
69031 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
69032 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
69033 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
69034 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
69035 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
69036 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
69037
69038 2012-02-29 Joseph Myers <joseph@codesourcery.com>
69039
69040 * math/libm-test.inc (llround_test): Move one test from
69041 lround_test. Use TEST_f_L in moved test.
69042 (lround_test): Move misplaced test to llround_test. Add testcase
69043 from bug 2561.
69044
69045 2012-02-28 Ulrich Drepper <drepper@gmail.com>
69046
69047 * sysdeps/x86_64/fpu/e_expf.S: New file.
69048 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
69049
69050 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
69051
69052 [BZ #13637]
69053 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
69054 of remain_len that may cause incomplete multi-byte character and
69055 false match.
69056 * posix/bug-regex33.c: New file.
69057 * posix/Makefile (tests): Add bug-regex33.
69058
69059 2012-02-28 Joseph Myers <joseph@codesourcery.com>
69060
69061 * manual/macros.texi: New file.
69062 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
69063 * manual/libc.texinfo: Include macros.texi.
69064 * manual/creatute.texi: Likewise.
69065 * manual/install.texi: Likewise.
69066 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
69067 @glibcadj{} in references to the GNU C Library.
69068 * manual/charset.texi: Likewise.
69069 * manual/conf.texi: Likewise.
69070 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
69071 when not using those macros.
69072 * manual/creature.texi: Likewise.
69073 * manual/crypt.texi: Likewise.
69074 * manual/errno.texi: Likewise.
69075 * manual/filesys.texi: Likewise.
69076 * manual/header.texi: Likewise.
69077 * manual/install.texi: Likewise.
69078 * manual/intro.texi: Likewise.
69079 * manual/io.texi: Likewise.
69080 * manual/job.texi: Likewise.
69081 * manual/lang.texi: Likewise.
69082 * manual/libc.texiinfo: Likewise.
69083 * manual/llio.texi: Likewise.
69084 * manual/locale.texi: Likewise.
69085 * manual/maint.texi: Likewise.
69086 * manual/math.texi: Likewise.
69087 * manual/memory.texi: Likewise.
69088 * manual/message.texi: Likewise.
69089 * manual/nss.texi: Likewise.
69090 * manual/pattern.texi: Likewise.
69091 * manual/process.texi: Likewise.
69092 * manual/resource.texi: Likewise.
69093 * manual/search.texi: Likewise.
69094 * manual/setjmp.texi: Likewise.
69095 * manual/signal.texi: Likewise.
69096 * manual/socket.texi: Likewise.
69097 * manual/startup.texi: Likewise.
69098 * manual/stdio.texi: Likewise.
69099 * manual/string.texi: Likewise.
69100 * manual/sysinfo.texi: Likewise.
69101 * manual/syslog.texi: Likewise.
69102 * manual/terminal.texi: Likewise.
69103 * manual/time.texi: Likewise.
69104 * manual/users.texi: Likewise.
69105 * INSTALL: Regenerated.
69106 * NOTES: Regenerated.
69107 * sysdeps/gnu/errlist.c: Regenerated.
69108
69109 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
69110
69111 * include/dirent.h: Include <dirstream.h> before
69112 <dirent/dirent.h>.
69113
69114 2012-02-28 David S. Miller <davem@davemloft.net>
69115
69116 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
69117 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
69118 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
69119 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
69120
69121 2012-02-27 David S. Miller <davem@davemloft.net>
69122
69123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
69124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
69125 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
69126 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
69127
69128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
69129 frame pointer instead of stack pointer relative arg slot.
69130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69131 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69132 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69133
69134 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
69135
69136 [BZ #3992]
69137 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
69138
69139 2012-02-27 David S. Miller <davem@davemloft.net>
69140
69141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
69142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
69145 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69146 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69147 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
69148 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
69149
69150 2012-02-27 Joseph Myers <joseph@codesourcery.com>
69151
69152 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
69153 later. Allow versions 5-9.
69154 * configure: Regenerated.
69155 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
69156 required minimum version and 4.6 as recommended version. Do not
69157 mention bugs in GCC 2.7 and 2.8.
69158 * INSTALL: Regenerated.
69159
69160 2012-02-27 David S. Miller <davem@davemloft.net>
69161
69162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
69163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
69164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
69165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
69166 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
69167 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69168 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
69169 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
69170
69171 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
69172 manipulate bits before adding and subtracting TWO112[sx].
69173 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69174
69175 2012-02-27 Roland McGrath <roland@hack.frob.com>
69176
69177 [BZ #13775]
69178 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
69179 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
69180 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
69181 being in POSIX, because they are in 1003.1-2008.
69182
69183 * rt/tst-aio.c: Include <fcntl.h>.
69184 * rt/tst-aio7.c: Likewise.
69185 * rt/tst-aio64.c: Likewise.
69186
69187 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
69188
69189 2012-02-27 Joseph Myers <joseph@codesourcery.com>
69190
69191 * manual/install.texi (--with-headers): Describe headers as
69192 interface headers, not private headers.
69193 (Specific advice for GNU/Linux systems): Describe use of headers
69194 from "make headers_install", not private headers from older
69195 kernels.
69196 * INSTALL: Regenerated.
69197 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
69198 Change to 2.6.19.
69199 * sysdeps/unix/sysv/linux/configure: Regenerated.
69200
69201 * manual/llio.texi (fclean): Remove documentation.
69202
69203 * manual/Makefile (libc-texi-generated): New variable. Include
69204 version.texi.
69205 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69206 $(libc-texi-generated), not duplicated list of files.
69207 (version.texi, stamp-version): New rules.
69208 (realclean): Remove $(libc-texi-generated), not individual files
69209 from that list. Do not remove dir-add.texinfo.
69210 * manual/libc.texinfo: Comment out uses of edition numbers and
69211 references to printed manual. Remove last-updated dates.
69212 (EDITION): Comment out.
69213 (ISBN): Likewise.
69214 (VERSION, UPDATED): Remove.
69215 (version.texi): Include.
69216
69217 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
69218
69219 * sysdeps/posix/spawni.c: Include <signal.h>.
69220 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69221 * sysdeps/pthread/aio_fsync.c: Likewise.
69222
69223 2012-02-26 Ulrich Drepper <drepper@gmail.com>
69224
69225 * conform/Makefile (tests): Run only when not cross-compiling and
69226 when fast-check is not defined.
69227
69228 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69229 * conform/data/limits.h-data: Fixes for POSIX2008.
69230 * conform/run-conformtest.sh: Run all tests.
69231 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69232 headers.
69233 * include/bits/dlfcn.h: Likewise.
69234 * include/langinfo.h: Likewise.
69235 * include/monetary.h: Likewise.
69236 * include/sys/poll.h: Likewise.
69237
69238 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69239 for __USE_GNU.
69240 * posix/spawn.h: Define __need_sigset_t.
69241 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69242 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69243 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
69244 to get sigevent_t only.
69245 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69246 only for __USE_GNU.
69247 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69248 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69249 process_vm_writev only for __USE_GNU.
69250 * termios/termios.h: Declare tcgetsid also for POSIX2008.
69251
69252 * conform/Makefile: For now ignore errors from run-conformtest.
69253 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
69254 POSIX to avoid namespace pollution. Don't prepend headers.
69255 * conform/data/aio.h-data: Fixes for POSIX testing.
69256 * conform/data/fcntl.h-data: Likewise.
69257 * conform/data/glob.h-data: Likewise.
69258 * conform/data/grp.h-data: Likewise.
69259 * conform/data/pthread.h-data: Likewise.
69260 * conform/data/pwd.h-data: Likewise.
69261 * conform/data/signal.h-data: Likewise.
69262 * conform/data/spawn.h-data: Likewise.
69263 * conform/data/stdio.h-data: Likewise.
69264 * conform/data/stdlib.h-data: Likewise.
69265 * conform/data/stropts.h-data: Likewise.
69266 * conform/data/sys/mman.h-data: Likewise.
69267 * conform/data/sys/stat.h-data: Likewise.
69268 * conform/data/sys/types.h-data: Likewise.
69269 * conform/data/sys/wait.h-data: Likewise.
69270 * conform/data/time.h-data: Likewise.
69271 * conform/data/unistd.h-data: Likewise.
69272 * conform/data/utime.h-data: Likewise.
69273
69274 * io/sys/stat.h: fchmod was always in POSIX.
69275 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69276 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69277 * rt/aio.h: Define __need_timespec before including <time.h>.
69278 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69279 struct. Add forward declaration of pthread_attr_t and use it in
69280 sigevent.
69281 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69282 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69283 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69284 always remove CLK_TCK definition.
69285
69286 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
69287
69288 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69289
69290 2012-02-25 Ulrich Drepper <drepper@gmail.com>
69291
69292 * conform/run-conformtest.sh: New file.
69293 * conform/Makefile: Run run-conformtest for tests.
69294 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
69295 support.
69296
69297 * conform/data/uchar.h-data: New file.
69298 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69299 * conform/data/arpa/inet.h-data: Likewise.
69300 * conform/data/assert.h-data: Likewise.
69301 * conform/data/complex.h-data: Likewise.
69302 * conform/data/cpio.h-data: Likewise.
69303 * conform/data/ctype.h-data: Likewise.
69304 * conform/data/dirent.h-data: Likewise.
69305 * conform/data/dlfcn.h-data: Likewise.
69306 * conform/data/errno.h-data: Likewise.
69307 * conform/data/fcntl.h-data: Likewise.
69308 * conform/data/float.h-data: Likewise.
69309 * conform/data/fmtmsg.h-data: Likewise.
69310 * conform/data/fnmatch.h-data: Likewise.
69311 * conform/data/ftw.h-data: Likewise.
69312 * conform/data/glob.h-data: Likewise.
69313 * conform/data/grp.h-data: Likewise.
69314 * conform/data/iconv.h-data: Likewise.
69315 * conform/data/inttypes.h-data: Likewise.
69316 * conform/data/langinfo.h-data: Likewise.
69317 * conform/data/libgen.h-data: Likewise.
69318 * conform/data/limits.h-data: Likewise.
69319 * conform/data/locale.h-data: Likewise.
69320 * conform/data/math.h-data: Likewise.
69321 * conform/data/monetary.h-data: Likewise.
69322 * conform/data/mqueue.h-data: Likewise.
69323 * conform/data/ndbm.h-data: Likewise.
69324 * conform/data/net/if.h-data: Likewise.
69325 * conform/data/netdb.h-data: Likewise.
69326 * conform/data/netinet/in.h-data: Likewise.
69327 * conform/data/nl_types.h-data: Likewise.
69328 * conform/data/poll.h-data: Likewise.
69329 * conform/data/pthread.h-data: Likewise.
69330 * conform/data/pwd.h-data: Likewise.
69331 * conform/data/regex.h-data: Likewise.
69332 * conform/data/sched.h-data: Likewise.
69333 * conform/data/search.h-data: Likewise.
69334 * conform/data/semaphore.h-data: Likewise.
69335 * conform/data/setjmp.h-data: Likewise.
69336 * conform/data/signal.h-data: Likewise.
69337 * conform/data/spawn.h-data: Likewise.
69338 * conform/data/stdarg.h-data: Likewise.
69339 * conform/data/stdio.h-data: Likewise.
69340 * conform/data/stdlib.h-data: Likewise.
69341 * conform/data/string.h-data: Likewise.
69342 * conform/data/strings.h-data: Likewise.
69343 * conform/data/stropts.h-data: Likewise.
69344 * conform/data/sys/ipc.h-data: Likewise.
69345 * conform/data/sys/mman.h-data: Likewise.
69346 * conform/data/sys/msg.h-data: Likewise.
69347 * conform/data/sys/resource.h-data: Likewise.
69348 * conform/data/sys/select.h-data: Likewise.
69349 * conform/data/sys/sem.h-data: Likewise.
69350 * conform/data/sys/shm.h-data: Likewise.
69351 * conform/data/sys/socket.h-data: Likewise.
69352 * conform/data/sys/stat.h-data: Likewise.
69353 * conform/data/sys/statvfs.h-data: Likewise.
69354 * conform/data/sys/time.h-data: Likewise.
69355 * conform/data/sys/timeb.h-data: Likewise.
69356 * conform/data/sys/times.h-data: Likewise.
69357 * conform/data/sys/types.h-data: Likewise.
69358 * conform/data/sys/uio.h-data: Likewise.
69359 * conform/data/sys/un.h-data: Likewise.
69360 * conform/data/sys/utsname.h-data: Likewise.
69361 * conform/data/sys/wait.h-data: Likewise.
69362 * conform/data/syslog.h-data: Likewise.
69363 * conform/data/tar.h-data: Likewise.
69364 * conform/data/termios.h-data: Likewise.
69365 * conform/data/utime.h-data: Likewise.
69366 * conform/data/utmpx.h-data: Likewise.
69367 * conform/data/varargs.h-data: Likewise.
69368 * conform/data/wchar.h-data: Likewise.
69369 * conform/data/wctype.h-data: Likewise.
69370 * conform/data/wordexp.h-data: Likewise.
69371
69372 * include/stropts.h: New file.
69373 * include/uchar.h: New file.
69374 * include/aio.h: Changes to allow conformtest.pl to use the headers.
69375 * include/assert.h: Likewise.
69376 * include/ctype.h: Likewise.
69377 * include/dirent.h: Likewise.
69378 * include/dlfcn.h: Likewise.
69379 * include/fcntl.h: Likewise.
69380 * include/fnmatch.h: Likewise.
69381 * include/glob.h: Likewise.
69382 * include/grp.h: Likewise.
69383 * include/libio.h: Likewise.
69384 * include/locale.h: Likewise.
69385 * include/math.h: Likewise.
69386 * include/net/if.h: Likewise.
69387 * include/netdb.h: Likewise.
69388 * include/netinet/in.h: Likewise.
69389 * include/pthread.h: Likewise.
69390 * include/pwd.h: Likewise.
69391 * include/regex.h: Likewise.
69392 * include/sched.h: Likewise.
69393 * include/search.h: Likewise.
69394 * include/setjmp.h: Likewise.
69395 * include/signal.h: Likewise.
69396 * include/stdio.h: Likewise.
69397 * include/stdlib.h: Likewise.
69398 * include/string.h: Likewise.
69399 * include/sys/cdefs.h: Likewise.
69400 * include/sys/mman.h: Likewise.
69401 * include/sys/msg.h: Likewise.
69402 * include/sys/resource.h: Likewise.
69403 * include/sys/select.h: Likewise.
69404 * include/sys/socket.h: Likewise.
69405 * include/sys/stat.h: Likewise.
69406 * include/sys/statvfs.h: Likewise.
69407 * include/sys/time.h: Likewise.
69408 * include/sys/times.h: Likewise.
69409 * include/sys/uio.h: Likewise.
69410 * include/sys/utsname.h: Likewise.
69411 * include/sys/wait.h: Likewise.
69412 * include/termios.h: Likewise.
69413 * include/time.h: Likewise.
69414 * include/ulimit.h: Likewise.
69415 * include/unistd.h: Likewise.
69416 * include/utime.h: Likewise.
69417 * include/wchar.h: Likewise.
69418 * include/wctype.h: Likewise.
69419 * include/wordexp.h: Likewise.
69420
69421 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
69422
69423 * time/time.h: TIME_UTC must be a macro.
69424 Make timespec_get available for ISO C11 only as well.
69425
69426 2012-02-24 Ulrich Drepper <drepper@gmail.com>
69427
69428 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
69429 Reported by Peng Haitao <penght@cn.fujitsu.com>.
69430
69431 2012-02-24 Joseph Myers <joseph@codesourcery.com>
69432
69433 * configure.in: Use -o not -a in test for unsupported multi-arch.
69434
69435 2012-02-24 Joseph Myers <joseph@codesourcery.com>
69436
69437 * manual/texinfo.tex: Update to version 2012-01-19.16.
69438
69439 2012-02-24 Joseph Myers <joseph@codesourcery.com>
69440
69441 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
69442
69443 2012-02-24 Roland McGrath <roland@hack.frob.com>
69444
69445 [BZ #13738]
69446 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
69447 * manual/fdl-1.3.texi: New file.
69448 * manual/fdl-1.1.texi: File removed.
69449
69450 [BZ #13738]
69451 * manual/libc.texinfo (FDL_VERSION): New @set.
69452 Use it for mention of FDL in cover text.
69453 (Documentation License): Use it in @include file name.
69454
69455 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69456 Roland McGrath <roland@hack.frob.com>
69457
69458 [BZ #5461]
69459 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69460 (not LONG_LONG_MAX and LONG_LONG_MIN.
69461 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69462 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
69463 name.
69464 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69465
69466 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69467
69468 [BZ #2547]
69469 [BZ #11365]
69470 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69471 manipulate bits before adding and subtracting TWO23[sx].
69472 * math/libm-test.inc (nearbyint_test): Add more tests.
69473
69474 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69475
69476 [BZ #2548]
69477 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69478 bits before adding and subtracting TWO23[sx].
69479 * math/libm-test.inc (rint_test): Add more tests.
69480 (rint_test_tonearest): Likewise.
69481 (rint_test_towardzero): Likewise.
69482 (rint_test_downward): Likewise.
69483 (rint_test_upward: Likewise.
69484
69485 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69486
69487 [BZ #10110]
69488 * include/stdc-predef.h: New file. Extracted from features.h.
69489 * include/features.h: Include stdc-predef.h.
69490 * Makefile (headers): Add stdc-predef.h.
69491 * CONFORMANCE (Compiler limitations): Update.
69492
69493 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69494
69495 * manual/libc.texinfo (VERSION, UPDATED): Revert.
69496
69497 2012-02-21 David S. Miller <davem@davemloft.net>
69498
69499 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69500 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69501
69502 2012-02-20 David S. Miller <davem@davemloft.net>
69503
69504 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69505 using a normal save/restore sequence, rather than allocating a
69506 dummy stack frame just to store a frame pointer and restore.
69507 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69508
69509 2012-02-21 Joseph Myers <joseph@codesourcery.com>
69510
69511 * manual/install.texi: Fix stray word in line-wrapped comment.
69512
69513 2012-02-20 David S. Miller <davem@davemloft.net>
69514
69515 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69516 both binutils and gcc support GOTDATA.
69517
69518 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69519 "rd %pc" in the PIC register setup sequences.
69520
69521 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69522 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69523 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69524 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69525 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69526 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69527 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69528 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69529 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69530 (SYSCALL_ERROR_HANDLER): Likewise.
69531 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69532 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69533 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69534 (SYSCALL_ERROR_HANDLER): Likewise.
69535
69536 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69537 (HAVE_GCC_GOTDATA): New.
69538 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69539 relocation support in both binutils and gcc.
69540 * sysdeps/sparc/elf/configure: Regenerate.
69541
69542 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69543 * sysdeps/sparc/sparc32/elf/configure: Delete.
69544 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69545 * sysdeps/sparc/sparc64/elf/configure: Delete.
69546 * sysdeps/sparc/elf/configure.in: New file.
69547 * sysdeps/sparc/elf/configure: Generate.
69548
69549 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69550 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69551 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69552 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69553 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69554
69555 2012-02-21 Joseph Myers <joseph@codesourcery.com>
69556
69557 * manual/install.texi: Do not mention specific glibc version
69558 numbers.
69559 * manual/libc.texinfo (VERSION, UPDATED): Update.
69560 (@copying): Use @copyright{} and range of years.
69561
69562 2012-02-21 Joseph Myers <joseph@codesourcery.com>
69563
69564 [BZ #13695]
69565 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69566 [crti.S not in sysdirs] (generated): Do not append.
69567 [crti.S not in sysdirs] (omit-deps): Likewise.
69568 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69569 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69570 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69571 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69572 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69573 Likewise.
69574 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69575 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69576 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69577 * csu/defs.awk: Remove file.
69578 * sysdeps/generic/initfini.c: Likewise.
69579 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69580 variable.
69581 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69582 Likewise.
69583
69584 2012-02-20 Joseph Myers <joseph@codesourcery.com>
69585
69586 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69587 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69588 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69589 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69590 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69591 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69592 <bits/epoll.h>.
69593 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69594 (__EPOLL_PACKED): Define to empty if not defined by
69595 <bits/epoll.h>.
69596 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69598 bits/epoll.h.
69599
69600 2012-02-20 Joseph Myers <joseph@codesourcery.com>
69601
69602 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69603 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69604 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69605 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69606 <bits/timerfd.h>.
69607 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69609 bits/timerfd.h.
69610
69611 2012-02-20 Joseph Myers <joseph@codesourcery.com>
69612
69613 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69614 in C locale.
69615 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69616 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69617 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69619
69620 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
69621
69622 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69623 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69624
69625 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
69626
69627 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69628 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69629 defined.
69630 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69631 Likewise.
69632 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69633 entry for 2.16.
69634
69635 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
69636
69637 * math/w_acos.c: Use non-signaling floating-point comparisons.
69638 * math/w_acosf.c: Likewise.
69639 * math/w_acosh.c: Likewise.
69640 * math/w_acoshf.c: Likewise.
69641 * math/w_acoshl.c: Likewise.
69642 * math/w_acosl.c: Likewise.
69643 * math/w_asin.c: Likewise.
69644 * math/w_asinf.c: Likewise.
69645 * math/w_asinl.c: Likewise.
69646 * math/w_atanh.c: Likewise.
69647 * math/w_atanhf.c: Likewise.
69648 * math/w_atanhl.c: Likewise.
69649 * math/w_exp2.c: Likewise.
69650 * math/w_exp2f.c: Likewise.
69651 * math/w_exp2l.c: Likewise.
69652 * math/w_j0.c: Likewise.
69653 * math/w_j0f.c: Likewise.
69654 * math/w_j0l.c: Likewise.
69655 * math/w_j1.c: Likewise.
69656 * math/w_j1f.c: Likewise.
69657 * math/w_j1l.c: Likewise.
69658 * math/w_jn.c: Likewise.
69659 * math/w_jnf.c: Likewise.
69660 * math/w_log.c: Likewise.
69661 * math/w_log10.c: Likewise.
69662 * math/w_log10f.c: Likewise.
69663 * math/w_log10l.c: Likewise.
69664 * math/w_log2.c: Likewise.
69665 * math/w_log2f.c: Likewise.
69666 * math/w_log2l.c: Likewise.
69667 * math/w_logf.c: Likewise.
69668 * math/w_logl.c: Likewise.
69669 * math/w_sqrt.c: Likewise.
69670 * math/w_sqrtf.c: Likewise.
69671 * math/w_sqrtl.c: Likewise.
69672 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69673 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69674 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69675 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69676 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69677
69678 2012-02-19 Joseph Myers <joseph@codesourcery.com>
69679
69680 [BZ #9739]
69681 * manual/string.texi (strnlen): Use correct parameter name in
69682 equivalent expression.
69683
69684 2012-02-19 Joseph Myers <joseph@codesourcery.com>
69685
69686 [BZ #11174]
69687 * manual/users.texi (seteuid): Consistently use neweuid for
69688 argument name.
69689
69690 2012-02-19 Joseph Myers <joseph@codesourcery.com>
69691
69692 [BZ #13704]
69693 * manual/nss.texi (Services in the NSS configuration): Correct
69694 list of services in example configuration file.
69695
69696 2012-02-19 Nick Bowler <nbowler@draconx.ca>
69697
69698 [BZ #11322]
69699 * manual/arith.texi: Remove statements about negative zero
69700 behaving identically to zero.
69701
69702 2012-02-18 Joseph Myers <joseph@codesourcery.com>
69703
69704 [BZ #5993]
69705 * manual/install.texi: Do not document upgrading from libc5.
69706
69707 2012-02-18 Joseph Myers <joseph@codesourcery.com>
69708
69709 [BZ #4596]
69710 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69711
69712 2012-02-18 David S. Miller <davem@davemloft.net>
69713
69714 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69715 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69716 %o7 across the call.
69717 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69718 instead.
69719 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69720 SETUP_PIC_REG_LEAF.
69721 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69722 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69723 * sysdeps/sparc/crtn.S: Likewise.
69724
69725 2012-02-17 Ulrich Drepper <drepper@gmail.com>
69726
69727 * aout/Makefile: Remove.
69728
69729 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
69730
69731 [BZ #13058]
69732 * manual/examples/argp-ex1.c (main): Format definition in GNU
69733 style.
69734 * manual/examples/argp-ex2.c (main): Likewise.
69735 * manual/examples/argp-ex3.c (main): Likewise.
69736 * manual/examples/argp-ex4.c (main): Likewise.
69737 * manual/examples/longopt.c (main): Use new-style prototype
69738 definition.
69739 * manual/examples/strncat.c (main): Specify return type and use
69740 (void) for arguments.
69741 * manual/examples/subopt.c (main): Use char **argv argument.
69742
69743 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69744
69745 [BZ #5077]
69746 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69747 rounding modes.
69748
69749 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
69750
69751 [BZ #6907]
69752 * manual/string.texi (strchr): Change when strchrnul is
69753 recommended.
69754
69755 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
69756
69757 [BZ #174]
69758 * manual/locale.texi (setlocale): Document LOCPATH.
69759
69760 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69761
69762 [BZ #10210]
69763 * manual/process.texi (execle): Move @dots{} before last argument.
69764
69765 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
69766
69767 [BZ #12047]
69768 * manual/charset.texi (Generic Charset Conversion): Fix typo
69769 (LC_TYPE -> LC_CTYPE).
69770
69771 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
69772
69773 [BZ #5805]
69774 * manual/arith.texi (scalbn): Use @var{} on parameter names.
69775 (scalbnf): Likewise.
69776 (scalbnl): Likewise.
69777 (scalbln): Likewise.
69778 (scalblnf): Likewise.
69779 (scalblnl): Likewise.
69780 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69781 (vwarnx): Likewise.
69782 (verr): Likewise.
69783 (verrx): Likewise.
69784 * manual/filesys.texi (telldir): Use braces around return type.
69785 * manual/llio.texi (mmap): Add space after comma.
69786 (mmap64): Likewise.
69787 * manual/math.texi (jn): Use @var{} on parameter names.
69788 (jnf): Likewise.
69789 (jnl): Likewise.
69790 (yn): Likewise.
69791 (ynf): Likewise.
69792 (ynl): Likewise.
69793 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69794 line.
69795 * manual/resource.texi (ulimit): Use @dots{} instead of literal
69796 "...".
69797 (sched_get_priority_min): Remove semicolon on @deftypefun line.
69798 (sched_get_priority_max): Likewise.
69799 * manual/signal.texi (sigvec): Add space after comma.
69800 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69801 names.
69802 (if_indextoname): Likewise.
69803 (if_freenameindex): Likewise.
69804 (sendto): Use ',' instead of '.' in prototype.
69805 * manual/startup.texi (syscall): Use @dots{} instead of literal
69806 "...".
69807 * manual/stdio.texi (__fpending): Separate initial words of
69808 paragraph from @deftypefun line.
69809 * manual/syslog.texi (syslog): Use @dots{} instead of literal
69810 "...".
69811 (vsyslog): Use @var{} on parameter names.
69812 * manual/terminal.texi (stty): Use @var{} on parameter names.
69813 * manual/users.texi (getutmp): Use @var{} on parameter names.
69814 (getutmpx): Likewise.
69815
69816 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69817
69818 [BZ #6884]
69819 * manual/stdio.texi (fopen): Fix typos in description of
69820 ",ccs=STRING".
69821
69822 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
69823
69824 [BZ #4026]
69825 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69826 get clock_id definition.
69827
69828 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
69829
69830 [BZ #4822]
69831 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69832 (madvise): Cast every argument to void on its own.
69833
69834 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69835
69836 [BZ #9902]
69837 * manual/startup.texi (Exit Status): Fix typo.
69838
69839 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69840
69841 [BZ #10140]
69842 * manual/examples/argp-ex1.c: Include <stdlib.h>.
69843 * manual/examples/argp-ex2.c: Likewise.
69844 * manual/examples/argp-ex3.c: Likewise.
69845
69846 2012-02-16 Richard Henderson <rth@redhat.com>
69847
69848 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69849 * sysdeps/s390/s390-32/initfini.c: Remove.
69850 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69851 * sysdeps/s390/s390-64/initfini.c: Remove.
69852
69853 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69854
69855 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69856 compiler output for sysdeps/generic/initfini.c.
69857 * sysdeps/sh/elf/initfini.c: Remove file.
69858
69859 2012-02-16 David S. Miller <davem@davemloft.net>
69860
69861 [BZ #11494]
69862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69863
69864 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69865 * sysdeps/sparc/crti.S: New file.
69866 * sysdeps/sparc/crtn.S: New file.
69867 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69868 * sysdeps/sparc/sparc64/Makefile: Likewise.
69869
69870 2012-02-15 Mike Frysinger <vapier@gentoo.org>
69871
69872 [BZ #3335]
69873 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69874
69875 2012-02-15 Roland McGrath <roland@hack.frob.com>
69876
69877 [BZ #4822]
69878 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69879
69880 * mach/devstream.c (cookie_io_functions_t): Macro removed.
69881 (write, read, close): Likewise.
69882 Patch by Aurelien Jarno <aurelien@aurel32.net>.
69883
69884 2012-02-15 Joseph Myers <joseph@codesourcery.com>
69885
69886 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69887 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69888 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69889 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69890 <bits/signalfd.h>.
69891 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69893 bits/signalfd.h.
69894
69895 2012-02-14 Marek Polacek <polacek@redhat.com>
69896
69897 * sysdeps/x86_64/crti.S: New file.
69898 * sysdeps/x86_64/crtn.S: New file.
69899 * sysdeps/x86_64/elf/initfini.c: Remove file.
69900
69901 2012-02-13 Joseph Myers <joseph@codesourcery.com>
69902
69903 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69904 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69905 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69906 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69907 <bits/inotify.h>.
69908 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69910 bits/inotify.h.
69911
69912 2012-02-13 Joseph Myers <joseph@codesourcery.com>
69913
69914 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69915 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69916 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69917 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69918 <bits/eventfd.h>.
69919 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69921 bits/eventfd.h.
69922
69923 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
69924
69925 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69926 __feraiseexcept instead of feraiseexcept.
69927
69928 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69929 nanosleep invocations.
69930 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69931 strings, and add error checking for a nanosleep invocations.
69932
69933 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
69934
69935 Replace FSF snail mail address with URLs, as per GNU coding standards.
69936 Most of the snail mail addresses were wrong anyway, and omitting
69937 them makes the source code easier to maintain. Almost all of the
69938 changes are to license notices and to locale LC_IDENTIFICATION
69939 addresses, except for this one:
69940 * manual/libc.texinfo: In "Published by", give the FSF's URL,
69941 not its snail mail address.
69942
69943 2012-02-09 Richard Henderson <rth@twiddle.net>
69944
69945 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69946 of kernel-features.h.
69947
69948 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69949
69950 2012-02-08 Marek Polacek <polacek@redhat.com>
69951
69952 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69953 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69954 * sysdeps/gnu/_G_config.h: Likewise.
69955 * sysdeps/generic/_G_config.h: Likewise.
69956
69957 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
69958
69959 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69960 tests.
69961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69962
69963 * sysdeps/powerpc/powerpc32/crti.S: New file.
69964 * sysdeps/powerpc/powerpc32/crtn.S: New file.
69965 * sysdeps/powerpc/powerpc64/crti.S: New file.
69966 * sysdeps/powerpc/powerpc64/crtn.S: New file.
69967
69968 * Makeconfig (have-initfini): Don't set.
69969 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69970 * configure.in (nopic_initfini): Don't substitute.
69971 * config.h.in (HAVE_INITFINI): Don't #undef.
69972 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69973 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69974
69975 2012-02-08 Joseph Myers <joseph@codesourcery.com>
69976
69977 Support crti.S and crtn.S provided directly by architectures.
69978 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69979 [crti.S in sysdirs] (omit-deps): Likewise.
69980 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69981 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69982 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69983 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69984 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69985 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69986 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69987 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69988 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69989 compiler output for sysdeps/generic/initfini.c.
69990 * sysdeps/i386/elf/Makefile: Remove file.
69991 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69992
69993 2012-02-07 Marek Polacek <polacek@redhat.com>
69994
69995 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69996 * sysdeps/gnu/_G_config.h: Likewise.
69997 * sysdeps/mach/hurd/_G_config.h: Likewise.
69998
69999 2012-02-07 Marek Polacek <polacek@redhat.com>
70000
70001 * math/Makefile (tests): Add tst-CMPLX2.
70002 * math/tst-CMPLX2.c: New file.
70003
70004 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
70005
70006 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70007
70008 * math/libm-test.inc (jn_test): Add missing L suffix.
70009
70010 2012-02-06 Marek Polacek <polacek@redhat.com>
70011
70012 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
70013 * sysdeps/i386/fpu/e_powf.S: Likewise.
70014 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70015 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70016 * sysdeps/i386/fpu/e_acosh.S: Likewise.
70017 * sysdeps/i386/fpu/e_pow.S: Likewise.
70018 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70019 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70020 * sysdeps/i386/fpu/s_expm1.S: Likewise.
70021 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70022 * sysdeps/i386/fpu/e_log2.S: Likewise.
70023 * sysdeps/i386/fpu/e_log2l.S: Likewise.
70024 * sysdeps/i386/fpu/e_scalb.S: Likewise.
70025 * sysdeps/i386/fpu/e_powl.S: Likewise.
70026 * sysdeps/i386/fpu/s_log1p.S: Likewise.
70027 * sysdeps/i386/fpu/e_log10f.S: Likewise.
70028 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70029 * sysdeps/i386/fpu/e_logl.S: Likewise.
70030 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70031 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
70032 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70033 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70034 * sysdeps/i386/fpu/e_log2f.S: Likewise.
70035 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70036 * sysdeps/i386/fpu/e_log.S: Likewise.
70037 * sysdeps/i386/fpu/s_cexp.S: Likewise.
70038 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70039 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
70040 * sysdeps/i386/fpu/e_logf.S: Likewise.
70041 * sysdeps/i386/fpu/e_log10l.S: Likewise.
70042 * sysdeps/i386/fpu/e_atanh.S: Likewise.
70043 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
70044 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70045 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70046 * sysdeps/i386/fpu/e_log10.S: Likewise.
70047 * sysdeps/i386/fpu/s_frexp.S: Likewise.
70048 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70049 * sysdeps/i386/fpu/s_asinh.S: Likewise.
70050 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70051 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70052 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70053 * sysdeps/i386/asm-syntax.h: Likewise.
70054 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70055 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70056 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70057 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
70058 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
70059 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70060 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70061 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70062 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70063 * sysdeps/powerpc/sysdep.h: Likewise.
70064 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
70065 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70066
70067 2012-02-06 Joseph Myers <joseph@codesourcery.com>
70068
70069 [BZ #411]
70070 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
70071
70072 2012-02-06 Joseph Myers <joseph@codesourcery.com>
70073
70074 * sysdeps/i386/sysdep.h: Include <features.h>.
70075 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
70076 version.
70077
70078 2012-02-05 Joseph Myers <joseph@codesourcery.com>
70079
70080 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70081 Define.
70082 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70083 LOAD_PIC_REG_STR.
70084
70085 2012-02-03 Joseph Myers <joseph@codesourcery.com>
70086
70087 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70088 (SETUP_PIC_REG): Use GET_PC_THUNK.
70089 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70090 macro.
70091
70092 2012-02-03 Joseph Myers <joseph@codesourcery.com>
70093
70094 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
70095 for non-PIC compilation.
70096 (SETUP_PIC_REG): Add .p2align directive.
70097 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
70098 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
70099 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70100 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70101 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
70102 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70103 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
70104 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70105 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70106 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70107 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70108 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70109 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70110 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70111 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70112 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
70113 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70114 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70115 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70116 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70117 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70118 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
70119 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70120 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70121 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
70122 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
70123 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70124 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
70125 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70126 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70127 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70128 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70129 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70130 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70131 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70132 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70133 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70134 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70135 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70136 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70137 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70138
70139 2012-02-03 Joseph Myers <joseph@codesourcery.com>
70140
70141 * math/tst-CMPLX.c: Include <stdio.h>.
70142
70143 2012-01-31 Joseph Myers <joseph@codesourcery.com>
70144
70145 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
70146 float.
70147 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70148 * sysdeps/sparc/bits/mathdef.h: Likewise.
70149
70150 2012-01-31 Marek Polacek <polacek@redhat.com>
70151
70152 * libio/libio.h: Don't define _PARAMS.
70153 * locale/programs/config.h: Don't define PARAMS.
70154 * stdlib/strtol_l.c: Likewise.
70155 (__strtol_l): Remove PARAMS from the prototype.
70156
70157 2012-01-31 Ulrich Drepper <drepper@gmail.com>
70158
70159 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
70160 names. Just use the correct names. Remove unnecessary wrapper
70161 functions.
70162 * malloc/arena.c: Likewise.
70163 * malloc/hooks.c: Likewise.
70164
70165 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
70166 ARENA_TEST says not to. Simplify test for creation of a new arena.
70167 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
70168
70169 2012-01-30 Ulrich Drepper <drepper@gmail.com>
70170
70171 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
70172 into tail calls.
70173 (update_get_addr): New function.
70174 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
70175 GET_ADDR_MODULE parameter.
70176
70177 2012-01-30 Joseph Myers <joseph@codesourcery.com>
70178
70179 * crypt/cert.c: Remove __STDC__ conditionals.
70180 * crypt/crypt-entry.c: Likewise.
70181 * crypt/crypt_util.c: Likewise.
70182 * libio/filedoalloc.c: Likewise.
70183 * libio/fileops.c: Likewise.
70184 * libio/genops.c: Likewise.
70185 * libio/iofclose.c: Likewise.
70186 * libio/iofdopen.c: Likewise.
70187 * libio/iofopen.c: Likewise.
70188 * libio/iofopen64.c: Likewise.
70189 * libio/iogetdelim.c: Likewise.
70190 * libio/iopopen.c: Likewise.
70191 * libio/obprintf.c: Likewise.
70192 * libio/oldfileops.c: Likewise.
70193 * libio/oldiofclose.c: Likewise.
70194 * libio/oldiofdopen.c: Likewise.
70195 * libio/oldiofopen.c: Likewise.
70196 * libio/oldiopopen.c: Likewise.
70197 * libio/wfiledoalloc.c: Likewise.
70198 * libio/wgenops.c: Likewise.
70199 * locale/programs/xmalloc.c: Likewise.
70200 * misc/syslog.c: Likewise.
70201 * stdio-common/xbug.c: Likewise.
70202 * string/memchr.c: Likewise.
70203 * string/memcmp.c: Likewise.
70204 * string/memrchr.c: Likewise.
70205 * string/rawmemchr.c: Likewise.
70206 * sysdeps/posix/getcwd.c: Likewise.
70207 * time/strftime_l.c: Likewise.
70208
70209 2012-01-30 Joseph Myers <joseph@codesourcery.com>
70210
70211 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70212 * config.make.in (config-cflags-sse2avx): Define.
70213 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70214 Fix typo.
70215
70216 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
70217
70218 * scripts/config.guess: Update from upstream config git repository.
70219 * scripts/config.sub: Likewise.
70220
70221 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
70222
70223 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70224 (EM_NUM): Update.
70225 (R_TILEPRO_*, R_TILEGX_*): New macros.
70226
70227 * scripts/firstversions.awk: Fix bug in version range handling.
70228
70229 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70230
70231 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70232
70233 * include/sys/epoll.h: New file.
70234 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70235 libc_hidden_def.
70236
70237 2012-01-28 Ulrich Drepper <drepper@gmail.com>
70238
70239 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70240 Avoid unnecessary __WORDSIZE == 64 test.
70241 (fmaxf): Use VEX format if possible.
70242 (fmax): Likewise.
70243 (fminf): Likewise.
70244 (fmin): Likewise.
70245
70246 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70247 * math/math_private.h: Remove libc_fegetround* and
70248 libc_fesetround*.
70249 * sysdeps/i386/configure.in: Check for -msse2avx.
70250 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70251 also if SSE2AVX is defined.
70252 Remove libc_fegetround* and libc_fesetround*.
70253 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70254 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
70255 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70256 of HAS_YMM_USABLE.
70257 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70258 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70259 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70260 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70261 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70262
70263 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70264
70265 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70266
70267 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70268 size is not set.
70269 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70270
70271 2012-01-27 Ulrich Drepper <drepper@gmail.com>
70272
70273 [BZ #13618]
70274 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70275 relocation.
70276 * Makeconfig (libm): Define.
70277 * elf/Makefile: Add rules to build and run tst-relsort1.
70278 * elf/tst-relsort1.c: New file.
70279 * elf/tst-relsort1mod1.c: New file.
70280 * elf/tst-relsort1mod2.c: New file.
70281
70282 2012-01-27 Joseph Myers <joseph@codesourcery.com>
70283
70284 * math/s_ldexp.c: Remove __STDC__ conditionals.
70285 * math/s_ldexpf.c: Likewise.
70286 * math/s_ldexpl.c: Likewise.
70287 * math/s_nextafter.c: Likewise.
70288 * math/s_nexttowardf.c: Likewise.
70289 * math/s_significand.c: Likewise.
70290 * math/s_significandf.c: Likewise.
70291 * math/s_significandl.c: Likewise.
70292 * math/w_jnl.c: Likewise.
70293 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70294 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70295 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70296 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70297 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70298 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70299 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70300 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70301 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70302 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70303 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70304 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70305 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70306 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70307 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70308 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70309 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70310 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70311 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70312 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70313 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70314 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70315 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70316 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70317 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70318 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70319 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70320 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70321 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70322 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70323 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70324 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70325 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70326 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70327 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70328 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70329 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70330 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70331 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70332 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70333 * sysdeps/ieee754/k_standard.c: Likewise.
70334 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70335 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70336 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70337 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70338 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70339 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70340 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70341 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70342 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70343 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70344 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70345 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70346 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70347 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70348 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70349 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70350 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70351 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70352 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70353 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70354 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70355 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70356 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70357 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70358 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70359 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70360 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70361 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70362 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70363 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70364 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70365 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
70366 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70367 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70368 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70369 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70370 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
70371 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70372 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70373 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
70374 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
70375 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70376 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
70377 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
70378 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70379 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
70380 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70381 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70382 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70383 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
70384 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
70385 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70386 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70387 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70388 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70389 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70390 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
70391 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70392 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70393 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70394 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70395 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70396 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70397 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70398 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70399 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70400 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70401 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70402 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70403 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70404 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70405 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70406 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70407 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70408 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70409 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70410 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70411 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70412 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70413 * sysdeps/ieee754/s_matherr.c: Likewise.
70414 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70415 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70416 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70417 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70418
70419 2012-01-26 Joseph Myers <joseph@codesourcery.com>
70420
70421 * crypt/md5.h: Remove __STDC__ conditionals.
70422 * libio/libioP.h: Likewise.
70423 * locale/programs/config.h: Likewise.
70424 * sysdeps/generic/sysdep.h: Likewise.
70425 * sysdeps/i386/asm-syntax.h: Likewise.
70426 * sysdeps/s390/asm-syntax.h: Likewise.
70427 * sysdeps/unix/sysdep.h: Likewise.
70428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
70429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70430
70431 2012-01-26 Joseph Myers <joseph@codesourcery.com>
70432
70433 * libio/libio.h: Remove __STDC__ conditionals.
70434 * malloc/obstack.h: Likewise.
70435 * math/complex.h: Likewise.
70436 * math/math.h: Likewise.
70437 * sysdeps/generic/_G_config.h: Likewise.
70438 * sysdeps/gnu/_G_config.h: Likewise.
70439 * sysdeps/mach/hurd/_G_config.h: Likewise.
70440 * sysdeps/powerpc/bits/mathdef.h: Likewise.
70441 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70442 * sysdeps/sparc/bits/mathdef.h: Likewise.
70443
70444 2012-01-26 Ulrich Drepper <drepper@gmail.com>
70445
70446 [BZ #13583]
70447 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
70448 Clean up HAS_* macros.
70449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
70450 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
70451 possible.
70452 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70453 HAS_AVX.
70454 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70455 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70456 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70457 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70458 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70459
70460 2012-01-25 Joseph Myers <joseph@codesourcery.com>
70461
70462 * elf/tst-unique3.cc (gets): Remove declaration.
70463 * elf/tst-unique3lib.cc (gets): Likewise.
70464 * elf/tst-unique3lib2.cc (gets): Likewise.
70465 * elf/tst-unique4.cc (gets): Likewise.
70466
70467 2012-01-24 Ulrich Drepper <drepper@gmail.com>
70468
70469 * include/stdio.h: Add C++ protection. Add gets declarations and
70470 definitions.
70471 * debug/tst-chk1.c: Don't declare gets here.
70472 * stdio-common/tst-gets.c: Likewise.
70473
70474 2012-01-24 Joseph Myers <joseph@codesourcery.com>
70475
70476 * posix/glob: Remove directory.
70477
70478 2012-01-24 Joseph Myers <joseph@codesourcery.com>
70479
70480 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70481
70482 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
70483
70484 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70485 of the non-standard EPFNOSUPPORT.
70486
70487 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
70488
70489 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70490 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70491 ANYWHERE set to 1 only on KERN_NO_SPACE error.
70492
70493 2012-01-21 Ulrich Drepper <drepper@gmail.com>
70494
70495 * wcsmbs/uchar.h: Test __STDC_VERSION__.
70496
70497 2012-01-20 Ulrich Drepper <drepper@gmail.com>
70498
70499 * nscd/aicache.c (addhstaiX): Do not cache negative results of
70500 transient errors.
70501 * nscd/grpcache.c (cache_addgr): Likewise.
70502 * nscd/hstcache.c (cache_addhst): Likewise.
70503 * nscd/initgrcache.c (addinitgroupsX): Likewise.
70504 * nscd/pwdcache.c (cache_addpw): Likewise.
70505 * nscd/servicescache.c (cache_addserv): Likewise.
70506
70507 2012-01-16 Ulrich Drepper <drepper@gmail.com>
70508
70509 * malloc/malloc.c: Various cleanups.
70510 * malloc/hooks.c: Likewise.
70511
70512 * stdlib/Makefile (tests): Add bug-fmtmsg1.
70513 * stdlib/bug-fmtmsg1.c: New file.
70514
70515 * stdlib/fmtmsg.c (init): Add missing unlock.
70516 Patch by Peng Haitao <penght@cn.fujitsu.com>.
70517
70518 2012-01-12 Marek Polacek <polacek@redhat.com>
70519
70520 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70521 and _GNU_SOURCE.
70522
70523 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
70524
70525 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70526 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70527 macro to ensure uniqueness of label name.
70528 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70529 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70530
70531 2012-01-11 Ulrich Drepper <drepper@gmail.com>
70532
70533 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70534
70535 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70536 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70537 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70538 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70539
70540 2012-01-10 Ulrich Drepper <drepper@gmail.com>
70541
70542 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70543
70544 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70545 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70546 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70547
70548 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70549
70550 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70551 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70552 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70553 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70554
70555 * math/bits/math-finite.h: Add ldexp support.
70556
70557 2012-01-10 Marek Polacek <polacek@redhat.com>
70558
70559 * locale/programs/localedef.h (show_archive_content): Add noreturn
70560 attribute.
70561
70562 2012-01-09 Ulrich Drepper <drepper@gmail.com>
70563
70564 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70565
70566 2012-01-08 Ulrich Drepper <drepper@gmail.com>
70567
70568 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70569
70570 * io/Makefile (headers): Add bits/poll2.h.
70571
70572 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
70573
70574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70575 typo #include statement.
70576
70577 2012-01-08 Ulrich Drepper <drepper@gmail.com>
70578
70579 * include/sys/cdefs.h: Define __attribute_alloc_size.
70580 * catgets/gencat.c: Add alloc_size attribute and apply consistently
70581 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70582 * elf/pldd.c: Likewise.
70583 * iconv/iconv_charmap.c: Likewise.
70584 * iconv/iconvconfig.c: Likewise.
70585 * iconv/strtab.c: Likewise.
70586 * locale/programs/locale.c: Likewise.
70587 * locale/programs/localedef.h: Likewise.
70588 * locale/programs/simple-hash.c: Likewise.
70589 * nscd/nscd.h: Likewise.
70590 * nss/makedb.c: Likewise.
70591 * sysdeps/generic/ldconfig.h: Likewise.
70592 * locale/programs/localedef.c: Remove xmalloc prototype.
70593 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70594
70595 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
70596
70597 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70598 appropriate.
70599
70600 2012-01-08 Ulrich Drepper <drepper@gmail.com>
70601
70602 * math/Makefile (tests): Add tst-CMPLX.
70603 * math/tst-CMPLX.c: New file.
70604
70605 * math/complex.h (CMPLXL): Fix typo.
70606
70607 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70608 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70609 GLIBC_2.16.
70610 * debug/tst-chk1.c: Add poll and ppoll tests.
70611 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70612 * include/sys/poll.h: Add hidden proto for ppoll.
70613 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70614 * sysdeps/mach/hurd/ppoll.c: Likewise.
70615 * io/ppoll.c: Likewise.
70616 * debug/poll_chk.c: New file.
70617 * debug/ppoll_chk.c: New file.
70618 * include/bits/poll2.h: New file.
70619 * io/bits/poll2.h: New file.
70620
70621 [BZ #1350]
70622 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70623
70624 * configure.in: static is always set to yes. Remove.
70625 * config.make.in: Don't set build-static.
70626 * Makeconfig: Remove use of build-static.
70627 * dlfcn/Makefile: Likewise.
70628 * elf/Makefile: Likewise.
70629 * math/Makefile: Likewise.
70630 * misc/Makefile: Likewise.
70631 * nptl/Makefile: Likewise.
70632 * sysdeps/mach/hurd/Makefile: Likewise.
70633
70634 * configure.in: PWD_P is not used anymore.
70635 * config.make.in: Remove PWD_P entry.
70636
70637 * configure.in: Remove last remnants of RANLIB.
70638 No need to check for signed size_t anymore.
70639 Don't set libc_commonpagesize and libc_relro_required here for Alpha
70640 and IA-64.
70641 Remove __builtin_expect test because we require at least gcc 3.4.
70642 * aclocal.m4: Likewise.
70643
70644 * wcsmbs/mbrtoc16.c: Implement using towc function.
70645 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70646 * wcsmbs/wcsmbsload.c: Likewise.
70647 * iconv/gconv_simple.c: Likewise.
70648 * iconv/gconv_int.h: Likewise.
70649 * iconv/gconv_builtin.h: Likewise.
70650 * iconv/iconv_prog.c: Remove CHAR16 handling.
70651
70652 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70653
70654 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70655
70656 * configure.in: Remove --with-elf and --enable-bounded options.
70657 Dont set base_machine for ia64. More non-ELF conditions removed.
70658 Remove testing and setting of leading underscore information.
70659 * config.make.in (build-bounded): Set to no.
70660 * config.h.in: Remove NO_UNDERSCORES entry.
70661 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
70662 them.
70663 * csu/start.c: Remove !NO_UNDERSCORE code.
70664 * locale/localeinfo.h: Likewise.
70665 * sysdeps/generic/machine-gmon.h: Likewise.
70666 * sysdeps/generic/sysdep.h: Likewise.
70667 * sysdeps/i386/sysdep.h: Likewise.
70668 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70669 * sysdeps/mach/sysdep.h: Likewise.
70670 * sysdeps/s390/s390-32/sysdep.h: Likewise.
70671 * sysdeps/s390/s390-64/sysdep.h: Likewise.
70672 * sysdeps/sh/sysdep.h: Likewise.
70673 * sysdeps/sparc/sparc32/alloca.S: Likewise.
70674 * sysdeps/unix/i386/sysdep.S: Likewise.
70675 * sysdeps/unix/sparc/start.c: Likewise.
70676 * sysdeps/unix/sparc/sysdep.S: Likewise.
70677 * sysdeps/unix/sparc/sysdep.h: Likewise.
70678 * sysdeps/unix/start.c: Likewise.
70679 * sysdeps/unix/x86_64/sysdep.S: Likewise.
70680 * sysdeps/x86_64/sysdep.h: Likewise.
70681
70682 2012-01-07 Ulrich Drepper <drepper@gmail.com>
70683
70684 [BZ #13553]
70685 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70686 for non-gcc.
70687 * argp/argp-fmtstream.h: Use const instead __const.
70688 * argp/argp.h: Likewise.
70689 * assert/assert.h: Likewise.
70690 * bits/fenv.h: Likewise.
70691 * bits/sched.h: Likewise.
70692 * bits/sigset.h: Likewise.
70693 * bits/sigthread.h: Likewise.
70694 * catgets/nl_types.h: Likewise.
70695 * conform/data/pthread.h-data: Likewise.
70696 * crypt/crypt-private.h: Likewise.
70697 * crypt/crypt.h: Likewise.
70698 * crypt/crypt_util.c: Likewise.
70699 * ctype/ctype.h: Likewise.
70700 * debug/execinfo.h: Likewise.
70701 * debug/mbsnrtowcs_chk.c: Likewise.
70702 * debug/mbsrtowcs_chk.c: Likewise.
70703 * debug/wcsnrtombs_chk.c: Likewise.
70704 * debug/wcsrtombs_chk.c: Likewise.
70705 * debug/wcstombs_chk.c: Likewise.
70706 * dirent/dirent.h: Likewise.
70707 * dlfcn/dlfcn.h: Likewise.
70708 * elf/neededtest4.c: Likewise.
70709 * grp/grp.h: Likewise.
70710 * gshadow/gshadow.h: Likewise.
70711 * iconv/gconv.h: Likewise.
70712 * iconv/gconv_int.h: Likewise.
70713 * iconv/gconv_simple.c: Likewise.
70714 * iconv/iconv.h: Likewise.
70715 * iconv/loop.c: Likewise.
70716 * iconv/skeleton.c: Likewise.
70717 * include/aio.h: Likewise.
70718 * include/aliases.h: Likewise.
70719 * include/argz.h: Likewise.
70720 * include/arpa/inet.h: Likewise.
70721 * include/assert.h: Likewise.
70722 * include/dirent.h: Likewise.
70723 * include/dlfcn.h: Likewise.
70724 * include/execinfo.h: Likewise.
70725 * include/fcntl.h: Likewise.
70726 * include/fenv.h: Likewise.
70727 * include/glob.h: Likewise.
70728 * include/grp.h: Likewise.
70729 * include/libintl.h: Likewise.
70730 * include/mntent.h: Likewise.
70731 * include/netdb.h: Likewise.
70732 * include/pwd.h: Likewise.
70733 * include/rpc/netdb.h: Likewise.
70734 * include/sched.h: Likewise.
70735 * include/search.h: Likewise.
70736 * include/shadow.h: Likewise.
70737 * include/signal.h: Likewise.
70738 * include/stdio.h: Likewise.
70739 * include/stdlib.h: Likewise.
70740 * include/string.h: Likewise.
70741 * include/sys/socket.h: Likewise.
70742 * include/sys/stat.h: Likewise.
70743 * include/sys/statfs.h: Likewise.
70744 * include/sys/statvfs.h: Likewise.
70745 * include/sys/syslog.h: Likewise.
70746 * include/sys/time.h: Likewise.
70747 * include/sys/uio.h: Likewise.
70748 * include/time.h: Likewise.
70749 * include/unistd.h: Likewise.
70750 * include/utmp.h: Likewise.
70751 * include/wchar.h: Likewise.
70752 * include/wctype.h: Likewise.
70753 * inet/aliases.h: Likewise.
70754 * inet/arpa/inet.h: Likewise.
70755 * inet/netinet/ether.h: Likewise.
70756 * inet/netinet/in.h: Likewise.
70757 * intl/libintl.h: Likewise.
70758 * io/bits/fcntl2.h: Likewise.
70759 * io/fcntl.h: Likewise.
70760 * io/ftw.h: Likewise.
70761 * io/sys/poll.h: Likewise.
70762 * io/sys/stat.h: Likewise.
70763 * io/sys/statfs.h: Likewise.
70764 * io/sys/statvfs.h: Likewise.
70765 * io/utime.h: Likewise.
70766 * libio/bits/stdio.h: Likewise.
70767 * libio/bits/stdio2.h: Likewise.
70768 * libio/libio.h: Likewise.
70769 * libio/libioP.h: Likewise.
70770 * libio/stdio.h: Likewise.
70771 * locale/lc-ctype.c: Likewise.
70772 * locale/locale.h: Likewise.
70773 * login/utmp.h: Likewise.
70774 * malloc/arena.c: Likewise.
70775 * malloc/malloc.c: Likewise.
70776 * malloc/malloc.h: Likewise.
70777 * malloc/mcheck.c: Likewise.
70778 * malloc/mtrace.c: Likewise.
70779 * math/bits/mathcalls.h: Likewise.
70780 * math/fenv.h: Likewise.
70781 * math/math_private.h: Likewise.
70782 * misc/bits/error.h: Likewise.
70783 * misc/bits/syslog.h: Likewise.
70784 * misc/err.h: Likewise.
70785 * misc/error.h: Likewise.
70786 * misc/fstab.h: Likewise.
70787 * misc/mntent.h: Likewise.
70788 * misc/regexp.h: Likewise.
70789 * misc/search.h: Likewise.
70790 * misc/sgtty.h: Likewise.
70791 * misc/sys/mman.h: Likewise.
70792 * misc/sys/syslog.h: Likewise.
70793 * misc/sys/uio.h: Likewise.
70794 * misc/sys/xattr.h: Likewise.
70795 * misc/ttyent.h: Likewise.
70796 * nis/rpcsvc/ypclnt.h: Likewise.
70797 * nss/nss.h: Likewise.
70798 * posix/bits/unistd.h: Likewise.
70799 * posix/fnmatch.h: Likewise.
70800 * posix/glob.h: Likewise.
70801 * posix/sched.h: Likewise.
70802 * posix/spawn.h: Likewise.
70803 * posix/sys/wait.h: Likewise.
70804 * posix/unistd.h: Likewise.
70805 * posix/wordexp.h: Likewise.
70806 * pwd/pwd.h: Likewise.
70807 * resolv/netdb.h: Likewise.
70808 * resource/sys/resource.h: Likewise.
70809 * rt/aio.h: Likewise.
70810 * rt/bits/mqueue2.h: Likewise.
70811 * rt/mqueue.h: Likewise.
70812 * shadow/shadow.h: Likewise.
70813 * signal/signal.h: Likewise.
70814 * socket/send.c: Likewise.
70815 * socket/sendto.c: Likewise.
70816 * socket/sys/socket.h: Likewise.
70817 * stdio-common/printf.h: Likewise.
70818 * stdlib/bits/stdlib.h: Likewise.
70819 * stdlib/fmtmsg.h: Likewise.
70820 * stdlib/monetary.h: Likewise.
70821 * stdlib/stdlib.h: Likewise.
70822 * stdlib/ucontext.h: Likewise.
70823 * streams/stropts.h: Likewise.
70824 * string/argz.h: Likewise.
70825 * string/bits/string2.h: Likewise.
70826 * string/string.h: Likewise.
70827 * string/strings.h: Likewise.
70828 * sunrpc/rpc/auth.h: Likewise.
70829 * sunrpc/rpc/auth_des.h: Likewise.
70830 * sunrpc/rpc/clnt.h: Likewise.
70831 * sunrpc/rpc/netdb.h: Likewise.
70832 * sunrpc/rpc/pmap_clnt.h: Likewise.
70833 * sunrpc/rpc/xdr.h: Likewise.
70834 * sysdeps/generic/inttypes.h: Likewise.
70835 * sysdeps/generic/net/if.h: Likewise.
70836 * sysdeps/generic/sys/swap.h: Likewise.
70837 * sysdeps/gnu/net/if.h: Likewise.
70838 * sysdeps/gnu/utmpx.h: Likewise.
70839 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70840 * sysdeps/i386/i486/bits/string.h: Likewise.
70841 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70842 * sysdeps/s390/bits/string.h: Likewise.
70843 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70844 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70845 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70846 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70847 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70848 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70849 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70850 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70851 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70852 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70853 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70854 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70855 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70856 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70857 * sysdeps/unix/sysv/linux/readv.c: Likewise.
70858 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70859 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70860 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70861 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70862 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70863 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70864 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70865 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70866 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70867 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70868 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70869 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70870 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70871 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70872 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70873 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70874 * sysvipc/sys/ipc.h: Likewise.
70875 * sysvipc/sys/msg.h: Likewise.
70876 * sysvipc/sys/sem.h: Likewise.
70877 * sysvipc/sys/shm.h: Likewise.
70878 * termios/termios.h: Likewise.
70879 * time/sys/time.h: Likewise.
70880 * time/time.h: Likewise.
70881 * wcsmbs/bits/wchar2.h: Likewise.
70882 * wcsmbs/uchar.h: Likewise.
70883 * wcsmbs/wchar.h: Likewise.
70884 * wctype/wctype.h: Likewise.
70885
70886 [BZ #13551]
70887 * Makeconfig: Remove all but ELF support including AIX support.
70888 * Makerules: Likewise.
70889 * config.h.in: Likewise.
70890 * config.make.in: Likewise.
70891 * configure: Likewise.
70892 * configure.in: Likewise.
70893 * csu/Makefile: Likewise.
70894 * csu/version.c: Likewise.
70895 * debug/Makefile: Likewise.
70896 * dlfcn/Makefile: Likewise.
70897 * elf/Makefile: Likewise.
70898 * extra-lib.mk: Likewise.
70899 * iconv/Makefile: Likewise.
70900 * include/libc-symbols.h: Likewise.
70901 * include/shlib-compat.h: Likewise.
70902 * resolv/Makefile: Likewise.
70903 * resolv/res_libc.c: Likewise.
70904 * rt/Makefile: Likewise.
70905 * sysdeps/i386/asm-syntax.h: Likewise.
70906 * sysdeps/i386/sysdep.h: Likewise.
70907 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70908 * sysdeps/mach/sysdep.h: Likewise.
70909 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70910 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70911 * sysdeps/s390/asm-syntax.h: Likewise.
70912 * sysdeps/s390/s390-32/sysdep.h: Likewise.
70913 * sysdeps/s390/s390-64/sysdep.h: Likewise.
70914 * sysdeps/sh/sysdep.h: Likewise.
70915 * sysdeps/unix/sparc/sysdep.h: Likewise.
70916 * sysdeps/wordsize-32/divdi3.c: Likewise.
70917 * sysdeps/x86_64/sysdep.h: Likewise.
70918
70919 * argp/Versions: Remove _argp_unlock_xxx.
70920
70921 [BZ #13559]
70922 * abilist/ld.abilist: Update. Adjust for removal of tls option.
70923 * abilist/libBrokenLocale.abilist: Likewise.
70924 * abilist/libanl.abilist: Likewise.
70925 * abilist/libc.abilist: Likewise.
70926 * abilist/libcrypt.abilist: Likewise.
70927 * abilist/libdl.abilist: Likewise.
70928 * abilist/libm.abilist: Likewise.
70929 * abilist/libnsl.abilist: Likewise.
70930 * abilist/libpthread.abilist: Likewise.
70931 * abilist/libresolv.abilist: Likewise.
70932 * abilist/librt.abilist: Likewise.
70933 * abilist/libthread_db.abilist: Likewise.
70934 * abilist/libutil.abilist: Likewise.
70935 * abilist/libnss_db.abilist: New file.
70936
70937 * scripts/abilist.awk: Add support for indirect functions.
70938
70939 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70940
70941 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70942
70943 * shlib-versions: Remove entries for ports architectures.
70944
70945 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
70946 files in ports.
70947 * elf/stackguard-macros.h: Remove support for IA-64.
70948 * elf/tst-auditmod1.c: Likewise.
70949 * sysdeps/generic/ldsodefs.h: Likewise.
70950
70951 * sysdeps/unix/sysv/linux/configure.in: Ports should define
70952 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70953 configure files.
70954
70955 [BZ #13552]
70956 * configure.in: Remove --enable-omitfp support.
70957 * FAQ.in: Adjust.
70958 * config.make.in: Likewise.
70959 * Makeconfig: Likewise.
70960 * manual/install.texi: Likewise.
70961
70962 In case anyone cares, the IA-64 architecture could move to ports.
70963 * sysdeps/ia64/*: Removed.
70964 * sysdeps/unix/sysv/linux/ia64/*: Removed.
70965 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70966
70967 [BZ #13555]
70968 * configure.in: Remove entries for unsupported architectures.
70969
70970 [BZ #13533]
70971 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70972 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
70973 routines.
70974 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70975 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70976 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
70977 fall back to using wcrtomb.
70978 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70979 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
70980 renaming.
70981 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70982 * wcsmbs/tst-c16c32-1.c: New file.
70983
70984 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70985 local variable.
70986
70987 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70988
70989 * elf/tst-unique3.cc: Add explicit declaration of gets.
70990 * elf/tst-unique3lib.cc: Likewise.
70991 * elf/tst-unique3lib2.cc: Likewise.
70992 * elf/tst-unique4.cc: Likewise.
70993
70994 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70995
70996 2012-01-06 Joseph Myers <joseph@codesourcery.com>
70997
70998 [BZ #13566]
70999 * assert/assert.h (static_assert): Don't define for C++.
71000 * libio/stdio.h (gets): Do declare for C++ <= C++11.
71001 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
71002
71003 2012-01-03 Ulrich Drepper <drepper@gmail.com>
71004
71005 * iconv/loop.c (single loop): Fix assertion in storing of
71006 remaining bytes.
71007
71008 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
71009
71010 2012-01-01 Ulrich Drepper <drepper@gmail.com>
71011
71012 * posix/getconf.c: Update copyright year.
71013 * nss/getent.c: Likewise.
71014 * nss/makedb.c: Likewise.
71015 * iconv/iconvconfig.c: Likewise.
71016 * iconv/iconv_prog.c: Likewise.
71017 * elf/ldconfig.c: Likewise.
71018 * elf/pldd.c: Likewise.
71019 * elf/sotruss.ksh: Likewise.
71020 * catgets/gencat.c: Likewise.
71021 * csu/version.c: Likewise.
71022 * elf/ldd.bash.in: Likewise.
71023 * elf/sprof.c (print_version): Likewise.
71024 * locale/programs/locale.c: Likewise.
71025 * locale/programs/localedef.c: Likewise.
71026 * login/programs/pt_chown.c: Likewise.
71027 * nscd/nscd.c (print_version): Likewise.
71028 * debug/xtrace.sh: Likewise.
71029 * malloc/memusage.sh: Likewise.
71030 * malloc/mtrace.pl: Likewise.
71031 * debug/catchsegv.sh: Likewise.
71032
71033 2011-12-30 Jakub Jelinek <jakub@redhat.com>
71034
71035 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
71036 pure attribute.
71037
71038 2011-12-24 Ulrich Drepper <drepper@gmail.com>
71039
71040 [BZ #13533]
71041 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
71042 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
71043 transformations.
71044 * iconv/gconv_int.h: Likewise.
71045 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
71046 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
71047 from libc for GLIBC_2.16.
71048 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
71049 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
71050 * wcsmbs/uchar.h: Really define mbstate_t.
71051 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
71052 * wcsmbs/c16rtomb.c: New file.
71053 * wcsmbs/mbrtoc16.c: New file.
71054 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
71055 for C/POSIX locale.
71056 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
71057 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
71058
71059 * wcsmbs/wchar.h: Add missing __restrict.
71060
71061 2011-12-23 Ulrich Drepper <drepper@gmail.com>
71062
71063 [BZ #13532]
71064 * time/Makefile (routines): Add timespec_get.
71065 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
71066 * time/time.h: Define TIME_UTC and declare timespec_get. Define
71067 timespec for ISO C11.
71068 * time/timespec_get.c: New file.
71069 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
71070 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
71071
71072 [BZ #13531]
71073 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
71074 * stdlib/stdlib.h: Declare aligned_alloc.
71075 * Versions.def: Add GLIBC_2.16 for libc.
71076 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
71077
71078 [BZ 13527]
71079 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71080 ISO C11.
71081
71082 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71083 code.
71084
71085 [BZ #13528]
71086 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71087
71088 [BZ #13529]
71089 * assert/assert.h (static_assert): Define.
71090
71091 * version.h: Update for 2.16 development version.
71092
71093 [BZ #13526]
71094 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
71095 _ISOC11_SOURCE.
71096
71097 * version.h (RELEASE): Bump for 2.15 release.
71098 * include/features.h (__GLIBC_MINOR__): Bump to 15.
71099
71100 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
71101 Patch by Marek Polacek <mpolacek@redhat.com>.
71102
71103 * bits/byteswap.h: Protect long long constants with __extension__.
71104 * sysdeps/i386/bits/byteswap.h: Likewise.
71105 * sysdeps/ia64/bits/byteswap.h: Likewise.
71106 * sysdeps/s390/bits/byteswap.h: Likewise.
71107 * sysdeps/x86_64/bits/byteswap.h: Likewise.
71108
71109 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71110
71111 [BZ #13540]
71112 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
71113 destination buffer.
71114 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
71115
71116 2011-12-23 Marek Polacek <polacek@redhat.com>
71117
71118 * elf/dl-addr.c (determine_info): Add inline keyword.
71119 * elf/tst-auditmod4b.c (check_avx): Likewise.
71120 * elf/tst-auditmod6b.c (check_avx): Likewise.
71121 * elf/tst-auditmod6c.c (check_avx): Likewise.
71122 * elf/tst-auditmod7b.c (check_avx): Likewise.
71123
71124 2011-12-23 Ulrich Drepper <drepper@gmail.com>
71125
71126 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
71127 !__SSE_MATH__.
71128
71129 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71130
71131 [BZ #13540]
71132 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
71133 processing for last bytes.
71134
71135 2011-08-06 Bruno Haible <bruno@clisp.org>
71136
71137 [BZ #13061]
71138 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
71139 U+0385, not to U+1FEE.
71140
71141 [BZ #13062]
71142 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
71143 entry for U+00A5 U+0301.
71144
71145 2011-12-22 Ulrich Drepper <drepper@gmail.com>
71146
71147 [BZ #13166]
71148 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
71149 buffer for the output is too small.
71150
71151 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
71152 optimization.
71153
71154 [BZ #13185]
71155 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
71156 SSE flags if possible.
71157
71158 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71159
71160 [BZ #13540]
71161 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
71162 processing for last bytes.
71163
71164 2011-12-22 Joseph Myers <joseph@codesourcery.com>
71165
71166 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
71167 (syscall-list-default-options, syscall-list-default-condition)
71168 (syscall-list-includes): Define.
71169 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
71170 list of ABIs and options and #if conditions for each ABI. Do not
71171 handle common syscalls between ABIs specially.
71172 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
71173 Remove.
71174 (syscall-list-variants, syscall-list-32bit-options)
71175 (syscall-list-32bit-condition, syscall-list-64bit-options)
71176 (syscall-list-64bit-condition): Define.
71177 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
71178 (syscall-list-variants, syscall-list-32bit-options)
71179 (syscall-list-32bit-condition, syscall-list-64bit-options)
71180 (syscall-list-64bit-condition): Define.
71181 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
71182 Remove.
71183 (syscall-list-variants, syscall-list-32bit-options)
71184 (syscall-list-32bit-condition, syscall-list-64bit-options)
71185 (syscall-list-64bit-condition): Define.
71186 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
71187 Remove.
71188 (syscall-list-variants, syscall-list-32bit-options)
71189 (syscall-list-32bit-condition, syscall-list-64bit-options)
71190 (syscall-list-64bit-condition): Define.
71191
71192 2011-12-22 Ulrich Drepper <drepper@gmail.com>
71193
71194 * locale/iso-639.def: Add brx entry.
71195
71196 [BZ #13328]
71197 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
71198 Proposed by Mariusz_Cukr <marcukr@op.pl>.
71199
71200 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
71201 __feraiseexcept_renamed.
71202
71203 2011-12-21 Ulrich Drepper <drepper@gmail.com>
71204
71205 [BZ #13538]
71206 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71207 EPOLLET with unsigned values.
71208 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71209 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71210
71211 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71212 to large cancellation.
71213 * math/s_cacoshf.c: Likewise.
71214 * math/s_cacoshl.c: Likewise.
71215
71216 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
71217
71218 [BZ #13305]
71219 [BZ #12786]
71220 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71221 * math/s_cacoshf.c: Likewise.
71222 * math/s_cacoshl.c: Likewise.
71223
71224 2011-12-21 Ulrich Drepper <drepper@gmail.com>
71225
71226 [BZ #13439]
71227 * iconv/gconv.h: Define __GCONV_SWAP.
71228 * iconvdata/unicode.c: The swap bit must be stored in __flags.
71229 * iconvdata/utf-16.c: Likewise.
71230 * iconvdata/utf-32.c: Likewise.
71231
71232 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
71233
71234 [BZ #13524]
71235 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71236 numerator after shifting it by one limb.
71237
71238 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
71239
71240 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71241 under [__USE_EXTERN_INLINES].
71242
71243 2011-12-17 Ulrich Drepper <drepper@gmail.com>
71244
71245 [BZ #13446]
71246 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71247
71248 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71249
71250 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71251 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71252 optimized code.
71253 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71254 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71255 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71256 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71257 for strncasecmp/strncasecmp_l compilation.
71258 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71259 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71260
71261 2011-12-08 Marek Polacek <mpolacek@redhat.com>
71262
71263 [BZ #13484]
71264 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71265 of __asm__.
71266
71267 2011-12-17 Ulrich Drepper <drepper@gmail.com>
71268
71269 [BZ #13506]
71270 * time/tzfile.c (__tzfile_read): Check values from file header.
71271
71272 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
71273
71274 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71275 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71276 * powerpc/powerpc32/dl-start.S: Likewise.
71277 * powerpc/powerpc32/elf/start.S: Likewise.
71278 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71279 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71280 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71281 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71282 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71283 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71284 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71285 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71286 * powerpc/powerpc32/fpu/s_round.S: Likewise.
71287 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71288 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71289 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71290 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71291 * powerpc/powerpc32/memset.S: Likewise.
71292 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71293 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71294 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71295 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71296 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71297 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71298 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71299 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71300 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71301 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71302 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71303 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71304 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71305
71306 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71307
71308 * math/libm-test.inc: Added more nearbyint tests.
71309 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71310 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71311 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71312 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71313
71314 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
71315
71316 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71317 FD_CLOEXEC.
71318
71319 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71320
71321 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71322 Add wcscpy-ssse3 wcscpy-c.
71323 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71324 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71325 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71326 * sysdeps/x86_64/wcschr.S: New file.
71327 * sysdeps/x86_64/wcsrchr.S: New file.
71328 * string/test-strcmp.c: Remove checking of wcscmp function for
71329 wrong alignments.
71330 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71331 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71332 wcsrchr-sse2 wcsrchr-c.
71333 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71334 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71335 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71336 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71337 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71338 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71339 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71340 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71341 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71342 * wcsmbc/wcschr.c (WCSCHR): New macro.
71343
71344 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71345
71346 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71347 * wcsmbs/test-wcsrchr.c: New file.
71348 * string/test-strrchr.c: Add wcsrchr support.
71349 (WIDE): New macro.
71350 * wcsmbs/test-wcscpy.c: New file.
71351 * string/test-strcpy.c: Add wcscpy support.
71352 (WIDE): New macro.
71353
71354 2011-12-10 Ulrich Drepper <drepper@gmail.com>
71355
71356 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
71357 the inner loop.
71358
71359 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
71360
71361 [BZ #13472]
71362 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
71363
71364 2011-12-04 Ulrich Drepper <drepper@gmail.com>
71365
71366 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
71367 Minor optimizations.
71368
71369 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
71370 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
71371 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
71372
71373 2011-12-03 Ulrich Drepper <drepper@gmail.com>
71374
71375 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
71376 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
71377 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
71378 for gcc to avoid warnings.
71379 * inet/Makefile (tests): Add tst-checks.
71380 * inet/tst-checks.c: New file.
71381
71382 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
71383 warning.
71384
71385 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
71386 __wmemcmp_sse2.
71387
71388 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
71389 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
71390
71391 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
71392
71393 2011-12-02 Ulrich Drepper <drepper@gmail.com>
71394
71395 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
71396 problem.
71397
71398 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
71399
71400 2011-11-29 Joseph Myers <joseph@codesourcery.com>
71401
71402 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
71403 conditional on GCC version.
71404 (__arch_compare_and_exchange_val_8_acq)
71405 (__arch_compare_and_exchange_val_16_acq)
71406 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
71407 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
71408 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
71409
71410 2011-12-02 Joseph Myers <joseph@codesourcery.com>
71411
71412 * sysdeps/sh/backtrace.c: New file.
71413
71414 2011-12-02 Andreas Schwab <schwab@redhat.com>
71415
71416 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
71417 parenthesis.
71418
71419 2011-12-01 Andreas Schwab <schwab@redhat.com>
71420
71421 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
71422 falling back to utime.
71423
71424 2011-11-30 Andreas Schwab <schwab@redhat.com>
71425
71426 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
71427 expectations for float.
71428
71429 2011-11-29 Andreas Schwab <schwab@redhat.com>
71430
71431 * locale/weight.h (findidx): Add parameter len.
71432 * locale/weightwc.h (findidx): Likewise.
71433 * posix/fnmatch_loop.c (FCT): Adjust caller.
71434 * posix/regcomp.c (build_equiv_class): Likewise.
71435 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
71436 * posix/regexec.c (check_node_accept_bytes): Likewise.
71437 * string/strcoll_l.c (STRCOLL): Likewise.
71438 * string/strxfrm_l.c (STRXFRM): Likewise.
71439
71440 2011-11-17 Ulrich Drepper <drepper@gmail.com>
71441
71442 * Makefile.in: Remove CVSOPT handling.
71443 * configure.in: Remove use of AC_REVISION.
71444 * iconvdata/Makefile (distribute): No need to filter out CVS.
71445 * scripts/list-sources.sh: Remove CVS, subversion and monotone
71446 handling.
71447
71448 2011-11-16 Andreas Schwab <schwab@redhat.com>
71449
71450 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
71451 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
71452 [USE_AS_STRNCASECMP_L]: Likewise.
71453 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71454 NO_TLS_DIRECT_SEG_REFS.
71455 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71456 Fix argument offsets for non-PIC.
71457 [USE_AS_STRNCASECMP_L]: Likewise.
71458 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71459 NO_TLS_DIRECT_SEG_REFS.
71460
71461 2011-11-15 Ulrich Drepper <drepper@gmail.com>
71462
71463 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71464 O_CLOEXEC.
71465 * locale/loadlocale.c (_nl_load_locale): Likewise.
71466
71467 2011-11-15 Andreas Schwab <schwab@redhat.com>
71468
71469 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71470 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71471 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71472 (SYSCALL_GETTIME): Set errno on error.
71473
71474 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71475 count references to noai6ai_cached.
71476
71477 2011-11-15 Ulrich Drepper <drepper@gmail.com>
71478
71479 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71480
71481 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71482 FD_CLOEXEC for /proc/self/maps.
71483
71484 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71485 FD_CLOEXEC for /proc/meminfo.
71486
71487 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71488 gai.conf.
71489
71490 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
71491 FD_CLOEXEC for given file.
71492
71493 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71494
71495 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71496 FD_CLOEXEC for /etc/hosts.
71497 (_gethtent): Likewise.
71498
71499 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71500
71501 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71502 cancellation and set FD_CLOEXEC for /etc/netgroup.
71503
71504 * nss/nss_files/files-key.c (search): Don't allow cancellation when
71505 reading /etc/publickey.
71506
71507 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71508 allow cancellation when reading /etc/group.
71509
71510 * nss/nss_files/files-alias.c (internal_setent): Don't allow
71511 cancellation.
71512 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
71513
71514 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71515 when using data file.
71516
71517 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71518
71519 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71520 (write_nis_obj): Use "c" and "e" in fopen.
71521
71522 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71523
71524 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71525
71526 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71527
71528 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71529
71530 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71531 locale.alias.
71532
71533 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71534
71535 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71536
71537 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71538
71539 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71540 file parsing and set FD_CLOEXEC.
71541
71542 2011-11-14 Ulrich Drepper <drepper@gmail.com>
71543
71544 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71545
71546 2011-11-14 Andreas Schwab <schwab@redhat.com>
71547
71548 * malloc/arena.c (arena_get2): Don't call reused_arena when
71549 _int_new_arena failed.
71550
71551 2011-11-14 Ulrich Drepper <drepper@gmail.com>
71552
71553 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71554 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71555 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71556 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71557 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71558 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71559 to compile strcasecmp and strncasecmp.
71560 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71561 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71562
71563 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71564
71565 2011-11-13 Ulrich Drepper <drepper@gmail.com>
71566
71567 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71568 locale-defines.sym to gen-as-const-headers.
71569 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71570 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71571 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71572 to compile strcasecmp and strncasecmp.
71573 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71574 strcasecmp_l and strncasecmp_l.
71575 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71576 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71577 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71578 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71579 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71580 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71581 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71582 * sysdeps/i386/i686/multiarch/strncase.S: New file.
71583 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71584 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71585 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71586
71587 2011-11-12 Ulrich Drepper <drepper@gmail.com>
71588
71589 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71590 result of SYSDEP_GETTIME_CPU to retval.
71591 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71592 parameter list to macro. Remove trailing semicolon. Adjust users.
71593
71594 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71595 variable.
71596
71597 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71598 mantissa words.
71599 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71600
71601 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71602 from unused variable.
71603
71604 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71605 DWARF definitions.
71606 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71607 for assembling.
71608
71609 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71610 over namespaces.
71611
71612 * sunrpc/rpc_prot.c (rejected): Fix case value.
71613
71614 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71615 unsigned long long int to avoid warnings in shift.
71616
71617 * posix/regex_internal.c (re_string_reconstruct): Actually use result
71618 of use of trans.
71619 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71620 variable tmp.
71621
71622 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71623 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71624 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71625
71626 * nis/nis_table.c (nis_list): Use variable of correct type for
71627 result of __follow_path call.
71628
71629 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71630
71631 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71632 of math functions ceil, trunc, floor, round, and sqrt, when
71633 avaliable on the platform.
71634 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71635 name clash.
71636 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71637 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71638 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71639
71640 2011-10-30 Marek Polacek <mpolacek@redhat.com>
71641
71642 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71643 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71644
71645 2011-11-11 Roland McGrath <roland@hack.frob.com>
71646
71647 * include/unistd.h: Fix __readlink return type.
71648 Reported by Chris Metcalf <cmetcalf@tilera.com>.
71649
71650 2011-11-11 Ulrich Drepper <drepper@gmail.com>
71651
71652 * stdlib/ucontext.h: Undo last change for makecontext.
71653
71654 2011-11-11 Andreas Schwab <schwab@redhat.com>
71655
71656 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71657
71658 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71659 * setjmp/setjmp.h: Mark functions as non-leaf.
71660 * setjmp/bits/setjmp2.h: Likewise.
71661 * stdlib/ucontext.h: Likewise.
71662
71663 2011-11-10 Andreas Schwab <schwab@redhat.com>
71664
71665 * malloc/arena.c (_int_new_arena): Don't increment narenas.
71666 (reused_arena): Don't check arena limit.
71667 (arena_get2): Atomically check arena limit.
71668
71669 2011-11-08 Ulrich Drepper <drepper@gmail.com>
71670
71671 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71672 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71673
71674 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71675 instructions.
71676
71677 2011-11-07 Andreas Schwab <schwab@redhat.com>
71678
71679 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71680 handler when locking.
71681
71682 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71683 Fix size of allocated buffer.
71684
71685 2011-11-04 Andreas Schwab <schwab@redhat.com>
71686
71687 [BZ #10103]
71688 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71689 declarations for long double functions.
71690 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71691
71692 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71693
71694 2011-11-03 Andreas Schwab <schwab@redhat.com>
71695
71696 * nscd/nscd.c (main): Don't start AVC thread until credentials are
71697 installed.
71698
71699 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71700 is disabled.
71701
71702 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
71703
71704 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71705
71706 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
71707
71708 * include/alloca.h (stackinfo_alloca_round): Define.
71709 (extend_alloca): Use it.
71710 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71711 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71712 here.
71713
71714 * scripts/check-local-headers.sh: Ignore libaudit.h.
71715
71716 * nscd/Makefile (extra-objs): Make recursively expanded.
71717
71718 2011-11-01 Ulrich Drepper <drepper@gmail.com>
71719
71720 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71721 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71722
71723 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71724 * posix/tst-rfc3484-2.c: Likewise.
71725 * posix/tst-rfc3484-3.c: Likewise.
71726
71727 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71728 process_vm_writev.
71729 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71730 process_vm_writev.
71731 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71732 process_vm_writev from libc using GLIBC_2.15 version.
71733
71734 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71735
71736 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
71737
71738 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71739 stack usage.
71740
71741 2011-10-31 Ulrich Drepper <drepper@gmail.com>
71742
71743 [BZ #13367]
71744 * nss/getent.c (initgroups_keys): Show error message in case no group
71745 names are given.
71746
71747 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71748 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71749 __bump_nl_timestamp.
71750 * nscd/connections (nscd_init): When host database is served open
71751 netlink socket and request notification about configuration changes.
71752 (main_loop_poll): Track netlink file descriptor and bump timestamp
71753 in case data becomes available.
71754 (main_loop_epoll): Likewise.
71755 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71756 (database_pers_head): Add extra_data fileds.
71757 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71758 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71759 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71760 Adjust caller.
71761 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71762 in6ai data, call __free_in6ai.
71763 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71764 Add -DHAVE_NETLINK.
71765 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
71766 interface information. Reuse previous data if netlink timestamp
71767 is not changed.
71768 (__bump_nl_timestamp): New function.
71769 (__free_in6ai): New function.
71770
71771 2011-10-30 Ulrich Drepper <drepper@gmail.com>
71772
71773 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71774 close_not_cancel_no_status here.
71775 (__check_pf): Reorganize code a bit to not call close twice if OOM.
71776
71777 2011-10-29 Ulrich Drepper <drepper@gmail.com>
71778
71779 [BZ #13276]
71780 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71781 return value.
71782
71783 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71784 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71785 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71786
71787 2011-07-03 Andreas Jaeger <aj@suse.de>
71788
71789 [BZ #10709]
71790 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71791 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71792 * math/libm-test.inc (sin_test): Add test case.
71793
71794 2011-10-29 Ulrich Drepper <drepper@gmail.com>
71795
71796 [BZ #13337]
71797 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71798 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71799
71800 * elf/chroot_canon.c (chroot_canon): Cleanups.
71801
71802 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71803
71804 [BZ #13335]
71805 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71806 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71807
71808 * string/test-strchr.c: Make usable for strchrnul testing.
71809 * string/test-strchrnul.c: New file.
71810 * string/Makefile (strop-tests): Add strchrnul.
71811
71812 * po/it.po: Update from translation team.
71813 * po/es.po: Likewise.
71814
71815 2011-10-28 Ulrich Drepper <drepper@gmail.com>
71816
71817 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71818 the three constants needed as parameters. Drop the others.
71819 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71820 __m128i_strloadu_tolower.
71821 Create and initialize variable zero and use it in all the places
71822 where _mm_setzero_si128 was used.
71823
71824 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71825 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71826 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71827 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71828 anymore.
71829 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71830 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71831 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71832 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71833 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71834 __mpranred, __mptan.
71835 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71836 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71837 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71838 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71839 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71840 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71841 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71842 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71843 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71844
71845 2011-10-28 Andreas Schwab <schwab@redhat.com>
71846
71847 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71848 redefine if SHARED.
71849 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71850
71851 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71852 wide char related routines to wcsmbs subdir.
71853
71854 2011-10-27 Andreas Schwab <schwab@redhat.com>
71855
71856 [BZ #13344]
71857 * misc/sys/cdefs.h (__THROWNL): Define.
71858 * posix/unistd.h: Use __THREADNL instead of __THREAD
71859 for memory synchronization functions.
71860
71861 2011-10-26 Roland McGrath <roland@hack.frob.com>
71862
71863 [BZ #13349]
71864 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71865 doesn't exist.
71866 * manual/stdio.texi (Obstack Streams): Node removed.
71867
71868 2011-10-26 Andreas Schwab <schwab@redhat.com>
71869
71870 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71871 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71872 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71873
71874 * math/math_private.h (math_force_eval): Allow non-addressable
71875 arguments.
71876 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71877
71878 2011-10-25 Ulrich Drepper <drepper@gmail.com>
71879
71880 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71881 file is not needed.
71882
71883 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71884 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71885 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71886 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71887 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71888 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71889 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71890 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71891 Add AVX variants.
71892 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71893 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71894 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71895 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71896 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71897 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71898 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71899 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71900 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71901 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71902 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71903 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71904 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71905 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71906 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71907 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71908 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71909 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71910 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71911
71912 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71913 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
71914
71915 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71916 place. Use VEX encoding when compiling for AVX.
71917
71918 2011-10-25 Andreas Schwab <schwab@redhat.com>
71919
71920 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71921 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71922
71923 * string/test-strchr.c (do_test): Don't generate NUL bytes.
71924
71925 2011-10-25 Ulrich Drepper <drepper@gmail.com>
71926
71927 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71928 useless if() expression.
71929 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71930 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71931 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71932 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71933 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71934 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71935 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71936 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71937 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71938 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71939 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71940 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71941 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71942 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71943 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71944 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71945 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71946 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71947 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71948
71949 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71950
71951 2011-10-25 Andreas Schwab <schwab@redhat.com>
71952
71953 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71954 condition.
71955 * elf/dl-fini.c (_dl_sort_fini): Likewise.
71956
71957 2011-10-25 Ulrich Drepper <drepper@gmail.com>
71958
71959 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71960 .text section. Avoid duplicate constants.
71961 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71962 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71963 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71964 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71965 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71966 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71968 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71969 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71970 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71971 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71972 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71973 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71974 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71975 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71976 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71977 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71978 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71979 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71980 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71981 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71982 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71983 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71984 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71985 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71986 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71987 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71988 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71989 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71990 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71991 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71992 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71993 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71994 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71995 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71996 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71997 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71998 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71999 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
72000 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
72001 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
72002 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
72003 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
72004 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
72005 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
72006
72007 2011-10-24 Ulrich Drepper <drepper@gmail.com>
72008
72009 * sysdeps/x86_64/dla.h: Move to ...
72010 * sysdeps/x86_64/fpu/dla.h: ...here.
72011 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
72012 situations. Use __builtin_fma only for gcc 4.6 and up.
72013
72014 * config.make.in: Add have-mfma4 entry.
72015 * configure.in: Substitute libc_cv_cc_fma4.
72016 * math/Makefile (dbl-only-routines): Add sincostab.
72017 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
72018 Use __sincostab not sincos.
72019 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
72020 name is a macro.
72021 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72022 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72024 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
72025 using __copysign.
72026 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
72027 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
72028 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
72029 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
72030 and __inv.
72031 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
72032 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
72033 __copysign.
72034 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
72035 define aliases when function name is a macro.
72036 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
72037 sysdeps/ieee754/dbl-64/sincos.tbl.
72038 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
72039 fma4-enabled routines.
72040 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
72041 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
72042 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
72043 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
72044 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
72045 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
72046 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
72047 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
72048 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
72049 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
72050 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
72051 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
72052 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
72053 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
72054 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
72055 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
72056 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
72057 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
72058 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
72059 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
72060 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
72061 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
72062 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
72063 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
72064 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
72065 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
72066 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
72067 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
72068 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
72069 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
72070
72071 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
72072 rename.
72073 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72074 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72075 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72076 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72078 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72079 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72080 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72081
72082 2011-10-24 Andreas Schwab <schwab@redhat.com>
72083
72084 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72085
72086 2011-10-23 Ulrich Drepper <drepper@gmail.com>
72087
72088 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72089
72090 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72091 prediction.
72092 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
72093
72094 * string/strnlen.c: Don't define STRNLEN, reverse logic.
72095 Remove unused variable magic_bits.
72096 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
72097
72098 * string/strnlen.c: Define and use STRNLEN macro.
72099 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
72100 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
72101 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
72102 * wcsmbs/wcslen.c: Define and use WCSLEN.
72103 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
72104 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
72105 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
72106 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
72107 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
72108 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
72109 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72110
72111 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72112
72113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72114 strnlen-sse2-no-bsf.
72115 Rename strlen-no-bsf to strlen-sse2-no-bsf.
72116 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
72117 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
72118 Add strnlen support.
72119 (USE_AS_STRNLEN): New macro.
72120 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
72121 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
72122 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
72123 * sysdeps/x86_64/wcslen.S: New file.
72124
72125 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
72126
72127 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72128 XMM-moves are used for copying on small sizes.
72129
72130 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72131
72132 * wcsmbs/Makefile (strop-tests): Add wcschr.
72133 * wcsmbs/test-wcschr.c: New file.
72134 * string/test-strchr.c: Update.
72135 Add wcschr support.
72136 (WIDE): New macro.
72137
72138 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72139
72140 * wcsmbs/Makefile (strop-tests): Add wcslen.
72141 * wcsmbs/test-wcslen.c: New file.
72142 * string/test-strlen.c: Update.
72143 Add wcslen support.
72144 (WIDE): New macro.
72145
72146 2011-10-23 Ulrich Drepper <drepper@gmail.com>
72147
72148 * po/it.po: Update from translation team.
72149
72150 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72151
72152 * sysdeps/x86_64/wcscmp.S: Update.
72153 Fix wrong comparison semantics.
72154 wcscmp shall use signed comparison not unsigned.
72155 Don't use substraction to avoid overflow bug.
72156 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
72157 * wcsmbc/wcscmp.c: Likewise.
72158 * string/test-strcmp.c: Likewise.
72159 Add new tests to check cases with negative values.
72160
72161 2011-10-23 Ulrich Drepper <drepper@gmail.com>
72162
72163 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
72164 * sysdeps/x86_64/dla.h: ...here. New file.
72165 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
72166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72167 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72168 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72169 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72170 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72171 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72173 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72174
72175 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
72176
72177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
72178 __ynl_finite aliases.
72179
72180 2011-10-22 Ulrich Drepper <drepper@gmail.com>
72181
72182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72183
72184 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
72185 define DLA_FMA.
72186 [DLA_FMA] (EMULV): Use DLA_FMA.
72187 [DLA_FMA] (MUL12): Use EMULV.
72188 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
72189 that are not needed.
72190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72194 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72195 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72197
72198 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
72199
72200 * math/s_nan.c: Undef __nan.
72201 * math/s_nanf.c: Undef __nanf.
72202 * math/s_nanl.c: Undef __nanl.
72203 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
72204 "math_private.h".
72205
72206 2011-10-22 Ulrich Drepper <drepper@gmail.com>
72207
72208 * math/s_catan.c: Add branch predictions.
72209 * math/s_catanf.c: Likewise.
72210 * math/s_catanh.c: Likewise.
72211 * math/s_catanhf.c: Likewise.
72212 * math/s_catanhl.c: Likewise.
72213 * math/s_catanl.c: Likewise.
72214 * math/s_cexp.c: Likewise.
72215 * math/s_cexpf.c: Likewise.
72216 * math/s_cexpl.c: Likewise.
72217 * math/s_clog.c: Likewise.
72218 * math/s_clog10.c: Likewise.
72219 * math/s_clog10f.c: Likewise.
72220 * math/s_clog10l.c: Likewise.
72221 * math/s_clogf.c: Likewise.
72222 * math/s_clogl.c: Likewise.
72223 * math/s_csqrt.c: Likewise.
72224 * math/s_csqrtf.c: Likewise.
72225 * math/s_csqrtl.c: Likewise.
72226 * math/s_ctanf.c: Likewise.
72227 * math/s_ctanh.c: Likewise.
72228 * math/s_ctanhf.c: Likewise.
72229 * math/s_ctanhl.c: Likewise.
72230 * math/s_ctanl.c: Likewise.
72231
72232 * math/math_private.h: Define __nan, __nanf, __nanl.
72233 * math/s_cacosh.c: Include <math_private.h>.
72234 * math/s_cacoshl.c: Likewise.
72235 * math/s_casinh.c: Likewise.
72236 * math/s_casinhf.c: Likewise.
72237 * math/s_casinhl.c: Likewise.
72238 * math/s_ccos.c: Rely entire on ccosh.
72239 * math/s_ccosf.c: Rely entire on ccoshf.
72240 * math/s_ccosl.c: Rely entirely on ccoshl.
72241 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
72242 Remove tests for FE_INVALID.
72243 * math/s_ccoshf.c: Likewise.
72244 * math/s_ccoshl.c: Likewise.
72245 * math/s_csin.c: Likewise.
72246 * math/s_csinf.c: Likewise.
72247 * math/s_csinh.c Likewise.
72248 * math/s_csinhf.c: Likewise.
72249 * math/s_csinhl.c: Likewise.
72250 * math/s_csinl.c: Likewise.
72251 * math/s_ctan.c: Likewise.
72252 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72253 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72254 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72255
72256 2011-10-21 Ulrich Drepper <drepper@gmail.com>
72257
72258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72259 compilation problems.
72260
72261 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72262 __builtin_expect.
72263
72264 2011-10-20 Ulrich Drepper <drepper@gmail.com>
72265
72266 * sysdeps/i386/configure.in: Test for -mfma4 option.
72267 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72268 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72269 COMMON_CPUID_INDEX_80000001.
72270 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72271 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72272 use it if FMA3 is not supported.
72273 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72274
72275 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72276 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72277
72278 2011-10-20 Andreas Schwab <schwab@redhat.com>
72279
72280 [BZ #12892]
72281 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72282 it would create a cycle with a link time dependency.
72283
72284 2011-10-19 Ulrich Drepper <drepper@gmail.com>
72285
72286 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72287 instruction.
72288 * string/Makefile (strop-tests): Add rawmemchr.
72289 * string/test-rawmemchr.c: New file.
72290
72291 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72292 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
72293 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
72294 when compiling str{,n}casecmp and when AVX is available. Hook up
72295 new optimized code in initializers.
72296
72297 2011-10-19 Andreas Schwab <schwab@redhat.com>
72298
72299 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72300 __feraiseexcept instead of feraiseexcept.
72301
72302 2011-10-18 Ulrich Drepper <drepper@gmail.com>
72303
72304 * math/math_private.h: Define defaults for libc_fetestexcept and
72305 libc_feupdateenv.
72306 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72307 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72308 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72309 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72310 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72311 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72312 libc_fetestexcept and libc_feupdateenv.
72313
72314 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72315 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72316 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72317 * sysdeps/x86_64/fpu/math_private.h: Define special version of
72318 libc_feholdexcept_setround.
72319
72320 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72321 Add s_nearbyint-c and s_nearbyintf-c.
72322 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72323 nearbyintf inlines.
72324 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72325 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72326 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72327 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72328
72329 * math/math_private.h: Define defaults for libc_fegetround,
72330 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72331 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72332 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72333 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72334 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72335 standard functions.
72336 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72337 Remove comments and hacks for old compiler versions.
72338 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72339 libc_fegetround, libc_fesetround, libc_feholdexcept, and
72340 libc_feholdexceptl.
72341
72342 2011-10-18 Andreas Schwab <schwab@redhat.com>
72343
72344 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72345 (__feraiseexcept_renamed): Add __NTH.
72346 (feraiseexcept): Add __NTH. Rename local variables to fix
72347 namespace violations.
72348
72349 2011-10-17 Ulrich Drepper <drepper@gmail.com>
72350
72351 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72352
72353 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72354
72355 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72356 recently added interfaces.
72357 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
72358
72359 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
72360 about macro parameter expansion.
72361
72362 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
72363 __NO_MATH_INLINES is defined. Cleanups.
72364
72365 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
72366 and __floorf is target has SSE4.1.
72367 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
72368 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
72369 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
72370 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
72371
72372 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
72373 name.
72374 (floorf): Likewise.
72375
72376 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
72377
72378 2011-10-17 Andreas Schwab <schwab@redhat.com>
72379
72380 * misc/sys/cdefs.h: Fix last change.
72381
72382 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
72383 database lookup.
72384
72385 2011-10-16 Ulrich Drepper <drepper@gmail.com>
72386
72387 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
72388
72389 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
72390 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72391 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72392 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72393 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72394 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72395 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72396 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72397 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72398 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
72399 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
72400 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
72401 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
72402 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
72403 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
72404 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
72405 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
72406 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
72407 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
72408 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
72409 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
72410 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
72411
72412 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
72413 ceil, ceilf, floor, floorf.
72414
72415 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
72416 Perform IRELATIVE relocations last.
72417
72418 * elf/do-rel.h: Add another parameter nrelative, replacing the
72419 local variable with the same name. Change name of the function
72420 to end in Rel or Rela (uppercase).
72421 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
72422 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
72423 elf_dynamic_do_##reloc function.
72424
72425 2011-10-15 Ulrich Drepper <drepper@gmail.com>
72426
72427 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
72428 is sufficient, at least on modern CPUs.
72429
72430 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
72431
72432 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
72433 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
72434
72435 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
72436 __expl_finite.
72437 * math/bits/math-finite.h: Add entries for exp.
72438 * math/e_expl.c: Add __*_finite alias.
72439 * sysdeps/i386/fpu/e_exp.S: Likewise.
72440 * sysdeps/i386/fpu/e_expf.S: Likewise.
72441 * sysdeps/i386/fpu/e_expl.c: Likewise.
72442 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72443 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72444 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
72445 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
72446 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
72447 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72448 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72449
72450 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
72451 is sufficient, at least on modern CPUs.
72452
72453 * ctype/ctype-info.c (__ctype_init): Define.
72454 * include/ctype.h (__ctype_init): Declare.
72455 (__ctype_b_loc): The variable is always initialized.
72456 (__ctype_toupper_loc): Likewise.
72457 (__ctype_tolower_loc): Likewise.
72458 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72459 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72460
72461 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
72462
72463 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72464
72465 * configure.in: Also look in $cxxmachine/include for C++ system
72466 headers.
72467
72468 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72469
72470 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72471 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72472 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72473 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
72474 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72475 (USE_AS_WMEMCMP): New macro.
72476 Fixing indents.
72477 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72478 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72479 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72480 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72482 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72483 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72484 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72485 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72486 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72487 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72488 (USE_AS_WMEMCMP): New macro.
72489 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72490 * sysdeps/string/test-memcmp.c: Update.
72491 Fix simple_wmemcmp.
72492 Add new tests.
72493 * wcsmbs/wmemcmp.c: Update.
72494 (WMEMCMP): New macro.
72495 Fix overflow bug.
72496
72497 2011-10-12 Andreas Jaeger <aj@suse.de>
72498
72499 [BZ #13268]
72500 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72501
72502 2011-10-15 Ulrich Drepper <drepper@gmail.com>
72503
72504 * libio/iofwide.c (do_length): Avoid warning.
72505
72506 * ctype/ctype.h (__isctype_f): Add missing __THROW.
72507
72508 2011-10-14 Ulrich Drepper <drepper@gmail.com>
72509
72510 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72511
72512 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72513 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72514 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72515 * sysdeps/i386/i686/fpu/e_log.S: New file.
72516 * sysdeps/i386/i686/fpu/e_logf.S: New file.
72517 * sysdeps/i386/i686/fpu/e_logl.S: New file.
72518
72519 * ctype/ctype.h: Add support for inlined isXXX functions when
72520 compiling C++ code.
72521
72522 2011-10-14 Andreas Schwab <schwab@redhat.com>
72523
72524 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72525
72526 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72527
72528 2011-10-13 Roland McGrath <roland@hack.frob.com>
72529
72530 [BZ #13291]
72531 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72532
72533 2011-10-13 Andreas Schwab <schwab@redhat.com>
72534
72535 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72536 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72537 feraiseexcept.
72538
72539 * sysdeps/x86_64/memrchr.S: Check for zero size.
72540
72541 * string/stratcliff.c: Add memrchr tests.
72542
72543 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72544
72545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72546 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72547 rawmemchr-sse2 rawmemchr-sse2-bsf.
72548 * sysdeps/i386/i686/multiarch/memchr.S: New file.
72549 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72550 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72551 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72552 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72553 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72554 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72555 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72556 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72557 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72558 * string/memrchr.c (MEMRCHR): New macro.
72559
72560 2011-10-12 Ulrich Drepper <drepper@gmail.com>
72561
72562 Add integration with gcc's -ffinite-math-only and optimize wrapper
72563 functions in libm.
72564 * Versions.def: Define GLIBC_2.15 version for libm.
72565 * math/Makefile (headers): Add bits/math-finite.h.
72566 * math/bits/math-finite.h: New file.
72567 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72568 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72569 * math/e_acoshl.c: Add __*_finite alias.
72570 * math/e_acosl.c: Likewise.
72571 * math/e_asinl.c: Likewise.
72572 * math/e_atan2l.c: Likewise.
72573 * math/e_atanhl.c: Likewise.
72574 * math/e_coshl.c: Likewise.
72575 * math/e_exp10.c: Likewise.
72576 * math/e_exp10f.c: Likewise.
72577 * math/e_exp10l.c: Likewise.
72578 * math/e_exp2l.c: Likewise.
72579 * math/e_fmodl.c: Likewise.
72580 * math/e_gammal_r.c: Likewise.
72581 * math/e_hypotl.c: Likewise.
72582 * math/e_j0l.c: Likewise.
72583 * math/e_j1l.c: Likewise.
72584 * math/e_jnl.c: Likewise.
72585 * math/e_lgammal_r.c: Likewise.
72586 * math/e_log10l.c: Likewise.
72587 * math/e_log2l.c: Likewise.
72588 * math/e_logl.c: Likewise.
72589 * math/e_powl.c: Likewise.
72590 * math/e_sinhl.c: Likewise.
72591 * math/e_sqrtl.c: Likewise.
72592 * math/e_scalb.c: Completely rewritten and optimized.
72593 * math/e_scalbf.c: Likewise.
72594 * math/e_scalbl.c: Likewise.
72595 * math/w_acos.c: Likewise.
72596 * math/w_acosf.c: Likewise.
72597 * math/w_acosl.c: Likewise.
72598 * math/w_acosh.c: Likewise.
72599 * math/w_acoshf.c: Likewise.
72600 * math/w_acoshl.c: Likewise.
72601 * math/w_asin.c: Likewise.
72602 * math/w_asinf.c: Likewise.
72603 * math/w_asinl.c: Likewise.
72604 * math/w_atan2.c: Likewise.
72605 * math/w_atan2f.c: Likewise.
72606 * math/w_atan2l.c: Likewise.
72607 * math/w_atanh.c: Likewise.
72608 * math/w_atanhf.c: Likewise.
72609 * math/w_atanhl.c: Likewise.
72610 * math/w_exp10.c: Likewise.
72611 * math/w_exp10f.c: Likewise.
72612 * math/w_exp10l.c: Likewise.
72613 * math/w_fmod.c: Likewise.
72614 * math/w_fmodf.c: Likewise.
72615 * math/w_fmodl.c: Likewise.
72616 * math/w_j0.c: Likewise.
72617 * math/w_j0f.c: Likewise.
72618 * math/w_j0l.c: Likewise.
72619 * math/w_j1.c: Likewise.
72620 * math/w_j1f.c: Likewise.
72621 * math/w_j1l.c: Likewise.
72622 * math/w_jn.c: Likewise.
72623 * math/w_jnf.c: Likewise.
72624 * math/w_log.c: Likewise.
72625 * math/w_logf.c: Likewise.
72626 * math/w_logl.c: Likewise.
72627 * math/w_log10.c: Likewise.
72628 * math/w_log10f.c: Likewise.
72629 * math/w_log10l.c: Likewise.
72630 * math/w_log2.c: Likewise.
72631 * math/w_log2f.c: Likewise.
72632 * math/w_log2l.c: Likewise.
72633 * math/w_pow.c: Likewise.
72634 * math/w_powf.c: Likewise.
72635 * math/w_powl.c: Likewise.
72636 * math/w_remainder.c: Likewise.
72637 * math/w_remainderf.c: Likewise.
72638 * math/w_remainderl.c: Likewise.
72639 * math/w_scalb.c: Likewise.
72640 * math/w_scalbf.c: Likewise.
72641 * math/w_scalbl.c: Likewise.
72642 * math/w_sqrt.c: Likewise.
72643 * math/w_sqrtf.c: Likewise.
72644 * math/w_sqrtl.c: Likewise.
72645 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72646 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
72647 used.
72648 * math/math_private.h: Declare __kernel_standard_f.
72649 * math/w_cosh.c: Remove cruft and optimize a bit.
72650 * math/w_coshf.c: Likewise.
72651 * math/w_coshl.c: Likewise.
72652 * math/w_exp2.c: Likewise.
72653 * math/w_exp2f.c: Likewise.
72654 * math/w_exp2l.c: Likewise.
72655 * math/w_hypot.c: Likewise.
72656 * math/w_hypotf.c: Likewise.
72657 * math/w_hypotl.c: Likewise.
72658 * math/w_lgamma.c: Likewise.
72659 * math/w_lgamma_r.c: Likewise.
72660 * math/w_lgammaf.c: Likewise.
72661 * math/w_lgammaf_r.c: Likewise.
72662 * math/w_lgammal.c: Likewise.
72663 * math/w_lgammal_r.c: Likewise.
72664 * math/w_sinh.c: Likewise.
72665 * math/w_sinhf.c: Likewise.
72666 * math/w_sinhl.c: Likewise.
72667 * math/w_tgamma.c: Likewise.
72668 * math/w_tgammaf.c: Likewise.
72669 * math/w_tgammal.c: Likewise.
72670 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72671 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72672 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72673 Minor optimizations. Pretty printing. Remove cruft.
72674 * sysdeps/i386/fpu/e_acosf.S: Likewise.
72675 * sysdeps/i386/fpu/e_acosh.S: Likewise.
72676 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72677 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72678 * sysdeps/i386/fpu/e_acosl.c: Likewise.
72679 * sysdeps/i386/fpu/e_asin.S: Likewise.
72680 * sysdeps/i386/fpu/e_asinf.S: Likewise.
72681 * sysdeps/i386/fpu/e_atan2.S: Likewise.
72682 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72683 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72684 * sysdeps/i386/fpu/e_atanh.S: Likewise.
72685 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72686 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72687 * sysdeps/i386/fpu/e_exp10.S: Likewise.
72688 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72689 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72690 * sysdeps/i386/fpu/e_exp2.S: Likewise.
72691 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72692 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72693 * sysdeps/i386/fpu/e_fmod.S: Likewise.
72694 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72695 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72696 * sysdeps/i386/fpu/e_hypot.S: Likewise.
72697 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72698 * sysdeps/i386/fpu/e_log.S: Likewise.
72699 * sysdeps/i386/fpu/e_log10.S: Likewise.
72700 * sysdeps/i386/fpu/e_log10f.S: Likewise.
72701 * sysdeps/i386/fpu/e_log10l.S: Likewise.
72702 * sysdeps/i386/fpu/e_log2.S: Likewise.
72703 * sysdeps/i386/fpu/e_log2f.S: Likewise.
72704 * sysdeps/i386/fpu/e_log2l.S: Likewise.
72705 * sysdeps/i386/fpu/e_logf.S: Likewise.
72706 * sysdeps/i386/fpu/e_logl.S: Likewise.
72707 * sysdeps/i386/fpu/e_pow.S: Likewise.
72708 * sysdeps/i386/fpu/e_powf.S: Likewise.
72709 * sysdeps/i386/fpu/e_powl.S: Likewise.
72710 * sysdeps/i386/fpu/e_remainder.S: Likewise.
72711 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72712 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72713 * sysdeps/i386/fpu/e_scalb.S: Likewise.
72714 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72715 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72716 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72717 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72718 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72719 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72720 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72721 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72722 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72723 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72724 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72725 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72726 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72727 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72728 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72729 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72730 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72731 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72732 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72733 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72734 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72735 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72736 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72737 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72738 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72739 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72740 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72741 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72742 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72743 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72744 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72745 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72746 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72747 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72748 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72749 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72750 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72751 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72752 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72753 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72754 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72755 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72756 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72757 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72758 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72759 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72760 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72761 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72762 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72763 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72764 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72765 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72766 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72767 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72768 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72769 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72770 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72771 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72772 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72773 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72774 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72775 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72776 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72777 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72778 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72779 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72780 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72781 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72782 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72783 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72784 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72785 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72786 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72787 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72788 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72789 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72790 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72791 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72792 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72793 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72794 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72795 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72796 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72797 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72798 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72799 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72800 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72801 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72802 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72803 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72804 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72805 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72806 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72807 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72808 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72809 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72810 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72811 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72812 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72813 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72814 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72815 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72816 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72817 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72818 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72819 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72820 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72821 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72822 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72823 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72824 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72825 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72826 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72827 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72828 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72829 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
72830 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72831 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72832 (__isnanf): Likewise.
72833 (__isinf_ns): Likewise.
72834 (__isinf_nsf): Likewise.
72835 (__finite): Likewise.
72836 (__finitef): Likewise.
72837 (__ieee754_sqrt): Define as macro.
72838 (__ieee754_sqrtf): Define as macro.
72839 (__ieee754_sqrtl): Define as macro.
72840 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72841 inlined copy.
72842 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72843 __FINITE_MATH_ONLY__ consistent.
72844 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72845
72846 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
72847
72848 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72849 of rawmemchr.
72850
72851 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72852
72853 2011-10-09 Ulrich Drepper <drepper@gmail.com>
72854
72855 * po/ja.po: Update from translation team.
72856
72857 2011-10-08 Roland McGrath <roland@hack.frob.com>
72858
72859 * locale/programs/locarchive.c (prepare_address_space): New function.
72860 (create_archive, enlarge_archive, open_archive): Use it.
72861
72862 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72863 inside [SHARED], where it is used.
72864
72865 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72866
72867 * nss/getent.c (netgroup_keys): Remove unused variable.
72868 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72869
72870 2011-10-08 Ulrich Drepper <drepper@gmail.com>
72871
72872 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72873 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72874 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72875 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72876 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72877 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72878 * math/Makefile (libm-calls): Add s_isinf_ns.
72879 * math/divtc3.c: Use __isinf_nsl instead of isinf.
72880 * math/multc3.c: Likewise.
72881 * math/s_casin.c: Likewise.
72882 * math/s_casinf.c: Likewise.
72883 * math/s_casinl.c: Likewise.
72884 * math/s_ccos.c: Likewise.
72885 * math/s_ccosf.c: Likewise.
72886 * math/s_ccosl.c: Likewise.
72887 * math/s_ctan.c: Likewise.
72888 * math/s_ctanf.c: Likewise.
72889 * math/s_ctanh.c: Likewise.
72890 * math/s_ctanhf.c: Likewise.
72891 * math/s_ctanhl.c: Likewise.
72892 * math/s_ctanl.c: Likewise.
72893 * math/w_fmod.c: Likewise.
72894 * math/w_fmodf.c: Likewise.
72895 * math/w_fmodl.c: Likewise.
72896 * math/w_remainder.c: Likewise.
72897 * math/w_remainderf.c: Likewise.
72898 * math/w_remainderl.c: Likewise.
72899 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72900 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72901 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72902 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72903 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72904 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72905 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72906 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72907
72908 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72909 of the number.
72910 * stdio-common/printf_fphex.c: Likewise.
72911 * stdio-common/printf_size.c: Likewise.
72912
72913 * math/e_exp10.c: Include math_private.h using <...> not "...".
72914 * math/e_exp10f.c: Likewise.
72915 * math/e_exp10l.c: Likewise.
72916 * math/e_exp2l.c: Likewise.
72917 * math/e_j0l.c: Likewise.
72918 * math/e_j1l.c: Likewise.
72919 * math/e_jnl.c: Likewise.
72920 * math/e_lgammal_r.c: Likewise.
72921 * math/e_rem_pio2l.c: Likewise.
72922 * math/e_scalb.c: Likewise.
72923 * math/e_scalbf.c: Likewise.
72924 * math/e_scalbl.c: Likewise.
72925 * math/k_cosl.c: Likewise.
72926 * math/k_sinl.c: Likewise.
72927 * math/k_tanl.c: Likewise.
72928 * math/s_cacoshf.c: Likewise.
72929 * math/s_catan.c: Likewise.
72930 * math/s_catanf.c: Likewise.
72931 * math/s_catanh.c: Likewise.
72932 * math/s_catanhf.c: Likewise.
72933 * math/s_catanhl.c: Likewise.
72934 * math/s_catanl.c: Likewise.
72935 * math/s_ccosh.c: Likewise.
72936 * math/s_ccoshf.c: Likewise.
72937 * math/s_ccoshl.c: Likewise.
72938 * math/s_cexp.c: Likewise.
72939 * math/s_cexpf.c: Likewise.
72940 * math/s_cexpl.c: Likewise.
72941 * math/s_clog.c: Likewise.
72942 * math/s_clog10.c: Likewise.
72943 * math/s_clog10f.c: Likewise.
72944 * math/s_clog10l.c: Likewise.
72945 * math/s_clogf.c: Likewise.
72946 * math/s_clogl.c: Likewise.
72947 * math/s_csin.c: Likewise.
72948 * math/s_csinf.c: Likewise.
72949 * math/s_csinh.c: Likewise.
72950 * math/s_csinhf.c: Likewise.
72951 * math/s_csinhl.c: Likewise.
72952 * math/s_csinl.c: Likewise.
72953 * math/s_csqrt.c: Likewise.
72954 * math/s_csqrtf.c: Likewise.
72955 * math/s_csqrtl.c: Likewise.
72956 * math/s_ctan.c: Likewise.
72957 * math/s_ctanf.c: Likewise.
72958 * math/s_ctanh.c: Likewise.
72959 * math/s_ctanhf.c: Likewise.
72960 * math/s_ctanhl.c: Likewise.
72961 * math/s_ctanl.c: Likewise.
72962 * math/s_ldexp.c: Likewise.
72963 * math/s_ldexpf.c: Likewise.
72964 * math/s_ldexpl.c: Likewise.
72965 * math/s_significand.c: Likewise.
72966 * math/s_significandf.c: Likewise.
72967 * math/s_significandl.c: Likewise.
72968 * math/w_acos.c: Likewise.
72969 * math/w_acosf.c: Likewise.
72970 * math/w_acosh.c: Likewise.
72971 * math/w_acoshf.c: Likewise.
72972 * math/w_acoshl.c: Likewise.
72973 * math/w_acosl.c: Likewise.
72974 * math/w_asin.c: Likewise.
72975 * math/w_asinf.c: Likewise.
72976 * math/w_asinl.c: Likewise.
72977 * math/w_atan2.c: Likewise.
72978 * math/w_atan2f.c: Likewise.
72979 * math/w_atan2l.c: Likewise.
72980 * math/w_atanh.c: Likewise.
72981 * math/w_atanhf.c: Likewise.
72982 * math/w_atanhl.c: Likewise.
72983 * math/w_cosh.c: Likewise.
72984 * math/w_coshf.c: Likewise.
72985 * math/w_coshl.c: Likewise.
72986 * math/w_dremf.c: Likewise.
72987 * math/w_exp10.c: Likewise.
72988 * math/w_exp10f.c: Likewise.
72989 * math/w_exp10l.c: Likewise.
72990 * math/w_exp2.c: Likewise.
72991 * math/w_exp2f.c: Likewise.
72992 * math/w_fmod.c: Likewise.
72993 * math/w_fmodf.c: Likewise.
72994 * math/w_fmodl.c: Likewise.
72995 * math/w_hypot.c: Likewise.
72996 * math/w_hypotf.c: Likewise.
72997 * math/w_hypotl.c: Likewise.
72998 * math/w_j0.c: Likewise.
72999 * math/w_j0f.c: Likewise.
73000 * math/w_j0l.c: Likewise.
73001 * math/w_j1.c: Likewise.
73002 * math/w_j1f.c: Likewise.
73003 * math/w_j1l.c: Likewise.
73004 * math/w_jn.c: Likewise.
73005 * math/w_jnf.c: Likewise.
73006 * math/w_jnl.c: Likewise.
73007 * math/w_lgamma.c: Likewise.
73008 * math/w_lgamma_r.c: Likewise.
73009 * math/w_lgammaf.c: Likewise.
73010 * math/w_lgammaf_r.c: Likewise.
73011 * math/w_lgammal.c: Likewise.
73012 * math/w_lgammal_r.c: Likewise.
73013 * math/w_log.c: Likewise.
73014 * math/w_log10.c: Likewise.
73015 * math/w_log10f.c: Likewise.
73016 * math/w_log10l.c: Likewise.
73017 * math/w_log2.c: Likewise.
73018 * math/w_log2f.c: Likewise.
73019 * math/w_log2l.c: Likewise.
73020 * math/w_logf.c: Likewise.
73021 * math/w_logl.c: Likewise.
73022 * math/w_pow.c: Likewise.
73023 * math/w_powf.c: Likewise.
73024 * math/w_powl.c: Likewise.
73025 * math/w_remainder.c: Likewise.
73026 * math/w_remainderf.c: Likewise.
73027 * math/w_remainderl.c: Likewise.
73028 * math/w_scalb.c: Likewise.
73029 * math/w_scalbf.c: Likewise.
73030 * math/w_scalbl.c: Likewise.
73031 * math/w_sinh.c: Likewise.
73032 * math/w_sinhf.c: Likewise.
73033 * math/w_sinhl.c: Likewise.
73034 * math/w_sqrt.c: Likewise.
73035 * math/w_sqrtf.c: Likewise.
73036 * math/w_sqrtl.c: Likewise.
73037 * math/w_tgamma.c: Likewise.
73038 * math/w_tgammaf.c: Likewise.
73039 * math/w_tgammal.c: Likewise.
73040
73041 * po/ja.po: Update from translation team.
73042
73043 2011-09-29 Andreas Jaeger <aj@suse.de>
73044
73045 [BZ #13179]
73046 * sunrpc/netname.c (netname2host): Fix logic.
73047
73048 [BZ #6779]
73049 [BZ #6783]
73050 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
73051 correctly.
73052 * math/w_remainder.c (__remainder): Likewise.
73053 * math/w_remainderf.c (__remainderf): Likewise.
73054 * math/libm-test.inc (remainder_test): Add test cases.
73055
73056 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73057
73058 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
73059 sdiv_qrnnd.
73060
73061 2011-10-07 Ulrich Drepper <drepper@gmail.com>
73062
73063 * string/test-memcmp.c: Avoid unncessary #defines.
73064 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73065
73066 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73067
73068 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
73069 Use new sse2 version for core i3 - i7 as it's faster
73070 than sse42 version.
73071 (bit_Prefer_PMINUB_for_stringop): New.
73072 * sysdeps/x86_64/rawmemchr.S: Update.
73073 Replace with faster SSE2 version.
73074 * sysdeps/x86_64/memrchr.S: New file.
73075 * sysdeps/x86_64/memchr.S: Update.
73076 Replace with faster SSE2 version.
73077
73078 2011-09-12 Marek Polacek <mpolacek@redhat.com>
73079
73080 * elf/dl-load.c (lose): Add cast to avoid warning.
73081
73082 2011-10-07 Ulrich Drepper <drepper@gmail.com>
73083
73084 * po/ca.po: Update from translation team.
73085
73086 * inet/getnetgrent_r.c: Hook up nscd.
73087 * nscd/Makefile (routines): Add nscd_netgroup.
73088 (nscd-modules): Add netgroupcache.
73089 (CFLAGS-netgroupcache.c): Define.
73090 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73091 (cache_search): Add const to second parameter.
73092 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
73093 INNETGR.
73094 (dbs): Add netgrdb entry.
73095 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
73096 (verify_persistent_db): Handle netgrdb.
73097 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
73098 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
73099 GETFDNETGR.
73100 (netgroup_response_header): Define.
73101 (innetgroup_response_header): Define.
73102 (datahead): Add netgroup_response_header and innetgroup_response_header
73103 elements.
73104 * nscd/nscd.conf: Add entries for netgroup cache.
73105 * nscd/nscd.h (dbtype): Add netgrdb.
73106 (_PATH_NSCD_NETGROUP_DB): Define.
73107 (netgroup_iov_disabled): Declare.
73108 (xmalloc, xcalloc, xrealloc): Move declarations here.
73109 (cache_search): Adjust prototype.
73110 Add netgroup-related prototypes.
73111 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
73112 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
73113 (__nscd_innetgr): Declare.
73114 * nscd/selinux.c (perms): Use access_vector_t as element type and
73115 add netgroup-related initializers.
73116 * nscd/netgroupcache.c: New file.
73117 * nscd/nscd_netgroup.c: New file.
73118 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
73119 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
73120 For four parameters use innetgr.
73121 * nss/nss_files/files-init.c: Add definition and callback for netgr.
73122 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
73123 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
73124 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
73125
73126 * nscd/connections.c (register_traced_file): Don't register file
73127 for disabled databases.
73128
73129 2011-10-06 Ulrich Drepper <drepper@gmail.com>
73130
73131 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
73132
73133 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
73134 from tree and freeing node.
73135
73136 2011-09-25 Jiri Olsa <jolsa@redhat.com>
73137
73138 * nss/nsswitch.c (__nss_database_lookup): Handle
73139 nss_parse_service_list out of memory case.
73140
73141 2011-09-15 Jiri Olsa <jolsa@redhat.com>
73142
73143 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
73144 out of memory case.
73145
73146 2011-10-04 Andreas Schwab <schwab@redhat.com>
73147
73148 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
73149 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
73150 pass it down.
73151 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
73152 elf_machine_rela, elf_machine_lazy_rel.
73153 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
73154 (ELF_DYNAMIC_DO_REL): Likewise.
73155 (ELF_DYNAMIC_DO_RELA): Likewise.
73156 (ELF_DYNAMIC_RELOCATE): Likewise.
73157 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
73158 to ELF_DYNAMIC_DO_REL.
73159 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
73160 (dl_main): In trace mode always set __RTLD_NOIFUNC.
73161 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
73162 elf_machine_rela.
73163 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
73164 skip_ifunc, don't call ifunc function if non-zero.
73165 (elf_machine_rela): Likewise.
73166 (elf_machine_lazy_rel): Likewise.
73167 (elf_machine_lazy_rela): Likewise.
73168 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
73169 (elf_machine_lazy_rel): Likewise.
73170 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
73171 Likewise.
73172 (elf_machine_lazy_rel): Likewise.
73173 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73174 Likewise.
73175 (elf_machine_lazy_rel): Likewise.
73176 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
73177 (elf_machine_lazy_rel): Likewise.
73178 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
73179 (elf_machine_lazy_rel): Likewise.
73180 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
73181 (elf_machine_lazy_rel): Likewise.
73182 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
73183 (elf_machine_lazy_rel): Likewise.
73184 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
73185 (elf_machine_lazy_rel): Likewise.
73186 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
73187 (elf_machine_lazy_rel): Likewise.
73188
73189 2011-09-28 Ulrich Drepper <drepper@gmail.com>
73190
73191 * nss/nss_files/files-init.c (_nss_files_init): Use static
73192 initialization for all the *_traced_file variables.
73193
73194 2011-09-28 Andreas Schwab <schwab@redhat.com>
73195
73196 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73197
73198 2011-09-27 Roland McGrath <roland@hack.frob.com>
73199
73200 [BZ #13226]
73201 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
73202
73203 2011-09-27 Andreas Schwab <schwab@redhat.com>
73204
73205 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73206 Reread the line before reparsing it.
73207
73208 2011-09-26 Andreas Schwab <schwab@redhat.com>
73209
73210 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73211
73212 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
73213 Maxim Kuvyrkov <maxim@codesourcery.com>
73214 Joseph Myers <joseph@codesourcery.com>
73215
73216 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73217 if needed for __stack_chk_guard.
73218
73219 2011-09-19 Roland McGrath <roland@hack.frob.com>
73220
73221 * sysdeps/posix/spawni.c (script_execute): Always define it.
73222 It will be optimized away if unused.
73223 (maybe_script_execute): New function.
73224 (__spawni): Call it.
73225
73226 * Makerules: Don't include tls.make.
73227 (config-tls): Always set to thread.
73228 * tls.make.c: File removed.
73229
73230 2011-09-19 Mike Frysinger <vapier@gentoo.org>
73231
73232 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73233 * config.make.in (CPPFLAGS-config): New substituted variable.
73234
73235 2011-09-15 Ulrich Drepper <drepper@gmail.com>
73236
73237 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73238
73239 [BZ #13192]
73240 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73241 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73242
73243 2011-09-15 Roland McGrath <roland@hack.frob.com>
73244
73245 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73246 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73247 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73248 (CALL_FAIL): Likewise.
73249 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73250 (CALL_FAIL): Macro removed.
73251 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73252
73253 2011-09-15 Ulrich Drepper <drepper@gmail.com>
73254
73255 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73256 for __FINITE_MATH_ONLY__ == 1.
73257
73258 2011-09-15 Andreas Schwab <schwab@redhat.com>
73259
73260 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73261 __ieee754_sqrt instead of sqrt.
73262 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73263 __ieee754_sqrtf instead of sqrtf.
73264 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73265 __floorf instead of floorf.
73266 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73267 __floorf, __truncf instead of floorf, truncf.
73268
73269 2011-09-14 Ulrich Drepper <drepper@gmail.com>
73270
73271 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73272
73273 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73274 __extern_always_inline.
73275 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73276 32-bit.
73277
73278 2011-09-14 Andreas Schwab <schwab@redhat.com>
73279
73280 * elf/rtld.c (dl_main): Also relocate in dependency order when
73281 doing symbol dependency testing.
73282
73283 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
73284
73285 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73286 Always define `refsym'.
73287
73288 2011-09-13 Andreas Schwab <schwab@redhat.com>
73289
73290 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73291 (__FD_ELT): Renamed from __FDELT.
73292 * misc/bits/select2.h (__FD_ELT): Likewise.
73293 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73294 __FD_MASK instead of __FDELT, __FDMASK.
73295 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73296 Likewise.
73297 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73298 Likewise.
73299
73300 * elf/Makefile (gen-ldd): Fix pattern.
73301
73302 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73303 (init_tls): Likewise.
73304
73305 2011-09-12 Ulrich Drepper <drepper@gmail.com>
73306
73307 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73308
73309 2011-09-12 Andreas Schwab <schwab@redhat.com>
73310
73311 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73312 `struct cmsghdr *' instead of `void *'.
73313 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73314 Likewise.
73315
73316 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
73317
73318 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73319 if non-absolute.
73320 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73321 ldd_rewrite_script.
73322
73323 2011-09-11 Ulrich Drepper <drepper@gmail.com>
73324
73325 * configure.in: Remove --with-tls option.
73326 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73327 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73328 out in case it is missing.
73329 * sysdeps/ia64/elf/configure.in: Likewise.
73330 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73331 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73332 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73333 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73334 * sysdeps/sh/elf/configure.in: Likewise.
73335 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73336 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73337 * sysdeps/x86_64/elf/configure.in: Likewise.
73338 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73339 * sysdeps/mach/hurd/tls.h: Likewise.
73340
73341 [BZ #13067]
73342 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73343
73344 [BZ #13090]
73345 * configure.in: Fix use of AC_INIT.
73346
73347 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73348
73349 2011-09-10 Ulrich Drepper <drepper@gmail.com>
73350
73351 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73352 __set_errno.
73353 * malloc/hooks.c: Likewise.
73354
73355 [BZ #11929]
73356 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
73357 variables statically.
73358 (narenas): Initialize.
73359 (list_lock): Initialize.
73360 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
73361 initializtion of main_arena and list_lock. Small cleanups.
73362 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
73363 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
73364 Add initializers to main_arena and mp_.
73365 (malloc_state): Remove pagesize member. Change all users to use
73366 GLRO(dl_pagesize).
73367
73368 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
73369 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
73370 is always initialized.
73371
73372 * malloc/malloc.c: Removed unused configurations and dead code.
73373 * malloc/arena.c: Likewise.
73374 * malloc/hooks.c: Likewise.
73375 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
73376
73377 * include/tls.h: Removed. USE___THREAD must always be defined.
73378 * bits/libc-tsd.h: Don't handle !USE___THREAD.
73379 * elf/dl-libc.c: Likewise.
73380 * elf/dl-tsd.c: Likewise.
73381 * include/errno.h: Likewise.
73382 * include/netdb.h: Likewise.
73383 * include/resolv.h: Likewise.
73384 * inet/herrno-loc.c: Likewise.
73385 * inet/herrno.c: Likewise.
73386 * malloc/arena.c: Likewise.
73387 * malloc/hooks.c: Likewise.
73388 * malloc/malloc.c: Likewise.
73389 * resolv/res-state.c: Likewise.
73390 * resolv/res_libc.c: Likewise.
73391 * sysdeps/i386/dl-machine.h: Likewise.
73392 * sysdeps/ia64/dl-machine.h: Likewise.
73393 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
73394 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
73395 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
73396 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
73397 * sysdeps/sh/dl-machine.h: Likewise.
73398 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73399 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73400 * sysdeps/unix/i386/sysdep.S: Likewise.
73401 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
73402 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
73403 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
73404 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
73405 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
73406 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
73407 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
73408 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73411 * sysdeps/unix/x86_64/sysdep.S: Likewise.
73412 * sysdeps/x86_64/dl-machine.h: Likewise.
73413 * tls.make.c: Likewise.
73414
73415 * configure.in: Remove --with-__thread option. Make tests for
73416 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
73417 tls_model attribute fail if no support is available. Remove
73418 USE_IN_LIBIO.
73419 * Makeconfig: Adjust for dropped configure option. All features are
73420 now mandatory.
73421 * Makerules: Likewise.
73422 * Versions.def: Likewise.
73423 * argp/argp-fmtstream.c: Likewise.
73424 * argp/argp-fmtstream.h: Likewise.
73425 * argp/argp-help.c: Likewise.
73426 * assert/assert.c: Likewise.
73427 * config.h.in: Likewise.
73428 * config.make.in: Likewise.
73429 * configure: Likewise.
73430 * configure.in: Likewise.
73431 * csu/Versions: Likewise.
73432 * csu/init.c: Likewise.
73433 * elf/tst-audit2.c: Likewise.
73434 * elf/tst-tls10.c: Likewise.
73435 * elf/tst-tls10.h: Likewise.
73436 * elf/tst-tls11.c: Likewise.
73437 * elf/tst-tls12.c: Likewise.
73438 * elf/tst-tls14.c: Likewise.
73439 * elf/tst-tlsmod11.c: Likewise.
73440 * elf/tst-tlsmod12.c: Likewise.
73441 * elf/tst-tlsmod13.c: Likewise.
73442 * elf/tst-tlsmod13a.c: Likewise.
73443 * elf/tst-tlsmod14a.c: Likewise.
73444 * elf/tst-tlsmod15b.c: Likewise.
73445 * elf/tst-tlsmod16a.c: Likewise.
73446 * elf/tst-tlsmod16b.c: Likewise.
73447 * elf/tst-tlsmod7.c: Likewise.
73448 * elf/tst-tlsmod8.c: Likewise.
73449 * elf/tst-tlsmod9.c: Likewise.
73450 * gmon/gmon.c: Likewise.
73451 * grp/fgetgrent_r.c: Likewise.
73452 * grp/putgrent.c: Likewise.
73453 * hurd/fopenport.c: Likewise.
73454 * include/libc-symbols.h: Likewise.
73455 * include/tls.h: Likewise.
73456 * intl/gettextP.h: Likewise.
73457 * intl/loadinfo.h: Likewise.
73458 * locale/global-locale.c: Likewise.
73459 * locale/localeinfo.h: Likewise.
73460 * mach/devstream.c: Likewise.
73461 * malloc/arena.c: Likewise.
73462 * malloc/set-freeres.c: Likewise.
73463 * misc/err.c: Likewise.
73464 * misc/getttyent.c: Likewise.
73465 * misc/mntent_r.c: Likewise.
73466 * posix/getopt.c: Likewise.
73467 * posix/wordexp.c: Likewise.
73468 * pwd/fgetpwent_r.c: Likewise.
73469 * resolv/Versions: Likewise.
73470 * resolv/res_hconf.c: Likewise.
73471 * shadow/fgetspent_r.c: Likewise.
73472 * shadow/putspent.c: Likewise.
73473 * stdio-common/printf_fphex.c: Likewise.
73474 * stdio-common/tmpfile.c: Likewise.
73475 * stdlib/abort.c: Likewise.
73476 * stdlib/fmtmsg.c: Likewise.
73477 * sunrpc/auth_unix.c: Likewise.
73478 * sunrpc/clnt_perr.c: Likewise.
73479 * sunrpc/clnt_tcp.c: Likewise.
73480 * sunrpc/clnt_udp.c: Likewise.
73481 * sunrpc/clnt_unix.c: Likewise.
73482 * sunrpc/openchild.c: Likewise.
73483 * sunrpc/svc_simple.c: Likewise.
73484 * sunrpc/svc_tcp.c: Likewise.
73485 * sunrpc/svc_udp.c: Likewise.
73486 * sunrpc/svc_unix.c: Likewise.
73487 * sunrpc/xdr.c: Likewise.
73488 * sunrpc/xdr_array.c: Likewise.
73489 * sunrpc/xdr_rec.c: Likewise.
73490 * sunrpc/xdr_ref.c: Likewise.
73491 * sunrpc/xdr_stdio.c: Likewise.
73492
73493 2011-09-09 Ulrich Drepper <drepper@gmail.com>
73494
73495 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73496
73497 2011-07-03 Andreas Jaeger <aj@suse.de>
73498
73499 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73500 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73501 regenerate with gen-libm-tests.pl.
73502
73503 2010-05-12 Petr Baudis <pasky@suse.cz>
73504
73505 [BZ #11589]
73506 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73507 around j0() zero points by switching to j1().
73508 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73509 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73510 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73511 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73512
73513 2011-09-09 Ulrich Drepper <drepper@gmail.com>
73514
73515 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73516 instead of 0.
73517 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73518 instead of 0.
73519 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73520 Patch in part by Pavel Roskin <proski@gnu.org>.
73521
73522 [BZ #13138]
73523 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73524 realloc.
73525 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
73526 Free memory block if necessary.
73527
73528 [BZ #12847]
73529 * libio/genops.c (INTDEF): For string streams the _lock pointer can
73530 be NULL. Don't lock in this case.
73531
73532 2011-09-09 Roland McGrath <roland@hack.frob.com>
73533
73534 * elf/elf.h (ELFOSABI_GNU): New macro.
73535 (ELFOSABI_LINUX): Define to that.
73536
73537 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
73538
73539 * string/strncat.c (strncat): Undef the symbol in case it has been
73540 defined in bits/string.h.
73541
73542 2011-09-09 Ulrich Drepper <drepper@gmail.com>
73543
73544 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73545
73546 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73547 link map.
73548
73549 2011-08-17 Andreas Jaeger <aj@suse.de>
73550
73551 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73552
73553 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
73554 Ian Lance Taylor <iant@google.com>
73555
73556 * math/libm-test.inc (lround_test): New testcase.
73557 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73558
73559 2011-09-08 Ulrich Drepper <drepper@gmail.com>
73560
73561 * Makefile: Remove support for automatic cvs check-ins.
73562 * Makerules: Likewise.
73563 * config.make.in: Likewise.
73564 * configure.in: Likewise.
73565 * intl/Makefile: Likewise.
73566 * locale/Makefile: Likewise.
73567 * po/Makefile: Likewise.
73568 * posix/Makefile: Likewise.
73569 * sysdeps/gnu/Makefile: Likewise.
73570 * sysdeps/mach/hurd/Makefile: Likewise.
73571 * sysdeps/sparc/sparc32/Makefile: Likewise.
73572
73573 [BZ #13118]
73574 * posix/Makefile (bug-regex32-ENV): Define.
73575 Patch by John Stanley <jpsinthemix@verizon.net>.
73576
73577 * misc/Makefile (headers): Add bits/select2.h.
73578 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73579 * misc/bits/select2.h: New file.
73580 * include/bits/select2.h: New file.
73581 * debug/Makefile (routines): Add fdelt_chk.
73582 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73583 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73584 FD_ISSET.
73585 * debug/fdelt_chk.c: New file.
73586
73587 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
73588 * wcsmbs/test-wmemcmp.c: Likewise.
73589 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73590 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73591
73592 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73593
73594 * string/Makefile (strop-tests): Add memcmp.
73595 * string/test-wmemcmp.c: New file.
73596 * string/test-memcmp.c: Add wmemcmp support.
73597
73598 2011-09-08 Roland McGrath <roland@hack.frob.com>
73599
73600 [BZ #13153]
73601 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73602 2011-07-19 change.
73603
73604 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73605 garbage value in a __mach_port_mod_refs call in the cases of the
73606 task-self and thread-self ports.
73607
73608 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
73609
73610 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73611
73612 2011-09-08 Andreas Schwab <schwab@redhat.com>
73613
73614 * elf/dl-load.c (lose): Check for non-null L.
73615
73616 2011-09-07 Ulrich Drepper <drepper@gmail.com>
73617
73618 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73619
73620 * elf/dl-libc.c (dlerror_run): Pass back error code from
73621 dl_catch_error.
73622
73623 [BZ #13123]
73624 * elf/dl-load.c (lose): Free l_origin if it is valid.
73625
73626 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73627 names.
73628 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73629 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73630 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73631 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73632 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73633 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73634
73635 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73636
73637 * sysdeps/powerpc/fpu/e_hypot.c: New file.
73638 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73639 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73640 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73641 * sysdeps/powerpc/fpu/k_cosf.c: New file.
73642 * sysdeps/powerpc/fpu/k_sinf.c: New file.
73643 * sysdeps/powerpc/fpu/s_cosf.c: New file.
73644 * sysdeps/powerpc/fpu/s_sinf.c: New file.
73645 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73646 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73647
73648 2011-08-15 Alan Modra <amodra@gmail.com>
73649
73650 [BZ #13092]
73651 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73652 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73653 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
73654 ppc_mcount to static-only-routines.
73655 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73656 __mcount_internal.
73657 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73658 __mcount_internal with usual JUMPTARGET. Remove useless nop.
73659
73660 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
73661
73662 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73663 for finite and infinity parameters.
73664
73665 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
73666
73667 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73668 and add nop instructions for throughput optimization.
73669 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73670
73671 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
73672
73673 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73674 aligned copy for power7 with vector-scalar instructions.
73675 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73676
73677 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
73678
73679 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73680 AVX check.
73681
73682 2011-09-07 Andreas Schwab <schwab@redhat.com>
73683
73684 [BZ #13144]
73685 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73686 last change.
73687
73688 2011-09-07 Ulrich Drepper <drepper@gmail.com>
73689
73690 * sysdeps/unix/sysv/linux/x86_64/init-first.c
73691 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73692 syscall wrapper around clock_gettime in __vdso_clock_gettime.
73693 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73694 clock_gettime.
73695
73696 2011-09-06 Ulrich Drepper <drepper@gmail.com>
73697
73698 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73699 Forgot to demangle the pointer.
73700
73701 * sysdeps/i386/sysdep.h: Define atom_text_section.
73702 * sysdeps/x86_64/sysdep.h: Likewise.
73703 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73704 section with atom_text_section.
73705 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73706 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73707 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73708 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73709 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73710
73711 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73712 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73713 already be defined. Change to take two parameters and don't assign
73714 result to variable. Adjust all users.
73715 Define INTERNAL_GETTIME if not already defined.
73716 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73717 call.
73718 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73719 HAVE_CLOCK_GETTIME_VSYSCALL.
73720 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73721
73722 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73723 gettimeofday vsyscall, just use time.
73724
73725 2011-09-06 Andreas Schwab <schwab@redhat.com>
73726
73727 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73728 <errno.h>.
73729
73730 2011-09-06 Ulrich Drepper <drepper@gmail.com>
73731
73732 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73733 syscall on x86-64.
73734 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73735 syscall.
73736 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73737 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73738 syscall if possible.
73739
73740 2011-09-05 Ulrich Drepper <drepper@gmail.com>
73741
73742 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73743 e_ident. Don't pass to find_mapsXX.
73744 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73745
73746 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
73747
73748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73749 strchr-sse2-no-bsf strrchr-sse2-no-bsf
73750 * sysdeps/x86_64/multiarch/strchr.S: Update.
73751 Check bit_slow_BSF bit.
73752 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73753 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73754 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73755
73756 2011-09-05 Ulrich Drepper <drepper@gmail.com>
73757
73758 [BZ #13134]
73759 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73760 before glibc 2.15.
73761 (tryshell): Define.
73762 (__spawni): Change last parameter to be flag. Test
73763 SPAWN_XFLAGS_USE_PATH flag to use path or not.
73764 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73765 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73766 * posix/spawni.c: Likewise.
73767 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73768 * posix/spawnp.c: Likewise. Change normal version to use
73769 SPAWN_XFLAGS_USE_PATH.
73770 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73771 SPAWN_XFLAGS_TRY_SHELL.
73772
73773 [BZ #13150]
73774 * posix/glob.h: Remove gcc 1.x support.
73775
73776 [BZ #13068]
73777 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73778
73779 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
73780
73781 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73782 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73783 strrchr-sse2-bsf
73784 * sysdeps/i386/i686/multiarch/strchr.S: New file.
73785 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73786 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73787 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73788 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73789 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73790
73791 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73792
73793 * sysdeps/x86_64/wcscmp.S: New file.
73794
73795 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73796 wcscmp-c wcscmp-sse2
73797 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73798 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73799 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73800 * wcsmbs/wcscmp.c: Allow renaming.
73801
73802 2011-09-05 David S. Miller <davem@davemloft.net>
73803
73804 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73805 stack slot, rather than the struct return pointer slot.
73806 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73807 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73809 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73810
73811 2011-09-05 Ulrich Drepper <drepper@gmail.com>
73812
73813 * po/ja.po: Update from translation team.
73814
73815 [BZ #13144]
73816 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73817 kernel in 64-bit binaries.
73818
73819 2011-09-01 David S. Miller <davem@davemloft.net>
73820
73821 * elf/elf.h (HWCAP_SPARC_*): Move to..
73822 * sysdeps/sparc/sysdep.h: this new file and add new values.
73823 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73824 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73825 _DL_HWCAP_COUNT to 24.
73826 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73827 entries.
73828 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73829 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73830 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73831 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73832 instead of magic constants.
73833 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73834
73835 2011-08-31 David S. Miller <davem@davemloft.net>
73836
73837 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73838 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73839 Reimplement to do errno handling inline.
73840 (SYSCALL_ERROR_HANDLER): New macro.
73841 (__SYSCALL_STRING): Do not do errno handling in asm.
73842 (__CLONE_SYSCALL_STRING): Delete.
73843 (__INTERNAL_SYSCALL_STRING): Delete.
73844 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73845 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73846 (PSEUDO): Reimplement to do errno handling inline.
73847 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73848 (SYSCALL_ERROR_HANDLER): New macro.
73849 (__SYSCALL_STRING): Do not do errno handling in asm.
73850 (__CLONE_SYSCALL_STRING): Delete.
73851 (__INTERNAL_SYSCALL_STRING): Delete.
73852 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73853 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73854 i386.
73855 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73856 (inline_syscall*): Add 'err' argument.
73857 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73858 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73859 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73860 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73861
73862 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73863 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73864
73865 2011-08-30 Andreas Schwab <schwab@redhat.com>
73866
73867 * elf/rtld.c (dl_main): Relocate objects in dependency order.
73868
73869 2011-08-29 Jiri Olsa <jolsa@redhat.com>
73870
73871 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73872 directive.
73873
73874 2011-08-24 David S. Miller <davem@davemloft.net>
73875
73876 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73877
73878 2011-08-24 Andreas Schwab <schwab@redhat.com>
73879
73880 * elf/Makefile: Add rules to build and run unload8 test.
73881 * elf/unload8.c: New file.
73882 * elf/unload8mod1.c: New file.
73883 * elf/unload8mod1x.c: New file.
73884 * elf/unload8mod2.c: New file.
73885 * elf/unload8mod3.c: New file.
73886
73887 * elf/dl-close.c (_dl_close_worker): Reset private search list if
73888 it wasn't used.
73889
73890 2011-08-23 David S. Miller <davem@davemloft.net>
73891
73892 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73893 subtract stack bias.
73894 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73895 %sp not %fp in calculations.
73896 (_JMPBUF_UNWINDS_ADJ): Likewise.
73897
73898 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73899 (aio_suspend): Call it to force an exception region around the
73900 AIO_MISC_WAIT() invocation.
73901
73902 2011-08-23 Andreas Schwab <schwab@redhat.com>
73903
73904 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73905 backslash.
73906
73907 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
73908
73909 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73910 protection macro.
73911 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73912 and <dl-machine.h>.
73913 (Elf64_FuncDesc): Remove.
73914
73915 2011-08-22 David S. Miller <davem@davemloft.net>
73916
73917 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73918 sigaltstack check, add missing cfi directives.
73919 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73920 missing cfi directives, and sigaltstack handling.
73921
73922 2011-08-16 Andreas Schwab <schwab@redhat.com>
73923
73924 [BZ #11724]
73925 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73926 object is seen twice.
73927 * elf/dl-fini.c (_dl_sort_fini): Likewise.
73928
73929 * elf/Makefile (distribute): Add tst-initorder2.c.
73930 (tests): Add tst-initorder2.
73931 (modules-names): Add tst-initorder2a tst-initorder2b
73932 tst-initorder2c tst-initorder2d. Add rules to build them.
73933 ($(objpfx)tst-initorder2.out): New rule.
73934 * elf/tst-initorder2.c: New file.
73935 * elf/tst-initorder2.exp: New file.
73936
73937 2011-08-22 Andreas Schwab <schwab@redhat.com>
73938
73939 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73940
73941 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73942 dependencies back to end of function.
73943
73944 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73945 $(elfobjdir)/ld.so.
73946
73947 2011-08-21 Ulrich Drepper <drepper@gmail.com>
73948
73949 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73950 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73951 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73952 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73953 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73954 of __vdso_gettimeofday.
73955 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73956 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
73957 attribute_hidden.
73958 (_libc_vdso_platform_setup): Remove initialization of
73959 __vdso_gettimeofday and __vdso_time.
73960
73961 2011-08-20 Ulrich Drepper <drepper@gmail.com>
73962
73963 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73964 and fgetc_unlocked.
73965 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73966 getc_unlocked.
73967
73968 * elf/dl-open.c (add_to_global): Report additions to the global scope
73969 for LD_DEBUG=scopes.
73970 (dl_open_worker): Also print scope of newly loaded dependencies.
73971 (_dl_show_scope): Indicate if there is no scope.
73972
73973 [BZ #13114]
73974 * stdio-common/Makefile (tests): Add bug24.
73975 * stdio-common/bug24.c: New file.
73976
73977 2011-08-19 Andreas Jaeger <aj@suse.de>
73978
73979 [BZ #13114]
73980 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73981 non-existant file when using close-on-exec mode.
73982
73983 2011-08-20 Ulrich Drepper <drepper@gmail.com>
73984
73985 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73986 the very first instruction.
73987
73988 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73989 the CFI state in the end.
73990 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73991 inclusion of dl-trampoline.h.
73992 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73993
73994 2011-08-19 Andreas Schwab <schwab@redhat.com>
73995
73996 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73997 expectations for long double.
73998
73999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
74000 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
74001
74002 2011-08-14 David S. Miller <davem@davemloft.net>
74003
74004 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
74005 artificual limit depends upon the system page size.
74006
74007 2011-08-17 Ulrich Drepper <drepper@gmail.com>
74008
74009 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
74010 * resolv/Makefile: Define CFLAGS-libresolv.
74011
74012 2011-08-17 Andreas Schwab <schwab@redhat.com>
74013
74014 * nss/makedb.c (compute_tables): Make variables used in nested
74015 function static.
74016
74017 2011-08-17 Ulrich Drepper <drepper@gmail.com>
74018
74019 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
74020 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
74021 if buffer was too small.
74022
74023 * elf/pldd.c (main): Attach to all threads in the process.
74024 Rewrite /proc handling to use *at functions.
74025
74026 2011-08-16 Ulrich Drepper <drepper@gmail.com>
74027
74028 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
74029 specifies first scope to show.
74030 (dl_open_worker): Update callers. Move printing scope of new
74031 object to before the relocation.
74032 * elf/rtld.c (dl_main): Update _dl_show_scope call.
74033 * sysdeps/generic/ldsodefs.h: Update declaration.
74034
74035 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
74036 string for the scope number.
74037
74038 2011-08-14 Ulrich Drepper <drepper@gmail.com>
74039
74040 * nscd/servicescache.c (cache_addserv): Make sure written is always
74041 initialized.
74042
74043 2011-08-14 Roland McGrath <roland@hack.frob.com>
74044
74045 * sysdeps/i386/i486/bits/atomic.h
74046 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
74047 statement expression, so as to suppress "set but not used" warning.
74048 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
74049
74050 * string/strncat.c (STRNCAT): Use prototype definition.
74051
74052 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
74053 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
74054 -Iprograms here.
74055 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
74056 (localedef-modules): Add localedef.
74057 (locale-modules): Add locale.
74058
74059 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
74060 * elf/rtld.c (dl_main): Invert order of assignment in last change,
74061 to avoid a warning.
74062
74063 2011-08-14 David S. Miller <davem@davemloft.net>
74064
74065 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
74066 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
74067
74068 2011-08-13 Ulrich Drepper <drepper@gmail.com>
74069
74070 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
74071 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
74072 * elf/rtld.c (dl_main): Set l_name of vDSO.
74073 Call _dl_show_scope when DL_DEBUG_SCOPES.
74074 (process_dl_debug): Recognize scopes flag and also set it for all.
74075 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
74076 Declare _dl_show_scope.
74077
74078 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
74079 (do_dlopen): Pass caller_dlopen to dl_open.
74080 (__libc_dlopen_mode): Initialize caller_dlopen.
74081
74082 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74083 of libc. Make tolower call locale-independent. Optimize a bit by
74084 using isdigit instead of isalnum.
74085 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74086
74087 2011-08-12 Ulrich Drepper <drepper@gmail.com>
74088
74089 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74090 was a dependency or dynamically loaded.
74091
74092 2011-08-11 Ulrich Drepper <drepper@gmail.com>
74093
74094 * intl/l10nflist.c: Allow architecture-specific pop function.
74095 * sysdeps/x86_64/l10nflist.c: New file.
74096
74097 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
74098 classification.
74099
74100 2011-08-10 Andreas Schwab <schwab@redhat.com>
74101
74102 * include/dirent.h: Add libc_hidden_proto for scandirat and
74103 scandirat64. Don't declare __scandirat64.
74104 * dirent/scandirat.c: Add libc_hidden_def.
74105 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
74106 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
74107
74108 2011-08-10 David S. Miller <davem@davemloft.net>
74109
74110 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
74111 enum.
74112 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74113 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74114 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74115
74116 2011-08-09 Ulrich Drepper <drepper@gmail.com>
74117
74118 * Versions.def [libc]: Add GLIBC_2.15.
74119 * dirent/Makefile (routines): Add scandirat and scandirat64.
74120 * dirent/Versions [libc]: Export scandirat and scandirat64 for
74121 GLIBC_2.15.
74122 * dirent/dirent.h: Declare scandirat and scandirat64.
74123 * dirent/scandirat.c: New file.
74124 * dirent/scandirat64.c: New file.
74125 * sysdeps/wordsize-64/scandirat.c: New file.
74126 * sysdeps/wordsize-64/scandirat64.c: New file.
74127 * dirent/opendir.c: Define opendirat.
74128 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
74129 using scandirat.
74130 * dirent/scandir64.c: Adjust for scandir.c change.
74131 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
74132 __scandirat64, and __scandir_cancel_handler.
74133 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
74134 additional parameter and use openat instead of open (outside of ld.so).
74135 Add new __opendir as wrapper around __opendirat.
74136 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
74137 here without requiring old scandirat implementation.
74138
74139 2011-08-08 Ulrich Drepper <drepper@gmail.com>
74140
74141 * dirent/scandir.c (cancel_handler): Renamed to
74142 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
74143 defined. Adjust users.
74144 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
74145 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
74146
74147 2011-08-04 Ulrich Drepper <drepper@gmail.com>
74148
74149 * string/test-string.h (IMPL): Use __STRING to expand name and then
74150 stringify it.
74151
74152 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
74153 of cleanups.
74154
74155 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74156
74157 * string/Makefile: Update.
74158 (strop-tests): Append strncat.
74159 * string/test-wcscmp.c: New file.
74160 New comprehensive test for wcscmp.
74161 * string/test-strcmp.c: Update.
74162 (WIDE): New define.
74163
74164 2011-07-22 Andreas Schwab <schwab@redhat.com>
74165
74166 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
74167 line.
74168
74169 2011-07-26 Andreas Schwab <schwab@redhat.com>
74170
74171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74172 encoding to ACE if AI_IDN.
74173
74174 2011-08-01 Jakub Jelinek <jakub@redhat.com>
74175
74176 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
74177 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
74178
74179 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74180
74181 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
74182 Fix overflow bug in strncat.
74183 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
74184
74185 * string/test-strncat.c: Update.
74186 Add new tests for checking overflow bugs.
74187
74188 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74189
74190 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74191 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
74192 * sysdeps/i386/i686/multiarch/strcat.S: New file.
74193 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
74194 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
74195 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
74196 * sysdeps/i386/i686/multiarch/strncat.S: New file.
74197 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
74198 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
74199
74200 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
74201 (USE_AS_STRCAT): Define.
74202 Add strcat and strncat support.
74203 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74204
74205 2011-07-25 Andreas Schwab <schwab@redhat.com>
74206
74207 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74208 __n bigger than INT_MAX+1.
74209 (__strncmp_g): Likewise.
74210
74211 2011-07-23 Ulrich Drepper <drepper@gmail.com>
74212
74213 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74214 * libio/stido.h: Likewise.
74215
74216 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74217 (AF_NFC): Define.
74218 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74219 (AF_NFC): Define.
74220
74221 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74222 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74223 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74224 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74225 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74226
74227 [BZ #13021]
74228 * scripts/test-installation.pl: Don't expect libnss_test1 to be
74229 installed.
74230
74231 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74232 typo.
74233 (_dl_x86_64_save_sse): Likewise.
74234
74235 2011-07-22 Ulrich Drepper <drepper@gmail.com>
74236
74237 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74238 OSXSAVE.
74239 (_dl_x86_64_save_sse): Likewise.
74240
74241 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74242
74243 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74244
74245 2011-07-21 Andreas Schwab <schwab@redhat.com>
74246
74247 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74248 change.
74249 (_dl_x86_64_save_sse): Use correct AVX check.
74250
74251 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74252
74253 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74254 bug in strncpy/strncat.
74255 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74256
74257 2011-07-21 Ulrich Drepper <drepper@gmail.com>
74258
74259 * string/tester.c (test_strcat): Add tests for different alignments
74260 of source and destination.
74261 (test_strncat): Likewise.
74262
74263 2011-07-20 Ulrich Drepper <drepper@gmail.com>
74264
74265 [BZ #12852]
74266 * posix/glob.c (glob): Check passed in values before using them in
74267 expressions to avoid some overflows.
74268 (glob_in_dir): Likewise.
74269
74270 [BZ #13007]
74271 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74272 check for AVX enablement so that we don't crash with old kernels and
74273 new hardware.
74274 * elf/tst-audit4.c: Add same checks here.
74275 * elf/tst-audit6.c: Likewise.
74276
74277 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74278
74279 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
74280
74281 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74282
74283 2011-07-20 Ulrich Drepper <drepper@gmail.com>
74284
74285 * po/cs.po: Update from translation team.
74286 * po/bg.po: Likewise.
74287
74288 2011-07-12 Marek Polacek <mpolacek@redhat.com>
74289
74290 * misc/sys/cdefs.h: Add support for const attribute.
74291 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74292 to gnu_dev_{major,minor,makedev} functions.
74293
74294 2011-07-20 Marek Polacek <mpolacek@redhat.com>
74295
74296 * intl/dcigettext.c (get_output_charset): Add missing bracket.
74297
74298 2011-07-20 Andreas Schwab <schwab@redhat.com>
74299
74300 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74301 strlen results.
74302
74303 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74304
74305 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74306 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74307 register in order to avoid conflicts with the soft frame pointer
74308 being held in r11 when necessary.
74309 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74310 (INTERNAL_VSYSCALL_NCS): Likewise.
74311
74312 2011-07-14 Marek Polacek <mpolacek@redhat.com>
74313
74314 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74315 * elf/dl-fini.c (_dl_fini): Adjust caller.
74316 * elf/dl-close.c (_dl_close_worker): Likewise.
74317 * sysdeps/generic/ldsodefs.h: Adjust declaration.
74318
74319 2011-07-15 Marek Polacek <mpolacek@redhat.com>
74320
74321 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74322 "aux_cache->nlibs < 0".
74323
74324 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74325 in the reload-count case.
74326
74327 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74328
74329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74330 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74331 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74332 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74333 * sysdeps/x86_64/multiarch/strcat.S: New file.
74334 * sysdeps/x86_64/multiarch/strncat.S: New file.
74335 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74336 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74337 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74338 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74339 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74340 (USE_AS_STRCAT): Define.
74341 Add strcat and strncat support.
74342 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74343 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74344 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74345 * string/strncat.c: Update.
74346 (USE_AS_STRNCAT): Define.
74347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74348 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74349 and i7.
74350 * sysdeps/x86_64/multiarch/init-arch.h
74351 (bit_Prefer_PMINUB_for_stringop): New.
74352 (index_Prefer_PMINUB_for_stringop): Likewise.
74353 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74354 bit_Prefer_PMINUB_for_stringop.
74355
74356 2011-07-19 Ulrich Drepper <drepper@gmail.com>
74357
74358 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
74359 buffer64.
74360 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
74361 of casting of buffer.
74362 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
74363 buffer32 and buffer64.
74364 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
74365 writes instead of casting of buffer.
74366 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
74367 buffer32.
74368 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
74369 casting of buffer.
74370
74371 2011-07-19 Andreas Schwab <schwab@redhat.com>
74372
74373 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
74374
74375 2011-07-19 Ulrich Drepper <drepper@gmail.com>
74376
74377 * nscd/nscd.c (termination_handler): Don't do anything for a database
74378 if it has not yet been initialized.
74379
74380 2011-07-18 Ulrich Drepper <drepper@gmail.com>
74381
74382 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74383
74384 2011-07-15 Marek Polacek <mpolacek@redhat.com>
74385
74386 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74387
74388 2011-07-18 Ulrich Drepper <drepper@gmail.com>
74389
74390 * po/nl.po: Update from translation team.
74391 * po/sv.po: Likewise.
74392
74393 2011-07-16 Roland McGrath <roland@hack.frob.com>
74394
74395 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
74396 now disallowed by GCC.
74397
74398 * configure.in (use-default-link): Default to yes if a test -shared
74399 link meets our qualifications.
74400 * configure: Regenerated.
74401
74402 * config.make.in (output-format): New variable.
74403 * configure.in: Check for ld --print-output-format support.
74404 * configure: Regenerated.
74405 * Makerules ($(common-objpfx)format.lds)
74406 [$(output-format) != unknown]: Just use $(output-format),
74407 instead of the linker-script munging.
74408
74409 2011-07-14 Roland McGrath <roland@hack.frob.com>
74410
74411 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
74412 of $(common-objpfx)shlib.lds.
74413 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
74414
74415 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
74416 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
74417
74418 * configure.in (-z relro check): Adjust test code to add a large
74419 writable data section after it.
74420 * configure: Regenerated.
74421
74422 2011-07-11 Roland McGrath <roland@hack.frob.com>
74423
74424 * configure.in (-z relro check): Fix test code to make the variable
74425 truly const.
74426 * configure: Regenerated.
74427
74428 2011-07-11 Ulrich Drepper <drepper@gmail.com>
74429
74430 * nscd/nscd.h (struct traced_file): Define.
74431 (struct database_dyn): Remove inotify_descr, reset_res, and filename
74432 elements. Add traced_files.
74433 (inotify_fd): Declare.
74434 (register_traced_file): Declare.
74435 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
74436 (inotify_fd): Export.
74437 (resolv_conf_descr): Remove.
74438 (nscd_init): Move inotify descriptor creation to main.
74439 Don't register files for notification here.
74440 (register_traced_file): New function.
74441 (invalidate_cache): Don't use reset_res to determine whether to call
74442 res_init, go through the list of registered files.
74443 (main_loop_poll): The inotify descriptors are now stored in the
74444 structures for the traced files.
74445 (main_loop_epoll): Likewise.
74446 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
74447 to __nss_disable_nscd.
74448 * nscd/cache.c (prune_cache): There is no single inotify descriptor
74449 for a database anymore. Check the records for all the registered
74450 files instead.
74451 * nss/Makefile (libnss_files-routines): Add files-init.
74452 (libnss_db-routines): Add db-init.
74453 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74454 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74455 * nss/nss_db/db-init.c: New file.
74456 * nss/nss_files/files-init.c: New file.
74457 * nss/nsswitch.c (nss_load_library): New function. Broken out of
74458 __nss_lookup_function.
74459 (__nss_lookup_function): Call nss_load_library.
74460 (nss_load_all_libraries): New function.
74461 (__nss_disable_nscd): Take parameter with callback function for files
74462 to register. Set is_nscd. Load all the DSOs for the NSS modules
74463 used for the cached services.
74464 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74465 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74466 options for features to all the files in nscd.
74467
74468 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74469
74470 2011-07-10 Roland McGrath <roland@hack.frob.com>
74471
74472 * csu/elf-init.c (__libc_csu_init): Comment typo.
74473
74474 2011-07-09 Ulrich Drepper <drepper@gmail.com>
74475
74476 * po/pl.po: Update from translation team.
74477 * po/ja.po: Likewise.
74478 * po/ru.po: Likewise.
74479 * po/ko.po: Likewise.
74480 * po/fr.po: Likewise.
74481
74482 2011-07-09 Roland McGrath <roland@hack.frob.com>
74483
74484 * configure.in (.ctors/.dtors header and trailer check):
74485 Use an empirical test on a built program.
74486 * configure: Regenerated.
74487
74488 * configure.in (-z relro check): Use an empirical test on a built DSO.
74489 Detect, but do not require, on ia64.
74490 * configure: Regenerated.
74491
74492 * configure.in (READELF): Find it with AC_CHECK_TOOL.
74493 Update tests that use readelf to use $READELF instead.
74494 * configure: Regenerated.
74495
74496 2011-07-08 Ulrich Drepper <drepper@gmail.com>
74497
74498 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74499 if the result is not used.
74500
74501 2011-07-05 Andreas Jaeger <aj@suse.de>
74502
74503 [BZ#9696]
74504 * stdlib/tst-strtod.c: Add testcase.
74505
74506 2011-07-07 Ulrich Drepper <drepper@gmail.com>
74507
74508 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74509 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74510 The latter has a higher limit. Take additional parameter to pass to
74511 the new function.
74512 (__pathconf): Pass file to __statfs_link_max.
74513 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74514 __statfs_link_max.
74515 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74516 __statfs_link_max.
74517
74518 [BZ #12868]
74519 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74520 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74521 Handle Lustre.
74522 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74523 (__statfs_filesize_max): Likewise.
74524 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74525
74526 2011-07-05 Andreas Jaeger <aj@suse.de>
74527
74528 * resolv/res_comp.c (dn_skipname): Remove unused variable.
74529
74530 2011-07-06 Marek Polacek <mpolacek@redhat.com>
74531
74532 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74533 `status' variable.
74534 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74535 Likewise.
74536
74537 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
74538
74539 * Makefile (strop-tests): Add strncat.
74540 * string/test-strncat.c: New file.
74541
74542 2011-06-30 Marek Polacek <mpolacek@redhat.com>
74543
74544 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74545
74546 2011-06-21 Andreas Jaeger <aj@suse.de>
74547
74548 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74549 Copy rule from iconvdata/Makefile.
74550
74551 2011-07-06 Ulrich Drepper <drepper@gmail.com>
74552
74553 [BZ #12922]
74554 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74555 but no long options are defined, just return 'W'.
74556
74557 2011-06-22 Marek Polacek <mpolacek@redhat.com>
74558
74559 [BZ #9696]
74560 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74561
74562 2011-07-06 Ulrich Drepper <drepper@gmail.com>
74563
74564 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74565 netgroups to read.
74566 (innetgr): Likewise.
74567
74568 2011-07-05 Roland McGrath <roland@hack.frob.com>
74569
74570 * config.make.in (install_root): Default to $(DESTDIR).
74571
74572 2011-07-05 Ulrich Drepper <drepper@gmail.com>
74573
74574 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74575
74576 2011-07-02 Roland McGrath <roland@hack.frob.com>
74577
74578 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74579
74580 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74581 containing directory rather than embedding absolute directory names.
74582
74583 * scripts/check-local-headers.sh: Rewritten using awk.
74584 Match by word, not by line. Print error messages for matches.
74585 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74586
74587 * Makerules [shlib-lds-flags empty]:
74588 ($(common-objpfx)libc_pic.opts): New target.
74589 ($(common-objpfx)libc_pic.os.clean): New target.
74590 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74591
74592 * config.make.in (OBJCOPY): New variable.
74593 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74594 * configure: Regenerated.
74595
74596 * config.make.in (use-default-link): New variable.
74597 * configure.in (use_default_link): Grok --with-default-link to set it.
74598 * configure: Regenerated.
74599 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74600 (shlib-lds, shlib-lds-flags): Define to empty.
74601
74602 * Makerules (shlib-lds): New variable.
74603 (shlib-lds-flags): New variable.
74604 (build-shlib, build-moduile, build-module-asneeded): Use it.
74605 ($(common-objpfx)libc.so): Use $(shlib-lds).
74606 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74607 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74608
74609 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74610 DT_FLAGS/DT_FLAGS_1 with zero flags.
74611
74612 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74613 linker script munging.
74614
74615 2011-07-02 Ulrich Drepper <drepper@gmail.com>
74616
74617 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74618 as 128-bit value.
74619 * crypt/sha512.c (sha512_process_block): Perform total addition using
74620 128-bit if possible.
74621 (__sha512_finish_ctx): Likewise.
74622 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74623 as 64-bit value.
74624 * crypt/sha256.c (SWAP64): Define.
74625 (sha256_process_block): Perform total addition using 64-bit if
74626 possible.
74627 (__sha256_finish_ctx): Likewise.
74628
74629 2011-07-01 Ulrich Drepper <drepper@gmail.com>
74630
74631 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
74632 * nscd/initgrcache.c (addinitgroupsX): Likewise.
74633 * nscd/hstcache.c (cache_addhst): Likewise.
74634 * nscd/grpcache.c (cache_addgr): Likewise.
74635 * nscd/aicache.c (addhstaiX): Likewise.
74636 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74637
74638 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
74639
74640 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74641 * nscd/initgrcache.c (addinitgroupsX): Likewise.
74642 * nscd/hstcache.c (cache_addhst): Likewise.
74643 * nscd/grpcache.c (cache_addgr): Likewise.
74644 * nscd/aicache.c (addhstaiX): Likewise.
74645
74646 2011-07-01 Andreas Schwab <schwab@redhat.com>
74647
74648 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74649 domain only when needed.
74650
74651 2011-06-30 Andreas Schwab <schwab@redhat.com>
74652
74653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74654 is always restored.
74655
74656 2011-06-29 Ulrich Drepper <drepper@gmail.com>
74657
74658 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74659 are re-adding the entry.
74660 * nscd/servicescache.c (cache_addserv): Likewise.
74661
74662 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
74663
74664 * sysdeps/generic/dl-irel.h: fix protection against multiple
74665 inclusions.
74666 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74667
74668 2011-06-28 Ulrich Drepper <drepper@gmail.com>
74669
74670 [BZ #12935]
74671 * malloc/memusage.sh: Fix quoting in message.
74672 * debug/xtrace.sh: Likewise.
74673
74674 * configure.in: Remove support for --experimental-malloc option, make
74675 it the default.
74676 * config.make.in: Likewise.
74677 * malloc/Makefile: Likewise.
74678
74679 2011-06-27 Andreas Schwab <schwab@redhat.com>
74680
74681 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74682 two-byte characters.
74683
74684 2011-06-27 Roland McGrath <roland@hack.frob.com>
74685
74686 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74687 AC_CACHE_CHECK invocation.
74688 * configure: Regenerated.
74689
74690 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74691
74692 2011-06-27 Ulrich Drepper <drepper@gmail.com>
74693
74694 [BZ #12350]
74695 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
74696 bit from old_res_options.
74697
74698 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74699
74700 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74701 value type for setfct.
74702
74703 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
74704
74705 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74706 __gettimeofday instead of gettimeofday.
74707
74708 2011-06-26 Ulrich Drepper <drepper@gmail.com>
74709
74710 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74711
74712 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
74713
74714 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74715
74716 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74717 info.
74718
74719 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
74720
74721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74722 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74723 strcpy-sse2-unaligned strncpy-sse2-unaligned
74724 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74725 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74726 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74727 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74728 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74729 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74730 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74731 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74732 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74733 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74734 (STRCPY): Support SSE2 and SSSE3 versions.
74735
74736 2011-06-24 Ulrich Drepper <drepper@gmail.com>
74737
74738 [BZ #12874]
74739 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74740 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74741 kernels which artificially limit size of requests.
74742
74743 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
74744
74745 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74746 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74747 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74748 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74749 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74750 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74751 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74752 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74753 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74754 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74755 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74756 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74757 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74758 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74759 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74761 Enable unaligned load optimization for Intel Core i3, i5 and i7
74762 processors.
74763 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74764 Define.
74765 (index_Fast_Unaligned_Load): Define.
74766 (HAS_FAST_UNALIGNED_LOAD): Define.
74767
74768 2011-06-23 Marek Polacek <mpolacek@redhat.com>
74769
74770 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74771
74772 2011-06-22 Ulrich Drepper <drepper@gmail.com>
74773
74774 [BZ #12907]
74775 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74776 until it is clear that the information is realy needed.
74777 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74778
74779 2011-06-22 Andreas Schwab <schwab@redhat.com>
74780
74781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74782
74783 2011-06-22 Ulrich Drepper <drepper@gmail.com>
74784
74785 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74786 /sys/devices/system/cpu/online if it is usable.
74787
74788 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74789 reading the information from the /proc filesystem to once a second.
74790
74791 2011-06-21 Andreas Jaeger <aj@suse.de>
74792
74793 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74794 NULL after inclusion of kernel headers.
74795
74796 2011-06-21 Ulrich Drepper <drepper@gmail.com>
74797
74798 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74799 calls to internal_setent.
74800
74801 [BZ #12885]
74802 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74803 addresses using gethostbyname4_r ignore IPv4 addresses.
74804
74805 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74806 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
74807
74808 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74809
74810 2011-06-20 David S. Miller <davem@davemloft.net>
74811
74812 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74813 inclusions.
74814 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74815
74816 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74817 (elf_irel): Use it.
74818 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74819 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74820 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74821 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74822 * sysdeps/x86_64/dl-irel.h: Likewise.
74823
74824 * elf/dl-runtime.c: Use elf_ifunc_invoke.
74825 * elf/dl-sym.c: Likewise.
74826
74827 2011-06-15 Ulrich Drepper <drepper@gmail.com>
74828
74829 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
74830 need to dereference resplen2.
74831
74832 2011-06-14 Andreas Schwab <schwab@redhat.com>
74833
74834 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74835
74836 2011-06-15 Ulrich Drepper <drepper@gmail.com>
74837
74838 * Makeconfig: Define vardbdir and inst_vardbdir.
74839 * nss/Makefile: Add rules to install db-Makefile.
74840
74841 * nss/nss_db/db-XXX.c: Cleanup.
74842
74843 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74844 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74845 GLIBC_PRIVATE.
74846 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74847 * nss/makedb.c: Implement -g option to specify that value strings
74848 are generated and should not be added to table iterated over for
74849 get*ent calls.
74850 * nss/nss_db/db-initgroups.c: New file.
74851
74852 * nss/getent.c: Add support for initgroups lookups through getgrouplist
74853 interface.
74854
74855 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74856 (internal_getgrouplist): Adjust to name change.
74857 Update use_initgroups_entry if this is not the first call.
74858 * nss/databases.def: Add initgroups entry.
74859
74860 * nss/makedb.c (compute_tables): Check result of multiple hash table
74861 sizes to minimize maximum chain length.
74862
74863 2011-06-14 Ulrich Drepper <drepper@gmail.com>
74864
74865 * Versions.def: Add entry for libnss_db.
74866 * shlib-versions: Likewise.
74867 * nss/Makefile: Add rules to build libnss_db.
74868 * nss/Versions: Add libnss_db information. Organize libnss_files
74869 entries better.
74870 * nss/db-Makefile: Add gshadow support. Change rules for the new
74871 makedb progra. Some minor improvements to generate smaller files.
74872 * nss/nss_db/nss_db.h: Move NSS database header data structures to
74873 here from...
74874 * nss/makedb.c: ...here.
74875 Improve database format to be smaller and require less memory at
74876 runtime.
74877 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
74878 db anymore.
74879 * nss/nss_db/db-netgrp.c: Likewise.
74880 * nss/nss_db/db-open.c: Likewise.
74881 * nss/nss_files/flies-XXX.x: Adjust comments.
74882 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74883 * nss/nss_files/files-grp.c: Likewise.
74884 * nss/nss_files/files-hosts.c: Likewise.
74885 * nss/nss_files/files-network.c: Likewise.
74886 * nss/nss_files/files-proto.c: Likewise.
74887 * nss/nss_files/files-pwd.c: Likewise.
74888 * nss/nss_files/files-rpc.c: Likewise.
74889 * nss/nss_files/files-service.c: Likewise.
74890 * nss/nss_files/files-sgrp.c: Likewise.
74891 * nss/nss_files/files-spwd.c: Likewise.
74892 * nss/nss_db/db-alias.c: Removed.
74893 * nss/nss_db/dummy-db.h: Removed.
74894
74895 2011-06-02 Ulrich Drepper <drepper@gmail.com>
74896
74897 * nss/makedb.c: Rewritten to not use database library.
74898 * nss/Makefile: Update to build new makedb program.
74899
74900 2011-06-14 Andreas Jaeger <aj@suse.de>
74901
74902 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74903 memset declaration.
74904
74905 2011-06-10 Andreas Schwab <schwab@redhat.com>
74906
74907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74908 tmpbuf.
74909
74910 2011-06-10 Roland McGrath <roland@hack.frob.com>
74911
74912 * Makerules (shlib.lds): Fail if the linker script comes out empty.
74913 * elf/Makefile ($(objpfx)ld.so): Likewise.
74914
74915 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74916 Don't list ld.so twice in dependencies.
74917
74918 * posix/bug-regex31.c: Include <stdlib.h>.
74919
74920 * nscd/hstcache.c (cache_addhst): Remove unused variable.
74921
74922 * nis/nss_compat/compat-spwd.c
74923 (getspent_next_nss_netgr): Remove unused variable.
74924 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74925
74926 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74927 nonmembers" output to use the right array.
74928
74929 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74930
74931 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74932
74933 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74934 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74935 * catgets/gencat.c (read_input_file): Likewise.
74936 * locale/programs/locarchive.c (enlarge_archive): Likewise.
74937
74938 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74939 variable definition inside #if's controlling its use.
74940
74941 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74942
74943 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74944
74945 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74946
74947 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74948 unreachable code.
74949
74950 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74951
74952 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74953 * configure: Regenerated.
74954
74955 * Makerules: Revert last change.
74956 * elf/Makefile: Likewise.
74957
74958 2011-06-09 Roland McGrath <roland@hack.frob.com>
74959
74960 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74961 * elf/Makefile ($(objpfx)librtld.os): Likewise.
74962 (reloc-link): Likewise.
74963
74964 2011-06-09 Ulrich Drepper <drepper@gmail.com>
74965
74966 * elf/Makefile: Add rules to build pldd.
74967 * elf/pldd.c: New file.
74968 * elf/pldd-xx.c: New file.
74969
74970 2011-06-07 Ulrich Drepper <drepper@gmail.com>
74971
74972 * version.h: Update for 2.15 development version.
74973
74974 2011-06-07 David S. Miller <davem@davemloft.net>
74975
74976 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74977 ifuncs.
74978 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74979 elf_machine_lazy_rel): Likewise.
74980 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74981 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74982 elf_machine_lazy_rel): Likewise.
74983 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74984 dl_hwcap via passed in argument.
74985 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74986 Likewise.
74987
74988 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74989
74990 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
74991
74992 2011-06-06 Roland McGrath <roland@hack.frob.com>
74993
74994 [BZ #12849]
74995 * manual/fdl-1.1.texi: New file, verbatim from:
74996 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74997 * manual/lgpl-2.1.texi: New file, verbatim from:
74998 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74999 * manual/Makefile (licenses): New variable, list those new file names.
75000 (texis): Use it.
75001 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
75002
75003 * manual/fdl.texi: File removed.
75004 * manual/lesser.texi: File removed.
75005 * manual/libc.texinfo (Copying, Documentation License):
75006 Use new @include file names, put @appendix directive before @include.
75007
75008 2011-06-04 Jakub Jelinek <jakub@redhat.com>
75009
75010 [BZ #12841]
75011 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
75012 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
75013 (mq_open): Add __NTH.
75014
75015 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
75016
75017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75018 Assume Intel Core i3/i5/i7 processor if AVX is available.
75019
75020 2011-05-31 Ulrich Drepper <drepper@gmail.com>
75021
75022 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75023 typo.
75024
75025 2011-05-31 Andreas Schwab <schwab@redhat.com>
75026
75027 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
75028 memory. Use alloca_account. Fix memory leak when retrying.
75029
75030 2011-05-31 Ulrich Drepper <drepper@gmail.com>
75031
75032 * version.h (RELEASE): Bump for 2.14 release.
75033 * include/features.h (__GLIBC_MINOR__): Bump to 14.
75034
75035 * config.make.in (RANLIB): Remove entry.
75036
75037 2011-05-30 Ulrich Drepper <drepper@gmail.com>
75038
75039 * po/Makefile (po-sed-cmd): Add ksh to extensions.
75040 (libc.pot): Work around missing support for .ksh extension in xgettext.
75041
75042 [BZ #12684]
75043 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
75044 if both request failed.
75045 (send_dg): In case of server errors clear resplen or *resplen2.
75046
75047 [BZ #12454]
75048 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
75049 when there are multiple maps.
75050 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
75051 (_dl_fini): Remove test here.
75052
75053 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
75054
75055 2011-05-29 Ulrich Drepper <drepper@gmail.com>
75056
75057 [BZ #12350]
75058 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
75059 bit from old_res_options.
75060 (gaih_inet): Likewise.
75061
75062 [BZ #11099]
75063 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
75064 as signed.
75065
75066 * resolv/res_init.c (res_setoptions): Make the code more compact.
75067
75068 [BZ #11558]
75069 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
75070 set RES_USEVC.
75071
75072 [BZ #11634]
75073 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
75074
75075 * malloc/malloc.h: Mark malloc hook variables as deprecated.
75076
75077 [BZ #11781]
75078 * malloc/malloc.h: Declare malloc hook variables as volatile.
75079
75080 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75081 in last patch.
75082
75083 [BZ #11799]
75084 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75085 raise in the comment.
75086 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75087 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75088 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75089
75090 2011-05-28 Ulrich Drepper <drepper@gmail.com>
75091
75092 [BZ #12811]
75093 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
75094 grow the buffers more if it already has to be sufficient.
75095 (build_wcs_upper_buffer): Likewise.
75096 * posix/regexec.c (check_matching): Likewise.
75097 (clean_state_log_if_needed): Likewise.
75098 (extend_buffers): Don't enlarge buffers beyond size of the input
75099 buffer.
75100 Patches mostly by Emil Wojak <emil@wojak.eu>.
75101 * posix/bug-regex32.c: New file.
75102 * posix/Makefile (tests): Add bug-regex32.
75103
75104 * locale/findlocale.c (_nl_find_locale): Return right away if
75105 _nl_explode_name failed.
75106 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
75107
75108 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
75109
75110 * debug/xtrace.sh: Unify messages.
75111 * malloc/memusage.sh: Likewise.
75112
75113 [BZ #12813]
75114 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
75115 time symbol from vDSO. Substitute with vsyscall if not available.
75116 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
75117 __vdso_time.
75118
75119 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
75120 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
75121 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
75122 Add sendmmsg and internal_sendmmsg.
75123 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
75124 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
75125 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
75126
75127 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
75128 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
75129 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
75130
75131 2011-05-27 Ulrich Drepper <drepper@gmail.com>
75132
75133 [BZ #12813]
75134 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
75135 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
75136 available.
75137 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
75138 __vdso_getcpu.
75139
75140 [BZ #12814]
75141 * iconvdata/Makefile (tests): Add bug-iconv9.
75142 * iconvdata/bug-iconv9.c: New file.
75143
75144 2011-05-27 Andreas Schwab <schwab@redhat.com>
75145
75146 [BZ #12814]
75147 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
75148
75149 2011-05-25 Jakub Jelinek <jakub@redhat.com>
75150
75151 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75152 (struct user_regs_struct): Change intcs field back to cs.
75153
75154 2011-05-25 Ulrich Drepper <drepper@gmail.com>
75155
75156 * po/ja.po: Update from translation team.
75157
75158 2011-05-23 Ulrich Drepper <drepper@gmail.com>
75159
75160 [BZ #12795]
75161 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
75162 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
75163
75164 2011-05-20 Andreas Schwab <schwab@redhat.com>
75165
75166 * stdlib/longlong.h: Update from GCC.
75167
75168 2011-05-23 Andreas Schwab <schwab@redhat.com>
75169
75170 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
75171 parameter name.
75172 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
75173 Add parameter name.
75174 (__sysconf): Pass it down.
75175
75176 2011-05-22 Ulrich Drepper <drepper@gmail.com>
75177
75178 [BZ #12671]
75179 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
75180 some situations.
75181 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
75182 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
75183 add in in __libc_use_alloca calls. Adjust callers.
75184 (glob): Use malloc in some situations.
75185
75186 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
75187 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
75188 pltexit.
75189
75190 2011-05-21 Ulrich Drepper <drepper@gmail.com>
75191
75192 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
75193 and CLOCK_BOOTTIME_ALARM.
75194
75195 [BZ #12782]
75196 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
75197 is returned.
75198
75199 * string/_strerror.c (__strerror_r): Print negative errors as signed
75200 numbers.
75201
75202 [BZ #12777]
75203 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
75204 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
75205 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75206
75207 * configure.in: Fix typo in redirection and correct removal of test
75208 files in two cases.
75209
75210 [BZ #12788]
75211 * locale/setlocale.c (new_composite_name): Fix test to check for
75212 identical name of all categories.
75213
75214 [BZ #12792]
75215 * libio/filedoalloc.c (local_isatty): New function.
75216 (_IO_file_doallocate): Use local_isatty.
75217 * stdio-common/perror.c (perror): In case a new stream is used
75218 forward the stream error.
75219 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75220 error flag.
75221
75222 2011-05-20 Ulrich Drepper <drepper@gmail.com>
75223
75224 [BZ #11884]
75225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75226 alloca.
75227 * include/alloca.h (extend_alloca_account): Define.
75228
75229 [BZ #11857]
75230 * posix/regex.h: Fix comments with documentation of user-accessible
75231 fields after compilation and describe correct free'ing of pattern
75232 after re_compile_pattern.
75233 Patch by Reuben Thomas <rrt@sc3d.org>.
75234
75235 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
75236
75237 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75238 and -mno-altivec to prevent the compiler from using Altivec and/or
75239 VSX instructions when the corresponding registers are not available.
75240
75241 2011-05-19 Andreas Schwab <schwab@redhat.com>
75242
75243 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75244
75245 2011-05-19 Ulrich Drepper <drepper@gmail.com>
75246
75247 * libio/freopen.c (freopen): Use __dup2, not dup2.
75248 * libio/freopen64.c (freopen64): Likewise.
75249
75250 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
75251
75252 [BZ #12775]
75253 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75254 * math/Makefile (tests): Add test-powl.
75255 (CFLAGS-test-powl.c): Define.
75256 * math/test-powl.c: New file.
75257
75258 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
75259
75260 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75261
75262 2011-05-17 Ulrich Drepper <drepper@gmail.com>
75263
75264 [BZ #11837]
75265 * iconvdata/gb18030.c: Update to GB18020-2005.
75266
75267 2011-05-16 Ulrich Drepper <drepper@gmail.com>
75268
75269 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75270 RE_SYNTAX_POSIX_AWK): Update to match recent development.
75271 Patch by Aharon Robbins <arnold@skeeve.com>.
75272
75273 [BZ #11892]
75274 * stdlib/putenv.c (putenv): Don't always create copy of the variable
75275 on the stack.
75276
75277 [BZ #11895]
75278 * misc/pselect.c (__pselect): Handle timeout value errors hidden
75279 through underflows.
75280
75281 [BZ #12766]
75282 * misc/error.c (error_at_line): Ensure file_name and old_file_name
75283 point to strings before performing equality test for error_one_per_line
75284 mode.
75285
75286 [BZ #11697]
75287 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75288
75289 [BZ #11820]
75290 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75291 (struct user_fpregs_struct): Avoid __uint*_t types.
75292
75293 [BZ #6420]
75294 * malloc/mtrace.c (tr_where): Add additional parameter to point to
75295 symbol info. Use it instead of calling _dl_addr locally.
75296 (lock_and_info): New function.
75297 (tr_freehook): Call lock_and_info and pass symbol info as additional
75298 parameter to tr_where.
75299 (tr_mallochook): Likewise.
75300 (tr_reallochook): Likewise.
75301 (tr_memalignhook): Likewise.
75302
75303 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
75304 used and couldn't be at all thread-safe.
75305
75306 2011-05-15 Ulrich Drepper <drepper@gmail.com>
75307
75308 * libio/freopen.c (freopen): Don't close old file descriptor
75309 before the new one is opened. Instead dup the new file descriptor
75310 to the old one after the new stream is created.
75311 * libio/freopen64.c (freopen64): Likewise.
75312 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75313 * libio/fileops.c (_IO_new_file_close_it): Handle new
75314 _IO_FLAGS2_NOCLOSE flag.
75315 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75316 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75317 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75318 _IO_FLAGS2_NOCLOSE flag.
75319 * include/unistd.h: Add hidden_proto for dup3.
75320 Define __have_dup3.
75321 * io/dup3.c: Define hidden symbol.
75322 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75323
75324 [BZ #7101]
75325 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75326 when an incomplete long option is used.
75327 * posix/tst-getopt_long1.c: New file.
75328 * posix/Makefile (tests): Add tst-getopt_long1.
75329
75330 [BZ #10138]
75331 * scripts/config.guess: Update from autoconf-2.68.
75332 * scripts/config.sub: Likewise.
75333
75334 [BZ #10157]
75335 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75336 tests into ...
75337 (has_cpuclock): ...this. New function.
75338 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75339 macro here based on has_cpuclock code.
75340
75341 [BZ #10149]
75342 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75343 First byte (not low byte) is now always NUL.
75344 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75345
75346 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75347 Use non-cancelable interfaces.
75348
75349 [BZ #9809]
75350 * locale/iso-639.def: Add entry for Sorani.
75351
75352 [BZ #11901]
75353 * include/stdlib.h: Move include protection to the right place.
75354 Define abort_msg_s. Declare __abort_msg with it.
75355 * stdlib/abort.c (__abort_msg): Adjust type.
75356 * assert/assert.c (__assert_fail_base): New function. Majority
75357 of code from __assert_fail. Allocate memory for __abort_msg with
75358 mmap.
75359 (__assert_fail): Now call __assert_fail_base.
75360 * assert/assert-perr.c: Remove bulk of implementation. Use
75361 __assert_fail_base.
75362 * include/assert.hL Declare __assert_fail_base.
75363 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
75364 mmap.
75365 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
75366
75367 2011-05-14 Ulrich Drepper <drepper@gmail.com>
75368
75369 [BZ #11952]
75370 [BZ #12453]
75371 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
75372 until all modules are registered in the DTV.
75373 * elf/Makefile: Add rules to build and run tst-tls19.
75374 * elf/tst-tls19.c: New file.
75375 * elf/tst-tls19mod1.c: New file.
75376 * elf/tst-tls19mod2.c: New file.
75377 * elf/tst-tls19mod3.c: New file.
75378 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
75379
75380 [BZ #12083]
75381 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
75382 correctly.
75383
75384 [BZ #12601]
75385 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
75386 two-byte sequence errors.
75387 * iconvdata/Makefile (tests): Add bug-iconv8.
75388 * iconvdata/bug-iconv8.c: New file.
75389
75390 [BZ #12626]
75391 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
75392 buf2 definition.
75393
75394 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
75395
75396 [BZ #12432]
75397 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
75398 (dummy_getcfa): New function.
75399 (init): Get _Unwind_GetCFA address, use dummy if not found.
75400 (backtrace_helper): In recursion check, also check whether CFA changes.
75401 (__backtrace): Completely initialize arg.
75402
75403 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
75404 storing incomplete byte sequence in state object. Avoid testing for
75405 guaranteed too small input if we know there is enough data available.
75406
75407 2011-05-11 Andreas Schwab <schwab@redhat.com>
75408
75409 * Makeconfig (+link-pie): Indent.
75410 * Rules (binaries-pie): Define if $(have-fpie) and
75411 $(build-shared).
75412 (binaries-shared): Also filter out $(binaries-pie).
75413 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
75414 * nscd/Makefile (others-pie): Add nscd.
75415 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
75416 ($(objpfx)nscd): Remove command override.
75417 * login/Makefile (others-pie): Add pt_chown.
75418 ($(objpfx)pt_chown): Remove command override.
75419 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
75420 remove command overrides.
75421
75422 2011-05-13 Ulrich Drepper <drepper@gmail.com>
75423
75424 * libio/tst_putwc.c: Fix error messages.
75425
75426 [BZ #12724]
75427 * libio/fileops.c (_IO_new_file_close_it): Always flush when
75428 currently writing and seek to current position when not.
75429 * libio/Makefile (tests): Add bug-fclose1.
75430 * libio/bug-fclose1.c: New file.
75431
75432 2011-05-12 Ulrich Drepper <drepper@gmail.com>
75433
75434 [BZ #12511]
75435 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
75436 don't set DF_1_NODELETE here.
75437 (do_lookup_x): When entering new entry test for copy relocation
75438 and if necessary set DF_1_NODELETE flag.
75439 * elf/tst-unique4.cc: New file.
75440 * elf/tst-unique4.h: New file.
75441 * elf/tst-unique4lib.cc: New file.
75442 * elf/Makefile: Add rules to build and run tst-unique4.
75443 Patch by Piotr Bury <pbury@goahead.com>.
75444
75445 2011-05-11 Ulrich Drepper <drepper@gmail.com>
75446
75447 [BZ #12052]
75448 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
75449
75450 [BZ #12625]
75451 * misc/mntent_r.c (addmntent): Flush the stream after the output
75452
75453 [BZ #12393]
75454 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75455 (is_trusted_path_normalize): Skip initial colon. Append slash
75456 to empty buffer. Duplicate is_trusted_path code but allow
75457 constructed patch to be prefix.
75458 (is_dst): Allow $ORIGIN followed by /.
75459 (_dl_dst_substitute): Correct clearing of check_for_trusted.
75460 Correct testing of result of is_trusted_path_normalize
75461 (decompose_rpath): Fix warning.
75462
75463 2011-05-10 Ulrich Drepper <drepper@gmail.com>
75464
75465 [BZ #11257]
75466 * grp/initgroups.c (internal_getgrouplist): When we found the service
75467 list through the initgroups entry in nsswitch.conf do not always
75468 continue on a successful lookup. Don't always use the
75469 __nss_group_database value if it is set.
75470 * nss/nsswitch.conf (initgroups): Change action for successful db
75471 lookup to continue for compatibility.
75472
75473 2011-05-09 Ulrich Drepper <drepper@gmail.com>
75474
75475 [BZ #11532]
75476 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75477 and CP774 modules.
75478 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75479 and CP774 modules.
75480 * iconvdata/tst-tables.sh: Likewise.
75481 * iconvdata/cp770.c: New file.
75482 * iconvdata/cp771.c: New file.
75483 * iconvdata/cp772.c: New file.
75484 * iconvdata/cp773.c: New file.
75485 * iconvdata/cp774.c: New file.
75486 * iconvdata/testdata/CP770: New file.
75487 * iconvdata/testdata/CP770..UTF8: New file.
75488 * iconvdata/testdata/CP771: New file.
75489 * iconvdata/testdata/CP771..UTF8: New file.
75490 * iconvdata/testdata/CP772: New file.
75491 * iconvdata/testdata/CP772..UTF8: New file.
75492 * iconvdata/testdata/CP773: New file.
75493 * iconvdata/testdata/CP773..UTF8: New file.
75494 * iconvdata/testdata/CP774: New file.
75495 * iconvdata/testdata/CP774..UTF8: New file.
75496
75497 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75498 END CHARMAP line.
75499 * iconvdata/gen-8bit-gap.sh: Likewise.
75500 * iconvdata/gen-8bit.sh: Likewise.
75501
75502 * locale/iso-639.def: Add ary entry.
75503
75504 [BZ #11258]
75505 * locale/C-translit.h.in: Add U20A1 transliteration.
75506
75507 [BZ #12178]
75508 * locale/iso-639.def: Add wae entry.
75509 Patch by Kevin Bortis <bortis@translate-wae.ch>.
75510
75511 [BZ #12545]
75512 * locale/programs/localedef.c (construct_output_path): Use ssize_t
75513 for n.
75514
75515 [BZ #12711]
75516 * locale/C-translit.h.in: Add entry for U20B9.
75517 Patch by pravin.d.s@gmail.com.
75518
75519 2011-05-08 Ulrich Drepper <drepper@gmail.com>
75520
75521 [BZ #12713]
75522 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75523 ENAMETOOLONG use generic getcwd.
75524 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
75525 in rtld. Use *stat64.
75526 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75527 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75528 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75529 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75530 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75531 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75532 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75533 __fstatat64 macros.
75534 * include/dirent.h: Add libc_hidden_proto for rewinddir.
75535 * dirent/rewinddir.c: Add libc_hidden_def.
75536 * sysdeps/mach/hurd/rewinddir.c: Likewise.
75537 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
75538
75539 * include/dirent.h (__alloc_dir): Add flags parameter.
75540 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75541 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75542 __alloc_dir.
75543 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
75544 from fdopendir if O_CLOEXEC is already set.
75545
75546 2011-03-15 Alan Modra <amodra@gmail.com>
75547
75548 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75549 l_tls_firstbyte_offset non-zero. Save padding offset in
75550 l_tls_firstbyte_offset for later use.
75551 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75552 freeing static tls block.
75553
75554 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
75555
75556 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75557 where #ifdef was intended. The intent is to prevent ARG_MAX from
75558 being defined by the kernel headers.
75559
75560 2011-05-07 Ulrich Drepper <drepper@gmail.com>
75561
75562 [BZ #12734]
75563 * resolv/resolv.h: Define RES_NOTLDQUERY.
75564 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75565 no-tld-query and set RES_NOTLDQUERY.
75566 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75567 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75568 modern BIND to search name as TLD unless forbidden.
75569
75570 2011-05-07 Petr Baudis <pasky@suse.cz>
75571 Ulrich Drepper <drepper@gmail.com>
75572
75573 [BZ #12393]
75574 * elf/dl-load.c (fillin_rpath): Move trusted path check...
75575 (is_trusted_path): ...to here.
75576 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75577 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75578 using is_trusted_path_normalize() in setuid scripts.
75579
75580 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
75581
75582 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75583 __BEGIN/__END_DECLS.
75584
75585 2011-05-06 Ulrich Drepper <drepper@gmail.com>
75586
75587 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75588 NSS_STATUS_NOTFOUND if no record was found.
75589
75590 2011-05-05 Andreas Schwab <schwab@redhat.com>
75591
75592 * sunrpc/Makefile (headers): Add rpc/netdb.h.
75593 (headers-not-in-tirpc): Remove rpc/netdb.h
75594 * resolv/netdb.h: Revert last change.
75595
75596 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
75597
75598 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75599 circular dependency between libgcc.a and libc.a.
75600
75601 2011-05-05 Andreas Schwab <schwab@redhat.com>
75602
75603 * resolv/netdb.h: Don't include <rpc/netdb.h>.
75604 * nis/Makefile: Don't install rpcsvc/*.
75605 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75606 instead of <rpc/types.h>.
75607 (MAXHOSTNAMELEN): Define.
75608
75609 2011-05-03 Andreas Schwab <schwab@redhat.com>
75610
75611 * elf/ldconfig.c (add_dir): Don't crash on empty path.
75612
75613 2011-04-28 Maciej Babinski <mbabinski@google.com>
75614
75615 [BZ #12714]
75616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75617 gethostbyname4_r when IPv6 results are possible.
75618
75619 2011-05-02 Ulrich Drepper <drepper@gmail.com>
75620
75621 [BZ #12723]
75622 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75623 _PC_PIPE_BUF handling.
75624
75625 2011-04-30 Bruno Haible <bruno@clisp.org>
75626
75627 [BZ #12717]
75628 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75629 * resolv/netdb.h (getnameinfo): Change type of flags parameter
75630 to 'int'.
75631 * inet/getnameinfo.c (getnameinfo): Likewise.
75632
75633 2011-04-29 Ulrich Drepper <drepper@gmail.com>
75634
75635 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75636 to groups setting in database lookup.
75637 * nss/nsswitch.conf: Add initgroups entry.
75638
75639 2011-04-22 Ulrich Drepper <drepper@gmail.com>
75640
75641 [BZ #12685]
75642 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75643 mode string.
75644 Patch by Eric Blake <eblake@redhat.com>.
75645
75646 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
75647
75648 * sunrpc/Makefile (need-export-routines): Add svc_run.
75649 (routines): Remove svc_run.
75650 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75651 * sunrpc/clnt_perr.c (clnt_perrno): Export.
75652 * sunrpc/svc_run.c (svc_run): Likewise.
75653 * sunrpc/svc_udp.c (svcudp_create): Likewise.
75654
75655 2011-04-21 Ulrich Drepper <drepper@gmail.com>
75656
75657 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75658 problem in reallocation in last patch.
75659
75660 2011-04-20 Ulrich Drepper <drepper@gmail.com>
75661
75662 * sunrpc/Makefile: Move inclusion of Rules.
75663
75664 2011-04-19 Ulrich Drepper <drepper@gmail.com>
75665
75666 * nss/nss_files/files-initgroups.c: New file.
75667 * nss/Makefile (libnss_files-routines): Add files-initgroups.
75668 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75669 _nss_files_initgroups_dyn.
75670
75671 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
75672
75673 * elf/elf.h (R_ARM_IRELATIVE): Define.
75674
75675 2011-04-19 Ulrich Drepper <drepper@gmail.com>
75676
75677 * po/ru.po: Update from translation team.
75678
75679 2011-04-17 Ulrich Drepper <drepper@gmail.com>
75680
75681 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75682 dependencies.
75683
75684 2011-02-06 Mike Frysinger <vapier@gentoo.org>
75685
75686 [BZ #12653]
75687 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75688 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75689 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75690 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75691 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75692
75693 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
75694
75695 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75696 differing bytes.
75697 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75698 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75699 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75700
75701 2011-04-17 Ulrich Drepper <drepper@gmail.com>
75702
75703 [BZ #12420]
75704 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75705 storing it.
75706 * stdlib/bug-getcontext.c: New file.
75707 * stdlib/Makefile: Add rules to build and run bug-getcontext.
75708
75709 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75710
75711 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75712 instructions into .machine "z9-109".
75713 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75714 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75715
75716 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75717
75718 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75719 between environment variables and auxiliary vector.
75720
75721 2011-04-16 Ulrich Drepper <drepper@gmail.com>
75722
75723 * Makefile: Add rules to build linkobj/libc.so.
75724 * include/libc-symbols.h: Define libc_hidden_nolink.
75725 * include/rpc/auth.h: Mark functions which are to be hidden.
75726 * include/rpc/auth_des.h: Likewise.
75727 * include/rpc/auth_unix.h: Likewise.
75728 * include/rpc/clnt.h: Likewise.
75729 * include/rpc/des_crypt.h: Likewise.
75730 * include/rpc/key_prot.h: Likewise.
75731 * include/rpc/pmap_clnt.h: Likewise.
75732 * include/rpc/pmap_prot.h: Likewise.
75733 * include/rpc/pmap_rmt.h: Likewise.
75734 * include/rpc/rpc_msg.h: Likewise.
75735 * include/rpc/svc.h: Likewise.
75736 * include/rpc/svc_auth.h: Likewise.
75737 * include/rpc/xdr.h: Likewise.
75738 * nis/Makefile: Link all DSOs against linkobj/libc.so.
75739 * nss/Makefile: Likewise.
75740 * sunrpc/Makefile: Don't install headers. Build library with normal
75741 entry points. Don't build rpcinfo. Link RPC tests appropriately.
75742 * sunrpc/auth_des.c: Hide exported symbols by default, export some
75743 for the compat linking library. Remove use of INTDEF/INTUSE.
75744 * sunrpc/auth_none.c: Likewise.
75745 * sunrpc/auth_unix.c: Likewise.
75746 * sunrpc/authdes_prot.c: Likewise.
75747 * sunrpc/authuxprot.c: Likewise.
75748 * sunrpc/clnt_gen.c: Likewise.
75749 * sunrpc/clnt_perr.c: Likewise.
75750 * sunrpc/clnt_raw.c: Likewise.
75751 * sunrpc/clnt_simp.c: Likewise.
75752 * sunrpc/clnt_tcp.c: Likewise.
75753 * sunrpc/clnt_udp.c: Likewise.
75754 * sunrpc/clnt_unix.c: Likewise.
75755 * sunrpc/des_crypt.c: Likewise.
75756 * sunrpc/des_soft.c: Likewise.
75757 * sunrpc/get_myaddr.c: Likewise.
75758 * sunrpc/key_call.c: Likewise.
75759 * sunrpc/key_prot.c: Likewise.
75760 * sunrpc/netname.c: Likewise.
75761 * sunrpc/pm_getmaps.c: Likewise.
75762 * sunrpc/pm_getport.c: Likewise.
75763 * sunrpc/pmap_clnt.c: Likewise.
75764 * sunrpc/pmap_prot.c: Likewise.
75765 * sunrpc/pmap_prot2.c: Likewise.
75766 * sunrpc/pmap_rmt.c: Likewise.
75767 * sunrpc/publickey.c: Likewise.
75768 * sunrpc/rpc_cmsg.c: Likewise.
75769 * sunrpc/rpc_common.c: Likewise.
75770 * sunrpc/rpc_dtable.c: Likewise.
75771 * sunrpc/rpc_prot.c: Likewise.
75772 * sunrpc/rpc_thread.c: Likewise.
75773 * sunrpc/rtime.c: Likewise.
75774 * sunrpc/svc.c: Likewise.
75775 * sunrpc/svc_auth.c: Likewise.
75776 * sunrpc/svc_authux.c: Likewise.
75777 * sunrpc/svc_raw.c: Likewise.
75778 * sunrpc/svc_run.c: Likewise.
75779 * sunrpc/svc_simple.c: Likewise.
75780 * sunrpc/svc_tcp.c: Likewise.
75781 * sunrpc/svc_udp.c: Likewise.
75782 * sunrpc/svc_unix.c: Likewise.
75783 * sunrpc/svcauth_des.c: Likewise.
75784 * sunrpc/xcrypt.c: Likewise.
75785 * sunrpc/xdr.c: Likewise.
75786 * sunrpc/xdr_array.c: Likewise.
75787 * sunrpc/xdr_float.c: Likewise.
75788 * sunrpc/xdr_intXX_t.c: Likewise.
75789 * sunrpc/xdr_mem.c: Likewise.
75790 * sunrpc/xdr_rec.c: Likewise.
75791 * sunrpc/xdr_ref.c: Likewise.
75792 * sunrpc/xdr_sizeof.c: Likewise.
75793 * sunrpc/xdr_stdio.c: Likewise.
75794
75795 2011-04-10 Ulrich Drepper <drepper@gmail.com>
75796
75797 [BZ #12650]
75798 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75799 * sysdeps/ia64/dl-tls.h: Likewise.
75800 * sysdeps/powerpc/dl-tls.h: Likewise.
75801 * sysdeps/s390/dl-tls.h: Likewise.
75802 * sysdeps/sh/dl-tls.h: Likewise.
75803 * sysdeps/sparc/dl-tls.h: Likewise.
75804 * sysdeps/x86_64/dl-tls.h: Likewise.
75805 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75806
75807 2011-03-14 Andreas Schwab <schwab@redhat.com>
75808
75809 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75810 rpath element also skip the following colon.
75811 (expand_dynamic_string_token): Add is_path parameter and pass
75812 down to DL_DST_REQUIRED and _dl_dst_substitute.
75813 (decompose_rpath): Call expand_dynamic_string_token with
75814 non-zero is_path. Ignore empty rpaths.
75815 (_dl_map_object_from_fd): Call expand_dynamic_string_token
75816 with zero is_path.
75817
75818 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
75819
75820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75821 Make cancelable.
75822
75823 2011-04-09 Ulrich Drepper <drepper@gmail.com>
75824
75825 [BZ #12655]
75826 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75827 Patch by Filipe David Manana <fdmanana@apache.org>.
75828
75829 2011-04-07 Andreas Schwab <schwab@redhat.com>
75830
75831 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75832 Maintain aligned stack.
75833 (CHECK_RSP): Remove unused macro.
75834
75835 2011-04-03 Ulrich Drepper <drepper@gmail.com>
75836
75837 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75838 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75839
75840 2011-04-02 Ulrich Drepper <drepper@gmail.com>
75841
75842 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75843
75844 * include/features.h: Mention __USE_XOPEN2K8 in comment.
75845
75846 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
75847
75848 [BZ #12518]
75849 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75850 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75851 * sysdeps/x86_64/memmove.c: New file.
75852 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75853 (memcpy): Renamed to ...
75854 (__new_memcpy): This.
75855 (memcpy): Provide GLIBC_2_14 memcpy.
75856 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75857 (memcpy): Provide GLIBC_2_2_5 memcpy.
75858
75859 2011-04-01 Ulrich Drepper <drepper@gmail.com>
75860
75861 [BZ #12631]
75862 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75863
75864 2011-03-30 Andreas Schwab <schwab@redhat.com>
75865
75866 * misc/syncfs.c: New file.
75867 * misc/Makefile (routines): Add syncfs.
75868 * posix/unistd.h: Declare syncfs.
75869 * sysdeps/unix/syscalls.list: Add syncfs.
75870
75871 2011-04-01 Andreas Schwab <schwab@redhat.com>
75872
75873 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75874 open_by_handle_at.
75875 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75876 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75877 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75878 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75880 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75881 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75882
75883 2011-04-01 Ulrich Drepper <drepper@gmail.com>
75884
75885 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75886 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75887 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75888 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75889 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75890 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75891 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75892
75893 * io/Makefile: Compile fallocate.c, fallocate64.c, and
75894 sync_file_range.c with -fexceptions.
75895 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75896 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75897 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75898 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75899 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75900 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75901 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75902 sync_file_range as cancellation point
75903 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
75904 now a wrapper around __call_sync_file_range with cancellation handling.
75905 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75906 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
75907 function name to __call_sync_file_range.
75908 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75909 Add call_sync_file_range.
75910
75911 2011-04-01 Andreas Schwab <schwab@redhat.com>
75912
75913 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75914 bits/timex.h.
75915
75916 2011-04-01 Ulrich Drepper <drepper@gmail.com>
75917
75918 * iconv/iconv.h: Fix typo in comment.
75919 * io/fcntl.h: Likewise.
75920 * libio/stdio.h: Likewise.
75921 * posix/spawn.h: Likewise.
75922 * posix/unistd.h: Likewise.
75923 * stdlib/stdlib.h: Likewise.
75924 * time/time.h: Likewise.
75925 * wcsmbs/wchar.h: Likewise.
75926
75927 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75928 open_by_handle): Add.
75929 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75930 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
75931 Augment a few comments.
75932 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75933 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75934 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75935 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75936 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75937 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75938 open_by_handle.
75939
75940 * io/fcntl.h (AT_EMPTY_PATH): Define.
75941
75942 2011-03-30 Ulrich Drepper <drepper@gmail.com>
75943
75944 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75945 * sysdeps/unix/sysv/linux/bits/time.h: New file.
75946 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75947 to...
75948 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
75949 * Versions.def: Add GLIBC_2.14.
75950 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75951 Export.
75952
75953 2011-03-22 Ulrich Drepper <drepper@gmail.com>
75954
75955 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75956 round counter.
75957 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75958
75959 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
75960
75961 [BZ #12597]
75962 * string/test-strncmp.c (do_page_test): New function.
75963 (check2): Likewise.
75964 (test_main): Call check2.
75965 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75966
75967 2011-03-20 Ulrich Drepper <drepper@gmail.com>
75968
75969 [BZ #12587]
75970 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75971 Handle cache information in CPU leaf 4.
75972 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75973
75974 2011-03-18 Ulrich Drepper <drepper@gmail.com>
75975
75976 [BZ #12583]
75977 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75978 character representation.
75979 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75980
75981 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
75982
75983 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75984 END(__isnan) to END(__isnanf) to match function entry point/label
75985 EALIGN(__isnanf,...).
75986
75987 2011-03-10 Jakub Jelinek <jakub@redhat.com>
75988
75989 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75990
75991 2011-03-10 Ulrich Drepper <drepper@gmail.com>
75992
75993 [BZ #12510]
75994 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75995 copy from the symbol referenced in the relocation to initialize the
75996 used variable.
75997 Patch by Piotr Bury <pbury@goahead.com>.
75998 * elf/Makefile: Add rules to build and tst-unique3.
75999 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
76000 * elf/tst-unique3.cc: New file.
76001 * elf/tst-unique3.h: New file.
76002 * elf/tst-unique3lib.cc: New file.
76003 * elf/tst-unique3lib2.cc: New file.
76004
76005 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
76006
76007 2011-03-10 Mike Frysinger <vapier@gentoo.org>
76008
76009 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
76010 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
76011 to _start.
76012
76013 2011-03-06 Ulrich Drepper <drepper@gmail.com>
76014
76015 * elf/dl-load.c (_dl_map_object): If we are looking for the first
76016 to-be-loaded object along a path to loader is ld.so.
76017
76018 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
76019 Ulrich Drepper <drepper@gmail.com>
76020
76021 * sysdeps/x86_64/memset.S: After aligning destination, code
76022 branches to different locations depending on the value of
76023 misalignment, when multiarch is enabled. Fix this.
76024
76025 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
76026
76027 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
76028 Set _x86_64_preferred_memory_instruction for AMD processsors.
76029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76030 Set bit_Prefer_SSE_for_memop for AMD processors.
76031
76032 2011-03-04 Ulrich Drepper <drepper@gmail.com>
76033
76034 * libio/fmemopen.c (fmemopen): Optimize a bit.
76035
76036 2011-03-03 Andreas Schwab <schwab@redhat.com>
76037
76038 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
76039
76040 2011-03-03 Roland McGrath <roland@redhat.com>
76041
76042 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
76043
76044 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
76045
76046 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
76047 __bzero_ultra1 instead of __memset_ultra1.
76048
76049 2011-02-23 Andreas Schwab <schwab@redhat.com>
76050 Ulrich Drepper <drepper@gmail.com>
76051
76052 [BZ #12509]
76053 * include/link.h (struct link_map): Add l_orig_initfini.
76054 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
76055 returning unsuccessfully.
76056 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
76057 close of a file loaded at startup, restore the original l_initfini
76058 list.
76059 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
76060 list, store the pointer.
76061 * elf/Makefile ($(objpfx)noload-mem): New rule.
76062 (noload-ENV): Define.
76063 (tests): Add $(objpfx)noload-mem.
76064 * elf/noload.c: Include <memcheck.h>.
76065 (main): Call mtrace. Close all opened handles.
76066
76067 2011-02-17 Andreas Schwab <schwab@redhat.com>
76068
76069 [BZ #12454]
76070 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
76071 dependencies are missing.
76072
76073 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
76074
76075 Fix __if_freereq crash: Unlike the generic version which uses free,
76076 Hurd needs munmap.
76077 * sysdeps/mach/hurd/ifreq.h: New file.
76078
76079 2011-01-27 Petr Baudis <pasky@suse.cz>
76080 Ulrich Drepper <drepper@gmail.com>
76081
76082 [BZ 12445]#
76083 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76084 to extend_alloca().
76085 * stdio-common/bug23.c: New file.
76086 * stdio-common/Makefile (tests): Add bug23.
76087
76088 2010-09-28 Andreas Schwab <schwab@redhat.com>
76089 Ulrich Drepper <drepper@gmail.com>
76090
76091 [BZ #12489]
76092 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
76093 before performing relro protection. At old place add assertion
76094 to make sure nothing changed.
76095
76096 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
76097 Glauber de Oliveira Costa <glommer@gmail.com>
76098
76099 * elf/elf.h: Add new ARM TLS relocs.
76100
76101 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
76102
76103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76104 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
76105 cast from r3.
76106 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
76107 'tests' variable.
76108 * sysdeps/wordsize-64/tst-writev.c: New file.
76109
76110 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
76111
76112 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
76113 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
76114 insns in _dl_start to prevent a TOC reference before relocs are
76115 resolved.
76116
76117 2011-02-15 Ulrich Drepper <drepper@gmail.com>
76118
76119 [BZ #12469]
76120 * Makeconfig: Remove RANLIB definition.
76121 * Makerules: Don't use RANLIB.
76122 * aclocal.m4: Remove ranlib test.
76123 * configure.in: No need to check for ranlib.
76124 * elf/rtld-Rules: Don't use RANLIB.
76125
76126 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
76127
76128 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
76129 protection macro.
76130 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
76131 inclusion protection macro.
76132
76133 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
76134 SIGRTMIN and SIGRTMAX and print information in that case only when
76135 SIGRTMIN is defined.
76136
76137 2011-02-11 Jakub Jelinek <jakub@redhat.com>
76138
76139 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
76140 arginfo fn returning -1.
76141
76142 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
76143 and thousands string is zero terminated.
76144
76145 2011-02-03 Andreas Schwab <schwab@redhat.com>
76146
76147 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
76148 sysdeps/unix/sysv/linux/bits/socket.h.
76149
76150 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
76151
76152 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
76153 (__CPU_COUNT): Remove old macros.
76154 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
76155 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
76156 (__CPU_ALLOC, __CPU_FREE): Add macros.
76157 (__sched_cpualloc, __sched_cpufree): Add declarations.
76158
76159 2011-02-05 Ulrich Drepper <drepper@gmail.com>
76160
76161 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
76162 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
76163 * nscd/aicache.c (addhstaiX): Return timeout of added value.
76164 (readdhstai): Return value of addhstaiX call.
76165 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
76166 (addgrbyX): Return value returned by cache_addgr.
76167 (readdgrbyname): Return value returned by addgrbyX.
76168 (readdgrbygid): Likewise.
76169 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
76170 (addpwbyX): Return value returned by cache_addpw.
76171 (readdpwbyname): Return value returned by addhstbyX.
76172 (readdpwbyuid): Likewise.
76173 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
76174 (addservbyX): Return value returned by cache_addserv.
76175 (readdservbyname): Return value returned by addservbyX:
76176 (readdservbyport): Likewise.
76177 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
76178 (addhstbyX): Return value returned by cache_addhst.
76179 (readdhstbyname): Return value returned by addhstbyX.
76180 (readdhstbyaddr): Likewise.
76181 (readdhstbynamev6): Likewise.
76182 (readdhstbyaddrv6): Likewise.
76183 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
76184 (readdinitgroups): Return value returned by addinitgroupsX.
76185 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
76186 (prune_cache): Keep track of timeout value of re-added entries.
76187 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
76188 * nscd/nscd.h: Adjust prototypes of readd* functions.
76189
76190 2011-02-04 Roland McGrath <roland@redhat.com>
76191
76192 * nis/nis_server.c (nis_servstate): Use the right name for 0.
76193 (nis_stats): Likewise.
76194 * nis/nis_modify.c (nis_modify): Likewise.
76195 * nis/nis_remove.c (nis_remove): Likewise.
76196 * nis/nis_add.c (nis_add): Likewise.
76197
76198 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
76199
76200 * posix/fnmatch_loop.c: Add some consts.
76201
76202 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
76203
76204 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
76205
76206 [BZ #12460]
76207 * config.make.in (config-cflags-novzeroupper): Define.
76208 * configure.in: Substitute libc_cv_cc_novzeroupper.
76209 * elf/Makefile (AVX-CFLAGS): Define.
76210 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76211 (CFLAGS-tst-auditmod4a.c): Likewise.
76212 (CFLAGS-tst-auditmod4b.c): Likewise.
76213 (CFLAGS-tst-auditmod6b.c): Likewise.
76214 (CFLAGS-tst-auditmod6c.c): Likewise.
76215 (CFLAGS-tst-auditmod7b.c): Likewise.
76216 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76217
76218 2011-02-02 Ulrich Drepper <drepper@gmail.com>
76219
76220 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76221 function to the callback.
76222 Patch partly by Jiri Olsa <jolsa@redhat.com>.
76223
76224 2011-02-02 Andreas Schwab <schwab@redhat.com>
76225
76226 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76227 of errno.
76228
76229 2011-01-19 Ulrich Drepper <drepper@gmail.com>
76230
76231 [BZ #11724]
76232 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76233 of constructors.
76234 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76235 of destructors.
76236 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76237
76238 [BZ #11724]
76239 * elf/Makefile: Add rules to build and run new test.
76240 * elf/tst-initorder.c: New file.
76241 * elf/tst-initorder.exp: New file.
76242 * elf/tst-initordera1.c: New file.
76243 * elf/tst-initordera2.c: New file.
76244 * elf/tst-initordera3.c: New file.
76245 * elf/tst-initordera4.c: New file.
76246 * elf/tst-initorderb1.c: New file.
76247 * elf/tst-initorderb2.c: New file.
76248 * elf/tst-order-a1.c: New file.
76249 * elf/tst-order-a2.c: New file.
76250 * elf/tst-order-a3.c: New file.
76251 * elf/tst-order-a4.c: New file.
76252 * elf/tst-order-b1.c: New file.
76253 * elf/tst-order-b2.c: New file.
76254 * elf/tst-order-main.c: New file.
76255 New test case by George Gensure <werkt0@gmail.com>.
76256
76257 2010-10-01 Andreas Schwab <schwab@redhat.com>
76258
76259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76260 decoding ACE if AI_CANONIDN.
76261
76262 2011-01-18 Ulrich Drepper <drepper@gmail.com>
76263
76264 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76265
76266 2011-01-17 Ulrich Drepper <drepper@gmail.com>
76267
76268 * version.h (RELEASE): Bump for 2.13 release.
76269 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76270
76271 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76272
76273 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76274 MADV_NOHUGEPAGE.
76275 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76276 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76277 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76278 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76279 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76280 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76281
76282 * posix/getconf.c: Update copyright year.
76283 * catgets/gencat.c: Likewise.
76284 * csu/version.c: Likewise.
76285 * debug/catchsegv.sh: Likewise.
76286 * debug/xtrace.sh: Likewise.
76287 * elf/ldconfig.c: Likewise.
76288 * elf/ldd.bash.in: Likewise.
76289 * elf/sprof.c (print_version): Likewise.
76290 * iconv/iconv_prog.c: Likewise.
76291 * iconv/iconvconfig.c: Likewise.
76292 * locale/programs/locale.c: Likewise.
76293 * locale/programs/localedef.c: Likewise.
76294 * malloc/memusage.sh: Likewise.
76295 * malloc/mtrace.pl: Likewise.
76296 * nscd/nscd.c (print_version): Likewise.
76297 * nss/getent.c: Likewise.
76298
76299 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76300 PF_CAIF, and PF_ALG.
76301 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76302
76303 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
76304
76305 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76306 (modules-names): Use them.
76307 (ifunc-test-modules, ifunc-pie-tests): Define.
76308 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76309 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76310 (test-extras): Likewise.
76311 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76312 $(compile-command.c).
76313 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76314 (all-built-dso): Define.
76315 (check-textrel.out, check-execstack.out): Depend on it.
76316
76317 * configure.in: Don't override --enable-multi-arch.
76318
76319 2011-01-15 Ulrich Drepper <drepper@gmail.com>
76320
76321 [BZ #6812]
76322 * nscd/hstcache.c (tryagain): Define.
76323 (cache_addhst): Return tryagain not notfound for temporary errors.
76324 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76325 failed.
76326
76327 2011-01-14 Ulrich Drepper <drepper@gmail.com>
76328
76329 [BZ #10563]
76330 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76331 to make the syscall.
76332 * sysdeps/unix/sysv/linux/setgroups.c: New file.
76333
76334 [BZ #12378]
76335 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76336 and fall back to matching as normal character if the string ends before
76337 the matching ']' is found. This is what POSIX requires.
76338 * posix/testfnm.c: Adjust test result.
76339 * posix/globtest.sh: Adjust test result. Add new test.
76340 * posix/tst-fnmatch.input: Likewise.
76341 * posix/tst-fnmatch2.c: Add new test.
76342
76343 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
76344
76345 * elf/Makefile (check-execstack): Revert last change. Depend on
76346 check-execstack.h.
76347 (check-execstack.h): New target.
76348 (generated): Add check-execstack.h.
76349 * elf/check-execstack.c: Include "check-execstack.h".
76350 (main): Revert last change.
76351 (handle_file): Return zero if GNU_STACK is absent and
76352 DEFAULT_STACK_PERMS doesn't include PF_X.
76353
76354 2011-01-13 Ulrich Drepper <drepper@gmail.com>
76355
76356 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
76357 in child fails because the descriptor is already closed.
76358 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
76359 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
76360 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
76361
76362 [BZ #12397]
76363 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
76364 syscall.
76365
76366 [BZ #10484]
76367 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
76368 temporary buffer used to handle multi lookups locally.
76369 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
76370
76371 2011-01-12 Ulrich Drepper <drepper@gmail.com>
76372
76373 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
76374 loader is ld.so.
76375
76376 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
76377
76378 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
76379 alignment for SSE2.
76380
76381 2011-01-12 Ulrich Drepper <drepper@gmail.com>
76382
76383 [BZ #12394]
76384 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
76385 characters. When rounding increased number of integer digits recompute
76386 number of groups.
76387 * stdio-common/tst-grouping.c: New file.
76388 * stdio-common/Makefile: Add rules to build and run tst-grouping.
76389
76390 2011-01-09 Ulrich Drepper <drepper@gmail.com>
76391
76392 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
76393 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
76394
76395 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
76396 void.
76397 * bits/select.h: Likewise.
76398
76399 2011-01-08 Ulrich Drepper <drepper@gmail.com>
76400
76401 * po/ja.po: Update from translation team.
76402
76403 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
76404
76405 [BZ #11155]
76406 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76407 implementation just like for lxstat, fxstatat, et al.
76408
76409 2010-12-27 Jim Meyering <meyering@redhat.com>
76410
76411 [BZ #12348]
76412 * posix/regexec.c (build_trtable): Return failure indication upon
76413 calloc failure. Otherwise, re_search_internal could infloop on OOM.
76414
76415 2010-12-25 Ulrich Drepper <drepper@gmail.com>
76416
76417 [BZ #12201]
76418 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
76419 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
76420 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
76421 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
76422
76423 [BZ #12207]
76424 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
76425
76426 [BZ #12204]
76427 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
76428 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
76429
76430 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
76431
76432 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
76433 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
76434 script has SORT_BY_INIT_PRIORITY.
76435 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
76436 NO_CTORS_DTORS_SECTIONS is defined.
76437 * elf/soinit.c: Likewise.
76438 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
76439 NO_CTORS_DTORS_SECTIONS is defined.
76440 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
76441 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
76442 * sysdeps/sh/init-first.c: Likewise.
76443 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
76444
76445 2010-12-24 Ulrich Drepper <drepper@gmail.com>
76446
76447 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
76448 always use the slow path.
76449
76450 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
76451
76452 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76453 similar rule which adds the sysdep directories to the header search in
76454 order to pick up the correct platform stackinfo.h.
76455 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76456 perform test if it is, otherwise return successfully without testing.
76457 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76458 DEFAULT_STACK_PERMS define in stackinfo.h.
76459 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76460 defined in stackinfo.h.
76461 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76462 DEFAULT_STACK_PERMS defined in stackinfo.h.
76463 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76464 * sysdeps/ia64/stackinfo.h: Likewise.
76465 * sysdeps/s390/stackinfo.h: Likewise.
76466 * sysdeps/sh/stackinfo.h: Likewise.
76467 * sysdeps/sparc/stackinfo.h: Likewise.
76468 * sysdeps/x86_64/stackinfo.h: Likewise.
76469 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76470 PF_X for powerpc64. Retain PF_X for powerpc32.
76471
76472 2010-12-19 Ulrich Drepper <drepper@gmail.com>
76473
76474 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76475 accurately.
76476 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76477 GETDENTS_64BIT_ALIGNED.
76478
76479 2010-12-14 Ulrich Drepper <dreper@gmail.com>
76480
76481 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76482
76483 2010-12-10 Andreas Schwab <schwab@redhat.com>
76484
76485 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76486 _GNU_SOURCE.
76487
76488 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76489 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76490 Remove __restrict.
76491 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76492 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76493
76494 2010-12-09 Ulrich Drepper <drepper@gmail.com>
76495
76496 [BZ #11655]
76497 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76498 are initialized.
76499
76500 2010-12-09 Jakub Jelinek <jakub@redhat.com>
76501
76502 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76503
76504 2010-12-03 Ulrich Drepper <drepper@gmail.com>
76505
76506 * po/it.po: Update from translation team.
76507
76508 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
76509
76510 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76511 unused codes.
76512
76513 2010-11-30 Ulrich Drepper <drepper@gmail.com>
76514
76515 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76516
76517 2010-11-24 Andreas Schwab <schwab@redhat.com>
76518
76519 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76520 specially.
76521 (gaih_getanswer_slice): Likewise.
76522
76523 2010-10-20 Jakub Jelinek <jakub@redhat.com>
76524
76525 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76526
76527 2010-05-31 Petr Baudis <pasky@suse.cz>
76528
76529 [BZ #11149]
76530 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76531 silently even in the chroot mode.
76532
76533 2010-11-22 Ulrich Drepper <drepper@gmail.com>
76534
76535 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76536 last patch a bit. Pretty printing
76537
76538 2010-05-31 Petr Baudis <pasky@suse.cz>
76539
76540 [BZ #10085]
76541 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76542 initialization of skip_initgroups_dyn.
76543
76544 2010-11-19 Ulrich Drepper <drepper@gmail.com>
76545
76546 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76547 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76548
76549 2010-11-16 Ulrich Drepper <drepper@gmail.com>
76550
76551 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76552
76553 2010-11-11 Andreas Schwab <schwab@redhat.com>
76554
76555 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76556 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76557 (tst-fnmatch-ENV): Set MALLOC_TRACE.
76558 ($(objpfx)tst-fnmatch-mem): New rule.
76559 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76560 * posix/tst-fnmatch.c (main): Call mtrace.
76561
76562 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
76563
76564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76565 Support Intel processor model 6 and model 0x2c.
76566
76567 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
76568
76569 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76570 signed comparison.
76571
76572 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
76573
76574 [BZ #12205]
76575 * string/test-strncasecmp.c (check_result): New function.
76576 (do_one_test): Use it.
76577 (check1): New function.
76578 (test_main): Use it.
76579 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76580 Support strcasecmp and strncasecmp.
76581
76582 2010-11-08 Ulrich Drepper <drepper@gmail.com>
76583
76584 [BZ #12194]
76585 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76586 * sysdeps/x86_64/bits/byteswap.h: Likewise.
76587
76588 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
76589
76590 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76591 IFUNC support.
76592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76593 memset-x86-64.
76594 * sysdeps/x86_64/multiarch/bzero.S: New file.
76595 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76596 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76597 * sysdeps/x86_64/multiarch/memset.S: New file.
76598 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76600 Set bit_Prefer_SSE_for_memop for Intel processors.
76601 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76602 Define.
76603 (index_Prefer_SSE_for_memop): Define.
76604 (HAS_PREFER_SSE_FOR_MEMOP): Define.
76605
76606 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
76607
76608 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76609 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76610
76611 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
76612
76613 [BZ #12191]
76614 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76615 (__x86_64_raw_data_cache_size_half): Likewise.
76616 (__x86_64_raw_shared_cache_size): Likewise.
76617 (__x86_64_raw_shared_cache_size_half): Likewise.
76618
76619 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76620 (__x86_64_raw_data_cache_size_half): Likewise.
76621 (__x86_64_raw_shared_cache_size): Likewise.
76622 (__x86_64_raw_shared_cache_size_half): Likewise.
76623 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76624 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76625 and __x86_64_raw_shared_cache_size_half. Round
76626 __x86_64_data_cache_size_half, __x86_64_data_cache_size
76627 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76628 to multiple of 256 bytes.
76629
76630 2010-11-03 Ulrich Drepper <drepper@gmail.com>
76631
76632 [BZ #12167]
76633 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76634 of inacessible symlinks. Verify result of symlink before returning it.
76635 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76636 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76637
76638 2010-10-28 Erich Ritz <erichritz@gmail.com>
76639
76640 * math/math.h (isinf): Fix typo in comment.
76641
76642 2010-11-01 Ulrich Drepper <drepper@gmail.com>
76643
76644 * po/da.po: Update from translation team.
76645
76646 2010-10-26 Ulrich Drepper <drepper@gmail.com>
76647
76648 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76649 is added to the list.
76650
76651 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76652 Ulrich Drepper <drepper@gmail.com>
76653
76654 * elf/dl-object.c (_dl_new_object): Don't append the new object to
76655 the global list here. Move code to...
76656 (_dl_add_to_namespace_list): ...here. New function.
76657 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76658 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76659 * elf/dl-load.c (lose): Don't remove the element from the list.
76660 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76661 (_dl_map_object): Likewise.
76662
76663 2010-10-25 Ulrich Drepper <drepper@gmail.com>
76664
76665 [BZ #12159]
76666 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76667 into all bytes of SSE register.
76668 Patch by Richard Li <richardpku@gmail.com>.
76669
76670 2010-10-24 Ulrich Drepper <drepper@gmail.com>
76671
76672 [BZ #12140]
76673 * malloc/malloc.c (_int_free): Fill correct number of bytes when
76674 perturbing.
76675
76676 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
76677
76678 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76679 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76680 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76681 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76683 submachine.
76684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76685
76686 2010-10-22 Andreas Schwab <schwab@redhat.com>
76687
76688 * include/dlfcn.h (__RTLD_SECURE): Define.
76689 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
76690 mode & __RTLD_SECURE instead.
76691 (open_path): Rename preloaded parameter to secure.
76692 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76693 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76694 * elf/dl-deps.c (openaux): Likewise.
76695 * elf/rtld.c (struct map_args): Remove is_preloaded.
76696 (map_doit): Don't use it.
76697 (dl_main): Likewise.
76698 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76699 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76700
76701 2010-09-09 Andreas Schwab <schwab@redhat.com>
76702
76703 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76704 (sysd-rules-targets): Remove duplicates.
76705 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76706 rtld-%.$o dependency.
76707
76708 2010-10-18 Andreas Schwab <schwab@redhat.com>
76709
76710 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76711 _dl_map_object do it.
76712
76713 2010-10-19 Ulrich Drepper <drepper@gmail.com>
76714
76715 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76716 fast fma builtins, define the macros in the C99 standard.
76717 (FP_FAST_FMAF): Likewise.
76718 (FP_FAST_FMAL): Likewise.
76719 * sysdeps/x86_64/bits/mathdef.h: Likewise.
76720
76721 * bits/mathdef.h: Update copyright year.
76722 * sysdeps/powerpc/bits/mathdef.h: Likewise.
76723
76724 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
76725
76726 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76727 builtins, define the macros in the C99 standard.
76728 (FP_FAST_FMAF): Likewise.
76729 (FP_FAST_FMAL): Likewise.
76730 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76731 multiply/add.
76732 (FP_FAST_FMAF): Likewise.
76733
76734 2010-10-15 Jakub Jelinek <jakub@redhat.com>
76735
76736 [BZ #3268]
76737 * math/libm-test.inc (fma_test): Some new testcases.
76738 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76739 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76740 y and infinite z. Do multiplication by C already in long double.
76741 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76742 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76743 y and infinite z. Do bitwise or of inexact bit into u.d.
76744 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76745 * sysdeps/i386/fpu/s_fmaf.S: Removed.
76746 * sysdeps/i386/fpu/s_fma.S: Removed.
76747 * sysdeps/i386/fpu/s_fmal.S: Removed.
76748
76749 2010-10-16 Jakub Jelinek <jakub@redhat.com>
76750
76751 [BZ #3268]
76752 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76753 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76754 computation is not scheduled after fetestexcept. Fix value
76755 of minimum denormal long double.
76756
76757 2010-10-14 Jakub Jelinek <jakub@redhat.com>
76758
76759 [BZ #3268]
76760 * math/libm-test.inc (fma_test): Add some more tests.
76761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76762 correctly.
76763
76764 2010-10-15 Andreas Schwab <schwab@redhat.com>
76765
76766 * scripts/data/localplt-s390-linux-gnu.data: New file.
76767 * scripts/data/localplt-s390x-linux-gnu.data: New file.
76768
76769 2010-10-13 Jakub Jelinek <jakub@redhat.com>
76770
76771 [BZ #3268]
76772 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76773 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76774 instead of dbl-64.
76775 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76776 inlines.
76777 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76778 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76779 if one of x and y is very large and the other is subnormal.
76780 * sysdeps/s390/fpu/s_fmaf.c: New file.
76781 * sysdeps/s390/fpu/s_fma.c: New file.
76782 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76783 * sysdeps/powerpc/fpu/s_fma.S: New file.
76784 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76785 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76786 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76787
76788 2010-10-12 Jakub Jelinek <jakub@redhat.com>
76789
76790 [BZ #3268]
76791 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76792 fma tests.
76793 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76794 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76795 * sysdeps/i386/i686/multiarch/s_fma.c: Include
76796 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76797 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76798 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76799 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76800
76801 2010-10-12 Ulrich Drepper <drepper@redhat.com>
76802
76803 [BZ #12078]
76804 * posix/regcomp.c (parse_branch): One more memory leak plugged.
76805 * posix/bug-regex31.input: Add test case.
76806
76807 2010-10-11 Ulrich Drepper <drepper@gmail.com>
76808
76809 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76810 * posix/bug-regex31.input: New file.
76811
76812 [BZ #12078]
76813 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76814 (parse_sub_exp): Fix last change, use postorder.
76815
76816 * posix/bug-regex31.c: New file.
76817 * posix/Makefile: Add rules to build and run bug-regex31.
76818
76819 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76820
76821 [BZ #12078]
76822 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76823
76824 [BZ #12108]
76825 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76826 to have entries in sys_siglist.
76827
76828 [BZ #12093]
76829 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76830 be NULL.
76831
76832 2010-10-07 Jakub Jelinek <jakub@redhat.com>
76833
76834 [BZ #3268]
76835 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76836 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76837 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76838 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76839 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76840 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76841 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76842 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76843 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76844 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76845 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76846 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76847 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76848 * math/ftestexcept.c (fetestexcept): Likewise.
76849 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76850 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76851 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76852 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76853 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76854 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76855 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76856
76857 2010-10-11 Ulrich Drepper <drepper@gmail.com>
76858
76859 [BZ #12107]
76860 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76861 newline.
76862
76863 2010-10-06 Ulrich Drepper <drepper@gmail.com>
76864
76865 * string/bug-strstr1.c: New file.
76866 * string/Makefile: Add rules to build and run bug-strstr1.
76867
76868 2010-10-05 Eric Blake <eblake@redhat.com>
76869
76870 [BZ #12092]
76871 * string/str-two-way.h (two_way_long_needle): Always clear memory
76872 when skipping input due to the shift table.
76873
76874 2010-10-03 Ulrich Drepper <drepper@gmail.com>
76875
76876 [BZ #12005]
76877 * malloc/mcheck.c: Handle large requests.
76878
76879 [BZ #12077]
76880 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76881 for strncmp and strncasecmp.
76882 * string/stratcliff.c: Add tests for strcmp and strncmp.
76883 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76884
76885 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
76886
76887 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76888 __set_fpscr.
76889
76890 2010-09-30 Andreas Jaeger <aj@suse.de>
76891
76892 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76893 (CGROUP_SUPER_MAGIC): Define.
76894 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76895 Handle btrfs and cgroup file systems.
76896 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76897 Likewise.
76898
76899 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
76900
76901 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76902 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76903
76904 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76905
76906 [BZ #12067]
76907 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76908 trying to locate the ELF header.
76909
76910 2010-09-27 Andreas Schwab <schwab@redhat.com>
76911
76912 [BZ #11611]
76913 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76914 Mask out sign-bit copies when constructing f_fsid.
76915
76916 2010-09-24 Petr Baudis <pasky@suse.cz>
76917
76918 * debug/stack_chk_fail_local.c: Add missing licence exception.
76919 * debug/warning-nop.c: Likewise.
76920
76921 2010-09-15 Joseph Myers <joseph@codesourcery.com>
76922
76923 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76924 implementing getdents64 using getdents syscall, set d_type if
76925 __ASSUME_GETDENTS32_D_TYPE.
76926
76927 2010-09-16 Andreas Schwab <schwab@redhat.com>
76928
76929 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76930 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76931
76932 2010-09-21 Ulrich Drepper <drepper@redhat.com>
76933
76934 [BZ #12037]
76935 * posix/unistd.h: Undo change of feature selection for ftruncate from
76936 2010-01-11.
76937
76938 2010-09-20 Ulrich Drepper <drepper@redhat.com>
76939
76940 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76941 detection.
76942
76943 2010-09-20 Andreas Schwab <schwab@redhat.com>
76944
76945 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76946 fanotify_mark.
76947 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76948
76949 2010-09-14 Andreas Schwab <schwab@redhat.com>
76950
76951 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76952 variables after CHECK_SP call.
76953 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76954
76955 2010-09-13 Andreas Schwab <schwab@redhat.com>
76956 Ulrich Drepper <drepper@redhat.com>
76957
76958 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76959 re-relocationg ld.so.
76960 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76961 _dl_init_paths call.
76962 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
76963 here anymore.
76964
76965 2010-09-14 Ulrich Drepper <drepper@redhat.com>
76966
76967 * resolv/res_init.c (__res_vinit): Count the default server we added.
76968
76969 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
76970 Ulrich Drepper <drepper@redhat.com>
76971
76972 [BZ #11968]
76973 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76974 (____longjmp_chk): Use %ebx for saving value across system call.
76975 Add unwind info.
76976
76977 2010-09-06 Andreas Schwab <schwab@redhat.com>
76978
76979 * manual/Makefile: Don't mix pattern rules with normal rules.
76980
76981 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
76982
76983 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76984 operation.
76985 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76986 * libio/iofopncook.c (_IO_cookie_init): Likewise.
76987 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76988 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76990 Likewise.
76991
76992 2010-09-04 Ulrich Drepper <drepper@redhat.com>
76993
76994 [BZ #11979]
76995 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76996 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76997
76998 2010-09-02 Ulrich Drepper <drepper@redhat.com>
76999
77000 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
77001 * sysdeps/x86_64/addmul_1.S: Likewise.
77002 * sysdeps/x86_64/lshift.S: Likewise.
77003 * sysdeps/x86_64/mul_1.S: Likewise.
77004 * sysdeps/x86_64/rshift.S: Likewise.
77005 * sysdeps/x86_64/sub_n.S: Likewise.
77006 * sysdeps/x86_64/submul_1.S: Likewise.
77007
77008 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
77009
77010 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
77011 Define __sched_param instead of SCHED_* and sched_param when
77012 <bits/sched.h> is included with __need_schedparam defined.
77013 * bits/sched.h [__need_schedparam]
77014 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
77015 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
77016 (__defined_schedparam): Define to 1.
77017 (__sched_param): New structure, identical to sched_param.
77018 (__need_schedparam): Undefine.
77019
77020 2010-08-31 Mike Frysinger <vapier@gentoo.org>
77021
77022 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
77023 (epoll_create1): Declare.
77024
77025 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
77026
77027 2010-08-31 Andreas Schwab <schwab@redhat.com>
77028
77029 [BZ #7066]
77030 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
77031 shifting retval into place.
77032
77033 2010-09-01 Ulrich Drepper <drepper@redhat.com>
77034
77035 * nis/rpcsvc/nis.h: Update copyright notice.
77036 * nis/rpcsvc/nis.x: Likewise.
77037 * nis/rpcsvc/nis_callback.h: Likewise.
77038 * nis/rpcsvc/nis_callback.x: Likewise.
77039 * nis/rpcsvc/nis_object.x: Likewise.
77040 * nis/rpcsvc/nis_tags.h: Likewise.
77041 * nis/rpcsvc/yp.h: Likewise.
77042 * nis/rpcsvc/yp.x: Likewise.
77043 * nis/rpcsvc/ypupd.h: Likewise.
77044 * nis/yp_xdr.c: Likewise.
77045 * nis/ypupdate_xdr.c: Likewise.
77046
77047 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
77048 mainly the body of pmap_getport. Add parameters to specify timeouts.
77049 (pmap_getport): Use __libc_rpc_getport.
77050 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
77051 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
77052 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
77053
77054 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
77055
77056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
77057 fanotify_mark.
77058
77059 2010-08-27 Roland McGrath <roland@redhat.com>
77060
77061 * sysdeps/i386/i686/multiarch/Makefile
77062 (CFLAGS-varshift.c): New variable.
77063
77064 2010-08-27 Ulrich Drepper <drepper@redhat.com>
77065
77066 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
77067 * sysdeps/i386/i686/multiarch/varshift.c: New file.
77068
77069 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
77070
77071 * sysdeps/x86_64/strlen.S: Minimal code improvement.
77072
77073 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
77074
77075 * sysdeps/x86_64/strlen.S: Unroll the loop.
77076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77077 strlen-sse2 strlen-sse2-bsf.
77078 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
77079 __strlen_no_bsf if bit_Slow_BSF is set.
77080 (__strlen_sse42): Removed.
77081 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77082 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77083
77084 2010-08-25 Roland McGrath <roland@redhat.com>
77085
77086 * sysdeps/x86_64/multiarch/varshift.S: File removed.
77087 * sysdeps/x86_64/multiarch/varshift.c: New file.
77088 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77089 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77090 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77091 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
77092
77093 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
77094
77095 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77096 strlen-sse2 strlen-sse2-bsf.
77097 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
77098 __strlen_sse2_bsf if bit_Slow_BSF is unset.
77099 (__strlen_sse2): Removed.
77100 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
77101 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
77102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
77103 bit_Slow_BSF for Atom.
77104 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
77105 (index_Slow_BSF): Define.
77106 (HAS_SLOW_BSF): Define.
77107
77108 2010-08-25 Ulrich Drepper <drepper@redhat.com>
77109
77110 [BZ #10851]
77111 * resolv/res_init.c (__res_vinit): When no server address at all
77112 is given default to loopback.
77113
77114 2010-08-24 Roland McGrath <roland@redhat.com>
77115
77116 * configure.in: Remove config-name.h generation.
77117 * configure: Regenerated.
77118 * config-name.in: File removed.
77119 * scripts/config-uname.sh: New file.
77120 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
77121 ($(objdir)config-name.h): New target.
77122
77123 * sunrpc/rpc_parse.h: Avoid nested comment.
77124
77125 2010-08-24 Richard Henderson <rth@redhat.com>
77126 Ulrich Drepper <drepper@redhat.com>
77127 H.J. Lu <hongjiu.lu@intel.com>
77128
77129 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
77131 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
77132 Replace _mm_srli_si128 with __m128i_shift_right. Replace
77133 _mm_alignr_epi8 with _mm_loadu_si128.
77134 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
77135 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
77136 (__m128i_shift_right): Removed.
77137 * sysdeps/i386/i686/multiarch/varshift.h: New file.
77138 * sysdeps/i386/i686/multiarch/varshift.S: New file.
77139 * sysdeps/x86_64/multiarch/varshift.h: New file.
77140 * sysdeps/x86_64/multiarch/varshift.S: New file.
77141
77142 2010-08-21 Mike Frysinger <vapier@gentoo.org>
77143
77144 * configure.in: Move assembler checks to before sysdep dir checking.
77145
77146 2010-08-20 Petr Baudis <pasky@suse.cz>
77147
77148 * LICENSES: Sync the sunrpc license.
77149
77150 2010-08-19 Ulrich Drepper <drepper@redhat.com>
77151
77152 * sunrpc/auth_des.c: Update copyright notice once again.
77153 * sunrpc/auth_none.c: Likewise.
77154 * sunrpc/auth_unix.c: Likewise.
77155 * sunrpc/authdes_prot.c: Likewise.
77156 * sunrpc/authuxprot.c: Likewise.
77157 * sunrpc/bindrsvprt.c: Likewise.
77158 * sunrpc/clnt_gen.c: Likewise.
77159 * sunrpc/clnt_perr.c: Likewise.
77160 * sunrpc/clnt_raw.c: Likewise.
77161 * sunrpc/clnt_simp.c: Likewise.
77162 * sunrpc/clnt_tcp.c: Likewise.
77163 * sunrpc/clnt_udp.c: Likewise.
77164 * sunrpc/clnt_unix.c: Likewise.
77165 * sunrpc/des_crypt.c: Likewise.
77166 * sunrpc/des_soft.c: Likewise.
77167 * sunrpc/get_myaddr.c: Likewise.
77168 * sunrpc/getrpcport.c: Likewise.
77169 * sunrpc/key_call.c: Likewise.
77170 * sunrpc/key_prot.c: Likewise.
77171 * sunrpc/openchild.c: Likewise.
77172 * sunrpc/pm_getmaps.c: Likewise.
77173 * sunrpc/pm_getport.c: Likewise.
77174 * sunrpc/pmap_clnt.c: Likewise.
77175 * sunrpc/pmap_prot.c: Likewise.
77176 * sunrpc/pmap_prot2.c: Likewise.
77177 * sunrpc/pmap_rmt.c: Likewise.
77178 * sunrpc/rpc/auth.h: Likewise.
77179 * sunrpc/rpc/auth_unix.h: Likewise.
77180 * sunrpc/rpc/clnt.h: Likewise.
77181 * sunrpc/rpc/des_crypt.h: Likewise.
77182 * sunrpc/rpc/key_prot.h: Likewise.
77183 * sunrpc/rpc/netdb.h: Likewise.
77184 * sunrpc/rpc/pmap_clnt.h: Likewise.
77185 * sunrpc/rpc/pmap_prot.h: Likewise.
77186 * sunrpc/rpc/pmap_rmt.h: Likewise.
77187 * sunrpc/rpc/rpc.h: Likewise.
77188 * sunrpc/rpc/rpc_des.h: Likewise.
77189 * sunrpc/rpc/rpc_msg.h: Likewise.
77190 * sunrpc/rpc/svc.h: Likewise.
77191 * sunrpc/rpc/svc_auth.h: Likewise.
77192 * sunrpc/rpc/types.h: Likewise.
77193 * sunrpc/rpc/xdr.h: Likewise.
77194 * sunrpc/rpc_clntout.c: Likewise.
77195 * sunrpc/rpc_cmsg.c: Likewise.
77196 * sunrpc/rpc_common.c: Likewise.
77197 * sunrpc/rpc_cout.c: Likewise.
77198 * sunrpc/rpc_dtable.c: Likewise.
77199 * sunrpc/rpc_hout.c: Likewise.
77200 * sunrpc/rpc_main.c: Likewise.
77201 * sunrpc/rpc_parse.c: Likewise.
77202 * sunrpc/rpc_parse.h: Likewise.
77203 * sunrpc/rpc_prot.c: Likewise.
77204 * sunrpc/rpc_sample.c: Likewise.
77205 * sunrpc/rpc_scan.c: Likewise.
77206 * sunrpc/rpc_scan.h: Likewise.
77207 * sunrpc/rpc_svcout.c: Likewise.
77208 * sunrpc/rpc_tblout.c: Likewise.
77209 * sunrpc/rpc_util.c: Likewise.
77210 * sunrpc/rpc_util.h: Likewise.
77211 * sunrpc/rpcinfo.c: Likewise.
77212 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77213 * sunrpc/rpcsvc/key_prot.x: Likewise.
77214 * sunrpc/rpcsvc/klm_prot.x: Likewise.
77215 * sunrpc/rpcsvc/mount.x: Likewise.
77216 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77217 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77218 * sunrpc/rpcsvc/rex.x: Likewise.
77219 * sunrpc/rpcsvc/rstat.x: Likewise.
77220 * sunrpc/rpcsvc/rusers.x: Likewise.
77221 * sunrpc/rpcsvc/sm_inter.x: Likewise.
77222 * sunrpc/rpcsvc/spray.x: Likewise.
77223 * sunrpc/rpcsvc/yppasswd.x: Likewise.
77224 * sunrpc/rtime.c: Likewise.
77225 * sunrpc/svc.c: Likewise.
77226 * sunrpc/svc_auth.c: Likewise.
77227 * sunrpc/svc_authux.c: Likewise.
77228 * sunrpc/svc_raw.c: Likewise.
77229 * sunrpc/svc_run.c: Likewise.
77230 * sunrpc/svc_simple.c: Likewise.
77231 * sunrpc/svc_tcp.c: Likewise.
77232 * sunrpc/svc_udp.c: Likewise.
77233 * sunrpc/svc_unix.c: Likewise.
77234 * sunrpc/svcauth_des.c: Likewise.
77235 * sunrpc/xcrypt.c: Likewise.
77236 * sunrpc/xdr.c: Likewise.
77237 * sunrpc/xdr_array.c: Likewise.
77238 * sunrpc/xdr_float.c: Likewise.
77239 * sunrpc/xdr_mem.c: Likewise.
77240 * sunrpc/xdr_rec.c: Likewise.
77241 * sunrpc/xdr_ref.c: Likewise.
77242 * sunrpc/xdr_sizeof.c: Likewise.
77243 * sunrpc/xdr_stdio.c: Likewise.
77244
77245 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77246 handling.
77247
77248 2010-08-19 Andreas Schwab <schwab@redhat.com>
77249
77250 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77251
77252 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
77253
77254 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77255 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77256 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77257 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77258 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77259 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77260 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77261 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77262 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77263 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77264 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77265 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77266 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77267 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77268
77269 2010-07-26 Anton Blanchard <anton@samba.org>
77270
77271 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77272 * malloc/arena.c (heap_trim): Likewise.
77273
77274 2010-08-16 Ulrich Drepper <drepper@redhat.com>
77275
77276 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77277 here. Not...
77278 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77279 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77280
77281 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
77282
77283 * sysdeps/i386/elf/Makefile: New file.
77284
77285 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
77286
77287 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77288 from fanotify_init.
77289 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77290 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77291
77292 2010-08-15 Ulrich Drepper <drepper@redhat.com>
77293
77294 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77295 of strncasecmp_l.
77296 * sysdeps/multiarch/strcmp.S: Likewise.
77297
77298 2010-08-14 Ulrich Drepper <drepper@redhat.com>
77299
77300 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77301 strncase_l-nonascii.
77302 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77303 Add strncase_l-ssse3.
77304 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77305 * sysdeps/x86_64/strcmp.S: Likewise.
77306 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77307 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77308 * sysdeps/x86_64/strncase.S: New file.
77309 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77310 * sysdeps/x86_64/strncase_l.S: New file.
77311 * string/Makefile (strop-tests): Add strncasecmp.
77312 * string/test-strncasecmp.c: New file.
77313
77314 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77315 warning.
77316
77317 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77318 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77319
77320 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
77321
77322 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77323
77324 2010-08-12 Ulrich Drepper <drepper@redhat.com>
77325
77326 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77327 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77328 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77329
77330 2010-05-01 Alan Modra <amodra@gmail.com>
77331
77332 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77333 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77334 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77335 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77336 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77337 tidying. Don't tail-call __sigjmp_save for static lib.
77338 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77339 save location.
77340 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77341 (CALL_MCOUNT): Add eh info, and nop after bl.
77342 (TAIL_CALL_SYSCALL_ERROR): New macro.
77343 (PSEUDO_RET): Use it.
77344 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77345 Correct save location of integer regs and cr.
77346 (_dl_profile_resolve): Correct cr save location. Delete nops
77347 after bl when SHARED. Reduce cfi size a little by better
77348 placement of cfi directives.
77349 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77350 make a stack frame. Instead use parm save area as a temp.
77351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77352 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
77353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77354 Don't make a stack frame for parent, use parm save area.
77355 Increase child stack frame to 112 bytes. Don't save unused reg,
77356 and adjust reg usage. Set up cfi on error recovery and
77357 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
77358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77359 (__makecontext): Add dummy nop after jump to exit.
77360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
77361 Use correct parm save area and cr save, reduce stack frame.
77362 Correct cfi for possible PSEUDO_RET frame setup.
77363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
77364 Branch to local label emitted by PSEUDO_RET rather than
77365 __syscall_error.
77366
77367 2010-08-12 Andreas Schwab <schwab@redhat.com>
77368
77369 [BZ #11904]
77370 * locale/programs/locale.c (print_assignment): New function.
77371 (show_locale_vars): Use it.
77372
77373 2010-08-11 Ulrich Drepper <drepper@redhat.com>
77374
77375 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
77376 field.
77377 (struct statfs64): Likewise.
77378 (_STATFS_F_FLAGS): Define.
77379 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
77380 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77381 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
77382 (ST_VALID): Define locally.
77383 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
77384 __statvfs_getflags, use the provided value.
77385 * sysdeps/unix/sysv/linux/kernel-features.h: Define
77386 __ASSUME_STATFS_F_FLAGS.
77387
77388 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
77389
77390 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
77391 Add sys/fanotify.h.
77392 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
77393 fanotify_mask for GLIBC_2.13.
77394 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
77395 fanotify_init and fanotify_mark.
77396 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77397 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
77398
77399 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
77400 Add prlimit.
77401 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
77402 prlimit64 for GLIBC_2.13.
77403 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
77404 prlimit64.
77405 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
77406 syscall.
77407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
77408 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77409 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
77410 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
77411 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
77412 add prlimit alias.
77413 * sysdeps/unix/sysv/linux/prlimit.c: New file.
77414
77415 [BZ #11903]
77416 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
77417 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
77418
77419 * nss/Makefile: Add rules to build and run tst-nss-test1.
77420 * shlib-versions: Add entry for libnss_test1.
77421 * nss/nss_test1.c: New file.
77422 * nss/tst-nss-test1.c: New file.
77423
77424 * nss/nsswitch.c (__nss_database_custom): Define new variable.
77425 (__nss_configure_lookup): Set appropriate entry in
77426 __nss_configure_lookup to true.
77427 * nss/nsswitch.h: Define enum with indeces of databases in
77428 databases and __nss_database_custom arrays. Declare
77429 __nss_database_custom.
77430 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
77431 to avoid using nscd when custom rules are installed.
77432 * nss/getXXbyYY_r.c: Likewise.
77433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
77434
77435 * nss/nss_files/files-parse.c: Whitespace fixes.
77436
77437 2010-08-09 Ulrich Drepper <drepper@redhat.com>
77438
77439 [BZ #11883]
77440 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
77441 * posix/fnmatch_loop.c: Likewise.
77442
77443 2010-07-17 Andi Kleen <ak@linux.intel.com>
77444
77445 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
77446 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
77447 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
77448 * Versions.def [GLIBC_2.13]: Add.
77449
77450 2010-08-06 Ulrich Drepper <drepper@redhat.com>
77451
77452 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77453 Also fail if tpwd after pwuid call is NULL.
77454
77455 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
77456
77457 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77458 when converting to ms.
77459
77460 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
77461
77462 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77463 EOPNOTSUPP errors with ENOTTY.
77464 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77465 EOPNOTSUPP errors with ENOTTY.
77466
77467 2010-07-31 Ulrich Drepper <drepper@redhat.com>
77468
77469 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77470 Add strcasecmp_l-ssse3.
77471 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77472 strcasecmp.
77473 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77474 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77475 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77476
77477 2010-07-30 Ulrich Drepper <drepper@redhat.com>
77478
77479 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77480
77481 * string/Makefile (strop-tests): Add strcasecmp.
77482 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77483 strcasecmp_l-nonascii.
77484 (gen-as-const-headers): Add locale-defines.sym.
77485 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77486 * sysdeps/x86_64/strcasecmp.S: New file.
77487 * sysdeps/x86_64/strcasecmp_l.S: New file.
77488 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77489 * sysdeps/x86_64/locale-defines.sym: New file.
77490 * string/test-strcasecmp.c: New file.
77491
77492 * string/test-strcasestr.c: Test both ends of the range of characters.
77493 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77494
77495 2010-07-29 Roland McGrath <roland@redhat.com>
77496
77497 [BZ #11856]
77498 * manual/locale.texi (Yes-or-No Questions): Fix example code.
77499
77500 2010-07-27 Ulrich Drepper <drepper@redhat.com>
77501
77502 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77503 for ld.so.
77504
77505 2010-07-27 Andreas Schwab <schwab@redhat.com>
77506
77507 * manual/memory.texi (Malloc Tunable Parameters): Document
77508 M_PERTURB.
77509
77510 2010-07-26 Roland McGrath <roland@redhat.com>
77511
77512 [BZ #11840]
77513 * configure.in (-fgnu89-inline check): Set and substitute
77514 gnu89_inline, not libc_cv_gnu89_inline.
77515 * configure: Regenerated.
77516 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77517
77518 2010-07-26 Ulrich Drepper <drepper@redhat.com>
77519
77520 * string/test-strnlen.c: New file.
77521 * string/Makefile (strop-tests): Add strnlen.
77522 * string/tester.c (test_strnlen): Add a few more test cases.
77523 * string/tst-strlen.c: Better error reporting.
77524
77525 * sysdeps/x86_64/strnlen.S: New file.
77526
77527 2010-07-24 Ulrich Drepper <drepper@redhat.com>
77528
77529 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77530 lower-latency instructions.
77531
77532 2010-07-23 Ulrich Drepper <drepper@redhat.com>
77533
77534 * string/test-strcasestr.c: New file.
77535 * string/test-strstr.c: New file.
77536 * string/Makefile (strop-tests): Add strstr and strcasestr.
77537 * string/str-two-way.h: Don't undefine MAX.
77538 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77539
77540 2010-07-21 Andreas Schwab <schwab@redhat.com>
77541
77542 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77543 strcasestr-nonascii.
77544 (CFLAGS-strcasestr-nonascii.c): Define.
77545 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77546 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77547 Remove unused attribute.
77548
77549 2010-07-20 Roland McGrath <roland@redhat.com>
77550
77551 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77552 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
77553 ld.so.cache was broken. With it, there is no way to disable dsocaps
77554 like LD_HWCAP_MASK can disable hwcaps.
77555
77556 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
77557
77558 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77559
77560 2010-07-16 Ulrich Drepper <drepper@redhat.com>
77561
77562 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77563 call in strcasestr.
77564 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77565 __strcasestr_sse42_nonascii.
77566 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77567 strcasestr-nonascii.c.
77568 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77569
77570 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
77571
77572 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77573 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77574 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77575 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77576
77577 2010-07-09 Ulrich Drepper <drepper@redhat.com>
77578
77579 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77580 fcntl.
77581
77582 2010-07-06 Andreas Schwab <schwab@redhat.com>
77583
77584 [BZ #11577]
77585 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77586 dl_signal_cerror.
77587
77588 2010-07-06 Ulrich Drepper <drepper@redhat.com>
77589
77590 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77591 _PC_PIPE_BUF using F_GETPIPE_SZ.
77592
77593 2010-07-05 Roland McGrath <roland@redhat.com>
77594
77595 * manual/arith.texi (Rounding Functions): Fix rint description
77596 implicit in round description.
77597
77598 2010-07-02 Ulrich Drepper <drepper@redhat.com>
77599
77600 * elf/Makefile: Fix linking for a few tests to make recent linker
77601 happy.
77602
77603 2010-06-30 Andreas Schwab <schwab@redhat.com>
77604
77605 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77606 $(common-objpfx)libc_nonshared.a.
77607
77608 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
77609
77610 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77611 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77612 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77613 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77614 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77615 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77616 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77617 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77632 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77633 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77634 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77635 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77636 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77637 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77638 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77639 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77640 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77641 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77642 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77643 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77658
77659 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
77660
77661 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77662 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
77663 * string/memmove.c (memmove): Renamed to ...
77664 (MEMMOVE): ...this. Default to memmove.
77665 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77666 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77667 (END_CHK): Define.
77668 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77669 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77670 mempcpy-ssse3-back memmove-ssse3-back.
77671 * sysdeps/x86_64/multiarch/bcopy.S: New file .
77672 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77673 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77674 * sysdeps/x86_64/multiarch/memcpy.S: New file.
77675 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77676 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77677 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77678 * sysdeps/x86_64/multiarch/memmove.c: New file.
77679 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77680 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77681 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77682 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77683 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77684 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77685 Define.
77686 (index_Fast_Copy_Backward): Define.
77687 (HAS_ARCH_FEATURE): Define.
77688 (HAS_FAST_REP_STRING): Define.
77689 (HAS_FAST_COPY_BACKWARD): Define.
77690
77691 2010-06-21 Andreas Schwab <schwab@redhat.com>
77692
77693 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77694 Restore proper fallback handling.
77695
77696 2010-06-19 Ulrich Drepper <drepper@redhat.com>
77697
77698 [BZ #11701]
77699 * posix/group_member.c (__group_member): Correct checking loop.
77700
77701 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77702 OOM in getpwuid_r correctly. Return error number when the caller
77703 should return, otherwise -1.
77704 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77705 call returning > 0 value.
77706 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77707
77708 2010-06-07 Andreas Schwab <schwab@redhat.com>
77709
77710 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77711 libc_nonshared.a from targets in modules-names.
77712
77713 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
77714
77715 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77716 requires it.
77717
77718 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
77719
77720 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77721 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77722 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77723 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77724
77725 2010-06-02 Andreas Schwab <schwab@redhat.com>
77726
77727 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77728
77729 2010-06-14 Ulrich Drepper <drepper@redhat.com>
77730
77731 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77732 and F_GETPIPE_SZ.
77733 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77734 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77735 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77736 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77737 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77738 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77739
77740 2010-06-14 Roland McGrath <roland@redhat.com>
77741
77742 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77743
77744 2010-06-07 Jakub Jelinek <jakub@redhat.com>
77745
77746 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77747 __REDIRECT followed by __THROW.
77748 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77749 * posix/getopt.h (getopt): Likewise.
77750
77751 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
77752
77753 * hurd/lookup-at.c (__file_name_lookup_at): Accept
77754 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
77755 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77756 in AT_FLAGS.
77757 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77758 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77759
77760 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
77761
77762 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77763
77764 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
77765
77766 [BZ #11640]
77767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77768 Properly check family and model.
77769
77770 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
77771
77772 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77773
77774 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
77775
77776 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77777
77778 2010-05-21 Ulrich Drepper <drepper@redhat.com>
77779
77780 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77781 symbol reference.
77782
77783 2010-05-19 Andreas Schwab <schwab@redhat.com>
77784
77785 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77786 symbol reference.
77787
77788 2010-05-21 Andreas Schwab <schwab@redhat.com>
77789
77790 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77791 and internal_recvmmsg.
77792 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77793 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77794 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77795 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77796
77797 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77798 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77799 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77800
77801 2010-05-20 Andreas Schwab <schwab@redhat.com>
77802
77803 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77804
77805 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
77806
77807 POWER7 optimizations.
77808 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77809 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77810
77811 2010-05-19 Ulrich Drepper <drepper@redhat.com>
77812
77813 * version.h: Update for 2.13 development version.
77814
77815 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
77816
77817 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77818 exceptions. Return 0.
77819
77820 2010-05-07 Roland McGrath <roland@redhat.com>
77821
77822 * elf/ldconfig.c (main): Add a const.
77823
77824 2010-05-06 Ulrich Drepper <drepper@redhat.com>
77825
77826 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77827 (args_options): Add no-idn option.
77828 (ahosts_keys_int): Add idn_flags to ai_flags.
77829 (parse_option): Handle 'i' option to clear idn_flags.
77830
77831 * malloc/malloc.c (_int_free): Possible race in the most recently
77832 added check. Only act on the data if no current modification
77833 happened.
77834
77835 See ChangeLog.17 for earlier changes.